Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blobd224ffc784e1ab313bdbbbe5ee41dd766d8616e2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 _ACEOF
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
985 cat <<\_ACEOF
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-symvers=STYLE enables symbol versioning of the shared library
1057 [default=yes]
1058 --enable-visibility enables visibility safe usage [default=yes]
1059 --enable-version-specific-runtime-libs
1060 Specify that runtime libraries should be installed
1061 in a compiler-specific directory
1063 Optional Packages:
1064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1066 --with-target-subdir=SUBDIR
1067 configuring in a subdirectory
1068 --with-cross-host=HOST configuring with a cross compiler
1069 --with-newlib assume newlib as a system C library
1070 --with-pic try to use only PIC/non-PIC objects [default=use
1071 both]
1072 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1073 --with-gnu-ld assume the C compiler uses GNU ld default=no
1074 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1075 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1076 --with-gxx-include-dir=DIR
1077 installation directory for include files
1079 Some influential environment variables:
1080 CC C compiler command
1081 CFLAGS C compiler flags
1082 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1083 nonstandard directory <lib dir>
1084 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1085 headers in a nonstandard directory <include dir>
1086 CXX C++ compiler command
1087 CXXFLAGS C++ compiler flags
1088 CPP C preprocessor
1089 CXXCPP C++ preprocessor
1091 Use these variables to override the choices made by `configure' or to help
1092 it to find libraries and programs with nonstandard names/locations.
1094 _ACEOF
1097 if test "$ac_init_help" = "recursive"; then
1098 # If there are subdirs, report their specific --help.
1099 ac_popdir=`pwd`
1100 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1101 test -d $ac_dir || continue
1102 ac_builddir=.
1104 if test "$ac_dir" != .; then
1105 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106 # A "../" for each directory in $ac_dir_suffix.
1107 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108 else
1109 ac_dir_suffix= ac_top_builddir=
1112 case $srcdir in
1113 .) # No --srcdir option. We are building in place.
1114 ac_srcdir=.
1115 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir=.
1117 else
1118 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1119 fi ;;
1120 [\\/]* | ?:[\\/]* ) # Absolute path.
1121 ac_srcdir=$srcdir$ac_dir_suffix;
1122 ac_top_srcdir=$srcdir ;;
1123 *) # Relative path.
1124 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1125 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1126 esac
1128 # Do not use `cd foo && pwd` to compute absolute paths, because
1129 # the directories may not exist.
1130 case `pwd` in
1131 .) ac_abs_builddir="$ac_dir";;
1133 case "$ac_dir" in
1134 .) ac_abs_builddir=`pwd`;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1136 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1137 esac;;
1138 esac
1139 case $ac_abs_builddir in
1140 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1142 case ${ac_top_builddir}. in
1143 .) ac_abs_top_builddir=$ac_abs_builddir;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_srcdir=$ac_srcdir;;
1151 case $ac_srcdir in
1152 .) ac_abs_srcdir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1154 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1160 case $ac_top_srcdir in
1161 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1164 esac;;
1165 esac
1167 cd $ac_dir
1168 # Check for guested configure; otherwise get Cygnus style configure.
1169 if test -f $ac_srcdir/configure.gnu; then
1170 echo
1171 $SHELL $ac_srcdir/configure.gnu --help=recursive
1172 elif test -f $ac_srcdir/configure; then
1173 echo
1174 $SHELL $ac_srcdir/configure --help=recursive
1175 elif test -f $ac_srcdir/configure.ac ||
1176 test -f $ac_srcdir/configure.in; then
1177 echo
1178 $ac_configure --help
1179 else
1180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 cd $ac_popdir
1183 done
1186 test -n "$ac_init_help" && exit 0
1187 if $ac_init_version; then
1188 cat <<\_ACEOF
1189 package-unused configure version-unused
1190 generated by GNU Autoconf 2.59
1192 Copyright (C) 2003 Free Software Foundation, Inc.
1193 This configure script is free software; the Free Software Foundation
1194 gives unlimited permission to copy, distribute and modify it.
1195 _ACEOF
1196 exit 0
1198 exec 5>config.log
1199 cat >&5 <<_ACEOF
1200 This file contains any messages produced by compilers while
1201 running configure, to aid debugging if configure makes a mistake.
1203 It was created by package-unused $as_me version-unused, which was
1204 generated by GNU Autoconf 2.59. Invocation command line was
1206 $ $0 $@
1208 _ACEOF
1210 cat <<_ASUNAME
1211 ## --------- ##
1212 ## Platform. ##
1213 ## --------- ##
1215 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1216 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1217 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1218 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1219 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1221 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1222 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1224 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1225 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1226 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1227 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232 _ASUNAME
1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1235 for as_dir in $PATH
1237 IFS=$as_save_IFS
1238 test -z "$as_dir" && as_dir=.
1239 echo "PATH: $as_dir"
1240 done
1242 } >&5
1244 cat >&5 <<_ACEOF
1247 ## ----------- ##
1248 ## Core tests. ##
1249 ## ----------- ##
1251 _ACEOF
1254 # Keep a trace of the command line.
1255 # Strip out --no-create and --no-recursion so they do not pile up.
1256 # Strip out --silent because we don't want to record it for future runs.
1257 # Also quote any args containing shell meta-characters.
1258 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_configure_args=
1260 ac_configure_args0=
1261 ac_configure_args1=
1262 ac_sep=
1263 ac_must_keep_next=false
1264 for ac_pass in 1 2
1266 for ac_arg
1268 case $ac_arg in
1269 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1272 continue ;;
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 esac
1276 case $ac_pass in
1277 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1279 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1280 if test $ac_must_keep_next = true; then
1281 ac_must_keep_next=false # Got value, back to normal.
1282 else
1283 case $ac_arg in
1284 *=* | --config-cache | -C | -disable-* | --disable-* \
1285 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1286 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1287 | -with-* | --with-* | -without-* | --without-* | --x)
1288 case "$ac_configure_args0 " in
1289 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 esac
1292 -* ) ac_must_keep_next=true ;;
1293 esac
1295 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1296 # Get rid of the leading space.
1297 ac_sep=" "
1299 esac
1300 done
1301 done
1302 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1303 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1305 # When interrupted or exit'd, cleanup temporary files, and complete
1306 # config.log. We remove comments because anyway the quotes in there
1307 # would cause problems or look ugly.
1308 # WARNING: Be sure not to use single quotes in there, as some shells,
1309 # such as our DU 5.0 friend, will then `close' the trap.
1310 trap 'exit_status=$?
1311 # Save into config.log some information that might help in debugging.
1313 echo
1315 cat <<\_ASBOX
1316 ## ---------------- ##
1317 ## Cache variables. ##
1318 ## ---------------- ##
1319 _ASBOX
1320 echo
1321 # The following way of writing the cache mishandles newlines in values,
1323 (set) 2>&1 |
1324 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 *ac_space=\ *)
1326 sed -n \
1327 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 sed -n \
1332 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1334 esac;
1336 echo
1338 cat <<\_ASBOX
1339 ## ----------------- ##
1340 ## Output variables. ##
1341 ## ----------------- ##
1342 _ASBOX
1343 echo
1344 for ac_var in $ac_subst_vars
1346 eval ac_val=$`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1348 done | sort
1349 echo
1351 if test -n "$ac_subst_files"; then
1352 cat <<\_ASBOX
1353 ## ------------- ##
1354 ## Output files. ##
1355 ## ------------- ##
1356 _ASBOX
1357 echo
1358 for ac_var in $ac_subst_files
1360 eval ac_val=$`echo $ac_var`
1361 echo "$ac_var='"'"'$ac_val'"'"'"
1362 done | sort
1363 echo
1366 if test -s confdefs.h; then
1367 cat <<\_ASBOX
1368 ## ----------- ##
1369 ## confdefs.h. ##
1370 ## ----------- ##
1371 _ASBOX
1372 echo
1373 sed "/^$/d" confdefs.h | sort
1374 echo
1376 test "$ac_signal" != 0 &&
1377 echo "$as_me: caught signal $ac_signal"
1378 echo "$as_me: exit $exit_status"
1379 } >&5
1380 rm -f core *.core &&
1381 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 exit $exit_status
1384 for ac_signal in 1 2 13 15; do
1385 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 done
1387 ac_signal=0
1389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1390 rm -rf conftest* confdefs.h
1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 echo >confdefs.h
1394 # Predefined preprocessor variables.
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 _ACEOF
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 _ACEOF
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 _ACEOF
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 _ACEOF
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 _ACEOF
1421 # Let the site file select an alternate cache file if it wants to.
1422 # Prefer explicitly selected file to automatically selected ones.
1423 if test -z "$CONFIG_SITE"; then
1424 if test "x$prefix" != xNONE; then
1425 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1426 else
1427 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430 for ac_site_file in $CONFIG_SITE; do
1431 if test -r "$ac_site_file"; then
1432 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1433 echo "$as_me: loading site script $ac_site_file" >&6;}
1434 sed 's/^/| /' "$ac_site_file" >&5
1435 . "$ac_site_file"
1437 done
1439 if test -r "$cache_file"; then
1440 # Some versions of bash will fail to source /dev/null (special
1441 # files actually), so we avoid doing that.
1442 if test -f "$cache_file"; then
1443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1444 echo "$as_me: loading cache $cache_file" >&6;}
1445 case $cache_file in
1446 [\\/]* | ?:[\\/]* ) . $cache_file;;
1447 *) . ./$cache_file;;
1448 esac
1450 else
1451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1452 echo "$as_me: creating cache $cache_file" >&6;}
1453 >$cache_file
1456 # Check that the precious variables saved in the cache have kept the same
1457 # value.
1458 ac_cache_corrupted=false
1459 for ac_var in `(set) 2>&1 |
1460 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1461 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1462 eval ac_new_set=\$ac_env_${ac_var}_set
1463 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1464 eval ac_new_val="\$ac_env_${ac_var}_value"
1465 case $ac_old_set,$ac_new_set in
1466 set,)
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1469 ac_cache_corrupted=: ;;
1470 ,set)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,);;
1476 if test "x$ac_old_val" != "x$ac_new_val"; then
1477 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1478 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1479 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1480 echo "$as_me: former value: $ac_old_val" >&2;}
1481 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1482 echo "$as_me: current value: $ac_new_val" >&2;}
1483 ac_cache_corrupted=:
1484 fi;;
1485 esac
1486 # Pass precious variables to config.status.
1487 if test "$ac_new_set" = set; then
1488 case $ac_new_val in
1489 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1490 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1491 *) ac_arg=$ac_var=$ac_new_val ;;
1492 esac
1493 case " $ac_configure_args " in
1494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1495 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1496 esac
1498 done
1499 if $ac_cache_corrupted; then
1500 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1501 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1502 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1503 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1504 { (exit 1); exit 1; }; }
1507 ac_ext=c
1508 ac_cpp='$CPP $CPPFLAGS'
1509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1540 ac_config_headers="$ac_config_headers config.h"
1543 # This works around the fact that libtool configuration may change LD
1544 # for this particular configuration, but some shells, instead of
1545 # keeping the changes in LD private, export them just because LD is
1546 # exported. Only used at the end of this file.
1547 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1549 # For libtool versioning info, format is CURRENT:REVISION:AGE
1550 libtool_VERSION=6:10:0
1553 # Find the rest of the source tree framework.
1554 # Default to --enable-multilib
1555 # Check whether --enable-multilib or --disable-multilib was given.
1556 if test "${enable_multilib+set}" = set; then
1557 enableval="$enable_multilib"
1558 case "$enableval" in
1559 yes) multilib=yes ;;
1560 no) multilib=no ;;
1561 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1562 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1563 { (exit 1); exit 1; }; } ;;
1564 esac
1565 else
1566 multilib=yes
1569 # We may get other options which we leave undocumented:
1570 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1571 # See config-ml.in if you want the gory details.
1573 if test "$srcdir" = "."; then
1574 if test "$with_target_subdir" != "."; then
1575 multi_basedir="$srcdir/$with_multisrctop../.."
1576 else
1577 multi_basedir="$srcdir/$with_multisrctop.."
1579 else
1580 multi_basedir="$srcdir/.."
1584 # Even if the default multilib is not a cross compilation,
1585 # it may be that some of the other multilibs are.
1586 if test $cross_compiling = no && test $multilib = yes \
1587 && test "x${with_multisubdir}" != x ; then
1588 cross_compiling=maybe
1591 ac_config_commands="$ac_config_commands default-1"
1594 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1596 # You will slowly go insane if you do not grok the following fact: when
1597 # building v3 as part of the compiler, the top-level /target/ becomes the
1598 # library's /host/. configure then causes --target to default to --host,
1599 # exactly like any other package using autoconf. Therefore, 'target' and
1600 # 'host' will always be the same. This makes sense both for native and
1601 # cross compilers, just think about it for a little while. :-)
1603 # Also, if v3 is being configured as part of a cross compiler, the top-level
1604 # configure script will pass the "real" host as $with_cross_host.
1606 # Do not delete or change the following two lines. For why, see
1607 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1608 ac_aux_dir=
1609 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1610 if test -f $ac_dir/install-sh; then
1611 ac_aux_dir=$ac_dir
1612 ac_install_sh="$ac_aux_dir/install-sh -c"
1613 break
1614 elif test -f $ac_dir/install.sh; then
1615 ac_aux_dir=$ac_dir
1616 ac_install_sh="$ac_aux_dir/install.sh -c"
1617 break
1618 elif test -f $ac_dir/shtool; then
1619 ac_aux_dir=$ac_dir
1620 ac_install_sh="$ac_aux_dir/shtool install -c"
1621 break
1623 done
1624 if test -z "$ac_aux_dir"; then
1625 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1626 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1627 { (exit 1); exit 1; }; }
1629 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1630 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1631 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1633 # Make sure we can run config.sub.
1634 $ac_config_sub sun4 >/dev/null 2>&1 ||
1635 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1636 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1637 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: checking build system type" >&5
1640 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1641 if test "${ac_cv_build+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644 ac_cv_build_alias=$build_alias
1645 test -z "$ac_cv_build_alias" &&
1646 ac_cv_build_alias=`$ac_config_guess`
1647 test -z "$ac_cv_build_alias" &&
1648 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1649 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1650 { (exit 1); exit 1; }; }
1651 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1652 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1653 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1654 { (exit 1); exit 1; }; }
1657 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1658 echo "${ECHO_T}$ac_cv_build" >&6
1659 build=$ac_cv_build
1660 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1661 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1662 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665 echo "$as_me:$LINENO: checking host system type" >&5
1666 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1667 if test "${ac_cv_host+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 else
1670 ac_cv_host_alias=$host_alias
1671 test -z "$ac_cv_host_alias" &&
1672 ac_cv_host_alias=$ac_cv_build_alias
1673 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1674 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1675 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1676 { (exit 1); exit 1; }; }
1679 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1680 echo "${ECHO_T}$ac_cv_host" >&6
1681 host=$ac_cv_host
1682 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1683 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1684 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1687 echo "$as_me:$LINENO: checking target system type" >&5
1688 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1689 if test "${ac_cv_target+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 else
1692 ac_cv_target_alias=$target_alias
1693 test "x$ac_cv_target_alias" = "x" &&
1694 ac_cv_target_alias=$ac_cv_host_alias
1695 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1696 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1697 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1698 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1702 echo "${ECHO_T}$ac_cv_target" >&6
1703 target=$ac_cv_target
1704 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1705 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1706 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1709 # The aliases save the names the user supplied, while $host etc.
1710 # will get canonicalized.
1711 test -n "$target_alias" &&
1712 test "$program_prefix$program_suffix$program_transform_name" = \
1713 NONENONEs,x,x, &&
1714 program_prefix=${target_alias}-
1715 target_alias=${target_alias-$host_alias}
1717 # Handy for debugging:
1718 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1720 if test "$build" != "$host"; then
1721 # We are being configured with some form of cross compiler.
1722 GLIBCXX_IS_NATIVE=false
1723 case "$host","$target" in
1724 # Darwin crosses can use the host system's libraries and headers,
1725 # because of the fat library support. Of course, it must be the
1726 # same version of Darwin on both sides. Allow the user to
1727 # just say --target=foo-darwin without a version number to mean
1728 # "the version on this system".
1729 *-*-darwin*,*-*-darwin*)
1730 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1731 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1732 if test $hostos = $targetos -o $targetos = darwin ; then
1733 GLIBCXX_IS_NATIVE=true
1740 esac
1741 else
1742 GLIBCXX_IS_NATIVE=true
1745 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1746 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1747 # 1.x: minimum required version
1748 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1749 # of other PACKAGE_* variables will, however, and there's nothing
1750 # we can do about that; they come from AC_INIT).
1751 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1752 # file in the top srcdir, etc, etc), so stop complaining.
1753 # no-dependencies: turns off auto dependency generation (just for now)
1754 # -Wall: turns on all automake warnings...
1755 # -Wno-portability: ...except this one, since GNU make is now required.
1756 am__api_version="1.9"
1757 # Find a good install program. We prefer a C program (faster),
1758 # so one script is as good as another. But avoid the broken or
1759 # incompatible versions:
1760 # SysV /etc/install, /usr/sbin/install
1761 # SunOS /usr/etc/install
1762 # IRIX /sbin/install
1763 # AIX /bin/install
1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768 # OS/2's system install, which has a completely different semantic
1769 # ./install, which can be erroneously created by make from ./install.sh.
1770 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1771 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1772 if test -z "$INSTALL"; then
1773 if test "${ac_cv_path_install+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 # Account for people who put trailing slashes in PATH elements.
1782 case $as_dir/ in
1783 ./ | .// | /cC/* | \
1784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1786 /usr/ucb/* ) ;;
1788 # OSF1 and SCO ODT 3.0 have their own names for install.
1789 # Don't use installbsd from OSF since it installs stuff as root
1790 # by default.
1791 for ac_prog in ginstall scoinst install; do
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794 if test $ac_prog = install &&
1795 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # AIX install. It has an incompatible calling convention.
1798 elif test $ac_prog = install &&
1799 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800 # program-specific install script used by HP pwplus--don't use.
1802 else
1803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1804 break 3
1807 done
1808 done
1810 esac
1811 done
1815 if test "${ac_cv_path_install+set}" = set; then
1816 INSTALL=$ac_cv_path_install
1817 else
1818 # As a last resort, use the slow shell script. We don't cache a
1819 # path for INSTALL within a source directory, because that will
1820 # break other packages using the cache if that directory is
1821 # removed, or if the path is relative.
1822 INSTALL=$ac_install_sh
1825 echo "$as_me:$LINENO: result: $INSTALL" >&5
1826 echo "${ECHO_T}$INSTALL" >&6
1828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1829 # It thinks the first close brace ends the variable substitution.
1830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1836 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1837 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1838 # Just in case
1839 sleep 1
1840 echo timestamp > conftest.file
1841 # Do `set' in a subshell so we don't clobber the current shell's
1842 # arguments. Must try -L first in case configure is actually a
1843 # symlink; some systems play weird games with the mod time of symlinks
1844 # (eg FreeBSD returns the mod time of the symlink's containing
1845 # directory).
1846 if (
1847 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1848 if test "$*" = "X"; then
1849 # -L didn't work.
1850 set X `ls -t $srcdir/configure conftest.file`
1852 rm -f conftest.file
1853 if test "$*" != "X $srcdir/configure conftest.file" \
1854 && test "$*" != "X conftest.file $srcdir/configure"; then
1856 # If neither matched, then we have a broken ls. This can happen
1857 # if, for instance, CONFIG_SHELL is bash and it inherits a
1858 # broken ls alias from the environment. This has actually
1859 # happened. Such a system could not be considered "sane".
1860 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1861 alias in your environment" >&5
1862 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1863 alias in your environment" >&2;}
1864 { (exit 1); exit 1; }; }
1867 test "$2" = conftest.file
1869 then
1870 # Ok.
1872 else
1873 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1874 Check your system clock" >&5
1875 echo "$as_me: error: newly created file is older than distributed files!
1876 Check your system clock" >&2;}
1877 { (exit 1); exit 1; }; }
1879 echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6
1881 test "$program_prefix" != NONE &&
1882 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1883 # Use a double $ so make ignores it.
1884 test "$program_suffix" != NONE &&
1885 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1886 # Double any \ or $. echo might interpret backslashes.
1887 # By default was `s,x,x', remove it if useless.
1888 cat <<\_ACEOF >conftest.sed
1889 s/[\\$]/&&/g;s/;s,x,x,$//
1890 _ACEOF
1891 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1892 rm conftest.sed
1894 # expand $ac_aux_dir to an absolute path
1895 am_aux_dir=`cd $ac_aux_dir && pwd`
1897 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1898 # Use eval to expand $SHELL
1899 if eval "$MISSING --run true"; then
1900 am_missing_run="$MISSING --run "
1901 else
1902 am_missing_run=
1903 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1904 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1907 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1908 # We used to keeping the `.' as first argument, in order to
1909 # allow $(mkdir_p) to be used without argument. As in
1910 # $(mkdir_p) $(somedir)
1911 # where $(somedir) is conditionally defined. However this is wrong
1912 # for two reasons:
1913 # 1. if the package is installed by a user who cannot write `.'
1914 # make install will fail,
1915 # 2. the above comment should most certainly read
1916 # $(mkdir_p) $(DESTDIR)$(somedir)
1917 # so it does not work when $(somedir) is undefined and
1918 # $(DESTDIR) is not.
1919 # To support the latter case, we have to write
1920 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1921 # so the `.' trick is pointless.
1922 mkdir_p='mkdir -p --'
1923 else
1924 # On NextStep and OpenStep, the `mkdir' command does not
1925 # recognize any option. It will interpret all options as
1926 # directories to create, and then abort because `.' already
1927 # exists.
1928 for d in ./-p ./--version;
1930 test -d $d && rmdir $d
1931 done
1932 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1933 if test -f "$ac_aux_dir/mkinstalldirs"; then
1934 mkdir_p='$(mkinstalldirs)'
1935 else
1936 mkdir_p='$(install_sh) -d'
1940 for ac_prog in gawk mawk nawk awk
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_AWK+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test -n "$AWK"; then
1950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1951 else
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1955 IFS=$as_save_IFS
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_AWK="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 break 2
1963 done
1964 done
1968 AWK=$ac_cv_prog_AWK
1969 if test -n "$AWK"; then
1970 echo "$as_me:$LINENO: result: $AWK" >&5
1971 echo "${ECHO_T}$AWK" >&6
1972 else
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1977 test -n "$AWK" && break
1978 done
1980 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1981 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1982 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1983 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986 cat >conftest.make <<\_ACEOF
1987 all:
1988 @echo 'ac_maketemp="$(MAKE)"'
1989 _ACEOF
1990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1991 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1992 if test -n "$ac_maketemp"; then
1993 eval ac_cv_prog_make_${ac_make}_set=yes
1994 else
1995 eval ac_cv_prog_make_${ac_make}_set=no
1997 rm -f conftest.make
1999 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2000 echo "$as_me:$LINENO: result: yes" >&5
2001 echo "${ECHO_T}yes" >&6
2002 SET_MAKE=
2003 else
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2006 SET_MAKE="MAKE=${MAKE-make}"
2009 rm -rf .tst 2>/dev/null
2010 mkdir .tst 2>/dev/null
2011 if test -d .tst; then
2012 am__leading_dot=.
2013 else
2014 am__leading_dot=_
2016 rmdir .tst 2>/dev/null
2018 # test to see if srcdir already configured
2019 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2020 test -f $srcdir/config.status; then
2021 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2022 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2023 { (exit 1); exit 1; }; }
2026 # test whether we have cygpath
2027 if test -z "$CYGPATH_W"; then
2028 if (cygpath --version) >/dev/null 2>/dev/null; then
2029 CYGPATH_W='cygpath -w'
2030 else
2031 CYGPATH_W=echo
2036 # Define the identity of the package.
2037 PACKAGE='libstdc++'
2038 VERSION='version-unused'
2041 # Some tools Automake needs.
2043 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2046 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2049 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2052 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2055 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2057 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2059 # Installed binaries are usually stripped using `strip' when the user
2060 # run `make install-strip'. However `strip' might not be the right
2061 # tool to use in cross-compilation environments, therefore Automake
2062 # will honor the `STRIP' environment variable to overrule this program.
2063 if test "$cross_compiling" != no; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}strip; ac_word=$2
2067 echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2069 if test "${ac_cv_prog_STRIP+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$STRIP"; then
2073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2091 STRIP=$ac_cv_prog_STRIP
2092 if test -n "$STRIP"; then
2093 echo "$as_me:$LINENO: result: $STRIP" >&5
2094 echo "${ECHO_T}$STRIP" >&6
2095 else
2096 echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2101 if test -z "$ac_cv_prog_STRIP"; then
2102 ac_ct_STRIP=$STRIP
2103 # Extract the first word of "strip", so it can be a program name with args.
2104 set dummy strip; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$ac_ct_STRIP"; then
2111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_ac_ct_STRIP="strip"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2124 done
2125 done
2127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2131 if test -n "$ac_ct_STRIP"; then
2132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2133 echo "${ECHO_T}$ac_ct_STRIP" >&6
2134 else
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2139 STRIP=$ac_ct_STRIP
2140 else
2141 STRIP="$ac_cv_prog_STRIP"
2145 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2147 # We need awk for the "check" target. The system "awk" is bad on
2148 # some platforms.
2149 # Always define AMTAR for backward compatibility.
2151 AMTAR=${AMTAR-"${am_missing_run}tar"}
2153 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2164 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2165 # up critical shell variables.
2167 ac_ext=c
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2173 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2174 # On Suns, sometimes $CPP names a directory.
2175 if test -n "$CPP" && test -d "$CPP"; then
2176 CPP=
2178 if test -z "$CPP"; then
2179 if test "${ac_cv_prog_CPP+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182 # Double quotes because CPP needs to be expanded
2183 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2185 ac_preproc_ok=false
2186 for ac_c_preproc_warn_flag in '' yes
2188 # Use a header file that comes with gcc, so configuring glibc
2189 # with a fresh cross-compiler works.
2190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2191 # <limits.h> exists even on freestanding compilers.
2192 # On the NeXT, cc -E runs the code through the compiler's parser,
2193 # not just through cpp. "Syntax error" is here to catch this case.
2194 cat >conftest.$ac_ext <<_ACEOF
2195 /* confdefs.h. */
2196 _ACEOF
2197 cat confdefs.h >>conftest.$ac_ext
2198 cat >>conftest.$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2200 #ifdef __STDC__
2201 # include <limits.h>
2202 #else
2203 # include <assert.h>
2204 #endif
2205 Syntax error
2206 _ACEOF
2207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2209 ac_status=$?
2210 grep -v '^ *+' conftest.er1 >conftest.err
2211 rm -f conftest.er1
2212 cat conftest.err >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } >/dev/null; then
2215 if test -s conftest.err; then
2216 ac_cpp_err=$ac_c_preproc_warn_flag
2217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2218 else
2219 ac_cpp_err=
2221 else
2222 ac_cpp_err=yes
2224 if test -z "$ac_cpp_err"; then
2226 else
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2230 # Broken: fails on valid input.
2231 continue
2233 rm -f conftest.err conftest.$ac_ext
2235 # OK, works on sane cases. Now check whether non-existent headers
2236 # can be detected and how.
2237 cat >conftest.$ac_ext <<_ACEOF
2238 /* confdefs.h. */
2239 _ACEOF
2240 cat confdefs.h >>conftest.$ac_ext
2241 cat >>conftest.$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2243 #include <ac_nonexistent.h>
2244 _ACEOF
2245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2247 ac_status=$?
2248 grep -v '^ *+' conftest.er1 >conftest.err
2249 rm -f conftest.er1
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } >/dev/null; then
2253 if test -s conftest.err; then
2254 ac_cpp_err=$ac_c_preproc_warn_flag
2255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2256 else
2257 ac_cpp_err=
2259 else
2260 ac_cpp_err=yes
2262 if test -z "$ac_cpp_err"; then
2263 # Broken: success on invalid input.
2264 continue
2265 else
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.$ac_ext >&5
2269 # Passes both tests.
2270 ac_preproc_ok=:
2271 break
2273 rm -f conftest.err conftest.$ac_ext
2275 done
2276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2277 rm -f conftest.err conftest.$ac_ext
2278 if $ac_preproc_ok; then
2279 break
2282 done
2283 ac_cv_prog_CPP=$CPP
2286 CPP=$ac_cv_prog_CPP
2287 else
2288 ac_cv_prog_CPP=$CPP
2290 echo "$as_me:$LINENO: result: $CPP" >&5
2291 echo "${ECHO_T}$CPP" >&6
2292 ac_preproc_ok=false
2293 for ac_c_preproc_warn_flag in '' yes
2295 # Use a header file that comes with gcc, so configuring glibc
2296 # with a fresh cross-compiler works.
2297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2298 # <limits.h> exists even on freestanding compilers.
2299 # On the NeXT, cc -E runs the code through the compiler's parser,
2300 # not just through cpp. "Syntax error" is here to catch this case.
2301 cat >conftest.$ac_ext <<_ACEOF
2302 /* confdefs.h. */
2303 _ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2307 #ifdef __STDC__
2308 # include <limits.h>
2309 #else
2310 # include <assert.h>
2311 #endif
2312 Syntax error
2313 _ACEOF
2314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2316 ac_status=$?
2317 grep -v '^ *+' conftest.er1 >conftest.err
2318 rm -f conftest.er1
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } >/dev/null; then
2322 if test -s conftest.err; then
2323 ac_cpp_err=$ac_c_preproc_warn_flag
2324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2325 else
2326 ac_cpp_err=
2328 else
2329 ac_cpp_err=yes
2331 if test -z "$ac_cpp_err"; then
2333 else
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2337 # Broken: fails on valid input.
2338 continue
2340 rm -f conftest.err conftest.$ac_ext
2342 # OK, works on sane cases. Now check whether non-existent headers
2343 # can be detected and how.
2344 cat >conftest.$ac_ext <<_ACEOF
2345 /* confdefs.h. */
2346 _ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2350 #include <ac_nonexistent.h>
2351 _ACEOF
2352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2354 ac_status=$?
2355 grep -v '^ *+' conftest.er1 >conftest.err
2356 rm -f conftest.er1
2357 cat conftest.err >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } >/dev/null; then
2360 if test -s conftest.err; then
2361 ac_cpp_err=$ac_c_preproc_warn_flag
2362 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2363 else
2364 ac_cpp_err=
2366 else
2367 ac_cpp_err=yes
2369 if test -z "$ac_cpp_err"; then
2370 # Broken: success on invalid input.
2371 continue
2372 else
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2376 # Passes both tests.
2377 ac_preproc_ok=:
2378 break
2380 rm -f conftest.err conftest.$ac_ext
2382 done
2383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2384 rm -f conftest.err conftest.$ac_ext
2385 if $ac_preproc_ok; then
2387 else
2388 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2389 See \`config.log' for more details." >&5
2390 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2395 ac_ext=c
2396 ac_cpp='$CPP $CPPFLAGS'
2397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402 echo "$as_me:$LINENO: checking for egrep" >&5
2403 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2404 if test "${ac_cv_prog_egrep+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2408 then ac_cv_prog_egrep='grep -E'
2409 else ac_cv_prog_egrep='egrep'
2412 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2413 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2414 EGREP=$ac_cv_prog_egrep
2418 # Keep these sync'd with the list in Makefile.am. The first provides an
2419 # expandable list at autoconf time; the second provides an expandable list
2420 # (i.e., shell variable) at configure time.
2422 SUBDIRS='include libmath libsupc++ src po testsuite'
2424 # These need to be absolute paths, yet at the same time need to
2425 # canonicalize only relative paths, because then amd will not unmount
2426 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2427 glibcxx_builddir=`${PWDCMD-pwd}`
2428 case $srcdir in
2429 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2430 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2431 esac
2432 toplevel_srcdir=${glibcxx_srcdir}/..
2437 # We use these options to decide which functions to include. They are
2438 # set from the top level.
2440 # Check whether --with-target-subdir or --without-target-subdir was given.
2441 if test "${with_target_subdir+set}" = set; then
2442 withval="$with_target_subdir"
2447 # Check whether --with-cross-host or --without-cross-host was given.
2448 if test "${with_cross_host+set}" = set; then
2449 withval="$with_cross_host"
2454 # Check whether --with-newlib or --without-newlib was given.
2455 if test "${with_newlib+set}" = set; then
2456 withval="$with_newlib"
2460 # We're almost certainly being configured before anything else which uses
2461 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2462 # we not cache the value of CXX that we "discover" here, because it's set
2463 # to something unique for us and libjava. Other target libraries need to
2464 # find CXX for themselves. We yank the rug out from under the normal AC_*
2465 # process by sneakily renaming the cache variable. This also lets us debug
2466 # the value of "our" CXX in postmortems.
2468 # We must also force CXX to /not/ be a precious variable, otherwise the
2469 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2470 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2471 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2472 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2474 # -fno-builtin must be present here so that a non-conflicting form of
2475 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2480 save_CXXFLAGS="$CXXFLAGS"
2481 CXXFLAGS="$CXXFLAGS -fno-builtin"
2482 ac_ext=c
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 if test -n "$ac_tool_prefix"; then
2488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2489 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2490 echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2514 CC=$ac_cv_prog_CC
2515 if test -n "$CC"; then
2516 echo "$as_me:$LINENO: result: $CC" >&5
2517 echo "${ECHO_T}$CC" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2524 if test -z "$ac_cv_prog_CC"; then
2525 ac_ct_CC=$CC
2526 # Extract the first word of "gcc", so it can be a program name with args.
2527 set dummy gcc; ac_word=$2
2528 echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 else
2533 if test -n "$ac_ct_CC"; then
2534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_ac_ct_CC="gcc"
2544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 break 2
2547 done
2548 done
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6
2556 else
2557 echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6
2561 CC=$ac_ct_CC
2562 else
2563 CC="$ac_cv_prog_CC"
2566 if test -z "$CC"; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569 set dummy ${ac_tool_prefix}cc; ac_word=$2
2570 echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC="$CC" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2581 IFS=$as_save_IFS
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_CC="${ac_tool_prefix}cc"
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 break 2
2589 done
2590 done
2594 CC=$ac_cv_prog_CC
2595 if test -n "$CC"; then
2596 echo "$as_me:$LINENO: result: $CC" >&5
2597 echo "${ECHO_T}$CC" >&6
2598 else
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2604 if test -z "$ac_cv_prog_CC"; then
2605 ac_ct_CC=$CC
2606 # Extract the first word of "cc", so it can be a program name with args.
2607 set dummy cc; ac_word=$2
2608 echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 else
2613 if test -n "$ac_ct_CC"; then
2614 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2619 IFS=$as_save_IFS
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_ac_ct_CC="cc"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 break 2
2627 done
2628 done
2632 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2633 if test -n "$ac_ct_CC"; then
2634 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2635 echo "${ECHO_T}$ac_ct_CC" >&6
2636 else
2637 echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6
2641 CC=$ac_ct_CC
2642 else
2643 CC="$ac_cv_prog_CC"
2647 if test -z "$CC"; then
2648 # Extract the first word of "cc", so it can be a program name with args.
2649 set dummy cc; ac_word=$2
2650 echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2652 if test "${ac_cv_prog_CC+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 else
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 else
2658 ac_prog_rejected=no
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH
2662 IFS=$as_save_IFS
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2667 ac_prog_rejected=yes
2668 continue
2670 ac_cv_prog_CC="cc"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 break 2
2674 done
2675 done
2677 if test $ac_prog_rejected = yes; then
2678 # We found a bogon in the path, so make sure we never use it.
2679 set dummy $ac_cv_prog_CC
2680 shift
2681 if test $# != 0; then
2682 # We chose a different compiler from the bogus one.
2683 # However, it has the same basename, so the bogon will be chosen
2684 # first if we set CC to just the basename; use the full file name.
2685 shift
2686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2691 CC=$ac_cv_prog_CC
2692 if test -n "$CC"; then
2693 echo "$as_me:$LINENO: result: $CC" >&5
2694 echo "${ECHO_T}$CC" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 for ac_prog in cl
2705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2707 echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2709 if test "${ac_cv_prog_CC+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 else
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2726 done
2727 done
2731 CC=$ac_cv_prog_CC
2732 if test -n "$CC"; then
2733 echo "$as_me:$LINENO: result: $CC" >&5
2734 echo "${ECHO_T}$CC" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2740 test -n "$CC" && break
2741 done
2743 if test -z "$CC"; then
2744 ac_ct_CC=$CC
2745 for ac_prog in cl
2747 # Extract the first word of "$ac_prog", so it can be a program name with args.
2748 set dummy $ac_prog; ac_word=$2
2749 echo "$as_me:$LINENO: checking for $ac_word" >&5
2750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 else
2754 if test -n "$ac_ct_CC"; then
2755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2756 else
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_ac_ct_CC="$ac_prog"
2765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2768 done
2769 done
2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2776 echo "${ECHO_T}$ac_ct_CC" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2782 test -n "$ac_ct_CC" && break
2783 done
2785 CC=$ac_ct_CC
2791 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2797 # Provide some information about the compiler.
2798 echo "$as_me:$LINENO:" \
2799 "checking for C compiler version" >&5
2800 ac_compiler=`set X $ac_compile; echo $2`
2801 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2802 (eval $ac_compiler --version </dev/null >&5) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }
2806 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2807 (eval $ac_compiler -v </dev/null >&5) 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }
2811 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2812 (eval $ac_compiler -V </dev/null >&5) 2>&5
2813 ac_status=$?
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 main ()
2829 return 0;
2831 _ACEOF
2832 # FIXME: Cleanup?
2833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2834 (eval $ac_link) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; then
2838 gcc_no_link=no
2839 else
2840 gcc_no_link=yes
2843 if test x$gcc_no_link = xyes; then
2844 # Setting cross_compile will disable run tests; it will
2845 # also disable AC_CHECK_FILE but that's generally
2846 # correct if we can't link.
2847 cross_compiling=yes
2848 EXEEXT=
2849 else
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2858 main ()
2862 return 0;
2864 _ACEOF
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2869 # of exeext.
2870 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2871 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2872 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2873 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2874 (eval $ac_link_default) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; then
2878 # Find the output, starting from the most likely. This scheme is
2879 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2880 # resort.
2882 # Be careful to initialize this variable, since it used to be cached.
2883 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2884 ac_cv_exeext=
2885 # b.out is created by i960 compilers.
2886 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2888 test -f "$ac_file" || continue
2889 case $ac_file in
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2892 conftest.$ac_ext )
2893 # This is the source file.
2895 [ab].out )
2896 # We found the default executable, but exeext='' is most
2897 # certainly right.
2898 break;;
2899 *.* )
2900 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901 # FIXME: I believe we export ac_cv_exeext for Libtool,
2902 # but it would be cool to find out if it's true. Does anybody
2903 # maintain Libtool? --akim.
2904 export ac_cv_exeext
2905 break;;
2907 break;;
2908 esac
2909 done
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2915 See \`config.log' for more details." >&5
2916 echo "$as_me: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&2;}
2918 { (exit 77); exit 77; }; }
2921 ac_exeext=$ac_cv_exeext
2922 echo "$as_me:$LINENO: result: $ac_file" >&5
2923 echo "${ECHO_T}$ac_file" >&6
2925 # Check the compiler produces executables we can run. If not, either
2926 # the compiler is broken, or we cross compile.
2927 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2930 # If not cross compiling, check that we can run a simple program.
2931 if test "$cross_compiling" != yes; then
2932 if { ac_try='./$ac_file'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 (eval $ac_try) 2>&5
2935 ac_status=$?
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2938 cross_compiling=no
2939 else
2940 if test "$cross_compiling" = maybe; then
2941 cross_compiling=yes
2942 else
2943 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2944 If you meant to cross compile, use \`--host'.
2945 See \`config.log' for more details." >&5
2946 echo "$as_me: error: cannot run C compiled programs.
2947 If you meant to cross compile, use \`--host'.
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2956 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2957 ac_clean_files=$ac_clean_files_save
2958 # Check the compiler produces executables we can run. If not, either
2959 # the compiler is broken, or we cross compile.
2960 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2961 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2962 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2963 echo "${ECHO_T}$cross_compiling" >&6
2965 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2966 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2968 (eval $ac_link) 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; then
2972 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2973 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2974 # work properly (i.e., refer to `conftest.exe'), while it won't with
2975 # `rm'.
2976 for ac_file in conftest.exe conftest conftest.*; do
2977 test -f "$ac_file" || continue
2978 case $ac_file in
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 export ac_cv_exeext
2982 break;;
2983 * ) break;;
2984 esac
2985 done
2986 else
2987 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2988 See \`config.log' for more details." >&5
2989 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&2;}
2991 { (exit 1); exit 1; }; }
2994 rm -f conftest$ac_cv_exeext
2995 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2996 echo "${ECHO_T}$ac_cv_exeext" >&6
2998 rm -f conftest.$ac_ext
2999 EXEEXT=$ac_cv_exeext
3000 ac_exeext=$EXEEXT
3002 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3003 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3004 if test "${ac_cv_objext+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 else
3007 cat >conftest.$ac_ext <<_ACEOF
3008 /* confdefs.h. */
3009 _ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3015 main ()
3019 return 0;
3021 _ACEOF
3022 rm -f conftest.o conftest.obj
3023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3024 (eval $ac_compile) 2>&5
3025 ac_status=$?
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; then
3028 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3029 case $ac_file in
3030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3031 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3032 break;;
3033 esac
3034 done
3035 else
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3039 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3040 See \`config.log' for more details." >&5
3041 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&2;}
3043 { (exit 1); exit 1; }; }
3046 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3048 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3049 echo "${ECHO_T}$ac_cv_objext" >&6
3050 OBJEXT=$ac_cv_objext
3051 ac_objext=$OBJEXT
3052 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3053 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3054 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057 cat >conftest.$ac_ext <<_ACEOF
3058 /* confdefs.h. */
3059 _ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3065 main ()
3067 #ifndef __GNUC__
3068 choke me
3069 #endif
3072 return 0;
3074 _ACEOF
3075 rm -f conftest.$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 (eval $ac_try) 2>&5
3088 ac_status=$?
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_compiler_gnu=yes
3098 else
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 ac_compiler_gnu=no
3104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3108 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3109 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3110 GCC=`test $ac_compiler_gnu = yes && echo yes`
3111 ac_test_CFLAGS=${CFLAGS+set}
3112 ac_save_CFLAGS=$CFLAGS
3113 CFLAGS="-g"
3114 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3115 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3116 if test "${ac_cv_prog_cc_g+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 else
3119 cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h. */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3127 main ()
3131 return 0;
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3136 (eval $ac_compile) 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } &&
3143 { ac_try='test -z "$ac_c_werror_flag"
3144 || test ! -s conftest.err'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 (eval $ac_try) 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; } &&
3150 { ac_try='test -s conftest.$ac_objext'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; }; then
3156 ac_cv_prog_cc_g=yes
3157 else
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 ac_cv_prog_cc_g=no
3163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3165 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3167 if test "$ac_test_CFLAGS" = set; then
3168 CFLAGS=$ac_save_CFLAGS
3169 elif test $ac_cv_prog_cc_g = yes; then
3170 if test "$GCC" = yes; then
3171 CFLAGS="-g -O2"
3172 else
3173 CFLAGS="-g"
3175 else
3176 if test "$GCC" = yes; then
3177 CFLAGS="-O2"
3178 else
3179 CFLAGS=
3182 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3183 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3184 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187 ac_cv_prog_cc_stdc=no
3188 ac_save_CC=$CC
3189 cat >conftest.$ac_ext <<_ACEOF
3190 /* confdefs.h. */
3191 _ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3195 #include <stdarg.h>
3196 #include <stdio.h>
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3203 char **p;
3204 int i;
3206 return p[i];
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3210 char *s;
3211 va_list v;
3212 va_start (v,p);
3213 s = g (p, va_arg (v,int));
3214 va_end (v);
3215 return s;
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std1 is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std1. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3231 int argc;
3232 char **argv;
3234 main ()
3236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3238 return 0;
3240 _ACEOF
3241 # Don't try gcc -ansi; that turns off useful extensions and
3242 # breaks some systems' header files.
3243 # AIX -qlanglvl=ansi
3244 # Ultrix and OSF/1 -std1
3245 # HP-UX 10.20 and later -Ae
3246 # HP-UX older versions -Aa -D_HPUX_SOURCE
3247 # SVR4 -Xc -D__EXTENSIONS__
3248 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3250 CC="$ac_save_CC $ac_arg"
3251 rm -f conftest.$ac_objext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3253 (eval $ac_compile) 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } &&
3260 { ac_try='test -z "$ac_c_werror_flag"
3261 || test ! -s conftest.err'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 (eval $ac_try) 2>&5
3264 ac_status=$?
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; } &&
3267 { ac_try='test -s conftest.$ac_objext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 (eval $ac_try) 2>&5
3270 ac_status=$?
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3273 ac_cv_prog_cc_stdc=$ac_arg
3274 break
3275 else
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3280 rm -f conftest.err conftest.$ac_objext
3281 done
3282 rm -f conftest.$ac_ext conftest.$ac_objext
3283 CC=$ac_save_CC
3287 case "x$ac_cv_prog_cc_stdc" in
3288 x|xno)
3289 echo "$as_me:$LINENO: result: none needed" >&5
3290 echo "${ECHO_T}none needed" >&6 ;;
3292 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3294 CC="$CC $ac_cv_prog_cc_stdc" ;;
3295 esac
3297 # Some people use a C++ compiler to compile C. Since we use `exit',
3298 # in C++ we need to declare it. In case someone uses the same compiler
3299 # for both compiling C and C++ we need to have the C++ compiler decide
3300 # the declaration of exit, since it's the most demanding environment.
3301 cat >conftest.$ac_ext <<_ACEOF
3302 #ifndef __cplusplus
3303 choke me
3304 #endif
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3309 ac_status=$?
3310 grep -v '^ *+' conftest.er1 >conftest.err
3311 rm -f conftest.er1
3312 cat conftest.err >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try='test -z "$ac_c_werror_flag"
3316 || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318 (eval $ac_try) 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try='test -s conftest.$ac_objext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 (eval $ac_try) 2>&5
3325 ac_status=$?
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3328 for ac_declaration in \
3329 '' \
3330 'extern "C" void std::exit (int) throw (); using std::exit;' \
3331 'extern "C" void std::exit (int); using std::exit;' \
3332 'extern "C" void exit (int) throw ();' \
3333 'extern "C" void exit (int);' \
3334 'void exit (int);'
3336 cat >conftest.$ac_ext <<_ACEOF
3337 /* confdefs.h. */
3338 _ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3342 $ac_declaration
3343 #include <stdlib.h>
3345 main ()
3347 exit (42);
3349 return 0;
3351 _ACEOF
3352 rm -f conftest.$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3355 ac_status=$?
3356 grep -v '^ *+' conftest.er1 >conftest.err
3357 rm -f conftest.er1
3358 cat conftest.err >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 (eval $ac_try) 2>&5
3365 ac_status=$?
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 (eval $ac_try) 2>&5
3371 ac_status=$?
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3375 else
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.$ac_ext >&5
3379 continue
3381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3382 cat >conftest.$ac_ext <<_ACEOF
3383 /* confdefs.h. */
3384 _ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 $ac_declaration
3390 main ()
3392 exit (42);
3394 return 0;
3396 _ACEOF
3397 rm -f conftest.$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } &&
3406 { ac_try='test -z "$ac_c_werror_flag"
3407 || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 (eval $ac_try) 2>&5
3410 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try='test -s conftest.$ac_objext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 (eval $ac_try) 2>&5
3416 ac_status=$?
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 break
3420 else
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 done
3427 rm -f conftest*
3428 if test -n "$ac_declaration"; then
3429 echo '#ifdef __cplusplus' >>confdefs.h
3430 echo $ac_declaration >>confdefs.h
3431 echo '#endif' >>confdefs.h
3434 else
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3440 ac_ext=c
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446 ac_ext=cc
3447 ac_cpp='$CXXCPP $CPPFLAGS'
3448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3456 echo "$as_me:$LINENO: checking for $ac_word" >&5
3457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 else
3461 if test -n "$CXX"; then
3462 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3463 else
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 for as_dir in $PATH
3467 IFS=$as_save_IFS
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 break 2
3475 done
3476 done
3480 CXX=$glibcxx_cv_prog_CXX
3481 if test -n "$CXX"; then
3482 echo "$as_me:$LINENO: result: $CXX" >&5
3483 echo "${ECHO_T}$CXX" >&6
3484 else
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3489 test -n "$CXX" && break
3490 done
3492 if test -z "$CXX"; then
3493 ac_ct_CXX=$CXX
3494 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_CXX"; then
3504 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_CXX="$ac_prog"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3522 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3523 if test -n "$ac_ct_CXX"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3525 echo "${ECHO_T}$ac_ct_CXX" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 test -n "$ac_ct_CXX" && break
3532 done
3533 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3535 CXX=$ac_ct_CXX
3539 # Provide some information about the compiler.
3540 echo "$as_me:$LINENO:" \
3541 "checking for C++ compiler version" >&5
3542 ac_compiler=`set X $ac_compile; echo $2`
3543 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3544 (eval $ac_compiler --version </dev/null >&5) 2>&5
3545 ac_status=$?
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }
3548 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3549 (eval $ac_compiler -v </dev/null >&5) 2>&5
3550 ac_status=$?
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }
3553 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3554 (eval $ac_compiler -V </dev/null >&5) 2>&5
3555 ac_status=$?
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }
3559 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3560 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 else
3564 cat >conftest.$ac_ext <<_ACEOF
3565 /* confdefs.h. */
3566 _ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3572 main ()
3574 #ifndef __GNUC__
3575 choke me
3576 #endif
3579 return 0;
3581 _ACEOF
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_cxx_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 (eval $ac_try) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_compiler_gnu=yes
3605 else
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 ac_compiler_gnu=no
3611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3617 GXX=`test $ac_compiler_gnu = yes && echo yes`
3618 ac_test_CXXFLAGS=${CXXFLAGS+set}
3619 ac_save_CXXFLAGS=$CXXFLAGS
3620 CXXFLAGS="-g"
3621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3623 if test "${ac_cv_prog_cxx_g+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 else
3626 cat >conftest.$ac_ext <<_ACEOF
3627 /* confdefs.h. */
3628 _ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3634 main ()
3638 return 0;
3640 _ACEOF
3641 rm -f conftest.$ac_objext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3643 (eval $ac_compile) 2>conftest.er1
3644 ac_status=$?
3645 grep -v '^ *+' conftest.er1 >conftest.err
3646 rm -f conftest.er1
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -z "$ac_cxx_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 (eval $ac_try) 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 (eval $ac_try) 2>&5
3660 ac_status=$?
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_prog_cxx_g=yes
3664 else
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_cv_prog_cxx_g=no
3670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3674 if test "$ac_test_CXXFLAGS" = set; then
3675 CXXFLAGS=$ac_save_CXXFLAGS
3676 elif test $ac_cv_prog_cxx_g = yes; then
3677 if test "$GXX" = yes; then
3678 CXXFLAGS="-g -O2"
3679 else
3680 CXXFLAGS="-g"
3682 else
3683 if test "$GXX" = yes; then
3684 CXXFLAGS="-O2"
3685 else
3686 CXXFLAGS=
3689 for ac_declaration in \
3690 '' \
3691 'extern "C" void std::exit (int) throw (); using std::exit;' \
3692 'extern "C" void std::exit (int); using std::exit;' \
3693 'extern "C" void exit (int) throw ();' \
3694 'extern "C" void exit (int);' \
3695 'void exit (int);'
3697 cat >conftest.$ac_ext <<_ACEOF
3698 /* confdefs.h. */
3699 _ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3703 $ac_declaration
3704 #include <stdlib.h>
3706 main ()
3708 exit (42);
3710 return 0;
3712 _ACEOF
3713 rm -f conftest.$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3716 ac_status=$?
3717 grep -v '^ *+' conftest.er1 >conftest.err
3718 rm -f conftest.er1
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_cxx_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 (eval $ac_try) 2>&5
3726 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 (eval $ac_try) 2>&5
3732 ac_status=$?
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3736 else
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3740 continue
3742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3743 cat >conftest.$ac_ext <<_ACEOF
3744 /* confdefs.h. */
3745 _ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_declaration
3751 main ()
3753 exit (42);
3755 return 0;
3757 _ACEOF
3758 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3761 ac_status=$?
3762 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -z "$ac_cxx_werror_flag"
3768 || test ! -s conftest.err'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5
3771 ac_status=$?
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; } &&
3774 { ac_try='test -s conftest.$ac_objext'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 (eval $ac_try) 2>&5
3777 ac_status=$?
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3780 break
3781 else
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 done
3788 rm -f conftest*
3789 if test -n "$ac_declaration"; then
3790 echo '#ifdef __cplusplus' >>confdefs.h
3791 echo $ac_declaration >>confdefs.h
3792 echo '#endif' >>confdefs.h
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801 CXXFLAGS="$save_CXXFLAGS"
3806 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3807 # available). Uncomment the next line to force a particular method.
3808 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3809 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3810 LN_S=$as_ln_s
3811 if test "$LN_S" = "ln -s"; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3816 echo "${ECHO_T}no, using $LN_S" >&6
3819 #LN_S='cp -p'
3821 if test -n "$ac_tool_prefix"; then
3822 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3823 set dummy ${ac_tool_prefix}as; ac_word=$2
3824 echo "$as_me:$LINENO: checking for $ac_word" >&5
3825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826 if test "${ac_cv_prog_AS+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 else
3829 if test -n "$AS"; then
3830 ac_cv_prog_AS="$AS" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_AS="${ac_tool_prefix}as"
3840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3848 AS=$ac_cv_prog_AS
3849 if test -n "$AS"; then
3850 echo "$as_me:$LINENO: result: $AS" >&5
3851 echo "${ECHO_T}$AS" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3858 if test -z "$ac_cv_prog_AS"; then
3859 ac_ct_AS=$AS
3860 # Extract the first word of "as", so it can be a program name with args.
3861 set dummy as; ac_word=$2
3862 echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867 if test -n "$ac_ct_AS"; then
3868 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3873 IFS=$as_save_IFS
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_AS="as"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 break 2
3881 done
3882 done
3886 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3887 if test -n "$ac_ct_AS"; then
3888 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3889 echo "${ECHO_T}$ac_ct_AS" >&6
3890 else
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3895 AS=$ac_ct_AS
3896 else
3897 AS="$ac_cv_prog_AS"
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ar; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_AR+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908 if test -n "$AR"; then
3909 ac_cv_prog_AR="$AR" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3914 IFS=$as_save_IFS
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_AR="${ac_tool_prefix}ar"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3922 done
3923 done
3927 AR=$ac_cv_prog_AR
3928 if test -n "$AR"; then
3929 echo "$as_me:$LINENO: result: $AR" >&5
3930 echo "${ECHO_T}$AR" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3937 if test -z "$ac_cv_prog_AR"; then
3938 ac_ct_AR=$AR
3939 # Extract the first word of "ar", so it can be a program name with args.
3940 set dummy ar; ac_word=$2
3941 echo "$as_me:$LINENO: checking for $ac_word" >&5
3942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3943 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 if test -n "$ac_ct_AR"; then
3947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3952 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3956 ac_cv_prog_ac_ct_AR="ar"
3957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3960 done
3961 done
3965 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3966 if test -n "$ac_ct_AR"; then
3967 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3968 echo "${ECHO_T}$ac_ct_AR" >&6
3969 else
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3974 AR=$ac_ct_AR
3975 else
3976 AR="$ac_cv_prog_AR"
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_RANLIB+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 if test -n "$RANLIB"; then
3988 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4006 RANLIB=$ac_cv_prog_RANLIB
4007 if test -n "$RANLIB"; then
4008 echo "$as_me:$LINENO: result: $RANLIB" >&5
4009 echo "${ECHO_T}$RANLIB" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4016 if test -z "$ac_cv_prog_RANLIB"; then
4017 ac_ct_RANLIB=$RANLIB
4018 # Extract the first word of "ranlib", so it can be a program name with args.
4019 set dummy ranlib; ac_word=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 else
4025 if test -n "$ac_ct_RANLIB"; then
4026 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_RANLIB="ranlib"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4039 done
4040 done
4042 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4045 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4046 if test -n "$ac_ct_RANLIB"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4048 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4054 RANLIB=$ac_ct_RANLIB
4055 else
4056 RANLIB="$ac_cv_prog_RANLIB"
4060 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4061 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4062 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4063 if test "${enable_maintainer_mode+set}" = set; then
4064 enableval="$enable_maintainer_mode"
4065 USE_MAINTAINER_MODE=$enableval
4066 else
4067 USE_MAINTAINER_MODE=no
4069 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4070 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4073 if test $USE_MAINTAINER_MODE = yes; then
4074 MAINTAINER_MODE_TRUE=
4075 MAINTAINER_MODE_FALSE='#'
4076 else
4077 MAINTAINER_MODE_TRUE='#'
4078 MAINTAINER_MODE_FALSE=
4081 MAINT=$MAINTAINER_MODE_TRUE
4085 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4086 # which are themselves conditionally expanded.
4087 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4088 ## other macros from doing the same. This should be automated.) -pme
4089 need_libmath=no
4091 # Check for uClibc since Linux platforms use different configuration
4092 # directories depending on the C library in use.
4093 cat >conftest.$ac_ext <<_ACEOF
4094 /* confdefs.h. */
4095 _ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4100 #include <stdio.h>
4101 #if __UCLIBC__
4102 _using_uclibc
4103 #endif
4105 _ACEOF
4106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4107 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4108 uclibc=yes
4109 else
4110 uclibc=no
4112 rm -f conftest*
4115 # Find platform-specific directories containing configuration info.
4116 # Also possibly modify flags used elsewhere, as needed by the platform.
4118 . $glibcxx_srcdir/configure.host
4119 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4120 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4121 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4122 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4126 enable_dlopen=yes
4132 macro_version='2.1a'
4133 macro_revision='1.2435'
4146 ltmain="$ac_aux_dir/ltmain.sh"
4148 # Set options
4151 enable_win32_dll=no
4154 # Check whether --enable-shared or --disable-shared was given.
4155 if test "${enable_shared+set}" = set; then
4156 enableval="$enable_shared"
4157 p=${PACKAGE-default}
4158 case $enableval in
4159 yes) enable_shared=yes ;;
4160 no) enable_shared=no ;;
4162 enable_shared=no
4163 # Look at the argument we got. We use all the common list separators.
4164 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4165 for pkg in $enableval; do
4166 IFS="$lt_save_ifs"
4167 if test "X$pkg" = "X$p"; then
4168 enable_shared=yes
4170 done
4171 IFS="$lt_save_ifs"
4173 esac
4174 else
4175 enable_shared=yes
4185 # Check whether --enable-static or --disable-static was given.
4186 if test "${enable_static+set}" = set; then
4187 enableval="$enable_static"
4188 p=${PACKAGE-default}
4189 case $enableval in
4190 yes) enable_static=yes ;;
4191 no) enable_static=no ;;
4193 enable_static=no
4194 # Look at the argument we got. We use all the common list separators.
4195 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4196 for pkg in $enableval; do
4197 IFS="$lt_save_ifs"
4198 if test "X$pkg" = "X$p"; then
4199 enable_static=yes
4201 done
4202 IFS="$lt_save_ifs"
4204 esac
4205 else
4206 enable_static=yes
4217 # Check whether --with-pic or --without-pic was given.
4218 if test "${with_pic+set}" = set; then
4219 withval="$with_pic"
4220 pic_mode="$withval"
4221 else
4222 pic_mode=default
4225 test -z "$pic_mode" && pic_mode=default
4233 # Check whether --enable-fast-install or --disable-fast-install was given.
4234 if test "${enable_fast_install+set}" = set; then
4235 enableval="$enable_fast_install"
4236 p=${PACKAGE-default}
4237 case $enableval in
4238 yes) enable_fast_install=yes ;;
4239 no) enable_fast_install=no ;;
4241 enable_fast_install=no
4242 # Look at the argument we got. We use all the common list separators.
4243 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4244 for pkg in $enableval; do
4245 IFS="$lt_save_ifs"
4246 if test "X$pkg" = "X$p"; then
4247 enable_fast_install=yes
4249 done
4250 IFS="$lt_save_ifs"
4252 esac
4253 else
4254 enable_fast_install=yes
4264 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4265 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4266 if test "${lt_cv_path_SED+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 # Loop through the user's path and test for sed and gsed.
4270 # Then use that list of sed's as ones to test for truncation.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 for as_dir in $PATH
4274 IFS=$as_save_IFS
4275 test -z "$as_dir" && as_dir=.
4276 for lt_ac_prog in sed gsed; do
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4279 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4281 done
4282 done
4283 done
4284 IFS=$as_save_IFS
4285 lt_ac_max=0
4286 lt_ac_count=0
4287 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4288 # along with /bin/sed that truncates output.
4289 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4290 test ! -f $lt_ac_sed && continue
4291 cat /dev/null > conftest.in
4292 lt_ac_count=0
4293 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4294 # Check for GNU sed and select it if it is found.
4295 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4296 lt_cv_path_SED=$lt_ac_sed
4297 break
4299 while true; do
4300 cat conftest.in conftest.in >conftest.tmp
4301 mv conftest.tmp conftest.in
4302 cp conftest.in conftest.nl
4303 echo >>conftest.nl
4304 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4305 cmp -s conftest.out conftest.nl || break
4306 # 10000 chars as input seems more than enough
4307 test $lt_ac_count -gt 10 && break
4308 lt_ac_count=`expr $lt_ac_count + 1`
4309 if test $lt_ac_count -gt $lt_ac_max; then
4310 lt_ac_max=$lt_ac_count
4311 lt_cv_path_SED=$lt_ac_sed
4313 done
4314 done
4318 SED=$lt_cv_path_SED
4320 echo "$as_me:$LINENO: result: $SED" >&5
4321 echo "${ECHO_T}$SED" >&6
4323 test -z "$SED" && SED=sed
4324 Xsed="$SED -e 1s/^X//"
4336 echo "$as_me:$LINENO: checking for fgrep" >&5
4337 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4338 if test "${ac_cv_prog_fgrep+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 else
4341 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4342 then ac_cv_prog_fgrep='grep -F'
4343 else ac_cv_prog_fgrep='fgrep'
4346 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4347 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4348 FGREP=$ac_cv_prog_fgrep
4351 test -z "$GREP" && GREP=grep
4371 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4372 if test "${with_gnu_ld+set}" = set; then
4373 withval="$with_gnu_ld"
4374 test "$withval" = no || with_gnu_ld=yes
4375 else
4376 with_gnu_ld=no
4378 ac_prog=ld
4379 if test "$GCC" = yes; then
4380 # Check if gcc -print-prog-name=ld gives a path.
4381 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4382 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4383 case $host in
4384 *-*-mingw*)
4385 # gcc leaves a trailing carriage return which upsets mingw
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 esac
4390 case $ac_prog in
4391 # Accept absolute paths.
4392 [\\/]* | ?:[\\/]*)
4393 re_direlt='/[^/][^/]*/\.\./'
4394 # Canonicalize the pathname of ld
4395 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4396 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4397 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4398 done
4399 test -z "$LD" && LD="$ac_prog"
4402 # If it fails, then pretend we aren't using GCC.
4403 ac_prog=ld
4406 # If it is relative, then search for the first ld in PATH.
4407 with_gnu_ld=unknown
4409 esac
4410 elif test "$with_gnu_ld" = yes; then
4411 echo "$as_me:$LINENO: checking for GNU ld" >&5
4412 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4413 else
4414 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4415 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4417 if test "${lt_cv_path_LD+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 else
4420 if test -z "$LD"; then
4421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 for ac_dir in $PATH; do
4423 IFS="$lt_save_ifs"
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4426 lt_cv_path_LD="$ac_dir/$ac_prog"
4427 # Check to see if the program is GNU ld. I'd rather use --version,
4428 # but apparently some variants of GNU ld only accept -v.
4429 # Break only if it was the GNU/non-GNU ld that we prefer.
4430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 test "$with_gnu_ld" != no && break
4435 test "$with_gnu_ld" != yes && break
4437 esac
4439 done
4440 IFS="$lt_save_ifs"
4441 else
4442 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4446 LD="$lt_cv_path_LD"
4447 if test -n "$LD"; then
4448 echo "$as_me:$LINENO: result: $LD" >&5
4449 echo "${ECHO_T}$LD" >&6
4450 else
4451 echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6
4454 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4455 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4456 { (exit 1); exit 1; }; }
4457 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4458 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4459 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 else
4462 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU* | *'with BFD'*)
4465 lt_cv_prog_gnu_ld=yes
4468 lt_cv_prog_gnu_ld=no
4470 esac
4472 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4473 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4474 with_gnu_ld=$lt_cv_prog_gnu_ld
4485 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4486 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4487 if test "${lt_cv_path_NM+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 if test -n "$NM"; then
4491 # Let the user override the test.
4492 lt_cv_path_NM="$NM"
4493 else
4494 lt_nm_to_check="${ac_tool_prefix}nm"
4495 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4496 lt_nm_to_check="$lt_nm_to_check nm"
4498 for lt_tmp_nm in $lt_nm_to_check; do
4499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4500 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4501 IFS="$lt_save_ifs"
4502 test -z "$ac_dir" && ac_dir=.
4503 tmp_nm="$ac_dir/$lt_tmp_nm"
4504 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4505 # Check to see if the nm accepts a BSD-compat flag.
4506 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4507 # nm: unknown option "B" ignored
4508 # Tru64's nm complains that /dev/null is an invalid object file
4509 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4510 */dev/null* | *'Invalid file or object type'*)
4511 lt_cv_path_NM="$tmp_nm -B"
4512 break
4515 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4516 */dev/null*)
4517 lt_cv_path_NM="$tmp_nm -p"
4518 break
4521 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4522 continue # so that we can try to find one that supports BSD flags
4524 esac
4526 esac
4528 done
4529 IFS="$lt_save_ifs"
4530 done
4531 : ${lt_cv_path_NM=no}
4534 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4535 echo "${ECHO_T}$lt_cv_path_NM" >&6
4536 if test "$lt_cv_path_NM" != "no"; then
4537 NM="$lt_cv_path_NM"
4538 else
4539 # Didn't find any BSD compatible name lister, look for dumpbin.
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4547 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 if test -n "$DUMPBIN"; then
4551 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4564 done
4565 done
4569 DUMPBIN=$ac_cv_prog_DUMPBIN
4570 if test -n "$DUMPBIN"; then
4571 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4572 echo "${ECHO_T}$DUMPBIN" >&6
4573 else
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4578 test -n "$DUMPBIN" && break
4579 done
4581 if test -z "$DUMPBIN"; then
4582 ac_ct_DUMPBIN=$DUMPBIN
4583 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4589 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 else
4592 if test -n "$ac_ct_DUMPBIN"; then
4593 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4611 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4614 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4615 else
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4620 test -n "$ac_ct_DUMPBIN" && break
4621 done
4622 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4624 DUMPBIN=$ac_ct_DUMPBIN
4628 if test "$DUMPBIN" != ":"; then
4629 NM="$DUMPBIN"
4632 test -z "$NM" && NM=nm
4639 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4640 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4641 if test "${lt_cv_nm_interface+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 else
4644 lt_cv_nm_interface="BSD nm"
4645 echo "int some_variable = 0;" > conftest.$ac_ext
4646 (eval echo "\"\$as_me:4646: $ac_compile\"" >&5)
4647 (eval "$ac_compile" 2>conftest.err)
4648 cat conftest.err >&5
4649 (eval echo "\"\$as_me:4649: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4650 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4651 cat conftest.err >&5
4652 (eval echo "\"\$as_me:4652: output\"" >&5)
4653 cat conftest.out >&5
4654 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4655 lt_cv_nm_interface="MS dumpbin"
4657 rm -f conftest*
4659 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4660 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4662 # find the maximum length of command line arguments
4663 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4664 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4665 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 else
4669 teststring="ABCD"
4671 case $build_os in
4672 msdosdjgpp*)
4673 # On DJGPP, this test can blow up pretty badly due to problems in libc
4674 # (any single argument exceeding 2000 bytes causes a buffer overrun
4675 # during glob expansion). Even if it were fixed, the result of this
4676 # check would be larger than it should be.
4677 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4680 gnu*)
4681 # Under GNU Hurd, this test is not required because there is
4682 # no limit to the length of command line arguments.
4683 # Libtool will interpret -1 as no limit whatsoever
4684 lt_cv_sys_max_cmd_len=-1;
4687 cygwin* | mingw*)
4688 # On Win9x/ME, this test blows up -- it succeeds, but takes
4689 # about 5 minutes as the teststring grows exponentially.
4690 # Worse, since 9x/ME are not pre-emptively multitasking,
4691 # you end up with a "frozen" computer, even though with patience
4692 # the test eventually succeeds (with a max line length of 256k).
4693 # Instead, let's just punt: use the minimum linelength reported by
4694 # all of the supported platforms: 8192 (on NT/2K/XP).
4695 lt_cv_sys_max_cmd_len=8192;
4698 amigaos*)
4699 # On AmigaOS with pdksh, this test takes hours, literally.
4700 # So we just punt and use a minimum line length of 8192.
4701 lt_cv_sys_max_cmd_len=8192;
4704 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4705 # This has been around since 386BSD, at least. Likely further.
4706 if test -x /sbin/sysctl; then
4707 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4708 elif test -x /usr/sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4710 else
4711 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4713 # And add a safety zone
4714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4718 interix*)
4719 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4720 lt_cv_sys_max_cmd_len=196608
4723 osf*)
4724 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4725 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4726 # nice to cause kernel panics so lets avoid the loop below.
4727 # First set a reasonable default.
4728 lt_cv_sys_max_cmd_len=16384
4730 if test -x /sbin/sysconfig; then
4731 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4732 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4733 esac
4736 sco3.2v5*)
4737 lt_cv_sys_max_cmd_len=102400
4739 sysv5* | sco5v6* | sysv4.2uw2*)
4740 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4741 if test -n "$kargmax"; then
4742 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4743 else
4744 lt_cv_sys_max_cmd_len=32768
4748 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4749 if test -n $lt_cv_sys_max_cmd_len; then
4750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4752 else
4753 # Make teststring a little bigger before we do anything with it.
4754 # a 1K string should be a reasonable start.
4755 for i in 1 2 3 4 5 6 7 8 ; do
4756 teststring=$teststring$teststring
4757 done
4758 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4759 # If test is not a shell built-in, we'll probably end up computing a
4760 # maximum length that is only half of the actual maximum length, but
4761 # we can't tell.
4762 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4763 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4764 test $i != 17 # 1/2 MB should be enough
4766 i=`expr $i + 1`
4767 teststring=$teststring$teststring
4768 done
4769 # Only check the string length outside the loop.
4770 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4771 teststring=
4772 # Add a significant safety factor because C++ compilers can tack on
4773 # massive amounts of additional arguments before passing them to the
4774 # linker. It appears as though 1/2 is a usable value.
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4778 esac
4782 if test -n $lt_cv_sys_max_cmd_len ; then
4783 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4784 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4785 else
4786 echo "$as_me:$LINENO: result: none" >&5
4787 echo "${ECHO_T}none" >&6
4789 max_cmd_len=$lt_cv_sys_max_cmd_len
4797 : ${CP="cp -f"}
4798 : ${MV="mv -f"}
4799 : ${RM="rm -f"}
4801 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4802 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4803 # Try some XSI features
4804 xsi_shell=no
4805 ( _lt_dummy="a/b/c"
4806 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4807 = c,a/b,, ) >/dev/null 2>&1 \
4808 && xsi_shell=yes
4809 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4810 echo "${ECHO_T}$xsi_shell" >&6
4813 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4814 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4815 lt_shell_append=no
4816 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4817 >/dev/null 2>&1 \
4818 && lt_shell_append=yes
4819 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4820 echo "${ECHO_T}$lt_shell_append" >&6
4823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4824 lt_unset=unset
4825 else
4826 lt_unset=false
4833 # test EBCDIC or ASCII
4834 case `echo X|tr X '\101'` in
4835 A) # ASCII based system
4836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4837 lt_SP2NL='tr \040 \012'
4838 lt_NL2SP='tr \015\012 \040\040'
4840 *) # EBCDIC based system
4841 lt_SP2NL='tr \100 \n'
4842 lt_NL2SP='tr \r\n \100\100'
4844 esac
4854 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4855 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4856 if test "${lt_cv_ld_reload_flag+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 lt_cv_ld_reload_flag='-r'
4861 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4862 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4863 reload_flag=$lt_cv_ld_reload_flag
4864 case $reload_flag in
4865 "" | " "*) ;;
4866 *) reload_flag=" $reload_flag" ;;
4867 esac
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4869 case $host_os in
4870 darwin*)
4871 if test "$GCC" = yes; then
4872 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4873 else
4874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4877 esac
4888 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4889 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4890 if test "${lt_cv_deplibs_check_method+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 else
4893 lt_cv_file_magic_cmd='$MAGIC_CMD'
4894 lt_cv_file_magic_test_file=
4895 lt_cv_deplibs_check_method='unknown'
4896 # Need to set the preceding variable on all platforms that support
4897 # interlibrary dependencies.
4898 # 'none' -- dependencies not supported.
4899 # `unknown' -- same as none, but documents that we really don't know.
4900 # 'pass_all' -- all dependencies passed with no checks.
4901 # 'test_compile' -- check by making test program.
4902 # 'file_magic [[regex]]' -- check by looking for files in library path
4903 # which responds to the $file_magic_cmd with a given extended regex.
4904 # If you have `file' or equivalent on your system and you're not sure
4905 # whether `pass_all' will *always* work, you probably want this one.
4907 case $host_os in
4908 aix4* | aix5*)
4909 lt_cv_deplibs_check_method=pass_all
4912 beos*)
4913 lt_cv_deplibs_check_method=pass_all
4916 bsdi[45]*)
4917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4918 lt_cv_file_magic_cmd='/usr/bin/file -L'
4919 lt_cv_file_magic_test_file=/shlib/libc.so
4922 cygwin*)
4923 # func_win32_libid is a shell function defined in ltmain.sh
4924 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4925 lt_cv_file_magic_cmd='func_win32_libid'
4928 mingw* | pw32*)
4929 # Base MSYS/MinGW do not provide the 'file' command needed by
4930 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4931 # unless we find 'file', for example because we are cross-compiling.
4932 if ( file / ) >/dev/null 2>&1; then
4933 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4934 lt_cv_file_magic_cmd='func_win32_libid'
4935 else
4936 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4937 lt_cv_file_magic_cmd='$OBJDUMP -f'
4941 darwin* | rhapsody*)
4942 lt_cv_deplibs_check_method=pass_all
4945 freebsd* | dragonfly*)
4946 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4947 case $host_cpu in
4948 i*86 )
4949 # Not sure whether the presence of OpenBSD here was a mistake.
4950 # Let's accept both of them until this is cleared up.
4951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4952 lt_cv_file_magic_cmd=/usr/bin/file
4953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4955 esac
4956 else
4957 lt_cv_deplibs_check_method=pass_all
4961 gnu*)
4962 lt_cv_deplibs_check_method=pass_all
4965 hpux10.20* | hpux11*)
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 case $host_cpu in
4968 ia64*)
4969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4972 hppa*64*)
4973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4974 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4977 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4978 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4980 esac
4983 interix[3-9]*)
4984 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4988 irix5* | irix6* | nonstopux*)
4989 case $LD in
4990 *-32|*"-32 ") libmagic=32-bit;;
4991 *-n32|*"-n32 ") libmagic=N32;;
4992 *-64|*"-64 ") libmagic=64-bit;;
4993 *) libmagic=never-match;;
4994 esac
4995 lt_cv_deplibs_check_method=pass_all
4998 # This must be Linux ELF.
4999 linux* | k*bsd*-gnu)
5000 lt_cv_deplibs_check_method=pass_all
5003 netbsd*)
5004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5005 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 else
5007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5011 newos6*)
5012 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5013 lt_cv_file_magic_cmd=/usr/bin/file
5014 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5017 *nto* | *qnx*)
5018 lt_cv_deplibs_check_method=pass_all
5021 openbsd*)
5022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5024 else
5025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5029 osf3* | osf4* | osf5*)
5030 lt_cv_deplibs_check_method=pass_all
5033 rdos*)
5034 lt_cv_deplibs_check_method=pass_all
5037 solaris*)
5038 lt_cv_deplibs_check_method=pass_all
5041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5042 lt_cv_deplibs_check_method=pass_all
5045 sysv4 | sysv4.3*)
5046 case $host_vendor in
5047 motorola)
5048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5051 ncr)
5052 lt_cv_deplibs_check_method=pass_all
5054 sequent)
5055 lt_cv_file_magic_cmd='/bin/file'
5056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5058 sni)
5059 lt_cv_file_magic_cmd='/bin/file'
5060 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5061 lt_cv_file_magic_test_file=/lib/libc.so
5063 siemens)
5064 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method=pass_all
5069 esac
5072 tpf*)
5073 lt_cv_deplibs_check_method=pass_all
5075 esac
5078 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5079 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5080 file_magic_cmd=$lt_cv_file_magic_cmd
5081 deplibs_check_method=$lt_cv_deplibs_check_method
5082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}ar; ac_word=$2
5098 echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5100 if test "${ac_cv_prog_AR+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 if test -n "$AR"; then
5104 ac_cv_prog_AR="$AR" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_AR="${ac_tool_prefix}ar"
5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5117 done
5118 done
5122 AR=$ac_cv_prog_AR
5123 if test -n "$AR"; then
5124 echo "$as_me:$LINENO: result: $AR" >&5
5125 echo "${ECHO_T}$AR" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5132 if test -z "$ac_cv_prog_AR"; then
5133 ac_ct_AR=$AR
5134 # Extract the first word of "ar", so it can be a program name with args.
5135 set dummy ar; ac_word=$2
5136 echo "$as_me:$LINENO: checking for $ac_word" >&5
5137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5138 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 else
5141 if test -n "$ac_ct_AR"; then
5142 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_AR="ar"
5152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5158 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5162 if test -n "$ac_ct_AR"; then
5163 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5164 echo "${ECHO_T}$ac_ct_AR" >&6
5165 else
5166 echo "$as_me:$LINENO: result: no" >&5
5167 echo "${ECHO_T}no" >&6
5170 AR=$ac_ct_AR
5171 else
5172 AR="$ac_cv_prog_AR"
5175 test -z "$AR" && AR=ar
5176 test -z "$AR_FLAGS" && AR_FLAGS=cru
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}strip; ac_word=$2
5191 echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5193 if test "${ac_cv_prog_STRIP+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 if test -n "$STRIP"; then
5197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5215 STRIP=$ac_cv_prog_STRIP
5216 if test -n "$STRIP"; then
5217 echo "$as_me:$LINENO: result: $STRIP" >&5
5218 echo "${ECHO_T}$STRIP" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5225 if test -z "$ac_cv_prog_STRIP"; then
5226 ac_ct_STRIP=$STRIP
5227 # Extract the first word of "strip", so it can be a program name with args.
5228 set dummy strip; ac_word=$2
5229 echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 else
5234 if test -n "$ac_ct_STRIP"; then
5235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_STRIP="strip"
5245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5251 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5255 if test -n "$ac_ct_STRIP"; then
5256 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5257 echo "${ECHO_T}$ac_ct_STRIP" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5263 STRIP=$ac_ct_STRIP
5264 else
5265 STRIP="$ac_cv_prog_STRIP"
5268 test -z "$STRIP" && STRIP=:
5275 if test -n "$ac_tool_prefix"; then
5276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5278 echo "$as_me:$LINENO: checking for $ac_word" >&5
5279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5280 if test "${ac_cv_prog_RANLIB+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 else
5283 if test -n "$RANLIB"; then
5284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5302 RANLIB=$ac_cv_prog_RANLIB
5303 if test -n "$RANLIB"; then
5304 echo "$as_me:$LINENO: result: $RANLIB" >&5
5305 echo "${ECHO_T}$RANLIB" >&6
5306 else
5307 echo "$as_me:$LINENO: result: no" >&5
5308 echo "${ECHO_T}no" >&6
5312 if test -z "$ac_cv_prog_RANLIB"; then
5313 ac_ct_RANLIB=$RANLIB
5314 # Extract the first word of "ranlib", so it can be a program name with args.
5315 set dummy ranlib; ac_word=$2
5316 echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321 if test -n "$ac_ct_RANLIB"; then
5322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_RANLIB="ranlib"
5332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5335 done
5336 done
5338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5342 if test -n "$ac_ct_RANLIB"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5350 RANLIB=$ac_ct_RANLIB
5351 else
5352 RANLIB="$ac_cv_prog_RANLIB"
5355 test -z "$RANLIB" && RANLIB=:
5362 # Determine commands to create old-style static archives.
5363 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5364 old_postinstall_cmds='chmod 644 $oldlib'
5365 old_postuninstall_cmds=
5367 if test -n "$RANLIB"; then
5368 case $host_os in
5369 openbsd*)
5370 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5373 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5375 esac
5376 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5412 # If no C compiler was specified, use CC.
5413 LTCC=${LTCC-"$CC"}
5415 # If no C compiler flags were specified, use CFLAGS.
5416 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5418 # Allow CC to be a program name with arguments.
5419 compiler=$CC
5422 # Check for command to grab the raw symbol name followed by C symbol from nm.
5423 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5424 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5425 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 else
5429 # These are sane defaults that work on at least a few old systems.
5430 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5432 # Character class describing NM global symbol codes.
5433 symcode='[BCDEGRST]'
5435 # Regexp to match symbols that can be accessed directly from C.
5436 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5438 # Define system-specific variables.
5439 case $host_os in
5440 aix*)
5441 symcode='[BCDT]'
5443 cygwin* | mingw* | pw32*)
5444 symcode='[ABCDGISTW]'
5446 hpux*)
5447 if test "$host_cpu" = ia64; then
5448 symcode='[ABCDEGRST]'
5451 irix* | nonstopux*)
5452 symcode='[BCDEGRST]'
5454 osf*)
5455 symcode='[BCDEGQRST]'
5457 solaris*)
5458 symcode='[BDRT]'
5460 sco3.2v5*)
5461 symcode='[DT]'
5463 sysv4.2uw2*)
5464 symcode='[DT]'
5466 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5467 symcode='[ABDT]'
5469 sysv4)
5470 symcode='[DFNSTU]'
5472 esac
5474 # If we're using GNU nm, then use its standard symbol codes.
5475 case `$NM -V 2>&1` in
5476 *GNU* | *'with BFD'*)
5477 symcode='[ABCDGIRSTW]' ;;
5478 esac
5480 # Transform an extracted symbol line into a proper C declaration.
5481 # Some systems (esp. on ia64) link data and code symbols differently,
5482 # so use this general approach.
5483 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5485 # Transform an extracted symbol line into symbol name and symbol address
5486 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5488 # Handle CRLF in mingw tool chain
5489 opt_cr=
5490 case $build_os in
5491 mingw*)
5492 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5494 esac
5496 # Try without a prefix underscore, then with it.
5497 for ac_symprfx in "" "_"; do
5499 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5500 symxfrm="\\1 $ac_symprfx\\2 \\2"
5502 # Write the raw and C identifiers.
5503 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5504 # Fake it for dumpbin and say T for any non-static function
5505 # and D for any global variable.
5506 # Also find C++ and __fastcall symbols from MSVC++,
5507 # which start with @ or ?.
5508 lt_cv_sys_global_symbol_pipe="$AWK '"\
5509 " {last_section=section; section=\$ 3};"\
5510 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5511 " \$ 0!~/External *\|/{next};"\
5512 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5513 " {if(hide[section]) next};"\
5514 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5515 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5516 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5517 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5518 " ' prfx=^$ac_symprfx"
5519 else
5520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5523 # Check to see that the pipe works correctly.
5524 pipe_works=no
5526 rm -f conftest*
5527 cat > conftest.$ac_ext <<_LT_EOF
5528 #ifdef __cplusplus
5529 extern "C" {
5530 #endif
5531 char nm_test_var;
5532 void nm_test_func(void);
5533 void nm_test_func(void){}
5534 #ifdef __cplusplus
5536 #endif
5537 int main(){nm_test_var='a';nm_test_func();return(0);}
5538 _LT_EOF
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; then
5545 # Now try to grab the symbols.
5546 nlist=conftest.nm
5547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5549 ac_status=$?
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && test -s "$nlist"; then
5552 # Try sorting and uniquifying the output.
5553 if sort "$nlist" | uniq > "$nlist"T; then
5554 mv -f "$nlist"T "$nlist"
5555 else
5556 rm -f "$nlist"T
5559 # Make sure that we snagged all the symbols we need.
5560 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5561 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5562 cat <<_LT_EOF > conftest.$ac_ext
5563 #ifdef __cplusplus
5564 extern "C" {
5565 #endif
5567 _LT_EOF
5568 # Now generate the symbol file.
5569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5571 cat <<_LT_EOF >> conftest.$ac_ext
5573 /* The mapping between symbol names and symbols. */
5574 const struct {
5575 const char *name;
5576 void *address;
5578 lt__PROGRAM__LTX_preloaded_symbols[] =
5580 { "@PROGRAM@", (void *) 0 },
5581 _LT_EOF
5582 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5583 cat <<\_LT_EOF >> conftest.$ac_ext
5584 {0, (void *) 0}
5587 /* This works around a problem in FreeBSD linker */
5588 #ifdef FREEBSD_WORKAROUND
5589 static const void *lt_preloaded_setup() {
5590 return lt__PROGRAM__LTX_preloaded_symbols;
5592 #endif
5594 #ifdef __cplusplus
5596 #endif
5597 _LT_EOF
5598 # Now try linking the two files.
5599 mv conftest.$ac_objext conftstm.$ac_objext
5600 lt_save_LIBS="$LIBS"
5601 lt_save_CFLAGS="$CFLAGS"
5602 LIBS="conftstm.$ac_objext"
5603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605 (eval $ac_link) 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5609 pipe_works=yes
5611 LIBS="$lt_save_LIBS"
5612 CFLAGS="$lt_save_CFLAGS"
5613 else
5614 echo "cannot find nm_test_func in $nlist" >&5
5616 else
5617 echo "cannot find nm_test_var in $nlist" >&5
5619 else
5620 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5622 else
5623 echo "$progname: failed program was:" >&5
5624 cat conftest.$ac_ext >&5
5626 rm -f conftest* conftst*
5628 # Do not use the global_symbol_pipe unless it works.
5629 if test "$pipe_works" = yes; then
5630 break
5631 else
5632 lt_cv_sys_global_symbol_pipe=
5634 done
5638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5639 lt_cv_sys_global_symbol_to_cdecl=
5641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5642 echo "$as_me:$LINENO: result: failed" >&5
5643 echo "${ECHO_T}failed" >&6
5644 else
5645 echo "$as_me:$LINENO: result: ok" >&5
5646 echo "${ECHO_T}ok" >&6
5665 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5666 if test "${enable_libtool_lock+set}" = set; then
5667 enableval="$enable_libtool_lock"
5670 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5672 # Some flags need to be propagated to the compiler or linker for good
5673 # libtool support.
5674 case $host in
5675 ia64-*-hpux*)
5676 # Find out which ABI we are using.
5677 echo 'int i;' > conftest.$ac_ext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5684 *ELF-32*)
5685 HPUX_IA64_MODE="32"
5687 *ELF-64*)
5688 HPUX_IA64_MODE="64"
5690 esac
5692 rm -rf conftest*
5694 *-*-irix6*)
5695 # Find out which ABI we are using.
5696 echo '#line 5696 "configure"' > conftest.$ac_ext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>&5
5699 ac_status=$?
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; then
5702 if test "$lt_cv_prog_gnu_ld" = yes; then
5703 case `/usr/bin/file conftest.$ac_objext` in
5704 *32-bit*)
5705 LD="${LD-ld} -melf32bsmip"
5707 *N32*)
5708 LD="${LD-ld} -melf32bmipn32"
5710 *64-bit*)
5711 LD="${LD-ld} -melf64bmip"
5713 esac
5714 else
5715 case `/usr/bin/file conftest.$ac_objext` in
5716 *32-bit*)
5717 LD="${LD-ld} -32"
5719 *N32*)
5720 LD="${LD-ld} -n32"
5722 *64-bit*)
5723 LD="${LD-ld} -64"
5725 esac
5728 rm -rf conftest*
5731 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5732 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5733 # Find out which ABI we are using.
5734 echo 'int i;' > conftest.$ac_ext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5
5737 ac_status=$?
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; then
5740 case `/usr/bin/file conftest.o` in
5741 *32-bit*)
5742 case $host in
5743 x86_64-*kfreebsd*-gnu)
5744 LD="${LD-ld} -m elf_i386_fbsd"
5746 x86_64-*linux*)
5747 LD="${LD-ld} -m elf_i386"
5749 ppc64-*linux*|powerpc64-*linux*)
5750 LD="${LD-ld} -m elf32ppclinux"
5752 s390x-*linux*)
5753 LD="${LD-ld} -m elf_s390"
5755 sparc64-*linux*)
5756 LD="${LD-ld} -m elf32_sparc"
5758 esac
5760 *64-bit*)
5761 case $host in
5762 x86_64-*kfreebsd*-gnu)
5763 LD="${LD-ld} -m elf_x86_64_fbsd"
5765 x86_64-*linux*)
5766 LD="${LD-ld} -m elf_x86_64"
5768 ppc*-*linux*|powerpc*-*linux*)
5769 LD="${LD-ld} -m elf64ppc"
5771 s390*-*linux*|s390*-*tpf*)
5772 LD="${LD-ld} -m elf64_s390"
5774 sparc*-*linux*)
5775 LD="${LD-ld} -m elf64_sparc"
5777 esac
5779 esac
5781 rm -rf conftest*
5784 *-*-sco3.2v5*)
5785 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5786 SAVE_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -belf"
5788 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5789 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5790 if test "${lt_cv_cc_needs_belf+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 else
5793 ac_ext=c
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 if test x$gcc_no_link = xyes; then
5800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5802 { (exit 1); exit 1; }; }
5804 cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h. */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5812 main ()
5816 return 0;
5818 _ACEOF
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821 (eval $ac_link) 2>conftest.er1
5822 ac_status=$?
5823 grep -v '^ *+' conftest.er1 >conftest.err
5824 rm -f conftest.er1
5825 cat conftest.err >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } &&
5828 { ac_try='test -z "$ac_c_werror_flag"
5829 || test ! -s conftest.err'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 (eval $ac_try) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; } &&
5835 { ac_try='test -s conftest$ac_exeext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 (eval $ac_try) 2>&5
5838 ac_status=$?
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 lt_cv_cc_needs_belf=yes
5842 else
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5846 lt_cv_cc_needs_belf=no
5848 rm -f conftest.err conftest.$ac_objext \
5849 conftest$ac_exeext conftest.$ac_ext
5850 ac_ext=c
5851 ac_cpp='$CPP $CPPFLAGS'
5852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5857 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 CFLAGS="$SAVE_CFLAGS"
5864 sparc*-*solaris*)
5865 # Find out which ABI we are using.
5866 echo 'int i;' > conftest.$ac_ext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then
5872 case `/usr/bin/file conftest.o` in
5873 *64-bit*)
5874 case $lt_cv_prog_gnu_ld in
5875 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5876 *) LD="${LD-ld} -64" ;;
5877 esac
5879 esac
5881 rm -rf conftest*
5883 esac
5885 need_locks="$enable_libtool_lock"
5887 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5888 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5889 if test "${ac_cv_header_stdc+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 else
5892 cat >conftest.$ac_ext <<_ACEOF
5893 /* confdefs.h. */
5894 _ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 #include <stdlib.h>
5899 #include <stdarg.h>
5900 #include <string.h>
5901 #include <float.h>
5904 main ()
5908 return 0;
5910 _ACEOF
5911 rm -f conftest.$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 (eval $ac_try) 2>&5
5924 ac_status=$?
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_header_stdc=yes
5934 else
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 ac_cv_header_stdc=no
5940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5942 if test $ac_cv_header_stdc = yes; then
5943 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <string.h>
5952 _ACEOF
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 $EGREP "memchr" >/dev/null 2>&1; then
5956 else
5957 ac_cv_header_stdc=no
5959 rm -f conftest*
5963 if test $ac_cv_header_stdc = yes; then
5964 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5965 cat >conftest.$ac_ext <<_ACEOF
5966 /* confdefs.h. */
5967 _ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <stdlib.h>
5973 _ACEOF
5974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5975 $EGREP "free" >/dev/null 2>&1; then
5977 else
5978 ac_cv_header_stdc=no
5980 rm -f conftest*
5984 if test $ac_cv_header_stdc = yes; then
5985 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5986 if test "$cross_compiling" = yes; then
5988 else
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <ctype.h>
5996 #if ((' ' & 0x0FF) == 0x020)
5997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5999 #else
6000 # define ISLOWER(c) \
6001 (('a' <= (c) && (c) <= 'i') \
6002 || ('j' <= (c) && (c) <= 'r') \
6003 || ('s' <= (c) && (c) <= 'z'))
6004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6005 #endif
6007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6009 main ()
6011 int i;
6012 for (i = 0; i < 256; i++)
6013 if (XOR (islower (i), ISLOWER (i))
6014 || toupper (i) != TOUPPER (i))
6015 exit(2);
6016 exit (0);
6018 _ACEOF
6019 rm -f conftest$ac_exeext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6021 (eval $ac_link) 2>&5
6022 ac_status=$?
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 (eval $ac_try) 2>&5
6027 ac_status=$?
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6031 else
6032 echo "$as_me: program exited with status $ac_status" >&5
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ( exit $ac_status )
6037 ac_cv_header_stdc=no
6039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6044 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6045 if test $ac_cv_header_stdc = yes; then
6047 cat >>confdefs.h <<\_ACEOF
6048 #define STDC_HEADERS 1
6049 _ACEOF
6053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6064 inttypes.h stdint.h unistd.h
6066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 cat >conftest.$ac_ext <<_ACEOF
6073 /* confdefs.h. */
6074 _ACEOF
6075 cat confdefs.h >>conftest.$ac_ext
6076 cat >>conftest.$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6078 $ac_includes_default
6080 #include <$ac_header>
6081 _ACEOF
6082 rm -f conftest.$ac_objext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>conftest.er1
6085 ac_status=$?
6086 grep -v '^ *+' conftest.er1 >conftest.err
6087 rm -f conftest.er1
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try='test -z "$ac_c_werror_flag"
6092 || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 (eval $ac_try) 2>&5
6095 ac_status=$?
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 (eval $ac_try) 2>&5
6101 ac_status=$?
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 eval "$as_ac_Header=yes"
6105 else
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6109 eval "$as_ac_Header=no"
6111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6116 cat >>confdefs.h <<_ACEOF
6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6118 _ACEOF
6122 done
6126 for ac_header in dlfcn.h
6128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 echo "$as_me:$LINENO: checking for $ac_header" >&5
6130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 else
6134 cat >conftest.$ac_ext <<_ACEOF
6135 /* confdefs.h. */
6136 _ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 $ac_includes_default
6142 #include <$ac_header>
6143 _ACEOF
6144 rm -f conftest.$ac_objext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6146 (eval $ac_compile) 2>conftest.er1
6147 ac_status=$?
6148 grep -v '^ *+' conftest.er1 >conftest.err
6149 rm -f conftest.er1
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 (eval $ac_try) 2>&5
6157 ac_status=$?
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 (eval $ac_try) 2>&5
6163 ac_status=$?
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 eval "$as_ac_Header=yes"
6167 else
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6171 eval "$as_ac_Header=no"
6173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6178 cat >>confdefs.h <<_ACEOF
6179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6180 _ACEOF
6184 done
6188 ac_ext=cc
6189 ac_cpp='$CXXCPP $CPPFLAGS'
6190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6193 if test -n "$ac_tool_prefix"; then
6194 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 if test -n "$CXX"; then
6204 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6209 IFS=$as_save_IFS
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 break 2
6217 done
6218 done
6222 CXX=$glibcxx_cv_prog_CXX
6223 if test -n "$CXX"; then
6224 echo "$as_me:$LINENO: result: $CXX" >&5
6225 echo "${ECHO_T}$CXX" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6231 test -n "$CXX" && break
6232 done
6234 if test -z "$CXX"; then
6235 ac_ct_CXX=$CXX
6236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$ac_ct_CXX"; then
6246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_ac_ct_CXX="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6264 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6265 if test -n "$ac_ct_CXX"; then
6266 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6267 echo "${ECHO_T}$ac_ct_CXX" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6273 test -n "$ac_ct_CXX" && break
6274 done
6275 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6277 CXX=$ac_ct_CXX
6281 # Provide some information about the compiler.
6282 echo "$as_me:$LINENO:" \
6283 "checking for C++ compiler version" >&5
6284 ac_compiler=`set X $ac_compile; echo $2`
6285 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6286 (eval $ac_compiler --version </dev/null >&5) 2>&5
6287 ac_status=$?
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }
6290 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6291 (eval $ac_compiler -v </dev/null >&5) 2>&5
6292 ac_status=$?
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }
6295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6296 (eval $ac_compiler -V </dev/null >&5) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }
6301 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6302 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6303 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 cat >conftest.$ac_ext <<_ACEOF
6307 /* confdefs.h. */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6314 main ()
6316 #ifndef __GNUC__
6317 choke me
6318 #endif
6321 return 0;
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_cxx_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_compiler_gnu=yes
6347 else
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 ac_compiler_gnu=no
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6357 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6358 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6359 GXX=`test $ac_compiler_gnu = yes && echo yes`
6360 ac_test_CXXFLAGS=${CXXFLAGS+set}
6361 ac_save_CXXFLAGS=$CXXFLAGS
6362 CXXFLAGS="-g"
6363 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6364 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6365 if test "${ac_cv_prog_cxx_g+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 else
6368 cat >conftest.$ac_ext <<_ACEOF
6369 /* confdefs.h. */
6370 _ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6376 main ()
6380 return 0;
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_cxx_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_prog_cxx_g=yes
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6410 ac_cv_prog_cxx_g=no
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6414 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6415 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6416 if test "$ac_test_CXXFLAGS" = set; then
6417 CXXFLAGS=$ac_save_CXXFLAGS
6418 elif test $ac_cv_prog_cxx_g = yes; then
6419 if test "$GXX" = yes; then
6420 CXXFLAGS="-g -O2"
6421 else
6422 CXXFLAGS="-g"
6424 else
6425 if test "$GXX" = yes; then
6426 CXXFLAGS="-O2"
6427 else
6428 CXXFLAGS=
6431 for ac_declaration in \
6432 '' \
6433 'extern "C" void std::exit (int) throw (); using std::exit;' \
6434 'extern "C" void std::exit (int); using std::exit;' \
6435 'extern "C" void exit (int) throw ();' \
6436 'extern "C" void exit (int);' \
6437 'void exit (int);'
6439 cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h. */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_declaration
6446 #include <stdlib.h>
6448 main ()
6450 exit (42);
6452 return 0;
6454 _ACEOF
6455 rm -f conftest.$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>conftest.er1
6458 ac_status=$?
6459 grep -v '^ *+' conftest.er1 >conftest.err
6460 rm -f conftest.er1
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try='test -z "$ac_cxx_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 (eval $ac_try) 2>&5
6468 ac_status=$?
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try='test -s conftest.$ac_objext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5
6474 ac_status=$?
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 continue
6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6485 cat >conftest.$ac_ext <<_ACEOF
6486 /* confdefs.h. */
6487 _ACEOF
6488 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6491 $ac_declaration
6493 main ()
6495 exit (42);
6497 return 0;
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 (eval $ac_compile) 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_cxx_werror_flag"
6510 || test ! -s conftest.err'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 (eval $ac_try) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; } &&
6516 { ac_try='test -s conftest.$ac_objext'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 (eval $ac_try) 2>&5
6519 ac_status=$?
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; }; then
6522 break
6523 else
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 done
6530 rm -f conftest*
6531 if test -n "$ac_declaration"; then
6532 echo '#ifdef __cplusplus' >>confdefs.h
6533 echo $ac_declaration >>confdefs.h
6534 echo '#endif' >>confdefs.h
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6543 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6544 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6545 (test "X$CXX" != "Xg++"))) ; then
6546 ac_ext=cc
6547 ac_cpp='$CXXCPP $CPPFLAGS'
6548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6553 if test -z "$CXXCPP"; then
6554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 # Double quotes because CXXCPP needs to be expanded
6558 for CXXCPP in "$CXX -E" "/lib/cpp"
6560 ac_preproc_ok=false
6561 for ac_cxx_preproc_warn_flag in '' yes
6563 # Use a header file that comes with gcc, so configuring glibc
6564 # with a fresh cross-compiler works.
6565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 # <limits.h> exists even on freestanding compilers.
6567 # On the NeXT, cc -E runs the code through the compiler's parser,
6568 # not just through cpp. "Syntax error" is here to catch this case.
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #ifdef __STDC__
6576 # include <limits.h>
6577 #else
6578 # include <assert.h>
6579 #endif
6580 Syntax error
6581 _ACEOF
6582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6584 ac_status=$?
6585 grep -v '^ *+' conftest.er1 >conftest.err
6586 rm -f conftest.er1
6587 cat conftest.err >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } >/dev/null; then
6590 if test -s conftest.err; then
6591 ac_cpp_err=$ac_cxx_preproc_warn_flag
6592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6593 else
6594 ac_cpp_err=
6596 else
6597 ac_cpp_err=yes
6599 if test -z "$ac_cpp_err"; then
6601 else
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6605 # Broken: fails on valid input.
6606 continue
6608 rm -f conftest.err conftest.$ac_ext
6610 # OK, works on sane cases. Now check whether non-existent headers
6611 # can be detected and how.
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6619 _ACEOF
6620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6622 ac_status=$?
6623 grep -v '^ *+' conftest.er1 >conftest.err
6624 rm -f conftest.er1
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } >/dev/null; then
6628 if test -s conftest.err; then
6629 ac_cpp_err=$ac_cxx_preproc_warn_flag
6630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6631 else
6632 ac_cpp_err=
6634 else
6635 ac_cpp_err=yes
6637 if test -z "$ac_cpp_err"; then
6638 # Broken: success on invalid input.
6639 continue
6640 else
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6644 # Passes both tests.
6645 ac_preproc_ok=:
6646 break
6648 rm -f conftest.err conftest.$ac_ext
6650 done
6651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6652 rm -f conftest.err conftest.$ac_ext
6653 if $ac_preproc_ok; then
6654 break
6657 done
6658 ac_cv_prog_CXXCPP=$CXXCPP
6661 CXXCPP=$ac_cv_prog_CXXCPP
6662 else
6663 ac_cv_prog_CXXCPP=$CXXCPP
6665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6666 echo "${ECHO_T}$CXXCPP" >&6
6667 ac_preproc_ok=false
6668 for ac_cxx_preproc_warn_flag in '' yes
6670 # Use a header file that comes with gcc, so configuring glibc
6671 # with a fresh cross-compiler works.
6672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673 # <limits.h> exists even on freestanding compilers.
6674 # On the NeXT, cc -E runs the code through the compiler's parser,
6675 # not just through cpp. "Syntax error" is here to catch this case.
6676 cat >conftest.$ac_ext <<_ACEOF
6677 /* confdefs.h. */
6678 _ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #ifdef __STDC__
6683 # include <limits.h>
6684 #else
6685 # include <assert.h>
6686 #endif
6687 Syntax error
6688 _ACEOF
6689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } >/dev/null; then
6697 if test -s conftest.err; then
6698 ac_cpp_err=$ac_cxx_preproc_warn_flag
6699 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6700 else
6701 ac_cpp_err=
6703 else
6704 ac_cpp_err=yes
6706 if test -z "$ac_cpp_err"; then
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6712 # Broken: fails on valid input.
6713 continue
6715 rm -f conftest.err conftest.$ac_ext
6717 # OK, works on sane cases. Now check whether non-existent headers
6718 # can be detected and how.
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <ac_nonexistent.h>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6741 else
6742 ac_cpp_err=yes
6744 if test -z "$ac_cpp_err"; then
6745 # Broken: success on invalid input.
6746 continue
6747 else
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6755 rm -f conftest.err conftest.$ac_ext
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then
6762 else
6763 _lt_caught_CXX_error=yes
6766 ac_ext=c
6767 ac_cpp='$CPP $CPPFLAGS'
6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772 else
6773 _lt_caught_CXX_error=yes
6780 # This can be used to rebuild libtool when needed
6781 LIBTOOL_DEPS="$ltmain"
6783 # Always use our own libtool.
6784 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6810 test -z "$LN_S" && LN_S="ln -s"
6825 if test -n "${ZSH_VERSION+set}" ; then
6826 setopt NO_GLOB_SUBST
6829 echo "$as_me:$LINENO: checking for objdir" >&5
6830 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6831 if test "${lt_cv_objdir+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 else
6834 rm -f .libs 2>/dev/null
6835 mkdir .libs 2>/dev/null
6836 if test -d .libs; then
6837 lt_cv_objdir=.libs
6838 else
6839 # MS-DOS does not allow filenames that begin with a dot.
6840 lt_cv_objdir=_libs
6842 rmdir .libs 2>/dev/null
6844 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6845 echo "${ECHO_T}$lt_cv_objdir" >&6
6846 objdir=$lt_cv_objdir
6852 cat >>confdefs.h <<_ACEOF
6853 #define LT_OBJDIR "$lt_cv_objdir/"
6854 _ACEOF
6872 case $host_os in
6873 aix3*)
6874 # AIX sometimes has problems with the GCC collect2 program. For some
6875 # reason, if we set the COLLECT_NAMES environment variable, the problems
6876 # vanish in a puff of smoke.
6877 if test "X${COLLECT_NAMES+set}" != Xset; then
6878 COLLECT_NAMES=
6879 export COLLECT_NAMES
6882 esac
6884 # Sed substitution that helps us do robust quoting. It backslashifies
6885 # metacharacters that are still active within double-quoted strings.
6886 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6888 # Same as above, but do not quote variable references.
6889 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6891 # Sed substitution to delay expansion of an escaped shell variable in a
6892 # double_quote_subst'ed string.
6893 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6895 # Sed substitution to delay expansion of an escaped single quote.
6896 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6898 # Sed substitution to avoid accidental globbing in evaled expressions
6899 no_glob_subst='s/\*/\\\*/g'
6901 # Global variables:
6902 ofile=libtool
6903 can_build_shared=yes
6905 # All known linkers require a `.a' archive for static linking (except MSVC,
6906 # which needs '.lib').
6907 libext=a
6909 with_gnu_ld="$lt_cv_prog_gnu_ld"
6911 old_CC="$CC"
6912 old_CFLAGS="$CFLAGS"
6914 # Set sane defaults for various variables
6915 test -z "$CC" && CC=cc
6916 test -z "$LTCC" && LTCC=$CC
6917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6918 test -z "$LD" && LD=ld
6919 test -z "$ac_objext" && ac_objext=o
6921 for cc_temp in $compiler""; do
6922 case $cc_temp in
6923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6925 \-*) ;;
6926 *) break;;
6927 esac
6928 done
6929 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6932 # Only perform the check for file, if the check method requires it
6933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6934 case $deplibs_check_method in
6935 file_magic*)
6936 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6937 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6938 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6939 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942 case $MAGIC_CMD in
6943 [\\/*] | ?:[\\/]*)
6944 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6947 lt_save_MAGIC_CMD="$MAGIC_CMD"
6948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6949 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6950 for ac_dir in $ac_dummy; do
6951 IFS="$lt_save_ifs"
6952 test -z "$ac_dir" && ac_dir=.
6953 if test -f $ac_dir/${ac_tool_prefix}file; then
6954 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6955 if test -n "$file_magic_test_file"; then
6956 case $deplibs_check_method in
6957 "file_magic "*)
6958 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6960 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6961 $EGREP "$file_magic_regex" > /dev/null; then
6963 else
6964 cat <<_LT_EOF 1>&2
6966 *** Warning: the command libtool uses to detect shared libraries,
6967 *** $file_magic_cmd, produces output that libtool cannot recognize.
6968 *** The result is that libtool may fail to recognize shared libraries
6969 *** as such. This will affect the creation of libtool libraries that
6970 *** depend on shared libraries, but programs linked with such libtool
6971 *** libraries will work regardless of this problem. Nevertheless, you
6972 *** may want to report the problem to your system manager and/or to
6973 *** bug-libtool@gnu.org
6975 _LT_EOF
6976 fi ;;
6977 esac
6979 break
6981 done
6982 IFS="$lt_save_ifs"
6983 MAGIC_CMD="$lt_save_MAGIC_CMD"
6985 esac
6988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6989 if test -n "$MAGIC_CMD"; then
6990 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6991 echo "${ECHO_T}$MAGIC_CMD" >&6
6992 else
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
7001 if test -z "$lt_cv_path_MAGIC_CMD"; then
7002 if test -n "$ac_tool_prefix"; then
7003 echo "$as_me:$LINENO: checking for file" >&5
7004 echo $ECHO_N "checking for file... $ECHO_C" >&6
7005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 else
7008 case $MAGIC_CMD in
7009 [\\/*] | ?:[\\/]*)
7010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7013 lt_save_MAGIC_CMD="$MAGIC_CMD"
7014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7016 for ac_dir in $ac_dummy; do
7017 IFS="$lt_save_ifs"
7018 test -z "$ac_dir" && ac_dir=.
7019 if test -f $ac_dir/file; then
7020 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7021 if test -n "$file_magic_test_file"; then
7022 case $deplibs_check_method in
7023 "file_magic "*)
7024 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7027 $EGREP "$file_magic_regex" > /dev/null; then
7029 else
7030 cat <<_LT_EOF 1>&2
7032 *** Warning: the command libtool uses to detect shared libraries,
7033 *** $file_magic_cmd, produces output that libtool cannot recognize.
7034 *** The result is that libtool may fail to recognize shared libraries
7035 *** as such. This will affect the creation of libtool libraries that
7036 *** depend on shared libraries, but programs linked with such libtool
7037 *** libraries will work regardless of this problem. Nevertheless, you
7038 *** may want to report the problem to your system manager and/or to
7039 *** bug-libtool@gnu.org
7041 _LT_EOF
7042 fi ;;
7043 esac
7045 break
7047 done
7048 IFS="$lt_save_ifs"
7049 MAGIC_CMD="$lt_save_MAGIC_CMD"
7051 esac
7054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7055 if test -n "$MAGIC_CMD"; then
7056 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7057 echo "${ECHO_T}$MAGIC_CMD" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7064 else
7065 MAGIC_CMD=:
7071 esac
7073 # Use C for the default configuration in the libtool script
7075 lt_save_CC="$CC"
7076 ac_ext=c
7077 ac_cpp='$CPP $CPPFLAGS'
7078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083 # Source file extension for C test sources.
7084 ac_ext=c
7086 # Object file extension for compiled C test sources.
7087 objext=o
7088 objext=$objext
7090 # Code to be used in simple compile tests
7091 lt_simple_compile_test_code="int some_variable = 0;"
7093 # Code to be used in simple link tests
7094 lt_simple_link_test_code='int main(){return(0);}'
7102 # If no C compiler was specified, use CC.
7103 LTCC=${LTCC-"$CC"}
7105 # If no C compiler flags were specified, use CFLAGS.
7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7108 # Allow CC to be a program name with arguments.
7109 compiler=$CC
7111 # Save the default compiler, since it gets overwritten when the other
7112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7113 compiler_DEFAULT=$CC
7115 # save warnings/boilerplate of simple test code
7116 ac_outfile=conftest.$ac_objext
7117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_compiler_boilerplate=`cat conftest.err`
7120 $RM conftest*
7122 ac_outfile=conftest.$ac_objext
7123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_linker_boilerplate=`cat conftest.err`
7126 $RM conftest*
7129 ## CAVEAT EMPTOR:
7130 ## There is no encapsulation within the following macros, do not change
7131 ## the running order or otherwise move them around unless you know exactly
7132 ## what you are doing...
7133 if test -n "$compiler"; then
7135 lt_prog_compiler_no_builtin_flag=
7137 if test "$GCC" = yes; then
7138 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7140 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7144 else
7145 lt_cv_prog_compiler_rtti_exceptions=no
7146 ac_outfile=conftest.$ac_objext
7147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7148 lt_compiler_flag="-fno-rtti -fno-exceptions"
7149 # Insert the option either (1) after the last *FLAGS variable, or
7150 # (2) before a word containing "conftest.", or (3) at the end.
7151 # Note that $ac_compile itself does not contain backslashes and begins
7152 # with a dollar sign (not a hyphen), so the echo should work correctly.
7153 # The option is referenced via a variable to avoid confusing sed.
7154 lt_compile=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>conftest.err)
7160 ac_status=$?
7161 cat conftest.err >&5
7162 echo "$as_me:7162: \$? = $ac_status" >&5
7163 if (exit $ac_status) && test -s "$ac_outfile"; then
7164 # The compiler can only warn and ignore the option if not recognized
7165 # So say no if there are warnings other than the usual output.
7166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7167 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7168 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7169 lt_cv_prog_compiler_rtti_exceptions=yes
7172 $RM conftest*
7175 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7179 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7180 else
7191 lt_prog_compiler_wl=
7192 lt_prog_compiler_pic=
7193 lt_prog_compiler_static=
7195 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7196 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7198 if test "$GCC" = yes; then
7199 lt_prog_compiler_wl='-Wl,'
7200 lt_prog_compiler_static='-static'
7202 case $host_os in
7203 aix*)
7204 # All AIX code is PIC.
7205 if test "$host_cpu" = ia64; then
7206 # AIX 5 now supports IA64 processor
7207 lt_prog_compiler_static='-Bstatic'
7211 amigaos*)
7212 if test "$host_cpu" = m68k; then
7213 # FIXME: we need at least 68020 code to build shared libraries, but
7214 # adding the `-m68020' flag to GCC prevents building anything better,
7215 # like `-m68040'.
7216 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7221 # PIC is the default for these OSes.
7224 mingw* | cygwin* | pw32* | os2*)
7225 # This hack is so that the source file can tell whether it is being
7226 # built for inclusion in a dll (and should export symbols for example).
7227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7228 # (--disable-auto-import) libraries
7229 lt_prog_compiler_pic='-DDLL_EXPORT'
7232 darwin* | rhapsody*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic='-fno-common'
7238 hpux*)
7239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240 # not for PA HP-UX.
7241 case $host_cpu in
7242 hppa*64*|ia64*)
7243 # +Z the default
7246 lt_prog_compiler_pic='-fPIC'
7248 esac
7251 interix[3-9]*)
7252 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7253 # Instead, we relocate shared libraries at runtime.
7256 msdosdjgpp*)
7257 # Just because we use GCC doesn't mean we suddenly get shared libraries
7258 # on systems that don't support them.
7259 lt_prog_compiler_can_build_shared=no
7260 enable_shared=no
7263 *nto* | *qnx*)
7264 # QNX uses GNU C++, but need to define -shared option too, otherwise
7265 # it will coredump.
7266 lt_prog_compiler_pic='-fPIC -shared'
7269 sysv4*MP*)
7270 if test -d /usr/nec; then
7271 lt_prog_compiler_pic=-Kconform_pic
7276 lt_prog_compiler_pic='-fPIC'
7278 esac
7279 else
7280 # PORTME Check for flag to pass linker flags through the system compiler.
7281 case $host_os in
7282 aix*)
7283 lt_prog_compiler_wl='-Wl,'
7284 if test "$host_cpu" = ia64; then
7285 # AIX 5 now supports IA64 processor
7286 lt_prog_compiler_static='-Bstatic'
7287 else
7288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7291 darwin*)
7292 # PIC is the default on this platform
7293 # Common symbols not allowed in MH_DYLIB files
7294 case $cc_basename in
7295 xlc*)
7296 lt_prog_compiler_pic='-qnocommon'
7297 lt_prog_compiler_wl='-Wl,'
7299 esac
7302 mingw* | cygwin* | pw32* | os2*)
7303 # This hack is so that the source file can tell whether it is being
7304 # built for inclusion in a dll (and should export symbols for example).
7305 lt_prog_compiler_pic='-DDLL_EXPORT'
7308 hpux9* | hpux10* | hpux11*)
7309 lt_prog_compiler_wl='-Wl,'
7310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7311 # not for PA HP-UX.
7312 case $host_cpu in
7313 hppa*64*|ia64*)
7314 # +Z the default
7317 lt_prog_compiler_pic='+Z'
7319 esac
7320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7321 lt_prog_compiler_static='${wl}-a ${wl}archive'
7324 irix5* | irix6* | nonstopux*)
7325 lt_prog_compiler_wl='-Wl,'
7326 # PIC (with -KPIC) is the default.
7327 lt_prog_compiler_static='-non_shared'
7330 linux* | k*bsd*-gnu)
7331 case $cc_basename in
7332 icc* | ecc*)
7333 lt_prog_compiler_wl='-Wl,'
7334 lt_prog_compiler_pic='-KPIC'
7335 lt_prog_compiler_static='-static'
7337 pgcc* | pgf77* | pgf90* | pgf95*)
7338 # Portland Group compilers (*not* the Pentium gcc compiler,
7339 # which looks to be a dead project)
7340 lt_prog_compiler_wl='-Wl,'
7341 lt_prog_compiler_pic='-fpic'
7342 lt_prog_compiler_static='-Bstatic'
7344 ccc*)
7345 lt_prog_compiler_wl='-Wl,'
7346 # All Alpha code is PIC.
7347 lt_prog_compiler_static='-non_shared'
7350 case `$CC -V 2>&1 | sed 5q` in
7351 *Sun\ C*)
7352 # Sun C 5.9
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 lt_prog_compiler_wl='-Wl,'
7357 *Sun\ F*)
7358 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-Bstatic'
7361 lt_prog_compiler_wl=''
7363 esac
7365 esac
7368 newsos6)
7369 lt_prog_compiler_pic='-KPIC'
7370 lt_prog_compiler_static='-Bstatic'
7373 *nto* | *qnx*)
7374 # QNX uses GNU C++, but need to define -shared option too, otherwise
7375 # it will coredump.
7376 lt_prog_compiler_pic='-fPIC -shared'
7379 osf3* | osf4* | osf5*)
7380 lt_prog_compiler_wl='-Wl,'
7381 # All OSF/1 code is PIC.
7382 lt_prog_compiler_static='-non_shared'
7385 rdos*)
7386 lt_prog_compiler_static='-non_shared'
7389 solaris*)
7390 lt_prog_compiler_pic='-KPIC'
7391 lt_prog_compiler_static='-Bstatic'
7392 case $cc_basename in
7393 f77* | f90* | f95*)
7394 lt_prog_compiler_wl='-Qoption ld ';;
7396 lt_prog_compiler_wl='-Wl,';;
7397 esac
7400 sunos4*)
7401 lt_prog_compiler_wl='-Qoption ld '
7402 lt_prog_compiler_pic='-PIC'
7403 lt_prog_compiler_static='-Bstatic'
7406 sysv4 | sysv4.2uw2* | sysv4.3*)
7407 lt_prog_compiler_wl='-Wl,'
7408 lt_prog_compiler_pic='-KPIC'
7409 lt_prog_compiler_static='-Bstatic'
7412 sysv4*MP*)
7413 if test -d /usr/nec ;then
7414 lt_prog_compiler_pic='-Kconform_pic'
7415 lt_prog_compiler_static='-Bstatic'
7419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7420 lt_prog_compiler_wl='-Wl,'
7421 lt_prog_compiler_pic='-KPIC'
7422 lt_prog_compiler_static='-Bstatic'
7425 unicos*)
7426 lt_prog_compiler_wl='-Wl,'
7427 lt_prog_compiler_can_build_shared=no
7430 uts4*)
7431 lt_prog_compiler_pic='-pic'
7432 lt_prog_compiler_static='-Bstatic'
7436 lt_prog_compiler_can_build_shared=no
7438 esac
7441 case $host_os in
7442 # For platforms which do not support PIC, -DPIC is meaningless:
7443 *djgpp*)
7444 lt_prog_compiler_pic=
7447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7449 esac
7450 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7459 # Check to make sure the PIC flag actually works.
7461 if test -n "$lt_prog_compiler_pic"; then
7462 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7464 if test "${lt_prog_compiler_pic_works+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 else
7467 lt_prog_compiler_pic_works=no
7468 ac_outfile=conftest.$ac_objext
7469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7470 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7471 # Insert the option either (1) after the last *FLAGS variable, or
7472 # (2) before a word containing "conftest.", or (3) at the end.
7473 # Note that $ac_compile itself does not contain backslashes and begins
7474 # with a dollar sign (not a hyphen), so the echo should work correctly.
7475 # The option is referenced via a variable to avoid confusing sed.
7476 lt_compile=`echo "$ac_compile" | $SED \
7477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7479 -e 's:$: $lt_compiler_flag:'`
7480 (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
7481 (eval "$lt_compile" 2>conftest.err)
7482 ac_status=$?
7483 cat conftest.err >&5
7484 echo "$as_me:7484: \$? = $ac_status" >&5
7485 if (exit $ac_status) && test -s "$ac_outfile"; then
7486 # The compiler can only warn and ignore the option if not recognized
7487 # So say no if there are warnings other than the usual output.
7488 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7491 lt_prog_compiler_pic_works=yes
7494 $RM conftest*
7497 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7498 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7500 if test x"$lt_prog_compiler_pic_works" = xyes; then
7501 case $lt_prog_compiler_pic in
7502 "" | " "*) ;;
7503 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7504 esac
7505 else
7506 lt_prog_compiler_pic=
7507 lt_prog_compiler_can_build_shared=no
7518 # Check to make sure the static flag actually works.
7520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7521 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7522 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7523 if test "${lt_prog_compiler_static_works+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 else
7526 lt_prog_compiler_static_works=no
7527 save_LDFLAGS="$LDFLAGS"
7528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7531 # The linker can only warn and ignore the option if not recognized
7532 # So say no if there are warnings
7533 if test -s conftest.err; then
7534 # Append any errors to the config.log.
7535 cat conftest.err 1>&5
7536 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538 if diff conftest.exp conftest.er2 >/dev/null; then
7539 lt_prog_compiler_static_works=yes
7541 else
7542 lt_prog_compiler_static_works=yes
7545 $RM conftest*
7546 LDFLAGS="$save_LDFLAGS"
7549 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7550 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7552 if test x"$lt_prog_compiler_static_works" = xyes; then
7554 else
7555 lt_prog_compiler_static=
7564 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 lt_cv_prog_compiler_c_o=no
7570 $RM -r conftest 2>/dev/null
7571 mkdir conftest
7572 cd conftest
7573 mkdir out
7574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7576 lt_compiler_flag="-o out/conftest2.$ac_objext"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 lt_compile=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>out/conftest.err)
7587 ac_status=$?
7588 cat out/conftest.err >&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7591 then
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings
7594 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7597 lt_cv_prog_compiler_c_o=yes
7600 chmod u+w . 2>&5
7601 $RM conftest*
7602 # SGI C++ compiler will create directory out/ii_files/ for
7603 # template instantiation
7604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7605 $RM out/* && rmdir out
7606 cd ..
7607 $RM -r conftest
7608 $RM conftest*
7611 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7619 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 else
7624 lt_cv_prog_compiler_c_o=no
7625 $RM -r conftest 2>/dev/null
7626 mkdir conftest
7627 cd conftest
7628 mkdir out
7629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7631 lt_compiler_flag="-o out/conftest2.$ac_objext"
7632 # Insert the option either (1) after the last *FLAGS variable, or
7633 # (2) before a word containing "conftest.", or (3) at the end.
7634 # Note that $ac_compile itself does not contain backslashes and begins
7635 # with a dollar sign (not a hyphen), so the echo should work correctly.
7636 lt_compile=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>out/conftest.err)
7642 ac_status=$?
7643 cat out/conftest.err >&5
7644 echo "$as_me:7644: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7646 then
7647 # The compiler can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7652 lt_cv_prog_compiler_c_o=yes
7655 chmod u+w . 2>&5
7656 $RM conftest*
7657 # SGI C++ compiler will create directory out/ii_files/ for
7658 # template instantiation
7659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7660 $RM out/* && rmdir out
7661 cd ..
7662 $RM -r conftest
7663 $RM conftest*
7666 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7672 hard_links="nottested"
7673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7674 # do not overwrite the value of need_locks provided by the user
7675 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7677 hard_links=yes
7678 $RM conftest*
7679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7680 touch conftest.a
7681 ln conftest.a conftest.b 2>&5 || hard_links=no
7682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7683 echo "$as_me:$LINENO: result: $hard_links" >&5
7684 echo "${ECHO_T}$hard_links" >&6
7685 if test "$hard_links" = no; then
7686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7688 need_locks=warn
7690 else
7691 need_locks=no
7699 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7702 runpath_var=
7703 allow_undefined_flag=
7704 always_export_symbols=no
7705 archive_cmds=
7706 archive_expsym_cmds=
7707 compiler_needs_object=no
7708 enable_shared_with_static_runtimes=no
7709 export_dynamic_flag_spec=
7710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7711 hardcode_automatic=no
7712 hardcode_direct=no
7713 hardcode_direct_absolute=no
7714 hardcode_libdir_flag_spec=
7715 hardcode_libdir_flag_spec_ld=
7716 hardcode_libdir_separator=
7717 hardcode_minus_L=no
7718 hardcode_shlibpath_var=unsupported
7719 inherit_rpath=no
7720 link_all_deplibs=unknown
7721 module_cmds=
7722 module_expsym_cmds=
7723 old_archive_from_new_cmds=
7724 old_archive_from_expsyms_cmds=
7725 thread_safe_flag_spec=
7726 whole_archive_flag_spec=
7727 # include_expsyms should be a list of space-separated symbols to be *always*
7728 # included in the symbol list
7729 include_expsyms=
7730 # exclude_expsyms can be an extended regexp of symbols to exclude
7731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7733 # as well as any symbol that contains `d'.
7734 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7736 # platforms (ab)use it in PIC code, but their linkers get confused if
7737 # the symbol is explicitly referenced. Since portable code cannot
7738 # rely on this symbol name, it's probably fine to never include it in
7739 # preloaded symbol tables.
7740 extract_expsyms_cmds=
7742 case $host_os in
7743 cygwin* | mingw* | pw32*)
7744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7745 # When not using gcc, we currently assume that we are using
7746 # Microsoft Visual C++.
7747 if test "$GCC" != yes; then
7748 with_gnu_ld=no
7751 interix*)
7752 # we just hope/assume this is gcc and not c89 (= MSVC++)
7753 with_gnu_ld=yes
7755 openbsd*)
7756 with_gnu_ld=no
7758 esac
7760 ld_shlibs=yes
7761 if test "$with_gnu_ld" = yes; then
7762 # If archive_cmds runs LD, not CC, wlarc should be empty
7763 wlarc='${wl}'
7765 # Set some defaults for GNU ld with shared library support. These
7766 # are reset later if shared libraries are not supported. Putting them
7767 # here allows them to be overridden if necessary.
7768 runpath_var=LD_RUN_PATH
7769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7770 export_dynamic_flag_spec='${wl}--export-dynamic'
7771 # ancient GNU ld didn't support --whole-archive et. al.
7772 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7773 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7774 else
7775 whole_archive_flag_spec=
7777 supports_anon_versioning=no
7778 case `$LD -v 2>&1` in
7779 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7780 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7781 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7782 *\ 2.11.*) ;; # other 2.11 versions
7783 *) supports_anon_versioning=yes ;;
7784 esac
7786 # See if GNU ld supports shared libraries.
7787 case $host_os in
7788 aix3* | aix4* | aix5*)
7789 # On AIX/PPC, the GNU linker is very broken
7790 if test "$host_cpu" != ia64; then
7791 ld_shlibs=no
7792 cat <<_LT_EOF 1>&2
7794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7795 *** to be unable to reliably create shared libraries on AIX.
7796 *** Therefore, libtool is disabling shared libraries support. If you
7797 *** really care for shared libraries, you may want to modify your PATH
7798 *** so that a non-GNU linker is found, and then restart.
7800 _LT_EOF
7804 amigaos*)
7805 if test "$host_cpu" = m68k; then
7806 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7807 hardcode_libdir_flag_spec='-L$libdir'
7808 hardcode_minus_L=yes
7811 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7812 # that the semantics of dynamic libraries on AmigaOS, at least up
7813 # to version 4, is to share data among multiple programs linked
7814 # with the same dynamic library. Since this doesn't match the
7815 # behavior of shared libraries on other platforms, we can't use
7816 # them.
7817 ld_shlibs=no
7820 beos*)
7821 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7822 allow_undefined_flag=unsupported
7823 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7824 # support --undefined. This deserves some investigation. FIXME
7825 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 else
7827 ld_shlibs=no
7831 cygwin* | mingw* | pw32*)
7832 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7833 # as there is no search path for DLLs.
7834 hardcode_libdir_flag_spec='-L$libdir'
7835 allow_undefined_flag=unsupported
7836 always_export_symbols=no
7837 enable_shared_with_static_runtimes=yes
7838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7840 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7842 # If the export-symbols file already is a .def file (1st line
7843 # is EXPORTS), use it as is; otherwise, prepend...
7844 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7845 cp $export_symbols $output_objdir/$soname.def;
7846 else
7847 echo EXPORTS > $output_objdir/$soname.def;
7848 cat $export_symbols >> $output_objdir/$soname.def;
7850 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7851 else
7852 ld_shlibs=no
7856 interix[3-9]*)
7857 hardcode_direct=no
7858 hardcode_shlibpath_var=no
7859 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7860 export_dynamic_flag_spec='${wl}-E'
7861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7862 # Instead, shared libraries are loaded at an image base (0x10000000 by
7863 # default) and relocated if they conflict, which is a slow very memory
7864 # consuming and fragmenting process. To avoid this, we pick a random,
7865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7868 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7871 gnu* | linux* | tpf* | k*bsd*-gnu)
7872 tmp_diet=no
7873 if test "$host_os" = linux-dietlibc; then
7874 case $cc_basename in
7875 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7876 esac
7878 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7879 && test "$tmp_diet" = no
7880 then
7881 tmp_addflag=
7882 case $cc_basename,$host_cpu in
7883 pgcc*) # Portland Group C compiler
7884 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7885 tmp_addflag=' $pic_flag'
7887 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7888 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7889 tmp_addflag=' $pic_flag -Mnomain' ;;
7890 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7891 tmp_addflag=' -i_dynamic' ;;
7892 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7893 tmp_addflag=' -i_dynamic -nofor_main' ;;
7894 ifc* | ifort*) # Intel Fortran compiler
7895 tmp_addflag=' -nofor_main' ;;
7896 esac
7897 case `$CC -V 2>&1 | sed 5q` in
7898 *Sun\ C*) # Sun C 5.9
7899 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7900 compiler_needs_object=yes
7901 tmp_sharedflag='-G' ;;
7902 *Sun\ F*) # Sun Fortran 8.3
7903 tmp_sharedflag='-G' ;;
7905 tmp_sharedflag='-shared' ;;
7906 esac
7907 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7909 if test "x$supports_anon_versioning" = xyes; then
7910 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7912 echo "local: *; };" >> $output_objdir/$libname.ver~
7913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7915 else
7916 ld_shlibs=no
7920 netbsd*)
7921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7922 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7923 wlarc=
7924 else
7925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7930 solaris*)
7931 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7932 ld_shlibs=no
7933 cat <<_LT_EOF 1>&2
7935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7936 *** create shared libraries on Solaris systems. Therefore, libtool
7937 *** is disabling shared libraries support. We urge you to upgrade GNU
7938 *** binutils to release 2.9.1 or newer. Another option is to modify
7939 *** your PATH or compiler configuration so that the native linker is
7940 *** used, and then restart.
7942 _LT_EOF
7943 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7946 else
7947 ld_shlibs=no
7951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7952 case `$LD -v 2>&1` in
7953 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7954 ld_shlibs=no
7955 cat <<_LT_EOF 1>&2
7957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7958 *** reliably create shared libraries on SCO systems. Therefore, libtool
7959 *** is disabling shared libraries support. We urge you to upgrade GNU
7960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7961 *** your PATH or compiler configuration so that the native linker is
7962 *** used, and then restart.
7964 _LT_EOF
7967 # For security reasons, it is highly recommended that you always
7968 # use absolute paths for naming shared libraries, and exclude the
7969 # DT_RUNPATH tag from executables and libraries. But doing so
7970 # requires that you compile everything twice, which is a pain.
7971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 else
7976 ld_shlibs=no
7979 esac
7982 sunos4*)
7983 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7984 wlarc=
7985 hardcode_direct=yes
7986 hardcode_shlibpath_var=no
7990 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7992 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7993 else
7994 ld_shlibs=no
7997 esac
7999 if test "$ld_shlibs" = no; then
8000 runpath_var=
8001 hardcode_libdir_flag_spec=
8002 export_dynamic_flag_spec=
8003 whole_archive_flag_spec=
8005 else
8006 # PORTME fill in a description of your system's linker (not GNU ld)
8007 case $host_os in
8008 aix3*)
8009 allow_undefined_flag=unsupported
8010 always_export_symbols=yes
8011 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8012 # Note: this linker hardcodes the directories in LIBPATH if there
8013 # are no directories specified by -L.
8014 hardcode_minus_L=yes
8015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8016 # Neither direct hardcoding nor static linking is supported with a
8017 # broken collect2.
8018 hardcode_direct=unsupported
8022 aix4* | aix5*)
8023 if test "$host_cpu" = ia64; then
8024 # On IA64, the linker does run time linking by default, so we don't
8025 # have to do anything special.
8026 aix_use_runtimelinking=no
8027 exp_sym_flag='-Bexport'
8028 no_entry_flag=""
8029 else
8030 # If we're using GNU nm, then we don't want the "-C" option.
8031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8032 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8033 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8034 else
8035 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8037 aix_use_runtimelinking=no
8039 # Test if we are trying to use run time linking or normal
8040 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8041 # need to do runtime linking.
8042 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8043 for ld_flag in $LDFLAGS; do
8044 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8045 aix_use_runtimelinking=yes
8046 break
8048 done
8050 esac
8052 exp_sym_flag='-bexport'
8053 no_entry_flag='-bnoentry'
8056 # When large executables or shared objects are built, AIX ld can
8057 # have problems creating the table of contents. If linking a library
8058 # or program results in "error TOC overflow" add -mminimal-toc to
8059 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8060 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8062 archive_cmds=''
8063 hardcode_direct=yes
8064 hardcode_direct_absolute=yes
8065 hardcode_libdir_separator=':'
8066 link_all_deplibs=yes
8067 file_list_spec='${wl}-f,'
8069 if test "$GCC" = yes; then
8070 case $host_os in aix4.[012]|aix4.[012].*)
8071 # We only want to do this on AIX 4.2 and lower, the check
8072 # below for broken collect2 doesn't work under 4.3+
8073 collect2name=`${CC} -print-prog-name=collect2`
8074 if test -f "$collect2name" &&
8075 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8076 then
8077 # We have reworked collect2
8079 else
8080 # We have old collect2
8081 hardcode_direct=unsupported
8082 # It fails to find uninstalled libraries when the uninstalled
8083 # path is not listed in the libpath. Setting hardcode_minus_L
8084 # to unsupported forces relinking
8085 hardcode_minus_L=yes
8086 hardcode_libdir_flag_spec='-L$libdir'
8087 hardcode_libdir_separator=
8090 esac
8091 shared_flag='-shared'
8092 if test "$aix_use_runtimelinking" = yes; then
8093 shared_flag="$shared_flag "'${wl}-G'
8095 else
8096 # not using gcc
8097 if test "$host_cpu" = ia64; then
8098 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8099 # chokes on -Wl,-G. The following line is correct:
8100 shared_flag='-G'
8101 else
8102 if test "$aix_use_runtimelinking" = yes; then
8103 shared_flag='${wl}-G'
8104 else
8105 shared_flag='${wl}-bM:SRE'
8110 # It seems that -bexpall does not export symbols beginning with
8111 # underscore (_), so it is better to generate a list of symbols to export.
8112 always_export_symbols=yes
8113 if test "$aix_use_runtimelinking" = yes; then
8114 # Warning - without using the other runtime loading flags (-brtl),
8115 # -berok will link without error, but may produce a broken library.
8116 allow_undefined_flag='-berok'
8117 # Determine the default libpath from the value encoded in an
8118 # empty executable.
8119 if test x$gcc_no_link = xyes; then
8120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8122 { (exit 1); exit 1; }; }
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8132 main ()
8136 return 0;
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>conftest.er1
8142 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1
8145 cat conftest.err >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try='test -z "$ac_c_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 (eval $ac_try) 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 (eval $ac_try) 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8162 lt_aix_libpath_sed='
8163 /Import File Strings/,/^$/ {
8164 /^0/ {
8165 s/^0 *\(.*\)$/\1/
8169 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8170 # Check for a 64-bit object if we didn't find anything.
8171 if test -z "$aix_libpath"; then
8172 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8174 else
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8179 rm -f conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8183 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8184 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8185 else
8186 if test "$host_cpu" = ia64; then
8187 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8188 allow_undefined_flag="-z nodefs"
8189 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8190 else
8191 # Determine the default libpath from the value encoded in an
8192 # empty executable.
8193 if test x$gcc_no_link = xyes; then
8194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8196 { (exit 1); exit 1; }; }
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8206 main ()
8210 return 0;
8212 _ACEOF
8213 rm -f conftest.$ac_objext conftest$ac_exeext
8214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8215 (eval $ac_link) 2>conftest.er1
8216 ac_status=$?
8217 grep -v '^ *+' conftest.er1 >conftest.err
8218 rm -f conftest.er1
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } &&
8222 { ac_try='test -z "$ac_c_werror_flag"
8223 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } &&
8229 { ac_try='test -s conftest$ac_exeext'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 (eval $ac_try) 2>&5
8232 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8236 lt_aix_libpath_sed='
8237 /Import File Strings/,/^$/ {
8238 /^0/ {
8239 s/^0 *\(.*\)$/\1/
8243 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8244 # Check for a 64-bit object if we didn't find anything.
8245 if test -z "$aix_libpath"; then
8246 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8248 else
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8253 rm -f conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8257 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8258 # Warning - without using the other run time loading flags,
8259 # -berok will link without error, but may produce a broken library.
8260 no_undefined_flag=' ${wl}-bernotok'
8261 allow_undefined_flag=' ${wl}-berok'
8262 # Exported symbols can be pulled into shared objects from archives
8263 whole_archive_flag_spec='$convenience'
8264 archive_cmds_need_lc=yes
8265 # This is similar to how AIX traditionally builds its shared libraries.
8266 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8271 amigaos*)
8272 if test "$host_cpu" = m68k; then
8273 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8274 hardcode_libdir_flag_spec='-L$libdir'
8275 hardcode_minus_L=yes
8277 # see comment about different semantics on the GNU ld section
8278 ld_shlibs=no
8281 bsdi[45]*)
8282 export_dynamic_flag_spec=-rdynamic
8285 cygwin* | mingw* | pw32*)
8286 # When not using gcc, we currently assume that we are using
8287 # Microsoft Visual C++.
8288 # hardcode_libdir_flag_spec is actually meaningless, as there is
8289 # no search path for DLLs.
8290 hardcode_libdir_flag_spec=' '
8291 allow_undefined_flag=unsupported
8292 # Tell ltmain to make .lib files, not .a files.
8293 libext=lib
8294 # Tell ltmain to make .dll files, not .so files.
8295 shrext_cmds=".dll"
8296 # FIXME: Setting linknames here is a bad hack.
8297 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8298 # The linker will automatically build a .lib file if we build a DLL.
8299 old_archive_from_new_cmds='true'
8300 # FIXME: Should let the user specify the lib program.
8301 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8302 fix_srcfile_path='`cygpath -w "$srcfile"`'
8303 enable_shared_with_static_runtimes=yes
8306 darwin* | rhapsody*)
8307 case $host_os in
8308 rhapsody* | darwin1.[012])
8309 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8311 *) # Darwin 1.3 on
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8313 10.[012])
8314 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8316 10.*)
8317 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8319 esac
8321 esac
8322 archive_cmds_need_lc=no
8323 hardcode_direct=no
8324 hardcode_automatic=yes
8325 hardcode_shlibpath_var=unsupported
8326 whole_archive_flag_spec=''
8327 link_all_deplibs=yes
8328 if test "$GCC" = yes ; then
8329 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 lt_cv_apple_cc_single_mod=no
8333 if test -z "${LT_MULTI_MODULE}"; then
8334 # By default we will add the -single_module flag. You can override
8335 # by either setting the environment variable LT_MULTI_MODULE
8336 # non-empty at configure time, or by adding -multi-module to the
8337 # link flags.
8338 echo "int foo(void){return 1;}" > conftest.c
8339 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8340 -dynamiclib ${wl}-single_module conftest.c
8341 if test -f libconftest.dylib; then
8342 lt_cv_apple_cc_single_mod=yes
8343 rm libconftest.dylib
8345 rm conftest.$ac_ext
8349 output_verbose_link_cmd=echo
8350 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8351 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8352 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8353 else
8354 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8355 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8357 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8358 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8359 else
8360 case $cc_basename in
8361 xlc*)
8362 output_verbose_link_cmd=echo
8363 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8364 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8365 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8366 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8367 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8370 ld_shlibs=no
8372 esac
8376 dgux*)
8377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8378 hardcode_libdir_flag_spec='-L$libdir'
8379 hardcode_shlibpath_var=no
8382 freebsd1*)
8383 ld_shlibs=no
8386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8387 # support. Future versions do this automatically, but an explicit c++rt0.o
8388 # does not break anything, and helps significantly (at the cost of a little
8389 # extra space).
8390 freebsd2.2*)
8391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8392 hardcode_libdir_flag_spec='-R$libdir'
8393 hardcode_direct=yes
8394 hardcode_shlibpath_var=no
8397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8398 freebsd2*)
8399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8400 hardcode_direct=yes
8401 hardcode_minus_L=yes
8402 hardcode_shlibpath_var=no
8405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8406 freebsd* | dragonfly*)
8407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8408 hardcode_libdir_flag_spec='-R$libdir'
8409 hardcode_direct=yes
8410 hardcode_shlibpath_var=no
8413 hpux9*)
8414 if test "$GCC" = yes; then
8415 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8416 else
8417 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8420 hardcode_libdir_separator=:
8421 hardcode_direct=yes
8423 # hardcode_minus_L: Not really in the search PATH,
8424 # but as the default location of the library.
8425 hardcode_minus_L=yes
8426 export_dynamic_flag_spec='${wl}-E'
8429 hpux10*)
8430 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8432 else
8433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8435 if test "$with_gnu_ld" = no; then
8436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8437 hardcode_libdir_flag_spec_ld='+b $libdir'
8438 hardcode_libdir_separator=:
8439 hardcode_direct=yes
8440 hardcode_direct_absolute=yes
8441 export_dynamic_flag_spec='${wl}-E'
8442 # hardcode_minus_L: Not really in the search PATH,
8443 # but as the default location of the library.
8444 hardcode_minus_L=yes
8448 hpux11*)
8449 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8450 case $host_cpu in
8451 hppa*64*)
8452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8454 ia64*)
8455 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8460 esac
8461 else
8462 case $host_cpu in
8463 hppa*64*)
8464 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 ia64*)
8467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8470 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8472 esac
8474 if test "$with_gnu_ld" = no; then
8475 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8476 hardcode_libdir_separator=:
8478 case $host_cpu in
8479 hppa*64*|ia64*)
8480 hardcode_direct=no
8481 hardcode_shlibpath_var=no
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8488 # hardcode_minus_L: Not really in the search PATH,
8489 # but as the default location of the library.
8490 hardcode_minus_L=yes
8492 esac
8496 irix5* | irix6* | nonstopux*)
8497 if test "$GCC" = yes; then
8498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8499 # Try to use the -exported_symbol ld option, if it does not
8500 # work, assume that -exports_file does not work either and
8501 # implicitly export all symbols.
8502 save_LDFLAGS="$LDFLAGS"
8503 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8504 if test x$gcc_no_link = xyes; then
8505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8507 { (exit 1); exit 1; }; }
8509 cat >conftest.$ac_ext <<_ACEOF
8510 int foo(void) {}
8511 _ACEOF
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>conftest.er1
8515 ac_status=$?
8516 grep -v '^ *+' conftest.er1 >conftest.err
8517 rm -f conftest.er1
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try='test -z "$ac_c_werror_flag"
8522 || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try='test -s conftest$ac_exeext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 (eval $ac_try) 2>&5
8531 ac_status=$?
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8541 rm -f conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LDFLAGS="$save_LDFLAGS"
8544 else
8545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8546 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8548 archive_cmds_need_lc='no'
8549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8550 hardcode_libdir_separator=:
8551 inherit_rpath=yes
8552 link_all_deplibs=yes
8555 netbsd*)
8556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8558 else
8559 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8561 hardcode_libdir_flag_spec='-R$libdir'
8562 hardcode_direct=yes
8563 hardcode_shlibpath_var=no
8566 newsos6)
8567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8568 hardcode_direct=yes
8569 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8570 hardcode_libdir_separator=:
8571 hardcode_shlibpath_var=no
8574 *nto* | *qnx*)
8577 openbsd*)
8578 hardcode_direct=yes
8579 hardcode_shlibpath_var=no
8580 hardcode_direct_absolute=yes
8581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8582 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8585 export_dynamic_flag_spec='${wl}-E'
8586 else
8587 case $host_os in
8588 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_libdir_flag_spec='-R$libdir'
8593 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8594 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8596 esac
8600 os2*)
8601 hardcode_libdir_flag_spec='-L$libdir'
8602 hardcode_minus_L=yes
8603 allow_undefined_flag=unsupported
8604 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8605 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8608 osf3*)
8609 if test "$GCC" = yes; then
8610 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8611 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8612 else
8613 allow_undefined_flag=' -expect_unresolved \*'
8614 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8616 archive_cmds_need_lc='no'
8617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8618 hardcode_libdir_separator=:
8621 osf4* | osf5*) # as osf3* with the addition of -msym flag
8622 if test "$GCC" = yes; then
8623 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8624 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8625 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8629 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8630 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8632 # Both c and cxx compiler support -rpath directly
8633 hardcode_libdir_flag_spec='-rpath $libdir'
8635 archive_cmds_need_lc='no'
8636 hardcode_libdir_separator=:
8639 solaris*)
8640 no_undefined_flag=' -z defs'
8641 if test "$GCC" = yes; then
8642 wlarc='${wl}'
8643 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8645 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8646 else
8647 case `$CC -V 2>&1` in
8648 *"Compilers 5.0"*)
8649 wlarc=''
8650 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8652 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8655 wlarc='${wl}'
8656 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8658 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8660 esac
8662 hardcode_libdir_flag_spec='-R$libdir'
8663 hardcode_shlibpath_var=no
8664 case $host_os in
8665 solaris2.[0-5] | solaris2.[0-5].*) ;;
8667 # The compiler driver will combine and reorder linker options,
8668 # but understands `-z linker_flag'. GCC discards it without `$wl',
8669 # but is careful enough not to reorder.
8670 # Supported since Solaris 2.6 (maybe 2.5.1?)
8671 if test "$GCC" = yes; then
8672 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8673 else
8674 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8677 esac
8678 link_all_deplibs=yes
8681 sunos4*)
8682 if test "x$host_vendor" = xsequent; then
8683 # Use $CC to link under sequent, because it throws in some extra .o
8684 # files that make .init and .fini sections work.
8685 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8686 else
8687 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8689 hardcode_libdir_flag_spec='-L$libdir'
8690 hardcode_direct=yes
8691 hardcode_minus_L=yes
8692 hardcode_shlibpath_var=no
8695 sysv4)
8696 case $host_vendor in
8697 sni)
8698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8699 hardcode_direct=yes # is this really true???
8701 siemens)
8702 ## LD is ld it makes a PLAMLIB
8703 ## CC just makes a GrossModule.
8704 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8705 reload_cmds='$CC -r -o $output$reload_objs'
8706 hardcode_direct=no
8708 motorola)
8709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8710 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8712 esac
8713 runpath_var='LD_RUN_PATH'
8714 hardcode_shlibpath_var=no
8717 sysv4.3*)
8718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 hardcode_shlibpath_var=no
8720 export_dynamic_flag_spec='-Bexport'
8723 sysv4*MP*)
8724 if test -d /usr/nec; then
8725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_shlibpath_var=no
8727 runpath_var=LD_RUN_PATH
8728 hardcode_runpath_var=yes
8729 ld_shlibs=yes
8733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8734 no_undefined_flag='${wl}-z,text'
8735 archive_cmds_need_lc=no
8736 hardcode_shlibpath_var=no
8737 runpath_var='LD_RUN_PATH'
8739 if test "$GCC" = yes; then
8740 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8742 else
8743 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8748 sysv5* | sco3.2v5* | sco5v6*)
8749 # Note: We can NOT use -z defs as we might desire, because we do not
8750 # link with -lc, and that would cause any symbols used from libc to
8751 # always be unresolved, which means just about no library would
8752 # ever link correctly. If we're not using GNU ld we use -z text
8753 # though, which does catch some bad symbols but isn't as heavy-handed
8754 # as -z defs.
8755 no_undefined_flag='${wl}-z,text'
8756 allow_undefined_flag='${wl}-z,nodefs'
8757 archive_cmds_need_lc=no
8758 hardcode_shlibpath_var=no
8759 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8760 hardcode_libdir_separator=':'
8761 link_all_deplibs=yes
8762 export_dynamic_flag_spec='${wl}-Bexport'
8763 runpath_var='LD_RUN_PATH'
8765 if test "$GCC" = yes; then
8766 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8768 else
8769 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8774 uts4*)
8775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_libdir_flag_spec='-L$libdir'
8777 hardcode_shlibpath_var=no
8781 ld_shlibs=no
8783 esac
8785 if test x$host_vendor = xsni; then
8786 case $host in
8787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8788 export_dynamic_flag_spec='${wl}-Blargedynsym'
8790 esac
8794 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8795 echo "${ECHO_T}$ld_shlibs" >&6
8796 test "$ld_shlibs" = no && can_build_shared=no
8798 with_gnu_ld=$with_gnu_ld
8815 # Do we need to explicitly link libc?
8817 case "x$archive_cmds_need_lc" in
8818 x|xyes)
8819 # Assume -lc should be added
8820 archive_cmds_need_lc=yes
8822 if test "$enable_shared" = yes && test "$GCC" = yes; then
8823 case $archive_cmds in
8824 *'~'*)
8825 # FIXME: we may have to deal with multi-command sequences.
8827 '$CC '*)
8828 # Test whether the compiler implicitly links with -lc since on some
8829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8830 # to ld, don't add -lc before -lgcc.
8831 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8832 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8833 $RM conftest*
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8837 (eval $ac_compile) 2>&5
8838 ac_status=$?
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } 2>conftest.err; then
8841 soname=conftest
8842 lib=conftest
8843 libobjs=conftest.$ac_objext
8844 deplibs=
8845 wl=$lt_prog_compiler_wl
8846 pic_flag=$lt_prog_compiler_pic
8847 compiler_flags=-v
8848 linker_flags=-v
8849 verstring=
8850 output_objdir=.
8851 libname=conftest
8852 lt_save_allow_undefined_flag=$allow_undefined_flag
8853 allow_undefined_flag=
8854 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8855 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8856 ac_status=$?
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }
8859 then
8860 archive_cmds_need_lc=no
8861 else
8862 archive_cmds_need_lc=yes
8864 allow_undefined_flag=$lt_save_allow_undefined_flag
8865 else
8866 cat conftest.err 1>&5
8868 $RM conftest*
8869 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8870 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8872 esac
8875 esac
9033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9035 withGCC=$GCC
9036 if test "$withGCC" = yes; then
9037 case $host_os in
9038 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9039 *) lt_awk_arg="/^libraries:/" ;;
9040 esac
9041 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9042 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9043 # if the path contains ";" then we assume it to be the separator
9044 # otherwise default to the standard path separator (i.e. ":") - it is
9045 # assumed that no part of a normal pathname contains ";" but that should
9046 # okay in the real world where ";" in dirpaths is itself problematic.
9047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9048 else
9049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9051 # Ok, now we have the path, separated by spaces, we can step through it
9052 # and add multilib dir if necessary.
9053 lt_tmp_lt_search_path_spec=
9054 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9055 for lt_sys_path in $lt_search_path_spec; do
9056 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9057 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9058 else
9059 test -d "$lt_sys_path" && \
9060 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9062 done
9063 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9064 BEGIN {RS=" "; FS="/|\n";} {
9065 lt_foo="";
9066 lt_count=0;
9067 for (lt_i = NF; lt_i > 0; lt_i--) {
9068 if ($lt_i != "" && $lt_i != ".") {
9069 if ($lt_i == "..") {
9070 lt_count++;
9071 } else {
9072 if (lt_count == 0) {
9073 lt_foo="/" $lt_i lt_foo;
9074 } else {
9075 lt_count--;
9080 if (lt_foo != "") { lt_freq[lt_foo]++; }
9081 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9083 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9084 else
9085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9087 library_names_spec=
9088 libname_spec='lib$name'
9089 soname_spec=
9090 shrext_cmds=".so"
9091 postinstall_cmds=
9092 postuninstall_cmds=
9093 finish_cmds=
9094 finish_eval=
9095 shlibpath_var=
9096 shlibpath_overrides_runpath=unknown
9097 version_type=none
9098 dynamic_linker="$host_os ld.so"
9099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9100 need_lib_prefix=unknown
9101 hardcode_into_libs=no
9103 # when you set need_version to no, make sure it does not cause -set_version
9104 # flags to be left without arguments
9105 need_version=unknown
9107 case $host_os in
9108 aix3*)
9109 version_type=linux
9110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9111 shlibpath_var=LIBPATH
9113 # AIX 3 has no versioning support, so we append a major version to the name.
9114 soname_spec='${libname}${release}${shared_ext}$major'
9117 aix4* | aix5*)
9118 version_type=linux
9119 need_lib_prefix=no
9120 need_version=no
9121 hardcode_into_libs=yes
9122 if test "$host_cpu" = ia64; then
9123 # AIX 5 supports IA64
9124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9125 shlibpath_var=LD_LIBRARY_PATH
9126 else
9127 # With GCC up to 2.95.x, collect2 would create an import file
9128 # for dependence libraries. The import file would start with
9129 # the line `#! .'. This would cause the generated library to
9130 # depend on `.', always an invalid library. This was fixed in
9131 # development snapshots of GCC prior to 3.0.
9132 case $host_os in
9133 aix4 | aix4.[01] | aix4.[01].*)
9134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9135 echo ' yes '
9136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9138 else
9139 can_build_shared=no
9142 esac
9143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9144 # soname into executable. Probably we can add versioning support to
9145 # collect2, so additional links can be useful in future.
9146 if test "$aix_use_runtimelinking" = yes; then
9147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9148 # instead of lib<name>.a to let people know that these are not
9149 # typical AIX shared libraries.
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 else
9152 # We preserve .a as extension for shared libraries through AIX4.2
9153 # and later when we are not doing run time linking.
9154 library_names_spec='${libname}${release}.a $libname.a'
9155 soname_spec='${libname}${release}${shared_ext}$major'
9157 shlibpath_var=LIBPATH
9161 amigaos*)
9162 if test "$host_cpu" = m68k; then
9163 library_names_spec='$libname.ixlibrary $libname.a'
9164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9165 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9166 else
9167 dynamic_linker=no
9171 beos*)
9172 library_names_spec='${libname}${shared_ext}'
9173 dynamic_linker="$host_os ld.so"
9174 shlibpath_var=LIBRARY_PATH
9177 bsdi[45]*)
9178 version_type=linux
9179 need_version=no
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 soname_spec='${libname}${release}${shared_ext}$major'
9182 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9183 shlibpath_var=LD_LIBRARY_PATH
9184 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9185 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9186 # the default ld.so.conf also contains /usr/contrib/lib and
9187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9188 # libtool to hard-code these into programs
9191 cygwin* | mingw* | pw32*)
9192 version_type=windows
9193 shrext_cmds=".dll"
9194 need_version=no
9195 need_lib_prefix=no
9197 case $withGCC,$host_os in
9198 yes,cygwin* | yes,mingw* | yes,pw32*)
9199 library_names_spec='$libname.dll.a'
9200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9201 postinstall_cmds='base_file=`basename \${file}`~
9202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9203 dldir=$destdir/`dirname \$dlpath`~
9204 test -d \$dldir || mkdir -p \$dldir~
9205 $install_prog $dir/$dlname \$dldir/$dlname~
9206 chmod a+x \$dldir/$dlname~
9207 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9208 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9210 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9211 dlpath=$dir/\$dldll~
9212 $RM \$dlpath'
9213 shlibpath_overrides_runpath=yes
9215 case $host_os in
9216 cygwin*)
9217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9218 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9219 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9221 mingw*)
9222 # MinGW DLLs use traditional 'lib' prefix
9223 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9225 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9226 # It is most probably a Windows format PATH printed by
9227 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9228 # path with ; separators, and with drive letters. We can handle the
9229 # drive letters (cygwin fileutils understands them), so leave them,
9230 # especially as we might pass files found there to a mingw objdump,
9231 # which wouldn't understand a cygwinified path. Ahh.
9232 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9233 else
9234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9237 pw32*)
9238 # pw32 DLLs use 'pw' prefix rather than 'lib'
9239 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9241 esac
9245 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9247 esac
9248 dynamic_linker='Win32 ld.exe'
9249 # FIXME: first we should search . and the directory the executable is in
9250 shlibpath_var=PATH
9253 darwin* | rhapsody*)
9254 dynamic_linker="$host_os dyld"
9255 version_type=darwin
9256 need_lib_prefix=no
9257 need_version=no
9258 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9259 soname_spec='${libname}${release}${major}$shared_ext'
9260 shlibpath_overrides_runpath=yes
9261 shlibpath_var=DYLD_LIBRARY_PATH
9262 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9264 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9268 dgux*)
9269 version_type=linux
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9273 soname_spec='${libname}${release}${shared_ext}$major'
9274 shlibpath_var=LD_LIBRARY_PATH
9277 freebsd1*)
9278 dynamic_linker=no
9281 freebsd* | dragonfly*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr/bin/objformat; then
9285 objformat=`/usr/bin/objformat`
9286 else
9287 case $host_os in
9288 freebsd[123]*) objformat=aout ;;
9289 *) objformat=elf ;;
9290 esac
9292 version_type=freebsd-$objformat
9293 case $version_type in
9294 freebsd-elf*)
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9296 need_version=no
9297 need_lib_prefix=no
9299 freebsd-*)
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9301 need_version=yes
9303 esac
9304 shlibpath_var=LD_LIBRARY_PATH
9305 case $host_os in
9306 freebsd2*)
9307 shlibpath_overrides_runpath=yes
9309 freebsd3.[01]* | freebsdelf3.[01]*)
9310 shlibpath_overrides_runpath=yes
9311 hardcode_into_libs=yes
9313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9318 *) # from 4.6 on, and DragonFly
9319 shlibpath_overrides_runpath=yes
9320 hardcode_into_libs=yes
9322 esac
9325 gnu*)
9326 version_type=linux
9327 need_lib_prefix=no
9328 need_version=no
9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec='${libname}${release}${shared_ext}$major'
9331 shlibpath_var=LD_LIBRARY_PATH
9332 hardcode_into_libs=yes
9335 hpux9* | hpux10* | hpux11*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9338 version_type=sunos
9339 need_lib_prefix=no
9340 need_version=no
9341 case $host_cpu in
9342 ia64*)
9343 shrext_cmds='.so'
9344 hardcode_into_libs=yes
9345 dynamic_linker="$host_os dld.so"
9346 shlibpath_var=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32; then
9351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9352 else
9353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9357 hppa*64*)
9358 shrext_cmds='.sl'
9359 hardcode_into_libs=yes
9360 dynamic_linker="$host_os dld.sl"
9361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9369 shrext_cmds='.sl'
9370 dynamic_linker="$host_os dld.sl"
9371 shlibpath_var=SHLIB_PATH
9372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9376 esac
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds='chmod 555 $lib'
9381 interix[3-9]*)
9382 version_type=linux
9383 need_lib_prefix=no
9384 need_version=no
9385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec='${libname}${release}${shared_ext}$major'
9387 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath=no
9390 hardcode_into_libs=yes
9393 irix5* | irix6* | nonstopux*)
9394 case $host_os in
9395 nonstopux*) version_type=nonstopux ;;
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9398 version_type=linux
9399 else
9400 version_type=irix
9401 fi ;;
9402 esac
9403 need_lib_prefix=no
9404 need_version=no
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9407 case $host_os in
9408 irix5* | nonstopux*)
9409 libsuff= shlibsuff=
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9414 libsuff= shlibsuff= libmagic=32-bit;;
9415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9416 libsuff=32 shlibsuff=N32 libmagic=N32;;
9417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9419 *) libsuff= shlibsuff= libmagic=never-match;;
9420 esac
9422 esac
9423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9424 shlibpath_overrides_runpath=no
9425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs=yes
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux*oldld* | linux*aout* | linux*coff*)
9432 dynamic_linker=no
9435 # This must be Linux ELF.
9436 linux* | k*bsd*-gnu)
9437 version_type=linux
9438 need_lib_prefix=no
9439 need_version=no
9440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec='${libname}${release}${shared_ext}$major'
9442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath=no
9445 # Some binutils ld are patched to set DT_RUNPATH
9446 save_LDFLAGS=$LDFLAGS
9447 save_libdir=$libdir
9448 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9449 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9450 if test x$gcc_no_link = xyes; then
9451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453 { (exit 1); exit 1; }; }
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9463 main ()
9467 return 0;
9469 _ACEOF
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag"
9480 || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest$ac_exeext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
9492 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9493 shlibpath_overrides_runpath=yes
9496 else
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5
9501 rm -f conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LDFLAGS=$save_LDFLAGS
9504 libdir=$save_libdir
9506 # This implies no fast_install, which is unacceptable.
9507 # Some rework will be needed to allow for fast_install
9508 # before this can be enabled.
9509 hardcode_into_libs=yes
9511 # Append ld.so.conf contents to the search path
9512 if test -f /etc/ld.so.conf; then
9513 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9514 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9517 # We used to test for /lib/ld.so.1 and disable shared libraries on
9518 # powerpc, because MkLinux only supported shared libraries with the
9519 # GNU dynamic linker. Since this was broken with cross compilers,
9520 # most powerpc-linux boxes support dynamic linking these days and
9521 # people can always --disable-shared, the test was removed, and we
9522 # assume the GNU/Linux dynamic linker is in use.
9523 dynamic_linker='GNU/Linux ld.so'
9526 netbsd*)
9527 version_type=sunos
9528 need_lib_prefix=no
9529 need_version=no
9530 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9533 dynamic_linker='NetBSD (a.out) ld.so'
9534 else
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9536 soname_spec='${libname}${release}${shared_ext}$major'
9537 dynamic_linker='NetBSD ld.elf_so'
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=yes
9541 hardcode_into_libs=yes
9544 newsos6)
9545 version_type=linux
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9547 shlibpath_var=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath=yes
9551 *nto* | *qnx*)
9552 version_type=qnx
9553 need_lib_prefix=no
9554 need_version=no
9555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556 soname_spec='${libname}${release}${shared_ext}$major'
9557 shlibpath_var=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath=no
9559 hardcode_into_libs=yes
9560 dynamic_linker='ldqnx.so'
9563 openbsd*)
9564 version_type=sunos
9565 sys_lib_dlsearch_path_spec="/usr/lib"
9566 need_lib_prefix=no
9567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9568 case $host_os in
9569 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9570 *) need_version=no ;;
9571 esac
9572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9574 shlibpath_var=LD_LIBRARY_PATH
9575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9576 case $host_os in
9577 openbsd2.[89] | openbsd2.[89].*)
9578 shlibpath_overrides_runpath=no
9581 shlibpath_overrides_runpath=yes
9583 esac
9584 else
9585 shlibpath_overrides_runpath=yes
9589 os2*)
9590 libname_spec='$name'
9591 shrext_cmds=".dll"
9592 need_lib_prefix=no
9593 library_names_spec='$libname${shared_ext} $libname.a'
9594 dynamic_linker='OS/2 ld.exe'
9595 shlibpath_var=LIBPATH
9598 osf3* | osf4* | osf5*)
9599 version_type=osf
9600 need_lib_prefix=no
9601 need_version=no
9602 soname_spec='${libname}${release}${shared_ext}$major'
9603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9604 shlibpath_var=LD_LIBRARY_PATH
9605 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9606 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9609 rdos*)
9610 dynamic_linker=no
9613 solaris*)
9614 version_type=linux
9615 need_lib_prefix=no
9616 need_version=no
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 soname_spec='${libname}${release}${shared_ext}$major'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath=yes
9621 hardcode_into_libs=yes
9622 # ldd complains unless libraries are executable
9623 postinstall_cmds='chmod +x $lib'
9626 sunos4*)
9627 version_type=sunos
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9630 shlibpath_var=LD_LIBRARY_PATH
9631 shlibpath_overrides_runpath=yes
9632 if test "$with_gnu_ld" = yes; then
9633 need_lib_prefix=no
9635 need_version=yes
9638 sysv4 | sysv4.3*)
9639 version_type=linux
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641 soname_spec='${libname}${release}${shared_ext}$major'
9642 shlibpath_var=LD_LIBRARY_PATH
9643 case $host_vendor in
9644 sni)
9645 shlibpath_overrides_runpath=no
9646 need_lib_prefix=no
9647 runpath_var=LD_RUN_PATH
9649 siemens)
9650 need_lib_prefix=no
9652 motorola)
9653 need_lib_prefix=no
9654 need_version=no
9655 shlibpath_overrides_runpath=no
9656 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9658 esac
9661 sysv4*MP*)
9662 if test -d /usr/nec ;then
9663 version_type=linux
9664 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9665 soname_spec='$libname${shared_ext}.$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9671 version_type=freebsd-elf
9672 need_lib_prefix=no
9673 need_version=no
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 shlibpath_overrides_runpath=yes
9678 hardcode_into_libs=yes
9679 if test "$with_gnu_ld" = yes; then
9680 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9681 else
9682 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9683 case $host_os in
9684 sco3.2v5*)
9685 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9687 esac
9689 sys_lib_dlsearch_path_spec='/usr/lib'
9692 tpf*)
9693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9694 version_type=linux
9695 need_lib_prefix=no
9696 need_version=no
9697 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 shlibpath_var=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath=no
9700 hardcode_into_libs=yes
9703 uts4*)
9704 version_type=linux
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 shlibpath_var=LD_LIBRARY_PATH
9711 dynamic_linker=no
9713 esac
9714 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9715 echo "${ECHO_T}$dynamic_linker" >&6
9716 test "$dynamic_linker" = no && can_build_shared=no
9718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9719 if test "$GCC" = yes; then
9720 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9809 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9810 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9811 hardcode_action=
9812 if test -n "$hardcode_libdir_flag_spec" ||
9813 test -n "$runpath_var" ||
9814 test "X$hardcode_automatic" = "Xyes" ; then
9816 # We can hardcode non-existent directories.
9817 if test "$hardcode_direct" != no &&
9818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9819 # have to relink, otherwise we might link with an installed library
9820 # when we should be linking with a yet-to-be-installed one
9821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9822 test "$hardcode_minus_L" != no; then
9823 # Linking always hardcodes the temporary library directory.
9824 hardcode_action=relink
9825 else
9826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9827 hardcode_action=immediate
9829 else
9830 # We cannot hardcode anything, or else we can only hardcode existing
9831 # directories.
9832 hardcode_action=unsupported
9834 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9835 echo "${ECHO_T}$hardcode_action" >&6
9837 if test "$hardcode_action" = relink ||
9838 test "$inherit_rpath" = yes; then
9839 # Fast installation is not supported
9840 enable_fast_install=no
9841 elif test "$shlibpath_overrides_runpath" = yes ||
9842 test "$enable_shared" = no; then
9843 # Fast installation is not necessary
9844 enable_fast_install=needless
9852 if test "x$enable_dlopen" != xyes; then
9853 enable_dlopen=unknown
9854 enable_dlopen_self=unknown
9855 enable_dlopen_self_static=unknown
9856 else
9857 lt_cv_dlopen=no
9858 lt_cv_dlopen_libs=
9860 case $host_os in
9861 beos*)
9862 lt_cv_dlopen="load_add_on"
9863 lt_cv_dlopen_libs=
9864 lt_cv_dlopen_self=yes
9867 mingw* | pw32*)
9868 lt_cv_dlopen="LoadLibrary"
9869 lt_cv_dlopen_libs=
9872 cygwin*)
9873 lt_cv_dlopen="dlopen"
9874 lt_cv_dlopen_libs=
9877 darwin*)
9878 # if libdl is installed we need to link against it
9879 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 else
9884 ac_check_lib_save_LIBS=$LIBS
9885 LIBS="-ldl $LIBS"
9886 if test x$gcc_no_link = xyes; then
9887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9889 { (exit 1); exit 1; }; }
9891 cat >conftest.$ac_ext <<_ACEOF
9892 /* confdefs.h. */
9893 _ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9898 /* Override any gcc2 internal prototype to avoid an error. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9904 char dlopen ();
9906 main ()
9908 dlopen ();
9910 return 0;
9912 _ACEOF
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_lib_dl_dlopen=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 ac_cv_lib_dl_dlopen=no
9942 rm -f conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9946 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9948 if test $ac_cv_lib_dl_dlopen = yes; then
9949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9950 else
9952 lt_cv_dlopen="dyld"
9953 lt_cv_dlopen_libs=
9954 lt_cv_dlopen_self=yes
9961 echo "$as_me:$LINENO: checking for shl_load" >&5
9962 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9963 if test "${ac_cv_func_shl_load+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define shl_load innocuous_shl_load
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char shl_load (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9992 #undef shl_load
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char shl_load ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10006 choke me
10007 #else
10008 char (*f) () = shl_load;
10009 #endif
10010 #ifdef __cplusplus
10012 #endif
10015 main ()
10017 return f != shl_load;
10019 return 0;
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 ac_cv_func_shl_load=yes
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10049 ac_cv_func_shl_load=no
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10054 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10055 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10056 if test $ac_cv_func_shl_load = yes; then
10057 lt_cv_dlopen="shl_load"
10058 else
10059 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10060 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-ldld $LIBS"
10066 if test x$gcc_no_link = xyes; then
10067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10069 { (exit 1); exit 1; }; }
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10078 /* Override any gcc2 internal prototype to avoid an error. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 /* We use char because int might match the return type of a gcc2
10083 builtin and then its argument prototype would still apply. */
10084 char shl_load ();
10086 main ()
10088 shl_load ();
10090 return 0;
10092 _ACEOF
10093 rm -f conftest.$ac_objext conftest$ac_exeext
10094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10095 (eval $ac_link) 2>conftest.er1
10096 ac_status=$?
10097 grep -v '^ *+' conftest.er1 >conftest.err
10098 rm -f conftest.er1
10099 cat conftest.err >&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } &&
10102 { ac_try='test -z "$ac_c_werror_flag"
10103 || test ! -s conftest.err'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; } &&
10109 { ac_try='test -s conftest$ac_exeext'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; }; then
10115 ac_cv_lib_dld_shl_load=yes
10116 else
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10120 ac_cv_lib_dld_shl_load=no
10122 rm -f conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10128 if test $ac_cv_lib_dld_shl_load = yes; then
10129 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10130 else
10131 echo "$as_me:$LINENO: checking for dlopen" >&5
10132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10133 if test "${ac_cv_func_dlopen+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 if test x$gcc_no_link = xyes; then
10137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10139 { (exit 1); exit 1; }; }
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10147 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10149 #define dlopen innocuous_dlopen
10151 /* System header to define __stub macros and hopefully few prototypes,
10152 which can conflict with char dlopen (); below.
10153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10154 <limits.h> exists even on freestanding compilers. */
10156 #ifdef __STDC__
10157 # include <limits.h>
10158 #else
10159 # include <assert.h>
10160 #endif
10162 #undef dlopen
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10168 #endif
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char dlopen ();
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10176 choke me
10177 #else
10178 char (*f) () = dlopen;
10179 #endif
10180 #ifdef __cplusplus
10182 #endif
10185 main ()
10187 return f != dlopen;
10189 return 0;
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10195 ac_status=$?
10196 grep -v '^ *+' conftest.er1 >conftest.err
10197 rm -f conftest.er1
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_func_dlopen=yes
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10219 ac_cv_func_dlopen=no
10221 rm -f conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10224 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10225 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10226 if test $ac_cv_func_dlopen = yes; then
10227 lt_cv_dlopen="dlopen"
10228 else
10229 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10230 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-ldl $LIBS"
10236 if test x$gcc_no_link = xyes; then
10237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10239 { (exit 1); exit 1; }; }
10241 cat >conftest.$ac_ext <<_ACEOF
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10254 char dlopen ();
10256 main ()
10258 dlopen ();
10260 return 0;
10262 _ACEOF
10263 rm -f conftest.$ac_objext conftest$ac_exeext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try='test -z "$ac_c_werror_flag"
10273 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10276 ac_status=$?
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_cv_lib_dl_dlopen=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_dl_dlopen=no
10292 rm -f conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10297 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10298 if test $ac_cv_lib_dl_dlopen = yes; then
10299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10300 else
10301 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10302 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10303 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lsvld $LIBS"
10308 if test x$gcc_no_link = xyes; then
10309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10311 { (exit 1); exit 1; }; }
10313 cat >conftest.$ac_ext <<_ACEOF
10314 /* confdefs.h. */
10315 _ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10320 /* Override any gcc2 internal prototype to avoid an error. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char dlopen ();
10328 main ()
10330 dlopen ();
10332 return 0;
10334 _ACEOF
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10338 ac_status=$?
10339 grep -v '^ *+' conftest.er1 >conftest.err
10340 rm -f conftest.er1
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_lib_svld_dlopen=yes
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_cv_lib_svld_dlopen=no
10364 rm -f conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10369 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10370 if test $ac_cv_lib_svld_dlopen = yes; then
10371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10372 else
10373 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10374 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10375 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-ldld $LIBS"
10380 if test x$gcc_no_link = xyes; then
10381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10383 { (exit 1); exit 1; }; }
10385 cat >conftest.$ac_ext <<_ACEOF
10386 /* confdefs.h. */
10387 _ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10392 /* Override any gcc2 internal prototype to avoid an error. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 /* We use char because int might match the return type of a gcc2
10397 builtin and then its argument prototype would still apply. */
10398 char dld_link ();
10400 main ()
10402 dld_link ();
10404 return 0;
10406 _ACEOF
10407 rm -f conftest.$ac_objext conftest$ac_exeext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10409 (eval $ac_link) 2>conftest.er1
10410 ac_status=$?
10411 grep -v '^ *+' conftest.er1 >conftest.err
10412 rm -f conftest.er1
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_lib_dld_dld_link=yes
10430 else
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10434 ac_cv_lib_dld_dld_link=no
10436 rm -f conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_lib_save_LIBS
10440 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10441 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10442 if test $ac_cv_lib_dld_dld_link = yes; then
10443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10462 esac
10464 if test "x$lt_cv_dlopen" != xno; then
10465 enable_dlopen=yes
10466 else
10467 enable_dlopen=no
10470 case $lt_cv_dlopen in
10471 dlopen)
10472 save_CPPFLAGS="$CPPFLAGS"
10473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10475 save_LDFLAGS="$LDFLAGS"
10476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10478 save_LIBS="$LIBS"
10479 LIBS="$lt_cv_dlopen_libs $LIBS"
10481 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10482 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10483 if test "${lt_cv_dlopen_self+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test "$cross_compiling" = yes; then :
10487 lt_cv_dlopen_self=cross
10488 else
10489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10490 lt_status=$lt_dlunknown
10491 cat > conftest.$ac_ext <<_LT_EOF
10492 #line 10492 "configure"
10493 #include "confdefs.h"
10495 #if HAVE_DLFCN_H
10496 #include <dlfcn.h>
10497 #endif
10499 #include <stdio.h>
10501 #ifdef RTLD_GLOBAL
10502 # define LT_DLGLOBAL RTLD_GLOBAL
10503 #else
10504 # ifdef DL_GLOBAL
10505 # define LT_DLGLOBAL DL_GLOBAL
10506 # else
10507 # define LT_DLGLOBAL 0
10508 # endif
10509 #endif
10511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10512 find out it does not work in some platform. */
10513 #ifndef LT_DLLAZY_OR_NOW
10514 # ifdef RTLD_LAZY
10515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10516 # else
10517 # ifdef DL_LAZY
10518 # define LT_DLLAZY_OR_NOW DL_LAZY
10519 # else
10520 # ifdef RTLD_NOW
10521 # define LT_DLLAZY_OR_NOW RTLD_NOW
10522 # else
10523 # ifdef DL_NOW
10524 # define LT_DLLAZY_OR_NOW DL_NOW
10525 # else
10526 # define LT_DLLAZY_OR_NOW 0
10527 # endif
10528 # endif
10529 # endif
10530 # endif
10531 #endif
10533 #ifdef __cplusplus
10534 extern "C" void exit (int);
10535 #endif
10537 void fnord() { int i=42;}
10538 int main ()
10540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10541 int status = $lt_dlunknown;
10543 if (self)
10545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10546 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10547 /* dlclose (self); */
10549 else
10550 puts (dlerror ());
10552 exit (status);
10554 _LT_EOF
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10557 ac_status=$?
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10560 (./conftest; exit; ) >&5 2>/dev/null
10561 lt_status=$?
10562 case x$lt_status in
10563 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10564 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10565 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10566 esac
10567 else :
10568 # compilation failed
10569 lt_cv_dlopen_self=no
10572 rm -fr conftest*
10576 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10577 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10579 if test "x$lt_cv_dlopen_self" = xyes; then
10580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10581 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10582 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10583 if test "${lt_cv_dlopen_self_static+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 else
10586 if test "$cross_compiling" = yes; then :
10587 lt_cv_dlopen_self_static=cross
10588 else
10589 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10590 lt_status=$lt_dlunknown
10591 cat > conftest.$ac_ext <<_LT_EOF
10592 #line 10592 "configure"
10593 #include "confdefs.h"
10595 #if HAVE_DLFCN_H
10596 #include <dlfcn.h>
10597 #endif
10599 #include <stdio.h>
10601 #ifdef RTLD_GLOBAL
10602 # define LT_DLGLOBAL RTLD_GLOBAL
10603 #else
10604 # ifdef DL_GLOBAL
10605 # define LT_DLGLOBAL DL_GLOBAL
10606 # else
10607 # define LT_DLGLOBAL 0
10608 # endif
10609 #endif
10611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10612 find out it does not work in some platform. */
10613 #ifndef LT_DLLAZY_OR_NOW
10614 # ifdef RTLD_LAZY
10615 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10616 # else
10617 # ifdef DL_LAZY
10618 # define LT_DLLAZY_OR_NOW DL_LAZY
10619 # else
10620 # ifdef RTLD_NOW
10621 # define LT_DLLAZY_OR_NOW RTLD_NOW
10622 # else
10623 # ifdef DL_NOW
10624 # define LT_DLLAZY_OR_NOW DL_NOW
10625 # else
10626 # define LT_DLLAZY_OR_NOW 0
10627 # endif
10628 # endif
10629 # endif
10630 # endif
10631 #endif
10633 #ifdef __cplusplus
10634 extern "C" void exit (int);
10635 #endif
10637 void fnord() { int i=42;}
10638 int main ()
10640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10641 int status = $lt_dlunknown;
10643 if (self)
10645 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10646 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10647 /* dlclose (self); */
10649 else
10650 puts (dlerror ());
10652 exit (status);
10654 _LT_EOF
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10660 (./conftest; exit; ) >&5 2>/dev/null
10661 lt_status=$?
10662 case x$lt_status in
10663 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10664 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10665 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10666 esac
10667 else :
10668 # compilation failed
10669 lt_cv_dlopen_self_static=no
10672 rm -fr conftest*
10676 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10677 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10680 CPPFLAGS="$save_CPPFLAGS"
10681 LDFLAGS="$save_LDFLAGS"
10682 LIBS="$save_LIBS"
10684 esac
10686 case $lt_cv_dlopen_self in
10687 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10688 *) enable_dlopen_self=unknown ;;
10689 esac
10691 case $lt_cv_dlopen_self_static in
10692 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10693 *) enable_dlopen_self_static=unknown ;;
10694 esac
10713 striplib=
10714 old_striplib=
10715 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10716 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10717 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10718 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10719 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10722 else
10723 # FIXME - insert some real tests, host_os isn't really good enough
10724 case $host_os in
10725 darwin*)
10726 if test -n "$STRIP" ; then
10727 striplib="$STRIP -x"
10728 old_striplib="$STRIP -S"
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10740 esac
10754 # Report which library types will actually be built
10755 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10756 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10757 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10758 echo "${ECHO_T}$can_build_shared" >&6
10760 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10761 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10762 test "$can_build_shared" = "no" && enable_shared=no
10764 # On AIX, shared libraries and static libraries use the same namespace, and
10765 # are all built from PIC.
10766 case $host_os in
10767 aix3*)
10768 test "$enable_shared" = yes && enable_static=no
10769 if test -n "$RANLIB"; then
10770 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10771 postinstall_cmds='$RANLIB $lib'
10775 aix4* | aix5*)
10776 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10777 test "$enable_shared" = yes && enable_static=no
10780 esac
10781 echo "$as_me:$LINENO: result: $enable_shared" >&5
10782 echo "${ECHO_T}$enable_shared" >&6
10784 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10785 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10786 # Make sure either enable_shared or enable_static is yes.
10787 test "$enable_shared" = yes || enable_static=yes
10788 echo "$as_me:$LINENO: result: $enable_static" >&5
10789 echo "${ECHO_T}$enable_static" >&6
10795 ac_ext=c
10796 ac_cpp='$CPP $CPPFLAGS'
10797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10801 CC="$lt_save_CC"
10804 ac_ext=cc
10805 ac_cpp='$CXXCPP $CPPFLAGS'
10806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10810 archive_cmds_need_lc_CXX=no
10811 allow_undefined_flag_CXX=
10812 always_export_symbols_CXX=no
10813 archive_expsym_cmds_CXX=
10814 compiler_needs_object_CXX=no
10815 export_dynamic_flag_spec_CXX=
10816 hardcode_direct_CXX=no
10817 hardcode_direct_absolute_CXX=no
10818 hardcode_libdir_flag_spec_CXX=
10819 hardcode_libdir_flag_spec_ld_CXX=
10820 hardcode_libdir_separator_CXX=
10821 hardcode_minus_L_CXX=no
10822 hardcode_shlibpath_var_CXX=unsupported
10823 hardcode_automatic_CXX=no
10824 inherit_rpath_CXX=no
10825 module_cmds_CXX=
10826 module_expsym_cmds_CXX=
10827 link_all_deplibs_CXX=unknown
10828 old_archive_cmds_CXX=$old_archive_cmds
10829 no_undefined_flag_CXX=
10830 whole_archive_flag_spec_CXX=
10831 enable_shared_with_static_runtimes_CXX=no
10833 # Source file extension for C++ test sources.
10834 ac_ext=cpp
10836 # Object file extension for compiled C++ test sources.
10837 objext=o
10838 objext_CXX=$objext
10840 # No sense in running all these tests if we already determined that
10841 # the CXX compiler isn't working. Some variables (like enable_shared)
10842 # are currently assumed to apply to all compilers on this platform,
10843 # and will be corrupted by setting them based on a non-working compiler.
10844 if test "$_lt_caught_CXX_error" != yes; then
10845 # Code to be used in simple compile tests
10846 lt_simple_compile_test_code="int some_variable = 0;"
10848 # Code to be used in simple link tests
10849 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10851 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10858 # If no C compiler was specified, use CC.
10859 LTCC=${LTCC-"$CC"}
10861 # If no C compiler flags were specified, use CFLAGS.
10862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10864 # Allow CC to be a program name with arguments.
10865 compiler=$CC
10868 # save warnings/boilerplate of simple test code
10869 ac_outfile=conftest.$ac_objext
10870 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10871 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10872 _lt_compiler_boilerplate=`cat conftest.err`
10873 $RM conftest*
10875 ac_outfile=conftest.$ac_objext
10876 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10877 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10878 _lt_linker_boilerplate=`cat conftest.err`
10879 $RM conftest*
10882 # Allow CC to be a program name with arguments.
10883 lt_save_CC=$CC
10884 lt_save_LD=$LD
10885 lt_save_GCC=$GCC
10886 GCC=$GXX
10887 lt_save_with_gnu_ld=$with_gnu_ld
10888 lt_save_path_LD=$lt_cv_path_LD
10889 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10890 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10891 else
10892 $as_unset lt_cv_prog_gnu_ld
10894 if test -n "${lt_cv_path_LDCXX+set}"; then
10895 lt_cv_path_LD=$lt_cv_path_LDCXX
10896 else
10897 $as_unset lt_cv_path_LD
10899 test -z "${LDCXX+set}" || LD=$LDCXX
10900 CC=${CXX-"c++"}
10901 compiler=$CC
10902 compiler_CXX=$CC
10903 for cc_temp in $compiler""; do
10904 case $cc_temp in
10905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10907 \-*) ;;
10908 *) break;;
10909 esac
10910 done
10911 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10914 if test -n "$compiler"; then
10915 # We don't want -fno-exception when compiling C++ code, so set the
10916 # no_builtin_flag separately
10917 if test "$GXX" = yes; then
10918 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10919 else
10920 lt_prog_compiler_no_builtin_flag_CXX=
10923 if test "$GXX" = yes; then
10924 # Set up default GNU C++ configuration
10928 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10929 if test "${with_gnu_ld+set}" = set; then
10930 withval="$with_gnu_ld"
10931 test "$withval" = no || with_gnu_ld=yes
10932 else
10933 with_gnu_ld=no
10935 ac_prog=ld
10936 if test "$GCC" = yes; then
10937 # Check if gcc -print-prog-name=ld gives a path.
10938 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10939 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10940 case $host in
10941 *-*-mingw*)
10942 # gcc leaves a trailing carriage return which upsets mingw
10943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10946 esac
10947 case $ac_prog in
10948 # Accept absolute paths.
10949 [\\/]* | ?:[\\/]*)
10950 re_direlt='/[^/][^/]*/\.\./'
10951 # Canonicalize the pathname of ld
10952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10955 done
10956 test -z "$LD" && LD="$ac_prog"
10959 # If it fails, then pretend we aren't using GCC.
10960 ac_prog=ld
10963 # If it is relative, then search for the first ld in PATH.
10964 with_gnu_ld=unknown
10966 esac
10967 elif test "$with_gnu_ld" = yes; then
10968 echo "$as_me:$LINENO: checking for GNU ld" >&5
10969 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10970 else
10971 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10972 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10974 if test "${lt_cv_path_LD+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 if test -z "$LD"; then
10978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10979 for ac_dir in $PATH; do
10980 IFS="$lt_save_ifs"
10981 test -z "$ac_dir" && ac_dir=.
10982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10983 lt_cv_path_LD="$ac_dir/$ac_prog"
10984 # Check to see if the program is GNU ld. I'd rather use --version,
10985 # but apparently some variants of GNU ld only accept -v.
10986 # Break only if it was the GNU/non-GNU ld that we prefer.
10987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10988 *GNU* | *'with BFD'*)
10989 test "$with_gnu_ld" != no && break
10992 test "$with_gnu_ld" != yes && break
10994 esac
10996 done
10997 IFS="$lt_save_ifs"
10998 else
10999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11003 LD="$lt_cv_path_LD"
11004 if test -n "$LD"; then
11005 echo "$as_me:$LINENO: result: $LD" >&5
11006 echo "${ECHO_T}$LD" >&6
11007 else
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11011 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11012 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11013 { (exit 1); exit 1; }; }
11014 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11015 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11016 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else
11019 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11020 case `$LD -v 2>&1 </dev/null` in
11021 *GNU* | *'with BFD'*)
11022 lt_cv_prog_gnu_ld=yes
11025 lt_cv_prog_gnu_ld=no
11027 esac
11029 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11030 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11031 with_gnu_ld=$lt_cv_prog_gnu_ld
11039 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11040 # archiving commands below assume that GNU ld is being used.
11041 if test "$with_gnu_ld" = yes; then
11042 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11045 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11046 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11048 # If archive_cmds runs LD, not CC, wlarc should be empty
11049 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11050 # investigate it a little bit more. (MM)
11051 wlarc='${wl}'
11053 # ancient GNU ld didn't support --whole-archive et. al.
11054 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11055 $GREP 'no-whole-archive' > /dev/null; then
11056 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11057 else
11058 whole_archive_flag_spec_CXX=
11060 else
11061 with_gnu_ld=no
11062 wlarc=
11064 # A generic and very simple default shared library creation
11065 # command for GNU C++ for the case where it uses the native
11066 # linker, instead of GNU ld. If possible, this setting should
11067 # overridden to take advantage of the native linker features on
11068 # the platform it is being used on.
11069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11072 # Commands to make compiler produce verbose output that lists
11073 # what "hidden" libraries, object files and flags are used when
11074 # linking a shared library.
11075 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11077 else
11078 GXX=no
11079 with_gnu_ld=no
11080 wlarc=
11083 # PORTME: fill in a description of your system's C++ link characteristics
11084 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11085 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11086 ld_shlibs_CXX=yes
11087 case $host_os in
11088 aix3*)
11089 # FIXME: insert proper C++ library support
11090 ld_shlibs_CXX=no
11092 aix4* | aix5*)
11093 if test "$host_cpu" = ia64; then
11094 # On IA64, the linker does run time linking by default, so we don't
11095 # have to do anything special.
11096 aix_use_runtimelinking=no
11097 exp_sym_flag='-Bexport'
11098 no_entry_flag=""
11099 else
11100 aix_use_runtimelinking=no
11102 # Test if we are trying to use run time linking or normal
11103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11104 # need to do runtime linking.
11105 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11106 for ld_flag in $LDFLAGS; do
11107 case $ld_flag in
11108 *-brtl*)
11109 aix_use_runtimelinking=yes
11110 break
11112 esac
11113 done
11115 esac
11117 exp_sym_flag='-bexport'
11118 no_entry_flag='-bnoentry'
11121 # When large executables or shared objects are built, AIX ld can
11122 # have problems creating the table of contents. If linking a library
11123 # or program results in "error TOC overflow" add -mminimal-toc to
11124 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11125 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11127 archive_cmds_CXX=''
11128 hardcode_direct_CXX=yes
11129 hardcode_direct_absolute_CXX=yes
11130 hardcode_libdir_separator_CXX=':'
11131 link_all_deplibs_CXX=yes
11132 file_list_spec_CXX='${wl}-f,'
11134 if test "$GXX" = yes; then
11135 case $host_os in aix4.[012]|aix4.[012].*)
11136 # We only want to do this on AIX 4.2 and lower, the check
11137 # below for broken collect2 doesn't work under 4.3+
11138 collect2name=`${CC} -print-prog-name=collect2`
11139 if test -f "$collect2name" &&
11140 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11141 then
11142 # We have reworked collect2
11144 else
11145 # We have old collect2
11146 hardcode_direct_CXX=unsupported
11147 # It fails to find uninstalled libraries when the uninstalled
11148 # path is not listed in the libpath. Setting hardcode_minus_L
11149 # to unsupported forces relinking
11150 hardcode_minus_L_CXX=yes
11151 hardcode_libdir_flag_spec_CXX='-L$libdir'
11152 hardcode_libdir_separator_CXX=
11154 esac
11155 shared_flag='-shared'
11156 if test "$aix_use_runtimelinking" = yes; then
11157 shared_flag="$shared_flag "'${wl}-G'
11159 else
11160 # not using gcc
11161 if test "$host_cpu" = ia64; then
11162 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11163 # chokes on -Wl,-G. The following line is correct:
11164 shared_flag='-G'
11165 else
11166 if test "$aix_use_runtimelinking" = yes; then
11167 shared_flag='${wl}-G'
11168 else
11169 shared_flag='${wl}-bM:SRE'
11174 # It seems that -bexpall does not export symbols beginning with
11175 # underscore (_), so it is better to generate a list of symbols to
11176 # export.
11177 always_export_symbols_CXX=yes
11178 if test "$aix_use_runtimelinking" = yes; then
11179 # Warning - without using the other runtime loading flags (-brtl),
11180 # -berok will link without error, but may produce a broken library.
11181 allow_undefined_flag_CXX='-berok'
11182 # Determine the default libpath from the value encoded in an empty
11183 # executable.
11184 if test x$gcc_no_link = xyes; then
11185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11187 { (exit 1); exit 1; }; }
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11197 main ()
11201 return 0;
11203 _ACEOF
11204 rm -f conftest.$ac_objext conftest$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11207 ac_status=$?
11208 grep -v '^ *+' conftest.er1 >conftest.err
11209 rm -f conftest.er1
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try='test -z "$ac_cxx_werror_flag"
11214 || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11217 ac_status=$?
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try='test -s conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11227 lt_aix_libpath_sed='
11228 /Import File Strings/,/^$/ {
11229 /^0/ {
11230 s/^0 *\(.*\)$/\1/
11234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11235 # Check for a 64-bit object if we didn't find anything.
11236 if test -z "$aix_libpath"; then
11237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11244 rm -f conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11248 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11250 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11251 else
11252 if test "$host_cpu" = ia64; then
11253 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11254 allow_undefined_flag_CXX="-z nodefs"
11255 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11256 else
11257 # Determine the default libpath from the value encoded in an
11258 # empty executable.
11259 if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11272 main ()
11276 return 0;
11278 _ACEOF
11279 rm -f conftest.$ac_objext conftest$ac_exeext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281 (eval $ac_link) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_cxx_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest$ac_exeext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11302 lt_aix_libpath_sed='
11303 /Import File Strings/,/^$/ {
11304 /^0/ {
11305 s/^0 *\(.*\)$/\1/
11309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11310 # Check for a 64-bit object if we didn't find anything.
11311 if test -z "$aix_libpath"; then
11312 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11319 rm -f conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11323 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11324 # Warning - without using the other run time loading flags,
11325 # -berok will link without error, but may produce a broken library.
11326 no_undefined_flag_CXX=' ${wl}-bernotok'
11327 allow_undefined_flag_CXX=' ${wl}-berok'
11328 # Exported symbols can be pulled into shared objects from archives
11329 whole_archive_flag_spec_CXX='$convenience'
11330 archive_cmds_need_lc_CXX=yes
11331 # This is similar to how AIX traditionally builds its shared
11332 # libraries.
11333 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11338 beos*)
11339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11340 allow_undefined_flag_CXX=unsupported
11341 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11342 # support --undefined. This deserves some investigation. FIXME
11343 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11344 else
11345 ld_shlibs_CXX=no
11349 chorus*)
11350 case $cc_basename in
11352 # FIXME: insert proper C++ library support
11353 ld_shlibs_CXX=no
11355 esac
11358 cygwin* | mingw* | pw32*)
11359 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11360 # as there is no search path for DLLs.
11361 hardcode_libdir_flag_spec_CXX='-L$libdir'
11362 allow_undefined_flag_CXX=unsupported
11363 always_export_symbols_CXX=no
11364 enable_shared_with_static_runtimes_CXX=yes
11366 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11367 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11368 # If the export-symbols file already is a .def file (1st line
11369 # is EXPORTS), use it as is; otherwise, prepend...
11370 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11371 cp $export_symbols $output_objdir/$soname.def;
11372 else
11373 echo EXPORTS > $output_objdir/$soname.def;
11374 cat $export_symbols >> $output_objdir/$soname.def;
11376 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11377 else
11378 ld_shlibs_CXX=no
11381 darwin* | rhapsody*)
11382 case $host_os in
11383 rhapsody* | darwin1.[012])
11384 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11386 *) # Darwin 1.3 on
11387 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11388 10.[012])
11389 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11391 10.*)
11392 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11394 esac
11396 esac
11397 archive_cmds_need_lc_CXX=no
11398 hardcode_direct_CXX=no
11399 hardcode_automatic_CXX=yes
11400 hardcode_shlibpath_var_CXX=unsupported
11401 whole_archive_flag_spec_CXX=''
11402 link_all_deplibs_CXX=yes
11404 if test "$GXX" = yes ; then
11405 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 else
11408 lt_cv_apple_cc_single_mod=no
11409 if test -z "${LT_MULTI_MODULE}"; then
11410 # By default we will add the -single_module flag. You can override
11411 # by either setting the environment variable LT_MULTI_MODULE
11412 # non-empty at configure time, or by adding -multi-module to the
11413 # link flags.
11414 echo "int foo(void){return 1;}" > conftest.c
11415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11416 -dynamiclib ${wl}-single_module conftest.c
11417 if test -f libconftest.dylib; then
11418 lt_cv_apple_cc_single_mod=yes
11419 rm libconftest.dylib
11421 rm conftest.$ac_ext
11425 output_verbose_link_cmd=echo
11426 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11427 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11428 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11429 else
11430 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11431 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11433 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11434 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11435 else
11436 case $cc_basename in
11437 xlc*)
11438 output_verbose_link_cmd=echo
11439 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11440 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11441 # Don't fix this by using the ld -exported_symbols_list flag,
11442 # it doesn't exist in older darwin lds
11443 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11444 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11447 ld_shlibs_CXX=no
11449 esac
11453 dgux*)
11454 case $cc_basename in
11455 ec++*)
11456 # FIXME: insert proper C++ library support
11457 ld_shlibs_CXX=no
11459 ghcx*)
11460 # Green Hills C++ Compiler
11461 # FIXME: insert proper C++ library support
11462 ld_shlibs_CXX=no
11465 # FIXME: insert proper C++ library support
11466 ld_shlibs_CXX=no
11468 esac
11471 freebsd[12]*)
11472 # C++ shared libraries reported to be fairly broken before
11473 # switch to ELF
11474 ld_shlibs_CXX=no
11477 freebsd-elf*)
11478 archive_cmds_need_lc_CXX=no
11481 freebsd* | dragonfly*)
11482 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11483 # conventions
11484 ld_shlibs_CXX=yes
11487 gnu*)
11490 hpux9*)
11491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11492 hardcode_libdir_separator_CXX=:
11493 export_dynamic_flag_spec_CXX='${wl}-E'
11494 hardcode_direct_CXX=yes
11495 hardcode_minus_L_CXX=yes # Not in the search PATH,
11496 # but as the default
11497 # location of the library.
11499 case $cc_basename in
11500 CC*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11504 aCC*)
11505 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11506 # Commands to make compiler produce verbose output that lists
11507 # what "hidden" libraries, object files and flags are used when
11508 # linking a shared library.
11510 # There doesn't appear to be a way to prevent this compiler from
11511 # explicitly linking system object files so we need to strip them
11512 # from the output so that they don't get included in the library
11513 # dependencies.
11514 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11517 if test "$GXX" = yes; then
11518 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11519 else
11520 # FIXME: insert proper C++ library support
11521 ld_shlibs_CXX=no
11524 esac
11527 hpux10*|hpux11*)
11528 if test $with_gnu_ld = no; then
11529 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11530 hardcode_libdir_separator_CXX=:
11532 case $host_cpu in
11533 hppa*64*|ia64*)
11536 export_dynamic_flag_spec_CXX='${wl}-E'
11538 esac
11540 case $host_cpu in
11541 hppa*64*|ia64*)
11542 hardcode_direct_CXX=no
11543 hardcode_shlibpath_var_CXX=no
11546 hardcode_direct_CXX=yes
11547 hardcode_direct_absolute_CXX=yes
11548 hardcode_minus_L_CXX=yes # Not in the search PATH,
11549 # but as the default
11550 # location of the library.
11552 esac
11554 case $cc_basename in
11555 CC*)
11556 # FIXME: insert proper C++ library support
11557 ld_shlibs_CXX=no
11559 aCC*)
11560 case $host_cpu in
11561 hppa*64*)
11562 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11564 ia64*)
11565 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11568 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11570 esac
11571 # Commands to make compiler produce verbose output that lists
11572 # what "hidden" libraries, object files and flags are used when
11573 # linking a shared library.
11575 # There doesn't appear to be a way to prevent this compiler from
11576 # explicitly linking system object files so we need to strip them
11577 # from the output so that they don't get included in the library
11578 # dependencies.
11579 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11582 if test "$GXX" = yes; then
11583 if test $with_gnu_ld = no; then
11584 case $host_cpu in
11585 hppa*64*)
11586 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11588 ia64*)
11589 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11592 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11594 esac
11596 else
11597 # FIXME: insert proper C++ library support
11598 ld_shlibs_CXX=no
11601 esac
11604 interix[3-9]*)
11605 hardcode_direct_CXX=no
11606 hardcode_shlibpath_var_CXX=no
11607 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11608 export_dynamic_flag_spec_CXX='${wl}-E'
11609 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11610 # Instead, shared libraries are loaded at an image base (0x10000000 by
11611 # default) and relocated if they conflict, which is a slow very memory
11612 # consuming and fragmenting process. To avoid this, we pick a random,
11613 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11614 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11615 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11616 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11618 irix5* | irix6*)
11619 case $cc_basename in
11620 CC*)
11621 # SGI C++
11622 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11624 # Archives containing C++ object files must be created using
11625 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11626 # necessary to make sure instantiated templates are included
11627 # in the archive.
11628 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11631 if test "$GXX" = yes; then
11632 if test "$with_gnu_ld" = no; then
11633 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11634 else
11635 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11638 link_all_deplibs_CXX=yes
11640 esac
11641 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11642 hardcode_libdir_separator_CXX=:
11643 inherit_rpath_CXX=yes
11646 linux* | k*bsd*-gnu)
11647 case $cc_basename in
11648 KCC*)
11649 # Kuck and Associates, Inc. (KAI) C++ Compiler
11651 # KCC will only create a shared library if the output file
11652 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11653 # to its proper name (with version) after linking.
11654 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11655 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11656 # Commands to make compiler produce verbose output that lists
11657 # what "hidden" libraries, object files and flags are used when
11658 # linking a shared library.
11660 # There doesn't appear to be a way to prevent this compiler from
11661 # explicitly linking system object files so we need to strip them
11662 # from the output so that they don't get included in the library
11663 # dependencies.
11664 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11667 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11669 # Archives containing C++ object files must be created using
11670 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11671 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11673 icpc* | ecpc* )
11674 # Intel C++
11675 with_gnu_ld=yes
11676 # version 8.0 and above of icpc choke on multiply defined symbols
11677 # if we add $predep_objects and $postdep_objects, however 7.1 and
11678 # earlier do not add the objects themselves.
11679 case `$CC -V 2>&1` in
11680 *"Version 7."*)
11681 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11682 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11684 *) # Version 8.0 or newer
11685 tmp_idyn=
11686 case $host_cpu in
11687 ia64*) tmp_idyn=' -i_dynamic';;
11688 esac
11689 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11690 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11692 esac
11693 archive_cmds_need_lc_CXX=no
11694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11695 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11696 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11698 pgCC*)
11699 # Portland Group C++ compiler
11700 case `$CC -V` in
11701 *pgCC\ [1-5]*)
11702 prelink_cmds_CXX='tpldir=Template.dir~
11703 rm -rf $tpldir~
11704 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11705 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11706 old_archive_cmds_CXX='tpldir=Template.dir~
11707 rm -rf $tpldir~
11708 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11709 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11710 $RANLIB $oldlib'
11711 archive_cmds_CXX='tpldir=Template.dir~
11712 rm -rf $tpldir~
11713 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11714 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11715 archive_expsym_cmds_CXX='tpldir=Template.dir~
11716 rm -rf $tpldir~
11717 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11718 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11720 *) # Version 6 will use weak symbols
11721 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11722 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11724 esac
11726 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11728 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11730 cxx*)
11731 # Compaq C++
11732 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11735 runpath_var=LD_RUN_PATH
11736 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11737 hardcode_libdir_separator_CXX=:
11739 # Commands to make compiler produce verbose output that lists
11740 # what "hidden" libraries, object files and flags are used when
11741 # linking a shared library.
11743 # There doesn't appear to be a way to prevent this compiler from
11744 # explicitly linking system object files so we need to strip them
11745 # from the output so that they don't get included in the library
11746 # dependencies.
11747 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11750 case `$CC -V 2>&1 | sed 5q` in
11751 *Sun\ C*)
11752 # Sun C++ 5.9
11753 no_undefined_flag_CXX=' -zdefs'
11754 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11755 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11756 hardcode_libdir_flag_spec_CXX='-R$libdir'
11757 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11758 compiler_needs_object_CXX=yes
11760 # Not sure whether something based on
11761 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11762 # would be better.
11763 output_verbose_link_cmd='echo'
11765 # Archives containing C++ object files must be created using
11766 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11767 # necessary to make sure instantiated templates are included
11768 # in the archive.
11769 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11771 esac
11773 esac
11776 lynxos*)
11777 # FIXME: insert proper C++ library support
11778 ld_shlibs_CXX=no
11781 m88k*)
11782 # FIXME: insert proper C++ library support
11783 ld_shlibs_CXX=no
11786 mvs*)
11787 case $cc_basename in
11788 cxx*)
11789 # FIXME: insert proper C++ library support
11790 ld_shlibs_CXX=no
11793 # FIXME: insert proper C++ library support
11794 ld_shlibs_CXX=no
11796 esac
11799 netbsd*)
11800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11801 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11802 wlarc=
11803 hardcode_libdir_flag_spec_CXX='-R$libdir'
11804 hardcode_direct_CXX=yes
11805 hardcode_shlibpath_var_CXX=no
11807 # Workaround some broken pre-1.5 toolchains
11808 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11811 *nto* | *qnx*)
11812 ld_shlibs_CXX=yes
11815 openbsd2*)
11816 # C++ shared libraries are fairly broken
11817 ld_shlibs_CXX=no
11820 openbsd*)
11821 hardcode_direct_CXX=yes
11822 hardcode_shlibpath_var_CXX=no
11823 hardcode_direct_absolute_CXX=yes
11824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11828 export_dynamic_flag_spec_CXX='${wl}-E'
11829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11831 output_verbose_link_cmd=echo
11834 osf3* | osf4* | osf5*)
11835 case $cc_basename in
11836 KCC*)
11837 # Kuck and Associates, Inc. (KAI) C++ Compiler
11839 # KCC will only create a shared library if the output file
11840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11841 # to its proper name (with version) after linking.
11842 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11844 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11845 hardcode_libdir_separator_CXX=:
11847 # Archives containing C++ object files must be created using
11848 # the KAI C++ compiler.
11849 case $host in
11850 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11851 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11852 esac
11854 RCC*)
11855 # Rational C++ 2.4.1
11856 # FIXME: insert proper C++ library support
11857 ld_shlibs_CXX=no
11859 cxx*)
11860 case $host in
11861 osf3*)
11862 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11863 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11867 allow_undefined_flag_CXX=' -expect_unresolved \*'
11868 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11869 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11870 echo "-hidden">> $lib.exp~
11871 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11872 $RM $lib.exp'
11873 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11875 esac
11877 hardcode_libdir_separator_CXX=:
11879 # Commands to make compiler produce verbose output that lists
11880 # what "hidden" libraries, object files and flags are used when
11881 # linking a shared library.
11883 # There doesn't appear to be a way to prevent this compiler from
11884 # explicitly linking system object files so we need to strip them
11885 # from the output so that they don't get included in the library
11886 # dependencies.
11887 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11890 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11891 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11892 case $host in
11893 osf3*)
11894 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11897 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11899 esac
11901 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11902 hardcode_libdir_separator_CXX=:
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11909 else
11910 # FIXME: insert proper C++ library support
11911 ld_shlibs_CXX=no
11914 esac
11917 psos*)
11918 # FIXME: insert proper C++ library support
11919 ld_shlibs_CXX=no
11922 sunos4*)
11923 case $cc_basename in
11924 CC*)
11925 # Sun C++ 4.x
11926 # FIXME: insert proper C++ library support
11927 ld_shlibs_CXX=no
11929 lcc*)
11930 # Lucid
11931 # FIXME: insert proper C++ library support
11932 ld_shlibs_CXX=no
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11938 esac
11941 solaris*)
11942 case $cc_basename in
11943 CC*)
11944 # Sun C++ 4.2, 5.x and Centerline C++
11945 archive_cmds_need_lc_CXX=yes
11946 no_undefined_flag_CXX=' -zdefs'
11947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11949 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11951 hardcode_libdir_flag_spec_CXX='-R$libdir'
11952 hardcode_shlibpath_var_CXX=no
11953 case $host_os in
11954 solaris2.[0-5] | solaris2.[0-5].*) ;;
11956 # The compiler driver will combine and reorder linker options,
11957 # but understands `-z linker_flag'.
11958 # Supported since Solaris 2.6 (maybe 2.5.1?)
11959 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11961 esac
11962 link_all_deplibs_CXX=yes
11964 output_verbose_link_cmd='echo'
11966 # Archives containing C++ object files must be created using
11967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11968 # necessary to make sure instantiated templates are included
11969 # in the archive.
11970 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11972 gcx*)
11973 # Green Hills C++ Compiler
11974 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11976 # The C++ compiler must be used to create the archive.
11977 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11980 # GNU C++ compiler with Solaris linker
11981 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11982 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11983 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11984 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11985 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11988 # Commands to make compiler produce verbose output that lists
11989 # what "hidden" libraries, object files and flags are used when
11990 # linking a shared library.
11991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11992 else
11993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11994 # platform.
11995 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11996 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12002 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12005 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12006 case $host_os in
12007 solaris2.[0-5] | solaris2.[0-5].*) ;;
12009 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12011 esac
12014 esac
12017 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12018 no_undefined_flag_CXX='${wl}-z,text'
12019 archive_cmds_need_lc_CXX=no
12020 hardcode_shlibpath_var_CXX=no
12021 runpath_var='LD_RUN_PATH'
12023 case $cc_basename in
12024 CC*)
12025 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12026 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12029 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12032 esac
12035 sysv5* | sco3.2v5* | sco5v6*)
12036 # Note: We can NOT use -z defs as we might desire, because we do not
12037 # link with -lc, and that would cause any symbols used from libc to
12038 # always be unresolved, which means just about no library would
12039 # ever link correctly. If we're not using GNU ld we use -z text
12040 # though, which does catch some bad symbols but isn't as heavy-handed
12041 # as -z defs.
12042 no_undefined_flag_CXX='${wl}-z,text'
12043 allow_undefined_flag_CXX='${wl}-z,nodefs'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12047 hardcode_libdir_separator_CXX=':'
12048 link_all_deplibs_CXX=yes
12049 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12050 runpath_var='LD_RUN_PATH'
12052 case $cc_basename in
12053 CC*)
12054 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12058 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12061 esac
12064 tandem*)
12065 case $cc_basename in
12066 NCC*)
12067 # NonStop-UX NCC 3.20
12068 # FIXME: insert proper C++ library support
12069 ld_shlibs_CXX=no
12072 # FIXME: insert proper C++ library support
12073 ld_shlibs_CXX=no
12075 esac
12078 vxworks*)
12079 # FIXME: insert proper C++ library support
12080 ld_shlibs_CXX=no
12084 # FIXME: insert proper C++ library support
12085 ld_shlibs_CXX=no
12087 esac
12089 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12090 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12091 test "$ld_shlibs_CXX" = no && can_build_shared=no
12093 GCC_CXX="$GXX"
12094 LD_CXX="$LD"
12096 ## CAVEAT EMPTOR:
12097 ## There is no encapsulation within the following macros, do not change
12098 ## the running order or otherwise move them around unless you know exactly
12099 ## what you are doing...
12100 # Dependencies to place before and after the object being linked:
12101 predep_objects_CXX=
12102 postdep_objects_CXX=
12103 predeps_CXX=
12104 postdeps_CXX=
12105 compiler_lib_search_path_CXX=
12107 cat > conftest.$ac_ext <<_LT_EOF
12108 class Foo
12110 public:
12111 Foo (void) { a = 0; }
12112 private:
12113 int a;
12115 _LT_EOF
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; then
12122 # Parse the compiler output and extract the necessary
12123 # objects, libraries and library flags.
12125 # Sentinel used to keep track of whether or not we are before
12126 # the conftest object file.
12127 pre_test_object_deps_done=no
12129 # The `*' in the case matches for architectures that use `case' in
12130 # $output_verbose_cmd can trigger glob expansion during the loop
12131 # eval without this substitution.
12132 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12134 for p in `eval $output_verbose_link_cmd`; do
12135 case $p in
12137 -L* | -R* | -l*)
12138 # Some compilers place space between "-{L,R}" and the path.
12139 # Remove the space.
12140 if test $p = "-L" ||
12141 test $p = "-R"; then
12142 prev=$p
12143 continue
12144 else
12145 prev=
12148 if test "$pre_test_object_deps_done" = no; then
12149 case $p in
12150 -L* | -R*)
12151 # Internal compiler library paths should come after those
12152 # provided the user. The postdeps already come after the
12153 # user supplied libs so there is no need to process them.
12154 if test -z "$compiler_lib_search_path_CXX"; then
12155 compiler_lib_search_path_CXX="${prev}${p}"
12156 else
12157 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12160 # The "-l" case would never come before the object being
12161 # linked, so don't bother handling this case.
12162 esac
12163 else
12164 if test -z "$postdeps_CXX"; then
12165 postdeps_CXX="${prev}${p}"
12166 else
12167 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12172 *.$objext)
12173 # This assumes that the test object file only shows up
12174 # once in the compiler output.
12175 if test "$p" = "conftest.$objext"; then
12176 pre_test_object_deps_done=yes
12177 continue
12180 if test "$pre_test_object_deps_done" = no; then
12181 if test -z "$predep_objects_CXX"; then
12182 predep_objects_CXX="$p"
12183 else
12184 predep_objects_CXX="$predep_objects_CXX $p"
12186 else
12187 if test -z "$postdep_objects_CXX"; then
12188 postdep_objects_CXX="$p"
12189 else
12190 postdep_objects_CXX="$postdep_objects_CXX $p"
12195 *) ;; # Ignore the rest.
12197 esac
12198 done
12200 # Clean up.
12201 rm -f a.out a.exe
12202 else
12203 echo "libtool.m4: error: problem compiling CXX test program"
12206 $RM -f confest.$objext
12208 # PORTME: override above test on systems where it is broken
12209 case $host_os in
12210 interix[3-9]*)
12211 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12212 # hack all around it, let's just trust "g++" to DTRT.
12213 predep_objects_CXX=
12214 postdep_objects_CXX=
12215 postdeps_CXX=
12218 linux*)
12219 case `$CC -V 2>&1 | sed 5q` in
12220 *Sun\ C*)
12221 # Sun C++ 5.9
12223 # The more standards-conforming stlport4 library is
12224 # incompatible with the Cstd library. Avoid specifying
12225 # it if it's in CXXFLAGS. Ignore libCrun as
12226 # -library=stlport4 depends on it.
12227 case " $CXX $CXXFLAGS " in
12228 *" -library=stlport4 "*)
12229 solaris_use_stlport4=yes
12231 esac
12233 if test "$solaris_use_stlport4" != yes; then
12234 postdeps_CXX='-library=Cstd -library=Crun'
12237 esac
12240 solaris*)
12241 case $cc_basename in
12242 CC*)
12243 # The more standards-conforming stlport4 library is
12244 # incompatible with the Cstd library. Avoid specifying
12245 # it if it's in CXXFLAGS. Ignore libCrun as
12246 # -library=stlport4 depends on it.
12247 case " $CXX $CXXFLAGS " in
12248 *" -library=stlport4 "*)
12249 solaris_use_stlport4=yes
12251 esac
12253 # Adding this requires a known-good setup of shared libraries for
12254 # Sun compiler versions before 5.6, else PIC objects from an old
12255 # archive will be linked into the output, leading to subtle bugs.
12256 if test "$solaris_use_stlport4" != yes; then
12257 postdeps_CXX='-library=Cstd -library=Crun'
12260 esac
12262 esac
12265 case " $postdeps_CXX " in
12266 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12267 esac
12294 lt_prog_compiler_wl_CXX=
12295 lt_prog_compiler_pic_CXX=
12296 lt_prog_compiler_static_CXX=
12298 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12299 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12301 # C++ specific cases for pic, static, wl, etc.
12302 if test "$GXX" = yes; then
12303 lt_prog_compiler_wl_CXX='-Wl,'
12304 lt_prog_compiler_static_CXX='-static'
12306 case $host_os in
12307 aix*)
12308 # All AIX code is PIC.
12309 if test "$host_cpu" = ia64; then
12310 # AIX 5 now supports IA64 processor
12311 lt_prog_compiler_static_CXX='-Bstatic'
12314 amigaos*)
12315 if test "$host_cpu" = m68k; then
12316 # FIXME: we need at least 68020 code to build shared libraries, but
12317 # adding the `-m68020' flag to GCC prevents building anything better,
12318 # like `-m68040'.
12319 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12322 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12323 # PIC is the default for these OSes.
12325 mingw* | cygwin* | os2* | pw32*)
12326 # This hack is so that the source file can tell whether it is being
12327 # built for inclusion in a dll (and should export symbols for example).
12328 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12329 # (--disable-auto-import) libraries
12330 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12332 darwin* | rhapsody*)
12333 # PIC is the default on this platform
12334 # Common symbols not allowed in MH_DYLIB files
12335 lt_prog_compiler_pic_CXX='-fno-common'
12337 *djgpp*)
12338 # DJGPP does not support shared libraries at all
12339 lt_prog_compiler_pic_CXX=
12341 interix[3-9]*)
12342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12343 # Instead, we relocate shared libraries at runtime.
12345 sysv4*MP*)
12346 if test -d /usr/nec; then
12347 lt_prog_compiler_pic_CXX=-Kconform_pic
12350 hpux*)
12351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12352 # not for PA HP-UX.
12353 case $host_cpu in
12354 hppa*64*|ia64*)
12357 lt_prog_compiler_pic_CXX='-fPIC'
12359 esac
12361 *qnx* | *nto*)
12362 # QNX uses GNU C++, but need to define -shared option too, otherwise
12363 # it will coredump.
12364 lt_prog_compiler_pic_CXX='-fPIC -shared'
12367 lt_prog_compiler_pic_CXX='-fPIC'
12369 esac
12370 else
12371 case $host_os in
12372 aix4* | aix5*)
12373 # All AIX code is PIC.
12374 if test "$host_cpu" = ia64; then
12375 # AIX 5 now supports IA64 processor
12376 lt_prog_compiler_static_CXX='-Bstatic'
12377 else
12378 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12381 chorus*)
12382 case $cc_basename in
12383 cxch68*)
12384 # Green Hills C++ Compiler
12385 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12387 esac
12389 darwin*)
12390 # PIC is the default on this platform
12391 # Common symbols not allowed in MH_DYLIB files
12392 case $cc_basename in
12393 xlc*)
12394 lt_prog_compiler_pic_CXX='-qnocommon'
12395 lt_prog_compiler_wl_CXX='-Wl,'
12397 esac
12399 dgux*)
12400 case $cc_basename in
12401 ec++*)
12402 lt_prog_compiler_pic_CXX='-KPIC'
12404 ghcx*)
12405 # Green Hills C++ Compiler
12406 lt_prog_compiler_pic_CXX='-pic'
12410 esac
12412 freebsd* | dragonfly*)
12413 # FreeBSD uses GNU C++
12415 hpux9* | hpux10* | hpux11*)
12416 case $cc_basename in
12417 CC*)
12418 lt_prog_compiler_wl_CXX='-Wl,'
12419 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12420 if test "$host_cpu" != ia64; then
12421 lt_prog_compiler_pic_CXX='+Z'
12424 aCC*)
12425 lt_prog_compiler_wl_CXX='-Wl,'
12426 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12427 case $host_cpu in
12428 hppa*64*|ia64*)
12429 # +Z the default
12432 lt_prog_compiler_pic_CXX='+Z'
12434 esac
12438 esac
12440 interix*)
12441 # This is c89, which is MS Visual C++ (no shared libs)
12442 # Anyone wants to do a port?
12444 irix5* | irix6* | nonstopux*)
12445 case $cc_basename in
12446 CC*)
12447 lt_prog_compiler_wl_CXX='-Wl,'
12448 lt_prog_compiler_static_CXX='-non_shared'
12449 # CC pic flag -KPIC is the default.
12453 esac
12455 linux* | k*bsd*-gnu)
12456 case $cc_basename in
12457 KCC*)
12458 # KAI C++ Compiler
12459 lt_prog_compiler_wl_CXX='--backend -Wl,'
12460 lt_prog_compiler_pic_CXX='-fPIC'
12462 icpc* | ecpc* )
12463 # Intel C++
12464 lt_prog_compiler_wl_CXX='-Wl,'
12465 lt_prog_compiler_pic_CXX='-KPIC'
12466 lt_prog_compiler_static_CXX='-static'
12468 pgCC*)
12469 # Portland Group C++ compiler
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_pic_CXX='-fpic'
12472 lt_prog_compiler_static_CXX='-Bstatic'
12474 cxx*)
12475 # Compaq C++
12476 # Make sure the PIC flag is empty. It appears that all Alpha
12477 # Linux and Compaq Tru64 Unix objects are PIC.
12478 lt_prog_compiler_pic_CXX=
12479 lt_prog_compiler_static_CXX='-non_shared'
12482 case `$CC -V 2>&1 | sed 5q` in
12483 *Sun\ C*)
12484 # Sun C++ 5.9
12485 lt_prog_compiler_pic_CXX='-KPIC'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12487 lt_prog_compiler_wl_CXX='-Qoption ld '
12489 esac
12491 esac
12493 lynxos*)
12495 m88k*)
12497 mvs*)
12498 case $cc_basename in
12499 cxx*)
12500 lt_prog_compiler_pic_CXX='-W c,exportall'
12504 esac
12506 netbsd*)
12508 *qnx* | *nto*)
12509 # QNX uses GNU C++, but need to define -shared option too, otherwise
12510 # it will coredump.
12511 lt_prog_compiler_pic_CXX='-fPIC -shared'
12513 osf3* | osf4* | osf5*)
12514 case $cc_basename in
12515 KCC*)
12516 lt_prog_compiler_wl_CXX='--backend -Wl,'
12518 RCC*)
12519 # Rational C++ 2.4.1
12520 lt_prog_compiler_pic_CXX='-pic'
12522 cxx*)
12523 # Digital/Compaq C++
12524 lt_prog_compiler_wl_CXX='-Wl,'
12525 # Make sure the PIC flag is empty. It appears that all Alpha
12526 # Linux and Compaq Tru64 Unix objects are PIC.
12527 lt_prog_compiler_pic_CXX=
12528 lt_prog_compiler_static_CXX='-non_shared'
12532 esac
12534 psos*)
12536 solaris*)
12537 case $cc_basename in
12538 CC*)
12539 # Sun C++ 4.2, 5.x and Centerline C++
12540 lt_prog_compiler_pic_CXX='-KPIC'
12541 lt_prog_compiler_static_CXX='-Bstatic'
12542 lt_prog_compiler_wl_CXX='-Qoption ld '
12544 gcx*)
12545 # Green Hills C++ Compiler
12546 lt_prog_compiler_pic_CXX='-PIC'
12550 esac
12552 sunos4*)
12553 case $cc_basename in
12554 CC*)
12555 # Sun C++ 4.x
12556 lt_prog_compiler_pic_CXX='-pic'
12557 lt_prog_compiler_static_CXX='-Bstatic'
12559 lcc*)
12560 # Lucid
12561 lt_prog_compiler_pic_CXX='-pic'
12565 esac
12567 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12568 case $cc_basename in
12569 CC*)
12570 lt_prog_compiler_wl_CXX='-Wl,'
12571 lt_prog_compiler_pic_CXX='-KPIC'
12572 lt_prog_compiler_static_CXX='-Bstatic'
12574 esac
12576 tandem*)
12577 case $cc_basename in
12578 NCC*)
12579 # NonStop-UX NCC 3.20
12580 lt_prog_compiler_pic_CXX='-KPIC'
12584 esac
12586 vxworks*)
12589 lt_prog_compiler_can_build_shared_CXX=no
12591 esac
12594 case $host_os in
12595 # For platforms which do not support PIC, -DPIC is meaningless:
12596 *djgpp*)
12597 lt_prog_compiler_pic_CXX=
12600 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12602 esac
12603 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12604 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12609 # Check to make sure the PIC flag actually works.
12611 if test -n "$lt_prog_compiler_pic_CXX"; then
12612 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12613 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12614 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 lt_prog_compiler_pic_works_CXX=no
12618 ac_outfile=conftest.$ac_objext
12619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12621 # Insert the option either (1) after the last *FLAGS variable, or
12622 # (2) before a word containing "conftest.", or (3) at the end.
12623 # Note that $ac_compile itself does not contain backslashes and begins
12624 # with a dollar sign (not a hyphen), so the echo should work correctly.
12625 # The option is referenced via a variable to avoid confusing sed.
12626 lt_compile=`echo "$ac_compile" | $SED \
12627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12629 -e 's:$: $lt_compiler_flag:'`
12630 (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
12631 (eval "$lt_compile" 2>conftest.err)
12632 ac_status=$?
12633 cat conftest.err >&5
12634 echo "$as_me:12634: \$? = $ac_status" >&5
12635 if (exit $ac_status) && test -s "$ac_outfile"; then
12636 # The compiler can only warn and ignore the option if not recognized
12637 # So say no if there are warnings other than the usual output.
12638 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12641 lt_prog_compiler_pic_works_CXX=yes
12644 $RM conftest*
12647 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12648 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12650 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12651 case $lt_prog_compiler_pic_CXX in
12652 "" | " "*) ;;
12653 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12654 esac
12655 else
12656 lt_prog_compiler_pic_CXX=
12657 lt_prog_compiler_can_build_shared_CXX=no
12665 # Check to make sure the static flag actually works.
12667 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12668 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12669 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12670 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 else
12673 lt_prog_compiler_static_works_CXX=no
12674 save_LDFLAGS="$LDFLAGS"
12675 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12678 # The linker can only warn and ignore the option if not recognized
12679 # So say no if there are warnings
12680 if test -s conftest.err; then
12681 # Append any errors to the config.log.
12682 cat conftest.err 1>&5
12683 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_static_works_CXX=yes
12688 else
12689 lt_prog_compiler_static_works_CXX=yes
12692 $RM conftest*
12693 LDFLAGS="$save_LDFLAGS"
12696 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12697 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12699 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12701 else
12702 lt_prog_compiler_static_CXX=
12708 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12709 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12710 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 lt_cv_prog_compiler_c_o_CXX=no
12714 $RM -r conftest 2>/dev/null
12715 mkdir conftest
12716 cd conftest
12717 mkdir out
12718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12720 lt_compiler_flag="-o out/conftest2.$ac_objext"
12721 # Insert the option either (1) after the last *FLAGS variable, or
12722 # (2) before a word containing "conftest.", or (3) at the end.
12723 # Note that $ac_compile itself does not contain backslashes and begins
12724 # with a dollar sign (not a hyphen), so the echo should work correctly.
12725 lt_compile=`echo "$ac_compile" | $SED \
12726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12728 -e 's:$: $lt_compiler_flag:'`
12729 (eval echo "\"\$as_me:12729: $lt_compile\"" >&5)
12730 (eval "$lt_compile" 2>out/conftest.err)
12731 ac_status=$?
12732 cat out/conftest.err >&5
12733 echo "$as_me:12733: \$? = $ac_status" >&5
12734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12735 then
12736 # The compiler can only warn and ignore the option if not recognized
12737 # So say no if there are warnings
12738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12741 lt_cv_prog_compiler_c_o_CXX=yes
12744 chmod u+w . 2>&5
12745 $RM conftest*
12746 # SGI C++ compiler will create directory out/ii_files/ for
12747 # template instantiation
12748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12749 $RM out/* && rmdir out
12750 cd ..
12751 $RM -r conftest
12752 $RM conftest*
12755 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12756 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12760 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12761 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12762 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 lt_cv_prog_compiler_c_o_CXX=no
12766 $RM -r conftest 2>/dev/null
12767 mkdir conftest
12768 cd conftest
12769 mkdir out
12770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12772 lt_compiler_flag="-o out/conftest2.$ac_objext"
12773 # Insert the option either (1) after the last *FLAGS variable, or
12774 # (2) before a word containing "conftest.", or (3) at the end.
12775 # Note that $ac_compile itself does not contain backslashes and begins
12776 # with a dollar sign (not a hyphen), so the echo should work correctly.
12777 lt_compile=`echo "$ac_compile" | $SED \
12778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12780 -e 's:$: $lt_compiler_flag:'`
12781 (eval echo "\"\$as_me:12781: $lt_compile\"" >&5)
12782 (eval "$lt_compile" 2>out/conftest.err)
12783 ac_status=$?
12784 cat out/conftest.err >&5
12785 echo "$as_me:12785: \$? = $ac_status" >&5
12786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12787 then
12788 # The compiler can only warn and ignore the option if not recognized
12789 # So say no if there are warnings
12790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12793 lt_cv_prog_compiler_c_o_CXX=yes
12796 chmod u+w . 2>&5
12797 $RM conftest*
12798 # SGI C++ compiler will create directory out/ii_files/ for
12799 # template instantiation
12800 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12801 $RM out/* && rmdir out
12802 cd ..
12803 $RM -r conftest
12804 $RM conftest*
12807 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12808 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12813 hard_links="nottested"
12814 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12815 # do not overwrite the value of need_locks provided by the user
12816 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12817 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12818 hard_links=yes
12819 $RM conftest*
12820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12821 touch conftest.a
12822 ln conftest.a conftest.b 2>&5 || hard_links=no
12823 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12824 echo "$as_me:$LINENO: result: $hard_links" >&5
12825 echo "${ECHO_T}$hard_links" >&6
12826 if test "$hard_links" = no; then
12827 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12828 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12829 need_locks=warn
12831 else
12832 need_locks=no
12837 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12838 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12840 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12841 case $host_os in
12842 aix4* | aix5*)
12843 # If we're using GNU nm, then we don't want the "-C" option.
12844 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12845 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12846 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12847 else
12848 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12851 pw32*)
12852 export_symbols_cmds_CXX="$ltdll_cmds"
12854 cygwin* | mingw*)
12855 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12858 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12860 esac
12862 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12863 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12864 test "$ld_shlibs_CXX" = no && can_build_shared=no
12866 with_gnu_ld_CXX=$with_gnu_ld
12874 # Do we need to explicitly link libc?
12876 case "x$archive_cmds_need_lc_CXX" in
12877 x|xyes)
12878 # Assume -lc should be added
12879 archive_cmds_need_lc_CXX=yes
12881 if test "$enable_shared" = yes && test "$GCC" = yes; then
12882 case $archive_cmds_CXX in
12883 *'~'*)
12884 # FIXME: we may have to deal with multi-command sequences.
12886 '$CC '*)
12887 # Test whether the compiler implicitly links with -lc since on some
12888 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12889 # to ld, don't add -lc before -lgcc.
12890 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12891 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12892 $RM conftest*
12893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896 (eval $ac_compile) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } 2>conftest.err; then
12900 soname=conftest
12901 lib=conftest
12902 libobjs=conftest.$ac_objext
12903 deplibs=
12904 wl=$lt_prog_compiler_wl_CXX
12905 pic_flag=$lt_prog_compiler_pic_CXX
12906 compiler_flags=-v
12907 linker_flags=-v
12908 verstring=
12909 output_objdir=.
12910 libname=conftest
12911 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12912 allow_undefined_flag_CXX=
12913 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12914 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }
12918 then
12919 archive_cmds_need_lc_CXX=no
12920 else
12921 archive_cmds_need_lc_CXX=yes
12923 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12924 else
12925 cat conftest.err 1>&5
12927 $RM conftest*
12928 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12929 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12931 esac
12934 esac
12999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13001 withGCC=$GXX
13002 library_names_spec=
13003 libname_spec='lib$name'
13004 soname_spec=
13005 shrext_cmds=".so"
13006 postinstall_cmds=
13007 postuninstall_cmds=
13008 finish_cmds=
13009 finish_eval=
13010 shlibpath_var=
13011 shlibpath_overrides_runpath=unknown
13012 version_type=none
13013 dynamic_linker="$host_os ld.so"
13014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13015 need_lib_prefix=unknown
13016 hardcode_into_libs=no
13018 # when you set need_version to no, make sure it does not cause -set_version
13019 # flags to be left without arguments
13020 need_version=unknown
13022 case $host_os in
13023 aix3*)
13024 version_type=linux
13025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13026 shlibpath_var=LIBPATH
13028 # AIX 3 has no versioning support, so we append a major version to the name.
13029 soname_spec='${libname}${release}${shared_ext}$major'
13032 aix4* | aix5*)
13033 version_type=linux
13034 need_lib_prefix=no
13035 need_version=no
13036 hardcode_into_libs=yes
13037 if test "$host_cpu" = ia64; then
13038 # AIX 5 supports IA64
13039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13040 shlibpath_var=LD_LIBRARY_PATH
13041 else
13042 # With GCC up to 2.95.x, collect2 would create an import file
13043 # for dependence libraries. The import file would start with
13044 # the line `#! .'. This would cause the generated library to
13045 # depend on `.', always an invalid library. This was fixed in
13046 # development snapshots of GCC prior to 3.0.
13047 case $host_os in
13048 aix4 | aix4.[01] | aix4.[01].*)
13049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13050 echo ' yes '
13051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13053 else
13054 can_build_shared=no
13057 esac
13058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13059 # soname into executable. Probably we can add versioning support to
13060 # collect2, so additional links can be useful in future.
13061 if test "$aix_use_runtimelinking" = yes; then
13062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13063 # instead of lib<name>.a to let people know that these are not
13064 # typical AIX shared libraries.
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 else
13067 # We preserve .a as extension for shared libraries through AIX4.2
13068 # and later when we are not doing run time linking.
13069 library_names_spec='${libname}${release}.a $libname.a'
13070 soname_spec='${libname}${release}${shared_ext}$major'
13072 shlibpath_var=LIBPATH
13076 amigaos*)
13077 if test "$host_cpu" = m68k; then
13078 library_names_spec='$libname.ixlibrary $libname.a'
13079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13080 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13081 else
13082 dynamic_linker=no
13086 beos*)
13087 library_names_spec='${libname}${shared_ext}'
13088 dynamic_linker="$host_os ld.so"
13089 shlibpath_var=LIBRARY_PATH
13092 bsdi[45]*)
13093 version_type=linux
13094 need_version=no
13095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13096 soname_spec='${libname}${release}${shared_ext}$major'
13097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13098 shlibpath_var=LD_LIBRARY_PATH
13099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13101 # the default ld.so.conf also contains /usr/contrib/lib and
13102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13103 # libtool to hard-code these into programs
13106 cygwin* | mingw* | pw32*)
13107 version_type=windows
13108 shrext_cmds=".dll"
13109 need_version=no
13110 need_lib_prefix=no
13112 case $withGCC,$host_os in
13113 yes,cygwin* | yes,mingw* | yes,pw32*)
13114 library_names_spec='$libname.dll.a'
13115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13116 postinstall_cmds='base_file=`basename \${file}`~
13117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13118 dldir=$destdir/`dirname \$dlpath`~
13119 test -d \$dldir || mkdir -p \$dldir~
13120 $install_prog $dir/$dlname \$dldir/$dlname~
13121 chmod a+x \$dldir/$dlname~
13122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13126 dlpath=$dir/\$dldll~
13127 $RM \$dlpath'
13128 shlibpath_overrides_runpath=yes
13130 case $host_os in
13131 cygwin*)
13132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13134 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13136 mingw*)
13137 # MinGW DLLs use traditional 'lib' prefix
13138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13141 # It is most probably a Windows format PATH printed by
13142 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13143 # path with ; separators, and with drive letters. We can handle the
13144 # drive letters (cygwin fileutils understands them), so leave them,
13145 # especially as we might pass files found there to a mingw objdump,
13146 # which wouldn't understand a cygwinified path. Ahh.
13147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13148 else
13149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13152 pw32*)
13153 # pw32 DLLs use 'pw' prefix rather than 'lib'
13154 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13156 esac
13160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13162 esac
13163 dynamic_linker='Win32 ld.exe'
13164 # FIXME: first we should search . and the directory the executable is in
13165 shlibpath_var=PATH
13168 darwin* | rhapsody*)
13169 dynamic_linker="$host_os dyld"
13170 version_type=darwin
13171 need_lib_prefix=no
13172 need_version=no
13173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13174 soname_spec='${libname}${release}${major}$shared_ext'
13175 shlibpath_overrides_runpath=yes
13176 shlibpath_var=DYLD_LIBRARY_PATH
13177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13179 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13182 dgux*)
13183 version_type=linux
13184 need_lib_prefix=no
13185 need_version=no
13186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13187 soname_spec='${libname}${release}${shared_ext}$major'
13188 shlibpath_var=LD_LIBRARY_PATH
13191 freebsd1*)
13192 dynamic_linker=no
13195 freebsd* | dragonfly*)
13196 # DragonFly does not have aout. When/if they implement a new
13197 # versioning mechanism, adjust this.
13198 if test -x /usr/bin/objformat; then
13199 objformat=`/usr/bin/objformat`
13200 else
13201 case $host_os in
13202 freebsd[123]*) objformat=aout ;;
13203 *) objformat=elf ;;
13204 esac
13206 version_type=freebsd-$objformat
13207 case $version_type in
13208 freebsd-elf*)
13209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210 need_version=no
13211 need_lib_prefix=no
13213 freebsd-*)
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13215 need_version=yes
13217 esac
13218 shlibpath_var=LD_LIBRARY_PATH
13219 case $host_os in
13220 freebsd2*)
13221 shlibpath_overrides_runpath=yes
13223 freebsd3.[01]* | freebsdelf3.[01]*)
13224 shlibpath_overrides_runpath=yes
13225 hardcode_into_libs=yes
13227 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13228 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13232 *) # from 4.6 on, and DragonFly
13233 shlibpath_overrides_runpath=yes
13234 hardcode_into_libs=yes
13236 esac
13239 gnu*)
13240 version_type=linux
13241 need_lib_prefix=no
13242 need_version=no
13243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13244 soname_spec='${libname}${release}${shared_ext}$major'
13245 shlibpath_var=LD_LIBRARY_PATH
13246 hardcode_into_libs=yes
13249 hpux9* | hpux10* | hpux11*)
13250 # Give a soname corresponding to the major version so that dld.sl refuses to
13251 # link against other versions.
13252 version_type=sunos
13253 need_lib_prefix=no
13254 need_version=no
13255 case $host_cpu in
13256 ia64*)
13257 shrext_cmds='.so'
13258 hardcode_into_libs=yes
13259 dynamic_linker="$host_os dld.so"
13260 shlibpath_var=LD_LIBRARY_PATH
13261 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec='${libname}${release}${shared_ext}$major'
13264 if test "X$HPUX_IA64_MODE" = X32; then
13265 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13266 else
13267 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13271 hppa*64*)
13272 shrext_cmds='.sl'
13273 hardcode_into_libs=yes
13274 dynamic_linker="$host_os dld.sl"
13275 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13278 soname_spec='${libname}${release}${shared_ext}$major'
13279 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13280 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13283 shrext_cmds='.sl'
13284 dynamic_linker="$host_os dld.sl"
13285 shlibpath_var=SHLIB_PATH
13286 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13290 esac
13291 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13292 postinstall_cmds='chmod 555 $lib'
13295 interix[3-9]*)
13296 version_type=linux
13297 need_lib_prefix=no
13298 need_version=no
13299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13300 soname_spec='${libname}${release}${shared_ext}$major'
13301 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13302 shlibpath_var=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath=no
13304 hardcode_into_libs=yes
13307 irix5* | irix6* | nonstopux*)
13308 case $host_os in
13309 nonstopux*) version_type=nonstopux ;;
13311 if test "$lt_cv_prog_gnu_ld" = yes; then
13312 version_type=linux
13313 else
13314 version_type=irix
13315 fi ;;
13316 esac
13317 need_lib_prefix=no
13318 need_version=no
13319 soname_spec='${libname}${release}${shared_ext}$major'
13320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13321 case $host_os in
13322 irix5* | nonstopux*)
13323 libsuff= shlibsuff=
13326 case $LD in # libtool.m4 will add one of these switches to LD
13327 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13328 libsuff= shlibsuff= libmagic=32-bit;;
13329 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13330 libsuff=32 shlibsuff=N32 libmagic=N32;;
13331 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13332 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13333 *) libsuff= shlibsuff= libmagic=never-match;;
13334 esac
13336 esac
13337 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13338 shlibpath_overrides_runpath=no
13339 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13340 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13341 hardcode_into_libs=yes
13344 # No shared lib support for Linux oldld, aout, or coff.
13345 linux*oldld* | linux*aout* | linux*coff*)
13346 dynamic_linker=no
13349 # This must be Linux ELF.
13350 linux* | k*bsd*-gnu)
13351 version_type=linux
13352 need_lib_prefix=no
13353 need_version=no
13354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13355 soname_spec='${libname}${release}${shared_ext}$major'
13356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=no
13359 # Some binutils ld are patched to set DT_RUNPATH
13360 save_LDFLAGS=$LDFLAGS
13361 save_libdir=$libdir
13362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13377 main ()
13381 return 0;
13383 _ACEOF
13384 rm -f conftest.$ac_objext conftest$ac_exeext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13386 (eval $ac_link) 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_cxx_werror_flag"
13394 || test ! -s conftest.err'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; } &&
13400 { ac_try='test -s conftest$ac_exeext'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13403 ac_status=$?
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13407 shlibpath_overrides_runpath=yes
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13415 rm -f conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LDFLAGS=$save_LDFLAGS
13418 libdir=$save_libdir
13420 # This implies no fast_install, which is unacceptable.
13421 # Some rework will be needed to allow for fast_install
13422 # before this can be enabled.
13423 hardcode_into_libs=yes
13425 # Append ld.so.conf contents to the search path
13426 if test -f /etc/ld.so.conf; then
13427 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13428 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13431 # We used to test for /lib/ld.so.1 and disable shared libraries on
13432 # powerpc, because MkLinux only supported shared libraries with the
13433 # GNU dynamic linker. Since this was broken with cross compilers,
13434 # most powerpc-linux boxes support dynamic linking these days and
13435 # people can always --disable-shared, the test was removed, and we
13436 # assume the GNU/Linux dynamic linker is in use.
13437 dynamic_linker='GNU/Linux ld.so'
13440 netbsd*)
13441 version_type=sunos
13442 need_lib_prefix=no
13443 need_version=no
13444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13447 dynamic_linker='NetBSD (a.out) ld.so'
13448 else
13449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13450 soname_spec='${libname}${release}${shared_ext}$major'
13451 dynamic_linker='NetBSD ld.elf_so'
13453 shlibpath_var=LD_LIBRARY_PATH
13454 shlibpath_overrides_runpath=yes
13455 hardcode_into_libs=yes
13458 newsos6)
13459 version_type=linux
13460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=yes
13465 *nto* | *qnx*)
13466 version_type=qnx
13467 need_lib_prefix=no
13468 need_version=no
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13470 soname_spec='${libname}${release}${shared_ext}$major'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 shlibpath_overrides_runpath=no
13473 hardcode_into_libs=yes
13474 dynamic_linker='ldqnx.so'
13477 openbsd*)
13478 version_type=sunos
13479 sys_lib_dlsearch_path_spec="/usr/lib"
13480 need_lib_prefix=no
13481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13482 case $host_os in
13483 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13484 *) need_version=no ;;
13485 esac
13486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13488 shlibpath_var=LD_LIBRARY_PATH
13489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13490 case $host_os in
13491 openbsd2.[89] | openbsd2.[89].*)
13492 shlibpath_overrides_runpath=no
13495 shlibpath_overrides_runpath=yes
13497 esac
13498 else
13499 shlibpath_overrides_runpath=yes
13503 os2*)
13504 libname_spec='$name'
13505 shrext_cmds=".dll"
13506 need_lib_prefix=no
13507 library_names_spec='$libname${shared_ext} $libname.a'
13508 dynamic_linker='OS/2 ld.exe'
13509 shlibpath_var=LIBPATH
13512 osf3* | osf4* | osf5*)
13513 version_type=osf
13514 need_lib_prefix=no
13515 need_version=no
13516 soname_spec='${libname}${release}${shared_ext}$major'
13517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 shlibpath_var=LD_LIBRARY_PATH
13519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13523 rdos*)
13524 dynamic_linker=no
13527 solaris*)
13528 version_type=linux
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 soname_spec='${libname}${release}${shared_ext}$major'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 shlibpath_overrides_runpath=yes
13535 hardcode_into_libs=yes
13536 # ldd complains unless libraries are executable
13537 postinstall_cmds='chmod +x $lib'
13540 sunos4*)
13541 version_type=sunos
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13543 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13544 shlibpath_var=LD_LIBRARY_PATH
13545 shlibpath_overrides_runpath=yes
13546 if test "$with_gnu_ld" = yes; then
13547 need_lib_prefix=no
13549 need_version=yes
13552 sysv4 | sysv4.3*)
13553 version_type=linux
13554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13555 soname_spec='${libname}${release}${shared_ext}$major'
13556 shlibpath_var=LD_LIBRARY_PATH
13557 case $host_vendor in
13558 sni)
13559 shlibpath_overrides_runpath=no
13560 need_lib_prefix=no
13561 runpath_var=LD_RUN_PATH
13563 siemens)
13564 need_lib_prefix=no
13566 motorola)
13567 need_lib_prefix=no
13568 need_version=no
13569 shlibpath_overrides_runpath=no
13570 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13572 esac
13575 sysv4*MP*)
13576 if test -d /usr/nec ;then
13577 version_type=linux
13578 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13579 soname_spec='$libname${shared_ext}.$major'
13580 shlibpath_var=LD_LIBRARY_PATH
13584 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13585 version_type=freebsd-elf
13586 need_lib_prefix=no
13587 need_version=no
13588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13589 soname_spec='${libname}${release}${shared_ext}$major'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 shlibpath_overrides_runpath=yes
13592 hardcode_into_libs=yes
13593 if test "$with_gnu_ld" = yes; then
13594 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13595 else
13596 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13597 case $host_os in
13598 sco3.2v5*)
13599 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13601 esac
13603 sys_lib_dlsearch_path_spec='/usr/lib'
13606 tpf*)
13607 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13608 version_type=linux
13609 need_lib_prefix=no
13610 need_version=no
13611 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13612 shlibpath_var=LD_LIBRARY_PATH
13613 shlibpath_overrides_runpath=no
13614 hardcode_into_libs=yes
13617 uts4*)
13618 version_type=linux
13619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 shlibpath_var=LD_LIBRARY_PATH
13625 dynamic_linker=no
13627 esac
13628 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13629 echo "${ECHO_T}$dynamic_linker" >&6
13630 test "$dynamic_linker" = no && can_build_shared=no
13632 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13633 if test "$GCC" = yes; then
13634 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13672 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13673 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13674 hardcode_action_CXX=
13675 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13676 test -n "$runpath_var_CXX" ||
13677 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13679 # We can hardcode non-existent directories.
13680 if test "$hardcode_direct_CXX" != no &&
13681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13682 # have to relink, otherwise we might link with an installed library
13683 # when we should be linking with a yet-to-be-installed one
13684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13685 test "$hardcode_minus_L_CXX" != no; then
13686 # Linking always hardcodes the temporary library directory.
13687 hardcode_action_CXX=relink
13688 else
13689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13690 hardcode_action_CXX=immediate
13692 else
13693 # We cannot hardcode anything, or else we can only hardcode existing
13694 # directories.
13695 hardcode_action_CXX=unsupported
13697 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13698 echo "${ECHO_T}$hardcode_action_CXX" >&6
13700 if test "$hardcode_action_CXX" = relink ||
13701 test "$inherit_rpath_CXX" = yes; then
13702 # Fast installation is not supported
13703 enable_fast_install=no
13704 elif test "$shlibpath_overrides_runpath" = yes ||
13705 test "$enable_shared" = no; then
13706 # Fast installation is not necessary
13707 enable_fast_install=needless
13716 fi # test -n "$compiler"
13718 CC=$lt_save_CC
13719 LDCXX=$LD
13720 LD=$lt_save_LD
13721 GCC=$lt_save_GCC
13722 with_gnu_ld=$lt_save_with_gnu_ld
13723 lt_cv_path_LDCXX=$lt_cv_path_LD
13724 lt_cv_path_LD=$lt_save_path_LD
13725 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13726 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13727 fi # test "$_lt_caught_CXX_error" != yes
13729 ac_ext=c
13730 ac_cpp='$CPP $CPPFLAGS'
13731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13747 ac_config_commands="$ac_config_commands libtool"
13752 # Only expand once:
13758 # Possibly disable most of the library.
13759 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13760 ## than just ignoring the results. Faster /and/ more correct, win win.
13762 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13763 if test "${enable_hosted_libstdcxx+set}" = set; then
13764 enableval="$enable_hosted_libstdcxx"
13766 else
13767 case "$host" in
13768 arm*-*-symbianelf*)
13769 enable_hosted_libstdcxx=no
13772 enable_hosted_libstdcxx=yes
13774 esac
13776 if test "$enable_hosted_libstdcxx" = no; then
13777 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13778 echo "$as_me: Only freestanding libraries will be built" >&6;}
13779 is_hosted=no
13780 hosted_define=0
13781 enable_abi_check=no
13782 enable_libstdcxx_pch=no
13783 else
13784 is_hosted=yes
13785 hosted_define=1
13789 cat >>confdefs.h <<_ACEOF
13790 #define _GLIBCXX_HOSTED $hosted_define
13791 _ACEOF
13795 # Enable compiler support that doesn't require linking.
13797 echo "$as_me:$LINENO: checking for exception model to use" >&5
13798 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13801 ac_ext=cc
13802 ac_cpp='$CXXCPP $CPPFLAGS'
13803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13807 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13808 if test "${enable_sjlj_exceptions+set}" = set; then
13809 enableval="$enable_sjlj_exceptions"
13811 case "$enableval" in
13812 yes|no|auto) ;;
13813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13814 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13815 { (exit 1); exit 1; }; } ;;
13816 esac
13818 else
13819 enable_sjlj_exceptions=auto
13823 if test $enable_sjlj_exceptions = auto; then
13824 # Botheration. Now we've got to detect the exception model. Link tests
13825 # against libgcc.a are problematic since we've not been given proper -L
13826 # bits for single-tree newlib and libgloss.
13828 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13829 cat > conftest.$ac_ext << EOF
13830 #line 13830 "configure"
13831 struct S { ~S(); };
13832 void bar();
13833 void foo()
13835 S s;
13836 bar();
13839 old_CXXFLAGS="$CXXFLAGS"
13840 CXXFLAGS=-S
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13847 enable_sjlj_exceptions=yes
13848 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13849 enable_sjlj_exceptions=no
13850 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13851 enable_sjlj_exceptions=no
13854 CXXFLAGS="$old_CXXFLAGS"
13855 rm -f conftest*
13858 # This is a tad weird, for hysterical raisins. We have to map
13859 # enable/disable to two different models.
13860 case $enable_sjlj_exceptions in
13861 yes)
13863 cat >>confdefs.h <<\_ACEOF
13864 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13865 _ACEOF
13867 ac_exception_model_name=sjlj
13870 ac_exception_model_name="call frame"
13873 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13874 echo "$as_me: error: unable to detect exception model" >&2;}
13875 { (exit 1); exit 1; }; }
13877 esac
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13884 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13885 echo "${ECHO_T}$ac_exception_model_name" >&6
13888 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13889 if test "${enable_libstdcxx_pch+set}" = set; then
13890 enableval="$enable_libstdcxx_pch"
13892 case "$enableval" in
13893 yes|no) ;;
13894 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13895 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13896 { (exit 1); exit 1; }; } ;;
13897 esac
13899 else
13900 enable_libstdcxx_pch=$is_hosted
13903 if test $enable_libstdcxx_pch = yes; then
13904 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13905 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13906 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 else
13909 ac_save_CXXFLAGS="$CXXFLAGS"
13910 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13913 ac_ext=cc
13914 ac_cpp='$CXXCPP $CPPFLAGS'
13915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13919 echo '#include <math.h>' > conftest.h
13920 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13921 -o conftest.h.gch 1>&5 2>&1 &&
13922 echo '#error "pch failed"' > conftest.h &&
13923 echo '#include "conftest.h"' > conftest.cc &&
13924 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13925 then
13926 glibcxx_cv_prog_CXX_pch=yes
13927 else
13928 glibcxx_cv_prog_CXX_pch=no
13930 rm -f conftest*
13931 CXXFLAGS=$ac_save_CXXFLAGS
13932 ac_ext=c
13933 ac_cpp='$CPP $CPPFLAGS'
13934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13940 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13941 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13942 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13945 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13946 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13947 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13951 if test $enable_libstdcxx_pch = yes; then
13952 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13953 else
13954 glibcxx_PCHFLAGS=""
13959 # Enable all the variable C++ runtime options that doesn't require linking.
13961 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13962 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13963 # Check whether --enable-cstdio or --disable-cstdio was given.
13964 if test "${enable_cstdio+set}" = set; then
13965 enableval="$enable_cstdio"
13967 case "$enableval" in
13968 stdio) ;;
13969 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13970 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13971 { (exit 1); exit 1; }; } ;;
13972 esac
13974 else
13975 enable_cstdio=stdio
13979 # Now that libio has been removed, you can have any color you want as long
13980 # as it's black. This is one big no-op until other packages are added, but
13981 # showing the framework never hurts.
13982 case ${enable_cstdio} in
13983 stdio)
13984 CSTDIO_H=config/io/c_io_stdio.h
13985 BASIC_FILE_H=config/io/basic_file_stdio.h
13986 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13987 echo "$as_me:$LINENO: result: stdio" >&5
13988 echo "${ECHO_T}stdio" >&6
13990 esac
13997 # Check whether --enable-clocale or --disable-clocale was given.
13998 if test "${enable_clocale+set}" = set; then
13999 enableval="$enable_clocale"
14001 case "$enableval" in
14002 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14003 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14004 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14005 { (exit 1); exit 1; }; } ;;
14006 esac
14008 else
14009 enable_clocale=auto
14013 # Deal with gettext issues. Default to not using it (=no) until we detect
14014 # support for it later. Let the user turn it off via --e/d, but let that
14015 # default to on for easier handling.
14016 USE_NLS=no
14017 # Check whether --enable-nls or --disable-nls was given.
14018 if test "${enable_nls+set}" = set; then
14019 enableval="$enable_nls"
14021 else
14022 enable_nls=yes
14025 # Either a known packaage, or "auto"
14026 if test $enable_clocale = no || test $enable_clocale = yes; then
14027 enable_clocale=auto
14029 enable_clocale_flag=$enable_clocale
14031 # Probe for locale model to use if none specified.
14032 # Default to "generic".
14033 if test $enable_clocale_flag = auto; then
14034 case ${target_os} in
14035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14036 enable_clocale_flag=gnu
14038 darwin* | freebsd*)
14039 enable_clocale_flag=darwin
14042 enable_clocale_flag=generic
14044 esac
14047 # Sanity check model, and test for special functionality.
14048 if test $enable_clocale_flag = gnu; then
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14056 #include <features.h>
14057 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14058 _GLIBCXX_ok
14059 #endif
14061 _ACEOF
14062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14063 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14064 enable_clocale_flag=gnu
14065 else
14066 enable_clocale_flag=generic
14068 rm -f conftest*
14071 if test $enable_clocale = auto; then
14072 # Test for bugs early in glibc-2.2.x series
14073 if test "$cross_compiling" = yes; then
14074 enable_clocale_flag=generic
14075 else
14076 cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14083 #define _GNU_SOURCE 1
14084 #include <locale.h>
14085 #include <string.h>
14086 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14087 extern __typeof(newlocale) __newlocale;
14088 extern __typeof(duplocale) __duplocale;
14089 extern __typeof(strcoll_l) __strcoll_l;
14090 #endif
14091 int main()
14093 const char __one[] = "Äuglein Augmen";
14094 const char __two[] = "Äuglein";
14095 int i;
14096 int j;
14097 __locale_t loc;
14098 __locale_t loc_dup;
14099 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14100 loc_dup = __duplocale(loc);
14101 i = __strcoll_l(__one, __two, loc);
14102 j = __strcoll_l(__one, __two, loc_dup);
14103 return 0;
14106 _ACEOF
14107 rm -f conftest$ac_exeext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14109 (eval $ac_link) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 enable_clocale_flag=gnu
14119 else
14120 echo "$as_me: program exited with status $ac_status" >&5
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14124 ( exit $ac_status )
14125 enable_clocale_flag=generic
14127 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14131 # Set it to scream when it hurts.
14132 ac_save_CFLAGS="$CFLAGS"
14133 CFLAGS="-Wimplicit-function-declaration -Werror"
14135 # Use strxfrm_l if available.
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #define _GNU_SOURCE 1
14143 #include <string.h>
14144 #include <locale.h>
14146 main ()
14148 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14150 return 0;
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14176 cat >>confdefs.h <<\_ACEOF
14177 #define HAVE_STRXFRM_L 1
14178 _ACEOF
14180 else
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.$ac_ext >&5
14185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14187 # Use strerror_l if available.
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #define _GNU_SOURCE 1
14195 #include <string.h>
14196 #include <locale.h>
14198 main ()
14200 __locale_t loc; strerror_l(5, loc);
14202 return 0;
14204 _ACEOF
14205 rm -f conftest.$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>conftest.er1
14208 ac_status=$?
14209 grep -v '^ *+' conftest.er1 >conftest.err
14210 rm -f conftest.er1
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } &&
14214 { ac_try='test -z "$ac_c_werror_flag"
14215 || test ! -s conftest.err'
14216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217 (eval $ac_try) 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; } &&
14221 { ac_try='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14228 cat >>confdefs.h <<\_ACEOF
14229 #define HAVE_STRERROR_L 1
14230 _ACEOF
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14239 CFLAGS="$ac_save_CFLAGS"
14242 # Perhaps use strerror_r if available, and strerror_l isn't.
14243 ac_save_CFLAGS="$CFLAGS"
14244 CFLAGS="-Wimplicit-function-declaration -Werror"
14245 cat >conftest.$ac_ext <<_ACEOF
14246 /* confdefs.h. */
14247 _ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14251 #define _GNU_SOURCE 1
14252 #include <string.h>
14253 #include <locale.h>
14255 main ()
14257 char s[128]; strerror_r(5, s, 128);
14259 return 0;
14261 _ACEOF
14262 rm -f conftest.$ac_objext
14263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14264 (eval $ac_compile) 2>conftest.er1
14265 ac_status=$?
14266 grep -v '^ *+' conftest.er1 >conftest.err
14267 rm -f conftest.er1
14268 cat conftest.err >&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } &&
14271 { ac_try='test -z "$ac_c_werror_flag"
14272 || test ! -s conftest.err'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14285 cat >>confdefs.h <<\_ACEOF
14286 #define HAVE_STRERROR_R 1
14287 _ACEOF
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14295 CFLAGS="$ac_save_CFLAGS"
14297 # Set configure bits for specified locale package
14298 echo "$as_me:$LINENO: checking for C locale to use" >&5
14299 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14300 case ${enable_clocale_flag} in
14301 generic)
14302 echo "$as_me:$LINENO: result: generic" >&5
14303 echo "${ECHO_T}generic" >&6
14305 CLOCALE_H=config/locale/generic/c_locale.h
14306 CLOCALE_CC=config/locale/generic/c_locale.cc
14307 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14308 CCOLLATE_CC=config/locale/generic/collate_members.cc
14309 CCTYPE_CC=config/locale/generic/ctype_members.cc
14310 CMESSAGES_H=config/locale/generic/messages_members.h
14311 CMESSAGES_CC=config/locale/generic/messages_members.cc
14312 CMONEY_CC=config/locale/generic/monetary_members.cc
14313 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14314 CTIME_H=config/locale/generic/time_members.h
14315 CTIME_CC=config/locale/generic/time_members.cc
14316 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14318 darwin)
14319 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14320 echo "${ECHO_T}darwin or freebsd" >&6
14322 CLOCALE_H=config/locale/generic/c_locale.h
14323 CLOCALE_CC=config/locale/generic/c_locale.cc
14324 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14325 CCOLLATE_CC=config/locale/generic/collate_members.cc
14326 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14327 CMESSAGES_H=config/locale/generic/messages_members.h
14328 CMESSAGES_CC=config/locale/generic/messages_members.cc
14329 CMONEY_CC=config/locale/generic/monetary_members.cc
14330 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14331 CTIME_H=config/locale/generic/time_members.h
14332 CTIME_CC=config/locale/generic/time_members.cc
14333 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14336 gnu)
14337 echo "$as_me:$LINENO: result: gnu" >&5
14338 echo "${ECHO_T}gnu" >&6
14340 # Declare intention to use gettext, and add support for specific
14341 # languages.
14342 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14343 ALL_LINGUAS="de fr"
14345 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14346 # Extract the first word of "msgfmt", so it can be a program name with args.
14347 set dummy msgfmt; ac_word=$2
14348 echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14350 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test -n "$check_msgfmt"; then
14354 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14355 else
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14363 ac_cv_prog_check_msgfmt="yes"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14367 done
14368 done
14370 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14373 check_msgfmt=$ac_cv_prog_check_msgfmt
14374 if test -n "$check_msgfmt"; then
14375 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14376 echo "${ECHO_T}$check_msgfmt" >&6
14377 else
14378 echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6
14382 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14383 USE_NLS=yes
14385 # Export the build objects.
14386 for ling in $ALL_LINGUAS; do \
14387 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14388 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14389 done
14393 CLOCALE_H=config/locale/gnu/c_locale.h
14394 CLOCALE_CC=config/locale/gnu/c_locale.cc
14395 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14396 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14397 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14398 CMESSAGES_H=config/locale/gnu/messages_members.h
14399 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14400 CMONEY_CC=config/locale/gnu/monetary_members.cc
14401 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14402 CTIME_H=config/locale/gnu/time_members.h
14403 CTIME_CC=config/locale/gnu/time_members.cc
14404 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14406 ieee_1003.1-2001)
14407 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14408 echo "${ECHO_T}IEEE 1003.1" >&6
14410 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14411 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14412 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14413 CCOLLATE_CC=config/locale/generic/collate_members.cc
14414 CCTYPE_CC=config/locale/generic/ctype_members.cc
14415 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14416 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14417 CMONEY_CC=config/locale/generic/monetary_members.cc
14418 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14419 CTIME_H=config/locale/generic/time_members.h
14420 CTIME_CC=config/locale/generic/time_members.cc
14421 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14423 esac
14425 # This is where the testsuite looks for locale catalogs, using the
14426 # -DLOCALEDIR define during testsuite compilation.
14427 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14430 # A standalone libintl (e.g., GNU libintl) may be in use.
14431 if test $USE_NLS = yes; then
14433 for ac_header in libintl.h
14435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14444 else
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.$ac_ext <<_ACEOF
14449 /* confdefs.h. */
14450 _ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14456 _ACEOF
14457 rm -f conftest.$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try='test -z "$ac_c_werror_flag"
14467 || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 ac_header_compiler=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14484 ac_header_compiler=no
14486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14488 echo "${ECHO_T}$ac_header_compiler" >&6
14490 # Is the header present?
14491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 #include <$ac_header>
14500 _ACEOF
14501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } >/dev/null; then
14509 if test -s conftest.err; then
14510 ac_cpp_err=$ac_c_preproc_warn_flag
14511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14512 else
14513 ac_cpp_err=
14515 else
14516 ac_cpp_err=yes
14518 if test -z "$ac_cpp_err"; then
14519 ac_header_preproc=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14524 ac_header_preproc=no
14526 rm -f conftest.err conftest.$ac_ext
14527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14528 echo "${ECHO_T}$ac_header_preproc" >&6
14530 # So? What about this header?
14531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14532 yes:no: )
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14537 ac_header_preproc=yes
14539 no:yes:* )
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14553 cat <<\_ASBOX
14554 ## ----------------------------------------- ##
14555 ## Report this to the package-unused lists. ##
14556 ## ----------------------------------------- ##
14557 _ASBOX
14559 sed "s/^/$as_me: WARNING: /" >&2
14561 esac
14562 echo "$as_me:$LINENO: checking for $ac_header" >&5
14563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 eval "$as_ac_Header=\$ac_header_preproc"
14569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 cat >>confdefs.h <<_ACEOF
14575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 _ACEOF
14578 else
14579 USE_NLS=no
14582 done
14584 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14585 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14586 if test "${ac_cv_search_gettext+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 else
14589 ac_func_search_save_LIBS=$LIBS
14590 ac_cv_search_gettext=no
14591 if test x$gcc_no_link = xyes; then
14592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14594 { (exit 1); exit 1; }; }
14596 cat >conftest.$ac_ext <<_ACEOF
14597 /* confdefs.h. */
14598 _ACEOF
14599 cat confdefs.h >>conftest.$ac_ext
14600 cat >>conftest.$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14603 /* Override any gcc2 internal prototype to avoid an error. */
14604 #ifdef __cplusplus
14605 extern "C"
14606 #endif
14607 /* We use char because int might match the return type of a gcc2
14608 builtin and then its argument prototype would still apply. */
14609 char gettext ();
14611 main ()
14613 gettext ();
14615 return 0;
14617 _ACEOF
14618 rm -f conftest.$ac_objext conftest$ac_exeext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14620 (eval $ac_link) 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try='test -z "$ac_c_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest$ac_exeext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 ac_cv_search_gettext="none required"
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14646 rm -f conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14648 if test "$ac_cv_search_gettext" = no; then
14649 for ac_lib in intl; do
14650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14651 if test x$gcc_no_link = xyes; then
14652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14654 { (exit 1); exit 1; }; }
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 /* We use char because int might match the return type of a gcc2
14668 builtin and then its argument prototype would still apply. */
14669 char gettext ();
14671 main ()
14673 gettext ();
14675 return 0;
14677 _ACEOF
14678 rm -f conftest.$ac_objext conftest$ac_exeext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14680 (eval $ac_link) 2>conftest.er1
14681 ac_status=$?
14682 grep -v '^ *+' conftest.er1 >conftest.err
14683 rm -f conftest.er1
14684 cat conftest.err >&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); } &&
14687 { ac_try='test -z "$ac_c_werror_flag"
14688 || test ! -s conftest.err'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; } &&
14694 { ac_try='test -s conftest$ac_exeext'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14700 ac_cv_search_gettext="-l$ac_lib"
14701 break
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14707 rm -f conftest.err conftest.$ac_objext \
14708 conftest$ac_exeext conftest.$ac_ext
14709 done
14711 LIBS=$ac_func_search_save_LIBS
14713 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14714 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14715 if test "$ac_cv_search_gettext" != no; then
14716 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14718 else
14719 USE_NLS=no
14723 if test $USE_NLS = yes; then
14725 cat >>confdefs.h <<\_ACEOF
14726 #define _GLIBCXX_USE_NLS 1
14727 _ACEOF
14746 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14747 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14748 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14749 if test "${enable_libstdcxx_allocator+set}" = set; then
14750 enableval="$enable_libstdcxx_allocator"
14752 case "$enableval" in
14753 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14754 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14755 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14756 { (exit 1); exit 1; }; } ;;
14757 esac
14759 else
14760 enable_libstdcxx_allocator=auto
14764 # If they didn't use this option switch, or if they specified --enable
14765 # with no specific model, we'll have to look for one. If they
14766 # specified --disable (???), do likewise.
14767 if test $enable_libstdcxx_allocator = no ||
14768 test $enable_libstdcxx_allocator = yes;
14769 then
14770 enable_libstdcxx_allocator=auto
14773 # Either a known package, or "auto". Auto implies the default choice
14774 # for a particular platform.
14775 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14777 # Probe for host-specific support if no specific model is specified.
14778 # Default to "new".
14779 if test $enable_libstdcxx_allocator_flag = auto; then
14780 case ${target_os} in
14781 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14782 enable_libstdcxx_allocator_flag=new
14785 enable_libstdcxx_allocator_flag=new
14787 esac
14789 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14790 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14793 # Set configure bits for specified locale package
14794 case ${enable_libstdcxx_allocator_flag} in
14795 bitmap)
14796 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14797 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14799 malloc)
14800 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14801 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14804 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14805 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14807 new)
14808 ALLOCATOR_H=config/allocator/new_allocator_base.h
14809 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14811 pool)
14812 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14813 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14815 esac
14821 # Check whether --enable-cheaders or --disable-cheaders was given.
14822 if test "${enable_cheaders+set}" = set; then
14823 enableval="$enable_cheaders"
14825 case "$enableval" in
14826 c|c_std|c_global) ;;
14827 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14828 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14829 { (exit 1); exit 1; }; } ;;
14830 esac
14832 else
14833 enable_cheaders=$c_model
14836 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14837 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14839 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14841 # Allow overrides to configure.host here.
14842 if test $enable_cheaders = c_global; then
14843 c_compatibility=yes
14846 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14847 c_extra=yes
14857 # Check whether --enable-long-long or --disable-long-long was given.
14858 if test "${enable_long_long+set}" = set; then
14859 enableval="$enable_long_long"
14861 case "$enableval" in
14862 yes|no) ;;
14863 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14864 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14865 { (exit 1); exit 1; }; } ;;
14866 esac
14868 else
14869 enable_long_long=yes
14872 if test $enable_long_long = yes; then
14874 cat >>confdefs.h <<\_ACEOF
14875 #define _GLIBCXX_USE_LONG_LONG 1
14876 _ACEOF
14879 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14880 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14881 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14882 echo "${ECHO_T}$enable_long_long" >&6
14885 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14886 if test "${enable_wchar_t+set}" = set; then
14887 enableval="$enable_wchar_t"
14889 case "$enableval" in
14890 yes|no) ;;
14891 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14892 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14893 { (exit 1); exit 1; }; } ;;
14894 esac
14896 else
14897 enable_wchar_t=yes
14901 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14903 for ac_header in wchar.h
14905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14907 echo "$as_me:$LINENO: checking for $ac_header" >&5
14908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14914 else
14915 # Is the header compilable?
14916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 $ac_includes_default
14925 #include <$ac_header>
14926 _ACEOF
14927 rm -f conftest.$ac_objext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>conftest.er1
14930 ac_status=$?
14931 grep -v '^ *+' conftest.er1 >conftest.err
14932 rm -f conftest.er1
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } &&
14936 { ac_try='test -z "$ac_c_werror_flag"
14937 || test ! -s conftest.err'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14940 ac_status=$?
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; } &&
14943 { ac_try='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 ac_header_compiler=yes
14950 else
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.$ac_ext >&5
14954 ac_header_compiler=no
14956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14958 echo "${ECHO_T}$ac_header_compiler" >&6
14960 # Is the header present?
14961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14963 cat >conftest.$ac_ext <<_ACEOF
14964 /* confdefs.h. */
14965 _ACEOF
14966 cat confdefs.h >>conftest.$ac_ext
14967 cat >>conftest.$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 #include <$ac_header>
14970 _ACEOF
14971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14973 ac_status=$?
14974 grep -v '^ *+' conftest.er1 >conftest.err
14975 rm -f conftest.er1
14976 cat conftest.err >&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } >/dev/null; then
14979 if test -s conftest.err; then
14980 ac_cpp_err=$ac_c_preproc_warn_flag
14981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14982 else
14983 ac_cpp_err=
14985 else
14986 ac_cpp_err=yes
14988 if test -z "$ac_cpp_err"; then
14989 ac_header_preproc=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 ac_header_preproc=no
14996 rm -f conftest.err conftest.$ac_ext
14997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14998 echo "${ECHO_T}$ac_header_preproc" >&6
15000 # So? What about this header?
15001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15002 yes:no: )
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15007 ac_header_preproc=yes
15009 no:yes:* )
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15023 cat <<\_ASBOX
15024 ## ----------------------------------------- ##
15025 ## Report this to the package-unused lists. ##
15026 ## ----------------------------------------- ##
15027 _ASBOX
15029 sed "s/^/$as_me: WARNING: /" >&2
15031 esac
15032 echo "$as_me:$LINENO: checking for $ac_header" >&5
15033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 else
15037 eval "$as_ac_Header=\$ac_header_preproc"
15039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15044 cat >>confdefs.h <<_ACEOF
15045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15046 _ACEOF
15047 ac_has_wchar_h=yes
15048 else
15049 ac_has_wchar_h=no
15052 done
15054 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15055 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 #include <wchar.h>
15064 main ()
15066 mbstate_t teststate;
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073 (eval $ac_compile) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try='test -z "$ac_c_werror_flag"
15081 || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 have_mbstate_t=yes
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15098 have_mbstate_t=no
15100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15101 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15102 echo "${ECHO_T}$have_mbstate_t" >&6
15103 if test x"$have_mbstate_t" = xyes; then
15105 cat >>confdefs.h <<\_ACEOF
15106 #define HAVE_MBSTATE_T 1
15107 _ACEOF
15111 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15112 # ac_has_wchar_h.
15114 for ac_header in wctype.h
15116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15118 echo "$as_me:$LINENO: checking for $ac_header" >&5
15119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15125 else
15126 # Is the header compilable?
15127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 #include <$ac_header>
15137 _ACEOF
15138 rm -f conftest.$ac_objext
15139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15140 (eval $ac_compile) 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } &&
15147 { ac_try='test -z "$ac_c_werror_flag"
15148 || test ! -s conftest.err'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; } &&
15154 { ac_try='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_header_compiler=yes
15161 else
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15165 ac_header_compiler=no
15167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15169 echo "${ECHO_T}$ac_header_compiler" >&6
15171 # Is the header present?
15172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 #include <$ac_header>
15181 _ACEOF
15182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } >/dev/null; then
15190 if test -s conftest.err; then
15191 ac_cpp_err=$ac_c_preproc_warn_flag
15192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15193 else
15194 ac_cpp_err=
15196 else
15197 ac_cpp_err=yes
15199 if test -z "$ac_cpp_err"; then
15200 ac_header_preproc=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15205 ac_header_preproc=no
15207 rm -f conftest.err conftest.$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15209 echo "${ECHO_T}$ac_header_preproc" >&6
15211 # So? What about this header?
15212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15213 yes:no: )
15214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15218 ac_header_preproc=yes
15220 no:yes:* )
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15234 cat <<\_ASBOX
15235 ## ----------------------------------------- ##
15236 ## Report this to the package-unused lists. ##
15237 ## ----------------------------------------- ##
15238 _ASBOX
15240 sed "s/^/$as_me: WARNING: /" >&2
15242 esac
15243 echo "$as_me:$LINENO: checking for $ac_header" >&5
15244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 eval "$as_ac_Header=\$ac_header_preproc"
15250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15255 cat >>confdefs.h <<_ACEOF
15256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15257 _ACEOF
15258 ac_has_wctype_h=yes
15259 else
15260 ac_has_wctype_h=no
15263 done
15266 if test x"$enable_wchar_t" = x"yes"; then
15270 ac_ext=cc
15271 ac_cpp='$CXXCPP $CPPFLAGS'
15272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15277 if test x"$ac_has_wchar_h" = xyes &&
15278 test x"$ac_has_wctype_h" = xyes; then
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <wchar.h>
15286 #include <stddef.h>
15287 wint_t i;
15288 long l = WEOF;
15289 long j = WCHAR_MIN;
15290 long k = WCHAR_MAX;
15291 namespace test
15293 using ::btowc;
15294 using ::fgetwc;
15295 using ::fgetws;
15296 using ::fputwc;
15297 using ::fputws;
15298 using ::fwide;
15299 using ::fwprintf;
15300 using ::fwscanf;
15301 using ::getwc;
15302 using ::getwchar;
15303 using ::mbrlen;
15304 using ::mbrtowc;
15305 using ::mbsinit;
15306 using ::mbsrtowcs;
15307 using ::putwc;
15308 using ::putwchar;
15309 using ::swprintf;
15310 using ::swscanf;
15311 using ::ungetwc;
15312 using ::vfwprintf;
15313 using ::vswprintf;
15314 using ::vwprintf;
15315 using ::wcrtomb;
15316 using ::wcscat;
15317 using ::wcschr;
15318 using ::wcscmp;
15319 using ::wcscoll;
15320 using ::wcscpy;
15321 using ::wcscspn;
15322 using ::wcsftime;
15323 using ::wcslen;
15324 using ::wcsncat;
15325 using ::wcsncmp;
15326 using ::wcsncpy;
15327 using ::wcspbrk;
15328 using ::wcsrchr;
15329 using ::wcsrtombs;
15330 using ::wcsspn;
15331 using ::wcsstr;
15332 using ::wcstod;
15333 using ::wcstok;
15334 using ::wcstol;
15335 using ::wcstoul;
15336 using ::wcsxfrm;
15337 using ::wctob;
15338 using ::wmemchr;
15339 using ::wmemcmp;
15340 using ::wmemcpy;
15341 using ::wmemmove;
15342 using ::wmemset;
15343 using ::wprintf;
15344 using ::wscanf;
15348 main ()
15352 return 0;
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try='test -z "$ac_cxx_werror_flag"
15365 || test ! -s conftest.err'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15368 ac_status=$?
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; } &&
15371 { ac_try='test -s conftest.$ac_objext'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; }; then
15378 else
15379 echo "$as_me: failed program was:" >&5
15380 sed 's/^/| /' conftest.$ac_ext >&5
15382 enable_wchar_t=no
15384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15385 else
15386 enable_wchar_t=no
15389 ac_ext=c
15390 ac_cpp='$CPP $CPPFLAGS'
15391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15397 if test x"$enable_wchar_t" = x"yes"; then
15399 cat >>confdefs.h <<\_ACEOF
15400 #define _GLIBCXX_USE_WCHAR_T 1
15401 _ACEOF
15405 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15406 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15407 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15408 echo "${ECHO_T}$enable_wchar_t" >&6
15412 # Check whether --enable-c99 or --disable-c99 was given.
15413 if test "${enable_c99+set}" = set; then
15414 enableval="$enable_c99"
15416 case "$enableval" in
15417 yes|no) ;;
15418 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15419 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15420 { (exit 1); exit 1; }; } ;;
15421 esac
15423 else
15424 enable_c99=yes
15428 if test x"$enable_c99" = x"yes"; then
15432 ac_ext=cc
15433 ac_cpp='$CXXCPP $CPPFLAGS'
15434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15439 # Use -fno-exceptions so that the C driver can link these tests without
15440 # hitting undefined references to personality routines.
15441 ac_save_CXXFLAGS="$CXXFLAGS"
15442 ac_save_LIBS="$LIBS"
15443 ac_save_gcc_no_link="$gcc_no_link"
15445 if test x$gcc_no_link != xyes; then
15446 # Use -fno-exceptions to that the C driver can link these tests without
15447 # hitting undefined references to personality routines.
15448 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15449 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15450 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15451 if test "${ac_cv_lib_m_sin+set}" = set; then
15452 echo $ECHO_N "(cached) $ECHO_C" >&6
15453 else
15454 ac_check_lib_save_LIBS=$LIBS
15455 LIBS="-lm $LIBS"
15456 if test x$gcc_no_link = xyes; then
15457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15459 { (exit 1); exit 1; }; }
15461 cat >conftest.$ac_ext <<_ACEOF
15462 /* confdefs.h. */
15463 _ACEOF
15464 cat confdefs.h >>conftest.$ac_ext
15465 cat >>conftest.$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15468 /* Override any gcc2 internal prototype to avoid an error. */
15469 #ifdef __cplusplus
15470 extern "C"
15471 #endif
15472 /* We use char because int might match the return type of a gcc2
15473 builtin and then its argument prototype would still apply. */
15474 char sin ();
15476 main ()
15478 sin ();
15480 return 0;
15482 _ACEOF
15483 rm -f conftest.$ac_objext conftest$ac_exeext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15485 (eval $ac_link) 2>conftest.er1
15486 ac_status=$?
15487 grep -v '^ *+' conftest.er1 >conftest.err
15488 rm -f conftest.er1
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try='test -z "$ac_cxx_werror_flag"
15493 || test ! -s conftest.err'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15496 ac_status=$?
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; } &&
15499 { ac_try='test -s conftest$ac_exeext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15502 ac_status=$?
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15505 ac_cv_lib_m_sin=yes
15506 else
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15510 ac_cv_lib_m_sin=no
15512 rm -f conftest.err conftest.$ac_objext \
15513 conftest$ac_exeext conftest.$ac_ext
15514 LIBS=$ac_check_lib_save_LIBS
15516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15517 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15518 if test $ac_cv_lib_m_sin = yes; then
15520 LIBS="$LIBS -lm"
15522 else
15524 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15525 gcc_no_link=yes
15531 # Check for the existence of <math.h> functions used if C99 is enabled.
15532 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15533 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15534 if test "${ac_c99_math+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15538 if test x$gcc_no_link = xyes; then
15539 cat >conftest.$ac_ext <<_ACEOF
15540 /* confdefs.h. */
15541 _ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545 #include <math.h>
15546 volatile double d1, d2;
15547 volatile int i;
15549 main ()
15551 i = fpclassify(d1);
15552 i = isfinite(d1);
15553 i = isinf(d1);
15554 i = isnan(d1);
15555 i = isnormal(d1);
15556 i = signbit(d1);
15557 i = isgreater(d1, d2);
15558 i = isgreaterequal(d1, d2);
15559 i = isless(d1, d2);
15560 i = islessequal(d1, d2);
15561 i = islessgreater(d1, d2);
15562 i = islessgreater(d1, d2);
15563 i = isunordered(d1, d2);
15566 return 0;
15568 _ACEOF
15569 rm -f conftest.$ac_objext
15570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15571 (eval $ac_compile) 2>conftest.er1
15572 ac_status=$?
15573 grep -v '^ *+' conftest.er1 >conftest.err
15574 rm -f conftest.er1
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -z "$ac_cxx_werror_flag"
15579 || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try='test -s conftest.$ac_objext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15591 ac_c99_math=yes
15592 else
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15596 ac_c99_math=no
15598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15599 else
15600 if test x$gcc_no_link = xyes; then
15601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15603 { (exit 1); exit 1; }; }
15605 cat >conftest.$ac_ext <<_ACEOF
15606 /* confdefs.h. */
15607 _ACEOF
15608 cat confdefs.h >>conftest.$ac_ext
15609 cat >>conftest.$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15611 #include <math.h>
15612 volatile double d1, d2;
15613 volatile int i;
15615 main ()
15617 i = fpclassify(d1);
15618 i = isfinite(d1);
15619 i = isinf(d1);
15620 i = isnan(d1);
15621 i = isnormal(d1);
15622 i = signbit(d1);
15623 i = isgreater(d1, d2);
15624 i = isgreaterequal(d1, d2);
15625 i = isless(d1, d2);
15626 i = islessequal(d1, d2);
15627 i = islessgreater(d1, d2);
15628 i = islessgreater(d1, d2);
15629 i = isunordered(d1, d2);
15632 return 0;
15634 _ACEOF
15635 rm -f conftest.$ac_objext conftest$ac_exeext
15636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15637 (eval $ac_link) 2>conftest.er1
15638 ac_status=$?
15639 grep -v '^ *+' conftest.er1 >conftest.err
15640 rm -f conftest.er1
15641 cat conftest.err >&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } &&
15644 { ac_try='test -z "$ac_cxx_werror_flag"
15645 || test ! -s conftest.err'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; } &&
15651 { ac_try='test -s conftest$ac_exeext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15654 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15657 ac_c99_math=yes
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15662 ac_c99_math=no
15664 rm -f conftest.err conftest.$ac_objext \
15665 conftest$ac_exeext conftest.$ac_ext
15670 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15671 echo "${ECHO_T}$ac_c99_math" >&6
15672 if test x"$ac_c99_math" = x"yes"; then
15674 cat >>confdefs.h <<\_ACEOF
15675 #define _GLIBCXX_USE_C99_MATH 1
15676 _ACEOF
15680 # Check for the existence of <complex.h> complex math functions.
15681 # This is necessary even though libstdc++ uses the builtin versions
15682 # of these functions, because if the builtin cannot be used, a reference
15683 # to the library function is emitted.
15685 for ac_header in tgmath.h
15687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15689 echo "$as_me:$LINENO: checking for $ac_header" >&5
15690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15696 else
15697 # Is the header compilable?
15698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15700 cat >conftest.$ac_ext <<_ACEOF
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15707 #include <$ac_header>
15708 _ACEOF
15709 rm -f conftest.$ac_objext
15710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15711 (eval $ac_compile) 2>conftest.er1
15712 ac_status=$?
15713 grep -v '^ *+' conftest.er1 >conftest.err
15714 rm -f conftest.er1
15715 cat conftest.err >&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } &&
15718 { ac_try='test -z "$ac_cxx_werror_flag"
15719 || test ! -s conftest.err'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; } &&
15725 { ac_try='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 ac_header_compiler=yes
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15736 ac_header_compiler=no
15738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15740 echo "${ECHO_T}$ac_header_compiler" >&6
15742 # Is the header present?
15743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15745 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h. */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <$ac_header>
15752 _ACEOF
15753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15755 ac_status=$?
15756 grep -v '^ *+' conftest.er1 >conftest.err
15757 rm -f conftest.er1
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } >/dev/null; then
15761 if test -s conftest.err; then
15762 ac_cpp_err=$ac_cxx_preproc_warn_flag
15763 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15764 else
15765 ac_cpp_err=
15767 else
15768 ac_cpp_err=yes
15770 if test -z "$ac_cpp_err"; then
15771 ac_header_preproc=yes
15772 else
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.$ac_ext >&5
15776 ac_header_preproc=no
15778 rm -f conftest.err conftest.$ac_ext
15779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15780 echo "${ECHO_T}$ac_header_preproc" >&6
15782 # So? What about this header?
15783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15784 yes:no: )
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15789 ac_header_preproc=yes
15791 no:yes:* )
15792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15805 cat <<\_ASBOX
15806 ## ----------------------------------------- ##
15807 ## Report this to the package-unused lists. ##
15808 ## ----------------------------------------- ##
15809 _ASBOX
15811 sed "s/^/$as_me: WARNING: /" >&2
15813 esac
15814 echo "$as_me:$LINENO: checking for $ac_header" >&5
15815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 else
15819 eval "$as_ac_Header=\$ac_header_preproc"
15821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15826 cat >>confdefs.h <<_ACEOF
15827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15828 _ACEOF
15829 ac_has_tgmath_h=yes
15830 else
15831 ac_has_tgmath_h=no
15834 done
15837 for ac_header in complex.h
15839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15841 echo "$as_me:$LINENO: checking for $ac_header" >&5
15842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15844 echo $ECHO_N "(cached) $ECHO_C" >&6
15846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15848 else
15849 # Is the header compilable?
15850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15852 cat >conftest.$ac_ext <<_ACEOF
15853 /* confdefs.h. */
15854 _ACEOF
15855 cat confdefs.h >>conftest.$ac_ext
15856 cat >>conftest.$ac_ext <<_ACEOF
15857 /* end confdefs.h. */
15858 $ac_includes_default
15859 #include <$ac_header>
15860 _ACEOF
15861 rm -f conftest.$ac_objext
15862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>conftest.er1
15864 ac_status=$?
15865 grep -v '^ *+' conftest.er1 >conftest.err
15866 rm -f conftest.er1
15867 cat conftest.err >&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } &&
15870 { ac_try='test -z "$ac_cxx_werror_flag"
15871 || test ! -s conftest.err'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15874 ac_status=$?
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; } &&
15877 { ac_try='test -s conftest.$ac_objext'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15880 ac_status=$?
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; }; then
15883 ac_header_compiler=yes
15884 else
15885 echo "$as_me: failed program was:" >&5
15886 sed 's/^/| /' conftest.$ac_ext >&5
15888 ac_header_compiler=no
15890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15892 echo "${ECHO_T}$ac_header_compiler" >&6
15894 # Is the header present?
15895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15897 cat >conftest.$ac_ext <<_ACEOF
15898 /* confdefs.h. */
15899 _ACEOF
15900 cat confdefs.h >>conftest.$ac_ext
15901 cat >>conftest.$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15903 #include <$ac_header>
15904 _ACEOF
15905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } >/dev/null; then
15913 if test -s conftest.err; then
15914 ac_cpp_err=$ac_cxx_preproc_warn_flag
15915 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15916 else
15917 ac_cpp_err=
15919 else
15920 ac_cpp_err=yes
15922 if test -z "$ac_cpp_err"; then
15923 ac_header_preproc=yes
15924 else
15925 echo "$as_me: failed program was:" >&5
15926 sed 's/^/| /' conftest.$ac_ext >&5
15928 ac_header_preproc=no
15930 rm -f conftest.err conftest.$ac_ext
15931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15932 echo "${ECHO_T}$ac_header_preproc" >&6
15934 # So? What about this header?
15935 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15936 yes:no: )
15937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15941 ac_header_preproc=yes
15943 no:yes:* )
15944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15957 cat <<\_ASBOX
15958 ## ----------------------------------------- ##
15959 ## Report this to the package-unused lists. ##
15960 ## ----------------------------------------- ##
15961 _ASBOX
15963 sed "s/^/$as_me: WARNING: /" >&2
15965 esac
15966 echo "$as_me:$LINENO: checking for $ac_header" >&5
15967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971 eval "$as_ac_Header=\$ac_header_preproc"
15973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15978 cat >>confdefs.h <<_ACEOF
15979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15980 _ACEOF
15981 ac_has_complex_h=yes
15982 else
15983 ac_has_complex_h=no
15986 done
15988 ac_c99_complex=no;
15989 if test x"$ac_has_complex_h" = x"yes"; then
15990 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15991 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15992 if test x$gcc_no_link = xyes; then
15993 cat >conftest.$ac_ext <<_ACEOF
15994 /* confdefs.h. */
15995 _ACEOF
15996 cat confdefs.h >>conftest.$ac_ext
15997 cat >>conftest.$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 #include <complex.h>
16000 typedef __complex__ float float_type;
16001 typedef __complex__ double double_type;
16002 typedef __complex__ long double ld_type;
16003 volatile float_type tmpf;
16004 volatile double_type tmpd;
16005 volatile ld_type tmpld;
16006 volatile float f;
16007 volatile double d;
16008 volatile long double ld;
16010 main ()
16012 f = cabsf(tmpf);
16013 f = cargf(tmpf);
16014 tmpf = ccosf(tmpf);
16015 tmpf = ccoshf(tmpf);
16016 tmpf = cexpf(tmpf);
16017 tmpf = clogf(tmpf);
16018 tmpf = csinf(tmpf);
16019 tmpf = csinhf(tmpf);
16020 tmpf = csqrtf(tmpf);
16021 tmpf = ctanf(tmpf);
16022 tmpf = ctanhf(tmpf);
16023 tmpf = cpowf(tmpf, tmpf);
16024 d = cabs(tmpd);
16025 d = carg(tmpd);
16026 tmpd = ccos(tmpd);
16027 tmpd = ccosh(tmpd);
16028 tmpd = cexp(tmpd);
16029 tmpd = clog(tmpd);
16030 tmpd = csin(tmpd);
16031 tmpd = csinh(tmpd);
16032 tmpd = csqrt(tmpd);
16033 tmpd = ctan(tmpd);
16034 tmpd = ctanh(tmpd);
16035 tmpd = cpow(tmpd, tmpd);
16036 ld = cabsl(tmpld);
16037 ld = cargl(tmpld);
16038 tmpld = ccosl(tmpld);
16039 tmpld = ccoshl(tmpld);
16040 tmpld = cexpl(tmpld);
16041 tmpld = clogl(tmpld);
16042 tmpld = csinl(tmpld);
16043 tmpld = csinhl(tmpld);
16044 tmpld = csqrtl(tmpld);
16045 tmpld = ctanl(tmpld);
16046 tmpld = ctanhl(tmpld);
16047 tmpld = cpowl(tmpld, tmpld);
16050 return 0;
16052 _ACEOF
16053 rm -f conftest.$ac_objext
16054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16055 (eval $ac_compile) 2>conftest.er1
16056 ac_status=$?
16057 grep -v '^ *+' conftest.er1 >conftest.err
16058 rm -f conftest.er1
16059 cat conftest.err >&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
16062 { ac_try='test -z "$ac_cxx_werror_flag"
16063 || test ! -s conftest.err'
16064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 (eval $ac_try) 2>&5
16066 ac_status=$?
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); }; } &&
16069 { ac_try='test -s conftest.$ac_objext'
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16072 ac_status=$?
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; }; then
16075 ac_c99_complex=yes
16076 else
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16080 ac_c99_complex=no
16082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16083 else
16084 if test x$gcc_no_link = xyes; then
16085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16087 { (exit 1); exit 1; }; }
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 #include <complex.h>
16096 typedef __complex__ float float_type;
16097 typedef __complex__ double double_type;
16098 typedef __complex__ long double ld_type;
16099 volatile float_type tmpf;
16100 volatile double_type tmpd;
16101 volatile ld_type tmpld;
16102 volatile float f;
16103 volatile double d;
16104 volatile long double ld;
16106 main ()
16108 f = cabsf(tmpf);
16109 f = cargf(tmpf);
16110 tmpf = ccosf(tmpf);
16111 tmpf = ccoshf(tmpf);
16112 tmpf = cexpf(tmpf);
16113 tmpf = clogf(tmpf);
16114 tmpf = csinf(tmpf);
16115 tmpf = csinhf(tmpf);
16116 tmpf = csqrtf(tmpf);
16117 tmpf = ctanf(tmpf);
16118 tmpf = ctanhf(tmpf);
16119 tmpf = cpowf(tmpf, tmpf);
16120 d = cabs(tmpd);
16121 d = carg(tmpd);
16122 tmpd = ccos(tmpd);
16123 tmpd = ccosh(tmpd);
16124 tmpd = cexp(tmpd);
16125 tmpd = clog(tmpd);
16126 tmpd = csin(tmpd);
16127 tmpd = csinh(tmpd);
16128 tmpd = csqrt(tmpd);
16129 tmpd = ctan(tmpd);
16130 tmpd = ctanh(tmpd);
16131 tmpd = cpow(tmpd, tmpd);
16132 ld = cabsl(tmpld);
16133 ld = cargl(tmpld);
16134 tmpld = ccosl(tmpld);
16135 tmpld = ccoshl(tmpld);
16136 tmpld = cexpl(tmpld);
16137 tmpld = clogl(tmpld);
16138 tmpld = csinl(tmpld);
16139 tmpld = csinhl(tmpld);
16140 tmpld = csqrtl(tmpld);
16141 tmpld = ctanl(tmpld);
16142 tmpld = ctanhl(tmpld);
16143 tmpld = cpowl(tmpld, tmpld);
16146 return 0;
16148 _ACEOF
16149 rm -f conftest.$ac_objext conftest$ac_exeext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16151 (eval $ac_link) 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } &&
16158 { ac_try='test -z "$ac_cxx_werror_flag"
16159 || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest$ac_exeext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 ac_c99_complex=yes
16172 else
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16176 ac_c99_complex=no
16178 rm -f conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext conftest.$ac_ext
16182 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16183 echo "${ECHO_T}$ac_c99_complex" >&6
16184 if test x"$ac_c99_complex" = x"yes"; then
16186 cat >>confdefs.h <<\_ACEOF
16187 #define _GLIBCXX_USE_C99_COMPLEX 1
16188 _ACEOF
16192 # Check for the existence in <stdio.h> of vscanf, et. al.
16193 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16194 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16195 if test "${ac_c99_stdio+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16199 if test x$gcc_no_link = xyes; then
16200 cat >conftest.$ac_ext <<_ACEOF
16201 /* confdefs.h. */
16202 _ACEOF
16203 cat confdefs.h >>conftest.$ac_ext
16204 cat >>conftest.$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16206 #include <stdio.h>
16207 #include <stdarg.h>
16208 void foo(char* fmt, ...)
16210 va_list args; va_start(args, fmt);
16211 vfscanf(stderr, "%i", args);
16212 vscanf("%i", args);
16213 vsnprintf(fmt, 0, "%i", args);
16214 vsscanf(fmt, "%i", args);
16217 main ()
16219 snprintf("12", 0, "%i");
16221 return 0;
16223 _ACEOF
16224 rm -f conftest.$ac_objext
16225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16226 (eval $ac_compile) 2>conftest.er1
16227 ac_status=$?
16228 grep -v '^ *+' conftest.er1 >conftest.err
16229 rm -f conftest.er1
16230 cat conftest.err >&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } &&
16233 { ac_try='test -z "$ac_cxx_werror_flag"
16234 || test ! -s conftest.err'
16235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16236 (eval $ac_try) 2>&5
16237 ac_status=$?
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; } &&
16240 { ac_try='test -s conftest.$ac_objext'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16243 ac_status=$?
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; }; then
16246 ac_c99_stdio=yes
16247 else
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.$ac_ext >&5
16251 ac_c99_stdio=no
16253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16254 else
16255 if test x$gcc_no_link = xyes; then
16256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16258 { (exit 1); exit 1; }; }
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 #include <stdio.h>
16267 #include <stdarg.h>
16268 void foo(char* fmt, ...)
16270 va_list args; va_start(args, fmt);
16271 vfscanf(stderr, "%i", args);
16272 vscanf("%i", args);
16273 vsnprintf(fmt, 0, "%i", args);
16274 vsscanf(fmt, "%i", args);
16277 main ()
16279 snprintf("12", 0, "%i");
16281 return 0;
16283 _ACEOF
16284 rm -f conftest.$ac_objext conftest$ac_exeext
16285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16286 (eval $ac_link) 2>conftest.er1
16287 ac_status=$?
16288 grep -v '^ *+' conftest.er1 >conftest.err
16289 rm -f conftest.er1
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } &&
16293 { ac_try='test -z "$ac_cxx_werror_flag"
16294 || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try='test -s conftest$ac_exeext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_c99_stdio=yes
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16311 ac_c99_stdio=no
16313 rm -f conftest.err conftest.$ac_objext \
16314 conftest$ac_exeext conftest.$ac_ext
16319 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16320 echo "${ECHO_T}$ac_c99_stdio" >&6
16322 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16323 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16324 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16325 if test "${ac_c99_stdlib+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16329 if test x$gcc_no_link = xyes; then
16330 cat >conftest.$ac_ext <<_ACEOF
16331 /* confdefs.h. */
16332 _ACEOF
16333 cat confdefs.h >>conftest.$ac_ext
16334 cat >>conftest.$ac_ext <<_ACEOF
16335 /* end confdefs.h. */
16336 #include <stdlib.h>
16337 volatile float f;
16338 volatile long double ld;
16339 volatile unsigned long long ll;
16340 lldiv_t mydivt;
16342 main ()
16344 char* tmp;
16345 f = strtof("gnu", &tmp);
16346 ld = strtold("gnu", &tmp);
16347 ll = strtoll("gnu", &tmp, 10);
16348 ll = strtoull("gnu", &tmp, 10);
16349 ll = llabs(10);
16350 mydivt = lldiv(10,1);
16351 ll = mydivt.quot;
16352 ll = mydivt.rem;
16353 ll = atoll("10");
16354 _Exit(0);
16357 return 0;
16359 _ACEOF
16360 rm -f conftest.$ac_objext
16361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16362 (eval $ac_compile) 2>conftest.er1
16363 ac_status=$?
16364 grep -v '^ *+' conftest.er1 >conftest.err
16365 rm -f conftest.er1
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try='test -z "$ac_cxx_werror_flag"
16370 || test ! -s conftest.err'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16373 ac_status=$?
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; } &&
16376 { ac_try='test -s conftest.$ac_objext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_c99_stdlib=yes
16383 else
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.$ac_ext >&5
16387 ac_c99_stdlib=no
16389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16390 else
16391 if test x$gcc_no_link = xyes; then
16392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16394 { (exit 1); exit 1; }; }
16396 cat >conftest.$ac_ext <<_ACEOF
16397 /* confdefs.h. */
16398 _ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402 #include <stdlib.h>
16403 volatile float f;
16404 volatile long double ld;
16405 volatile unsigned long long ll;
16406 lldiv_t mydivt;
16408 main ()
16410 char* tmp;
16411 f = strtof("gnu", &tmp);
16412 ld = strtold("gnu", &tmp);
16413 ll = strtoll("gnu", &tmp, 10);
16414 ll = strtoull("gnu", &tmp, 10);
16415 ll = llabs(10);
16416 mydivt = lldiv(10,1);
16417 ll = mydivt.quot;
16418 ll = mydivt.rem;
16419 ll = atoll("10");
16420 _Exit(0);
16423 return 0;
16425 _ACEOF
16426 rm -f conftest.$ac_objext conftest$ac_exeext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16428 (eval $ac_link) 2>conftest.er1
16429 ac_status=$?
16430 grep -v '^ *+' conftest.er1 >conftest.err
16431 rm -f conftest.er1
16432 cat conftest.err >&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } &&
16435 { ac_try='test -z "$ac_cxx_werror_flag"
16436 || test ! -s conftest.err'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; } &&
16442 { ac_try='test -s conftest$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_c99_stdlib=yes
16449 else
16450 echo "$as_me: failed program was:" >&5
16451 sed 's/^/| /' conftest.$ac_ext >&5
16453 ac_c99_stdlib=no
16455 rm -f conftest.err conftest.$ac_objext \
16456 conftest$ac_exeext conftest.$ac_ext
16461 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16462 echo "${ECHO_T}$ac_c99_stdlib" >&6
16464 # Check for the existence in <wchar.h> of wcstold, etc.
16465 ac_c99_wchar=no;
16466 if test x"$ac_has_wchar_h" = xyes &&
16467 test x"$ac_has_wctype_h" = xyes; then
16468 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16469 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16470 cat >conftest.$ac_ext <<_ACEOF
16471 /* confdefs.h. */
16472 _ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 #include <wchar.h>
16477 namespace test
16479 using ::wcstold;
16480 using ::wcstoll;
16481 using ::wcstoull;
16485 main ()
16489 return 0;
16491 _ACEOF
16492 rm -f conftest.$ac_objext
16493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16494 (eval $ac_compile) 2>conftest.er1
16495 ac_status=$?
16496 grep -v '^ *+' conftest.er1 >conftest.err
16497 rm -f conftest.er1
16498 cat conftest.err >&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); } &&
16501 { ac_try='test -z "$ac_cxx_werror_flag"
16502 || test ! -s conftest.err'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try='test -s conftest.$ac_objext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16514 ac_c99_wchar=yes
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16519 ac_c99_wchar=no
16521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16523 # Checks for wide character functions that may not be present.
16524 # Injection of these is wrapped with guard macros.
16525 # NB: only put functions here, instead of immediately above, if
16526 # absolutely necessary.
16527 cat >conftest.$ac_ext <<_ACEOF
16528 /* confdefs.h. */
16529 _ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 #include <wchar.h>
16534 namespace test { using ::vfwscanf; }
16536 main ()
16540 return 0;
16542 _ACEOF
16543 rm -f conftest.$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545 (eval $ac_compile) 2>conftest.er1
16546 ac_status=$?
16547 grep -v '^ *+' conftest.er1 >conftest.err
16548 rm -f conftest.er1
16549 cat conftest.err >&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } &&
16552 { ac_try='test -z "$ac_cxx_werror_flag"
16553 || test ! -s conftest.err'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16556 ac_status=$?
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } &&
16559 { ac_try='test -s conftest.$ac_objext'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16562 ac_status=$?
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; }; then
16566 cat >>confdefs.h <<\_ACEOF
16567 #define HAVE_VFWSCANF 1
16568 _ACEOF
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16577 cat >conftest.$ac_ext <<_ACEOF
16578 /* confdefs.h. */
16579 _ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 #include <wchar.h>
16584 namespace test { using ::vswscanf; }
16586 main ()
16590 return 0;
16592 _ACEOF
16593 rm -f conftest.$ac_objext
16594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16595 (eval $ac_compile) 2>conftest.er1
16596 ac_status=$?
16597 grep -v '^ *+' conftest.er1 >conftest.err
16598 rm -f conftest.er1
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } &&
16602 { ac_try='test -z "$ac_cxx_werror_flag"
16603 || test ! -s conftest.err'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; } &&
16609 { ac_try='test -s conftest.$ac_objext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16616 cat >>confdefs.h <<\_ACEOF
16617 #define HAVE_VSWSCANF 1
16618 _ACEOF
16620 else
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16627 cat >conftest.$ac_ext <<_ACEOF
16628 /* confdefs.h. */
16629 _ACEOF
16630 cat confdefs.h >>conftest.$ac_ext
16631 cat >>conftest.$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633 #include <wchar.h>
16634 namespace test { using ::vwscanf; }
16636 main ()
16640 return 0;
16642 _ACEOF
16643 rm -f conftest.$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_cxx_werror_flag"
16653 || test ! -s conftest.err'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16656 ac_status=$?
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } &&
16659 { ac_try='test -s conftest.$ac_objext'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; }; then
16666 cat >>confdefs.h <<\_ACEOF
16667 #define HAVE_VWSCANF 1
16668 _ACEOF
16670 else
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16677 cat >conftest.$ac_ext <<_ACEOF
16678 /* confdefs.h. */
16679 _ACEOF
16680 cat confdefs.h >>conftest.$ac_ext
16681 cat >>conftest.$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 #include <wchar.h>
16684 namespace test { using ::wcstof; }
16686 main ()
16690 return 0;
16692 _ACEOF
16693 rm -f conftest.$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16696 ac_status=$?
16697 grep -v '^ *+' conftest.er1 >conftest.err
16698 rm -f conftest.er1
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -z "$ac_cxx_werror_flag"
16703 || test ! -s conftest.err'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; } &&
16709 { ac_try='test -s conftest.$ac_objext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16716 cat >>confdefs.h <<\_ACEOF
16717 #define HAVE_WCSTOF 1
16718 _ACEOF
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16727 cat >conftest.$ac_ext <<_ACEOF
16728 /* confdefs.h. */
16729 _ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 #include <wctype.h>
16735 main ()
16737 wint_t t; int i = iswblank(t);
16739 return 0;
16741 _ACEOF
16742 rm -f conftest.$ac_objext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16744 (eval $ac_compile) 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } &&
16751 { ac_try='test -z "$ac_cxx_werror_flag"
16752 || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16755 ac_status=$?
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16765 cat >>confdefs.h <<\_ACEOF
16766 #define HAVE_ISWBLANK 1
16767 _ACEOF
16769 else
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16776 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16777 echo "${ECHO_T}$ac_c99_wchar" >&6
16780 # Option parsed, now set things appropriately.
16781 if test x"$ac_c99_math" = x"no" ||
16782 test x"$ac_c99_complex" = x"no" ||
16783 test x"$ac_c99_stdio" = x"no" ||
16784 test x"$ac_c99_stdlib" = x"no" ||
16785 test x"$ac_c99_wchar" = x"no"; then
16786 enable_c99=no;
16787 else
16789 cat >>confdefs.h <<\_ACEOF
16790 #define _GLIBCXX_USE_C99 1
16791 _ACEOF
16795 gcc_no_link="$ac_save_gcc_no_link"
16796 LIBS="$ac_save_LIBS"
16797 CXXFLAGS="$ac_save_CXXFLAGS"
16798 ac_ext=c
16799 ac_cpp='$CPP $CPPFLAGS'
16800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16806 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16807 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16808 echo "$as_me:$LINENO: result: $enable_c99" >&5
16809 echo "${ECHO_T}$enable_c99" >&6
16812 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16813 if test "${enable_concept_checks+set}" = set; then
16814 enableval="$enable_concept_checks"
16816 case "$enableval" in
16817 yes|no) ;;
16818 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16819 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16820 { (exit 1); exit 1; }; } ;;
16821 esac
16823 else
16824 enable_concept_checks=no
16827 if test $enable_concept_checks = yes; then
16829 cat >>confdefs.h <<\_ACEOF
16830 #define _GLIBCXX_CONCEPT_CHECKS 1
16831 _ACEOF
16836 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16837 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16838 enableval="$enable_libstdcxx_debug_flags"
16839 case "x$enable_libstdcxx_debug_flags" in
16840 xno | x) enable_libstdcxx_debug_flags= ;;
16841 x-*) ;;
16842 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16843 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16844 { (exit 1); exit 1; }; } ;;
16845 esac
16846 else
16847 enable_libstdcxx_debug_flags="-g3 -O0"
16851 # Option parsed, now set things appropriately
16852 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16855 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16856 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16859 echo "$as_me:$LINENO: checking for additional debug build" >&5
16860 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16861 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16862 if test "${enable_libstdcxx_debug+set}" = set; then
16863 enableval="$enable_libstdcxx_debug"
16865 case "$enableval" in
16866 yes|no) ;;
16867 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16868 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16869 { (exit 1); exit 1; }; } ;;
16870 esac
16872 else
16873 enable_libstdcxx_debug=no
16876 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16877 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16882 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16883 # dependencies (omp.h and libgomp).
16884 enable_parallel=no;
16885 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16886 enable_parallel=yes;
16887 else
16888 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16889 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16892 # Check to see if it's explicitly disabled.
16893 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16894 # [permit yes|no])
16896 # if test x$enable_libgomp = xno; then
16897 # enable_parallel=no
16898 # fi
16900 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16901 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16902 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16903 echo "${ECHO_T}$enable_parallel" >&6
16906 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16907 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16908 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16909 if test "${enable_cxx_flags+set}" = set; then
16910 enableval="$enable_cxx_flags"
16911 case "x$enable_cxx_flags" in
16912 xno | x) enable_cxx_flags= ;;
16913 x-*) ;;
16914 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16915 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16916 { (exit 1); exit 1; }; } ;;
16917 esac
16918 else
16919 enable_cxx_flags=
16923 # Run through flags (either default or command-line) and set anything
16924 # extra (e.g., #defines) that must accompany particular g++ options.
16925 if test -n "$enable_cxx_flags"; then
16926 for f in $enable_cxx_flags; do
16927 case "$f" in
16928 -fhonor-std) ;;
16929 -*) ;;
16930 *) # and we're trying to pass /what/ exactly?
16931 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16932 echo "$as_me: error: compiler flags start with a -" >&2;}
16933 { (exit 1); exit 1; }; } ;;
16934 esac
16935 done
16938 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16939 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16940 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16944 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16945 if test "${enable_fully_dynamic_string+set}" = set; then
16946 enableval="$enable_fully_dynamic_string"
16948 case "$enableval" in
16949 yes|no) ;;
16950 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16951 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16952 { (exit 1); exit 1; }; } ;;
16953 esac
16955 else
16956 enable_fully_dynamic_string=no
16959 if test $enable_fully_dynamic_string = yes; then
16961 cat >>confdefs.h <<\_ACEOF
16962 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16963 _ACEOF
16968 # Checks for operating systems support that don't require linking.
16971 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16972 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16973 if test "${ac_system_error1+set}" = set; then
16974 echo $ECHO_N "(cached) $ECHO_C" >&6
16975 else
16977 cat >conftest.$ac_ext <<_ACEOF
16978 /* confdefs.h. */
16979 _ACEOF
16980 cat confdefs.h >>conftest.$ac_ext
16981 cat >>conftest.$ac_ext <<_ACEOF
16982 /* end confdefs.h. */
16983 #include <errno.h>
16985 main ()
16987 int i = EOWNERDEAD;
16989 return 0;
16991 _ACEOF
16992 rm -f conftest.$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994 (eval $ac_compile) 2>conftest.er1
16995 ac_status=$?
16996 grep -v '^ *+' conftest.er1 >conftest.err
16997 rm -f conftest.er1
16998 cat conftest.err >&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try='test -z "$ac_c_werror_flag"
17002 || test ! -s conftest.err'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17005 ac_status=$?
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; } &&
17008 { ac_try='test -s conftest.$ac_objext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_system_error1=yes
17015 else
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17019 ac_system_error1=no
17021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17025 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17026 echo "${ECHO_T}$ac_system_error1" >&6
17027 if test x"$ac_system_error1" = x"yes"; then
17029 cat >>confdefs.h <<\_ACEOF
17030 #define HAVE_EOWNERDEAD 1
17031 _ACEOF
17035 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17036 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17037 if test "${ac_system_error2+set}" = set; then
17038 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 else
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 #include <errno.h>
17049 main ()
17051 int i = ENOTRECOVERABLE;
17053 return 0;
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try='test -z "$ac_c_werror_flag"
17066 || test ! -s conftest.err'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17069 ac_status=$?
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; } &&
17072 { ac_try='test -s conftest.$ac_objext'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; }; then
17078 ac_system_error2=yes
17079 else
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17083 ac_system_error2=no
17085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17089 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17090 echo "${ECHO_T}$ac_system_error2" >&6
17091 if test x"$ac_system_error2" = x"yes"; then
17093 cat >>confdefs.h <<\_ACEOF
17094 #define HAVE_ENOTRECOVERABLE 1
17095 _ACEOF
17099 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17100 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17101 if test "${ac_system_error3+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else
17105 cat >conftest.$ac_ext <<_ACEOF
17106 /* confdefs.h. */
17107 _ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17111 #include <errno.h>
17113 main ()
17115 int i = ENOLINK;
17117 return 0;
17119 _ACEOF
17120 rm -f conftest.$ac_objext
17121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17122 (eval $ac_compile) 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } &&
17129 { ac_try='test -z "$ac_c_werror_flag"
17130 || test ! -s conftest.err'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17133 ac_status=$?
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; } &&
17136 { ac_try='test -s conftest.$ac_objext'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17139 ac_status=$?
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17142 ac_system_error3=yes
17143 else
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.$ac_ext >&5
17147 ac_system_error3=no
17149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17153 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17154 echo "${ECHO_T}$ac_system_error3" >&6
17155 if test x"$ac_system_error3" = x"yes"; then
17157 cat >>confdefs.h <<\_ACEOF
17158 #define HAVE_ENOLINK 1
17159 _ACEOF
17163 echo "$as_me:$LINENO: checking for EPROTO" >&5
17164 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17165 if test "${ac_system_error_4+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 #include <errno.h>
17177 main ()
17179 int i = EPROTO;
17181 return 0;
17183 _ACEOF
17184 rm -f conftest.$ac_objext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17186 (eval $ac_compile) 2>conftest.er1
17187 ac_status=$?
17188 grep -v '^ *+' conftest.er1 >conftest.err
17189 rm -f conftest.er1
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try='test -z "$ac_c_werror_flag"
17194 || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest.$ac_objext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_system_error_4=yes
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 ac_system_error_4=no
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17217 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17218 echo "${ECHO_T}$ac_system_error_4" >&6
17219 if test x"$ac_system_error_4" = x"yes"; then
17221 cat >>confdefs.h <<\_ACEOF
17222 #define HAVE_EPROTO 1
17223 _ACEOF
17227 echo "$as_me:$LINENO: checking for ENODATA" >&5
17228 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17229 if test "${ac_system_error_5+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 else
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h. */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239 #include <errno.h>
17241 main ()
17243 int i = ENODATA;
17245 return 0;
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag"
17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 ac_system_error_5=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17275 ac_system_error_5=no
17277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17281 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17282 echo "${ECHO_T}$ac_system_error_5" >&6
17283 if test x"$ac_system_error_5" = x"yes"; then
17285 cat >>confdefs.h <<\_ACEOF
17286 #define HAVE_ENODATA 1
17287 _ACEOF
17291 echo "$as_me:$LINENO: checking for ENOSR" >&5
17292 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17293 if test "${ac_system_error_6+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 #include <errno.h>
17305 main ()
17307 int i = ENOSR;
17309 return 0;
17311 _ACEOF
17312 rm -f conftest.$ac_objext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17314 (eval $ac_compile) 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -z "$ac_c_werror_flag"
17322 || test ! -s conftest.err'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } &&
17328 { ac_try='test -s conftest.$ac_objext'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17331 ac_status=$?
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; }; then
17334 ac_system_error_6=yes
17335 else
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17339 ac_system_error_6=no
17341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17345 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17346 echo "${ECHO_T}$ac_system_error_6" >&6
17347 if test x"$ac_system_error_6" = x"yes"; then
17349 cat >>confdefs.h <<\_ACEOF
17350 #define HAVE_ENOSR 1
17351 _ACEOF
17355 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17356 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17357 if test "${ac_system_error_7+set}" = set; then
17358 echo $ECHO_N "(cached) $ECHO_C" >&6
17359 else
17361 cat >conftest.$ac_ext <<_ACEOF
17362 /* confdefs.h. */
17363 _ACEOF
17364 cat confdefs.h >>conftest.$ac_ext
17365 cat >>conftest.$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17367 #include <errno.h>
17369 main ()
17371 int i = ENOSTR;
17373 return 0;
17375 _ACEOF
17376 rm -f conftest.$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>conftest.er1
17379 ac_status=$?
17380 grep -v '^ *+' conftest.er1 >conftest.err
17381 rm -f conftest.er1
17382 cat conftest.err >&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } &&
17385 { ac_try='test -z "$ac_c_werror_flag"
17386 || test ! -s conftest.err'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17389 ac_status=$?
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; } &&
17392 { ac_try='test -s conftest.$ac_objext'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; }; then
17398 ac_system_error_7=yes
17399 else
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17403 ac_system_error_7=no
17405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17409 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17410 echo "${ECHO_T}$ac_system_error_7" >&6
17411 if test x"$ac_system_error_7" = x"yes"; then
17413 cat >>confdefs.h <<\_ACEOF
17414 #define HAVE_ENOSTR 1
17415 _ACEOF
17419 echo "$as_me:$LINENO: checking for ETIME" >&5
17420 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17421 if test "${ac_system_error_8+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17423 else
17425 cat >conftest.$ac_ext <<_ACEOF
17426 /* confdefs.h. */
17427 _ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17431 #include <errno.h>
17433 main ()
17435 int i = ETIME;
17437 return 0;
17439 _ACEOF
17440 rm -f conftest.$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17443 ac_status=$?
17444 grep -v '^ *+' conftest.er1 >conftest.err
17445 rm -f conftest.er1
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try='test -z "$ac_c_werror_flag"
17450 || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17453 ac_status=$?
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17459 ac_status=$?
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 ac_system_error_8=yes
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17467 ac_system_error_8=no
17469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17473 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17474 echo "${ECHO_T}$ac_system_error_8" >&6
17475 if test x"$ac_system_error_8" = x"yes"; then
17477 cat >>confdefs.h <<\_ACEOF
17478 #define HAVE_ETIME 1
17479 _ACEOF
17483 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17484 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17485 if test "${ac_system_error9+set}" = set; then
17486 echo $ECHO_N "(cached) $ECHO_C" >&6
17487 else
17489 cat >conftest.$ac_ext <<_ACEOF
17490 /* confdefs.h. */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 #include <errno.h>
17497 main ()
17499 int i = sys_nerr;
17501 return 0;
17503 _ACEOF
17504 rm -f conftest.$ac_objext
17505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17506 (eval $ac_compile) 2>conftest.er1
17507 ac_status=$?
17508 grep -v '^ *+' conftest.er1 >conftest.err
17509 rm -f conftest.er1
17510 cat conftest.err >&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } &&
17513 { ac_try='test -z "$ac_c_werror_flag"
17514 || test ! -s conftest.err'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; } &&
17520 { ac_try='test -s conftest.$ac_objext'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; }; then
17526 ac_system_error9=yes
17527 else
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17531 ac_system_error9=no
17533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17537 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17538 echo "${ECHO_T}$ac_system_error9" >&6
17539 if test x"$ac_system_error9" = x"yes"; then
17541 cat >>confdefs.h <<\_ACEOF
17542 #define HAVE_SYS_NERR 1
17543 _ACEOF
17547 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17548 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17549 if test "${ac_system_error_10+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17551 else
17553 cat >conftest.$ac_ext <<_ACEOF
17554 /* confdefs.h. */
17555 _ACEOF
17556 cat confdefs.h >>conftest.$ac_ext
17557 cat >>conftest.$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17559 #include <errno.h>
17561 main ()
17563 int i = EBADMSG;
17565 return 0;
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>conftest.er1
17571 ac_status=$?
17572 grep -v '^ *+' conftest.er1 >conftest.err
17573 rm -f conftest.er1
17574 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try='test -z "$ac_c_werror_flag"
17578 || test ! -s conftest.err'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17581 ac_status=$?
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; } &&
17584 { ac_try='test -s conftest.$ac_objext'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; }; then
17590 ac_system_error_10=yes
17591 else
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17595 ac_system_error_10=no
17597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17601 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17602 echo "${ECHO_T}$ac_system_error_10" >&6
17603 if test x"$ac_system_error_10" = x"yes"; then
17605 cat >>confdefs.h <<\_ACEOF
17606 #define HAVE_EBADMSG 1
17607 _ACEOF
17611 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17612 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17613 if test "${ac_system_error_11+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 else
17617 cat >conftest.$ac_ext <<_ACEOF
17618 /* confdefs.h. */
17619 _ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 #include <errno.h>
17625 main ()
17627 int i = ECANCELED;
17629 return 0;
17631 _ACEOF
17632 rm -f conftest.$ac_objext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17634 (eval $ac_compile) 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try='test -z "$ac_c_werror_flag"
17642 || test ! -s conftest.err'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17645 ac_status=$?
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; } &&
17648 { ac_try='test -s conftest.$ac_objext'
17649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650 (eval $ac_try) 2>&5
17651 ac_status=$?
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17654 ac_system_error_11=yes
17655 else
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17659 ac_system_error_11=no
17661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17665 echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17666 echo "${ECHO_T}$ac_system_error_11" >&6
17667 if test x"$ac_system_error_11" = x"yes"; then
17669 cat >>confdefs.h <<\_ACEOF
17670 #define HAVE_ECANCELED 1
17671 _ACEOF
17676 # No surprises, no surprises...
17678 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17679 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17680 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17681 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17682 echo "${ECHO_T}$target_thread_file" >&6
17684 if test $target_thread_file != single; then
17686 cat >>confdefs.h <<\_ACEOF
17687 #define HAVE_GTHR_DEFAULT 1
17688 _ACEOF
17692 glibcxx_thread_h=gthr-$target_thread_file.h
17694 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17695 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17696 enable_thread=yes
17697 else
17698 enable_thread=no
17704 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17705 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17708 ac_ext=cc
17709 ac_cpp='$CXXCPP $CPPFLAGS'
17710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17715 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17716 cat > conftest.$ac_ext << EOF
17717 #line 17717 "configure"
17718 int main()
17720 // NB: _Atomic_word not necessarily int.
17721 typedef int atomic_type;
17722 atomic_type c1;
17723 atomic_type c2;
17724 const atomic_type c3(0);
17725 if (__sync_fetch_and_add(&c1, c2) == c3)
17727 // Do something.
17729 return 0;
17732 old_CXXFLAGS="$CXXFLAGS"
17733 CXXFLAGS=-S
17734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17735 (eval $ac_compile) 2>&5
17736 ac_status=$?
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); }; then
17739 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17740 enable_atomic_builtins=no
17741 else
17743 cat >>confdefs.h <<\_ACEOF
17744 #define _GLIBCXX_ATOMIC_BUILTINS 1
17745 _ACEOF
17747 enable_atomic_builtins=yes
17748 atomicity_dir=cpu/generic/atomicity_builtins
17751 CXXFLAGS="$old_CXXFLAGS"
17752 rm -f conftest*
17754 # Now, if still generic, set to mutex.
17755 if test $atomicity_dir = "cpu/generic" ; then
17756 atomicity_dir=cpu/generic/atomicity_mutex
17758 ac_ext=c
17759 ac_cpp='$CPP $CPPFLAGS'
17760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17765 echo "${ECHO_T}$enable_atomic_builtins" >&6
17767 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17768 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17769 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17770 if test $target_thread_file = single; then
17771 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17772 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17773 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17774 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17775 else
17776 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17777 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17778 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17779 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17784 # All these tests are for C++; save the language and the compiler flags.
17785 # The CXXFLAGS thing is suspicious, but based on similar bits previously
17786 # found in GLIBCXX_CONFIGURE.
17789 ac_ext=cc
17790 ac_cpp='$CXXCPP $CPPFLAGS'
17791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17795 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17796 ac_save_CXXFLAGS="$CXXFLAGS"
17798 # Check for maintainer-mode bits.
17799 if test x"$USE_MAINTAINER_MODE" = xno; then
17800 WERROR=''
17801 else
17802 WERROR='-Werror'
17805 # Check for -ffunction-sections -fdata-sections
17806 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17807 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17808 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
17809 cat >conftest.$ac_ext <<_ACEOF
17810 /* confdefs.h. */
17811 _ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815 int foo; void bar() { };
17817 main ()
17821 return 0;
17823 _ACEOF
17824 rm -f conftest.$ac_objext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17826 (eval $ac_compile) 2>conftest.er1
17827 ac_status=$?
17828 grep -v '^ *+' conftest.er1 >conftest.err
17829 rm -f conftest.er1
17830 cat conftest.err >&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } &&
17833 { ac_try='test -z "$ac_cxx_werror_flag"
17834 || test ! -s conftest.err'
17835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17836 (eval $ac_try) 2>&5
17837 ac_status=$?
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); }; } &&
17840 { ac_try='test -s conftest.$ac_objext'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; }; then
17846 ac_fdsections=yes
17847 else
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.$ac_ext >&5
17851 ac_fdsections=no
17853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17854 if test "$ac_test_CXXFLAGS" = set; then
17855 CXXFLAGS="$ac_save_CXXFLAGS"
17856 else
17857 # this is the suspicious part
17858 CXXFLAGS=''
17860 if test x"$ac_fdsections" = x"yes"; then
17861 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17863 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17864 echo "${ECHO_T}$ac_fdsections" >&6
17866 ac_ext=c
17867 ac_cpp='$CPP $CPPFLAGS'
17868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17876 if $GLIBCXX_IS_NATIVE; then
17878 # We can do more elaborate tests that assume a working linker.
17879 CANADIAN=no
17881 # Check for available headers.
17897 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17898 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17899 sys/types.h sys/ipc.h sys/sem.h
17901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17903 echo "$as_me:$LINENO: checking for $ac_header" >&5
17904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17910 else
17911 # Is the header compilable?
17912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 $ac_includes_default
17921 #include <$ac_header>
17922 _ACEOF
17923 rm -f conftest.$ac_objext
17924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17925 (eval $ac_compile) 2>conftest.er1
17926 ac_status=$?
17927 grep -v '^ *+' conftest.er1 >conftest.err
17928 rm -f conftest.er1
17929 cat conftest.err >&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } &&
17932 { ac_try='test -z "$ac_c_werror_flag"
17933 || test ! -s conftest.err'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17936 ac_status=$?
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; } &&
17939 { ac_try='test -s conftest.$ac_objext'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17942 ac_status=$?
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; }; then
17945 ac_header_compiler=yes
17946 else
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17950 ac_header_compiler=no
17952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17954 echo "${ECHO_T}$ac_header_compiler" >&6
17956 # Is the header present?
17957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17959 cat >conftest.$ac_ext <<_ACEOF
17960 /* confdefs.h. */
17961 _ACEOF
17962 cat confdefs.h >>conftest.$ac_ext
17963 cat >>conftest.$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17965 #include <$ac_header>
17966 _ACEOF
17967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17969 ac_status=$?
17970 grep -v '^ *+' conftest.er1 >conftest.err
17971 rm -f conftest.er1
17972 cat conftest.err >&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } >/dev/null; then
17975 if test -s conftest.err; then
17976 ac_cpp_err=$ac_c_preproc_warn_flag
17977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17978 else
17979 ac_cpp_err=
17981 else
17982 ac_cpp_err=yes
17984 if test -z "$ac_cpp_err"; then
17985 ac_header_preproc=yes
17986 else
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.$ac_ext >&5
17990 ac_header_preproc=no
17992 rm -f conftest.err conftest.$ac_ext
17993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17994 echo "${ECHO_T}$ac_header_preproc" >&6
17996 # So? What about this header?
17997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17998 yes:no: )
17999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18003 ac_header_preproc=yes
18005 no:yes:* )
18006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18019 cat <<\_ASBOX
18020 ## ----------------------------------------- ##
18021 ## Report this to the package-unused lists. ##
18022 ## ----------------------------------------- ##
18023 _ASBOX
18025 sed "s/^/$as_me: WARNING: /" >&2
18027 esac
18028 echo "$as_me:$LINENO: checking for $ac_header" >&5
18029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18032 else
18033 eval "$as_ac_Header=\$ac_header_preproc"
18035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18040 cat >>confdefs.h <<_ACEOF
18041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18042 _ACEOF
18046 done
18051 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18052 if test "${with_gnu_ld+set}" = set; then
18053 withval="$with_gnu_ld"
18054 test "$withval" = no || with_gnu_ld=yes
18055 else
18056 with_gnu_ld=no
18058 ac_prog=ld
18059 if test "$GCC" = yes; then
18060 # Check if gcc -print-prog-name=ld gives a path.
18061 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18062 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18063 case $host in
18064 *-*-mingw*)
18065 # gcc leaves a trailing carriage return which upsets mingw
18066 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18068 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18069 esac
18070 case $ac_prog in
18071 # Accept absolute paths.
18072 [\\/]* | ?:[\\/]*)
18073 re_direlt='/[^/][^/]*/\.\./'
18074 # Canonicalize the pathname of ld
18075 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18076 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18077 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18078 done
18079 test -z "$LD" && LD="$ac_prog"
18082 # If it fails, then pretend we aren't using GCC.
18083 ac_prog=ld
18086 # If it is relative, then search for the first ld in PATH.
18087 with_gnu_ld=unknown
18089 esac
18090 elif test "$with_gnu_ld" = yes; then
18091 echo "$as_me:$LINENO: checking for GNU ld" >&5
18092 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18093 else
18094 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18095 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18097 if test "${lt_cv_path_LD+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 else
18100 if test -z "$LD"; then
18101 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18102 for ac_dir in $PATH; do
18103 IFS="$lt_save_ifs"
18104 test -z "$ac_dir" && ac_dir=.
18105 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18106 lt_cv_path_LD="$ac_dir/$ac_prog"
18107 # Check to see if the program is GNU ld. I'd rather use --version,
18108 # but apparently some variants of GNU ld only accept -v.
18109 # Break only if it was the GNU/non-GNU ld that we prefer.
18110 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18111 *GNU* | *'with BFD'*)
18112 test "$with_gnu_ld" != no && break
18115 test "$with_gnu_ld" != yes && break
18117 esac
18119 done
18120 IFS="$lt_save_ifs"
18121 else
18122 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18126 LD="$lt_cv_path_LD"
18127 if test -n "$LD"; then
18128 echo "$as_me:$LINENO: result: $LD" >&5
18129 echo "${ECHO_T}$LD" >&6
18130 else
18131 echo "$as_me:$LINENO: result: no" >&5
18132 echo "${ECHO_T}no" >&6
18134 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18135 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18136 { (exit 1); exit 1; }; }
18137 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18138 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18139 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18140 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 else
18142 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18143 case `$LD -v 2>&1 </dev/null` in
18144 *GNU* | *'with BFD'*)
18145 lt_cv_prog_gnu_ld=yes
18148 lt_cv_prog_gnu_ld=no
18150 esac
18152 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18153 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18154 with_gnu_ld=$lt_cv_prog_gnu_ld
18162 # If we're not using GNU ld, then there's no point in even trying these
18163 # tests. Check for that first. We should have already tested for gld
18164 # by now (in libtool), but require it now just to be safe...
18165 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18166 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18170 # The name set by libtool depends on the version of libtool. Shame on us
18171 # for depending on an impl detail, but c'est la vie. Older versions used
18172 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18173 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18174 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18175 # set (hence we're using an older libtool), then set it.
18176 if test x${with_gnu_ld+set} != xset; then
18177 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18178 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18179 with_gnu_ld=no
18180 else
18181 with_gnu_ld=$ac_cv_prog_gnu_ld
18185 # Start by getting the version number. I think the libtool test already
18186 # does some of this, but throws away the result.
18187 if test x"$with_gnu_ld" = x"yes"; then
18188 echo "$as_me:$LINENO: checking for ld version" >&5
18189 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18191 ldver=`$LD --version 2>/dev/null | head -1 | \
18192 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18194 glibcxx_gnu_ld_version=`echo $ldver | \
18195 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18196 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18197 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18200 # Set --gc-sections.
18201 glibcxx_gcsections_min_ld=21602
18202 if test x"$with_gnu_ld" = x"yes" &&
18203 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18205 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18206 # NB: This flag only works reliably after 2.16.1. Configure tests
18207 # for this are difficult, so hard wire a value that should work.
18209 ac_test_CFLAGS="${CFLAGS+set}"
18210 ac_save_CFLAGS="$CFLAGS"
18211 CFLAGS='-Wl,--gc-sections'
18213 # Check for -Wl,--gc-sections
18214 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18215 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18216 if test x$gcc_no_link = xyes; then
18217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18219 { (exit 1); exit 1; }; }
18221 cat >conftest.$ac_ext <<_ACEOF
18222 /* confdefs.h. */
18223 _ACEOF
18224 cat confdefs.h >>conftest.$ac_ext
18225 cat >>conftest.$ac_ext <<_ACEOF
18226 /* end confdefs.h. */
18227 int one(void) { return 1; }
18228 int two(void) { return 2; }
18231 main ()
18233 two();
18235 return 0;
18237 _ACEOF
18238 rm -f conftest.$ac_objext conftest$ac_exeext
18239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18240 (eval $ac_link) 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try='test -z "$ac_c_werror_flag"
18248 || test ! -s conftest.err'
18249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18251 ac_status=$?
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); }; } &&
18254 { ac_try='test -s conftest$ac_exeext'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18257 ac_status=$?
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; }; then
18260 ac_gcsections=yes
18261 else
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18265 ac_gcsections=no
18267 rm -f conftest.err conftest.$ac_objext \
18268 conftest$ac_exeext conftest.$ac_ext
18269 if test "$ac_gcsections" = "yes"; then
18270 rm -f conftest.c
18271 touch conftest.c
18272 if $CC -c conftest.c; then
18273 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18274 grep "Warning: gc-sections option ignored" > /dev/null; then
18275 ac_gcsections=no
18278 rm -f conftest.c conftest.o conftest
18280 if test "$ac_gcsections" = "yes"; then
18281 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18283 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18284 echo "${ECHO_T}$ac_gcsections" >&6
18286 if test "$ac_test_CFLAGS" = set; then
18287 CFLAGS="$ac_save_CFLAGS"
18288 else
18289 # this is the suspicious part
18290 CFLAGS=''
18294 # Set -z,relro.
18295 # Note this is only for shared objects.
18296 ac_ld_relro=no
18297 if test x"$with_gnu_ld" = x"yes"; then
18298 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18299 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18300 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18301 if test -n "$cxx_z_relo"; then
18302 OPT_LDFLAGS="-Wl,-z,relro"
18303 ac_ld_relro=yes
18305 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18306 echo "${ECHO_T}$ac_ld_relro" >&6
18309 # Set linker optimization flags.
18310 if test x"$with_gnu_ld" = x"yes"; then
18311 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18318 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18319 ac_save_CXXFLAGS="$CXXFLAGS"
18320 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18322 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18323 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18324 if test "${ac_cv_lib_m_sin+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 else
18327 ac_check_lib_save_LIBS=$LIBS
18328 LIBS="-lm $LIBS"
18329 if test x$gcc_no_link = xyes; then
18330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18332 { (exit 1); exit 1; }; }
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18341 /* Override any gcc2 internal prototype to avoid an error. */
18342 #ifdef __cplusplus
18343 extern "C"
18344 #endif
18345 /* We use char because int might match the return type of a gcc2
18346 builtin and then its argument prototype would still apply. */
18347 char sin ();
18349 main ()
18351 sin ();
18353 return 0;
18355 _ACEOF
18356 rm -f conftest.$ac_objext conftest$ac_exeext
18357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18358 (eval $ac_link) 2>conftest.er1
18359 ac_status=$?
18360 grep -v '^ *+' conftest.er1 >conftest.err
18361 rm -f conftest.er1
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } &&
18365 { ac_try='test -z "$ac_c_werror_flag"
18366 || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try='test -s conftest$ac_exeext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_cv_lib_m_sin=yes
18379 else
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18383 ac_cv_lib_m_sin=no
18385 rm -f conftest.err conftest.$ac_objext \
18386 conftest$ac_exeext conftest.$ac_ext
18387 LIBS=$ac_check_lib_save_LIBS
18389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18390 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18391 if test $ac_cv_lib_m_sin = yes; then
18392 libm="-lm"
18395 ac_save_LIBS="$LIBS"
18396 LIBS="$LIBS $libm"
18400 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18401 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18402 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18403 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 else
18409 ac_ext=cc
18410 ac_cpp='$CXXCPP $CPPFLAGS'
18411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18415 cat >conftest.$ac_ext <<_ACEOF
18416 /* confdefs.h. */
18417 _ACEOF
18418 cat confdefs.h >>conftest.$ac_ext
18419 cat >>conftest.$ac_ext <<_ACEOF
18420 /* end confdefs.h. */
18421 #include <math.h>
18422 #ifdef HAVE_IEEEFP_H
18423 #include <ieeefp.h>
18424 #endif
18427 main ()
18429 isinf(0);
18431 return 0;
18433 _ACEOF
18434 rm -f conftest.$ac_objext
18435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18436 (eval $ac_compile) 2>conftest.er1
18437 ac_status=$?
18438 grep -v '^ *+' conftest.er1 >conftest.err
18439 rm -f conftest.er1
18440 cat conftest.err >&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } &&
18443 { ac_try='test -z "$ac_cxx_werror_flag"
18444 || test ! -s conftest.err'
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446 (eval $ac_try) 2>&5
18447 ac_status=$?
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; } &&
18450 { ac_try='test -s conftest.$ac_objext'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18453 ac_status=$?
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; }; then
18456 glibcxx_cv_func_isinf_use=yes
18457 else
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18461 glibcxx_cv_func_isinf_use=no
18463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18464 ac_ext=c
18465 ac_cpp='$CPP $CPPFLAGS'
18466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18475 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18477 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18479 for ac_func in isinf
18481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18482 echo "$as_me:$LINENO: checking for $ac_func" >&5
18483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18484 if eval "test \"\${$as_ac_var+set}\" = set"; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 else
18487 if test x$gcc_no_link = xyes; then
18488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18490 { (exit 1); exit 1; }; }
18492 cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h. */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18500 #define $ac_func innocuous_$ac_func
18502 /* System header to define __stub macros and hopefully few prototypes,
18503 which can conflict with char $ac_func (); below.
18504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18505 <limits.h> exists even on freestanding compilers. */
18507 #ifdef __STDC__
18508 # include <limits.h>
18509 #else
18510 # include <assert.h>
18511 #endif
18513 #undef $ac_func
18515 /* Override any gcc2 internal prototype to avoid an error. */
18516 #ifdef __cplusplus
18517 extern "C"
18519 #endif
18520 /* We use char because int might match the return type of a gcc2
18521 builtin and then its argument prototype would still apply. */
18522 char $ac_func ();
18523 /* The GNU C library defines this for functions which it implements
18524 to always fail with ENOSYS. Some functions are actually named
18525 something starting with __ and the normal name is an alias. */
18526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18527 choke me
18528 #else
18529 char (*f) () = $ac_func;
18530 #endif
18531 #ifdef __cplusplus
18533 #endif
18536 main ()
18538 return f != $ac_func;
18540 return 0;
18542 _ACEOF
18543 rm -f conftest.$ac_objext conftest$ac_exeext
18544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18545 (eval $ac_link) 2>conftest.er1
18546 ac_status=$?
18547 grep -v '^ *+' conftest.er1 >conftest.err
18548 rm -f conftest.er1
18549 cat conftest.err >&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); } &&
18552 { ac_try='test -z "$ac_c_werror_flag"
18553 || test ! -s conftest.err'
18554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555 (eval $ac_try) 2>&5
18556 ac_status=$?
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; } &&
18559 { ac_try='test -s conftest$ac_exeext'
18560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18561 (eval $ac_try) 2>&5
18562 ac_status=$?
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); }; }; then
18565 eval "$as_ac_var=yes"
18566 else
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18570 eval "$as_ac_var=no"
18572 rm -f conftest.err conftest.$ac_objext \
18573 conftest$ac_exeext conftest.$ac_ext
18575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18577 if test `eval echo '${'$as_ac_var'}'` = yes; then
18578 cat >>confdefs.h <<_ACEOF
18579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18580 _ACEOF
18583 done
18585 else
18587 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18588 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18589 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18590 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18596 ac_ext=cc
18597 ac_cpp='$CXXCPP $CPPFLAGS'
18598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18602 cat >conftest.$ac_ext <<_ACEOF
18603 /* confdefs.h. */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 #include <math.h>
18609 #ifdef HAVE_IEEEFP_H
18610 #include <ieeefp.h>
18611 #endif
18614 main ()
18616 _isinf(0);
18618 return 0;
18620 _ACEOF
18621 rm -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_cxx_werror_flag"
18631 || test ! -s conftest.err'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18634 ac_status=$?
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; } &&
18637 { ac_try='test -s conftest.$ac_objext'
18638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18639 (eval $ac_try) 2>&5
18640 ac_status=$?
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; }; then
18643 glibcxx_cv_func__isinf_use=yes
18644 else
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.$ac_ext >&5
18648 glibcxx_cv_func__isinf_use=no
18650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18651 ac_ext=c
18652 ac_cpp='$CPP $CPPFLAGS'
18653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18662 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18664 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18666 for ac_func in _isinf
18668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18669 echo "$as_me:$LINENO: checking for $ac_func" >&5
18670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18671 if eval "test \"\${$as_ac_var+set}\" = set"; then
18672 echo $ECHO_N "(cached) $ECHO_C" >&6
18673 else
18674 if test x$gcc_no_link = xyes; then
18675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18677 { (exit 1); exit 1; }; }
18679 cat >conftest.$ac_ext <<_ACEOF
18680 /* confdefs.h. */
18681 _ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18687 #define $ac_func innocuous_$ac_func
18689 /* System header to define __stub macros and hopefully few prototypes,
18690 which can conflict with char $ac_func (); below.
18691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18692 <limits.h> exists even on freestanding compilers. */
18694 #ifdef __STDC__
18695 # include <limits.h>
18696 #else
18697 # include <assert.h>
18698 #endif
18700 #undef $ac_func
18702 /* Override any gcc2 internal prototype to avoid an error. */
18703 #ifdef __cplusplus
18704 extern "C"
18706 #endif
18707 /* We use char because int might match the return type of a gcc2
18708 builtin and then its argument prototype would still apply. */
18709 char $ac_func ();
18710 /* The GNU C library defines this for functions which it implements
18711 to always fail with ENOSYS. Some functions are actually named
18712 something starting with __ and the normal name is an alias. */
18713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18714 choke me
18715 #else
18716 char (*f) () = $ac_func;
18717 #endif
18718 #ifdef __cplusplus
18720 #endif
18723 main ()
18725 return f != $ac_func;
18727 return 0;
18729 _ACEOF
18730 rm -f conftest.$ac_objext conftest$ac_exeext
18731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18732 (eval $ac_link) 2>conftest.er1
18733 ac_status=$?
18734 grep -v '^ *+' conftest.er1 >conftest.err
18735 rm -f conftest.er1
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } &&
18739 { ac_try='test -z "$ac_c_werror_flag"
18740 || test ! -s conftest.err'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18743 ac_status=$?
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; } &&
18746 { ac_try='test -s conftest$ac_exeext'
18747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748 (eval $ac_try) 2>&5
18749 ac_status=$?
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); }; }; then
18752 eval "$as_ac_var=yes"
18753 else
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18757 eval "$as_ac_var=no"
18759 rm -f conftest.err conftest.$ac_objext \
18760 conftest$ac_exeext conftest.$ac_ext
18762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18764 if test `eval echo '${'$as_ac_var'}'` = yes; then
18765 cat >>confdefs.h <<_ACEOF
18766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18767 _ACEOF
18770 done
18780 echo "$as_me:$LINENO: checking for isnan declaration" >&5
18781 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18782 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18783 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 else
18789 ac_ext=cc
18790 ac_cpp='$CXXCPP $CPPFLAGS'
18791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18795 cat >conftest.$ac_ext <<_ACEOF
18796 /* confdefs.h. */
18797 _ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 #include <math.h>
18802 #ifdef HAVE_IEEEFP_H
18803 #include <ieeefp.h>
18804 #endif
18807 main ()
18809 isnan(0);
18811 return 0;
18813 _ACEOF
18814 rm -f conftest.$ac_objext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18816 (eval $ac_compile) 2>conftest.er1
18817 ac_status=$?
18818 grep -v '^ *+' conftest.er1 >conftest.err
18819 rm -f conftest.er1
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } &&
18823 { ac_try='test -z "$ac_cxx_werror_flag"
18824 || test ! -s conftest.err'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18827 ac_status=$?
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; } &&
18830 { ac_try='test -s conftest.$ac_objext'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; }; then
18836 glibcxx_cv_func_isnan_use=yes
18837 else
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.$ac_ext >&5
18841 glibcxx_cv_func_isnan_use=no
18843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18844 ac_ext=c
18845 ac_cpp='$CPP $CPPFLAGS'
18846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18855 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18857 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18859 for ac_func in isnan
18861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18862 echo "$as_me:$LINENO: checking for $ac_func" >&5
18863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18864 if eval "test \"\${$as_ac_var+set}\" = set"; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18866 else
18867 if test x$gcc_no_link = xyes; then
18868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18870 { (exit 1); exit 1; }; }
18872 cat >conftest.$ac_ext <<_ACEOF
18873 /* confdefs.h. */
18874 _ACEOF
18875 cat confdefs.h >>conftest.$ac_ext
18876 cat >>conftest.$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18880 #define $ac_func innocuous_$ac_func
18882 /* System header to define __stub macros and hopefully few prototypes,
18883 which can conflict with char $ac_func (); below.
18884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18885 <limits.h> exists even on freestanding compilers. */
18887 #ifdef __STDC__
18888 # include <limits.h>
18889 #else
18890 # include <assert.h>
18891 #endif
18893 #undef $ac_func
18895 /* Override any gcc2 internal prototype to avoid an error. */
18896 #ifdef __cplusplus
18897 extern "C"
18899 #endif
18900 /* We use char because int might match the return type of a gcc2
18901 builtin and then its argument prototype would still apply. */
18902 char $ac_func ();
18903 /* The GNU C library defines this for functions which it implements
18904 to always fail with ENOSYS. Some functions are actually named
18905 something starting with __ and the normal name is an alias. */
18906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18907 choke me
18908 #else
18909 char (*f) () = $ac_func;
18910 #endif
18911 #ifdef __cplusplus
18913 #endif
18916 main ()
18918 return f != $ac_func;
18920 return 0;
18922 _ACEOF
18923 rm -f conftest.$ac_objext conftest$ac_exeext
18924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18925 (eval $ac_link) 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try='test -z "$ac_c_werror_flag"
18933 || test ! -s conftest.err'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18936 ac_status=$?
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; } &&
18939 { ac_try='test -s conftest$ac_exeext'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18942 ac_status=$?
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; }; then
18945 eval "$as_ac_var=yes"
18946 else
18947 echo "$as_me: failed program was:" >&5
18948 sed 's/^/| /' conftest.$ac_ext >&5
18950 eval "$as_ac_var=no"
18952 rm -f conftest.err conftest.$ac_objext \
18953 conftest$ac_exeext conftest.$ac_ext
18955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18957 if test `eval echo '${'$as_ac_var'}'` = yes; then
18958 cat >>confdefs.h <<_ACEOF
18959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18960 _ACEOF
18963 done
18965 else
18967 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
18968 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
18969 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
18970 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18976 ac_ext=cc
18977 ac_cpp='$CXXCPP $CPPFLAGS'
18978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988 #include <math.h>
18989 #ifdef HAVE_IEEEFP_H
18990 #include <ieeefp.h>
18991 #endif
18994 main ()
18996 _isnan(0);
18998 return 0;
19000 _ACEOF
19001 rm -f conftest.$ac_objext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>conftest.er1
19004 ac_status=$?
19005 grep -v '^ *+' conftest.er1 >conftest.err
19006 rm -f conftest.er1
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try='test -z "$ac_cxx_werror_flag"
19011 || test ! -s conftest.err'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19014 ac_status=$?
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; } &&
19017 { ac_try='test -s conftest.$ac_objext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19020 ac_status=$?
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19023 glibcxx_cv_func__isnan_use=yes
19024 else
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19028 glibcxx_cv_func__isnan_use=no
19030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19031 ac_ext=c
19032 ac_cpp='$CPP $CPPFLAGS'
19033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19041 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19042 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19044 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19046 for ac_func in _isnan
19048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19049 echo "$as_me:$LINENO: checking for $ac_func" >&5
19050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19051 if eval "test \"\${$as_ac_var+set}\" = set"; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054 if test x$gcc_no_link = xyes; then
19055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19057 { (exit 1); exit 1; }; }
19059 cat >conftest.$ac_ext <<_ACEOF
19060 /* confdefs.h. */
19061 _ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19067 #define $ac_func innocuous_$ac_func
19069 /* System header to define __stub macros and hopefully few prototypes,
19070 which can conflict with char $ac_func (); below.
19071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19072 <limits.h> exists even on freestanding compilers. */
19074 #ifdef __STDC__
19075 # include <limits.h>
19076 #else
19077 # include <assert.h>
19078 #endif
19080 #undef $ac_func
19082 /* Override any gcc2 internal prototype to avoid an error. */
19083 #ifdef __cplusplus
19084 extern "C"
19086 #endif
19087 /* We use char because int might match the return type of a gcc2
19088 builtin and then its argument prototype would still apply. */
19089 char $ac_func ();
19090 /* The GNU C library defines this for functions which it implements
19091 to always fail with ENOSYS. Some functions are actually named
19092 something starting with __ and the normal name is an alias. */
19093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19094 choke me
19095 #else
19096 char (*f) () = $ac_func;
19097 #endif
19098 #ifdef __cplusplus
19100 #endif
19103 main ()
19105 return f != $ac_func;
19107 return 0;
19109 _ACEOF
19110 rm -f conftest.$ac_objext conftest$ac_exeext
19111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19112 (eval $ac_link) 2>conftest.er1
19113 ac_status=$?
19114 grep -v '^ *+' conftest.er1 >conftest.err
19115 rm -f conftest.er1
19116 cat conftest.err >&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } &&
19119 { ac_try='test -z "$ac_c_werror_flag"
19120 || test ! -s conftest.err'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; } &&
19126 { ac_try='test -s conftest$ac_exeext'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; }; then
19132 eval "$as_ac_var=yes"
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19137 eval "$as_ac_var=no"
19139 rm -f conftest.err conftest.$ac_objext \
19140 conftest$ac_exeext conftest.$ac_ext
19142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19144 if test `eval echo '${'$as_ac_var'}'` = yes; then
19145 cat >>confdefs.h <<_ACEOF
19146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19147 _ACEOF
19150 done
19160 echo "$as_me:$LINENO: checking for finite declaration" >&5
19161 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19162 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19163 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19165 else
19169 ac_ext=cc
19170 ac_cpp='$CXXCPP $CPPFLAGS'
19171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19175 cat >conftest.$ac_ext <<_ACEOF
19176 /* confdefs.h. */
19177 _ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 #include <math.h>
19182 #ifdef HAVE_IEEEFP_H
19183 #include <ieeefp.h>
19184 #endif
19187 main ()
19189 finite(0);
19191 return 0;
19193 _ACEOF
19194 rm -f conftest.$ac_objext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19196 (eval $ac_compile) 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } &&
19203 { ac_try='test -z "$ac_cxx_werror_flag"
19204 || test ! -s conftest.err'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19207 ac_status=$?
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; } &&
19210 { ac_try='test -s conftest.$ac_objext'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19213 ac_status=$?
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; }; then
19216 glibcxx_cv_func_finite_use=yes
19217 else
19218 echo "$as_me: failed program was:" >&5
19219 sed 's/^/| /' conftest.$ac_ext >&5
19221 glibcxx_cv_func_finite_use=no
19223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19224 ac_ext=c
19225 ac_cpp='$CPP $CPPFLAGS'
19226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19235 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19237 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19239 for ac_func in finite
19241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19242 echo "$as_me:$LINENO: checking for $ac_func" >&5
19243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19244 if eval "test \"\${$as_ac_var+set}\" = set"; then
19245 echo $ECHO_N "(cached) $ECHO_C" >&6
19246 else
19247 if test x$gcc_no_link = xyes; then
19248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19250 { (exit 1); exit 1; }; }
19252 cat >conftest.$ac_ext <<_ACEOF
19253 /* confdefs.h. */
19254 _ACEOF
19255 cat confdefs.h >>conftest.$ac_ext
19256 cat >>conftest.$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19260 #define $ac_func innocuous_$ac_func
19262 /* System header to define __stub macros and hopefully few prototypes,
19263 which can conflict with char $ac_func (); below.
19264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19265 <limits.h> exists even on freestanding compilers. */
19267 #ifdef __STDC__
19268 # include <limits.h>
19269 #else
19270 # include <assert.h>
19271 #endif
19273 #undef $ac_func
19275 /* Override any gcc2 internal prototype to avoid an error. */
19276 #ifdef __cplusplus
19277 extern "C"
19279 #endif
19280 /* We use char because int might match the return type of a gcc2
19281 builtin and then its argument prototype would still apply. */
19282 char $ac_func ();
19283 /* The GNU C library defines this for functions which it implements
19284 to always fail with ENOSYS. Some functions are actually named
19285 something starting with __ and the normal name is an alias. */
19286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19287 choke me
19288 #else
19289 char (*f) () = $ac_func;
19290 #endif
19291 #ifdef __cplusplus
19293 #endif
19296 main ()
19298 return f != $ac_func;
19300 return 0;
19302 _ACEOF
19303 rm -f conftest.$ac_objext conftest$ac_exeext
19304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19305 (eval $ac_link) 2>conftest.er1
19306 ac_status=$?
19307 grep -v '^ *+' conftest.er1 >conftest.err
19308 rm -f conftest.er1
19309 cat conftest.err >&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); } &&
19312 { ac_try='test -z "$ac_c_werror_flag"
19313 || test ! -s conftest.err'
19314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19315 (eval $ac_try) 2>&5
19316 ac_status=$?
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); }; } &&
19319 { ac_try='test -s conftest$ac_exeext'
19320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19321 (eval $ac_try) 2>&5
19322 ac_status=$?
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); }; }; then
19325 eval "$as_ac_var=yes"
19326 else
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19330 eval "$as_ac_var=no"
19332 rm -f conftest.err conftest.$ac_objext \
19333 conftest$ac_exeext conftest.$ac_ext
19335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19337 if test `eval echo '${'$as_ac_var'}'` = yes; then
19338 cat >>confdefs.h <<_ACEOF
19339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19340 _ACEOF
19343 done
19345 else
19347 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19348 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19349 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19350 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19351 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 else
19356 ac_ext=cc
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 #include <math.h>
19369 #ifdef HAVE_IEEEFP_H
19370 #include <ieeefp.h>
19371 #endif
19374 main ()
19376 _finite(0);
19378 return 0;
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19383 (eval $ac_compile) 2>conftest.er1
19384 ac_status=$?
19385 grep -v '^ *+' conftest.er1 >conftest.err
19386 rm -f conftest.er1
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } &&
19390 { ac_try='test -z "$ac_cxx_werror_flag"
19391 || test ! -s conftest.err'
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19394 ac_status=$?
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; } &&
19397 { ac_try='test -s conftest.$ac_objext'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 glibcxx_cv_func__finite_use=yes
19404 else
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19408 glibcxx_cv_func__finite_use=no
19410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19411 ac_ext=c
19412 ac_cpp='$CPP $CPPFLAGS'
19413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19421 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19422 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19424 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19426 for ac_func in _finite
19428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19429 echo "$as_me:$LINENO: checking for $ac_func" >&5
19430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19431 if eval "test \"\${$as_ac_var+set}\" = set"; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 else
19434 if test x$gcc_no_link = xyes; then
19435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19437 { (exit 1); exit 1; }; }
19439 cat >conftest.$ac_ext <<_ACEOF
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19447 #define $ac_func innocuous_$ac_func
19449 /* System header to define __stub macros and hopefully few prototypes,
19450 which can conflict with char $ac_func (); below.
19451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19452 <limits.h> exists even on freestanding compilers. */
19454 #ifdef __STDC__
19455 # include <limits.h>
19456 #else
19457 # include <assert.h>
19458 #endif
19460 #undef $ac_func
19462 /* Override any gcc2 internal prototype to avoid an error. */
19463 #ifdef __cplusplus
19464 extern "C"
19466 #endif
19467 /* We use char because int might match the return type of a gcc2
19468 builtin and then its argument prototype would still apply. */
19469 char $ac_func ();
19470 /* The GNU C library defines this for functions which it implements
19471 to always fail with ENOSYS. Some functions are actually named
19472 something starting with __ and the normal name is an alias. */
19473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19474 choke me
19475 #else
19476 char (*f) () = $ac_func;
19477 #endif
19478 #ifdef __cplusplus
19480 #endif
19483 main ()
19485 return f != $ac_func;
19487 return 0;
19489 _ACEOF
19490 rm -f conftest.$ac_objext conftest$ac_exeext
19491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19492 (eval $ac_link) 2>conftest.er1
19493 ac_status=$?
19494 grep -v '^ *+' conftest.er1 >conftest.err
19495 rm -f conftest.er1
19496 cat conftest.err >&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } &&
19499 { ac_try='test -z "$ac_c_werror_flag"
19500 || test ! -s conftest.err'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19503 ac_status=$?
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; } &&
19506 { ac_try='test -s conftest$ac_exeext'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19509 ac_status=$?
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; }; then
19512 eval "$as_ac_var=yes"
19513 else
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.$ac_ext >&5
19517 eval "$as_ac_var=no"
19519 rm -f conftest.err conftest.$ac_objext \
19520 conftest$ac_exeext conftest.$ac_ext
19522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19524 if test `eval echo '${'$as_ac_var'}'` = yes; then
19525 cat >>confdefs.h <<_ACEOF
19526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19527 _ACEOF
19530 done
19540 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19541 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19542 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19543 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19549 ac_ext=cc
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555 cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h. */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 #include <math.h>
19563 main ()
19565 copysign(0, 0);
19567 return 0;
19569 _ACEOF
19570 rm -f conftest.$ac_objext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19572 (eval $ac_compile) 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try='test -z "$ac_cxx_werror_flag"
19580 || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try='test -s conftest.$ac_objext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19589 ac_status=$?
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 glibcxx_cv_func_copysign_use=yes
19593 else
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19597 glibcxx_cv_func_copysign_use=no
19599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19600 ac_ext=c
19601 ac_cpp='$CPP $CPPFLAGS'
19602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19610 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19611 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19613 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19615 for ac_func in copysign
19617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19618 echo "$as_me:$LINENO: checking for $ac_func" >&5
19619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19620 if eval "test \"\${$as_ac_var+set}\" = set"; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 else
19623 if test x$gcc_no_link = xyes; then
19624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19626 { (exit 1); exit 1; }; }
19628 cat >conftest.$ac_ext <<_ACEOF
19629 /* confdefs.h. */
19630 _ACEOF
19631 cat confdefs.h >>conftest.$ac_ext
19632 cat >>conftest.$ac_ext <<_ACEOF
19633 /* end confdefs.h. */
19634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19636 #define $ac_func innocuous_$ac_func
19638 /* System header to define __stub macros and hopefully few prototypes,
19639 which can conflict with char $ac_func (); below.
19640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19641 <limits.h> exists even on freestanding compilers. */
19643 #ifdef __STDC__
19644 # include <limits.h>
19645 #else
19646 # include <assert.h>
19647 #endif
19649 #undef $ac_func
19651 /* Override any gcc2 internal prototype to avoid an error. */
19652 #ifdef __cplusplus
19653 extern "C"
19655 #endif
19656 /* We use char because int might match the return type of a gcc2
19657 builtin and then its argument prototype would still apply. */
19658 char $ac_func ();
19659 /* The GNU C library defines this for functions which it implements
19660 to always fail with ENOSYS. Some functions are actually named
19661 something starting with __ and the normal name is an alias. */
19662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19663 choke me
19664 #else
19665 char (*f) () = $ac_func;
19666 #endif
19667 #ifdef __cplusplus
19669 #endif
19672 main ()
19674 return f != $ac_func;
19676 return 0;
19678 _ACEOF
19679 rm -f conftest.$ac_objext conftest$ac_exeext
19680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19681 (eval $ac_link) 2>conftest.er1
19682 ac_status=$?
19683 grep -v '^ *+' conftest.er1 >conftest.err
19684 rm -f conftest.er1
19685 cat conftest.err >&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } &&
19688 { ac_try='test -z "$ac_c_werror_flag"
19689 || test ! -s conftest.err'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; } &&
19695 { ac_try='test -s conftest$ac_exeext'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19698 ac_status=$?
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; }; then
19701 eval "$as_ac_var=yes"
19702 else
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.$ac_ext >&5
19706 eval "$as_ac_var=no"
19708 rm -f conftest.err conftest.$ac_objext \
19709 conftest$ac_exeext conftest.$ac_ext
19711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19713 if test `eval echo '${'$as_ac_var'}'` = yes; then
19714 cat >>confdefs.h <<_ACEOF
19715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19716 _ACEOF
19719 done
19721 else
19723 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19724 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19725 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19726 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19732 ac_ext=cc
19733 ac_cpp='$CXXCPP $CPPFLAGS'
19734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h. */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 #include <math.h>
19746 main ()
19748 _copysign(0, 0);
19750 return 0;
19752 _ACEOF
19753 rm -f conftest.$ac_objext
19754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19755 (eval $ac_compile) 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try='test -z "$ac_cxx_werror_flag"
19763 || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19772 ac_status=$?
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 glibcxx_cv_func__copysign_use=yes
19776 else
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19780 glibcxx_cv_func__copysign_use=no
19782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19783 ac_ext=c
19784 ac_cpp='$CPP $CPPFLAGS'
19785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19794 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19796 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19798 for ac_func in _copysign
19800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19801 echo "$as_me:$LINENO: checking for $ac_func" >&5
19802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19803 if eval "test \"\${$as_ac_var+set}\" = set"; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 else
19806 if test x$gcc_no_link = xyes; then
19807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19809 { (exit 1); exit 1; }; }
19811 cat >conftest.$ac_ext <<_ACEOF
19812 /* confdefs.h. */
19813 _ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19819 #define $ac_func innocuous_$ac_func
19821 /* System header to define __stub macros and hopefully few prototypes,
19822 which can conflict with char $ac_func (); below.
19823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19824 <limits.h> exists even on freestanding compilers. */
19826 #ifdef __STDC__
19827 # include <limits.h>
19828 #else
19829 # include <assert.h>
19830 #endif
19832 #undef $ac_func
19834 /* Override any gcc2 internal prototype to avoid an error. */
19835 #ifdef __cplusplus
19836 extern "C"
19838 #endif
19839 /* We use char because int might match the return type of a gcc2
19840 builtin and then its argument prototype would still apply. */
19841 char $ac_func ();
19842 /* The GNU C library defines this for functions which it implements
19843 to always fail with ENOSYS. Some functions are actually named
19844 something starting with __ and the normal name is an alias. */
19845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19846 choke me
19847 #else
19848 char (*f) () = $ac_func;
19849 #endif
19850 #ifdef __cplusplus
19852 #endif
19855 main ()
19857 return f != $ac_func;
19859 return 0;
19861 _ACEOF
19862 rm -f conftest.$ac_objext conftest$ac_exeext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19864 (eval $ac_link) 2>conftest.er1
19865 ac_status=$?
19866 grep -v '^ *+' conftest.er1 >conftest.err
19867 rm -f conftest.er1
19868 cat conftest.err >&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try='test -z "$ac_c_werror_flag"
19872 || test ! -s conftest.err'
19873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19874 (eval $ac_try) 2>&5
19875 ac_status=$?
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); }; } &&
19878 { ac_try='test -s conftest$ac_exeext'
19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880 (eval $ac_try) 2>&5
19881 ac_status=$?
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 eval "$as_ac_var=yes"
19885 else
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19889 eval "$as_ac_var=no"
19891 rm -f conftest.err conftest.$ac_objext \
19892 conftest$ac_exeext conftest.$ac_ext
19894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19896 if test `eval echo '${'$as_ac_var'}'` = yes; then
19897 cat >>confdefs.h <<_ACEOF
19898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19899 _ACEOF
19902 done
19912 echo "$as_me:$LINENO: checking for sincos declaration" >&5
19913 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19914 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19915 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19921 ac_ext=cc
19922 ac_cpp='$CXXCPP $CPPFLAGS'
19923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19927 cat >conftest.$ac_ext <<_ACEOF
19928 /* confdefs.h. */
19929 _ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 #include <math.h>
19935 main ()
19937 sincos(0, 0, 0);
19939 return 0;
19941 _ACEOF
19942 rm -f conftest.$ac_objext
19943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19944 (eval $ac_compile) 2>conftest.er1
19945 ac_status=$?
19946 grep -v '^ *+' conftest.er1 >conftest.err
19947 rm -f conftest.er1
19948 cat conftest.err >&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } &&
19951 { ac_try='test -z "$ac_cxx_werror_flag"
19952 || test ! -s conftest.err'
19953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19954 (eval $ac_try) 2>&5
19955 ac_status=$?
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); }; } &&
19958 { ac_try='test -s conftest.$ac_objext'
19959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19960 (eval $ac_try) 2>&5
19961 ac_status=$?
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); }; }; then
19964 glibcxx_cv_func_sincos_use=yes
19965 else
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.$ac_ext >&5
19969 glibcxx_cv_func_sincos_use=no
19971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19972 ac_ext=c
19973 ac_cpp='$CPP $CPPFLAGS'
19974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
19983 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
19985 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
19987 for ac_func in sincos
19989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19990 echo "$as_me:$LINENO: checking for $ac_func" >&5
19991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19992 if eval "test \"\${$as_ac_var+set}\" = set"; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 else
19995 if test x$gcc_no_link = xyes; then
19996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19998 { (exit 1); exit 1; }; }
20000 cat >conftest.$ac_ext <<_ACEOF
20001 /* confdefs.h. */
20002 _ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20008 #define $ac_func innocuous_$ac_func
20010 /* System header to define __stub macros and hopefully few prototypes,
20011 which can conflict with char $ac_func (); below.
20012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20013 <limits.h> exists even on freestanding compilers. */
20015 #ifdef __STDC__
20016 # include <limits.h>
20017 #else
20018 # include <assert.h>
20019 #endif
20021 #undef $ac_func
20023 /* Override any gcc2 internal prototype to avoid an error. */
20024 #ifdef __cplusplus
20025 extern "C"
20027 #endif
20028 /* We use char because int might match the return type of a gcc2
20029 builtin and then its argument prototype would still apply. */
20030 char $ac_func ();
20031 /* The GNU C library defines this for functions which it implements
20032 to always fail with ENOSYS. Some functions are actually named
20033 something starting with __ and the normal name is an alias. */
20034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20035 choke me
20036 #else
20037 char (*f) () = $ac_func;
20038 #endif
20039 #ifdef __cplusplus
20041 #endif
20044 main ()
20046 return f != $ac_func;
20048 return 0;
20050 _ACEOF
20051 rm -f conftest.$ac_objext conftest$ac_exeext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20053 (eval $ac_link) 2>conftest.er1
20054 ac_status=$?
20055 grep -v '^ *+' conftest.er1 >conftest.err
20056 rm -f conftest.er1
20057 cat conftest.err >&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } &&
20060 { ac_try='test -z "$ac_c_werror_flag"
20061 || test ! -s conftest.err'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20064 ac_status=$?
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; } &&
20067 { ac_try='test -s conftest$ac_exeext'
20068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069 (eval $ac_try) 2>&5
20070 ac_status=$?
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); }; }; then
20073 eval "$as_ac_var=yes"
20074 else
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.$ac_ext >&5
20078 eval "$as_ac_var=no"
20080 rm -f conftest.err conftest.$ac_objext \
20081 conftest$ac_exeext conftest.$ac_ext
20083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20085 if test `eval echo '${'$as_ac_var'}'` = yes; then
20086 cat >>confdefs.h <<_ACEOF
20087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20088 _ACEOF
20091 done
20093 else
20095 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20096 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20097 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20098 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 else
20104 ac_ext=cc
20105 ac_cpp='$CXXCPP $CPPFLAGS'
20106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20110 cat >conftest.$ac_ext <<_ACEOF
20111 /* confdefs.h. */
20112 _ACEOF
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 #include <math.h>
20118 main ()
20120 _sincos(0, 0, 0);
20122 return 0;
20124 _ACEOF
20125 rm -f conftest.$ac_objext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20127 (eval $ac_compile) 2>conftest.er1
20128 ac_status=$?
20129 grep -v '^ *+' conftest.er1 >conftest.err
20130 rm -f conftest.er1
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } &&
20134 { ac_try='test -z "$ac_cxx_werror_flag"
20135 || test ! -s conftest.err'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20138 ac_status=$?
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; } &&
20141 { ac_try='test -s conftest.$ac_objext'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; }; then
20147 glibcxx_cv_func__sincos_use=yes
20148 else
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20152 glibcxx_cv_func__sincos_use=no
20154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20155 ac_ext=c
20156 ac_cpp='$CPP $CPPFLAGS'
20157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20166 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20168 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20170 for ac_func in _sincos
20172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20173 echo "$as_me:$LINENO: checking for $ac_func" >&5
20174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20175 if eval "test \"\${$as_ac_var+set}\" = set"; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 else
20178 if test x$gcc_no_link = xyes; then
20179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20181 { (exit 1); exit 1; }; }
20183 cat >conftest.$ac_ext <<_ACEOF
20184 /* confdefs.h. */
20185 _ACEOF
20186 cat confdefs.h >>conftest.$ac_ext
20187 cat >>conftest.$ac_ext <<_ACEOF
20188 /* end confdefs.h. */
20189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20191 #define $ac_func innocuous_$ac_func
20193 /* System header to define __stub macros and hopefully few prototypes,
20194 which can conflict with char $ac_func (); below.
20195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20196 <limits.h> exists even on freestanding compilers. */
20198 #ifdef __STDC__
20199 # include <limits.h>
20200 #else
20201 # include <assert.h>
20202 #endif
20204 #undef $ac_func
20206 /* Override any gcc2 internal prototype to avoid an error. */
20207 #ifdef __cplusplus
20208 extern "C"
20210 #endif
20211 /* We use char because int might match the return type of a gcc2
20212 builtin and then its argument prototype would still apply. */
20213 char $ac_func ();
20214 /* The GNU C library defines this for functions which it implements
20215 to always fail with ENOSYS. Some functions are actually named
20216 something starting with __ and the normal name is an alias. */
20217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20218 choke me
20219 #else
20220 char (*f) () = $ac_func;
20221 #endif
20222 #ifdef __cplusplus
20224 #endif
20227 main ()
20229 return f != $ac_func;
20231 return 0;
20233 _ACEOF
20234 rm -f conftest.$ac_objext conftest$ac_exeext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20236 (eval $ac_link) 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try='test -z "$ac_c_werror_flag"
20244 || test ! -s conftest.err'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20247 ac_status=$?
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; } &&
20250 { ac_try='test -s conftest$ac_exeext'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20253 ac_status=$?
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; }; then
20256 eval "$as_ac_var=yes"
20257 else
20258 echo "$as_me: failed program was:" >&5
20259 sed 's/^/| /' conftest.$ac_ext >&5
20261 eval "$as_ac_var=no"
20263 rm -f conftest.err conftest.$ac_objext \
20264 conftest$ac_exeext conftest.$ac_ext
20266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20268 if test `eval echo '${'$as_ac_var'}'` = yes; then
20269 cat >>confdefs.h <<_ACEOF
20270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20271 _ACEOF
20274 done
20284 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20285 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20286 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20287 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 else
20293 ac_ext=cc
20294 ac_cpp='$CXXCPP $CPPFLAGS'
20295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 #include <math.h>
20306 #ifdef HAVE_IEEEFP_H
20307 #include <ieeefp.h>
20308 #endif
20311 main ()
20313 fpclass(0);
20315 return 0;
20317 _ACEOF
20318 rm -f conftest.$ac_objext
20319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20320 (eval $ac_compile) 2>conftest.er1
20321 ac_status=$?
20322 grep -v '^ *+' conftest.er1 >conftest.err
20323 rm -f conftest.er1
20324 cat conftest.err >&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); } &&
20327 { ac_try='test -z "$ac_cxx_werror_flag"
20328 || test ! -s conftest.err'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20331 ac_status=$?
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; } &&
20334 { ac_try='test -s conftest.$ac_objext'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20337 ac_status=$?
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; }; then
20340 glibcxx_cv_func_fpclass_use=yes
20341 else
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.$ac_ext >&5
20345 glibcxx_cv_func_fpclass_use=no
20347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20348 ac_ext=c
20349 ac_cpp='$CPP $CPPFLAGS'
20350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20358 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20359 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20361 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20363 for ac_func in fpclass
20365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20366 echo "$as_me:$LINENO: checking for $ac_func" >&5
20367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20368 if eval "test \"\${$as_ac_var+set}\" = set"; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20370 else
20371 if test x$gcc_no_link = xyes; then
20372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20374 { (exit 1); exit 1; }; }
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h. */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20384 #define $ac_func innocuous_$ac_func
20386 /* System header to define __stub macros and hopefully few prototypes,
20387 which can conflict with char $ac_func (); below.
20388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20389 <limits.h> exists even on freestanding compilers. */
20391 #ifdef __STDC__
20392 # include <limits.h>
20393 #else
20394 # include <assert.h>
20395 #endif
20397 #undef $ac_func
20399 /* Override any gcc2 internal prototype to avoid an error. */
20400 #ifdef __cplusplus
20401 extern "C"
20403 #endif
20404 /* We use char because int might match the return type of a gcc2
20405 builtin and then its argument prototype would still apply. */
20406 char $ac_func ();
20407 /* The GNU C library defines this for functions which it implements
20408 to always fail with ENOSYS. Some functions are actually named
20409 something starting with __ and the normal name is an alias. */
20410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20411 choke me
20412 #else
20413 char (*f) () = $ac_func;
20414 #endif
20415 #ifdef __cplusplus
20417 #endif
20420 main ()
20422 return f != $ac_func;
20424 return 0;
20426 _ACEOF
20427 rm -f conftest.$ac_objext conftest$ac_exeext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20429 (eval $ac_link) 2>conftest.er1
20430 ac_status=$?
20431 grep -v '^ *+' conftest.er1 >conftest.err
20432 rm -f conftest.er1
20433 cat conftest.err >&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } &&
20436 { ac_try='test -z "$ac_c_werror_flag"
20437 || test ! -s conftest.err'
20438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439 (eval $ac_try) 2>&5
20440 ac_status=$?
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); }; } &&
20443 { ac_try='test -s conftest$ac_exeext'
20444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445 (eval $ac_try) 2>&5
20446 ac_status=$?
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); }; }; then
20449 eval "$as_ac_var=yes"
20450 else
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.$ac_ext >&5
20454 eval "$as_ac_var=no"
20456 rm -f conftest.err conftest.$ac_objext \
20457 conftest$ac_exeext conftest.$ac_ext
20459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20461 if test `eval echo '${'$as_ac_var'}'` = yes; then
20462 cat >>confdefs.h <<_ACEOF
20463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20464 _ACEOF
20467 done
20469 else
20471 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20472 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20473 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20474 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20475 echo $ECHO_N "(cached) $ECHO_C" >&6
20476 else
20480 ac_ext=cc
20481 ac_cpp='$CXXCPP $CPPFLAGS'
20482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 #include <math.h>
20493 #ifdef HAVE_IEEEFP_H
20494 #include <ieeefp.h>
20495 #endif
20498 main ()
20500 _fpclass(0);
20502 return 0;
20504 _ACEOF
20505 rm -f conftest.$ac_objext
20506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20507 (eval $ac_compile) 2>conftest.er1
20508 ac_status=$?
20509 grep -v '^ *+' conftest.er1 >conftest.err
20510 rm -f conftest.er1
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } &&
20514 { ac_try='test -z "$ac_cxx_werror_flag"
20515 || test ! -s conftest.err'
20516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20517 (eval $ac_try) 2>&5
20518 ac_status=$?
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); }; } &&
20521 { ac_try='test -s conftest.$ac_objext'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20524 ac_status=$?
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; }; then
20527 glibcxx_cv_func__fpclass_use=yes
20528 else
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20532 glibcxx_cv_func__fpclass_use=no
20534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20535 ac_ext=c
20536 ac_cpp='$CPP $CPPFLAGS'
20537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20546 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20548 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20550 for ac_func in _fpclass
20552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20553 echo "$as_me:$LINENO: checking for $ac_func" >&5
20554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20555 if eval "test \"\${$as_ac_var+set}\" = set"; then
20556 echo $ECHO_N "(cached) $ECHO_C" >&6
20557 else
20558 if test x$gcc_no_link = xyes; then
20559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20561 { (exit 1); exit 1; }; }
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20571 #define $ac_func innocuous_$ac_func
20573 /* System header to define __stub macros and hopefully few prototypes,
20574 which can conflict with char $ac_func (); below.
20575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20576 <limits.h> exists even on freestanding compilers. */
20578 #ifdef __STDC__
20579 # include <limits.h>
20580 #else
20581 # include <assert.h>
20582 #endif
20584 #undef $ac_func
20586 /* Override any gcc2 internal prototype to avoid an error. */
20587 #ifdef __cplusplus
20588 extern "C"
20590 #endif
20591 /* We use char because int might match the return type of a gcc2
20592 builtin and then its argument prototype would still apply. */
20593 char $ac_func ();
20594 /* The GNU C library defines this for functions which it implements
20595 to always fail with ENOSYS. Some functions are actually named
20596 something starting with __ and the normal name is an alias. */
20597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20598 choke me
20599 #else
20600 char (*f) () = $ac_func;
20601 #endif
20602 #ifdef __cplusplus
20604 #endif
20607 main ()
20609 return f != $ac_func;
20611 return 0;
20613 _ACEOF
20614 rm -f conftest.$ac_objext conftest$ac_exeext
20615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20616 (eval $ac_link) 2>conftest.er1
20617 ac_status=$?
20618 grep -v '^ *+' conftest.er1 >conftest.err
20619 rm -f conftest.er1
20620 cat conftest.err >&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try='test -z "$ac_c_werror_flag"
20624 || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest$ac_exeext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 eval "$as_ac_var=yes"
20637 else
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20641 eval "$as_ac_var=no"
20643 rm -f conftest.err conftest.$ac_objext \
20644 conftest$ac_exeext conftest.$ac_ext
20646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20648 if test `eval echo '${'$as_ac_var'}'` = yes; then
20649 cat >>confdefs.h <<_ACEOF
20650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20651 _ACEOF
20654 done
20664 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20665 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20666 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20667 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20669 else
20673 ac_ext=cc
20674 ac_cpp='$CXXCPP $CPPFLAGS'
20675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 #include <math.h>
20686 #ifdef HAVE_IEEEFP_H
20687 #include <ieeefp.h>
20688 #endif
20691 main ()
20693 qfpclass(0);
20695 return 0;
20697 _ACEOF
20698 rm -f conftest.$ac_objext
20699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20700 (eval $ac_compile) 2>conftest.er1
20701 ac_status=$?
20702 grep -v '^ *+' conftest.er1 >conftest.err
20703 rm -f conftest.er1
20704 cat conftest.err >&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } &&
20707 { ac_try='test -z "$ac_cxx_werror_flag"
20708 || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20711 ac_status=$?
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try='test -s conftest.$ac_objext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20717 ac_status=$?
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 glibcxx_cv_func_qfpclass_use=yes
20721 else
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20725 glibcxx_cv_func_qfpclass_use=no
20727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20728 ac_ext=c
20729 ac_cpp='$CPP $CPPFLAGS'
20730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20739 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20741 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20743 for ac_func in qfpclass
20745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20746 echo "$as_me:$LINENO: checking for $ac_func" >&5
20747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20748 if eval "test \"\${$as_ac_var+set}\" = set"; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 else
20751 if test x$gcc_no_link = xyes; then
20752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20754 { (exit 1); exit 1; }; }
20756 cat >conftest.$ac_ext <<_ACEOF
20757 /* confdefs.h. */
20758 _ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20764 #define $ac_func innocuous_$ac_func
20766 /* System header to define __stub macros and hopefully few prototypes,
20767 which can conflict with char $ac_func (); below.
20768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20769 <limits.h> exists even on freestanding compilers. */
20771 #ifdef __STDC__
20772 # include <limits.h>
20773 #else
20774 # include <assert.h>
20775 #endif
20777 #undef $ac_func
20779 /* Override any gcc2 internal prototype to avoid an error. */
20780 #ifdef __cplusplus
20781 extern "C"
20783 #endif
20784 /* We use char because int might match the return type of a gcc2
20785 builtin and then its argument prototype would still apply. */
20786 char $ac_func ();
20787 /* The GNU C library defines this for functions which it implements
20788 to always fail with ENOSYS. Some functions are actually named
20789 something starting with __ and the normal name is an alias. */
20790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20791 choke me
20792 #else
20793 char (*f) () = $ac_func;
20794 #endif
20795 #ifdef __cplusplus
20797 #endif
20800 main ()
20802 return f != $ac_func;
20804 return 0;
20806 _ACEOF
20807 rm -f conftest.$ac_objext conftest$ac_exeext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20809 (eval $ac_link) 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -z "$ac_c_werror_flag"
20817 || test ! -s conftest.err'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20820 ac_status=$?
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; } &&
20823 { ac_try='test -s conftest$ac_exeext'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20826 ac_status=$?
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; }; then
20829 eval "$as_ac_var=yes"
20830 else
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20834 eval "$as_ac_var=no"
20836 rm -f conftest.err conftest.$ac_objext \
20837 conftest$ac_exeext conftest.$ac_ext
20839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20841 if test `eval echo '${'$as_ac_var'}'` = yes; then
20842 cat >>confdefs.h <<_ACEOF
20843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20844 _ACEOF
20847 done
20849 else
20851 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20852 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20853 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20854 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 else
20860 ac_ext=cc
20861 ac_cpp='$CXXCPP $CPPFLAGS'
20862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 #include <math.h>
20873 #ifdef HAVE_IEEEFP_H
20874 #include <ieeefp.h>
20875 #endif
20878 main ()
20880 _qfpclass(0);
20882 return 0;
20884 _ACEOF
20885 rm -f conftest.$ac_objext
20886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20887 (eval $ac_compile) 2>conftest.er1
20888 ac_status=$?
20889 grep -v '^ *+' conftest.er1 >conftest.err
20890 rm -f conftest.er1
20891 cat conftest.err >&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } &&
20894 { ac_try='test -z "$ac_cxx_werror_flag"
20895 || test ! -s conftest.err'
20896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20897 (eval $ac_try) 2>&5
20898 ac_status=$?
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; } &&
20901 { ac_try='test -s conftest.$ac_objext'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; }; then
20907 glibcxx_cv_func__qfpclass_use=yes
20908 else
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.$ac_ext >&5
20912 glibcxx_cv_func__qfpclass_use=no
20914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20915 ac_ext=c
20916 ac_cpp='$CPP $CPPFLAGS'
20917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20926 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20928 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20930 for ac_func in _qfpclass
20932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20933 echo "$as_me:$LINENO: checking for $ac_func" >&5
20934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20935 if eval "test \"\${$as_ac_var+set}\" = set"; then
20936 echo $ECHO_N "(cached) $ECHO_C" >&6
20937 else
20938 if test x$gcc_no_link = xyes; then
20939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20941 { (exit 1); exit 1; }; }
20943 cat >conftest.$ac_ext <<_ACEOF
20944 /* confdefs.h. */
20945 _ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20951 #define $ac_func innocuous_$ac_func
20953 /* System header to define __stub macros and hopefully few prototypes,
20954 which can conflict with char $ac_func (); below.
20955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20956 <limits.h> exists even on freestanding compilers. */
20958 #ifdef __STDC__
20959 # include <limits.h>
20960 #else
20961 # include <assert.h>
20962 #endif
20964 #undef $ac_func
20966 /* Override any gcc2 internal prototype to avoid an error. */
20967 #ifdef __cplusplus
20968 extern "C"
20970 #endif
20971 /* We use char because int might match the return type of a gcc2
20972 builtin and then its argument prototype would still apply. */
20973 char $ac_func ();
20974 /* The GNU C library defines this for functions which it implements
20975 to always fail with ENOSYS. Some functions are actually named
20976 something starting with __ and the normal name is an alias. */
20977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20978 choke me
20979 #else
20980 char (*f) () = $ac_func;
20981 #endif
20982 #ifdef __cplusplus
20984 #endif
20987 main ()
20989 return f != $ac_func;
20991 return 0;
20993 _ACEOF
20994 rm -f conftest.$ac_objext conftest$ac_exeext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20996 (eval $ac_link) 2>conftest.er1
20997 ac_status=$?
20998 grep -v '^ *+' conftest.er1 >conftest.err
20999 rm -f conftest.er1
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } &&
21003 { ac_try='test -z "$ac_c_werror_flag"
21004 || test ! -s conftest.err'
21005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006 (eval $ac_try) 2>&5
21007 ac_status=$?
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; } &&
21010 { ac_try='test -s conftest$ac_exeext'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; }; then
21016 eval "$as_ac_var=yes"
21017 else
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21021 eval "$as_ac_var=no"
21023 rm -f conftest.err conftest.$ac_objext \
21024 conftest$ac_exeext conftest.$ac_ext
21026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21028 if test `eval echo '${'$as_ac_var'}'` = yes; then
21029 cat >>confdefs.h <<_ACEOF
21030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21031 _ACEOF
21034 done
21044 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21045 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21046 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21047 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21048 echo $ECHO_N "(cached) $ECHO_C" >&6
21049 else
21053 ac_ext=cc
21054 ac_cpp='$CXXCPP $CPPFLAGS'
21055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21059 cat >conftest.$ac_ext <<_ACEOF
21060 /* confdefs.h. */
21061 _ACEOF
21062 cat confdefs.h >>conftest.$ac_ext
21063 cat >>conftest.$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21065 #include <math.h>
21067 main ()
21069 hypot(0, 0);
21071 return 0;
21073 _ACEOF
21074 rm -f conftest.$ac_objext
21075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21076 (eval $ac_compile) 2>conftest.er1
21077 ac_status=$?
21078 grep -v '^ *+' conftest.er1 >conftest.err
21079 rm -f conftest.er1
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } &&
21083 { ac_try='test -z "$ac_cxx_werror_flag"
21084 || test ! -s conftest.err'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21087 ac_status=$?
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; } &&
21090 { ac_try='test -s conftest.$ac_objext'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21093 ac_status=$?
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; }; then
21096 glibcxx_cv_func_hypot_use=yes
21097 else
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21101 glibcxx_cv_func_hypot_use=no
21103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21104 ac_ext=c
21105 ac_cpp='$CPP $CPPFLAGS'
21106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21115 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21117 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21119 for ac_func in hypot
21121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21122 echo "$as_me:$LINENO: checking for $ac_func" >&5
21123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21124 if eval "test \"\${$as_ac_var+set}\" = set"; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21126 else
21127 if test x$gcc_no_link = xyes; then
21128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21130 { (exit 1); exit 1; }; }
21132 cat >conftest.$ac_ext <<_ACEOF
21133 /* confdefs.h. */
21134 _ACEOF
21135 cat confdefs.h >>conftest.$ac_ext
21136 cat >>conftest.$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21140 #define $ac_func innocuous_$ac_func
21142 /* System header to define __stub macros and hopefully few prototypes,
21143 which can conflict with char $ac_func (); below.
21144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21145 <limits.h> exists even on freestanding compilers. */
21147 #ifdef __STDC__
21148 # include <limits.h>
21149 #else
21150 # include <assert.h>
21151 #endif
21153 #undef $ac_func
21155 /* Override any gcc2 internal prototype to avoid an error. */
21156 #ifdef __cplusplus
21157 extern "C"
21159 #endif
21160 /* We use char because int might match the return type of a gcc2
21161 builtin and then its argument prototype would still apply. */
21162 char $ac_func ();
21163 /* The GNU C library defines this for functions which it implements
21164 to always fail with ENOSYS. Some functions are actually named
21165 something starting with __ and the normal name is an alias. */
21166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21167 choke me
21168 #else
21169 char (*f) () = $ac_func;
21170 #endif
21171 #ifdef __cplusplus
21173 #endif
21176 main ()
21178 return f != $ac_func;
21180 return 0;
21182 _ACEOF
21183 rm -f conftest.$ac_objext conftest$ac_exeext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21185 (eval $ac_link) 2>conftest.er1
21186 ac_status=$?
21187 grep -v '^ *+' conftest.er1 >conftest.err
21188 rm -f conftest.er1
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } &&
21192 { ac_try='test -z "$ac_c_werror_flag"
21193 || test ! -s conftest.err'
21194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21195 (eval $ac_try) 2>&5
21196 ac_status=$?
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; } &&
21199 { ac_try='test -s conftest$ac_exeext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21202 ac_status=$?
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21205 eval "$as_ac_var=yes"
21206 else
21207 echo "$as_me: failed program was:" >&5
21208 sed 's/^/| /' conftest.$ac_ext >&5
21210 eval "$as_ac_var=no"
21212 rm -f conftest.err conftest.$ac_objext \
21213 conftest$ac_exeext conftest.$ac_ext
21215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21217 if test `eval echo '${'$as_ac_var'}'` = yes; then
21218 cat >>confdefs.h <<_ACEOF
21219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21220 _ACEOF
21223 done
21225 else
21227 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21228 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21229 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21230 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21231 echo $ECHO_N "(cached) $ECHO_C" >&6
21232 else
21236 ac_ext=cc
21237 ac_cpp='$CXXCPP $CPPFLAGS'
21238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21242 cat >conftest.$ac_ext <<_ACEOF
21243 /* confdefs.h. */
21244 _ACEOF
21245 cat confdefs.h >>conftest.$ac_ext
21246 cat >>conftest.$ac_ext <<_ACEOF
21247 /* end confdefs.h. */
21248 #include <math.h>
21250 main ()
21252 _hypot(0, 0);
21254 return 0;
21256 _ACEOF
21257 rm -f conftest.$ac_objext
21258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21259 (eval $ac_compile) 2>conftest.er1
21260 ac_status=$?
21261 grep -v '^ *+' conftest.er1 >conftest.err
21262 rm -f conftest.er1
21263 cat conftest.err >&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } &&
21266 { ac_try='test -z "$ac_cxx_werror_flag"
21267 || test ! -s conftest.err'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21270 ac_status=$?
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; } &&
21273 { ac_try='test -s conftest.$ac_objext'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21276 ac_status=$?
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; }; then
21279 glibcxx_cv_func__hypot_use=yes
21280 else
21281 echo "$as_me: failed program was:" >&5
21282 sed 's/^/| /' conftest.$ac_ext >&5
21284 glibcxx_cv_func__hypot_use=no
21286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21287 ac_ext=c
21288 ac_cpp='$CPP $CPPFLAGS'
21289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21298 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21300 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21302 for ac_func in _hypot
21304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21305 echo "$as_me:$LINENO: checking for $ac_func" >&5
21306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21307 if eval "test \"\${$as_ac_var+set}\" = set"; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21309 else
21310 if test x$gcc_no_link = xyes; then
21311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21313 { (exit 1); exit 1; }; }
21315 cat >conftest.$ac_ext <<_ACEOF
21316 /* confdefs.h. */
21317 _ACEOF
21318 cat confdefs.h >>conftest.$ac_ext
21319 cat >>conftest.$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21323 #define $ac_func innocuous_$ac_func
21325 /* System header to define __stub macros and hopefully few prototypes,
21326 which can conflict with char $ac_func (); below.
21327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21328 <limits.h> exists even on freestanding compilers. */
21330 #ifdef __STDC__
21331 # include <limits.h>
21332 #else
21333 # include <assert.h>
21334 #endif
21336 #undef $ac_func
21338 /* Override any gcc2 internal prototype to avoid an error. */
21339 #ifdef __cplusplus
21340 extern "C"
21342 #endif
21343 /* We use char because int might match the return type of a gcc2
21344 builtin and then its argument prototype would still apply. */
21345 char $ac_func ();
21346 /* The GNU C library defines this for functions which it implements
21347 to always fail with ENOSYS. Some functions are actually named
21348 something starting with __ and the normal name is an alias. */
21349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21350 choke me
21351 #else
21352 char (*f) () = $ac_func;
21353 #endif
21354 #ifdef __cplusplus
21356 #endif
21359 main ()
21361 return f != $ac_func;
21363 return 0;
21365 _ACEOF
21366 rm -f conftest.$ac_objext conftest$ac_exeext
21367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21368 (eval $ac_link) 2>conftest.er1
21369 ac_status=$?
21370 grep -v '^ *+' conftest.er1 >conftest.err
21371 rm -f conftest.er1
21372 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try='test -z "$ac_c_werror_flag"
21376 || test ! -s conftest.err'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21379 ac_status=$?
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; } &&
21382 { ac_try='test -s conftest$ac_exeext'
21383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21384 (eval $ac_try) 2>&5
21385 ac_status=$?
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; }; then
21388 eval "$as_ac_var=yes"
21389 else
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.$ac_ext >&5
21393 eval "$as_ac_var=no"
21395 rm -f conftest.err conftest.$ac_objext \
21396 conftest$ac_exeext conftest.$ac_ext
21398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21400 if test `eval echo '${'$as_ac_var'}'` = yes; then
21401 cat >>confdefs.h <<_ACEOF
21402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21403 _ACEOF
21406 done
21416 echo "$as_me:$LINENO: checking for float trig functions" >&5
21417 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21418 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21419 echo $ECHO_N "(cached) $ECHO_C" >&6
21420 else
21424 ac_ext=cc
21425 ac_cpp='$CXXCPP $CPPFLAGS'
21426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21430 cat >conftest.$ac_ext <<_ACEOF
21431 /* confdefs.h. */
21432 _ACEOF
21433 cat confdefs.h >>conftest.$ac_ext
21434 cat >>conftest.$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436 #include <math.h>
21438 main ()
21440 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21442 return 0;
21444 _ACEOF
21445 rm -f conftest.$ac_objext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21447 (eval $ac_compile) 2>conftest.er1
21448 ac_status=$?
21449 grep -v '^ *+' conftest.er1 >conftest.err
21450 rm -f conftest.er1
21451 cat conftest.err >&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); } &&
21454 { ac_try='test -z "$ac_cxx_werror_flag"
21455 || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21458 ac_status=$?
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try='test -s conftest.$ac_objext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 glibcxx_cv_func_float_trig_use=yes
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21472 glibcxx_cv_func_float_trig_use=no
21474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21475 ac_ext=c
21476 ac_cpp='$CPP $CPPFLAGS'
21477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21484 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21485 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21495 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21498 echo "$as_me:$LINENO: checking for $ac_func" >&5
21499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21500 if eval "test \"\${$as_ac_var+set}\" = set"; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 else
21503 if test x$gcc_no_link = xyes; then
21504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21506 { (exit 1); exit 1; }; }
21508 cat >conftest.$ac_ext <<_ACEOF
21509 /* confdefs.h. */
21510 _ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21516 #define $ac_func innocuous_$ac_func
21518 /* System header to define __stub macros and hopefully few prototypes,
21519 which can conflict with char $ac_func (); below.
21520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21521 <limits.h> exists even on freestanding compilers. */
21523 #ifdef __STDC__
21524 # include <limits.h>
21525 #else
21526 # include <assert.h>
21527 #endif
21529 #undef $ac_func
21531 /* Override any gcc2 internal prototype to avoid an error. */
21532 #ifdef __cplusplus
21533 extern "C"
21535 #endif
21536 /* We use char because int might match the return type of a gcc2
21537 builtin and then its argument prototype would still apply. */
21538 char $ac_func ();
21539 /* The GNU C library defines this for functions which it implements
21540 to always fail with ENOSYS. Some functions are actually named
21541 something starting with __ and the normal name is an alias. */
21542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21543 choke me
21544 #else
21545 char (*f) () = $ac_func;
21546 #endif
21547 #ifdef __cplusplus
21549 #endif
21552 main ()
21554 return f != $ac_func;
21556 return 0;
21558 _ACEOF
21559 rm -f conftest.$ac_objext conftest$ac_exeext
21560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21561 (eval $ac_link) 2>conftest.er1
21562 ac_status=$?
21563 grep -v '^ *+' conftest.er1 >conftest.err
21564 rm -f conftest.er1
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } &&
21568 { ac_try='test -z "$ac_c_werror_flag"
21569 || test ! -s conftest.err'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; } &&
21575 { ac_try='test -s conftest$ac_exeext'
21576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21577 (eval $ac_try) 2>&5
21578 ac_status=$?
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); }; }; then
21581 eval "$as_ac_var=yes"
21582 else
21583 echo "$as_me: failed program was:" >&5
21584 sed 's/^/| /' conftest.$ac_ext >&5
21586 eval "$as_ac_var=no"
21588 rm -f conftest.err conftest.$ac_objext \
21589 conftest$ac_exeext conftest.$ac_ext
21591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21593 if test `eval echo '${'$as_ac_var'}'` = yes; then
21594 cat >>confdefs.h <<_ACEOF
21595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21596 _ACEOF
21599 done
21601 else
21602 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21603 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21604 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21606 else
21610 ac_ext=cc
21611 ac_cpp='$CXXCPP $CPPFLAGS'
21612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <math.h>
21624 main ()
21626 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21628 return 0;
21630 _ACEOF
21631 rm -f conftest.$ac_objext
21632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21633 (eval $ac_compile) 2>conftest.er1
21634 ac_status=$?
21635 grep -v '^ *+' conftest.er1 >conftest.err
21636 rm -f conftest.er1
21637 cat conftest.err >&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try='test -z "$ac_cxx_werror_flag"
21641 || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21644 ac_status=$?
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 glibcxx_cv_func__float_trig_use=yes
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21658 glibcxx_cv_func__float_trig_use=no
21660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21661 ac_ext=c
21662 ac_cpp='$CPP $CPPFLAGS'
21663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21670 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21671 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21681 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21684 echo "$as_me:$LINENO: checking for $ac_func" >&5
21685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21686 if eval "test \"\${$as_ac_var+set}\" = set"; then
21687 echo $ECHO_N "(cached) $ECHO_C" >&6
21688 else
21689 if test x$gcc_no_link = xyes; then
21690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21692 { (exit 1); exit 1; }; }
21694 cat >conftest.$ac_ext <<_ACEOF
21695 /* confdefs.h. */
21696 _ACEOF
21697 cat confdefs.h >>conftest.$ac_ext
21698 cat >>conftest.$ac_ext <<_ACEOF
21699 /* end confdefs.h. */
21700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21702 #define $ac_func innocuous_$ac_func
21704 /* System header to define __stub macros and hopefully few prototypes,
21705 which can conflict with char $ac_func (); below.
21706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21707 <limits.h> exists even on freestanding compilers. */
21709 #ifdef __STDC__
21710 # include <limits.h>
21711 #else
21712 # include <assert.h>
21713 #endif
21715 #undef $ac_func
21717 /* Override any gcc2 internal prototype to avoid an error. */
21718 #ifdef __cplusplus
21719 extern "C"
21721 #endif
21722 /* We use char because int might match the return type of a gcc2
21723 builtin and then its argument prototype would still apply. */
21724 char $ac_func ();
21725 /* The GNU C library defines this for functions which it implements
21726 to always fail with ENOSYS. Some functions are actually named
21727 something starting with __ and the normal name is an alias. */
21728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21729 choke me
21730 #else
21731 char (*f) () = $ac_func;
21732 #endif
21733 #ifdef __cplusplus
21735 #endif
21738 main ()
21740 return f != $ac_func;
21742 return 0;
21744 _ACEOF
21745 rm -f conftest.$ac_objext conftest$ac_exeext
21746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21747 (eval $ac_link) 2>conftest.er1
21748 ac_status=$?
21749 grep -v '^ *+' conftest.er1 >conftest.err
21750 rm -f conftest.er1
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -z "$ac_c_werror_flag"
21755 || test ! -s conftest.err'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; } &&
21761 { ac_try='test -s conftest$ac_exeext'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21764 ac_status=$?
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; }; then
21767 eval "$as_ac_var=yes"
21768 else
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21772 eval "$as_ac_var=no"
21774 rm -f conftest.err conftest.$ac_objext \
21775 conftest$ac_exeext conftest.$ac_ext
21777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21779 if test `eval echo '${'$as_ac_var'}'` = yes; then
21780 cat >>confdefs.h <<_ACEOF
21781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21782 _ACEOF
21785 done
21803 echo "$as_me:$LINENO: checking for float round functions" >&5
21804 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21805 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21811 ac_ext=cc
21812 ac_cpp='$CXXCPP $CPPFLAGS'
21813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21817 cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h. */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 #include <math.h>
21825 main ()
21827 ceilf (0); floorf (0);
21829 return 0;
21831 _ACEOF
21832 rm -f conftest.$ac_objext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21834 (eval $ac_compile) 2>conftest.er1
21835 ac_status=$?
21836 grep -v '^ *+' conftest.er1 >conftest.err
21837 rm -f conftest.er1
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } &&
21841 { ac_try='test -z "$ac_cxx_werror_flag"
21842 || test ! -s conftest.err'
21843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21844 (eval $ac_try) 2>&5
21845 ac_status=$?
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); }; } &&
21848 { ac_try='test -s conftest.$ac_objext'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21851 ac_status=$?
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; }; then
21854 glibcxx_cv_func_float_round_use=yes
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21859 glibcxx_cv_func_float_round_use=no
21861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21862 ac_ext=c
21863 ac_cpp='$CPP $CPPFLAGS'
21864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21871 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21872 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21875 for ac_func in ceilf floorf
21877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21878 echo "$as_me:$LINENO: checking for $ac_func" >&5
21879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21880 if eval "test \"\${$as_ac_var+set}\" = set"; then
21881 echo $ECHO_N "(cached) $ECHO_C" >&6
21882 else
21883 if test x$gcc_no_link = xyes; then
21884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21886 { (exit 1); exit 1; }; }
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21896 #define $ac_func innocuous_$ac_func
21898 /* System header to define __stub macros and hopefully few prototypes,
21899 which can conflict with char $ac_func (); below.
21900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21901 <limits.h> exists even on freestanding compilers. */
21903 #ifdef __STDC__
21904 # include <limits.h>
21905 #else
21906 # include <assert.h>
21907 #endif
21909 #undef $ac_func
21911 /* Override any gcc2 internal prototype to avoid an error. */
21912 #ifdef __cplusplus
21913 extern "C"
21915 #endif
21916 /* We use char because int might match the return type of a gcc2
21917 builtin and then its argument prototype would still apply. */
21918 char $ac_func ();
21919 /* The GNU C library defines this for functions which it implements
21920 to always fail with ENOSYS. Some functions are actually named
21921 something starting with __ and the normal name is an alias. */
21922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21923 choke me
21924 #else
21925 char (*f) () = $ac_func;
21926 #endif
21927 #ifdef __cplusplus
21929 #endif
21932 main ()
21934 return f != $ac_func;
21936 return 0;
21938 _ACEOF
21939 rm -f conftest.$ac_objext conftest$ac_exeext
21940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21941 (eval $ac_link) 2>conftest.er1
21942 ac_status=$?
21943 grep -v '^ *+' conftest.er1 >conftest.err
21944 rm -f conftest.er1
21945 cat conftest.err >&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } &&
21948 { ac_try='test -z "$ac_c_werror_flag"
21949 || test ! -s conftest.err'
21950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21951 (eval $ac_try) 2>&5
21952 ac_status=$?
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); }; } &&
21955 { ac_try='test -s conftest$ac_exeext'
21956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21957 (eval $ac_try) 2>&5
21958 ac_status=$?
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; }; then
21961 eval "$as_ac_var=yes"
21962 else
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21966 eval "$as_ac_var=no"
21968 rm -f conftest.err conftest.$ac_objext \
21969 conftest$ac_exeext conftest.$ac_ext
21971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21973 if test `eval echo '${'$as_ac_var'}'` = yes; then
21974 cat >>confdefs.h <<_ACEOF
21975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21976 _ACEOF
21979 done
21981 else
21982 echo "$as_me:$LINENO: checking for _float round functions" >&5
21983 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21984 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21985 echo $ECHO_N "(cached) $ECHO_C" >&6
21986 else
21990 ac_ext=cc
21991 ac_cpp='$CXXCPP $CPPFLAGS'
21992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21996 cat >conftest.$ac_ext <<_ACEOF
21997 /* confdefs.h. */
21998 _ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 #include <math.h>
22004 main ()
22006 _ceilf (0); _floorf (0);
22008 return 0;
22010 _ACEOF
22011 rm -f conftest.$ac_objext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22013 (eval $ac_compile) 2>conftest.er1
22014 ac_status=$?
22015 grep -v '^ *+' conftest.er1 >conftest.err
22016 rm -f conftest.er1
22017 cat conftest.err >&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try='test -z "$ac_cxx_werror_flag"
22021 || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22024 ac_status=$?
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try='test -s conftest.$ac_objext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22030 ac_status=$?
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 glibcxx_cv_func__float_round_use=yes
22034 else
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.$ac_ext >&5
22038 glibcxx_cv_func__float_round_use=no
22040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22041 ac_ext=c
22042 ac_cpp='$CPP $CPPFLAGS'
22043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22050 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22051 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22054 for ac_func in _ceilf _floorf
22056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22057 echo "$as_me:$LINENO: checking for $ac_func" >&5
22058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22059 if eval "test \"\${$as_ac_var+set}\" = set"; then
22060 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 else
22062 if test x$gcc_no_link = xyes; then
22063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22065 { (exit 1); exit 1; }; }
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22075 #define $ac_func innocuous_$ac_func
22077 /* System header to define __stub macros and hopefully few prototypes,
22078 which can conflict with char $ac_func (); below.
22079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22080 <limits.h> exists even on freestanding compilers. */
22082 #ifdef __STDC__
22083 # include <limits.h>
22084 #else
22085 # include <assert.h>
22086 #endif
22088 #undef $ac_func
22090 /* Override any gcc2 internal prototype to avoid an error. */
22091 #ifdef __cplusplus
22092 extern "C"
22094 #endif
22095 /* We use char because int might match the return type of a gcc2
22096 builtin and then its argument prototype would still apply. */
22097 char $ac_func ();
22098 /* The GNU C library defines this for functions which it implements
22099 to always fail with ENOSYS. Some functions are actually named
22100 something starting with __ and the normal name is an alias. */
22101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22102 choke me
22103 #else
22104 char (*f) () = $ac_func;
22105 #endif
22106 #ifdef __cplusplus
22108 #endif
22111 main ()
22113 return f != $ac_func;
22115 return 0;
22117 _ACEOF
22118 rm -f conftest.$ac_objext conftest$ac_exeext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try='test -z "$ac_c_werror_flag"
22128 || test ! -s conftest.err'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; } &&
22134 { ac_try='test -s conftest$ac_exeext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 eval "$as_ac_var=yes"
22141 else
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22145 eval "$as_ac_var=no"
22147 rm -f conftest.err conftest.$ac_objext \
22148 conftest$ac_exeext conftest.$ac_ext
22150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22152 if test `eval echo '${'$as_ac_var'}'` = yes; then
22153 cat >>confdefs.h <<_ACEOF
22154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22155 _ACEOF
22158 done
22170 echo "$as_me:$LINENO: checking for expf declaration" >&5
22171 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22172 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22173 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22174 echo $ECHO_N "(cached) $ECHO_C" >&6
22175 else
22179 ac_ext=cc
22180 ac_cpp='$CXXCPP $CPPFLAGS'
22181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22185 cat >conftest.$ac_ext <<_ACEOF
22186 /* confdefs.h. */
22187 _ACEOF
22188 cat confdefs.h >>conftest.$ac_ext
22189 cat >>conftest.$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22191 #include <math.h>
22192 #ifdef HAVE_IEEEFP_H
22193 #include <ieeefp.h>
22194 #endif
22197 main ()
22199 expf(0);
22201 return 0;
22203 _ACEOF
22204 rm -f conftest.$ac_objext
22205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22206 (eval $ac_compile) 2>conftest.er1
22207 ac_status=$?
22208 grep -v '^ *+' conftest.er1 >conftest.err
22209 rm -f conftest.er1
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } &&
22213 { ac_try='test -z "$ac_cxx_werror_flag"
22214 || test ! -s conftest.err'
22215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22216 (eval $ac_try) 2>&5
22217 ac_status=$?
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); }; } &&
22220 { ac_try='test -s conftest.$ac_objext'
22221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22222 (eval $ac_try) 2>&5
22223 ac_status=$?
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 glibcxx_cv_func_expf_use=yes
22227 else
22228 echo "$as_me: failed program was:" >&5
22229 sed 's/^/| /' conftest.$ac_ext >&5
22231 glibcxx_cv_func_expf_use=no
22233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22234 ac_ext=c
22235 ac_cpp='$CPP $CPPFLAGS'
22236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22245 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22247 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22249 for ac_func in expf
22251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22252 echo "$as_me:$LINENO: checking for $ac_func" >&5
22253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22254 if eval "test \"\${$as_ac_var+set}\" = set"; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22256 else
22257 if test x$gcc_no_link = xyes; then
22258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22260 { (exit 1); exit 1; }; }
22262 cat >conftest.$ac_ext <<_ACEOF
22263 /* confdefs.h. */
22264 _ACEOF
22265 cat confdefs.h >>conftest.$ac_ext
22266 cat >>conftest.$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22270 #define $ac_func innocuous_$ac_func
22272 /* System header to define __stub macros and hopefully few prototypes,
22273 which can conflict with char $ac_func (); below.
22274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22275 <limits.h> exists even on freestanding compilers. */
22277 #ifdef __STDC__
22278 # include <limits.h>
22279 #else
22280 # include <assert.h>
22281 #endif
22283 #undef $ac_func
22285 /* Override any gcc2 internal prototype to avoid an error. */
22286 #ifdef __cplusplus
22287 extern "C"
22289 #endif
22290 /* We use char because int might match the return type of a gcc2
22291 builtin and then its argument prototype would still apply. */
22292 char $ac_func ();
22293 /* The GNU C library defines this for functions which it implements
22294 to always fail with ENOSYS. Some functions are actually named
22295 something starting with __ and the normal name is an alias. */
22296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22297 choke me
22298 #else
22299 char (*f) () = $ac_func;
22300 #endif
22301 #ifdef __cplusplus
22303 #endif
22306 main ()
22308 return f != $ac_func;
22310 return 0;
22312 _ACEOF
22313 rm -f conftest.$ac_objext conftest$ac_exeext
22314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22315 (eval $ac_link) 2>conftest.er1
22316 ac_status=$?
22317 grep -v '^ *+' conftest.er1 >conftest.err
22318 rm -f conftest.er1
22319 cat conftest.err >&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); } &&
22322 { ac_try='test -z "$ac_c_werror_flag"
22323 || test ! -s conftest.err'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22326 ac_status=$?
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; } &&
22329 { ac_try='test -s conftest$ac_exeext'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22332 ac_status=$?
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 eval "$as_ac_var=yes"
22336 else
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22340 eval "$as_ac_var=no"
22342 rm -f conftest.err conftest.$ac_objext \
22343 conftest$ac_exeext conftest.$ac_ext
22345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22347 if test `eval echo '${'$as_ac_var'}'` = yes; then
22348 cat >>confdefs.h <<_ACEOF
22349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22350 _ACEOF
22353 done
22355 else
22357 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22358 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22359 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22360 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22361 echo $ECHO_N "(cached) $ECHO_C" >&6
22362 else
22366 ac_ext=cc
22367 ac_cpp='$CXXCPP $CPPFLAGS'
22368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22372 cat >conftest.$ac_ext <<_ACEOF
22373 /* confdefs.h. */
22374 _ACEOF
22375 cat confdefs.h >>conftest.$ac_ext
22376 cat >>conftest.$ac_ext <<_ACEOF
22377 /* end confdefs.h. */
22378 #include <math.h>
22379 #ifdef HAVE_IEEEFP_H
22380 #include <ieeefp.h>
22381 #endif
22384 main ()
22386 _expf(0);
22388 return 0;
22390 _ACEOF
22391 rm -f conftest.$ac_objext
22392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22393 (eval $ac_compile) 2>conftest.er1
22394 ac_status=$?
22395 grep -v '^ *+' conftest.er1 >conftest.err
22396 rm -f conftest.er1
22397 cat conftest.err >&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } &&
22400 { ac_try='test -z "$ac_cxx_werror_flag"
22401 || test ! -s conftest.err'
22402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22403 (eval $ac_try) 2>&5
22404 ac_status=$?
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); }; } &&
22407 { ac_try='test -s conftest.$ac_objext'
22408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22409 (eval $ac_try) 2>&5
22410 ac_status=$?
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22413 glibcxx_cv_func__expf_use=yes
22414 else
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.$ac_ext >&5
22418 glibcxx_cv_func__expf_use=no
22420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22421 ac_ext=c
22422 ac_cpp='$CPP $CPPFLAGS'
22423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22432 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22434 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22436 for ac_func in _expf
22438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22439 echo "$as_me:$LINENO: checking for $ac_func" >&5
22440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22441 if eval "test \"\${$as_ac_var+set}\" = set"; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22443 else
22444 if test x$gcc_no_link = xyes; then
22445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22447 { (exit 1); exit 1; }; }
22449 cat >conftest.$ac_ext <<_ACEOF
22450 /* confdefs.h. */
22451 _ACEOF
22452 cat confdefs.h >>conftest.$ac_ext
22453 cat >>conftest.$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22457 #define $ac_func innocuous_$ac_func
22459 /* System header to define __stub macros and hopefully few prototypes,
22460 which can conflict with char $ac_func (); below.
22461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22462 <limits.h> exists even on freestanding compilers. */
22464 #ifdef __STDC__
22465 # include <limits.h>
22466 #else
22467 # include <assert.h>
22468 #endif
22470 #undef $ac_func
22472 /* Override any gcc2 internal prototype to avoid an error. */
22473 #ifdef __cplusplus
22474 extern "C"
22476 #endif
22477 /* We use char because int might match the return type of a gcc2
22478 builtin and then its argument prototype would still apply. */
22479 char $ac_func ();
22480 /* The GNU C library defines this for functions which it implements
22481 to always fail with ENOSYS. Some functions are actually named
22482 something starting with __ and the normal name is an alias. */
22483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22484 choke me
22485 #else
22486 char (*f) () = $ac_func;
22487 #endif
22488 #ifdef __cplusplus
22490 #endif
22493 main ()
22495 return f != $ac_func;
22497 return 0;
22499 _ACEOF
22500 rm -f conftest.$ac_objext conftest$ac_exeext
22501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22502 (eval $ac_link) 2>conftest.er1
22503 ac_status=$?
22504 grep -v '^ *+' conftest.er1 >conftest.err
22505 rm -f conftest.er1
22506 cat conftest.err >&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); } &&
22509 { ac_try='test -z "$ac_c_werror_flag"
22510 || test ! -s conftest.err'
22511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22512 (eval $ac_try) 2>&5
22513 ac_status=$?
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; } &&
22516 { ac_try='test -s conftest$ac_exeext'
22517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518 (eval $ac_try) 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; }; then
22522 eval "$as_ac_var=yes"
22523 else
22524 echo "$as_me: failed program was:" >&5
22525 sed 's/^/| /' conftest.$ac_ext >&5
22527 eval "$as_ac_var=no"
22529 rm -f conftest.err conftest.$ac_objext \
22530 conftest$ac_exeext conftest.$ac_ext
22532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22534 if test `eval echo '${'$as_ac_var'}'` = yes; then
22535 cat >>confdefs.h <<_ACEOF
22536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22537 _ACEOF
22540 done
22550 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22551 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22552 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22553 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22554 echo $ECHO_N "(cached) $ECHO_C" >&6
22555 else
22559 ac_ext=cc
22560 ac_cpp='$CXXCPP $CPPFLAGS'
22561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22565 cat >conftest.$ac_ext <<_ACEOF
22566 /* confdefs.h. */
22567 _ACEOF
22568 cat confdefs.h >>conftest.$ac_ext
22569 cat >>conftest.$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22571 #include <math.h>
22572 #ifdef HAVE_IEEEFP_H
22573 #include <ieeefp.h>
22574 #endif
22577 main ()
22579 isnanf(0);
22581 return 0;
22583 _ACEOF
22584 rm -f conftest.$ac_objext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22586 (eval $ac_compile) 2>conftest.er1
22587 ac_status=$?
22588 grep -v '^ *+' conftest.er1 >conftest.err
22589 rm -f conftest.er1
22590 cat conftest.err >&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try='test -z "$ac_cxx_werror_flag"
22594 || test ! -s conftest.err'
22595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22596 (eval $ac_try) 2>&5
22597 ac_status=$?
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); }; } &&
22600 { ac_try='test -s conftest.$ac_objext'
22601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22602 (eval $ac_try) 2>&5
22603 ac_status=$?
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); }; }; then
22606 glibcxx_cv_func_isnanf_use=yes
22607 else
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.$ac_ext >&5
22611 glibcxx_cv_func_isnanf_use=no
22613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22614 ac_ext=c
22615 ac_cpp='$CPP $CPPFLAGS'
22616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22625 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22627 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22629 for ac_func in isnanf
22631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22632 echo "$as_me:$LINENO: checking for $ac_func" >&5
22633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22634 if eval "test \"\${$as_ac_var+set}\" = set"; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637 if test x$gcc_no_link = xyes; then
22638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22640 { (exit 1); exit 1; }; }
22642 cat >conftest.$ac_ext <<_ACEOF
22643 /* confdefs.h. */
22644 _ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22650 #define $ac_func innocuous_$ac_func
22652 /* System header to define __stub macros and hopefully few prototypes,
22653 which can conflict with char $ac_func (); below.
22654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22655 <limits.h> exists even on freestanding compilers. */
22657 #ifdef __STDC__
22658 # include <limits.h>
22659 #else
22660 # include <assert.h>
22661 #endif
22663 #undef $ac_func
22665 /* Override any gcc2 internal prototype to avoid an error. */
22666 #ifdef __cplusplus
22667 extern "C"
22669 #endif
22670 /* We use char because int might match the return type of a gcc2
22671 builtin and then its argument prototype would still apply. */
22672 char $ac_func ();
22673 /* The GNU C library defines this for functions which it implements
22674 to always fail with ENOSYS. Some functions are actually named
22675 something starting with __ and the normal name is an alias. */
22676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22677 choke me
22678 #else
22679 char (*f) () = $ac_func;
22680 #endif
22681 #ifdef __cplusplus
22683 #endif
22686 main ()
22688 return f != $ac_func;
22690 return 0;
22692 _ACEOF
22693 rm -f conftest.$ac_objext conftest$ac_exeext
22694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22695 (eval $ac_link) 2>conftest.er1
22696 ac_status=$?
22697 grep -v '^ *+' conftest.er1 >conftest.err
22698 rm -f conftest.er1
22699 cat conftest.err >&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } &&
22702 { ac_try='test -z "$ac_c_werror_flag"
22703 || test ! -s conftest.err'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22706 ac_status=$?
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; } &&
22709 { ac_try='test -s conftest$ac_exeext'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; }; then
22715 eval "$as_ac_var=yes"
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22720 eval "$as_ac_var=no"
22722 rm -f conftest.err conftest.$ac_objext \
22723 conftest$ac_exeext conftest.$ac_ext
22725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22727 if test `eval echo '${'$as_ac_var'}'` = yes; then
22728 cat >>confdefs.h <<_ACEOF
22729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22730 _ACEOF
22733 done
22735 else
22737 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22738 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22739 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22740 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22741 echo $ECHO_N "(cached) $ECHO_C" >&6
22742 else
22746 ac_ext=cc
22747 ac_cpp='$CXXCPP $CPPFLAGS'
22748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22752 cat >conftest.$ac_ext <<_ACEOF
22753 /* confdefs.h. */
22754 _ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758 #include <math.h>
22759 #ifdef HAVE_IEEEFP_H
22760 #include <ieeefp.h>
22761 #endif
22764 main ()
22766 _isnanf(0);
22768 return 0;
22770 _ACEOF
22771 rm -f conftest.$ac_objext
22772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22773 (eval $ac_compile) 2>conftest.er1
22774 ac_status=$?
22775 grep -v '^ *+' conftest.er1 >conftest.err
22776 rm -f conftest.er1
22777 cat conftest.err >&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try='test -z "$ac_cxx_werror_flag"
22781 || test ! -s conftest.err'
22782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22783 (eval $ac_try) 2>&5
22784 ac_status=$?
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); }; } &&
22787 { ac_try='test -s conftest.$ac_objext'
22788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22789 (eval $ac_try) 2>&5
22790 ac_status=$?
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; }; then
22793 glibcxx_cv_func__isnanf_use=yes
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22798 glibcxx_cv_func__isnanf_use=no
22800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22801 ac_ext=c
22802 ac_cpp='$CPP $CPPFLAGS'
22803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22812 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22814 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22816 for ac_func in _isnanf
22818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22819 echo "$as_me:$LINENO: checking for $ac_func" >&5
22820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22821 if eval "test \"\${$as_ac_var+set}\" = set"; then
22822 echo $ECHO_N "(cached) $ECHO_C" >&6
22823 else
22824 if test x$gcc_no_link = xyes; then
22825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22827 { (exit 1); exit 1; }; }
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h. */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22837 #define $ac_func innocuous_$ac_func
22839 /* System header to define __stub macros and hopefully few prototypes,
22840 which can conflict with char $ac_func (); below.
22841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22842 <limits.h> exists even on freestanding compilers. */
22844 #ifdef __STDC__
22845 # include <limits.h>
22846 #else
22847 # include <assert.h>
22848 #endif
22850 #undef $ac_func
22852 /* Override any gcc2 internal prototype to avoid an error. */
22853 #ifdef __cplusplus
22854 extern "C"
22856 #endif
22857 /* We use char because int might match the return type of a gcc2
22858 builtin and then its argument prototype would still apply. */
22859 char $ac_func ();
22860 /* The GNU C library defines this for functions which it implements
22861 to always fail with ENOSYS. Some functions are actually named
22862 something starting with __ and the normal name is an alias. */
22863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22864 choke me
22865 #else
22866 char (*f) () = $ac_func;
22867 #endif
22868 #ifdef __cplusplus
22870 #endif
22873 main ()
22875 return f != $ac_func;
22877 return 0;
22879 _ACEOF
22880 rm -f conftest.$ac_objext conftest$ac_exeext
22881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22882 (eval $ac_link) 2>conftest.er1
22883 ac_status=$?
22884 grep -v '^ *+' conftest.er1 >conftest.err
22885 rm -f conftest.er1
22886 cat conftest.err >&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } &&
22889 { ac_try='test -z "$ac_c_werror_flag"
22890 || test ! -s conftest.err'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22893 ac_status=$?
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; } &&
22896 { ac_try='test -s conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22899 ac_status=$?
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 eval "$as_ac_var=yes"
22903 else
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.$ac_ext >&5
22907 eval "$as_ac_var=no"
22909 rm -f conftest.err conftest.$ac_objext \
22910 conftest$ac_exeext conftest.$ac_ext
22912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22914 if test `eval echo '${'$as_ac_var'}'` = yes; then
22915 cat >>confdefs.h <<_ACEOF
22916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22917 _ACEOF
22920 done
22930 echo "$as_me:$LINENO: checking for isinff declaration" >&5
22931 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
22932 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22933 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
22934 echo $ECHO_N "(cached) $ECHO_C" >&6
22935 else
22939 ac_ext=cc
22940 ac_cpp='$CXXCPP $CPPFLAGS'
22941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 #include <math.h>
22952 #ifdef HAVE_IEEEFP_H
22953 #include <ieeefp.h>
22954 #endif
22957 main ()
22959 isinff(0);
22961 return 0;
22963 _ACEOF
22964 rm -f conftest.$ac_objext
22965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22966 (eval $ac_compile) 2>conftest.er1
22967 ac_status=$?
22968 grep -v '^ *+' conftest.er1 >conftest.err
22969 rm -f conftest.er1
22970 cat conftest.err >&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } &&
22973 { ac_try='test -z "$ac_cxx_werror_flag"
22974 || test ! -s conftest.err'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; } &&
22980 { ac_try='test -s conftest.$ac_objext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 glibcxx_cv_func_isinff_use=yes
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22991 glibcxx_cv_func_isinff_use=no
22993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22994 ac_ext=c
22995 ac_cpp='$CPP $CPPFLAGS'
22996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23005 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23007 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23009 for ac_func in isinff
23011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23012 echo "$as_me:$LINENO: checking for $ac_func" >&5
23013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23014 if eval "test \"\${$as_ac_var+set}\" = set"; then
23015 echo $ECHO_N "(cached) $ECHO_C" >&6
23016 else
23017 if test x$gcc_no_link = xyes; then
23018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23020 { (exit 1); exit 1; }; }
23022 cat >conftest.$ac_ext <<_ACEOF
23023 /* confdefs.h. */
23024 _ACEOF
23025 cat confdefs.h >>conftest.$ac_ext
23026 cat >>conftest.$ac_ext <<_ACEOF
23027 /* end confdefs.h. */
23028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23030 #define $ac_func innocuous_$ac_func
23032 /* System header to define __stub macros and hopefully few prototypes,
23033 which can conflict with char $ac_func (); below.
23034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23035 <limits.h> exists even on freestanding compilers. */
23037 #ifdef __STDC__
23038 # include <limits.h>
23039 #else
23040 # include <assert.h>
23041 #endif
23043 #undef $ac_func
23045 /* Override any gcc2 internal prototype to avoid an error. */
23046 #ifdef __cplusplus
23047 extern "C"
23049 #endif
23050 /* We use char because int might match the return type of a gcc2
23051 builtin and then its argument prototype would still apply. */
23052 char $ac_func ();
23053 /* The GNU C library defines this for functions which it implements
23054 to always fail with ENOSYS. Some functions are actually named
23055 something starting with __ and the normal name is an alias. */
23056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23057 choke me
23058 #else
23059 char (*f) () = $ac_func;
23060 #endif
23061 #ifdef __cplusplus
23063 #endif
23066 main ()
23068 return f != $ac_func;
23070 return 0;
23072 _ACEOF
23073 rm -f conftest.$ac_objext conftest$ac_exeext
23074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23075 (eval $ac_link) 2>conftest.er1
23076 ac_status=$?
23077 grep -v '^ *+' conftest.er1 >conftest.err
23078 rm -f conftest.er1
23079 cat conftest.err >&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } &&
23082 { ac_try='test -z "$ac_c_werror_flag"
23083 || test ! -s conftest.err'
23084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23085 (eval $ac_try) 2>&5
23086 ac_status=$?
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); }; } &&
23089 { ac_try='test -s conftest$ac_exeext'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; }; then
23095 eval "$as_ac_var=yes"
23096 else
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23100 eval "$as_ac_var=no"
23102 rm -f conftest.err conftest.$ac_objext \
23103 conftest$ac_exeext conftest.$ac_ext
23105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23107 if test `eval echo '${'$as_ac_var'}'` = yes; then
23108 cat >>confdefs.h <<_ACEOF
23109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23110 _ACEOF
23113 done
23115 else
23117 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23118 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23119 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23120 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23121 echo $ECHO_N "(cached) $ECHO_C" >&6
23122 else
23126 ac_ext=cc
23127 ac_cpp='$CXXCPP $CPPFLAGS'
23128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23132 cat >conftest.$ac_ext <<_ACEOF
23133 /* confdefs.h. */
23134 _ACEOF
23135 cat confdefs.h >>conftest.$ac_ext
23136 cat >>conftest.$ac_ext <<_ACEOF
23137 /* end confdefs.h. */
23138 #include <math.h>
23139 #ifdef HAVE_IEEEFP_H
23140 #include <ieeefp.h>
23141 #endif
23144 main ()
23146 _isinff(0);
23148 return 0;
23150 _ACEOF
23151 rm -f conftest.$ac_objext
23152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23153 (eval $ac_compile) 2>conftest.er1
23154 ac_status=$?
23155 grep -v '^ *+' conftest.er1 >conftest.err
23156 rm -f conftest.er1
23157 cat conftest.err >&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); } &&
23160 { ac_try='test -z "$ac_cxx_werror_flag"
23161 || test ! -s conftest.err'
23162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23163 (eval $ac_try) 2>&5
23164 ac_status=$?
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); }; } &&
23167 { ac_try='test -s conftest.$ac_objext'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23170 ac_status=$?
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; }; then
23173 glibcxx_cv_func__isinff_use=yes
23174 else
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.$ac_ext >&5
23178 glibcxx_cv_func__isinff_use=no
23180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23181 ac_ext=c
23182 ac_cpp='$CPP $CPPFLAGS'
23183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23192 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23194 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23196 for ac_func in _isinff
23198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23199 echo "$as_me:$LINENO: checking for $ac_func" >&5
23200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23201 if eval "test \"\${$as_ac_var+set}\" = set"; then
23202 echo $ECHO_N "(cached) $ECHO_C" >&6
23203 else
23204 if test x$gcc_no_link = xyes; then
23205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23207 { (exit 1); exit 1; }; }
23209 cat >conftest.$ac_ext <<_ACEOF
23210 /* confdefs.h. */
23211 _ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h. */
23215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23217 #define $ac_func innocuous_$ac_func
23219 /* System header to define __stub macros and hopefully few prototypes,
23220 which can conflict with char $ac_func (); below.
23221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23222 <limits.h> exists even on freestanding compilers. */
23224 #ifdef __STDC__
23225 # include <limits.h>
23226 #else
23227 # include <assert.h>
23228 #endif
23230 #undef $ac_func
23232 /* Override any gcc2 internal prototype to avoid an error. */
23233 #ifdef __cplusplus
23234 extern "C"
23236 #endif
23237 /* We use char because int might match the return type of a gcc2
23238 builtin and then its argument prototype would still apply. */
23239 char $ac_func ();
23240 /* The GNU C library defines this for functions which it implements
23241 to always fail with ENOSYS. Some functions are actually named
23242 something starting with __ and the normal name is an alias. */
23243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23244 choke me
23245 #else
23246 char (*f) () = $ac_func;
23247 #endif
23248 #ifdef __cplusplus
23250 #endif
23253 main ()
23255 return f != $ac_func;
23257 return 0;
23259 _ACEOF
23260 rm -f conftest.$ac_objext conftest$ac_exeext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23262 (eval $ac_link) 2>conftest.er1
23263 ac_status=$?
23264 grep -v '^ *+' conftest.er1 >conftest.err
23265 rm -f conftest.er1
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try='test -z "$ac_c_werror_flag"
23270 || test ! -s conftest.err'
23271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23273 ac_status=$?
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); }; } &&
23276 { ac_try='test -s conftest$ac_exeext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 eval "$as_ac_var=yes"
23283 else
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23287 eval "$as_ac_var=no"
23289 rm -f conftest.err conftest.$ac_objext \
23290 conftest$ac_exeext conftest.$ac_ext
23292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23294 if test `eval echo '${'$as_ac_var'}'` = yes; then
23295 cat >>confdefs.h <<_ACEOF
23296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23297 _ACEOF
23300 done
23310 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23311 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23312 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23313 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23314 echo $ECHO_N "(cached) $ECHO_C" >&6
23315 else
23319 ac_ext=cc
23320 ac_cpp='$CXXCPP $CPPFLAGS'
23321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23325 cat >conftest.$ac_ext <<_ACEOF
23326 /* confdefs.h. */
23327 _ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 #include <math.h>
23333 main ()
23335 atan2f(0, 0);
23337 return 0;
23339 _ACEOF
23340 rm -f conftest.$ac_objext
23341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23342 (eval $ac_compile) 2>conftest.er1
23343 ac_status=$?
23344 grep -v '^ *+' conftest.er1 >conftest.err
23345 rm -f conftest.er1
23346 cat conftest.err >&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); } &&
23349 { ac_try='test -z "$ac_cxx_werror_flag"
23350 || test ! -s conftest.err'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; } &&
23356 { ac_try='test -s conftest.$ac_objext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 glibcxx_cv_func_atan2f_use=yes
23363 else
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23367 glibcxx_cv_func_atan2f_use=no
23369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23370 ac_ext=c
23371 ac_cpp='$CPP $CPPFLAGS'
23372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23381 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23383 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23385 for ac_func in atan2f
23387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23388 echo "$as_me:$LINENO: checking for $ac_func" >&5
23389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23390 if eval "test \"\${$as_ac_var+set}\" = set"; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23393 if test x$gcc_no_link = xyes; then
23394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23396 { (exit 1); exit 1; }; }
23398 cat >conftest.$ac_ext <<_ACEOF
23399 /* confdefs.h. */
23400 _ACEOF
23401 cat confdefs.h >>conftest.$ac_ext
23402 cat >>conftest.$ac_ext <<_ACEOF
23403 /* end confdefs.h. */
23404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23406 #define $ac_func innocuous_$ac_func
23408 /* System header to define __stub macros and hopefully few prototypes,
23409 which can conflict with char $ac_func (); below.
23410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23411 <limits.h> exists even on freestanding compilers. */
23413 #ifdef __STDC__
23414 # include <limits.h>
23415 #else
23416 # include <assert.h>
23417 #endif
23419 #undef $ac_func
23421 /* Override any gcc2 internal prototype to avoid an error. */
23422 #ifdef __cplusplus
23423 extern "C"
23425 #endif
23426 /* We use char because int might match the return type of a gcc2
23427 builtin and then its argument prototype would still apply. */
23428 char $ac_func ();
23429 /* The GNU C library defines this for functions which it implements
23430 to always fail with ENOSYS. Some functions are actually named
23431 something starting with __ and the normal name is an alias. */
23432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23433 choke me
23434 #else
23435 char (*f) () = $ac_func;
23436 #endif
23437 #ifdef __cplusplus
23439 #endif
23442 main ()
23444 return f != $ac_func;
23446 return 0;
23448 _ACEOF
23449 rm -f conftest.$ac_objext conftest$ac_exeext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451 (eval $ac_link) 2>conftest.er1
23452 ac_status=$?
23453 grep -v '^ *+' conftest.er1 >conftest.err
23454 rm -f conftest.er1
23455 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } &&
23458 { ac_try='test -z "$ac_c_werror_flag"
23459 || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23462 ac_status=$?
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try='test -s conftest$ac_exeext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 eval "$as_ac_var=yes"
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23476 eval "$as_ac_var=no"
23478 rm -f conftest.err conftest.$ac_objext \
23479 conftest$ac_exeext conftest.$ac_ext
23481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23483 if test `eval echo '${'$as_ac_var'}'` = yes; then
23484 cat >>confdefs.h <<_ACEOF
23485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23486 _ACEOF
23489 done
23491 else
23493 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23494 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23495 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23496 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23497 echo $ECHO_N "(cached) $ECHO_C" >&6
23498 else
23502 ac_ext=cc
23503 ac_cpp='$CXXCPP $CPPFLAGS'
23504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23508 cat >conftest.$ac_ext <<_ACEOF
23509 /* confdefs.h. */
23510 _ACEOF
23511 cat confdefs.h >>conftest.$ac_ext
23512 cat >>conftest.$ac_ext <<_ACEOF
23513 /* end confdefs.h. */
23514 #include <math.h>
23516 main ()
23518 _atan2f(0, 0);
23520 return 0;
23522 _ACEOF
23523 rm -f conftest.$ac_objext
23524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23525 (eval $ac_compile) 2>conftest.er1
23526 ac_status=$?
23527 grep -v '^ *+' conftest.er1 >conftest.err
23528 rm -f conftest.er1
23529 cat conftest.err >&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } &&
23532 { ac_try='test -z "$ac_cxx_werror_flag"
23533 || test ! -s conftest.err'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; } &&
23539 { ac_try='test -s conftest.$ac_objext'
23540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541 (eval $ac_try) 2>&5
23542 ac_status=$?
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; }; then
23545 glibcxx_cv_func__atan2f_use=yes
23546 else
23547 echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.$ac_ext >&5
23550 glibcxx_cv_func__atan2f_use=no
23552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23553 ac_ext=c
23554 ac_cpp='$CPP $CPPFLAGS'
23555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23564 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23566 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23568 for ac_func in _atan2f
23570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23571 echo "$as_me:$LINENO: checking for $ac_func" >&5
23572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23573 if eval "test \"\${$as_ac_var+set}\" = set"; then
23574 echo $ECHO_N "(cached) $ECHO_C" >&6
23575 else
23576 if test x$gcc_no_link = xyes; then
23577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23579 { (exit 1); exit 1; }; }
23581 cat >conftest.$ac_ext <<_ACEOF
23582 /* confdefs.h. */
23583 _ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23589 #define $ac_func innocuous_$ac_func
23591 /* System header to define __stub macros and hopefully few prototypes,
23592 which can conflict with char $ac_func (); below.
23593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23594 <limits.h> exists even on freestanding compilers. */
23596 #ifdef __STDC__
23597 # include <limits.h>
23598 #else
23599 # include <assert.h>
23600 #endif
23602 #undef $ac_func
23604 /* Override any gcc2 internal prototype to avoid an error. */
23605 #ifdef __cplusplus
23606 extern "C"
23608 #endif
23609 /* We use char because int might match the return type of a gcc2
23610 builtin and then its argument prototype would still apply. */
23611 char $ac_func ();
23612 /* The GNU C library defines this for functions which it implements
23613 to always fail with ENOSYS. Some functions are actually named
23614 something starting with __ and the normal name is an alias. */
23615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23616 choke me
23617 #else
23618 char (*f) () = $ac_func;
23619 #endif
23620 #ifdef __cplusplus
23622 #endif
23625 main ()
23627 return f != $ac_func;
23629 return 0;
23631 _ACEOF
23632 rm -f conftest.$ac_objext conftest$ac_exeext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23634 (eval $ac_link) 2>conftest.er1
23635 ac_status=$?
23636 grep -v '^ *+' conftest.er1 >conftest.err
23637 rm -f conftest.er1
23638 cat conftest.err >&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try='test -z "$ac_c_werror_flag"
23642 || test ! -s conftest.err'
23643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644 (eval $ac_try) 2>&5
23645 ac_status=$?
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; } &&
23648 { ac_try='test -s conftest$ac_exeext'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; }; then
23654 eval "$as_ac_var=yes"
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23659 eval "$as_ac_var=no"
23661 rm -f conftest.err conftest.$ac_objext \
23662 conftest$ac_exeext conftest.$ac_ext
23664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23666 if test `eval echo '${'$as_ac_var'}'` = yes; then
23667 cat >>confdefs.h <<_ACEOF
23668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23669 _ACEOF
23672 done
23682 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23683 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23684 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23685 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23687 else
23691 ac_ext=cc
23692 ac_cpp='$CXXCPP $CPPFLAGS'
23693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23697 cat >conftest.$ac_ext <<_ACEOF
23698 /* confdefs.h. */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 #include <math.h>
23704 #ifdef HAVE_IEEEFP_H
23705 #include <ieeefp.h>
23706 #endif
23709 main ()
23711 fabsf(0);
23713 return 0;
23715 _ACEOF
23716 rm -f conftest.$ac_objext
23717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23718 (eval $ac_compile) 2>conftest.er1
23719 ac_status=$?
23720 grep -v '^ *+' conftest.er1 >conftest.err
23721 rm -f conftest.er1
23722 cat conftest.err >&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); } &&
23725 { ac_try='test -z "$ac_cxx_werror_flag"
23726 || test ! -s conftest.err'
23727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23728 (eval $ac_try) 2>&5
23729 ac_status=$?
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); }; } &&
23732 { ac_try='test -s conftest.$ac_objext'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23735 ac_status=$?
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; }; then
23738 glibcxx_cv_func_fabsf_use=yes
23739 else
23740 echo "$as_me: failed program was:" >&5
23741 sed 's/^/| /' conftest.$ac_ext >&5
23743 glibcxx_cv_func_fabsf_use=no
23745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23746 ac_ext=c
23747 ac_cpp='$CPP $CPPFLAGS'
23748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23757 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23759 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23761 for ac_func in fabsf
23763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23764 echo "$as_me:$LINENO: checking for $ac_func" >&5
23765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23766 if eval "test \"\${$as_ac_var+set}\" = set"; then
23767 echo $ECHO_N "(cached) $ECHO_C" >&6
23768 else
23769 if test x$gcc_no_link = xyes; then
23770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23772 { (exit 1); exit 1; }; }
23774 cat >conftest.$ac_ext <<_ACEOF
23775 /* confdefs.h. */
23776 _ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23782 #define $ac_func innocuous_$ac_func
23784 /* System header to define __stub macros and hopefully few prototypes,
23785 which can conflict with char $ac_func (); below.
23786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23787 <limits.h> exists even on freestanding compilers. */
23789 #ifdef __STDC__
23790 # include <limits.h>
23791 #else
23792 # include <assert.h>
23793 #endif
23795 #undef $ac_func
23797 /* Override any gcc2 internal prototype to avoid an error. */
23798 #ifdef __cplusplus
23799 extern "C"
23801 #endif
23802 /* We use char because int might match the return type of a gcc2
23803 builtin and then its argument prototype would still apply. */
23804 char $ac_func ();
23805 /* The GNU C library defines this for functions which it implements
23806 to always fail with ENOSYS. Some functions are actually named
23807 something starting with __ and the normal name is an alias. */
23808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23809 choke me
23810 #else
23811 char (*f) () = $ac_func;
23812 #endif
23813 #ifdef __cplusplus
23815 #endif
23818 main ()
23820 return f != $ac_func;
23822 return 0;
23824 _ACEOF
23825 rm -f conftest.$ac_objext conftest$ac_exeext
23826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23827 (eval $ac_link) 2>conftest.er1
23828 ac_status=$?
23829 grep -v '^ *+' conftest.er1 >conftest.err
23830 rm -f conftest.er1
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } &&
23834 { ac_try='test -z "$ac_c_werror_flag"
23835 || test ! -s conftest.err'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; } &&
23841 { ac_try='test -s conftest$ac_exeext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 eval "$as_ac_var=yes"
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23852 eval "$as_ac_var=no"
23854 rm -f conftest.err conftest.$ac_objext \
23855 conftest$ac_exeext conftest.$ac_ext
23857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23859 if test `eval echo '${'$as_ac_var'}'` = yes; then
23860 cat >>confdefs.h <<_ACEOF
23861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23862 _ACEOF
23865 done
23867 else
23869 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23870 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23871 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23872 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23873 echo $ECHO_N "(cached) $ECHO_C" >&6
23874 else
23878 ac_ext=cc
23879 ac_cpp='$CXXCPP $CPPFLAGS'
23880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23884 cat >conftest.$ac_ext <<_ACEOF
23885 /* confdefs.h. */
23886 _ACEOF
23887 cat confdefs.h >>conftest.$ac_ext
23888 cat >>conftest.$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 #include <math.h>
23891 #ifdef HAVE_IEEEFP_H
23892 #include <ieeefp.h>
23893 #endif
23896 main ()
23898 _fabsf(0);
23900 return 0;
23902 _ACEOF
23903 rm -f conftest.$ac_objext
23904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23905 (eval $ac_compile) 2>conftest.er1
23906 ac_status=$?
23907 grep -v '^ *+' conftest.er1 >conftest.err
23908 rm -f conftest.er1
23909 cat conftest.err >&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } &&
23912 { ac_try='test -z "$ac_cxx_werror_flag"
23913 || test ! -s conftest.err'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23916 ac_status=$?
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; } &&
23919 { ac_try='test -s conftest.$ac_objext'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23922 ac_status=$?
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; }; then
23925 glibcxx_cv_func__fabsf_use=yes
23926 else
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5
23930 glibcxx_cv_func__fabsf_use=no
23932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23933 ac_ext=c
23934 ac_cpp='$CPP $CPPFLAGS'
23935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
23944 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
23946 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23948 for ac_func in _fabsf
23950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23951 echo "$as_me:$LINENO: checking for $ac_func" >&5
23952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23953 if eval "test \"\${$as_ac_var+set}\" = set"; then
23954 echo $ECHO_N "(cached) $ECHO_C" >&6
23955 else
23956 if test x$gcc_no_link = xyes; then
23957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23959 { (exit 1); exit 1; }; }
23961 cat >conftest.$ac_ext <<_ACEOF
23962 /* confdefs.h. */
23963 _ACEOF
23964 cat confdefs.h >>conftest.$ac_ext
23965 cat >>conftest.$ac_ext <<_ACEOF
23966 /* end confdefs.h. */
23967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23969 #define $ac_func innocuous_$ac_func
23971 /* System header to define __stub macros and hopefully few prototypes,
23972 which can conflict with char $ac_func (); below.
23973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23974 <limits.h> exists even on freestanding compilers. */
23976 #ifdef __STDC__
23977 # include <limits.h>
23978 #else
23979 # include <assert.h>
23980 #endif
23982 #undef $ac_func
23984 /* Override any gcc2 internal prototype to avoid an error. */
23985 #ifdef __cplusplus
23986 extern "C"
23988 #endif
23989 /* We use char because int might match the return type of a gcc2
23990 builtin and then its argument prototype would still apply. */
23991 char $ac_func ();
23992 /* The GNU C library defines this for functions which it implements
23993 to always fail with ENOSYS. Some functions are actually named
23994 something starting with __ and the normal name is an alias. */
23995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23996 choke me
23997 #else
23998 char (*f) () = $ac_func;
23999 #endif
24000 #ifdef __cplusplus
24002 #endif
24005 main ()
24007 return f != $ac_func;
24009 return 0;
24011 _ACEOF
24012 rm -f conftest.$ac_objext conftest$ac_exeext
24013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24014 (eval $ac_link) 2>conftest.er1
24015 ac_status=$?
24016 grep -v '^ *+' conftest.er1 >conftest.err
24017 rm -f conftest.er1
24018 cat conftest.err >&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try='test -z "$ac_c_werror_flag"
24022 || test ! -s conftest.err'
24023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24024 (eval $ac_try) 2>&5
24025 ac_status=$?
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); }; } &&
24028 { ac_try='test -s conftest$ac_exeext'
24029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24030 (eval $ac_try) 2>&5
24031 ac_status=$?
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); }; }; then
24034 eval "$as_ac_var=yes"
24035 else
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.$ac_ext >&5
24039 eval "$as_ac_var=no"
24041 rm -f conftest.err conftest.$ac_objext \
24042 conftest$ac_exeext conftest.$ac_ext
24044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24046 if test `eval echo '${'$as_ac_var'}'` = yes; then
24047 cat >>confdefs.h <<_ACEOF
24048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24049 _ACEOF
24052 done
24062 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24063 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24064 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24065 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24066 echo $ECHO_N "(cached) $ECHO_C" >&6
24067 else
24071 ac_ext=cc
24072 ac_cpp='$CXXCPP $CPPFLAGS'
24073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24077 cat >conftest.$ac_ext <<_ACEOF
24078 /* confdefs.h. */
24079 _ACEOF
24080 cat confdefs.h >>conftest.$ac_ext
24081 cat >>conftest.$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083 #include <math.h>
24085 main ()
24087 fmodf(0, 0);
24089 return 0;
24091 _ACEOF
24092 rm -f conftest.$ac_objext
24093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24094 (eval $ac_compile) 2>conftest.er1
24095 ac_status=$?
24096 grep -v '^ *+' conftest.er1 >conftest.err
24097 rm -f conftest.er1
24098 cat conftest.err >&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); } &&
24101 { ac_try='test -z "$ac_cxx_werror_flag"
24102 || test ! -s conftest.err'
24103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104 (eval $ac_try) 2>&5
24105 ac_status=$?
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); }; } &&
24108 { ac_try='test -s conftest.$ac_objext'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; }; then
24114 glibcxx_cv_func_fmodf_use=yes
24115 else
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24119 glibcxx_cv_func_fmodf_use=no
24121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24122 ac_ext=c
24123 ac_cpp='$CPP $CPPFLAGS'
24124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24133 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24135 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24137 for ac_func in fmodf
24139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24140 echo "$as_me:$LINENO: checking for $ac_func" >&5
24141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24142 if eval "test \"\${$as_ac_var+set}\" = set"; then
24143 echo $ECHO_N "(cached) $ECHO_C" >&6
24144 else
24145 if test x$gcc_no_link = xyes; then
24146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24148 { (exit 1); exit 1; }; }
24150 cat >conftest.$ac_ext <<_ACEOF
24151 /* confdefs.h. */
24152 _ACEOF
24153 cat confdefs.h >>conftest.$ac_ext
24154 cat >>conftest.$ac_ext <<_ACEOF
24155 /* end confdefs.h. */
24156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24158 #define $ac_func innocuous_$ac_func
24160 /* System header to define __stub macros and hopefully few prototypes,
24161 which can conflict with char $ac_func (); below.
24162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24163 <limits.h> exists even on freestanding compilers. */
24165 #ifdef __STDC__
24166 # include <limits.h>
24167 #else
24168 # include <assert.h>
24169 #endif
24171 #undef $ac_func
24173 /* Override any gcc2 internal prototype to avoid an error. */
24174 #ifdef __cplusplus
24175 extern "C"
24177 #endif
24178 /* We use char because int might match the return type of a gcc2
24179 builtin and then its argument prototype would still apply. */
24180 char $ac_func ();
24181 /* The GNU C library defines this for functions which it implements
24182 to always fail with ENOSYS. Some functions are actually named
24183 something starting with __ and the normal name is an alias. */
24184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24185 choke me
24186 #else
24187 char (*f) () = $ac_func;
24188 #endif
24189 #ifdef __cplusplus
24191 #endif
24194 main ()
24196 return f != $ac_func;
24198 return 0;
24200 _ACEOF
24201 rm -f conftest.$ac_objext conftest$ac_exeext
24202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24203 (eval $ac_link) 2>conftest.er1
24204 ac_status=$?
24205 grep -v '^ *+' conftest.er1 >conftest.err
24206 rm -f conftest.er1
24207 cat conftest.err >&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); } &&
24210 { ac_try='test -z "$ac_c_werror_flag"
24211 || test ! -s conftest.err'
24212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213 (eval $ac_try) 2>&5
24214 ac_status=$?
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); }; } &&
24217 { ac_try='test -s conftest$ac_exeext'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24220 ac_status=$?
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; }; then
24223 eval "$as_ac_var=yes"
24224 else
24225 echo "$as_me: failed program was:" >&5
24226 sed 's/^/| /' conftest.$ac_ext >&5
24228 eval "$as_ac_var=no"
24230 rm -f conftest.err conftest.$ac_objext \
24231 conftest$ac_exeext conftest.$ac_ext
24233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24235 if test `eval echo '${'$as_ac_var'}'` = yes; then
24236 cat >>confdefs.h <<_ACEOF
24237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24238 _ACEOF
24241 done
24243 else
24245 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24246 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24247 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24248 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24249 echo $ECHO_N "(cached) $ECHO_C" >&6
24250 else
24254 ac_ext=cc
24255 ac_cpp='$CXXCPP $CPPFLAGS'
24256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24260 cat >conftest.$ac_ext <<_ACEOF
24261 /* confdefs.h. */
24262 _ACEOF
24263 cat confdefs.h >>conftest.$ac_ext
24264 cat >>conftest.$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24266 #include <math.h>
24268 main ()
24270 _fmodf(0, 0);
24272 return 0;
24274 _ACEOF
24275 rm -f conftest.$ac_objext
24276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24277 (eval $ac_compile) 2>conftest.er1
24278 ac_status=$?
24279 grep -v '^ *+' conftest.er1 >conftest.err
24280 rm -f conftest.er1
24281 cat conftest.err >&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } &&
24284 { ac_try='test -z "$ac_cxx_werror_flag"
24285 || test ! -s conftest.err'
24286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287 (eval $ac_try) 2>&5
24288 ac_status=$?
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; } &&
24291 { ac_try='test -s conftest.$ac_objext'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24294 ac_status=$?
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; }; then
24297 glibcxx_cv_func__fmodf_use=yes
24298 else
24299 echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.$ac_ext >&5
24302 glibcxx_cv_func__fmodf_use=no
24304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24305 ac_ext=c
24306 ac_cpp='$CPP $CPPFLAGS'
24307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24316 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24318 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24320 for ac_func in _fmodf
24322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24323 echo "$as_me:$LINENO: checking for $ac_func" >&5
24324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24325 if eval "test \"\${$as_ac_var+set}\" = set"; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24327 else
24328 if test x$gcc_no_link = xyes; then
24329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24331 { (exit 1); exit 1; }; }
24333 cat >conftest.$ac_ext <<_ACEOF
24334 /* confdefs.h. */
24335 _ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24341 #define $ac_func innocuous_$ac_func
24343 /* System header to define __stub macros and hopefully few prototypes,
24344 which can conflict with char $ac_func (); below.
24345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24346 <limits.h> exists even on freestanding compilers. */
24348 #ifdef __STDC__
24349 # include <limits.h>
24350 #else
24351 # include <assert.h>
24352 #endif
24354 #undef $ac_func
24356 /* Override any gcc2 internal prototype to avoid an error. */
24357 #ifdef __cplusplus
24358 extern "C"
24360 #endif
24361 /* We use char because int might match the return type of a gcc2
24362 builtin and then its argument prototype would still apply. */
24363 char $ac_func ();
24364 /* The GNU C library defines this for functions which it implements
24365 to always fail with ENOSYS. Some functions are actually named
24366 something starting with __ and the normal name is an alias. */
24367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24368 choke me
24369 #else
24370 char (*f) () = $ac_func;
24371 #endif
24372 #ifdef __cplusplus
24374 #endif
24377 main ()
24379 return f != $ac_func;
24381 return 0;
24383 _ACEOF
24384 rm -f conftest.$ac_objext conftest$ac_exeext
24385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24386 (eval $ac_link) 2>conftest.er1
24387 ac_status=$?
24388 grep -v '^ *+' conftest.er1 >conftest.err
24389 rm -f conftest.er1
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } &&
24393 { ac_try='test -z "$ac_c_werror_flag"
24394 || test ! -s conftest.err'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24397 ac_status=$?
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; } &&
24400 { ac_try='test -s conftest$ac_exeext'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24403 ac_status=$?
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; }; then
24406 eval "$as_ac_var=yes"
24407 else
24408 echo "$as_me: failed program was:" >&5
24409 sed 's/^/| /' conftest.$ac_ext >&5
24411 eval "$as_ac_var=no"
24413 rm -f conftest.err conftest.$ac_objext \
24414 conftest$ac_exeext conftest.$ac_ext
24416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24418 if test `eval echo '${'$as_ac_var'}'` = yes; then
24419 cat >>confdefs.h <<_ACEOF
24420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24421 _ACEOF
24424 done
24434 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24435 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24436 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24437 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24438 echo $ECHO_N "(cached) $ECHO_C" >&6
24439 else
24443 ac_ext=cc
24444 ac_cpp='$CXXCPP $CPPFLAGS'
24445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449 cat >conftest.$ac_ext <<_ACEOF
24450 /* confdefs.h. */
24451 _ACEOF
24452 cat confdefs.h >>conftest.$ac_ext
24453 cat >>conftest.$ac_ext <<_ACEOF
24454 /* end confdefs.h. */
24455 #include <math.h>
24457 main ()
24459 frexpf(0, 0);
24461 return 0;
24463 _ACEOF
24464 rm -f conftest.$ac_objext
24465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24466 (eval $ac_compile) 2>conftest.er1
24467 ac_status=$?
24468 grep -v '^ *+' conftest.er1 >conftest.err
24469 rm -f conftest.er1
24470 cat conftest.err >&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } &&
24473 { ac_try='test -z "$ac_cxx_werror_flag"
24474 || test ! -s conftest.err'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24477 ac_status=$?
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; } &&
24480 { ac_try='test -s conftest.$ac_objext'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 glibcxx_cv_func_frexpf_use=yes
24487 else
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.$ac_ext >&5
24491 glibcxx_cv_func_frexpf_use=no
24493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24494 ac_ext=c
24495 ac_cpp='$CPP $CPPFLAGS'
24496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24505 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24507 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24509 for ac_func in frexpf
24511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24512 echo "$as_me:$LINENO: checking for $ac_func" >&5
24513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24514 if eval "test \"\${$as_ac_var+set}\" = set"; then
24515 echo $ECHO_N "(cached) $ECHO_C" >&6
24516 else
24517 if test x$gcc_no_link = xyes; then
24518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24520 { (exit 1); exit 1; }; }
24522 cat >conftest.$ac_ext <<_ACEOF
24523 /* confdefs.h. */
24524 _ACEOF
24525 cat confdefs.h >>conftest.$ac_ext
24526 cat >>conftest.$ac_ext <<_ACEOF
24527 /* end confdefs.h. */
24528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24530 #define $ac_func innocuous_$ac_func
24532 /* System header to define __stub macros and hopefully few prototypes,
24533 which can conflict with char $ac_func (); below.
24534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24535 <limits.h> exists even on freestanding compilers. */
24537 #ifdef __STDC__
24538 # include <limits.h>
24539 #else
24540 # include <assert.h>
24541 #endif
24543 #undef $ac_func
24545 /* Override any gcc2 internal prototype to avoid an error. */
24546 #ifdef __cplusplus
24547 extern "C"
24549 #endif
24550 /* We use char because int might match the return type of a gcc2
24551 builtin and then its argument prototype would still apply. */
24552 char $ac_func ();
24553 /* The GNU C library defines this for functions which it implements
24554 to always fail with ENOSYS. Some functions are actually named
24555 something starting with __ and the normal name is an alias. */
24556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24557 choke me
24558 #else
24559 char (*f) () = $ac_func;
24560 #endif
24561 #ifdef __cplusplus
24563 #endif
24566 main ()
24568 return f != $ac_func;
24570 return 0;
24572 _ACEOF
24573 rm -f conftest.$ac_objext conftest$ac_exeext
24574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24575 (eval $ac_link) 2>conftest.er1
24576 ac_status=$?
24577 grep -v '^ *+' conftest.er1 >conftest.err
24578 rm -f conftest.er1
24579 cat conftest.err >&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } &&
24582 { ac_try='test -z "$ac_c_werror_flag"
24583 || test ! -s conftest.err'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24586 ac_status=$?
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; } &&
24589 { ac_try='test -s conftest$ac_exeext'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24592 ac_status=$?
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; }; then
24595 eval "$as_ac_var=yes"
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24600 eval "$as_ac_var=no"
24602 rm -f conftest.err conftest.$ac_objext \
24603 conftest$ac_exeext conftest.$ac_ext
24605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24607 if test `eval echo '${'$as_ac_var'}'` = yes; then
24608 cat >>confdefs.h <<_ACEOF
24609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24610 _ACEOF
24613 done
24615 else
24617 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24618 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24619 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24620 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24621 echo $ECHO_N "(cached) $ECHO_C" >&6
24622 else
24626 ac_ext=cc
24627 ac_cpp='$CXXCPP $CPPFLAGS'
24628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24632 cat >conftest.$ac_ext <<_ACEOF
24633 /* confdefs.h. */
24634 _ACEOF
24635 cat confdefs.h >>conftest.$ac_ext
24636 cat >>conftest.$ac_ext <<_ACEOF
24637 /* end confdefs.h. */
24638 #include <math.h>
24640 main ()
24642 _frexpf(0, 0);
24644 return 0;
24646 _ACEOF
24647 rm -f conftest.$ac_objext
24648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24649 (eval $ac_compile) 2>conftest.er1
24650 ac_status=$?
24651 grep -v '^ *+' conftest.er1 >conftest.err
24652 rm -f conftest.er1
24653 cat conftest.err >&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); } &&
24656 { ac_try='test -z "$ac_cxx_werror_flag"
24657 || test ! -s conftest.err'
24658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659 (eval $ac_try) 2>&5
24660 ac_status=$?
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; } &&
24663 { ac_try='test -s conftest.$ac_objext'
24664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24665 (eval $ac_try) 2>&5
24666 ac_status=$?
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); }; }; then
24669 glibcxx_cv_func__frexpf_use=yes
24670 else
24671 echo "$as_me: failed program was:" >&5
24672 sed 's/^/| /' conftest.$ac_ext >&5
24674 glibcxx_cv_func__frexpf_use=no
24676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24677 ac_ext=c
24678 ac_cpp='$CPP $CPPFLAGS'
24679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24687 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24688 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24690 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24692 for ac_func in _frexpf
24694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24695 echo "$as_me:$LINENO: checking for $ac_func" >&5
24696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24697 if eval "test \"\${$as_ac_var+set}\" = set"; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 else
24700 if test x$gcc_no_link = xyes; then
24701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24703 { (exit 1); exit 1; }; }
24705 cat >conftest.$ac_ext <<_ACEOF
24706 /* confdefs.h. */
24707 _ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24713 #define $ac_func innocuous_$ac_func
24715 /* System header to define __stub macros and hopefully few prototypes,
24716 which can conflict with char $ac_func (); below.
24717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24718 <limits.h> exists even on freestanding compilers. */
24720 #ifdef __STDC__
24721 # include <limits.h>
24722 #else
24723 # include <assert.h>
24724 #endif
24726 #undef $ac_func
24728 /* Override any gcc2 internal prototype to avoid an error. */
24729 #ifdef __cplusplus
24730 extern "C"
24732 #endif
24733 /* We use char because int might match the return type of a gcc2
24734 builtin and then its argument prototype would still apply. */
24735 char $ac_func ();
24736 /* The GNU C library defines this for functions which it implements
24737 to always fail with ENOSYS. Some functions are actually named
24738 something starting with __ and the normal name is an alias. */
24739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24740 choke me
24741 #else
24742 char (*f) () = $ac_func;
24743 #endif
24744 #ifdef __cplusplus
24746 #endif
24749 main ()
24751 return f != $ac_func;
24753 return 0;
24755 _ACEOF
24756 rm -f conftest.$ac_objext conftest$ac_exeext
24757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24758 (eval $ac_link) 2>conftest.er1
24759 ac_status=$?
24760 grep -v '^ *+' conftest.er1 >conftest.err
24761 rm -f conftest.er1
24762 cat conftest.err >&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); } &&
24765 { ac_try='test -z "$ac_c_werror_flag"
24766 || test ! -s conftest.err'
24767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24768 (eval $ac_try) 2>&5
24769 ac_status=$?
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); }; } &&
24772 { ac_try='test -s conftest$ac_exeext'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; }; then
24778 eval "$as_ac_var=yes"
24779 else
24780 echo "$as_me: failed program was:" >&5
24781 sed 's/^/| /' conftest.$ac_ext >&5
24783 eval "$as_ac_var=no"
24785 rm -f conftest.err conftest.$ac_objext \
24786 conftest$ac_exeext conftest.$ac_ext
24788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24790 if test `eval echo '${'$as_ac_var'}'` = yes; then
24791 cat >>confdefs.h <<_ACEOF
24792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24793 _ACEOF
24796 done
24806 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24807 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24808 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24809 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24810 echo $ECHO_N "(cached) $ECHO_C" >&6
24811 else
24815 ac_ext=cc
24816 ac_cpp='$CXXCPP $CPPFLAGS'
24817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24821 cat >conftest.$ac_ext <<_ACEOF
24822 /* confdefs.h. */
24823 _ACEOF
24824 cat confdefs.h >>conftest.$ac_ext
24825 cat >>conftest.$ac_ext <<_ACEOF
24826 /* end confdefs.h. */
24827 #include <math.h>
24829 main ()
24831 hypotf(0, 0);
24833 return 0;
24835 _ACEOF
24836 rm -f conftest.$ac_objext
24837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24838 (eval $ac_compile) 2>conftest.er1
24839 ac_status=$?
24840 grep -v '^ *+' conftest.er1 >conftest.err
24841 rm -f conftest.er1
24842 cat conftest.err >&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } &&
24845 { ac_try='test -z "$ac_cxx_werror_flag"
24846 || test ! -s conftest.err'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24849 ac_status=$?
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; } &&
24852 { ac_try='test -s conftest.$ac_objext'
24853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24854 (eval $ac_try) 2>&5
24855 ac_status=$?
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); }; }; then
24858 glibcxx_cv_func_hypotf_use=yes
24859 else
24860 echo "$as_me: failed program was:" >&5
24861 sed 's/^/| /' conftest.$ac_ext >&5
24863 glibcxx_cv_func_hypotf_use=no
24865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24866 ac_ext=c
24867 ac_cpp='$CPP $CPPFLAGS'
24868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24877 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24879 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24881 for ac_func in hypotf
24883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24884 echo "$as_me:$LINENO: checking for $ac_func" >&5
24885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24886 if eval "test \"\${$as_ac_var+set}\" = set"; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 else
24889 if test x$gcc_no_link = xyes; then
24890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24892 { (exit 1); exit 1; }; }
24894 cat >conftest.$ac_ext <<_ACEOF
24895 /* confdefs.h. */
24896 _ACEOF
24897 cat confdefs.h >>conftest.$ac_ext
24898 cat >>conftest.$ac_ext <<_ACEOF
24899 /* end confdefs.h. */
24900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24902 #define $ac_func innocuous_$ac_func
24904 /* System header to define __stub macros and hopefully few prototypes,
24905 which can conflict with char $ac_func (); below.
24906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24907 <limits.h> exists even on freestanding compilers. */
24909 #ifdef __STDC__
24910 # include <limits.h>
24911 #else
24912 # include <assert.h>
24913 #endif
24915 #undef $ac_func
24917 /* Override any gcc2 internal prototype to avoid an error. */
24918 #ifdef __cplusplus
24919 extern "C"
24921 #endif
24922 /* We use char because int might match the return type of a gcc2
24923 builtin and then its argument prototype would still apply. */
24924 char $ac_func ();
24925 /* The GNU C library defines this for functions which it implements
24926 to always fail with ENOSYS. Some functions are actually named
24927 something starting with __ and the normal name is an alias. */
24928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24929 choke me
24930 #else
24931 char (*f) () = $ac_func;
24932 #endif
24933 #ifdef __cplusplus
24935 #endif
24938 main ()
24940 return f != $ac_func;
24942 return 0;
24944 _ACEOF
24945 rm -f conftest.$ac_objext conftest$ac_exeext
24946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24947 (eval $ac_link) 2>conftest.er1
24948 ac_status=$?
24949 grep -v '^ *+' conftest.er1 >conftest.err
24950 rm -f conftest.er1
24951 cat conftest.err >&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } &&
24954 { ac_try='test -z "$ac_c_werror_flag"
24955 || test ! -s conftest.err'
24956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24957 (eval $ac_try) 2>&5
24958 ac_status=$?
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); }; } &&
24961 { ac_try='test -s conftest$ac_exeext'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24964 ac_status=$?
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; }; then
24967 eval "$as_ac_var=yes"
24968 else
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.$ac_ext >&5
24972 eval "$as_ac_var=no"
24974 rm -f conftest.err conftest.$ac_objext \
24975 conftest$ac_exeext conftest.$ac_ext
24977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24979 if test `eval echo '${'$as_ac_var'}'` = yes; then
24980 cat >>confdefs.h <<_ACEOF
24981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24982 _ACEOF
24985 done
24987 else
24989 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
24990 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
24991 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24992 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
24993 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 else
24998 ac_ext=cc
24999 ac_cpp='$CXXCPP $CPPFLAGS'
25000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25004 cat >conftest.$ac_ext <<_ACEOF
25005 /* confdefs.h. */
25006 _ACEOF
25007 cat confdefs.h >>conftest.$ac_ext
25008 cat >>conftest.$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25010 #include <math.h>
25012 main ()
25014 _hypotf(0, 0);
25016 return 0;
25018 _ACEOF
25019 rm -f conftest.$ac_objext
25020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25021 (eval $ac_compile) 2>conftest.er1
25022 ac_status=$?
25023 grep -v '^ *+' conftest.er1 >conftest.err
25024 rm -f conftest.er1
25025 cat conftest.err >&5
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); } &&
25028 { ac_try='test -z "$ac_cxx_werror_flag"
25029 || test ! -s conftest.err'
25030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25031 (eval $ac_try) 2>&5
25032 ac_status=$?
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; } &&
25035 { ac_try='test -s conftest.$ac_objext'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25038 ac_status=$?
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; }; then
25041 glibcxx_cv_func__hypotf_use=yes
25042 else
25043 echo "$as_me: failed program was:" >&5
25044 sed 's/^/| /' conftest.$ac_ext >&5
25046 glibcxx_cv_func__hypotf_use=no
25048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25049 ac_ext=c
25050 ac_cpp='$CPP $CPPFLAGS'
25051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25059 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25060 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25062 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25064 for ac_func in _hypotf
25066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25067 echo "$as_me:$LINENO: checking for $ac_func" >&5
25068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25069 if eval "test \"\${$as_ac_var+set}\" = set"; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25072 if test x$gcc_no_link = xyes; then
25073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25075 { (exit 1); exit 1; }; }
25077 cat >conftest.$ac_ext <<_ACEOF
25078 /* confdefs.h. */
25079 _ACEOF
25080 cat confdefs.h >>conftest.$ac_ext
25081 cat >>conftest.$ac_ext <<_ACEOF
25082 /* end confdefs.h. */
25083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25085 #define $ac_func innocuous_$ac_func
25087 /* System header to define __stub macros and hopefully few prototypes,
25088 which can conflict with char $ac_func (); below.
25089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25090 <limits.h> exists even on freestanding compilers. */
25092 #ifdef __STDC__
25093 # include <limits.h>
25094 #else
25095 # include <assert.h>
25096 #endif
25098 #undef $ac_func
25100 /* Override any gcc2 internal prototype to avoid an error. */
25101 #ifdef __cplusplus
25102 extern "C"
25104 #endif
25105 /* We use char because int might match the return type of a gcc2
25106 builtin and then its argument prototype would still apply. */
25107 char $ac_func ();
25108 /* The GNU C library defines this for functions which it implements
25109 to always fail with ENOSYS. Some functions are actually named
25110 something starting with __ and the normal name is an alias. */
25111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25112 choke me
25113 #else
25114 char (*f) () = $ac_func;
25115 #endif
25116 #ifdef __cplusplus
25118 #endif
25121 main ()
25123 return f != $ac_func;
25125 return 0;
25127 _ACEOF
25128 rm -f conftest.$ac_objext conftest$ac_exeext
25129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25130 (eval $ac_link) 2>conftest.er1
25131 ac_status=$?
25132 grep -v '^ *+' conftest.er1 >conftest.err
25133 rm -f conftest.er1
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } &&
25137 { ac_try='test -z "$ac_c_werror_flag"
25138 || test ! -s conftest.err'
25139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25140 (eval $ac_try) 2>&5
25141 ac_status=$?
25142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25143 (exit $ac_status); }; } &&
25144 { ac_try='test -s conftest$ac_exeext'
25145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25146 (eval $ac_try) 2>&5
25147 ac_status=$?
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); }; }; then
25150 eval "$as_ac_var=yes"
25151 else
25152 echo "$as_me: failed program was:" >&5
25153 sed 's/^/| /' conftest.$ac_ext >&5
25155 eval "$as_ac_var=no"
25157 rm -f conftest.err conftest.$ac_objext \
25158 conftest$ac_exeext conftest.$ac_ext
25160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25162 if test `eval echo '${'$as_ac_var'}'` = yes; then
25163 cat >>confdefs.h <<_ACEOF
25164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25165 _ACEOF
25168 done
25178 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25179 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25180 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25181 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25182 echo $ECHO_N "(cached) $ECHO_C" >&6
25183 else
25187 ac_ext=cc
25188 ac_cpp='$CXXCPP $CPPFLAGS'
25189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25193 cat >conftest.$ac_ext <<_ACEOF
25194 /* confdefs.h. */
25195 _ACEOF
25196 cat confdefs.h >>conftest.$ac_ext
25197 cat >>conftest.$ac_ext <<_ACEOF
25198 /* end confdefs.h. */
25199 #include <math.h>
25201 main ()
25203 ldexpf(0, 0);
25205 return 0;
25207 _ACEOF
25208 rm -f conftest.$ac_objext
25209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25210 (eval $ac_compile) 2>conftest.er1
25211 ac_status=$?
25212 grep -v '^ *+' conftest.er1 >conftest.err
25213 rm -f conftest.er1
25214 cat conftest.err >&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); } &&
25217 { ac_try='test -z "$ac_cxx_werror_flag"
25218 || test ! -s conftest.err'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25221 ac_status=$?
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; } &&
25224 { ac_try='test -s conftest.$ac_objext'
25225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25226 (eval $ac_try) 2>&5
25227 ac_status=$?
25228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 (exit $ac_status); }; }; then
25230 glibcxx_cv_func_ldexpf_use=yes
25231 else
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.$ac_ext >&5
25235 glibcxx_cv_func_ldexpf_use=no
25237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25238 ac_ext=c
25239 ac_cpp='$CPP $CPPFLAGS'
25240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25249 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25251 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25253 for ac_func in ldexpf
25255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25256 echo "$as_me:$LINENO: checking for $ac_func" >&5
25257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25258 if eval "test \"\${$as_ac_var+set}\" = set"; then
25259 echo $ECHO_N "(cached) $ECHO_C" >&6
25260 else
25261 if test x$gcc_no_link = xyes; then
25262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25264 { (exit 1); exit 1; }; }
25266 cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25274 #define $ac_func innocuous_$ac_func
25276 /* System header to define __stub macros and hopefully few prototypes,
25277 which can conflict with char $ac_func (); below.
25278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25279 <limits.h> exists even on freestanding compilers. */
25281 #ifdef __STDC__
25282 # include <limits.h>
25283 #else
25284 # include <assert.h>
25285 #endif
25287 #undef $ac_func
25289 /* Override any gcc2 internal prototype to avoid an error. */
25290 #ifdef __cplusplus
25291 extern "C"
25293 #endif
25294 /* We use char because int might match the return type of a gcc2
25295 builtin and then its argument prototype would still apply. */
25296 char $ac_func ();
25297 /* The GNU C library defines this for functions which it implements
25298 to always fail with ENOSYS. Some functions are actually named
25299 something starting with __ and the normal name is an alias. */
25300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25301 choke me
25302 #else
25303 char (*f) () = $ac_func;
25304 #endif
25305 #ifdef __cplusplus
25307 #endif
25310 main ()
25312 return f != $ac_func;
25314 return 0;
25316 _ACEOF
25317 rm -f conftest.$ac_objext conftest$ac_exeext
25318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25319 (eval $ac_link) 2>conftest.er1
25320 ac_status=$?
25321 grep -v '^ *+' conftest.er1 >conftest.err
25322 rm -f conftest.er1
25323 cat conftest.err >&5
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); } &&
25326 { ac_try='test -z "$ac_c_werror_flag"
25327 || test ! -s conftest.err'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25330 ac_status=$?
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; } &&
25333 { ac_try='test -s conftest$ac_exeext'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25336 ac_status=$?
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; }; then
25339 eval "$as_ac_var=yes"
25340 else
25341 echo "$as_me: failed program was:" >&5
25342 sed 's/^/| /' conftest.$ac_ext >&5
25344 eval "$as_ac_var=no"
25346 rm -f conftest.err conftest.$ac_objext \
25347 conftest$ac_exeext conftest.$ac_ext
25349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25351 if test `eval echo '${'$as_ac_var'}'` = yes; then
25352 cat >>confdefs.h <<_ACEOF
25353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25354 _ACEOF
25357 done
25359 else
25361 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25362 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25363 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25364 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25366 else
25370 ac_ext=cc
25371 ac_cpp='$CXXCPP $CPPFLAGS'
25372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25376 cat >conftest.$ac_ext <<_ACEOF
25377 /* confdefs.h. */
25378 _ACEOF
25379 cat confdefs.h >>conftest.$ac_ext
25380 cat >>conftest.$ac_ext <<_ACEOF
25381 /* end confdefs.h. */
25382 #include <math.h>
25384 main ()
25386 _ldexpf(0, 0);
25388 return 0;
25390 _ACEOF
25391 rm -f conftest.$ac_objext
25392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25393 (eval $ac_compile) 2>conftest.er1
25394 ac_status=$?
25395 grep -v '^ *+' conftest.er1 >conftest.err
25396 rm -f conftest.er1
25397 cat conftest.err >&5
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); } &&
25400 { ac_try='test -z "$ac_cxx_werror_flag"
25401 || test ! -s conftest.err'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25404 ac_status=$?
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; } &&
25407 { ac_try='test -s conftest.$ac_objext'
25408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409 (eval $ac_try) 2>&5
25410 ac_status=$?
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); }; }; then
25413 glibcxx_cv_func__ldexpf_use=yes
25414 else
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.$ac_ext >&5
25418 glibcxx_cv_func__ldexpf_use=no
25420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25421 ac_ext=c
25422 ac_cpp='$CPP $CPPFLAGS'
25423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25432 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25434 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25436 for ac_func in _ldexpf
25438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25439 echo "$as_me:$LINENO: checking for $ac_func" >&5
25440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25441 if eval "test \"\${$as_ac_var+set}\" = set"; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 else
25444 if test x$gcc_no_link = xyes; then
25445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25447 { (exit 1); exit 1; }; }
25449 cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h. */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25457 #define $ac_func innocuous_$ac_func
25459 /* System header to define __stub macros and hopefully few prototypes,
25460 which can conflict with char $ac_func (); below.
25461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25462 <limits.h> exists even on freestanding compilers. */
25464 #ifdef __STDC__
25465 # include <limits.h>
25466 #else
25467 # include <assert.h>
25468 #endif
25470 #undef $ac_func
25472 /* Override any gcc2 internal prototype to avoid an error. */
25473 #ifdef __cplusplus
25474 extern "C"
25476 #endif
25477 /* We use char because int might match the return type of a gcc2
25478 builtin and then its argument prototype would still apply. */
25479 char $ac_func ();
25480 /* The GNU C library defines this for functions which it implements
25481 to always fail with ENOSYS. Some functions are actually named
25482 something starting with __ and the normal name is an alias. */
25483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25484 choke me
25485 #else
25486 char (*f) () = $ac_func;
25487 #endif
25488 #ifdef __cplusplus
25490 #endif
25493 main ()
25495 return f != $ac_func;
25497 return 0;
25499 _ACEOF
25500 rm -f conftest.$ac_objext conftest$ac_exeext
25501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25502 (eval $ac_link) 2>conftest.er1
25503 ac_status=$?
25504 grep -v '^ *+' conftest.er1 >conftest.err
25505 rm -f conftest.er1
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } &&
25509 { ac_try='test -z "$ac_c_werror_flag"
25510 || test ! -s conftest.err'
25511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512 (eval $ac_try) 2>&5
25513 ac_status=$?
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); }; } &&
25516 { ac_try='test -s conftest$ac_exeext'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25519 ac_status=$?
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; }; then
25522 eval "$as_ac_var=yes"
25523 else
25524 echo "$as_me: failed program was:" >&5
25525 sed 's/^/| /' conftest.$ac_ext >&5
25527 eval "$as_ac_var=no"
25529 rm -f conftest.err conftest.$ac_objext \
25530 conftest$ac_exeext conftest.$ac_ext
25532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25534 if test `eval echo '${'$as_ac_var'}'` = yes; then
25535 cat >>confdefs.h <<_ACEOF
25536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25537 _ACEOF
25540 done
25550 echo "$as_me:$LINENO: checking for logf declaration" >&5
25551 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25552 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25553 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25555 else
25559 ac_ext=cc
25560 ac_cpp='$CXXCPP $CPPFLAGS'
25561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25565 cat >conftest.$ac_ext <<_ACEOF
25566 /* confdefs.h. */
25567 _ACEOF
25568 cat confdefs.h >>conftest.$ac_ext
25569 cat >>conftest.$ac_ext <<_ACEOF
25570 /* end confdefs.h. */
25571 #include <math.h>
25572 #ifdef HAVE_IEEEFP_H
25573 #include <ieeefp.h>
25574 #endif
25577 main ()
25579 logf(0);
25581 return 0;
25583 _ACEOF
25584 rm -f conftest.$ac_objext
25585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25586 (eval $ac_compile) 2>conftest.er1
25587 ac_status=$?
25588 grep -v '^ *+' conftest.er1 >conftest.err
25589 rm -f conftest.er1
25590 cat conftest.err >&5
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); } &&
25593 { ac_try='test -z "$ac_cxx_werror_flag"
25594 || test ! -s conftest.err'
25595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596 (eval $ac_try) 2>&5
25597 ac_status=$?
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); }; } &&
25600 { ac_try='test -s conftest.$ac_objext'
25601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25602 (eval $ac_try) 2>&5
25603 ac_status=$?
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; }; then
25606 glibcxx_cv_func_logf_use=yes
25607 else
25608 echo "$as_me: failed program was:" >&5
25609 sed 's/^/| /' conftest.$ac_ext >&5
25611 glibcxx_cv_func_logf_use=no
25613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25614 ac_ext=c
25615 ac_cpp='$CPP $CPPFLAGS'
25616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25625 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25627 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25629 for ac_func in logf
25631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25632 echo "$as_me:$LINENO: checking for $ac_func" >&5
25633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25634 if eval "test \"\${$as_ac_var+set}\" = set"; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 else
25637 if test x$gcc_no_link = xyes; then
25638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25640 { (exit 1); exit 1; }; }
25642 cat >conftest.$ac_ext <<_ACEOF
25643 /* confdefs.h. */
25644 _ACEOF
25645 cat confdefs.h >>conftest.$ac_ext
25646 cat >>conftest.$ac_ext <<_ACEOF
25647 /* end confdefs.h. */
25648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25650 #define $ac_func innocuous_$ac_func
25652 /* System header to define __stub macros and hopefully few prototypes,
25653 which can conflict with char $ac_func (); below.
25654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25655 <limits.h> exists even on freestanding compilers. */
25657 #ifdef __STDC__
25658 # include <limits.h>
25659 #else
25660 # include <assert.h>
25661 #endif
25663 #undef $ac_func
25665 /* Override any gcc2 internal prototype to avoid an error. */
25666 #ifdef __cplusplus
25667 extern "C"
25669 #endif
25670 /* We use char because int might match the return type of a gcc2
25671 builtin and then its argument prototype would still apply. */
25672 char $ac_func ();
25673 /* The GNU C library defines this for functions which it implements
25674 to always fail with ENOSYS. Some functions are actually named
25675 something starting with __ and the normal name is an alias. */
25676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25677 choke me
25678 #else
25679 char (*f) () = $ac_func;
25680 #endif
25681 #ifdef __cplusplus
25683 #endif
25686 main ()
25688 return f != $ac_func;
25690 return 0;
25692 _ACEOF
25693 rm -f conftest.$ac_objext conftest$ac_exeext
25694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25695 (eval $ac_link) 2>conftest.er1
25696 ac_status=$?
25697 grep -v '^ *+' conftest.er1 >conftest.err
25698 rm -f conftest.er1
25699 cat conftest.err >&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } &&
25702 { ac_try='test -z "$ac_c_werror_flag"
25703 || test ! -s conftest.err'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25706 ac_status=$?
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; } &&
25709 { ac_try='test -s conftest$ac_exeext'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25712 ac_status=$?
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25715 eval "$as_ac_var=yes"
25716 else
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.$ac_ext >&5
25720 eval "$as_ac_var=no"
25722 rm -f conftest.err conftest.$ac_objext \
25723 conftest$ac_exeext conftest.$ac_ext
25725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25727 if test `eval echo '${'$as_ac_var'}'` = yes; then
25728 cat >>confdefs.h <<_ACEOF
25729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25730 _ACEOF
25733 done
25735 else
25737 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25738 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25739 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25740 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 else
25746 ac_ext=cc
25747 ac_cpp='$CXXCPP $CPPFLAGS'
25748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <math.h>
25759 #ifdef HAVE_IEEEFP_H
25760 #include <ieeefp.h>
25761 #endif
25764 main ()
25766 _logf(0);
25768 return 0;
25770 _ACEOF
25771 rm -f conftest.$ac_objext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25773 (eval $ac_compile) 2>conftest.er1
25774 ac_status=$?
25775 grep -v '^ *+' conftest.er1 >conftest.err
25776 rm -f conftest.er1
25777 cat conftest.err >&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } &&
25780 { ac_try='test -z "$ac_cxx_werror_flag"
25781 || test ! -s conftest.err'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25784 ac_status=$?
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; } &&
25787 { ac_try='test -s conftest.$ac_objext'
25788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789 (eval $ac_try) 2>&5
25790 ac_status=$?
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); }; }; then
25793 glibcxx_cv_func__logf_use=yes
25794 else
25795 echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.$ac_ext >&5
25798 glibcxx_cv_func__logf_use=no
25800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25801 ac_ext=c
25802 ac_cpp='$CPP $CPPFLAGS'
25803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25812 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25814 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25816 for ac_func in _logf
25818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25819 echo "$as_me:$LINENO: checking for $ac_func" >&5
25820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25821 if eval "test \"\${$as_ac_var+set}\" = set"; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824 if test x$gcc_no_link = xyes; then
25825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25827 { (exit 1); exit 1; }; }
25829 cat >conftest.$ac_ext <<_ACEOF
25830 /* confdefs.h. */
25831 _ACEOF
25832 cat confdefs.h >>conftest.$ac_ext
25833 cat >>conftest.$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25837 #define $ac_func innocuous_$ac_func
25839 /* System header to define __stub macros and hopefully few prototypes,
25840 which can conflict with char $ac_func (); below.
25841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25842 <limits.h> exists even on freestanding compilers. */
25844 #ifdef __STDC__
25845 # include <limits.h>
25846 #else
25847 # include <assert.h>
25848 #endif
25850 #undef $ac_func
25852 /* Override any gcc2 internal prototype to avoid an error. */
25853 #ifdef __cplusplus
25854 extern "C"
25856 #endif
25857 /* We use char because int might match the return type of a gcc2
25858 builtin and then its argument prototype would still apply. */
25859 char $ac_func ();
25860 /* The GNU C library defines this for functions which it implements
25861 to always fail with ENOSYS. Some functions are actually named
25862 something starting with __ and the normal name is an alias. */
25863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25864 choke me
25865 #else
25866 char (*f) () = $ac_func;
25867 #endif
25868 #ifdef __cplusplus
25870 #endif
25873 main ()
25875 return f != $ac_func;
25877 return 0;
25879 _ACEOF
25880 rm -f conftest.$ac_objext conftest$ac_exeext
25881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25882 (eval $ac_link) 2>conftest.er1
25883 ac_status=$?
25884 grep -v '^ *+' conftest.er1 >conftest.err
25885 rm -f conftest.er1
25886 cat conftest.err >&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } &&
25889 { ac_try='test -z "$ac_c_werror_flag"
25890 || test ! -s conftest.err'
25891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25892 (eval $ac_try) 2>&5
25893 ac_status=$?
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); }; } &&
25896 { ac_try='test -s conftest$ac_exeext'
25897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25898 (eval $ac_try) 2>&5
25899 ac_status=$?
25900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25901 (exit $ac_status); }; }; then
25902 eval "$as_ac_var=yes"
25903 else
25904 echo "$as_me: failed program was:" >&5
25905 sed 's/^/| /' conftest.$ac_ext >&5
25907 eval "$as_ac_var=no"
25909 rm -f conftest.err conftest.$ac_objext \
25910 conftest$ac_exeext conftest.$ac_ext
25912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25914 if test `eval echo '${'$as_ac_var'}'` = yes; then
25915 cat >>confdefs.h <<_ACEOF
25916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25917 _ACEOF
25920 done
25930 echo "$as_me:$LINENO: checking for log10f declaration" >&5
25931 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
25932 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25933 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
25934 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 else
25939 ac_ext=cc
25940 ac_cpp='$CXXCPP $CPPFLAGS'
25941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25945 cat >conftest.$ac_ext <<_ACEOF
25946 /* confdefs.h. */
25947 _ACEOF
25948 cat confdefs.h >>conftest.$ac_ext
25949 cat >>conftest.$ac_ext <<_ACEOF
25950 /* end confdefs.h. */
25951 #include <math.h>
25952 #ifdef HAVE_IEEEFP_H
25953 #include <ieeefp.h>
25954 #endif
25957 main ()
25959 log10f(0);
25961 return 0;
25963 _ACEOF
25964 rm -f conftest.$ac_objext
25965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25966 (eval $ac_compile) 2>conftest.er1
25967 ac_status=$?
25968 grep -v '^ *+' conftest.er1 >conftest.err
25969 rm -f conftest.er1
25970 cat conftest.err >&5
25971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972 (exit $ac_status); } &&
25973 { ac_try='test -z "$ac_cxx_werror_flag"
25974 || test ! -s conftest.err'
25975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25976 (eval $ac_try) 2>&5
25977 ac_status=$?
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); }; } &&
25980 { ac_try='test -s conftest.$ac_objext'
25981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25982 (eval $ac_try) 2>&5
25983 ac_status=$?
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); }; }; then
25986 glibcxx_cv_func_log10f_use=yes
25987 else
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.$ac_ext >&5
25991 glibcxx_cv_func_log10f_use=no
25993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25994 ac_ext=c
25995 ac_cpp='$CPP $CPPFLAGS'
25996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26005 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26007 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26009 for ac_func in log10f
26011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26012 echo "$as_me:$LINENO: checking for $ac_func" >&5
26013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26014 if eval "test \"\${$as_ac_var+set}\" = set"; then
26015 echo $ECHO_N "(cached) $ECHO_C" >&6
26016 else
26017 if test x$gcc_no_link = xyes; then
26018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26020 { (exit 1); exit 1; }; }
26022 cat >conftest.$ac_ext <<_ACEOF
26023 /* confdefs.h. */
26024 _ACEOF
26025 cat confdefs.h >>conftest.$ac_ext
26026 cat >>conftest.$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26030 #define $ac_func innocuous_$ac_func
26032 /* System header to define __stub macros and hopefully few prototypes,
26033 which can conflict with char $ac_func (); below.
26034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26035 <limits.h> exists even on freestanding compilers. */
26037 #ifdef __STDC__
26038 # include <limits.h>
26039 #else
26040 # include <assert.h>
26041 #endif
26043 #undef $ac_func
26045 /* Override any gcc2 internal prototype to avoid an error. */
26046 #ifdef __cplusplus
26047 extern "C"
26049 #endif
26050 /* We use char because int might match the return type of a gcc2
26051 builtin and then its argument prototype would still apply. */
26052 char $ac_func ();
26053 /* The GNU C library defines this for functions which it implements
26054 to always fail with ENOSYS. Some functions are actually named
26055 something starting with __ and the normal name is an alias. */
26056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26057 choke me
26058 #else
26059 char (*f) () = $ac_func;
26060 #endif
26061 #ifdef __cplusplus
26063 #endif
26066 main ()
26068 return f != $ac_func;
26070 return 0;
26072 _ACEOF
26073 rm -f conftest.$ac_objext conftest$ac_exeext
26074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26075 (eval $ac_link) 2>conftest.er1
26076 ac_status=$?
26077 grep -v '^ *+' conftest.er1 >conftest.err
26078 rm -f conftest.er1
26079 cat conftest.err >&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); } &&
26082 { ac_try='test -z "$ac_c_werror_flag"
26083 || test ! -s conftest.err'
26084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26085 (eval $ac_try) 2>&5
26086 ac_status=$?
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); }; } &&
26089 { ac_try='test -s conftest$ac_exeext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26092 ac_status=$?
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26095 eval "$as_ac_var=yes"
26096 else
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26100 eval "$as_ac_var=no"
26102 rm -f conftest.err conftest.$ac_objext \
26103 conftest$ac_exeext conftest.$ac_ext
26105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26107 if test `eval echo '${'$as_ac_var'}'` = yes; then
26108 cat >>confdefs.h <<_ACEOF
26109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26110 _ACEOF
26113 done
26115 else
26117 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26118 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26119 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26120 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26121 echo $ECHO_N "(cached) $ECHO_C" >&6
26122 else
26126 ac_ext=cc
26127 ac_cpp='$CXXCPP $CPPFLAGS'
26128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138 #include <math.h>
26139 #ifdef HAVE_IEEEFP_H
26140 #include <ieeefp.h>
26141 #endif
26144 main ()
26146 _log10f(0);
26148 return 0;
26150 _ACEOF
26151 rm -f conftest.$ac_objext
26152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26153 (eval $ac_compile) 2>conftest.er1
26154 ac_status=$?
26155 grep -v '^ *+' conftest.er1 >conftest.err
26156 rm -f conftest.er1
26157 cat conftest.err >&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } &&
26160 { ac_try='test -z "$ac_cxx_werror_flag"
26161 || test ! -s conftest.err'
26162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26163 (eval $ac_try) 2>&5
26164 ac_status=$?
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); }; } &&
26167 { ac_try='test -s conftest.$ac_objext'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26170 ac_status=$?
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; }; then
26173 glibcxx_cv_func__log10f_use=yes
26174 else
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.$ac_ext >&5
26178 glibcxx_cv_func__log10f_use=no
26180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26181 ac_ext=c
26182 ac_cpp='$CPP $CPPFLAGS'
26183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26192 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26194 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26196 for ac_func in _log10f
26198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26199 echo "$as_me:$LINENO: checking for $ac_func" >&5
26200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26201 if eval "test \"\${$as_ac_var+set}\" = set"; then
26202 echo $ECHO_N "(cached) $ECHO_C" >&6
26203 else
26204 if test x$gcc_no_link = xyes; then
26205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26207 { (exit 1); exit 1; }; }
26209 cat >conftest.$ac_ext <<_ACEOF
26210 /* confdefs.h. */
26211 _ACEOF
26212 cat confdefs.h >>conftest.$ac_ext
26213 cat >>conftest.$ac_ext <<_ACEOF
26214 /* end confdefs.h. */
26215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26217 #define $ac_func innocuous_$ac_func
26219 /* System header to define __stub macros and hopefully few prototypes,
26220 which can conflict with char $ac_func (); below.
26221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26222 <limits.h> exists even on freestanding compilers. */
26224 #ifdef __STDC__
26225 # include <limits.h>
26226 #else
26227 # include <assert.h>
26228 #endif
26230 #undef $ac_func
26232 /* Override any gcc2 internal prototype to avoid an error. */
26233 #ifdef __cplusplus
26234 extern "C"
26236 #endif
26237 /* We use char because int might match the return type of a gcc2
26238 builtin and then its argument prototype would still apply. */
26239 char $ac_func ();
26240 /* The GNU C library defines this for functions which it implements
26241 to always fail with ENOSYS. Some functions are actually named
26242 something starting with __ and the normal name is an alias. */
26243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26244 choke me
26245 #else
26246 char (*f) () = $ac_func;
26247 #endif
26248 #ifdef __cplusplus
26250 #endif
26253 main ()
26255 return f != $ac_func;
26257 return 0;
26259 _ACEOF
26260 rm -f conftest.$ac_objext conftest$ac_exeext
26261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26262 (eval $ac_link) 2>conftest.er1
26263 ac_status=$?
26264 grep -v '^ *+' conftest.er1 >conftest.err
26265 rm -f conftest.er1
26266 cat conftest.err >&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } &&
26269 { ac_try='test -z "$ac_c_werror_flag"
26270 || test ! -s conftest.err'
26271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272 (eval $ac_try) 2>&5
26273 ac_status=$?
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); }; } &&
26276 { ac_try='test -s conftest$ac_exeext'
26277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26278 (eval $ac_try) 2>&5
26279 ac_status=$?
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); }; }; then
26282 eval "$as_ac_var=yes"
26283 else
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26287 eval "$as_ac_var=no"
26289 rm -f conftest.err conftest.$ac_objext \
26290 conftest$ac_exeext conftest.$ac_ext
26292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26294 if test `eval echo '${'$as_ac_var'}'` = yes; then
26295 cat >>confdefs.h <<_ACEOF
26296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26297 _ACEOF
26300 done
26310 echo "$as_me:$LINENO: checking for modff declaration" >&5
26311 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26312 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26313 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26314 echo $ECHO_N "(cached) $ECHO_C" >&6
26315 else
26319 ac_ext=cc
26320 ac_cpp='$CXXCPP $CPPFLAGS'
26321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26325 cat >conftest.$ac_ext <<_ACEOF
26326 /* confdefs.h. */
26327 _ACEOF
26328 cat confdefs.h >>conftest.$ac_ext
26329 cat >>conftest.$ac_ext <<_ACEOF
26330 /* end confdefs.h. */
26331 #include <math.h>
26333 main ()
26335 modff(0, 0);
26337 return 0;
26339 _ACEOF
26340 rm -f conftest.$ac_objext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26342 (eval $ac_compile) 2>conftest.er1
26343 ac_status=$?
26344 grep -v '^ *+' conftest.er1 >conftest.err
26345 rm -f conftest.er1
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } &&
26349 { ac_try='test -z "$ac_cxx_werror_flag"
26350 || test ! -s conftest.err'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; } &&
26356 { ac_try='test -s conftest.$ac_objext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 glibcxx_cv_func_modff_use=yes
26363 else
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26367 glibcxx_cv_func_modff_use=no
26369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26370 ac_ext=c
26371 ac_cpp='$CPP $CPPFLAGS'
26372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26381 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26383 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26385 for ac_func in modff
26387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26388 echo "$as_me:$LINENO: checking for $ac_func" >&5
26389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26390 if eval "test \"\${$as_ac_var+set}\" = set"; then
26391 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 else
26393 if test x$gcc_no_link = xyes; then
26394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26396 { (exit 1); exit 1; }; }
26398 cat >conftest.$ac_ext <<_ACEOF
26399 /* confdefs.h. */
26400 _ACEOF
26401 cat confdefs.h >>conftest.$ac_ext
26402 cat >>conftest.$ac_ext <<_ACEOF
26403 /* end confdefs.h. */
26404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26406 #define $ac_func innocuous_$ac_func
26408 /* System header to define __stub macros and hopefully few prototypes,
26409 which can conflict with char $ac_func (); below.
26410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26411 <limits.h> exists even on freestanding compilers. */
26413 #ifdef __STDC__
26414 # include <limits.h>
26415 #else
26416 # include <assert.h>
26417 #endif
26419 #undef $ac_func
26421 /* Override any gcc2 internal prototype to avoid an error. */
26422 #ifdef __cplusplus
26423 extern "C"
26425 #endif
26426 /* We use char because int might match the return type of a gcc2
26427 builtin and then its argument prototype would still apply. */
26428 char $ac_func ();
26429 /* The GNU C library defines this for functions which it implements
26430 to always fail with ENOSYS. Some functions are actually named
26431 something starting with __ and the normal name is an alias. */
26432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26433 choke me
26434 #else
26435 char (*f) () = $ac_func;
26436 #endif
26437 #ifdef __cplusplus
26439 #endif
26442 main ()
26444 return f != $ac_func;
26446 return 0;
26448 _ACEOF
26449 rm -f conftest.$ac_objext conftest$ac_exeext
26450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26451 (eval $ac_link) 2>conftest.er1
26452 ac_status=$?
26453 grep -v '^ *+' conftest.er1 >conftest.err
26454 rm -f conftest.er1
26455 cat conftest.err >&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); } &&
26458 { ac_try='test -z "$ac_c_werror_flag"
26459 || test ! -s conftest.err'
26460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461 (eval $ac_try) 2>&5
26462 ac_status=$?
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; } &&
26465 { ac_try='test -s conftest$ac_exeext'
26466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467 (eval $ac_try) 2>&5
26468 ac_status=$?
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 eval "$as_ac_var=yes"
26472 else
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26476 eval "$as_ac_var=no"
26478 rm -f conftest.err conftest.$ac_objext \
26479 conftest$ac_exeext conftest.$ac_ext
26481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26483 if test `eval echo '${'$as_ac_var'}'` = yes; then
26484 cat >>confdefs.h <<_ACEOF
26485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26486 _ACEOF
26489 done
26491 else
26493 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26494 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26495 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26496 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 else
26502 ac_ext=cc
26503 ac_cpp='$CXXCPP $CPPFLAGS'
26504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26508 cat >conftest.$ac_ext <<_ACEOF
26509 /* confdefs.h. */
26510 _ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 #include <math.h>
26516 main ()
26518 _modff(0, 0);
26520 return 0;
26522 _ACEOF
26523 rm -f conftest.$ac_objext
26524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26525 (eval $ac_compile) 2>conftest.er1
26526 ac_status=$?
26527 grep -v '^ *+' conftest.er1 >conftest.err
26528 rm -f conftest.er1
26529 cat conftest.err >&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } &&
26532 { ac_try='test -z "$ac_cxx_werror_flag"
26533 || test ! -s conftest.err'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26536 ac_status=$?
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; } &&
26539 { ac_try='test -s conftest.$ac_objext'
26540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26541 (eval $ac_try) 2>&5
26542 ac_status=$?
26543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26544 (exit $ac_status); }; }; then
26545 glibcxx_cv_func__modff_use=yes
26546 else
26547 echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.$ac_ext >&5
26550 glibcxx_cv_func__modff_use=no
26552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26553 ac_ext=c
26554 ac_cpp='$CPP $CPPFLAGS'
26555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26564 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26566 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26568 for ac_func in _modff
26570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26571 echo "$as_me:$LINENO: checking for $ac_func" >&5
26572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26573 if eval "test \"\${$as_ac_var+set}\" = set"; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 else
26576 if test x$gcc_no_link = xyes; then
26577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26579 { (exit 1); exit 1; }; }
26581 cat >conftest.$ac_ext <<_ACEOF
26582 /* confdefs.h. */
26583 _ACEOF
26584 cat confdefs.h >>conftest.$ac_ext
26585 cat >>conftest.$ac_ext <<_ACEOF
26586 /* end confdefs.h. */
26587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26589 #define $ac_func innocuous_$ac_func
26591 /* System header to define __stub macros and hopefully few prototypes,
26592 which can conflict with char $ac_func (); below.
26593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26594 <limits.h> exists even on freestanding compilers. */
26596 #ifdef __STDC__
26597 # include <limits.h>
26598 #else
26599 # include <assert.h>
26600 #endif
26602 #undef $ac_func
26604 /* Override any gcc2 internal prototype to avoid an error. */
26605 #ifdef __cplusplus
26606 extern "C"
26608 #endif
26609 /* We use char because int might match the return type of a gcc2
26610 builtin and then its argument prototype would still apply. */
26611 char $ac_func ();
26612 /* The GNU C library defines this for functions which it implements
26613 to always fail with ENOSYS. Some functions are actually named
26614 something starting with __ and the normal name is an alias. */
26615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26616 choke me
26617 #else
26618 char (*f) () = $ac_func;
26619 #endif
26620 #ifdef __cplusplus
26622 #endif
26625 main ()
26627 return f != $ac_func;
26629 return 0;
26631 _ACEOF
26632 rm -f conftest.$ac_objext conftest$ac_exeext
26633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26634 (eval $ac_link) 2>conftest.er1
26635 ac_status=$?
26636 grep -v '^ *+' conftest.er1 >conftest.err
26637 rm -f conftest.er1
26638 cat conftest.err >&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); } &&
26641 { ac_try='test -z "$ac_c_werror_flag"
26642 || test ! -s conftest.err'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; } &&
26648 { ac_try='test -s conftest$ac_exeext'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26651 ac_status=$?
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; }; then
26654 eval "$as_ac_var=yes"
26655 else
26656 echo "$as_me: failed program was:" >&5
26657 sed 's/^/| /' conftest.$ac_ext >&5
26659 eval "$as_ac_var=no"
26661 rm -f conftest.err conftest.$ac_objext \
26662 conftest$ac_exeext conftest.$ac_ext
26664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26666 if test `eval echo '${'$as_ac_var'}'` = yes; then
26667 cat >>confdefs.h <<_ACEOF
26668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26669 _ACEOF
26672 done
26682 echo "$as_me:$LINENO: checking for modf declaration" >&5
26683 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26684 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26685 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26686 echo $ECHO_N "(cached) $ECHO_C" >&6
26687 else
26691 ac_ext=cc
26692 ac_cpp='$CXXCPP $CPPFLAGS'
26693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26697 cat >conftest.$ac_ext <<_ACEOF
26698 /* confdefs.h. */
26699 _ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703 #include <math.h>
26705 main ()
26707 modf(0, 0);
26709 return 0;
26711 _ACEOF
26712 rm -f conftest.$ac_objext
26713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26714 (eval $ac_compile) 2>conftest.er1
26715 ac_status=$?
26716 grep -v '^ *+' conftest.er1 >conftest.err
26717 rm -f conftest.er1
26718 cat conftest.err >&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } &&
26721 { ac_try='test -z "$ac_cxx_werror_flag"
26722 || test ! -s conftest.err'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; } &&
26728 { ac_try='test -s conftest.$ac_objext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26731 ac_status=$?
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734 glibcxx_cv_func_modf_use=yes
26735 else
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26739 glibcxx_cv_func_modf_use=no
26741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26742 ac_ext=c
26743 ac_cpp='$CPP $CPPFLAGS'
26744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26753 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26755 if test x$glibcxx_cv_func_modf_use = x"yes"; then
26757 for ac_func in modf
26759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26760 echo "$as_me:$LINENO: checking for $ac_func" >&5
26761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26762 if eval "test \"\${$as_ac_var+set}\" = set"; then
26763 echo $ECHO_N "(cached) $ECHO_C" >&6
26764 else
26765 if test x$gcc_no_link = xyes; then
26766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26768 { (exit 1); exit 1; }; }
26770 cat >conftest.$ac_ext <<_ACEOF
26771 /* confdefs.h. */
26772 _ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26778 #define $ac_func innocuous_$ac_func
26780 /* System header to define __stub macros and hopefully few prototypes,
26781 which can conflict with char $ac_func (); below.
26782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26783 <limits.h> exists even on freestanding compilers. */
26785 #ifdef __STDC__
26786 # include <limits.h>
26787 #else
26788 # include <assert.h>
26789 #endif
26791 #undef $ac_func
26793 /* Override any gcc2 internal prototype to avoid an error. */
26794 #ifdef __cplusplus
26795 extern "C"
26797 #endif
26798 /* We use char because int might match the return type of a gcc2
26799 builtin and then its argument prototype would still apply. */
26800 char $ac_func ();
26801 /* The GNU C library defines this for functions which it implements
26802 to always fail with ENOSYS. Some functions are actually named
26803 something starting with __ and the normal name is an alias. */
26804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26805 choke me
26806 #else
26807 char (*f) () = $ac_func;
26808 #endif
26809 #ifdef __cplusplus
26811 #endif
26814 main ()
26816 return f != $ac_func;
26818 return 0;
26820 _ACEOF
26821 rm -f conftest.$ac_objext conftest$ac_exeext
26822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26823 (eval $ac_link) 2>conftest.er1
26824 ac_status=$?
26825 grep -v '^ *+' conftest.er1 >conftest.err
26826 rm -f conftest.er1
26827 cat conftest.err >&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); } &&
26830 { ac_try='test -z "$ac_c_werror_flag"
26831 || test ! -s conftest.err'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26834 ac_status=$?
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; } &&
26837 { ac_try='test -s conftest$ac_exeext'
26838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839 (eval $ac_try) 2>&5
26840 ac_status=$?
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); }; }; then
26843 eval "$as_ac_var=yes"
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26848 eval "$as_ac_var=no"
26850 rm -f conftest.err conftest.$ac_objext \
26851 conftest$ac_exeext conftest.$ac_ext
26853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26855 if test `eval echo '${'$as_ac_var'}'` = yes; then
26856 cat >>confdefs.h <<_ACEOF
26857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26858 _ACEOF
26861 done
26863 else
26865 echo "$as_me:$LINENO: checking for _modf declaration" >&5
26866 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26867 if test x${glibcxx_cv_func__modf_use+set} != xset; then
26868 if test "${glibcxx_cv_func__modf_use+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26874 ac_ext=cc
26875 ac_cpp='$CXXCPP $CPPFLAGS'
26876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26880 cat >conftest.$ac_ext <<_ACEOF
26881 /* confdefs.h. */
26882 _ACEOF
26883 cat confdefs.h >>conftest.$ac_ext
26884 cat >>conftest.$ac_ext <<_ACEOF
26885 /* end confdefs.h. */
26886 #include <math.h>
26888 main ()
26890 _modf(0, 0);
26892 return 0;
26894 _ACEOF
26895 rm -f conftest.$ac_objext
26896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26897 (eval $ac_compile) 2>conftest.er1
26898 ac_status=$?
26899 grep -v '^ *+' conftest.er1 >conftest.err
26900 rm -f conftest.er1
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } &&
26904 { ac_try='test -z "$ac_cxx_werror_flag"
26905 || test ! -s conftest.err'
26906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26907 (eval $ac_try) 2>&5
26908 ac_status=$?
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; } &&
26911 { ac_try='test -s conftest.$ac_objext'
26912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26913 (eval $ac_try) 2>&5
26914 ac_status=$?
26915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26916 (exit $ac_status); }; }; then
26917 glibcxx_cv_func__modf_use=yes
26918 else
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.$ac_ext >&5
26922 glibcxx_cv_func__modf_use=no
26924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26925 ac_ext=c
26926 ac_cpp='$CPP $CPPFLAGS'
26927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
26936 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
26938 if test x$glibcxx_cv_func__modf_use = x"yes"; then
26940 for ac_func in _modf
26942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26943 echo "$as_me:$LINENO: checking for $ac_func" >&5
26944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26945 if eval "test \"\${$as_ac_var+set}\" = set"; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26948 if test x$gcc_no_link = xyes; then
26949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26951 { (exit 1); exit 1; }; }
26953 cat >conftest.$ac_ext <<_ACEOF
26954 /* confdefs.h. */
26955 _ACEOF
26956 cat confdefs.h >>conftest.$ac_ext
26957 cat >>conftest.$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26961 #define $ac_func innocuous_$ac_func
26963 /* System header to define __stub macros and hopefully few prototypes,
26964 which can conflict with char $ac_func (); below.
26965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26966 <limits.h> exists even on freestanding compilers. */
26968 #ifdef __STDC__
26969 # include <limits.h>
26970 #else
26971 # include <assert.h>
26972 #endif
26974 #undef $ac_func
26976 /* Override any gcc2 internal prototype to avoid an error. */
26977 #ifdef __cplusplus
26978 extern "C"
26980 #endif
26981 /* We use char because int might match the return type of a gcc2
26982 builtin and then its argument prototype would still apply. */
26983 char $ac_func ();
26984 /* The GNU C library defines this for functions which it implements
26985 to always fail with ENOSYS. Some functions are actually named
26986 something starting with __ and the normal name is an alias. */
26987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26988 choke me
26989 #else
26990 char (*f) () = $ac_func;
26991 #endif
26992 #ifdef __cplusplus
26994 #endif
26997 main ()
26999 return f != $ac_func;
27001 return 0;
27003 _ACEOF
27004 rm -f conftest.$ac_objext conftest$ac_exeext
27005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27006 (eval $ac_link) 2>conftest.er1
27007 ac_status=$?
27008 grep -v '^ *+' conftest.er1 >conftest.err
27009 rm -f conftest.er1
27010 cat conftest.err >&5
27011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27012 (exit $ac_status); } &&
27013 { ac_try='test -z "$ac_c_werror_flag"
27014 || test ! -s conftest.err'
27015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27016 (eval $ac_try) 2>&5
27017 ac_status=$?
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); }; } &&
27020 { ac_try='test -s conftest$ac_exeext'
27021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27022 (eval $ac_try) 2>&5
27023 ac_status=$?
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); }; }; then
27026 eval "$as_ac_var=yes"
27027 else
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.$ac_ext >&5
27031 eval "$as_ac_var=no"
27033 rm -f conftest.err conftest.$ac_objext \
27034 conftest$ac_exeext conftest.$ac_ext
27036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27038 if test `eval echo '${'$as_ac_var'}'` = yes; then
27039 cat >>confdefs.h <<_ACEOF
27040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27041 _ACEOF
27044 done
27054 echo "$as_me:$LINENO: checking for powf declaration" >&5
27055 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27056 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27057 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27058 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 else
27063 ac_ext=cc
27064 ac_cpp='$CXXCPP $CPPFLAGS'
27065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27069 cat >conftest.$ac_ext <<_ACEOF
27070 /* confdefs.h. */
27071 _ACEOF
27072 cat confdefs.h >>conftest.$ac_ext
27073 cat >>conftest.$ac_ext <<_ACEOF
27074 /* end confdefs.h. */
27075 #include <math.h>
27077 main ()
27079 powf(0, 0);
27081 return 0;
27083 _ACEOF
27084 rm -f conftest.$ac_objext
27085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27086 (eval $ac_compile) 2>conftest.er1
27087 ac_status=$?
27088 grep -v '^ *+' conftest.er1 >conftest.err
27089 rm -f conftest.er1
27090 cat conftest.err >&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); } &&
27093 { ac_try='test -z "$ac_cxx_werror_flag"
27094 || test ! -s conftest.err'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27097 ac_status=$?
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try='test -s conftest.$ac_objext'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27103 ac_status=$?
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; }; then
27106 glibcxx_cv_func_powf_use=yes
27107 else
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.$ac_ext >&5
27111 glibcxx_cv_func_powf_use=no
27113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27114 ac_ext=c
27115 ac_cpp='$CPP $CPPFLAGS'
27116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27124 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27125 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27127 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27129 for ac_func in powf
27131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27132 echo "$as_me:$LINENO: checking for $ac_func" >&5
27133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27134 if eval "test \"\${$as_ac_var+set}\" = set"; then
27135 echo $ECHO_N "(cached) $ECHO_C" >&6
27136 else
27137 if test x$gcc_no_link = xyes; then
27138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27140 { (exit 1); exit 1; }; }
27142 cat >conftest.$ac_ext <<_ACEOF
27143 /* confdefs.h. */
27144 _ACEOF
27145 cat confdefs.h >>conftest.$ac_ext
27146 cat >>conftest.$ac_ext <<_ACEOF
27147 /* end confdefs.h. */
27148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27150 #define $ac_func innocuous_$ac_func
27152 /* System header to define __stub macros and hopefully few prototypes,
27153 which can conflict with char $ac_func (); below.
27154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27155 <limits.h> exists even on freestanding compilers. */
27157 #ifdef __STDC__
27158 # include <limits.h>
27159 #else
27160 # include <assert.h>
27161 #endif
27163 #undef $ac_func
27165 /* Override any gcc2 internal prototype to avoid an error. */
27166 #ifdef __cplusplus
27167 extern "C"
27169 #endif
27170 /* We use char because int might match the return type of a gcc2
27171 builtin and then its argument prototype would still apply. */
27172 char $ac_func ();
27173 /* The GNU C library defines this for functions which it implements
27174 to always fail with ENOSYS. Some functions are actually named
27175 something starting with __ and the normal name is an alias. */
27176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27177 choke me
27178 #else
27179 char (*f) () = $ac_func;
27180 #endif
27181 #ifdef __cplusplus
27183 #endif
27186 main ()
27188 return f != $ac_func;
27190 return 0;
27192 _ACEOF
27193 rm -f conftest.$ac_objext conftest$ac_exeext
27194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27195 (eval $ac_link) 2>conftest.er1
27196 ac_status=$?
27197 grep -v '^ *+' conftest.er1 >conftest.err
27198 rm -f conftest.er1
27199 cat conftest.err >&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } &&
27202 { ac_try='test -z "$ac_c_werror_flag"
27203 || test ! -s conftest.err'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27206 ac_status=$?
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; } &&
27209 { ac_try='test -s conftest$ac_exeext'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27212 ac_status=$?
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; }; then
27215 eval "$as_ac_var=yes"
27216 else
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.$ac_ext >&5
27220 eval "$as_ac_var=no"
27222 rm -f conftest.err conftest.$ac_objext \
27223 conftest$ac_exeext conftest.$ac_ext
27225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27227 if test `eval echo '${'$as_ac_var'}'` = yes; then
27228 cat >>confdefs.h <<_ACEOF
27229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27230 _ACEOF
27233 done
27235 else
27237 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27238 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27239 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27240 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27241 echo $ECHO_N "(cached) $ECHO_C" >&6
27242 else
27246 ac_ext=cc
27247 ac_cpp='$CXXCPP $CPPFLAGS'
27248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27252 cat >conftest.$ac_ext <<_ACEOF
27253 /* confdefs.h. */
27254 _ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 #include <math.h>
27260 main ()
27262 _powf(0, 0);
27264 return 0;
27266 _ACEOF
27267 rm -f conftest.$ac_objext
27268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27269 (eval $ac_compile) 2>conftest.er1
27270 ac_status=$?
27271 grep -v '^ *+' conftest.er1 >conftest.err
27272 rm -f conftest.er1
27273 cat conftest.err >&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); } &&
27276 { ac_try='test -z "$ac_cxx_werror_flag"
27277 || test ! -s conftest.err'
27278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27279 (eval $ac_try) 2>&5
27280 ac_status=$?
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); }; } &&
27283 { ac_try='test -s conftest.$ac_objext'
27284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285 (eval $ac_try) 2>&5
27286 ac_status=$?
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); }; }; then
27289 glibcxx_cv_func__powf_use=yes
27290 else
27291 echo "$as_me: failed program was:" >&5
27292 sed 's/^/| /' conftest.$ac_ext >&5
27294 glibcxx_cv_func__powf_use=no
27296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27297 ac_ext=c
27298 ac_cpp='$CPP $CPPFLAGS'
27299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27307 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27308 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27310 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27312 for ac_func in _powf
27314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27315 echo "$as_me:$LINENO: checking for $ac_func" >&5
27316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27317 if eval "test \"\${$as_ac_var+set}\" = set"; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 else
27320 if test x$gcc_no_link = xyes; then
27321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27323 { (exit 1); exit 1; }; }
27325 cat >conftest.$ac_ext <<_ACEOF
27326 /* confdefs.h. */
27327 _ACEOF
27328 cat confdefs.h >>conftest.$ac_ext
27329 cat >>conftest.$ac_ext <<_ACEOF
27330 /* end confdefs.h. */
27331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27333 #define $ac_func innocuous_$ac_func
27335 /* System header to define __stub macros and hopefully few prototypes,
27336 which can conflict with char $ac_func (); below.
27337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27338 <limits.h> exists even on freestanding compilers. */
27340 #ifdef __STDC__
27341 # include <limits.h>
27342 #else
27343 # include <assert.h>
27344 #endif
27346 #undef $ac_func
27348 /* Override any gcc2 internal prototype to avoid an error. */
27349 #ifdef __cplusplus
27350 extern "C"
27352 #endif
27353 /* We use char because int might match the return type of a gcc2
27354 builtin and then its argument prototype would still apply. */
27355 char $ac_func ();
27356 /* The GNU C library defines this for functions which it implements
27357 to always fail with ENOSYS. Some functions are actually named
27358 something starting with __ and the normal name is an alias. */
27359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27360 choke me
27361 #else
27362 char (*f) () = $ac_func;
27363 #endif
27364 #ifdef __cplusplus
27366 #endif
27369 main ()
27371 return f != $ac_func;
27373 return 0;
27375 _ACEOF
27376 rm -f conftest.$ac_objext conftest$ac_exeext
27377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27378 (eval $ac_link) 2>conftest.er1
27379 ac_status=$?
27380 grep -v '^ *+' conftest.er1 >conftest.err
27381 rm -f conftest.er1
27382 cat conftest.err >&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } &&
27385 { ac_try='test -z "$ac_c_werror_flag"
27386 || test ! -s conftest.err'
27387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27388 (eval $ac_try) 2>&5
27389 ac_status=$?
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); }; } &&
27392 { ac_try='test -s conftest$ac_exeext'
27393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27394 (eval $ac_try) 2>&5
27395 ac_status=$?
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); }; }; then
27398 eval "$as_ac_var=yes"
27399 else
27400 echo "$as_me: failed program was:" >&5
27401 sed 's/^/| /' conftest.$ac_ext >&5
27403 eval "$as_ac_var=no"
27405 rm -f conftest.err conftest.$ac_objext \
27406 conftest$ac_exeext conftest.$ac_ext
27408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27410 if test `eval echo '${'$as_ac_var'}'` = yes; then
27411 cat >>confdefs.h <<_ACEOF
27412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27413 _ACEOF
27416 done
27426 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27427 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27428 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27429 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27430 echo $ECHO_N "(cached) $ECHO_C" >&6
27431 else
27435 ac_ext=cc
27436 ac_cpp='$CXXCPP $CPPFLAGS'
27437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27441 cat >conftest.$ac_ext <<_ACEOF
27442 /* confdefs.h. */
27443 _ACEOF
27444 cat confdefs.h >>conftest.$ac_ext
27445 cat >>conftest.$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27447 #include <math.h>
27448 #ifdef HAVE_IEEEFP_H
27449 #include <ieeefp.h>
27450 #endif
27453 main ()
27455 sqrtf(0);
27457 return 0;
27459 _ACEOF
27460 rm -f conftest.$ac_objext
27461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27462 (eval $ac_compile) 2>conftest.er1
27463 ac_status=$?
27464 grep -v '^ *+' conftest.er1 >conftest.err
27465 rm -f conftest.er1
27466 cat conftest.err >&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); } &&
27469 { ac_try='test -z "$ac_cxx_werror_flag"
27470 || test ! -s conftest.err'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27473 ac_status=$?
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; } &&
27476 { ac_try='test -s conftest.$ac_objext'
27477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27478 (eval $ac_try) 2>&5
27479 ac_status=$?
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); }; }; then
27482 glibcxx_cv_func_sqrtf_use=yes
27483 else
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27487 glibcxx_cv_func_sqrtf_use=no
27489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27490 ac_ext=c
27491 ac_cpp='$CPP $CPPFLAGS'
27492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27500 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27501 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27503 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27505 for ac_func in sqrtf
27507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27508 echo "$as_me:$LINENO: checking for $ac_func" >&5
27509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27510 if eval "test \"\${$as_ac_var+set}\" = set"; then
27511 echo $ECHO_N "(cached) $ECHO_C" >&6
27512 else
27513 if test x$gcc_no_link = xyes; then
27514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27516 { (exit 1); exit 1; }; }
27518 cat >conftest.$ac_ext <<_ACEOF
27519 /* confdefs.h. */
27520 _ACEOF
27521 cat confdefs.h >>conftest.$ac_ext
27522 cat >>conftest.$ac_ext <<_ACEOF
27523 /* end confdefs.h. */
27524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27526 #define $ac_func innocuous_$ac_func
27528 /* System header to define __stub macros and hopefully few prototypes,
27529 which can conflict with char $ac_func (); below.
27530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27531 <limits.h> exists even on freestanding compilers. */
27533 #ifdef __STDC__
27534 # include <limits.h>
27535 #else
27536 # include <assert.h>
27537 #endif
27539 #undef $ac_func
27541 /* Override any gcc2 internal prototype to avoid an error. */
27542 #ifdef __cplusplus
27543 extern "C"
27545 #endif
27546 /* We use char because int might match the return type of a gcc2
27547 builtin and then its argument prototype would still apply. */
27548 char $ac_func ();
27549 /* The GNU C library defines this for functions which it implements
27550 to always fail with ENOSYS. Some functions are actually named
27551 something starting with __ and the normal name is an alias. */
27552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27553 choke me
27554 #else
27555 char (*f) () = $ac_func;
27556 #endif
27557 #ifdef __cplusplus
27559 #endif
27562 main ()
27564 return f != $ac_func;
27566 return 0;
27568 _ACEOF
27569 rm -f conftest.$ac_objext conftest$ac_exeext
27570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27571 (eval $ac_link) 2>conftest.er1
27572 ac_status=$?
27573 grep -v '^ *+' conftest.er1 >conftest.err
27574 rm -f conftest.er1
27575 cat conftest.err >&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } &&
27578 { ac_try='test -z "$ac_c_werror_flag"
27579 || test ! -s conftest.err'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27582 ac_status=$?
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; } &&
27585 { ac_try='test -s conftest$ac_exeext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27588 ac_status=$?
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 eval "$as_ac_var=yes"
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27596 eval "$as_ac_var=no"
27598 rm -f conftest.err conftest.$ac_objext \
27599 conftest$ac_exeext conftest.$ac_ext
27601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27603 if test `eval echo '${'$as_ac_var'}'` = yes; then
27604 cat >>confdefs.h <<_ACEOF
27605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27606 _ACEOF
27609 done
27611 else
27613 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27614 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27615 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27616 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 else
27622 ac_ext=cc
27623 ac_cpp='$CXXCPP $CPPFLAGS'
27624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27628 cat >conftest.$ac_ext <<_ACEOF
27629 /* confdefs.h. */
27630 _ACEOF
27631 cat confdefs.h >>conftest.$ac_ext
27632 cat >>conftest.$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27634 #include <math.h>
27635 #ifdef HAVE_IEEEFP_H
27636 #include <ieeefp.h>
27637 #endif
27640 main ()
27642 _sqrtf(0);
27644 return 0;
27646 _ACEOF
27647 rm -f conftest.$ac_objext
27648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27649 (eval $ac_compile) 2>conftest.er1
27650 ac_status=$?
27651 grep -v '^ *+' conftest.er1 >conftest.err
27652 rm -f conftest.er1
27653 cat conftest.err >&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); } &&
27656 { ac_try='test -z "$ac_cxx_werror_flag"
27657 || test ! -s conftest.err'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27660 ac_status=$?
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; } &&
27663 { ac_try='test -s conftest.$ac_objext'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; }; then
27669 glibcxx_cv_func__sqrtf_use=yes
27670 else
27671 echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.$ac_ext >&5
27674 glibcxx_cv_func__sqrtf_use=no
27676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27677 ac_ext=c
27678 ac_cpp='$CPP $CPPFLAGS'
27679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27687 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27688 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27690 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27692 for ac_func in _sqrtf
27694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27695 echo "$as_me:$LINENO: checking for $ac_func" >&5
27696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27697 if eval "test \"\${$as_ac_var+set}\" = set"; then
27698 echo $ECHO_N "(cached) $ECHO_C" >&6
27699 else
27700 if test x$gcc_no_link = xyes; then
27701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27703 { (exit 1); exit 1; }; }
27705 cat >conftest.$ac_ext <<_ACEOF
27706 /* confdefs.h. */
27707 _ACEOF
27708 cat confdefs.h >>conftest.$ac_ext
27709 cat >>conftest.$ac_ext <<_ACEOF
27710 /* end confdefs.h. */
27711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27713 #define $ac_func innocuous_$ac_func
27715 /* System header to define __stub macros and hopefully few prototypes,
27716 which can conflict with char $ac_func (); below.
27717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27718 <limits.h> exists even on freestanding compilers. */
27720 #ifdef __STDC__
27721 # include <limits.h>
27722 #else
27723 # include <assert.h>
27724 #endif
27726 #undef $ac_func
27728 /* Override any gcc2 internal prototype to avoid an error. */
27729 #ifdef __cplusplus
27730 extern "C"
27732 #endif
27733 /* We use char because int might match the return type of a gcc2
27734 builtin and then its argument prototype would still apply. */
27735 char $ac_func ();
27736 /* The GNU C library defines this for functions which it implements
27737 to always fail with ENOSYS. Some functions are actually named
27738 something starting with __ and the normal name is an alias. */
27739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27740 choke me
27741 #else
27742 char (*f) () = $ac_func;
27743 #endif
27744 #ifdef __cplusplus
27746 #endif
27749 main ()
27751 return f != $ac_func;
27753 return 0;
27755 _ACEOF
27756 rm -f conftest.$ac_objext conftest$ac_exeext
27757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27758 (eval $ac_link) 2>conftest.er1
27759 ac_status=$?
27760 grep -v '^ *+' conftest.er1 >conftest.err
27761 rm -f conftest.er1
27762 cat conftest.err >&5
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); } &&
27765 { ac_try='test -z "$ac_c_werror_flag"
27766 || test ! -s conftest.err'
27767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27768 (eval $ac_try) 2>&5
27769 ac_status=$?
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); }; } &&
27772 { ac_try='test -s conftest$ac_exeext'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; }; then
27778 eval "$as_ac_var=yes"
27779 else
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27783 eval "$as_ac_var=no"
27785 rm -f conftest.err conftest.$ac_objext \
27786 conftest$ac_exeext conftest.$ac_ext
27788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27790 if test `eval echo '${'$as_ac_var'}'` = yes; then
27791 cat >>confdefs.h <<_ACEOF
27792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27793 _ACEOF
27796 done
27806 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27807 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27808 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27809 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27810 echo $ECHO_N "(cached) $ECHO_C" >&6
27811 else
27815 ac_ext=cc
27816 ac_cpp='$CXXCPP $CPPFLAGS'
27817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27821 cat >conftest.$ac_ext <<_ACEOF
27822 /* confdefs.h. */
27823 _ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827 #include <math.h>
27829 main ()
27831 sincosf(0, 0, 0);
27833 return 0;
27835 _ACEOF
27836 rm -f conftest.$ac_objext
27837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27838 (eval $ac_compile) 2>conftest.er1
27839 ac_status=$?
27840 grep -v '^ *+' conftest.er1 >conftest.err
27841 rm -f conftest.er1
27842 cat conftest.err >&5
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); } &&
27845 { ac_try='test -z "$ac_cxx_werror_flag"
27846 || test ! -s conftest.err'
27847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848 (eval $ac_try) 2>&5
27849 ac_status=$?
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); }; } &&
27852 { ac_try='test -s conftest.$ac_objext'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27855 ac_status=$?
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; }; then
27858 glibcxx_cv_func_sincosf_use=yes
27859 else
27860 echo "$as_me: failed program was:" >&5
27861 sed 's/^/| /' conftest.$ac_ext >&5
27863 glibcxx_cv_func_sincosf_use=no
27865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27866 ac_ext=c
27867 ac_cpp='$CPP $CPPFLAGS'
27868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27877 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27879 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27881 for ac_func in sincosf
27883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27884 echo "$as_me:$LINENO: checking for $ac_func" >&5
27885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27886 if eval "test \"\${$as_ac_var+set}\" = set"; then
27887 echo $ECHO_N "(cached) $ECHO_C" >&6
27888 else
27889 if test x$gcc_no_link = xyes; then
27890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27892 { (exit 1); exit 1; }; }
27894 cat >conftest.$ac_ext <<_ACEOF
27895 /* confdefs.h. */
27896 _ACEOF
27897 cat confdefs.h >>conftest.$ac_ext
27898 cat >>conftest.$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27902 #define $ac_func innocuous_$ac_func
27904 /* System header to define __stub macros and hopefully few prototypes,
27905 which can conflict with char $ac_func (); below.
27906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27907 <limits.h> exists even on freestanding compilers. */
27909 #ifdef __STDC__
27910 # include <limits.h>
27911 #else
27912 # include <assert.h>
27913 #endif
27915 #undef $ac_func
27917 /* Override any gcc2 internal prototype to avoid an error. */
27918 #ifdef __cplusplus
27919 extern "C"
27921 #endif
27922 /* We use char because int might match the return type of a gcc2
27923 builtin and then its argument prototype would still apply. */
27924 char $ac_func ();
27925 /* The GNU C library defines this for functions which it implements
27926 to always fail with ENOSYS. Some functions are actually named
27927 something starting with __ and the normal name is an alias. */
27928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27929 choke me
27930 #else
27931 char (*f) () = $ac_func;
27932 #endif
27933 #ifdef __cplusplus
27935 #endif
27938 main ()
27940 return f != $ac_func;
27942 return 0;
27944 _ACEOF
27945 rm -f conftest.$ac_objext conftest$ac_exeext
27946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27947 (eval $ac_link) 2>conftest.er1
27948 ac_status=$?
27949 grep -v '^ *+' conftest.er1 >conftest.err
27950 rm -f conftest.er1
27951 cat conftest.err >&5
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); } &&
27954 { ac_try='test -z "$ac_c_werror_flag"
27955 || test ! -s conftest.err'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27958 ac_status=$?
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; } &&
27961 { ac_try='test -s conftest$ac_exeext'
27962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27963 (eval $ac_try) 2>&5
27964 ac_status=$?
27965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27966 (exit $ac_status); }; }; then
27967 eval "$as_ac_var=yes"
27968 else
27969 echo "$as_me: failed program was:" >&5
27970 sed 's/^/| /' conftest.$ac_ext >&5
27972 eval "$as_ac_var=no"
27974 rm -f conftest.err conftest.$ac_objext \
27975 conftest$ac_exeext conftest.$ac_ext
27977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27979 if test `eval echo '${'$as_ac_var'}'` = yes; then
27980 cat >>confdefs.h <<_ACEOF
27981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27982 _ACEOF
27985 done
27987 else
27989 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
27990 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
27991 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
27992 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
27993 echo $ECHO_N "(cached) $ECHO_C" >&6
27994 else
27998 ac_ext=cc
27999 ac_cpp='$CXXCPP $CPPFLAGS'
28000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28004 cat >conftest.$ac_ext <<_ACEOF
28005 /* confdefs.h. */
28006 _ACEOF
28007 cat confdefs.h >>conftest.$ac_ext
28008 cat >>conftest.$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28010 #include <math.h>
28012 main ()
28014 _sincosf(0, 0, 0);
28016 return 0;
28018 _ACEOF
28019 rm -f conftest.$ac_objext
28020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28021 (eval $ac_compile) 2>conftest.er1
28022 ac_status=$?
28023 grep -v '^ *+' conftest.er1 >conftest.err
28024 rm -f conftest.er1
28025 cat conftest.err >&5
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); } &&
28028 { ac_try='test -z "$ac_cxx_werror_flag"
28029 || test ! -s conftest.err'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28032 ac_status=$?
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; } &&
28035 { ac_try='test -s conftest.$ac_objext'
28036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28037 (eval $ac_try) 2>&5
28038 ac_status=$?
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); }; }; then
28041 glibcxx_cv_func__sincosf_use=yes
28042 else
28043 echo "$as_me: failed program was:" >&5
28044 sed 's/^/| /' conftest.$ac_ext >&5
28046 glibcxx_cv_func__sincosf_use=no
28048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28049 ac_ext=c
28050 ac_cpp='$CPP $CPPFLAGS'
28051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28059 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28060 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28062 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28064 for ac_func in _sincosf
28066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28067 echo "$as_me:$LINENO: checking for $ac_func" >&5
28068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28069 if eval "test \"\${$as_ac_var+set}\" = set"; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 else
28072 if test x$gcc_no_link = xyes; then
28073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28075 { (exit 1); exit 1; }; }
28077 cat >conftest.$ac_ext <<_ACEOF
28078 /* confdefs.h. */
28079 _ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28085 #define $ac_func innocuous_$ac_func
28087 /* System header to define __stub macros and hopefully few prototypes,
28088 which can conflict with char $ac_func (); below.
28089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28090 <limits.h> exists even on freestanding compilers. */
28092 #ifdef __STDC__
28093 # include <limits.h>
28094 #else
28095 # include <assert.h>
28096 #endif
28098 #undef $ac_func
28100 /* Override any gcc2 internal prototype to avoid an error. */
28101 #ifdef __cplusplus
28102 extern "C"
28104 #endif
28105 /* We use char because int might match the return type of a gcc2
28106 builtin and then its argument prototype would still apply. */
28107 char $ac_func ();
28108 /* The GNU C library defines this for functions which it implements
28109 to always fail with ENOSYS. Some functions are actually named
28110 something starting with __ and the normal name is an alias. */
28111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28112 choke me
28113 #else
28114 char (*f) () = $ac_func;
28115 #endif
28116 #ifdef __cplusplus
28118 #endif
28121 main ()
28123 return f != $ac_func;
28125 return 0;
28127 _ACEOF
28128 rm -f conftest.$ac_objext conftest$ac_exeext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28130 (eval $ac_link) 2>conftest.er1
28131 ac_status=$?
28132 grep -v '^ *+' conftest.er1 >conftest.err
28133 rm -f conftest.er1
28134 cat conftest.err >&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try='test -z "$ac_c_werror_flag"
28138 || test ! -s conftest.err'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28141 ac_status=$?
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; } &&
28144 { ac_try='test -s conftest$ac_exeext'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28147 ac_status=$?
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; }; then
28150 eval "$as_ac_var=yes"
28151 else
28152 echo "$as_me: failed program was:" >&5
28153 sed 's/^/| /' conftest.$ac_ext >&5
28155 eval "$as_ac_var=no"
28157 rm -f conftest.err conftest.$ac_objext \
28158 conftest$ac_exeext conftest.$ac_ext
28160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28162 if test `eval echo '${'$as_ac_var'}'` = yes; then
28163 cat >>confdefs.h <<_ACEOF
28164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28165 _ACEOF
28168 done
28178 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28179 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28180 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28181 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28182 echo $ECHO_N "(cached) $ECHO_C" >&6
28183 else
28187 ac_ext=cc
28188 ac_cpp='$CXXCPP $CPPFLAGS'
28189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28193 cat >conftest.$ac_ext <<_ACEOF
28194 /* confdefs.h. */
28195 _ACEOF
28196 cat confdefs.h >>conftest.$ac_ext
28197 cat >>conftest.$ac_ext <<_ACEOF
28198 /* end confdefs.h. */
28199 #include <math.h>
28200 #ifdef HAVE_IEEEFP_H
28201 #include <ieeefp.h>
28202 #endif
28205 main ()
28207 finitef(0);
28209 return 0;
28211 _ACEOF
28212 rm -f conftest.$ac_objext
28213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28214 (eval $ac_compile) 2>conftest.er1
28215 ac_status=$?
28216 grep -v '^ *+' conftest.er1 >conftest.err
28217 rm -f conftest.er1
28218 cat conftest.err >&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); } &&
28221 { ac_try='test -z "$ac_cxx_werror_flag"
28222 || test ! -s conftest.err'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28225 ac_status=$?
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; } &&
28228 { ac_try='test -s conftest.$ac_objext'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28231 ac_status=$?
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; }; then
28234 glibcxx_cv_func_finitef_use=yes
28235 else
28236 echo "$as_me: failed program was:" >&5
28237 sed 's/^/| /' conftest.$ac_ext >&5
28239 glibcxx_cv_func_finitef_use=no
28241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28242 ac_ext=c
28243 ac_cpp='$CPP $CPPFLAGS'
28244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28253 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28255 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28257 for ac_func in finitef
28259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28260 echo "$as_me:$LINENO: checking for $ac_func" >&5
28261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28262 if eval "test \"\${$as_ac_var+set}\" = set"; then
28263 echo $ECHO_N "(cached) $ECHO_C" >&6
28264 else
28265 if test x$gcc_no_link = xyes; then
28266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28268 { (exit 1); exit 1; }; }
28270 cat >conftest.$ac_ext <<_ACEOF
28271 /* confdefs.h. */
28272 _ACEOF
28273 cat confdefs.h >>conftest.$ac_ext
28274 cat >>conftest.$ac_ext <<_ACEOF
28275 /* end confdefs.h. */
28276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28278 #define $ac_func innocuous_$ac_func
28280 /* System header to define __stub macros and hopefully few prototypes,
28281 which can conflict with char $ac_func (); below.
28282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28283 <limits.h> exists even on freestanding compilers. */
28285 #ifdef __STDC__
28286 # include <limits.h>
28287 #else
28288 # include <assert.h>
28289 #endif
28291 #undef $ac_func
28293 /* Override any gcc2 internal prototype to avoid an error. */
28294 #ifdef __cplusplus
28295 extern "C"
28297 #endif
28298 /* We use char because int might match the return type of a gcc2
28299 builtin and then its argument prototype would still apply. */
28300 char $ac_func ();
28301 /* The GNU C library defines this for functions which it implements
28302 to always fail with ENOSYS. Some functions are actually named
28303 something starting with __ and the normal name is an alias. */
28304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28305 choke me
28306 #else
28307 char (*f) () = $ac_func;
28308 #endif
28309 #ifdef __cplusplus
28311 #endif
28314 main ()
28316 return f != $ac_func;
28318 return 0;
28320 _ACEOF
28321 rm -f conftest.$ac_objext conftest$ac_exeext
28322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28323 (eval $ac_link) 2>conftest.er1
28324 ac_status=$?
28325 grep -v '^ *+' conftest.er1 >conftest.err
28326 rm -f conftest.er1
28327 cat conftest.err >&5
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); } &&
28330 { ac_try='test -z "$ac_c_werror_flag"
28331 || test ! -s conftest.err'
28332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333 (eval $ac_try) 2>&5
28334 ac_status=$?
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; } &&
28337 { ac_try='test -s conftest$ac_exeext'
28338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28339 (eval $ac_try) 2>&5
28340 ac_status=$?
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); }; }; then
28343 eval "$as_ac_var=yes"
28344 else
28345 echo "$as_me: failed program was:" >&5
28346 sed 's/^/| /' conftest.$ac_ext >&5
28348 eval "$as_ac_var=no"
28350 rm -f conftest.err conftest.$ac_objext \
28351 conftest$ac_exeext conftest.$ac_ext
28353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28355 if test `eval echo '${'$as_ac_var'}'` = yes; then
28356 cat >>confdefs.h <<_ACEOF
28357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28358 _ACEOF
28361 done
28363 else
28365 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28366 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28367 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28368 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28369 echo $ECHO_N "(cached) $ECHO_C" >&6
28370 else
28374 ac_ext=cc
28375 ac_cpp='$CXXCPP $CPPFLAGS'
28376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28380 cat >conftest.$ac_ext <<_ACEOF
28381 /* confdefs.h. */
28382 _ACEOF
28383 cat confdefs.h >>conftest.$ac_ext
28384 cat >>conftest.$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28386 #include <math.h>
28387 #ifdef HAVE_IEEEFP_H
28388 #include <ieeefp.h>
28389 #endif
28392 main ()
28394 _finitef(0);
28396 return 0;
28398 _ACEOF
28399 rm -f conftest.$ac_objext
28400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28401 (eval $ac_compile) 2>conftest.er1
28402 ac_status=$?
28403 grep -v '^ *+' conftest.er1 >conftest.err
28404 rm -f conftest.er1
28405 cat conftest.err >&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } &&
28408 { ac_try='test -z "$ac_cxx_werror_flag"
28409 || test ! -s conftest.err'
28410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28411 (eval $ac_try) 2>&5
28412 ac_status=$?
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); }; } &&
28415 { ac_try='test -s conftest.$ac_objext'
28416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28417 (eval $ac_try) 2>&5
28418 ac_status=$?
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); }; }; then
28421 glibcxx_cv_func__finitef_use=yes
28422 else
28423 echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28426 glibcxx_cv_func__finitef_use=no
28428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28429 ac_ext=c
28430 ac_cpp='$CPP $CPPFLAGS'
28431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28440 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28442 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28444 for ac_func in _finitef
28446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28447 echo "$as_me:$LINENO: checking for $ac_func" >&5
28448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28449 if eval "test \"\${$as_ac_var+set}\" = set"; then
28450 echo $ECHO_N "(cached) $ECHO_C" >&6
28451 else
28452 if test x$gcc_no_link = xyes; then
28453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28455 { (exit 1); exit 1; }; }
28457 cat >conftest.$ac_ext <<_ACEOF
28458 /* confdefs.h. */
28459 _ACEOF
28460 cat confdefs.h >>conftest.$ac_ext
28461 cat >>conftest.$ac_ext <<_ACEOF
28462 /* end confdefs.h. */
28463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28465 #define $ac_func innocuous_$ac_func
28467 /* System header to define __stub macros and hopefully few prototypes,
28468 which can conflict with char $ac_func (); below.
28469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28470 <limits.h> exists even on freestanding compilers. */
28472 #ifdef __STDC__
28473 # include <limits.h>
28474 #else
28475 # include <assert.h>
28476 #endif
28478 #undef $ac_func
28480 /* Override any gcc2 internal prototype to avoid an error. */
28481 #ifdef __cplusplus
28482 extern "C"
28484 #endif
28485 /* We use char because int might match the return type of a gcc2
28486 builtin and then its argument prototype would still apply. */
28487 char $ac_func ();
28488 /* The GNU C library defines this for functions which it implements
28489 to always fail with ENOSYS. Some functions are actually named
28490 something starting with __ and the normal name is an alias. */
28491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28492 choke me
28493 #else
28494 char (*f) () = $ac_func;
28495 #endif
28496 #ifdef __cplusplus
28498 #endif
28501 main ()
28503 return f != $ac_func;
28505 return 0;
28507 _ACEOF
28508 rm -f conftest.$ac_objext conftest$ac_exeext
28509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28510 (eval $ac_link) 2>conftest.er1
28511 ac_status=$?
28512 grep -v '^ *+' conftest.er1 >conftest.err
28513 rm -f conftest.er1
28514 cat conftest.err >&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); } &&
28517 { ac_try='test -z "$ac_c_werror_flag"
28518 || test ! -s conftest.err'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28521 ac_status=$?
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; } &&
28524 { ac_try='test -s conftest$ac_exeext'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28527 ac_status=$?
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28530 eval "$as_ac_var=yes"
28531 else
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28535 eval "$as_ac_var=no"
28537 rm -f conftest.err conftest.$ac_objext \
28538 conftest$ac_exeext conftest.$ac_ext
28540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28542 if test `eval echo '${'$as_ac_var'}'` = yes; then
28543 cat >>confdefs.h <<_ACEOF
28544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28545 _ACEOF
28548 done
28558 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28559 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28560 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28561 echo $ECHO_N "(cached) $ECHO_C" >&6
28562 else
28566 ac_ext=cc
28567 ac_cpp='$CXXCPP $CPPFLAGS'
28568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28572 cat >conftest.$ac_ext <<_ACEOF
28573 /* confdefs.h. */
28574 _ACEOF
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578 #include <math.h>
28580 main ()
28582 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28584 return 0;
28586 _ACEOF
28587 rm -f conftest.$ac_objext
28588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28589 (eval $ac_compile) 2>conftest.er1
28590 ac_status=$?
28591 grep -v '^ *+' conftest.er1 >conftest.err
28592 rm -f conftest.er1
28593 cat conftest.err >&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); } &&
28596 { ac_try='test -z "$ac_cxx_werror_flag"
28597 || test ! -s conftest.err'
28598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 (eval $ac_try) 2>&5
28600 ac_status=$?
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); }; } &&
28603 { ac_try='test -s conftest.$ac_objext'
28604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605 (eval $ac_try) 2>&5
28606 ac_status=$?
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; }; then
28609 glibcxx_cv_func_long_double_trig_use=yes
28610 else
28611 echo "$as_me: failed program was:" >&5
28612 sed 's/^/| /' conftest.$ac_ext >&5
28614 glibcxx_cv_func_long_double_trig_use=no
28616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28617 ac_ext=c
28618 ac_cpp='$CPP $CPPFLAGS'
28619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28626 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28627 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28637 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28640 echo "$as_me:$LINENO: checking for $ac_func" >&5
28641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28642 if eval "test \"\${$as_ac_var+set}\" = set"; then
28643 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 else
28645 if test x$gcc_no_link = xyes; then
28646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28648 { (exit 1); exit 1; }; }
28650 cat >conftest.$ac_ext <<_ACEOF
28651 /* confdefs.h. */
28652 _ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28658 #define $ac_func innocuous_$ac_func
28660 /* System header to define __stub macros and hopefully few prototypes,
28661 which can conflict with char $ac_func (); below.
28662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28663 <limits.h> exists even on freestanding compilers. */
28665 #ifdef __STDC__
28666 # include <limits.h>
28667 #else
28668 # include <assert.h>
28669 #endif
28671 #undef $ac_func
28673 /* Override any gcc2 internal prototype to avoid an error. */
28674 #ifdef __cplusplus
28675 extern "C"
28677 #endif
28678 /* We use char because int might match the return type of a gcc2
28679 builtin and then its argument prototype would still apply. */
28680 char $ac_func ();
28681 /* The GNU C library defines this for functions which it implements
28682 to always fail with ENOSYS. Some functions are actually named
28683 something starting with __ and the normal name is an alias. */
28684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28685 choke me
28686 #else
28687 char (*f) () = $ac_func;
28688 #endif
28689 #ifdef __cplusplus
28691 #endif
28694 main ()
28696 return f != $ac_func;
28698 return 0;
28700 _ACEOF
28701 rm -f conftest.$ac_objext conftest$ac_exeext
28702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28703 (eval $ac_link) 2>conftest.er1
28704 ac_status=$?
28705 grep -v '^ *+' conftest.er1 >conftest.err
28706 rm -f conftest.er1
28707 cat conftest.err >&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); } &&
28710 { ac_try='test -z "$ac_c_werror_flag"
28711 || test ! -s conftest.err'
28712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28713 (eval $ac_try) 2>&5
28714 ac_status=$?
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); }; } &&
28717 { ac_try='test -s conftest$ac_exeext'
28718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28719 (eval $ac_try) 2>&5
28720 ac_status=$?
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); }; }; then
28723 eval "$as_ac_var=yes"
28724 else
28725 echo "$as_me: failed program was:" >&5
28726 sed 's/^/| /' conftest.$ac_ext >&5
28728 eval "$as_ac_var=no"
28730 rm -f conftest.err conftest.$ac_objext \
28731 conftest$ac_exeext conftest.$ac_ext
28733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28735 if test `eval echo '${'$as_ac_var'}'` = yes; then
28736 cat >>confdefs.h <<_ACEOF
28737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28738 _ACEOF
28741 done
28743 else
28744 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28745 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28746 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28748 else
28752 ac_ext=cc
28753 ac_cpp='$CXXCPP $CPPFLAGS'
28754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28758 cat >conftest.$ac_ext <<_ACEOF
28759 /* confdefs.h. */
28760 _ACEOF
28761 cat confdefs.h >>conftest.$ac_ext
28762 cat >>conftest.$ac_ext <<_ACEOF
28763 /* end confdefs.h. */
28764 #include <math.h>
28766 main ()
28768 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28770 return 0;
28772 _ACEOF
28773 rm -f conftest.$ac_objext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28775 (eval $ac_compile) 2>conftest.er1
28776 ac_status=$?
28777 grep -v '^ *+' conftest.er1 >conftest.err
28778 rm -f conftest.er1
28779 cat conftest.err >&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } &&
28782 { ac_try='test -z "$ac_cxx_werror_flag"
28783 || test ! -s conftest.err'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28786 ac_status=$?
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; } &&
28789 { ac_try='test -s conftest.$ac_objext'
28790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28791 (eval $ac_try) 2>&5
28792 ac_status=$?
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); }; }; then
28795 glibcxx_cv_func__long_double_trig_use=yes
28796 else
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.$ac_ext >&5
28800 glibcxx_cv_func__long_double_trig_use=no
28802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28803 ac_ext=c
28804 ac_cpp='$CPP $CPPFLAGS'
28805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28812 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28813 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28823 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28826 echo "$as_me:$LINENO: checking for $ac_func" >&5
28827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28828 if eval "test \"\${$as_ac_var+set}\" = set"; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 else
28831 if test x$gcc_no_link = xyes; then
28832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28834 { (exit 1); exit 1; }; }
28836 cat >conftest.$ac_ext <<_ACEOF
28837 /* confdefs.h. */
28838 _ACEOF
28839 cat confdefs.h >>conftest.$ac_ext
28840 cat >>conftest.$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28844 #define $ac_func innocuous_$ac_func
28846 /* System header to define __stub macros and hopefully few prototypes,
28847 which can conflict with char $ac_func (); below.
28848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28849 <limits.h> exists even on freestanding compilers. */
28851 #ifdef __STDC__
28852 # include <limits.h>
28853 #else
28854 # include <assert.h>
28855 #endif
28857 #undef $ac_func
28859 /* Override any gcc2 internal prototype to avoid an error. */
28860 #ifdef __cplusplus
28861 extern "C"
28863 #endif
28864 /* We use char because int might match the return type of a gcc2
28865 builtin and then its argument prototype would still apply. */
28866 char $ac_func ();
28867 /* The GNU C library defines this for functions which it implements
28868 to always fail with ENOSYS. Some functions are actually named
28869 something starting with __ and the normal name is an alias. */
28870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28871 choke me
28872 #else
28873 char (*f) () = $ac_func;
28874 #endif
28875 #ifdef __cplusplus
28877 #endif
28880 main ()
28882 return f != $ac_func;
28884 return 0;
28886 _ACEOF
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28889 (eval $ac_link) 2>conftest.er1
28890 ac_status=$?
28891 grep -v '^ *+' conftest.er1 >conftest.err
28892 rm -f conftest.er1
28893 cat conftest.err >&5
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); } &&
28896 { ac_try='test -z "$ac_c_werror_flag"
28897 || test ! -s conftest.err'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28900 ac_status=$?
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; } &&
28903 { ac_try='test -s conftest$ac_exeext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 eval "$as_ac_var=yes"
28910 else
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.$ac_ext >&5
28914 eval "$as_ac_var=no"
28916 rm -f conftest.err conftest.$ac_objext \
28917 conftest$ac_exeext conftest.$ac_ext
28919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28921 if test `eval echo '${'$as_ac_var'}'` = yes; then
28922 cat >>confdefs.h <<_ACEOF
28923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28924 _ACEOF
28927 done
28945 echo "$as_me:$LINENO: checking for long double round functions" >&5
28946 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
28947 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
28948 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 else
28953 ac_ext=cc
28954 ac_cpp='$CXXCPP $CPPFLAGS'
28955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28959 cat >conftest.$ac_ext <<_ACEOF
28960 /* confdefs.h. */
28961 _ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28965 #include <math.h>
28967 main ()
28969 ceill (0); floorl (0);
28971 return 0;
28973 _ACEOF
28974 rm -f conftest.$ac_objext
28975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28976 (eval $ac_compile) 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } &&
28983 { ac_try='test -z "$ac_cxx_werror_flag"
28984 || test ! -s conftest.err'
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28987 ac_status=$?
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; } &&
28990 { ac_try='test -s conftest.$ac_objext'
28991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992 (eval $ac_try) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); }; }; then
28996 glibcxx_cv_func_long_double_round_use=yes
28997 else
28998 echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29001 glibcxx_cv_func_long_double_round_use=no
29003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29004 ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29013 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29014 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29017 for ac_func in ceill floorl
29019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29020 echo "$as_me:$LINENO: checking for $ac_func" >&5
29021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29022 if eval "test \"\${$as_ac_var+set}\" = set"; then
29023 echo $ECHO_N "(cached) $ECHO_C" >&6
29024 else
29025 if test x$gcc_no_link = xyes; then
29026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29028 { (exit 1); exit 1; }; }
29030 cat >conftest.$ac_ext <<_ACEOF
29031 /* confdefs.h. */
29032 _ACEOF
29033 cat confdefs.h >>conftest.$ac_ext
29034 cat >>conftest.$ac_ext <<_ACEOF
29035 /* end confdefs.h. */
29036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29038 #define $ac_func innocuous_$ac_func
29040 /* System header to define __stub macros and hopefully few prototypes,
29041 which can conflict with char $ac_func (); below.
29042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29043 <limits.h> exists even on freestanding compilers. */
29045 #ifdef __STDC__
29046 # include <limits.h>
29047 #else
29048 # include <assert.h>
29049 #endif
29051 #undef $ac_func
29053 /* Override any gcc2 internal prototype to avoid an error. */
29054 #ifdef __cplusplus
29055 extern "C"
29057 #endif
29058 /* We use char because int might match the return type of a gcc2
29059 builtin and then its argument prototype would still apply. */
29060 char $ac_func ();
29061 /* The GNU C library defines this for functions which it implements
29062 to always fail with ENOSYS. Some functions are actually named
29063 something starting with __ and the normal name is an alias. */
29064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29065 choke me
29066 #else
29067 char (*f) () = $ac_func;
29068 #endif
29069 #ifdef __cplusplus
29071 #endif
29074 main ()
29076 return f != $ac_func;
29078 return 0;
29080 _ACEOF
29081 rm -f conftest.$ac_objext conftest$ac_exeext
29082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29083 (eval $ac_link) 2>conftest.er1
29084 ac_status=$?
29085 grep -v '^ *+' conftest.er1 >conftest.err
29086 rm -f conftest.er1
29087 cat conftest.err >&5
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } &&
29090 { ac_try='test -z "$ac_c_werror_flag"
29091 || test ! -s conftest.err'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29094 ac_status=$?
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; } &&
29097 { ac_try='test -s conftest$ac_exeext'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29100 ac_status=$?
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103 eval "$as_ac_var=yes"
29104 else
29105 echo "$as_me: failed program was:" >&5
29106 sed 's/^/| /' conftest.$ac_ext >&5
29108 eval "$as_ac_var=no"
29110 rm -f conftest.err conftest.$ac_objext \
29111 conftest$ac_exeext conftest.$ac_ext
29113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29115 if test `eval echo '${'$as_ac_var'}'` = yes; then
29116 cat >>confdefs.h <<_ACEOF
29117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29118 _ACEOF
29121 done
29123 else
29124 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29125 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29126 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29127 echo $ECHO_N "(cached) $ECHO_C" >&6
29128 else
29132 ac_ext=cc
29133 ac_cpp='$CXXCPP $CPPFLAGS'
29134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29138 cat >conftest.$ac_ext <<_ACEOF
29139 /* confdefs.h. */
29140 _ACEOF
29141 cat confdefs.h >>conftest.$ac_ext
29142 cat >>conftest.$ac_ext <<_ACEOF
29143 /* end confdefs.h. */
29144 #include <math.h>
29146 main ()
29148 _ceill (0); _floorl (0);
29150 return 0;
29152 _ACEOF
29153 rm -f conftest.$ac_objext
29154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29155 (eval $ac_compile) 2>conftest.er1
29156 ac_status=$?
29157 grep -v '^ *+' conftest.er1 >conftest.err
29158 rm -f conftest.er1
29159 cat conftest.err >&5
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); } &&
29162 { ac_try='test -z "$ac_cxx_werror_flag"
29163 || test ! -s conftest.err'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29166 ac_status=$?
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; } &&
29169 { ac_try='test -s conftest.$ac_objext'
29170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29171 (eval $ac_try) 2>&5
29172 ac_status=$?
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); }; }; then
29175 glibcxx_cv_func__long_double_round_use=yes
29176 else
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29180 glibcxx_cv_func__long_double_round_use=no
29182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29183 ac_ext=c
29184 ac_cpp='$CPP $CPPFLAGS'
29185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29192 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29193 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29196 for ac_func in _ceill _floorl
29198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29199 echo "$as_me:$LINENO: checking for $ac_func" >&5
29200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29201 if eval "test \"\${$as_ac_var+set}\" = set"; then
29202 echo $ECHO_N "(cached) $ECHO_C" >&6
29203 else
29204 if test x$gcc_no_link = xyes; then
29205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29207 { (exit 1); exit 1; }; }
29209 cat >conftest.$ac_ext <<_ACEOF
29210 /* confdefs.h. */
29211 _ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29217 #define $ac_func innocuous_$ac_func
29219 /* System header to define __stub macros and hopefully few prototypes,
29220 which can conflict with char $ac_func (); below.
29221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29222 <limits.h> exists even on freestanding compilers. */
29224 #ifdef __STDC__
29225 # include <limits.h>
29226 #else
29227 # include <assert.h>
29228 #endif
29230 #undef $ac_func
29232 /* Override any gcc2 internal prototype to avoid an error. */
29233 #ifdef __cplusplus
29234 extern "C"
29236 #endif
29237 /* We use char because int might match the return type of a gcc2
29238 builtin and then its argument prototype would still apply. */
29239 char $ac_func ();
29240 /* The GNU C library defines this for functions which it implements
29241 to always fail with ENOSYS. Some functions are actually named
29242 something starting with __ and the normal name is an alias. */
29243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29244 choke me
29245 #else
29246 char (*f) () = $ac_func;
29247 #endif
29248 #ifdef __cplusplus
29250 #endif
29253 main ()
29255 return f != $ac_func;
29257 return 0;
29259 _ACEOF
29260 rm -f conftest.$ac_objext conftest$ac_exeext
29261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29262 (eval $ac_link) 2>conftest.er1
29263 ac_status=$?
29264 grep -v '^ *+' conftest.er1 >conftest.err
29265 rm -f conftest.er1
29266 cat conftest.err >&5
29267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29268 (exit $ac_status); } &&
29269 { ac_try='test -z "$ac_c_werror_flag"
29270 || test ! -s conftest.err'
29271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29272 (eval $ac_try) 2>&5
29273 ac_status=$?
29274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275 (exit $ac_status); }; } &&
29276 { ac_try='test -s conftest$ac_exeext'
29277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29278 (eval $ac_try) 2>&5
29279 ac_status=$?
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); }; }; then
29282 eval "$as_ac_var=yes"
29283 else
29284 echo "$as_me: failed program was:" >&5
29285 sed 's/^/| /' conftest.$ac_ext >&5
29287 eval "$as_ac_var=no"
29289 rm -f conftest.err conftest.$ac_objext \
29290 conftest$ac_exeext conftest.$ac_ext
29292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29294 if test `eval echo '${'$as_ac_var'}'` = yes; then
29295 cat >>confdefs.h <<_ACEOF
29296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29297 _ACEOF
29300 done
29312 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29313 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29314 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29315 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29316 echo $ECHO_N "(cached) $ECHO_C" >&6
29317 else
29321 ac_ext=cc
29322 ac_cpp='$CXXCPP $CPPFLAGS'
29323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29327 cat >conftest.$ac_ext <<_ACEOF
29328 /* confdefs.h. */
29329 _ACEOF
29330 cat confdefs.h >>conftest.$ac_ext
29331 cat >>conftest.$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29333 #include <math.h>
29334 #ifdef HAVE_IEEEFP_H
29335 #include <ieeefp.h>
29336 #endif
29339 main ()
29341 isnanl(0);
29343 return 0;
29345 _ACEOF
29346 rm -f conftest.$ac_objext
29347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29348 (eval $ac_compile) 2>conftest.er1
29349 ac_status=$?
29350 grep -v '^ *+' conftest.er1 >conftest.err
29351 rm -f conftest.er1
29352 cat conftest.err >&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); } &&
29355 { ac_try='test -z "$ac_cxx_werror_flag"
29356 || test ! -s conftest.err'
29357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29358 (eval $ac_try) 2>&5
29359 ac_status=$?
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); }; } &&
29362 { ac_try='test -s conftest.$ac_objext'
29363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29364 (eval $ac_try) 2>&5
29365 ac_status=$?
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); }; }; then
29368 glibcxx_cv_func_isnanl_use=yes
29369 else
29370 echo "$as_me: failed program was:" >&5
29371 sed 's/^/| /' conftest.$ac_ext >&5
29373 glibcxx_cv_func_isnanl_use=no
29375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29376 ac_ext=c
29377 ac_cpp='$CPP $CPPFLAGS'
29378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29387 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29389 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29391 for ac_func in isnanl
29393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29394 echo "$as_me:$LINENO: checking for $ac_func" >&5
29395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29396 if eval "test \"\${$as_ac_var+set}\" = set"; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29398 else
29399 if test x$gcc_no_link = xyes; then
29400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29402 { (exit 1); exit 1; }; }
29404 cat >conftest.$ac_ext <<_ACEOF
29405 /* confdefs.h. */
29406 _ACEOF
29407 cat confdefs.h >>conftest.$ac_ext
29408 cat >>conftest.$ac_ext <<_ACEOF
29409 /* end confdefs.h. */
29410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29412 #define $ac_func innocuous_$ac_func
29414 /* System header to define __stub macros and hopefully few prototypes,
29415 which can conflict with char $ac_func (); below.
29416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29417 <limits.h> exists even on freestanding compilers. */
29419 #ifdef __STDC__
29420 # include <limits.h>
29421 #else
29422 # include <assert.h>
29423 #endif
29425 #undef $ac_func
29427 /* Override any gcc2 internal prototype to avoid an error. */
29428 #ifdef __cplusplus
29429 extern "C"
29431 #endif
29432 /* We use char because int might match the return type of a gcc2
29433 builtin and then its argument prototype would still apply. */
29434 char $ac_func ();
29435 /* The GNU C library defines this for functions which it implements
29436 to always fail with ENOSYS. Some functions are actually named
29437 something starting with __ and the normal name is an alias. */
29438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29439 choke me
29440 #else
29441 char (*f) () = $ac_func;
29442 #endif
29443 #ifdef __cplusplus
29445 #endif
29448 main ()
29450 return f != $ac_func;
29452 return 0;
29454 _ACEOF
29455 rm -f conftest.$ac_objext conftest$ac_exeext
29456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29457 (eval $ac_link) 2>conftest.er1
29458 ac_status=$?
29459 grep -v '^ *+' conftest.er1 >conftest.err
29460 rm -f conftest.er1
29461 cat conftest.err >&5
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); } &&
29464 { ac_try='test -z "$ac_c_werror_flag"
29465 || test ! -s conftest.err'
29466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29467 (eval $ac_try) 2>&5
29468 ac_status=$?
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); }; } &&
29471 { ac_try='test -s conftest$ac_exeext'
29472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29473 (eval $ac_try) 2>&5
29474 ac_status=$?
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); }; }; then
29477 eval "$as_ac_var=yes"
29478 else
29479 echo "$as_me: failed program was:" >&5
29480 sed 's/^/| /' conftest.$ac_ext >&5
29482 eval "$as_ac_var=no"
29484 rm -f conftest.err conftest.$ac_objext \
29485 conftest$ac_exeext conftest.$ac_ext
29487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29489 if test `eval echo '${'$as_ac_var'}'` = yes; then
29490 cat >>confdefs.h <<_ACEOF
29491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29492 _ACEOF
29495 done
29497 else
29499 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29500 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29501 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29502 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 else
29508 ac_ext=cc
29509 ac_cpp='$CXXCPP $CPPFLAGS'
29510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29514 cat >conftest.$ac_ext <<_ACEOF
29515 /* confdefs.h. */
29516 _ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29520 #include <math.h>
29521 #ifdef HAVE_IEEEFP_H
29522 #include <ieeefp.h>
29523 #endif
29526 main ()
29528 _isnanl(0);
29530 return 0;
29532 _ACEOF
29533 rm -f conftest.$ac_objext
29534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29535 (eval $ac_compile) 2>conftest.er1
29536 ac_status=$?
29537 grep -v '^ *+' conftest.er1 >conftest.err
29538 rm -f conftest.er1
29539 cat conftest.err >&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); } &&
29542 { ac_try='test -z "$ac_cxx_werror_flag"
29543 || test ! -s conftest.err'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29546 ac_status=$?
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; } &&
29549 { ac_try='test -s conftest.$ac_objext'
29550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29551 (eval $ac_try) 2>&5
29552 ac_status=$?
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); }; }; then
29555 glibcxx_cv_func__isnanl_use=yes
29556 else
29557 echo "$as_me: failed program was:" >&5
29558 sed 's/^/| /' conftest.$ac_ext >&5
29560 glibcxx_cv_func__isnanl_use=no
29562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29563 ac_ext=c
29564 ac_cpp='$CPP $CPPFLAGS'
29565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29574 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29576 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29578 for ac_func in _isnanl
29580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29581 echo "$as_me:$LINENO: checking for $ac_func" >&5
29582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29583 if eval "test \"\${$as_ac_var+set}\" = set"; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 else
29586 if test x$gcc_no_link = xyes; then
29587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29589 { (exit 1); exit 1; }; }
29591 cat >conftest.$ac_ext <<_ACEOF
29592 /* confdefs.h. */
29593 _ACEOF
29594 cat confdefs.h >>conftest.$ac_ext
29595 cat >>conftest.$ac_ext <<_ACEOF
29596 /* end confdefs.h. */
29597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29599 #define $ac_func innocuous_$ac_func
29601 /* System header to define __stub macros and hopefully few prototypes,
29602 which can conflict with char $ac_func (); below.
29603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29604 <limits.h> exists even on freestanding compilers. */
29606 #ifdef __STDC__
29607 # include <limits.h>
29608 #else
29609 # include <assert.h>
29610 #endif
29612 #undef $ac_func
29614 /* Override any gcc2 internal prototype to avoid an error. */
29615 #ifdef __cplusplus
29616 extern "C"
29618 #endif
29619 /* We use char because int might match the return type of a gcc2
29620 builtin and then its argument prototype would still apply. */
29621 char $ac_func ();
29622 /* The GNU C library defines this for functions which it implements
29623 to always fail with ENOSYS. Some functions are actually named
29624 something starting with __ and the normal name is an alias. */
29625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29626 choke me
29627 #else
29628 char (*f) () = $ac_func;
29629 #endif
29630 #ifdef __cplusplus
29632 #endif
29635 main ()
29637 return f != $ac_func;
29639 return 0;
29641 _ACEOF
29642 rm -f conftest.$ac_objext conftest$ac_exeext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29644 (eval $ac_link) 2>conftest.er1
29645 ac_status=$?
29646 grep -v '^ *+' conftest.er1 >conftest.err
29647 rm -f conftest.er1
29648 cat conftest.err >&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try='test -z "$ac_c_werror_flag"
29652 || test ! -s conftest.err'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29655 ac_status=$?
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; } &&
29658 { ac_try='test -s conftest$ac_exeext'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29661 ac_status=$?
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; }; then
29664 eval "$as_ac_var=yes"
29665 else
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.$ac_ext >&5
29669 eval "$as_ac_var=no"
29671 rm -f conftest.err conftest.$ac_objext \
29672 conftest$ac_exeext conftest.$ac_ext
29674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29676 if test `eval echo '${'$as_ac_var'}'` = yes; then
29677 cat >>confdefs.h <<_ACEOF
29678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29679 _ACEOF
29682 done
29692 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29693 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29694 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29695 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29696 echo $ECHO_N "(cached) $ECHO_C" >&6
29697 else
29701 ac_ext=cc
29702 ac_cpp='$CXXCPP $CPPFLAGS'
29703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29707 cat >conftest.$ac_ext <<_ACEOF
29708 /* confdefs.h. */
29709 _ACEOF
29710 cat confdefs.h >>conftest.$ac_ext
29711 cat >>conftest.$ac_ext <<_ACEOF
29712 /* end confdefs.h. */
29713 #include <math.h>
29714 #ifdef HAVE_IEEEFP_H
29715 #include <ieeefp.h>
29716 #endif
29719 main ()
29721 isinfl(0);
29723 return 0;
29725 _ACEOF
29726 rm -f conftest.$ac_objext
29727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29728 (eval $ac_compile) 2>conftest.er1
29729 ac_status=$?
29730 grep -v '^ *+' conftest.er1 >conftest.err
29731 rm -f conftest.er1
29732 cat conftest.err >&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); } &&
29735 { ac_try='test -z "$ac_cxx_werror_flag"
29736 || test ! -s conftest.err'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29739 ac_status=$?
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; } &&
29742 { ac_try='test -s conftest.$ac_objext'
29743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29744 (eval $ac_try) 2>&5
29745 ac_status=$?
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); }; }; then
29748 glibcxx_cv_func_isinfl_use=yes
29749 else
29750 echo "$as_me: failed program was:" >&5
29751 sed 's/^/| /' conftest.$ac_ext >&5
29753 glibcxx_cv_func_isinfl_use=no
29755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29756 ac_ext=c
29757 ac_cpp='$CPP $CPPFLAGS'
29758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29767 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29769 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29771 for ac_func in isinfl
29773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29774 echo "$as_me:$LINENO: checking for $ac_func" >&5
29775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29776 if eval "test \"\${$as_ac_var+set}\" = set"; then
29777 echo $ECHO_N "(cached) $ECHO_C" >&6
29778 else
29779 if test x$gcc_no_link = xyes; then
29780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29782 { (exit 1); exit 1; }; }
29784 cat >conftest.$ac_ext <<_ACEOF
29785 /* confdefs.h. */
29786 _ACEOF
29787 cat confdefs.h >>conftest.$ac_ext
29788 cat >>conftest.$ac_ext <<_ACEOF
29789 /* end confdefs.h. */
29790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29792 #define $ac_func innocuous_$ac_func
29794 /* System header to define __stub macros and hopefully few prototypes,
29795 which can conflict with char $ac_func (); below.
29796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29797 <limits.h> exists even on freestanding compilers. */
29799 #ifdef __STDC__
29800 # include <limits.h>
29801 #else
29802 # include <assert.h>
29803 #endif
29805 #undef $ac_func
29807 /* Override any gcc2 internal prototype to avoid an error. */
29808 #ifdef __cplusplus
29809 extern "C"
29811 #endif
29812 /* We use char because int might match the return type of a gcc2
29813 builtin and then its argument prototype would still apply. */
29814 char $ac_func ();
29815 /* The GNU C library defines this for functions which it implements
29816 to always fail with ENOSYS. Some functions are actually named
29817 something starting with __ and the normal name is an alias. */
29818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29819 choke me
29820 #else
29821 char (*f) () = $ac_func;
29822 #endif
29823 #ifdef __cplusplus
29825 #endif
29828 main ()
29830 return f != $ac_func;
29832 return 0;
29834 _ACEOF
29835 rm -f conftest.$ac_objext conftest$ac_exeext
29836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29837 (eval $ac_link) 2>conftest.er1
29838 ac_status=$?
29839 grep -v '^ *+' conftest.er1 >conftest.err
29840 rm -f conftest.er1
29841 cat conftest.err >&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } &&
29844 { ac_try='test -z "$ac_c_werror_flag"
29845 || test ! -s conftest.err'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29848 ac_status=$?
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; } &&
29851 { ac_try='test -s conftest$ac_exeext'
29852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29853 (eval $ac_try) 2>&5
29854 ac_status=$?
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); }; }; then
29857 eval "$as_ac_var=yes"
29858 else
29859 echo "$as_me: failed program was:" >&5
29860 sed 's/^/| /' conftest.$ac_ext >&5
29862 eval "$as_ac_var=no"
29864 rm -f conftest.err conftest.$ac_objext \
29865 conftest$ac_exeext conftest.$ac_ext
29867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29869 if test `eval echo '${'$as_ac_var'}'` = yes; then
29870 cat >>confdefs.h <<_ACEOF
29871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29872 _ACEOF
29875 done
29877 else
29879 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29880 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29881 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29882 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29883 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 else
29888 ac_ext=cc
29889 ac_cpp='$CXXCPP $CPPFLAGS'
29890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29894 cat >conftest.$ac_ext <<_ACEOF
29895 /* confdefs.h. */
29896 _ACEOF
29897 cat confdefs.h >>conftest.$ac_ext
29898 cat >>conftest.$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29900 #include <math.h>
29901 #ifdef HAVE_IEEEFP_H
29902 #include <ieeefp.h>
29903 #endif
29906 main ()
29908 _isinfl(0);
29910 return 0;
29912 _ACEOF
29913 rm -f conftest.$ac_objext
29914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29915 (eval $ac_compile) 2>conftest.er1
29916 ac_status=$?
29917 grep -v '^ *+' conftest.er1 >conftest.err
29918 rm -f conftest.er1
29919 cat conftest.err >&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } &&
29922 { ac_try='test -z "$ac_cxx_werror_flag"
29923 || test ! -s conftest.err'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29926 ac_status=$?
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; } &&
29929 { ac_try='test -s conftest.$ac_objext'
29930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29931 (eval $ac_try) 2>&5
29932 ac_status=$?
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); }; }; then
29935 glibcxx_cv_func__isinfl_use=yes
29936 else
29937 echo "$as_me: failed program was:" >&5
29938 sed 's/^/| /' conftest.$ac_ext >&5
29940 glibcxx_cv_func__isinfl_use=no
29942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29943 ac_ext=c
29944 ac_cpp='$CPP $CPPFLAGS'
29945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
29954 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
29956 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
29958 for ac_func in _isinfl
29960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29961 echo "$as_me:$LINENO: checking for $ac_func" >&5
29962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29963 if eval "test \"\${$as_ac_var+set}\" = set"; then
29964 echo $ECHO_N "(cached) $ECHO_C" >&6
29965 else
29966 if test x$gcc_no_link = xyes; then
29967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29969 { (exit 1); exit 1; }; }
29971 cat >conftest.$ac_ext <<_ACEOF
29972 /* confdefs.h. */
29973 _ACEOF
29974 cat confdefs.h >>conftest.$ac_ext
29975 cat >>conftest.$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29979 #define $ac_func innocuous_$ac_func
29981 /* System header to define __stub macros and hopefully few prototypes,
29982 which can conflict with char $ac_func (); below.
29983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29984 <limits.h> exists even on freestanding compilers. */
29986 #ifdef __STDC__
29987 # include <limits.h>
29988 #else
29989 # include <assert.h>
29990 #endif
29992 #undef $ac_func
29994 /* Override any gcc2 internal prototype to avoid an error. */
29995 #ifdef __cplusplus
29996 extern "C"
29998 #endif
29999 /* We use char because int might match the return type of a gcc2
30000 builtin and then its argument prototype would still apply. */
30001 char $ac_func ();
30002 /* The GNU C library defines this for functions which it implements
30003 to always fail with ENOSYS. Some functions are actually named
30004 something starting with __ and the normal name is an alias. */
30005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30006 choke me
30007 #else
30008 char (*f) () = $ac_func;
30009 #endif
30010 #ifdef __cplusplus
30012 #endif
30015 main ()
30017 return f != $ac_func;
30019 return 0;
30021 _ACEOF
30022 rm -f conftest.$ac_objext conftest$ac_exeext
30023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30024 (eval $ac_link) 2>conftest.er1
30025 ac_status=$?
30026 grep -v '^ *+' conftest.er1 >conftest.err
30027 rm -f conftest.er1
30028 cat conftest.err >&5
30029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30030 (exit $ac_status); } &&
30031 { ac_try='test -z "$ac_c_werror_flag"
30032 || test ! -s conftest.err'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30035 ac_status=$?
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; } &&
30038 { ac_try='test -s conftest$ac_exeext'
30039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30040 (eval $ac_try) 2>&5
30041 ac_status=$?
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); }; }; then
30044 eval "$as_ac_var=yes"
30045 else
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30049 eval "$as_ac_var=no"
30051 rm -f conftest.err conftest.$ac_objext \
30052 conftest$ac_exeext conftest.$ac_ext
30054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30056 if test `eval echo '${'$as_ac_var'}'` = yes; then
30057 cat >>confdefs.h <<_ACEOF
30058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30059 _ACEOF
30062 done
30072 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30073 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30074 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30075 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30076 echo $ECHO_N "(cached) $ECHO_C" >&6
30077 else
30081 ac_ext=cc
30082 ac_cpp='$CXXCPP $CPPFLAGS'
30083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30087 cat >conftest.$ac_ext <<_ACEOF
30088 /* confdefs.h. */
30089 _ACEOF
30090 cat confdefs.h >>conftest.$ac_ext
30091 cat >>conftest.$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093 #include <math.h>
30095 main ()
30097 copysignl(0, 0);
30099 return 0;
30101 _ACEOF
30102 rm -f conftest.$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30105 ac_status=$?
30106 grep -v '^ *+' conftest.er1 >conftest.err
30107 rm -f conftest.er1
30108 cat conftest.err >&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try='test -z "$ac_cxx_werror_flag"
30112 || test ! -s conftest.err'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; } &&
30118 { ac_try='test -s conftest.$ac_objext'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30121 ac_status=$?
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; }; then
30124 glibcxx_cv_func_copysignl_use=yes
30125 else
30126 echo "$as_me: failed program was:" >&5
30127 sed 's/^/| /' conftest.$ac_ext >&5
30129 glibcxx_cv_func_copysignl_use=no
30131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30132 ac_ext=c
30133 ac_cpp='$CPP $CPPFLAGS'
30134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30143 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30145 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30147 for ac_func in copysignl
30149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30150 echo "$as_me:$LINENO: checking for $ac_func" >&5
30151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30152 if eval "test \"\${$as_ac_var+set}\" = set"; then
30153 echo $ECHO_N "(cached) $ECHO_C" >&6
30154 else
30155 if test x$gcc_no_link = xyes; then
30156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30158 { (exit 1); exit 1; }; }
30160 cat >conftest.$ac_ext <<_ACEOF
30161 /* confdefs.h. */
30162 _ACEOF
30163 cat confdefs.h >>conftest.$ac_ext
30164 cat >>conftest.$ac_ext <<_ACEOF
30165 /* end confdefs.h. */
30166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30168 #define $ac_func innocuous_$ac_func
30170 /* System header to define __stub macros and hopefully few prototypes,
30171 which can conflict with char $ac_func (); below.
30172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30173 <limits.h> exists even on freestanding compilers. */
30175 #ifdef __STDC__
30176 # include <limits.h>
30177 #else
30178 # include <assert.h>
30179 #endif
30181 #undef $ac_func
30183 /* Override any gcc2 internal prototype to avoid an error. */
30184 #ifdef __cplusplus
30185 extern "C"
30187 #endif
30188 /* We use char because int might match the return type of a gcc2
30189 builtin and then its argument prototype would still apply. */
30190 char $ac_func ();
30191 /* The GNU C library defines this for functions which it implements
30192 to always fail with ENOSYS. Some functions are actually named
30193 something starting with __ and the normal name is an alias. */
30194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30195 choke me
30196 #else
30197 char (*f) () = $ac_func;
30198 #endif
30199 #ifdef __cplusplus
30201 #endif
30204 main ()
30206 return f != $ac_func;
30208 return 0;
30210 _ACEOF
30211 rm -f conftest.$ac_objext conftest$ac_exeext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30213 (eval $ac_link) 2>conftest.er1
30214 ac_status=$?
30215 grep -v '^ *+' conftest.er1 >conftest.err
30216 rm -f conftest.er1
30217 cat conftest.err >&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } &&
30220 { ac_try='test -z "$ac_c_werror_flag"
30221 || test ! -s conftest.err'
30222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223 (eval $ac_try) 2>&5
30224 ac_status=$?
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; } &&
30227 { ac_try='test -s conftest$ac_exeext'
30228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30229 (eval $ac_try) 2>&5
30230 ac_status=$?
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); }; }; then
30233 eval "$as_ac_var=yes"
30234 else
30235 echo "$as_me: failed program was:" >&5
30236 sed 's/^/| /' conftest.$ac_ext >&5
30238 eval "$as_ac_var=no"
30240 rm -f conftest.err conftest.$ac_objext \
30241 conftest$ac_exeext conftest.$ac_ext
30243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30245 if test `eval echo '${'$as_ac_var'}'` = yes; then
30246 cat >>confdefs.h <<_ACEOF
30247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30248 _ACEOF
30251 done
30253 else
30255 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30256 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30257 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30258 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30259 echo $ECHO_N "(cached) $ECHO_C" >&6
30260 else
30264 ac_ext=cc
30265 ac_cpp='$CXXCPP $CPPFLAGS'
30266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30270 cat >conftest.$ac_ext <<_ACEOF
30271 /* confdefs.h. */
30272 _ACEOF
30273 cat confdefs.h >>conftest.$ac_ext
30274 cat >>conftest.$ac_ext <<_ACEOF
30275 /* end confdefs.h. */
30276 #include <math.h>
30278 main ()
30280 _copysignl(0, 0);
30282 return 0;
30284 _ACEOF
30285 rm -f conftest.$ac_objext
30286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30287 (eval $ac_compile) 2>conftest.er1
30288 ac_status=$?
30289 grep -v '^ *+' conftest.er1 >conftest.err
30290 rm -f conftest.er1
30291 cat conftest.err >&5
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); } &&
30294 { ac_try='test -z "$ac_cxx_werror_flag"
30295 || test ! -s conftest.err'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30298 ac_status=$?
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; } &&
30301 { ac_try='test -s conftest.$ac_objext'
30302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30303 (eval $ac_try) 2>&5
30304 ac_status=$?
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); }; }; then
30307 glibcxx_cv_func__copysignl_use=yes
30308 else
30309 echo "$as_me: failed program was:" >&5
30310 sed 's/^/| /' conftest.$ac_ext >&5
30312 glibcxx_cv_func__copysignl_use=no
30314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30315 ac_ext=c
30316 ac_cpp='$CPP $CPPFLAGS'
30317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30326 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30328 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30330 for ac_func in _copysignl
30332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30333 echo "$as_me:$LINENO: checking for $ac_func" >&5
30334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30335 if eval "test \"\${$as_ac_var+set}\" = set"; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 else
30338 if test x$gcc_no_link = xyes; then
30339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30341 { (exit 1); exit 1; }; }
30343 cat >conftest.$ac_ext <<_ACEOF
30344 /* confdefs.h. */
30345 _ACEOF
30346 cat confdefs.h >>conftest.$ac_ext
30347 cat >>conftest.$ac_ext <<_ACEOF
30348 /* end confdefs.h. */
30349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30351 #define $ac_func innocuous_$ac_func
30353 /* System header to define __stub macros and hopefully few prototypes,
30354 which can conflict with char $ac_func (); below.
30355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30356 <limits.h> exists even on freestanding compilers. */
30358 #ifdef __STDC__
30359 # include <limits.h>
30360 #else
30361 # include <assert.h>
30362 #endif
30364 #undef $ac_func
30366 /* Override any gcc2 internal prototype to avoid an error. */
30367 #ifdef __cplusplus
30368 extern "C"
30370 #endif
30371 /* We use char because int might match the return type of a gcc2
30372 builtin and then its argument prototype would still apply. */
30373 char $ac_func ();
30374 /* The GNU C library defines this for functions which it implements
30375 to always fail with ENOSYS. Some functions are actually named
30376 something starting with __ and the normal name is an alias. */
30377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30378 choke me
30379 #else
30380 char (*f) () = $ac_func;
30381 #endif
30382 #ifdef __cplusplus
30384 #endif
30387 main ()
30389 return f != $ac_func;
30391 return 0;
30393 _ACEOF
30394 rm -f conftest.$ac_objext conftest$ac_exeext
30395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30396 (eval $ac_link) 2>conftest.er1
30397 ac_status=$?
30398 grep -v '^ *+' conftest.er1 >conftest.err
30399 rm -f conftest.er1
30400 cat conftest.err >&5
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); } &&
30403 { ac_try='test -z "$ac_c_werror_flag"
30404 || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30407 ac_status=$?
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try='test -s conftest$ac_exeext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30413 ac_status=$?
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 eval "$as_ac_var=yes"
30417 else
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.$ac_ext >&5
30421 eval "$as_ac_var=no"
30423 rm -f conftest.err conftest.$ac_objext \
30424 conftest$ac_exeext conftest.$ac_ext
30426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30428 if test `eval echo '${'$as_ac_var'}'` = yes; then
30429 cat >>confdefs.h <<_ACEOF
30430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30431 _ACEOF
30434 done
30444 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30445 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30446 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30447 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30448 echo $ECHO_N "(cached) $ECHO_C" >&6
30449 else
30453 ac_ext=cc
30454 ac_cpp='$CXXCPP $CPPFLAGS'
30455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30459 cat >conftest.$ac_ext <<_ACEOF
30460 /* confdefs.h. */
30461 _ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 #include <math.h>
30467 main ()
30469 atan2l(0, 0);
30471 return 0;
30473 _ACEOF
30474 rm -f conftest.$ac_objext
30475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30476 (eval $ac_compile) 2>conftest.er1
30477 ac_status=$?
30478 grep -v '^ *+' conftest.er1 >conftest.err
30479 rm -f conftest.er1
30480 cat conftest.err >&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); } &&
30483 { ac_try='test -z "$ac_cxx_werror_flag"
30484 || test ! -s conftest.err'
30485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30486 (eval $ac_try) 2>&5
30487 ac_status=$?
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); }; } &&
30490 { ac_try='test -s conftest.$ac_objext'
30491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30492 (eval $ac_try) 2>&5
30493 ac_status=$?
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); }; }; then
30496 glibcxx_cv_func_atan2l_use=yes
30497 else
30498 echo "$as_me: failed program was:" >&5
30499 sed 's/^/| /' conftest.$ac_ext >&5
30501 glibcxx_cv_func_atan2l_use=no
30503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30504 ac_ext=c
30505 ac_cpp='$CPP $CPPFLAGS'
30506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30515 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30517 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30519 for ac_func in atan2l
30521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30522 echo "$as_me:$LINENO: checking for $ac_func" >&5
30523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30524 if eval "test \"\${$as_ac_var+set}\" = set"; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 else
30527 if test x$gcc_no_link = xyes; then
30528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30530 { (exit 1); exit 1; }; }
30532 cat >conftest.$ac_ext <<_ACEOF
30533 /* confdefs.h. */
30534 _ACEOF
30535 cat confdefs.h >>conftest.$ac_ext
30536 cat >>conftest.$ac_ext <<_ACEOF
30537 /* end confdefs.h. */
30538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30540 #define $ac_func innocuous_$ac_func
30542 /* System header to define __stub macros and hopefully few prototypes,
30543 which can conflict with char $ac_func (); below.
30544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30545 <limits.h> exists even on freestanding compilers. */
30547 #ifdef __STDC__
30548 # include <limits.h>
30549 #else
30550 # include <assert.h>
30551 #endif
30553 #undef $ac_func
30555 /* Override any gcc2 internal prototype to avoid an error. */
30556 #ifdef __cplusplus
30557 extern "C"
30559 #endif
30560 /* We use char because int might match the return type of a gcc2
30561 builtin and then its argument prototype would still apply. */
30562 char $ac_func ();
30563 /* The GNU C library defines this for functions which it implements
30564 to always fail with ENOSYS. Some functions are actually named
30565 something starting with __ and the normal name is an alias. */
30566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30567 choke me
30568 #else
30569 char (*f) () = $ac_func;
30570 #endif
30571 #ifdef __cplusplus
30573 #endif
30576 main ()
30578 return f != $ac_func;
30580 return 0;
30582 _ACEOF
30583 rm -f conftest.$ac_objext conftest$ac_exeext
30584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30585 (eval $ac_link) 2>conftest.er1
30586 ac_status=$?
30587 grep -v '^ *+' conftest.er1 >conftest.err
30588 rm -f conftest.er1
30589 cat conftest.err >&5
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); } &&
30592 { ac_try='test -z "$ac_c_werror_flag"
30593 || test ! -s conftest.err'
30594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30595 (eval $ac_try) 2>&5
30596 ac_status=$?
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); }; } &&
30599 { ac_try='test -s conftest$ac_exeext'
30600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30601 (eval $ac_try) 2>&5
30602 ac_status=$?
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); }; }; then
30605 eval "$as_ac_var=yes"
30606 else
30607 echo "$as_me: failed program was:" >&5
30608 sed 's/^/| /' conftest.$ac_ext >&5
30610 eval "$as_ac_var=no"
30612 rm -f conftest.err conftest.$ac_objext \
30613 conftest$ac_exeext conftest.$ac_ext
30615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30617 if test `eval echo '${'$as_ac_var'}'` = yes; then
30618 cat >>confdefs.h <<_ACEOF
30619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30620 _ACEOF
30623 done
30625 else
30627 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30628 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30629 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30630 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30631 echo $ECHO_N "(cached) $ECHO_C" >&6
30632 else
30636 ac_ext=cc
30637 ac_cpp='$CXXCPP $CPPFLAGS'
30638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30642 cat >conftest.$ac_ext <<_ACEOF
30643 /* confdefs.h. */
30644 _ACEOF
30645 cat confdefs.h >>conftest.$ac_ext
30646 cat >>conftest.$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 #include <math.h>
30650 main ()
30652 _atan2l(0, 0);
30654 return 0;
30656 _ACEOF
30657 rm -f conftest.$ac_objext
30658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30659 (eval $ac_compile) 2>conftest.er1
30660 ac_status=$?
30661 grep -v '^ *+' conftest.er1 >conftest.err
30662 rm -f conftest.er1
30663 cat conftest.err >&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } &&
30666 { ac_try='test -z "$ac_cxx_werror_flag"
30667 || test ! -s conftest.err'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30670 ac_status=$?
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; } &&
30673 { ac_try='test -s conftest.$ac_objext'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30676 ac_status=$?
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; }; then
30679 glibcxx_cv_func__atan2l_use=yes
30680 else
30681 echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30684 glibcxx_cv_func__atan2l_use=no
30686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30687 ac_ext=c
30688 ac_cpp='$CPP $CPPFLAGS'
30689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30698 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30700 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30702 for ac_func in _atan2l
30704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30705 echo "$as_me:$LINENO: checking for $ac_func" >&5
30706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30707 if eval "test \"\${$as_ac_var+set}\" = set"; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30709 else
30710 if test x$gcc_no_link = xyes; then
30711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30713 { (exit 1); exit 1; }; }
30715 cat >conftest.$ac_ext <<_ACEOF
30716 /* confdefs.h. */
30717 _ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30723 #define $ac_func innocuous_$ac_func
30725 /* System header to define __stub macros and hopefully few prototypes,
30726 which can conflict with char $ac_func (); below.
30727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30728 <limits.h> exists even on freestanding compilers. */
30730 #ifdef __STDC__
30731 # include <limits.h>
30732 #else
30733 # include <assert.h>
30734 #endif
30736 #undef $ac_func
30738 /* Override any gcc2 internal prototype to avoid an error. */
30739 #ifdef __cplusplus
30740 extern "C"
30742 #endif
30743 /* We use char because int might match the return type of a gcc2
30744 builtin and then its argument prototype would still apply. */
30745 char $ac_func ();
30746 /* The GNU C library defines this for functions which it implements
30747 to always fail with ENOSYS. Some functions are actually named
30748 something starting with __ and the normal name is an alias. */
30749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30750 choke me
30751 #else
30752 char (*f) () = $ac_func;
30753 #endif
30754 #ifdef __cplusplus
30756 #endif
30759 main ()
30761 return f != $ac_func;
30763 return 0;
30765 _ACEOF
30766 rm -f conftest.$ac_objext conftest$ac_exeext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30768 (eval $ac_link) 2>conftest.er1
30769 ac_status=$?
30770 grep -v '^ *+' conftest.er1 >conftest.err
30771 rm -f conftest.er1
30772 cat conftest.err >&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); } &&
30775 { ac_try='test -z "$ac_c_werror_flag"
30776 || test ! -s conftest.err'
30777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30778 (eval $ac_try) 2>&5
30779 ac_status=$?
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); }; } &&
30782 { ac_try='test -s conftest$ac_exeext'
30783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30784 (eval $ac_try) 2>&5
30785 ac_status=$?
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; }; then
30788 eval "$as_ac_var=yes"
30789 else
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30793 eval "$as_ac_var=no"
30795 rm -f conftest.err conftest.$ac_objext \
30796 conftest$ac_exeext conftest.$ac_ext
30798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30800 if test `eval echo '${'$as_ac_var'}'` = yes; then
30801 cat >>confdefs.h <<_ACEOF
30802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30803 _ACEOF
30806 done
30816 echo "$as_me:$LINENO: checking for expl declaration" >&5
30817 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30818 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30819 if test "${glibcxx_cv_func_expl_use+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 else
30825 ac_ext=cc
30826 ac_cpp='$CXXCPP $CPPFLAGS'
30827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30831 cat >conftest.$ac_ext <<_ACEOF
30832 /* confdefs.h. */
30833 _ACEOF
30834 cat confdefs.h >>conftest.$ac_ext
30835 cat >>conftest.$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30837 #include <math.h>
30838 #ifdef HAVE_IEEEFP_H
30839 #include <ieeefp.h>
30840 #endif
30843 main ()
30845 expl(0);
30847 return 0;
30849 _ACEOF
30850 rm -f conftest.$ac_objext
30851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30852 (eval $ac_compile) 2>conftest.er1
30853 ac_status=$?
30854 grep -v '^ *+' conftest.er1 >conftest.err
30855 rm -f conftest.er1
30856 cat conftest.err >&5
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); } &&
30859 { ac_try='test -z "$ac_cxx_werror_flag"
30860 || test ! -s conftest.err'
30861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30862 (eval $ac_try) 2>&5
30863 ac_status=$?
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); }; } &&
30866 { ac_try='test -s conftest.$ac_objext'
30867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30868 (eval $ac_try) 2>&5
30869 ac_status=$?
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); }; }; then
30872 glibcxx_cv_func_expl_use=yes
30873 else
30874 echo "$as_me: failed program was:" >&5
30875 sed 's/^/| /' conftest.$ac_ext >&5
30877 glibcxx_cv_func_expl_use=no
30879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30880 ac_ext=c
30881 ac_cpp='$CPP $CPPFLAGS'
30882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30891 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30893 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30895 for ac_func in expl
30897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30898 echo "$as_me:$LINENO: checking for $ac_func" >&5
30899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30900 if eval "test \"\${$as_ac_var+set}\" = set"; then
30901 echo $ECHO_N "(cached) $ECHO_C" >&6
30902 else
30903 if test x$gcc_no_link = xyes; then
30904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30906 { (exit 1); exit 1; }; }
30908 cat >conftest.$ac_ext <<_ACEOF
30909 /* confdefs.h. */
30910 _ACEOF
30911 cat confdefs.h >>conftest.$ac_ext
30912 cat >>conftest.$ac_ext <<_ACEOF
30913 /* end confdefs.h. */
30914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30916 #define $ac_func innocuous_$ac_func
30918 /* System header to define __stub macros and hopefully few prototypes,
30919 which can conflict with char $ac_func (); below.
30920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30921 <limits.h> exists even on freestanding compilers. */
30923 #ifdef __STDC__
30924 # include <limits.h>
30925 #else
30926 # include <assert.h>
30927 #endif
30929 #undef $ac_func
30931 /* Override any gcc2 internal prototype to avoid an error. */
30932 #ifdef __cplusplus
30933 extern "C"
30935 #endif
30936 /* We use char because int might match the return type of a gcc2
30937 builtin and then its argument prototype would still apply. */
30938 char $ac_func ();
30939 /* The GNU C library defines this for functions which it implements
30940 to always fail with ENOSYS. Some functions are actually named
30941 something starting with __ and the normal name is an alias. */
30942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30943 choke me
30944 #else
30945 char (*f) () = $ac_func;
30946 #endif
30947 #ifdef __cplusplus
30949 #endif
30952 main ()
30954 return f != $ac_func;
30956 return 0;
30958 _ACEOF
30959 rm -f conftest.$ac_objext conftest$ac_exeext
30960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30961 (eval $ac_link) 2>conftest.er1
30962 ac_status=$?
30963 grep -v '^ *+' conftest.er1 >conftest.err
30964 rm -f conftest.er1
30965 cat conftest.err >&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); } &&
30968 { ac_try='test -z "$ac_c_werror_flag"
30969 || test ! -s conftest.err'
30970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30971 (eval $ac_try) 2>&5
30972 ac_status=$?
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); }; } &&
30975 { ac_try='test -s conftest$ac_exeext'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30978 ac_status=$?
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; }; then
30981 eval "$as_ac_var=yes"
30982 else
30983 echo "$as_me: failed program was:" >&5
30984 sed 's/^/| /' conftest.$ac_ext >&5
30986 eval "$as_ac_var=no"
30988 rm -f conftest.err conftest.$ac_objext \
30989 conftest$ac_exeext conftest.$ac_ext
30991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30993 if test `eval echo '${'$as_ac_var'}'` = yes; then
30994 cat >>confdefs.h <<_ACEOF
30995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30996 _ACEOF
30999 done
31001 else
31003 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31004 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31005 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31006 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31007 echo $ECHO_N "(cached) $ECHO_C" >&6
31008 else
31012 ac_ext=cc
31013 ac_cpp='$CXXCPP $CPPFLAGS'
31014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31018 cat >conftest.$ac_ext <<_ACEOF
31019 /* confdefs.h. */
31020 _ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31024 #include <math.h>
31025 #ifdef HAVE_IEEEFP_H
31026 #include <ieeefp.h>
31027 #endif
31030 main ()
31032 _expl(0);
31034 return 0;
31036 _ACEOF
31037 rm -f conftest.$ac_objext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31039 (eval $ac_compile) 2>conftest.er1
31040 ac_status=$?
31041 grep -v '^ *+' conftest.er1 >conftest.err
31042 rm -f conftest.er1
31043 cat conftest.err >&5
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); } &&
31046 { ac_try='test -z "$ac_cxx_werror_flag"
31047 || test ! -s conftest.err'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31050 ac_status=$?
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; } &&
31053 { ac_try='test -s conftest.$ac_objext'
31054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055 (eval $ac_try) 2>&5
31056 ac_status=$?
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); }; }; then
31059 glibcxx_cv_func__expl_use=yes
31060 else
31061 echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31064 glibcxx_cv_func__expl_use=no
31066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31067 ac_ext=c
31068 ac_cpp='$CPP $CPPFLAGS'
31069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31078 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31080 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31082 for ac_func in _expl
31084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31085 echo "$as_me:$LINENO: checking for $ac_func" >&5
31086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31087 if eval "test \"\${$as_ac_var+set}\" = set"; then
31088 echo $ECHO_N "(cached) $ECHO_C" >&6
31089 else
31090 if test x$gcc_no_link = xyes; then
31091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31093 { (exit 1); exit 1; }; }
31095 cat >conftest.$ac_ext <<_ACEOF
31096 /* confdefs.h. */
31097 _ACEOF
31098 cat confdefs.h >>conftest.$ac_ext
31099 cat >>conftest.$ac_ext <<_ACEOF
31100 /* end confdefs.h. */
31101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31103 #define $ac_func innocuous_$ac_func
31105 /* System header to define __stub macros and hopefully few prototypes,
31106 which can conflict with char $ac_func (); below.
31107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31108 <limits.h> exists even on freestanding compilers. */
31110 #ifdef __STDC__
31111 # include <limits.h>
31112 #else
31113 # include <assert.h>
31114 #endif
31116 #undef $ac_func
31118 /* Override any gcc2 internal prototype to avoid an error. */
31119 #ifdef __cplusplus
31120 extern "C"
31122 #endif
31123 /* We use char because int might match the return type of a gcc2
31124 builtin and then its argument prototype would still apply. */
31125 char $ac_func ();
31126 /* The GNU C library defines this for functions which it implements
31127 to always fail with ENOSYS. Some functions are actually named
31128 something starting with __ and the normal name is an alias. */
31129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31130 choke me
31131 #else
31132 char (*f) () = $ac_func;
31133 #endif
31134 #ifdef __cplusplus
31136 #endif
31139 main ()
31141 return f != $ac_func;
31143 return 0;
31145 _ACEOF
31146 rm -f conftest.$ac_objext conftest$ac_exeext
31147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31148 (eval $ac_link) 2>conftest.er1
31149 ac_status=$?
31150 grep -v '^ *+' conftest.er1 >conftest.err
31151 rm -f conftest.er1
31152 cat conftest.err >&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); } &&
31155 { ac_try='test -z "$ac_c_werror_flag"
31156 || test ! -s conftest.err'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31159 ac_status=$?
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; } &&
31162 { ac_try='test -s conftest$ac_exeext'
31163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31164 (eval $ac_try) 2>&5
31165 ac_status=$?
31166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167 (exit $ac_status); }; }; then
31168 eval "$as_ac_var=yes"
31169 else
31170 echo "$as_me: failed program was:" >&5
31171 sed 's/^/| /' conftest.$ac_ext >&5
31173 eval "$as_ac_var=no"
31175 rm -f conftest.err conftest.$ac_objext \
31176 conftest$ac_exeext conftest.$ac_ext
31178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31180 if test `eval echo '${'$as_ac_var'}'` = yes; then
31181 cat >>confdefs.h <<_ACEOF
31182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31183 _ACEOF
31186 done
31196 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31197 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31198 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31199 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31201 else
31205 ac_ext=cc
31206 ac_cpp='$CXXCPP $CPPFLAGS'
31207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31211 cat >conftest.$ac_ext <<_ACEOF
31212 /* confdefs.h. */
31213 _ACEOF
31214 cat confdefs.h >>conftest.$ac_ext
31215 cat >>conftest.$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31217 #include <math.h>
31218 #ifdef HAVE_IEEEFP_H
31219 #include <ieeefp.h>
31220 #endif
31223 main ()
31225 fabsl(0);
31227 return 0;
31229 _ACEOF
31230 rm -f conftest.$ac_objext
31231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31232 (eval $ac_compile) 2>conftest.er1
31233 ac_status=$?
31234 grep -v '^ *+' conftest.er1 >conftest.err
31235 rm -f conftest.er1
31236 cat conftest.err >&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); } &&
31239 { ac_try='test -z "$ac_cxx_werror_flag"
31240 || test ! -s conftest.err'
31241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31242 (eval $ac_try) 2>&5
31243 ac_status=$?
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); }; } &&
31246 { ac_try='test -s conftest.$ac_objext'
31247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31248 (eval $ac_try) 2>&5
31249 ac_status=$?
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; }; then
31252 glibcxx_cv_func_fabsl_use=yes
31253 else
31254 echo "$as_me: failed program was:" >&5
31255 sed 's/^/| /' conftest.$ac_ext >&5
31257 glibcxx_cv_func_fabsl_use=no
31259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31260 ac_ext=c
31261 ac_cpp='$CPP $CPPFLAGS'
31262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31271 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31273 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31275 for ac_func in fabsl
31277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31278 echo "$as_me:$LINENO: checking for $ac_func" >&5
31279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31280 if eval "test \"\${$as_ac_var+set}\" = set"; then
31281 echo $ECHO_N "(cached) $ECHO_C" >&6
31282 else
31283 if test x$gcc_no_link = xyes; then
31284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31286 { (exit 1); exit 1; }; }
31288 cat >conftest.$ac_ext <<_ACEOF
31289 /* confdefs.h. */
31290 _ACEOF
31291 cat confdefs.h >>conftest.$ac_ext
31292 cat >>conftest.$ac_ext <<_ACEOF
31293 /* end confdefs.h. */
31294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31296 #define $ac_func innocuous_$ac_func
31298 /* System header to define __stub macros and hopefully few prototypes,
31299 which can conflict with char $ac_func (); below.
31300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31301 <limits.h> exists even on freestanding compilers. */
31303 #ifdef __STDC__
31304 # include <limits.h>
31305 #else
31306 # include <assert.h>
31307 #endif
31309 #undef $ac_func
31311 /* Override any gcc2 internal prototype to avoid an error. */
31312 #ifdef __cplusplus
31313 extern "C"
31315 #endif
31316 /* We use char because int might match the return type of a gcc2
31317 builtin and then its argument prototype would still apply. */
31318 char $ac_func ();
31319 /* The GNU C library defines this for functions which it implements
31320 to always fail with ENOSYS. Some functions are actually named
31321 something starting with __ and the normal name is an alias. */
31322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31323 choke me
31324 #else
31325 char (*f) () = $ac_func;
31326 #endif
31327 #ifdef __cplusplus
31329 #endif
31332 main ()
31334 return f != $ac_func;
31336 return 0;
31338 _ACEOF
31339 rm -f conftest.$ac_objext conftest$ac_exeext
31340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31341 (eval $ac_link) 2>conftest.er1
31342 ac_status=$?
31343 grep -v '^ *+' conftest.er1 >conftest.err
31344 rm -f conftest.er1
31345 cat conftest.err >&5
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); } &&
31348 { ac_try='test -z "$ac_c_werror_flag"
31349 || test ! -s conftest.err'
31350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31351 (eval $ac_try) 2>&5
31352 ac_status=$?
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); }; } &&
31355 { ac_try='test -s conftest$ac_exeext'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31358 ac_status=$?
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; }; then
31361 eval "$as_ac_var=yes"
31362 else
31363 echo "$as_me: failed program was:" >&5
31364 sed 's/^/| /' conftest.$ac_ext >&5
31366 eval "$as_ac_var=no"
31368 rm -f conftest.err conftest.$ac_objext \
31369 conftest$ac_exeext conftest.$ac_ext
31371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31373 if test `eval echo '${'$as_ac_var'}'` = yes; then
31374 cat >>confdefs.h <<_ACEOF
31375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31376 _ACEOF
31379 done
31381 else
31383 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31384 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31385 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31386 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31387 echo $ECHO_N "(cached) $ECHO_C" >&6
31388 else
31392 ac_ext=cc
31393 ac_cpp='$CXXCPP $CPPFLAGS'
31394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31398 cat >conftest.$ac_ext <<_ACEOF
31399 /* confdefs.h. */
31400 _ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31404 #include <math.h>
31405 #ifdef HAVE_IEEEFP_H
31406 #include <ieeefp.h>
31407 #endif
31410 main ()
31412 _fabsl(0);
31414 return 0;
31416 _ACEOF
31417 rm -f conftest.$ac_objext
31418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31419 (eval $ac_compile) 2>conftest.er1
31420 ac_status=$?
31421 grep -v '^ *+' conftest.er1 >conftest.err
31422 rm -f conftest.er1
31423 cat conftest.err >&5
31424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 (exit $ac_status); } &&
31426 { ac_try='test -z "$ac_cxx_werror_flag"
31427 || test ! -s conftest.err'
31428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31429 (eval $ac_try) 2>&5
31430 ac_status=$?
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); }; } &&
31433 { ac_try='test -s conftest.$ac_objext'
31434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435 (eval $ac_try) 2>&5
31436 ac_status=$?
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; }; then
31439 glibcxx_cv_func__fabsl_use=yes
31440 else
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.$ac_ext >&5
31444 glibcxx_cv_func__fabsl_use=no
31446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31447 ac_ext=c
31448 ac_cpp='$CPP $CPPFLAGS'
31449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31458 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31460 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31462 for ac_func in _fabsl
31464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31465 echo "$as_me:$LINENO: checking for $ac_func" >&5
31466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31467 if eval "test \"\${$as_ac_var+set}\" = set"; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31469 else
31470 if test x$gcc_no_link = xyes; then
31471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31473 { (exit 1); exit 1; }; }
31475 cat >conftest.$ac_ext <<_ACEOF
31476 /* confdefs.h. */
31477 _ACEOF
31478 cat confdefs.h >>conftest.$ac_ext
31479 cat >>conftest.$ac_ext <<_ACEOF
31480 /* end confdefs.h. */
31481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31483 #define $ac_func innocuous_$ac_func
31485 /* System header to define __stub macros and hopefully few prototypes,
31486 which can conflict with char $ac_func (); below.
31487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31488 <limits.h> exists even on freestanding compilers. */
31490 #ifdef __STDC__
31491 # include <limits.h>
31492 #else
31493 # include <assert.h>
31494 #endif
31496 #undef $ac_func
31498 /* Override any gcc2 internal prototype to avoid an error. */
31499 #ifdef __cplusplus
31500 extern "C"
31502 #endif
31503 /* We use char because int might match the return type of a gcc2
31504 builtin and then its argument prototype would still apply. */
31505 char $ac_func ();
31506 /* The GNU C library defines this for functions which it implements
31507 to always fail with ENOSYS. Some functions are actually named
31508 something starting with __ and the normal name is an alias. */
31509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31510 choke me
31511 #else
31512 char (*f) () = $ac_func;
31513 #endif
31514 #ifdef __cplusplus
31516 #endif
31519 main ()
31521 return f != $ac_func;
31523 return 0;
31525 _ACEOF
31526 rm -f conftest.$ac_objext conftest$ac_exeext
31527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31528 (eval $ac_link) 2>conftest.er1
31529 ac_status=$?
31530 grep -v '^ *+' conftest.er1 >conftest.err
31531 rm -f conftest.er1
31532 cat conftest.err >&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); } &&
31535 { ac_try='test -z "$ac_c_werror_flag"
31536 || test ! -s conftest.err'
31537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31538 (eval $ac_try) 2>&5
31539 ac_status=$?
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); }; } &&
31542 { ac_try='test -s conftest$ac_exeext'
31543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31544 (eval $ac_try) 2>&5
31545 ac_status=$?
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; }; then
31548 eval "$as_ac_var=yes"
31549 else
31550 echo "$as_me: failed program was:" >&5
31551 sed 's/^/| /' conftest.$ac_ext >&5
31553 eval "$as_ac_var=no"
31555 rm -f conftest.err conftest.$ac_objext \
31556 conftest$ac_exeext conftest.$ac_ext
31558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31560 if test `eval echo '${'$as_ac_var'}'` = yes; then
31561 cat >>confdefs.h <<_ACEOF
31562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31563 _ACEOF
31566 done
31576 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31577 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31578 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31579 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31580 echo $ECHO_N "(cached) $ECHO_C" >&6
31581 else
31585 ac_ext=cc
31586 ac_cpp='$CXXCPP $CPPFLAGS'
31587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31591 cat >conftest.$ac_ext <<_ACEOF
31592 /* confdefs.h. */
31593 _ACEOF
31594 cat confdefs.h >>conftest.$ac_ext
31595 cat >>conftest.$ac_ext <<_ACEOF
31596 /* end confdefs.h. */
31597 #include <math.h>
31599 main ()
31601 fmodl(0, 0);
31603 return 0;
31605 _ACEOF
31606 rm -f conftest.$ac_objext
31607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31608 (eval $ac_compile) 2>conftest.er1
31609 ac_status=$?
31610 grep -v '^ *+' conftest.er1 >conftest.err
31611 rm -f conftest.er1
31612 cat conftest.err >&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); } &&
31615 { ac_try='test -z "$ac_cxx_werror_flag"
31616 || test ! -s conftest.err'
31617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618 (eval $ac_try) 2>&5
31619 ac_status=$?
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); }; } &&
31622 { ac_try='test -s conftest.$ac_objext'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31625 ac_status=$?
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; }; then
31628 glibcxx_cv_func_fmodl_use=yes
31629 else
31630 echo "$as_me: failed program was:" >&5
31631 sed 's/^/| /' conftest.$ac_ext >&5
31633 glibcxx_cv_func_fmodl_use=no
31635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31636 ac_ext=c
31637 ac_cpp='$CPP $CPPFLAGS'
31638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31647 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31649 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31651 for ac_func in fmodl
31653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31654 echo "$as_me:$LINENO: checking for $ac_func" >&5
31655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31656 if eval "test \"\${$as_ac_var+set}\" = set"; then
31657 echo $ECHO_N "(cached) $ECHO_C" >&6
31658 else
31659 if test x$gcc_no_link = xyes; then
31660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31662 { (exit 1); exit 1; }; }
31664 cat >conftest.$ac_ext <<_ACEOF
31665 /* confdefs.h. */
31666 _ACEOF
31667 cat confdefs.h >>conftest.$ac_ext
31668 cat >>conftest.$ac_ext <<_ACEOF
31669 /* end confdefs.h. */
31670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31672 #define $ac_func innocuous_$ac_func
31674 /* System header to define __stub macros and hopefully few prototypes,
31675 which can conflict with char $ac_func (); below.
31676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31677 <limits.h> exists even on freestanding compilers. */
31679 #ifdef __STDC__
31680 # include <limits.h>
31681 #else
31682 # include <assert.h>
31683 #endif
31685 #undef $ac_func
31687 /* Override any gcc2 internal prototype to avoid an error. */
31688 #ifdef __cplusplus
31689 extern "C"
31691 #endif
31692 /* We use char because int might match the return type of a gcc2
31693 builtin and then its argument prototype would still apply. */
31694 char $ac_func ();
31695 /* The GNU C library defines this for functions which it implements
31696 to always fail with ENOSYS. Some functions are actually named
31697 something starting with __ and the normal name is an alias. */
31698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31699 choke me
31700 #else
31701 char (*f) () = $ac_func;
31702 #endif
31703 #ifdef __cplusplus
31705 #endif
31708 main ()
31710 return f != $ac_func;
31712 return 0;
31714 _ACEOF
31715 rm -f conftest.$ac_objext conftest$ac_exeext
31716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31717 (eval $ac_link) 2>conftest.er1
31718 ac_status=$?
31719 grep -v '^ *+' conftest.er1 >conftest.err
31720 rm -f conftest.er1
31721 cat conftest.err >&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); } &&
31724 { ac_try='test -z "$ac_c_werror_flag"
31725 || test ! -s conftest.err'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; } &&
31731 { ac_try='test -s conftest$ac_exeext'
31732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31733 (eval $ac_try) 2>&5
31734 ac_status=$?
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); }; }; then
31737 eval "$as_ac_var=yes"
31738 else
31739 echo "$as_me: failed program was:" >&5
31740 sed 's/^/| /' conftest.$ac_ext >&5
31742 eval "$as_ac_var=no"
31744 rm -f conftest.err conftest.$ac_objext \
31745 conftest$ac_exeext conftest.$ac_ext
31747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31749 if test `eval echo '${'$as_ac_var'}'` = yes; then
31750 cat >>confdefs.h <<_ACEOF
31751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31752 _ACEOF
31755 done
31757 else
31759 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31760 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31761 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31762 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31763 echo $ECHO_N "(cached) $ECHO_C" >&6
31764 else
31768 ac_ext=cc
31769 ac_cpp='$CXXCPP $CPPFLAGS'
31770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31774 cat >conftest.$ac_ext <<_ACEOF
31775 /* confdefs.h. */
31776 _ACEOF
31777 cat confdefs.h >>conftest.$ac_ext
31778 cat >>conftest.$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780 #include <math.h>
31782 main ()
31784 _fmodl(0, 0);
31786 return 0;
31788 _ACEOF
31789 rm -f conftest.$ac_objext
31790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31791 (eval $ac_compile) 2>conftest.er1
31792 ac_status=$?
31793 grep -v '^ *+' conftest.er1 >conftest.err
31794 rm -f conftest.er1
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } &&
31798 { ac_try='test -z "$ac_cxx_werror_flag"
31799 || test ! -s conftest.err'
31800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31801 (eval $ac_try) 2>&5
31802 ac_status=$?
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); }; } &&
31805 { ac_try='test -s conftest.$ac_objext'
31806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31807 (eval $ac_try) 2>&5
31808 ac_status=$?
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); }; }; then
31811 glibcxx_cv_func__fmodl_use=yes
31812 else
31813 echo "$as_me: failed program was:" >&5
31814 sed 's/^/| /' conftest.$ac_ext >&5
31816 glibcxx_cv_func__fmodl_use=no
31818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31819 ac_ext=c
31820 ac_cpp='$CPP $CPPFLAGS'
31821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31830 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31832 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31834 for ac_func in _fmodl
31836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31837 echo "$as_me:$LINENO: checking for $ac_func" >&5
31838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31839 if eval "test \"\${$as_ac_var+set}\" = set"; then
31840 echo $ECHO_N "(cached) $ECHO_C" >&6
31841 else
31842 if test x$gcc_no_link = xyes; then
31843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31845 { (exit 1); exit 1; }; }
31847 cat >conftest.$ac_ext <<_ACEOF
31848 /* confdefs.h. */
31849 _ACEOF
31850 cat confdefs.h >>conftest.$ac_ext
31851 cat >>conftest.$ac_ext <<_ACEOF
31852 /* end confdefs.h. */
31853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31855 #define $ac_func innocuous_$ac_func
31857 /* System header to define __stub macros and hopefully few prototypes,
31858 which can conflict with char $ac_func (); below.
31859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31860 <limits.h> exists even on freestanding compilers. */
31862 #ifdef __STDC__
31863 # include <limits.h>
31864 #else
31865 # include <assert.h>
31866 #endif
31868 #undef $ac_func
31870 /* Override any gcc2 internal prototype to avoid an error. */
31871 #ifdef __cplusplus
31872 extern "C"
31874 #endif
31875 /* We use char because int might match the return type of a gcc2
31876 builtin and then its argument prototype would still apply. */
31877 char $ac_func ();
31878 /* The GNU C library defines this for functions which it implements
31879 to always fail with ENOSYS. Some functions are actually named
31880 something starting with __ and the normal name is an alias. */
31881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31882 choke me
31883 #else
31884 char (*f) () = $ac_func;
31885 #endif
31886 #ifdef __cplusplus
31888 #endif
31891 main ()
31893 return f != $ac_func;
31895 return 0;
31897 _ACEOF
31898 rm -f conftest.$ac_objext conftest$ac_exeext
31899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31900 (eval $ac_link) 2>conftest.er1
31901 ac_status=$?
31902 grep -v '^ *+' conftest.er1 >conftest.err
31903 rm -f conftest.er1
31904 cat conftest.err >&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try='test -z "$ac_c_werror_flag"
31908 || test ! -s conftest.err'
31909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31910 (eval $ac_try) 2>&5
31911 ac_status=$?
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; } &&
31914 { ac_try='test -s conftest$ac_exeext'
31915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31916 (eval $ac_try) 2>&5
31917 ac_status=$?
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; }; then
31920 eval "$as_ac_var=yes"
31921 else
31922 echo "$as_me: failed program was:" >&5
31923 sed 's/^/| /' conftest.$ac_ext >&5
31925 eval "$as_ac_var=no"
31927 rm -f conftest.err conftest.$ac_objext \
31928 conftest$ac_exeext conftest.$ac_ext
31930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31932 if test `eval echo '${'$as_ac_var'}'` = yes; then
31933 cat >>confdefs.h <<_ACEOF
31934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31935 _ACEOF
31938 done
31948 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
31949 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
31950 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31951 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
31952 echo $ECHO_N "(cached) $ECHO_C" >&6
31953 else
31957 ac_ext=cc
31958 ac_cpp='$CXXCPP $CPPFLAGS'
31959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31963 cat >conftest.$ac_ext <<_ACEOF
31964 /* confdefs.h. */
31965 _ACEOF
31966 cat confdefs.h >>conftest.$ac_ext
31967 cat >>conftest.$ac_ext <<_ACEOF
31968 /* end confdefs.h. */
31969 #include <math.h>
31971 main ()
31973 frexpl(0, 0);
31975 return 0;
31977 _ACEOF
31978 rm -f conftest.$ac_objext
31979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31980 (eval $ac_compile) 2>conftest.er1
31981 ac_status=$?
31982 grep -v '^ *+' conftest.er1 >conftest.err
31983 rm -f conftest.er1
31984 cat conftest.err >&5
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); } &&
31987 { ac_try='test -z "$ac_cxx_werror_flag"
31988 || test ! -s conftest.err'
31989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990 (eval $ac_try) 2>&5
31991 ac_status=$?
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); }; } &&
31994 { ac_try='test -s conftest.$ac_objext'
31995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31996 (eval $ac_try) 2>&5
31997 ac_status=$?
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); }; }; then
32000 glibcxx_cv_func_frexpl_use=yes
32001 else
32002 echo "$as_me: failed program was:" >&5
32003 sed 's/^/| /' conftest.$ac_ext >&5
32005 glibcxx_cv_func_frexpl_use=no
32007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32008 ac_ext=c
32009 ac_cpp='$CPP $CPPFLAGS'
32010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32019 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32021 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32023 for ac_func in frexpl
32025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32026 echo "$as_me:$LINENO: checking for $ac_func" >&5
32027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32028 if eval "test \"\${$as_ac_var+set}\" = set"; then
32029 echo $ECHO_N "(cached) $ECHO_C" >&6
32030 else
32031 if test x$gcc_no_link = xyes; then
32032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32034 { (exit 1); exit 1; }; }
32036 cat >conftest.$ac_ext <<_ACEOF
32037 /* confdefs.h. */
32038 _ACEOF
32039 cat confdefs.h >>conftest.$ac_ext
32040 cat >>conftest.$ac_ext <<_ACEOF
32041 /* end confdefs.h. */
32042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32044 #define $ac_func innocuous_$ac_func
32046 /* System header to define __stub macros and hopefully few prototypes,
32047 which can conflict with char $ac_func (); below.
32048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32049 <limits.h> exists even on freestanding compilers. */
32051 #ifdef __STDC__
32052 # include <limits.h>
32053 #else
32054 # include <assert.h>
32055 #endif
32057 #undef $ac_func
32059 /* Override any gcc2 internal prototype to avoid an error. */
32060 #ifdef __cplusplus
32061 extern "C"
32063 #endif
32064 /* We use char because int might match the return type of a gcc2
32065 builtin and then its argument prototype would still apply. */
32066 char $ac_func ();
32067 /* The GNU C library defines this for functions which it implements
32068 to always fail with ENOSYS. Some functions are actually named
32069 something starting with __ and the normal name is an alias. */
32070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32071 choke me
32072 #else
32073 char (*f) () = $ac_func;
32074 #endif
32075 #ifdef __cplusplus
32077 #endif
32080 main ()
32082 return f != $ac_func;
32084 return 0;
32086 _ACEOF
32087 rm -f conftest.$ac_objext conftest$ac_exeext
32088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32089 (eval $ac_link) 2>conftest.er1
32090 ac_status=$?
32091 grep -v '^ *+' conftest.er1 >conftest.err
32092 rm -f conftest.er1
32093 cat conftest.err >&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } &&
32096 { ac_try='test -z "$ac_c_werror_flag"
32097 || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32100 ac_status=$?
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try='test -s conftest$ac_exeext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32106 ac_status=$?
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 eval "$as_ac_var=yes"
32110 else
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.$ac_ext >&5
32114 eval "$as_ac_var=no"
32116 rm -f conftest.err conftest.$ac_objext \
32117 conftest$ac_exeext conftest.$ac_ext
32119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32121 if test `eval echo '${'$as_ac_var'}'` = yes; then
32122 cat >>confdefs.h <<_ACEOF
32123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32124 _ACEOF
32127 done
32129 else
32131 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32132 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32133 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32134 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32135 echo $ECHO_N "(cached) $ECHO_C" >&6
32136 else
32140 ac_ext=cc
32141 ac_cpp='$CXXCPP $CPPFLAGS'
32142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32146 cat >conftest.$ac_ext <<_ACEOF
32147 /* confdefs.h. */
32148 _ACEOF
32149 cat confdefs.h >>conftest.$ac_ext
32150 cat >>conftest.$ac_ext <<_ACEOF
32151 /* end confdefs.h. */
32152 #include <math.h>
32154 main ()
32156 _frexpl(0, 0);
32158 return 0;
32160 _ACEOF
32161 rm -f conftest.$ac_objext
32162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32163 (eval $ac_compile) 2>conftest.er1
32164 ac_status=$?
32165 grep -v '^ *+' conftest.er1 >conftest.err
32166 rm -f conftest.er1
32167 cat conftest.err >&5
32168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169 (exit $ac_status); } &&
32170 { ac_try='test -z "$ac_cxx_werror_flag"
32171 || test ! -s conftest.err'
32172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32173 (eval $ac_try) 2>&5
32174 ac_status=$?
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); }; } &&
32177 { ac_try='test -s conftest.$ac_objext'
32178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32179 (eval $ac_try) 2>&5
32180 ac_status=$?
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); }; }; then
32183 glibcxx_cv_func__frexpl_use=yes
32184 else
32185 echo "$as_me: failed program was:" >&5
32186 sed 's/^/| /' conftest.$ac_ext >&5
32188 glibcxx_cv_func__frexpl_use=no
32190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32191 ac_ext=c
32192 ac_cpp='$CPP $CPPFLAGS'
32193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32202 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32204 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32206 for ac_func in _frexpl
32208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32209 echo "$as_me:$LINENO: checking for $ac_func" >&5
32210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32211 if eval "test \"\${$as_ac_var+set}\" = set"; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32213 else
32214 if test x$gcc_no_link = xyes; then
32215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32217 { (exit 1); exit 1; }; }
32219 cat >conftest.$ac_ext <<_ACEOF
32220 /* confdefs.h. */
32221 _ACEOF
32222 cat confdefs.h >>conftest.$ac_ext
32223 cat >>conftest.$ac_ext <<_ACEOF
32224 /* end confdefs.h. */
32225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32227 #define $ac_func innocuous_$ac_func
32229 /* System header to define __stub macros and hopefully few prototypes,
32230 which can conflict with char $ac_func (); below.
32231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32232 <limits.h> exists even on freestanding compilers. */
32234 #ifdef __STDC__
32235 # include <limits.h>
32236 #else
32237 # include <assert.h>
32238 #endif
32240 #undef $ac_func
32242 /* Override any gcc2 internal prototype to avoid an error. */
32243 #ifdef __cplusplus
32244 extern "C"
32246 #endif
32247 /* We use char because int might match the return type of a gcc2
32248 builtin and then its argument prototype would still apply. */
32249 char $ac_func ();
32250 /* The GNU C library defines this for functions which it implements
32251 to always fail with ENOSYS. Some functions are actually named
32252 something starting with __ and the normal name is an alias. */
32253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32254 choke me
32255 #else
32256 char (*f) () = $ac_func;
32257 #endif
32258 #ifdef __cplusplus
32260 #endif
32263 main ()
32265 return f != $ac_func;
32267 return 0;
32269 _ACEOF
32270 rm -f conftest.$ac_objext conftest$ac_exeext
32271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32272 (eval $ac_link) 2>conftest.er1
32273 ac_status=$?
32274 grep -v '^ *+' conftest.er1 >conftest.err
32275 rm -f conftest.er1
32276 cat conftest.err >&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); } &&
32279 { ac_try='test -z "$ac_c_werror_flag"
32280 || test ! -s conftest.err'
32281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32282 (eval $ac_try) 2>&5
32283 ac_status=$?
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); }; } &&
32286 { ac_try='test -s conftest$ac_exeext'
32287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288 (eval $ac_try) 2>&5
32289 ac_status=$?
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; }; then
32292 eval "$as_ac_var=yes"
32293 else
32294 echo "$as_me: failed program was:" >&5
32295 sed 's/^/| /' conftest.$ac_ext >&5
32297 eval "$as_ac_var=no"
32299 rm -f conftest.err conftest.$ac_objext \
32300 conftest$ac_exeext conftest.$ac_ext
32302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32304 if test `eval echo '${'$as_ac_var'}'` = yes; then
32305 cat >>confdefs.h <<_ACEOF
32306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32307 _ACEOF
32310 done
32320 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32321 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32322 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32323 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32325 else
32329 ac_ext=cc
32330 ac_cpp='$CXXCPP $CPPFLAGS'
32331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32335 cat >conftest.$ac_ext <<_ACEOF
32336 /* confdefs.h. */
32337 _ACEOF
32338 cat confdefs.h >>conftest.$ac_ext
32339 cat >>conftest.$ac_ext <<_ACEOF
32340 /* end confdefs.h. */
32341 #include <math.h>
32343 main ()
32345 hypotl(0, 0);
32347 return 0;
32349 _ACEOF
32350 rm -f conftest.$ac_objext
32351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32352 (eval $ac_compile) 2>conftest.er1
32353 ac_status=$?
32354 grep -v '^ *+' conftest.er1 >conftest.err
32355 rm -f conftest.er1
32356 cat conftest.err >&5
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); } &&
32359 { ac_try='test -z "$ac_cxx_werror_flag"
32360 || test ! -s conftest.err'
32361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362 (eval $ac_try) 2>&5
32363 ac_status=$?
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; } &&
32366 { ac_try='test -s conftest.$ac_objext'
32367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 (eval $ac_try) 2>&5
32369 ac_status=$?
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); }; }; then
32372 glibcxx_cv_func_hypotl_use=yes
32373 else
32374 echo "$as_me: failed program was:" >&5
32375 sed 's/^/| /' conftest.$ac_ext >&5
32377 glibcxx_cv_func_hypotl_use=no
32379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32380 ac_ext=c
32381 ac_cpp='$CPP $CPPFLAGS'
32382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32390 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32391 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32393 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32395 for ac_func in hypotl
32397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32398 echo "$as_me:$LINENO: checking for $ac_func" >&5
32399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32400 if eval "test \"\${$as_ac_var+set}\" = set"; then
32401 echo $ECHO_N "(cached) $ECHO_C" >&6
32402 else
32403 if test x$gcc_no_link = xyes; then
32404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32406 { (exit 1); exit 1; }; }
32408 cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h. */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32416 #define $ac_func innocuous_$ac_func
32418 /* System header to define __stub macros and hopefully few prototypes,
32419 which can conflict with char $ac_func (); below.
32420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32421 <limits.h> exists even on freestanding compilers. */
32423 #ifdef __STDC__
32424 # include <limits.h>
32425 #else
32426 # include <assert.h>
32427 #endif
32429 #undef $ac_func
32431 /* Override any gcc2 internal prototype to avoid an error. */
32432 #ifdef __cplusplus
32433 extern "C"
32435 #endif
32436 /* We use char because int might match the return type of a gcc2
32437 builtin and then its argument prototype would still apply. */
32438 char $ac_func ();
32439 /* The GNU C library defines this for functions which it implements
32440 to always fail with ENOSYS. Some functions are actually named
32441 something starting with __ and the normal name is an alias. */
32442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32443 choke me
32444 #else
32445 char (*f) () = $ac_func;
32446 #endif
32447 #ifdef __cplusplus
32449 #endif
32452 main ()
32454 return f != $ac_func;
32456 return 0;
32458 _ACEOF
32459 rm -f conftest.$ac_objext conftest$ac_exeext
32460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32461 (eval $ac_link) 2>conftest.er1
32462 ac_status=$?
32463 grep -v '^ *+' conftest.er1 >conftest.err
32464 rm -f conftest.er1
32465 cat conftest.err >&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } &&
32468 { ac_try='test -z "$ac_c_werror_flag"
32469 || test ! -s conftest.err'
32470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32471 (eval $ac_try) 2>&5
32472 ac_status=$?
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); }; } &&
32475 { ac_try='test -s conftest$ac_exeext'
32476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32477 (eval $ac_try) 2>&5
32478 ac_status=$?
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); }; }; then
32481 eval "$as_ac_var=yes"
32482 else
32483 echo "$as_me: failed program was:" >&5
32484 sed 's/^/| /' conftest.$ac_ext >&5
32486 eval "$as_ac_var=no"
32488 rm -f conftest.err conftest.$ac_objext \
32489 conftest$ac_exeext conftest.$ac_ext
32491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32493 if test `eval echo '${'$as_ac_var'}'` = yes; then
32494 cat >>confdefs.h <<_ACEOF
32495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32496 _ACEOF
32499 done
32501 else
32503 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32504 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32505 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32506 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32508 else
32512 ac_ext=cc
32513 ac_cpp='$CXXCPP $CPPFLAGS'
32514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32518 cat >conftest.$ac_ext <<_ACEOF
32519 /* confdefs.h. */
32520 _ACEOF
32521 cat confdefs.h >>conftest.$ac_ext
32522 cat >>conftest.$ac_ext <<_ACEOF
32523 /* end confdefs.h. */
32524 #include <math.h>
32526 main ()
32528 _hypotl(0, 0);
32530 return 0;
32532 _ACEOF
32533 rm -f conftest.$ac_objext
32534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32535 (eval $ac_compile) 2>conftest.er1
32536 ac_status=$?
32537 grep -v '^ *+' conftest.er1 >conftest.err
32538 rm -f conftest.er1
32539 cat conftest.err >&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } &&
32542 { ac_try='test -z "$ac_cxx_werror_flag"
32543 || test ! -s conftest.err'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32546 ac_status=$?
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; } &&
32549 { ac_try='test -s conftest.$ac_objext'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32552 ac_status=$?
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; }; then
32555 glibcxx_cv_func__hypotl_use=yes
32556 else
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.$ac_ext >&5
32560 glibcxx_cv_func__hypotl_use=no
32562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32563 ac_ext=c
32564 ac_cpp='$CPP $CPPFLAGS'
32565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32574 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32576 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32578 for ac_func in _hypotl
32580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32581 echo "$as_me:$LINENO: checking for $ac_func" >&5
32582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32583 if eval "test \"\${$as_ac_var+set}\" = set"; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32585 else
32586 if test x$gcc_no_link = xyes; then
32587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32589 { (exit 1); exit 1; }; }
32591 cat >conftest.$ac_ext <<_ACEOF
32592 /* confdefs.h. */
32593 _ACEOF
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32599 #define $ac_func innocuous_$ac_func
32601 /* System header to define __stub macros and hopefully few prototypes,
32602 which can conflict with char $ac_func (); below.
32603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32604 <limits.h> exists even on freestanding compilers. */
32606 #ifdef __STDC__
32607 # include <limits.h>
32608 #else
32609 # include <assert.h>
32610 #endif
32612 #undef $ac_func
32614 /* Override any gcc2 internal prototype to avoid an error. */
32615 #ifdef __cplusplus
32616 extern "C"
32618 #endif
32619 /* We use char because int might match the return type of a gcc2
32620 builtin and then its argument prototype would still apply. */
32621 char $ac_func ();
32622 /* The GNU C library defines this for functions which it implements
32623 to always fail with ENOSYS. Some functions are actually named
32624 something starting with __ and the normal name is an alias. */
32625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32626 choke me
32627 #else
32628 char (*f) () = $ac_func;
32629 #endif
32630 #ifdef __cplusplus
32632 #endif
32635 main ()
32637 return f != $ac_func;
32639 return 0;
32641 _ACEOF
32642 rm -f conftest.$ac_objext conftest$ac_exeext
32643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32644 (eval $ac_link) 2>conftest.er1
32645 ac_status=$?
32646 grep -v '^ *+' conftest.er1 >conftest.err
32647 rm -f conftest.er1
32648 cat conftest.err >&5
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); } &&
32651 { ac_try='test -z "$ac_c_werror_flag"
32652 || test ! -s conftest.err'
32653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654 (eval $ac_try) 2>&5
32655 ac_status=$?
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); }; } &&
32658 { ac_try='test -s conftest$ac_exeext'
32659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32660 (eval $ac_try) 2>&5
32661 ac_status=$?
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); }; }; then
32664 eval "$as_ac_var=yes"
32665 else
32666 echo "$as_me: failed program was:" >&5
32667 sed 's/^/| /' conftest.$ac_ext >&5
32669 eval "$as_ac_var=no"
32671 rm -f conftest.err conftest.$ac_objext \
32672 conftest$ac_exeext conftest.$ac_ext
32674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32676 if test `eval echo '${'$as_ac_var'}'` = yes; then
32677 cat >>confdefs.h <<_ACEOF
32678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32679 _ACEOF
32682 done
32692 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32693 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32694 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32695 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32696 echo $ECHO_N "(cached) $ECHO_C" >&6
32697 else
32701 ac_ext=cc
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32707 cat >conftest.$ac_ext <<_ACEOF
32708 /* confdefs.h. */
32709 _ACEOF
32710 cat confdefs.h >>conftest.$ac_ext
32711 cat >>conftest.$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32713 #include <math.h>
32715 main ()
32717 ldexpl(0, 0);
32719 return 0;
32721 _ACEOF
32722 rm -f conftest.$ac_objext
32723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32724 (eval $ac_compile) 2>conftest.er1
32725 ac_status=$?
32726 grep -v '^ *+' conftest.er1 >conftest.err
32727 rm -f conftest.er1
32728 cat conftest.err >&5
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); } &&
32731 { ac_try='test -z "$ac_cxx_werror_flag"
32732 || test ! -s conftest.err'
32733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32734 (eval $ac_try) 2>&5
32735 ac_status=$?
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); }; } &&
32738 { ac_try='test -s conftest.$ac_objext'
32739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32740 (eval $ac_try) 2>&5
32741 ac_status=$?
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); }; }; then
32744 glibcxx_cv_func_ldexpl_use=yes
32745 else
32746 echo "$as_me: failed program was:" >&5
32747 sed 's/^/| /' conftest.$ac_ext >&5
32749 glibcxx_cv_func_ldexpl_use=no
32751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32752 ac_ext=c
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32763 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32765 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32767 for ac_func in ldexpl
32769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32770 echo "$as_me:$LINENO: checking for $ac_func" >&5
32771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32772 if eval "test \"\${$as_ac_var+set}\" = set"; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 else
32775 if test x$gcc_no_link = xyes; then
32776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32778 { (exit 1); exit 1; }; }
32780 cat >conftest.$ac_ext <<_ACEOF
32781 /* confdefs.h. */
32782 _ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32788 #define $ac_func innocuous_$ac_func
32790 /* System header to define __stub macros and hopefully few prototypes,
32791 which can conflict with char $ac_func (); below.
32792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32793 <limits.h> exists even on freestanding compilers. */
32795 #ifdef __STDC__
32796 # include <limits.h>
32797 #else
32798 # include <assert.h>
32799 #endif
32801 #undef $ac_func
32803 /* Override any gcc2 internal prototype to avoid an error. */
32804 #ifdef __cplusplus
32805 extern "C"
32807 #endif
32808 /* We use char because int might match the return type of a gcc2
32809 builtin and then its argument prototype would still apply. */
32810 char $ac_func ();
32811 /* The GNU C library defines this for functions which it implements
32812 to always fail with ENOSYS. Some functions are actually named
32813 something starting with __ and the normal name is an alias. */
32814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32815 choke me
32816 #else
32817 char (*f) () = $ac_func;
32818 #endif
32819 #ifdef __cplusplus
32821 #endif
32824 main ()
32826 return f != $ac_func;
32828 return 0;
32830 _ACEOF
32831 rm -f conftest.$ac_objext conftest$ac_exeext
32832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32833 (eval $ac_link) 2>conftest.er1
32834 ac_status=$?
32835 grep -v '^ *+' conftest.er1 >conftest.err
32836 rm -f conftest.er1
32837 cat conftest.err >&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); } &&
32840 { ac_try='test -z "$ac_c_werror_flag"
32841 || test ! -s conftest.err'
32842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32843 (eval $ac_try) 2>&5
32844 ac_status=$?
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); }; } &&
32847 { ac_try='test -s conftest$ac_exeext'
32848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849 (eval $ac_try) 2>&5
32850 ac_status=$?
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); }; }; then
32853 eval "$as_ac_var=yes"
32854 else
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32858 eval "$as_ac_var=no"
32860 rm -f conftest.err conftest.$ac_objext \
32861 conftest$ac_exeext conftest.$ac_ext
32863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32865 if test `eval echo '${'$as_ac_var'}'` = yes; then
32866 cat >>confdefs.h <<_ACEOF
32867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32868 _ACEOF
32871 done
32873 else
32875 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32876 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32877 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32878 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32879 echo $ECHO_N "(cached) $ECHO_C" >&6
32880 else
32884 ac_ext=cc
32885 ac_cpp='$CXXCPP $CPPFLAGS'
32886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32890 cat >conftest.$ac_ext <<_ACEOF
32891 /* confdefs.h. */
32892 _ACEOF
32893 cat confdefs.h >>conftest.$ac_ext
32894 cat >>conftest.$ac_ext <<_ACEOF
32895 /* end confdefs.h. */
32896 #include <math.h>
32898 main ()
32900 _ldexpl(0, 0);
32902 return 0;
32904 _ACEOF
32905 rm -f conftest.$ac_objext
32906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32907 (eval $ac_compile) 2>conftest.er1
32908 ac_status=$?
32909 grep -v '^ *+' conftest.er1 >conftest.err
32910 rm -f conftest.er1
32911 cat conftest.err >&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } &&
32914 { ac_try='test -z "$ac_cxx_werror_flag"
32915 || test ! -s conftest.err'
32916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32917 (eval $ac_try) 2>&5
32918 ac_status=$?
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; } &&
32921 { ac_try='test -s conftest.$ac_objext'
32922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32923 (eval $ac_try) 2>&5
32924 ac_status=$?
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); }; }; then
32927 glibcxx_cv_func__ldexpl_use=yes
32928 else
32929 echo "$as_me: failed program was:" >&5
32930 sed 's/^/| /' conftest.$ac_ext >&5
32932 glibcxx_cv_func__ldexpl_use=no
32934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32935 ac_ext=c
32936 ac_cpp='$CPP $CPPFLAGS'
32937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
32946 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
32948 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32950 for ac_func in _ldexpl
32952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32953 echo "$as_me:$LINENO: checking for $ac_func" >&5
32954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32955 if eval "test \"\${$as_ac_var+set}\" = set"; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 else
32958 if test x$gcc_no_link = xyes; then
32959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32961 { (exit 1); exit 1; }; }
32963 cat >conftest.$ac_ext <<_ACEOF
32964 /* confdefs.h. */
32965 _ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h. */
32969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32971 #define $ac_func innocuous_$ac_func
32973 /* System header to define __stub macros and hopefully few prototypes,
32974 which can conflict with char $ac_func (); below.
32975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32976 <limits.h> exists even on freestanding compilers. */
32978 #ifdef __STDC__
32979 # include <limits.h>
32980 #else
32981 # include <assert.h>
32982 #endif
32984 #undef $ac_func
32986 /* Override any gcc2 internal prototype to avoid an error. */
32987 #ifdef __cplusplus
32988 extern "C"
32990 #endif
32991 /* We use char because int might match the return type of a gcc2
32992 builtin and then its argument prototype would still apply. */
32993 char $ac_func ();
32994 /* The GNU C library defines this for functions which it implements
32995 to always fail with ENOSYS. Some functions are actually named
32996 something starting with __ and the normal name is an alias. */
32997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32998 choke me
32999 #else
33000 char (*f) () = $ac_func;
33001 #endif
33002 #ifdef __cplusplus
33004 #endif
33007 main ()
33009 return f != $ac_func;
33011 return 0;
33013 _ACEOF
33014 rm -f conftest.$ac_objext conftest$ac_exeext
33015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33016 (eval $ac_link) 2>conftest.er1
33017 ac_status=$?
33018 grep -v '^ *+' conftest.er1 >conftest.err
33019 rm -f conftest.er1
33020 cat conftest.err >&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); } &&
33023 { ac_try='test -z "$ac_c_werror_flag"
33024 || test ! -s conftest.err'
33025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026 (eval $ac_try) 2>&5
33027 ac_status=$?
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; } &&
33030 { ac_try='test -s conftest$ac_exeext'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33033 ac_status=$?
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; }; then
33036 eval "$as_ac_var=yes"
33037 else
33038 echo "$as_me: failed program was:" >&5
33039 sed 's/^/| /' conftest.$ac_ext >&5
33041 eval "$as_ac_var=no"
33043 rm -f conftest.err conftest.$ac_objext \
33044 conftest$ac_exeext conftest.$ac_ext
33046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33048 if test `eval echo '${'$as_ac_var'}'` = yes; then
33049 cat >>confdefs.h <<_ACEOF
33050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33051 _ACEOF
33054 done
33064 echo "$as_me:$LINENO: checking for logl declaration" >&5
33065 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33066 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33067 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33068 echo $ECHO_N "(cached) $ECHO_C" >&6
33069 else
33073 ac_ext=cc
33074 ac_cpp='$CXXCPP $CPPFLAGS'
33075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33079 cat >conftest.$ac_ext <<_ACEOF
33080 /* confdefs.h. */
33081 _ACEOF
33082 cat confdefs.h >>conftest.$ac_ext
33083 cat >>conftest.$ac_ext <<_ACEOF
33084 /* end confdefs.h. */
33085 #include <math.h>
33086 #ifdef HAVE_IEEEFP_H
33087 #include <ieeefp.h>
33088 #endif
33091 main ()
33093 logl(0);
33095 return 0;
33097 _ACEOF
33098 rm -f conftest.$ac_objext
33099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33100 (eval $ac_compile) 2>conftest.er1
33101 ac_status=$?
33102 grep -v '^ *+' conftest.er1 >conftest.err
33103 rm -f conftest.er1
33104 cat conftest.err >&5
33105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106 (exit $ac_status); } &&
33107 { ac_try='test -z "$ac_cxx_werror_flag"
33108 || test ! -s conftest.err'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; } &&
33114 { ac_try='test -s conftest.$ac_objext'
33115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33116 (eval $ac_try) 2>&5
33117 ac_status=$?
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); }; }; then
33120 glibcxx_cv_func_logl_use=yes
33121 else
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.$ac_ext >&5
33125 glibcxx_cv_func_logl_use=no
33127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33128 ac_ext=c
33129 ac_cpp='$CPP $CPPFLAGS'
33130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33139 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33141 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33143 for ac_func in logl
33145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33146 echo "$as_me:$LINENO: checking for $ac_func" >&5
33147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33148 if eval "test \"\${$as_ac_var+set}\" = set"; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 else
33151 if test x$gcc_no_link = xyes; then
33152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33154 { (exit 1); exit 1; }; }
33156 cat >conftest.$ac_ext <<_ACEOF
33157 /* confdefs.h. */
33158 _ACEOF
33159 cat confdefs.h >>conftest.$ac_ext
33160 cat >>conftest.$ac_ext <<_ACEOF
33161 /* end confdefs.h. */
33162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33164 #define $ac_func innocuous_$ac_func
33166 /* System header to define __stub macros and hopefully few prototypes,
33167 which can conflict with char $ac_func (); below.
33168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33169 <limits.h> exists even on freestanding compilers. */
33171 #ifdef __STDC__
33172 # include <limits.h>
33173 #else
33174 # include <assert.h>
33175 #endif
33177 #undef $ac_func
33179 /* Override any gcc2 internal prototype to avoid an error. */
33180 #ifdef __cplusplus
33181 extern "C"
33183 #endif
33184 /* We use char because int might match the return type of a gcc2
33185 builtin and then its argument prototype would still apply. */
33186 char $ac_func ();
33187 /* The GNU C library defines this for functions which it implements
33188 to always fail with ENOSYS. Some functions are actually named
33189 something starting with __ and the normal name is an alias. */
33190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33191 choke me
33192 #else
33193 char (*f) () = $ac_func;
33194 #endif
33195 #ifdef __cplusplus
33197 #endif
33200 main ()
33202 return f != $ac_func;
33204 return 0;
33206 _ACEOF
33207 rm -f conftest.$ac_objext conftest$ac_exeext
33208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33209 (eval $ac_link) 2>conftest.er1
33210 ac_status=$?
33211 grep -v '^ *+' conftest.er1 >conftest.err
33212 rm -f conftest.er1
33213 cat conftest.err >&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } &&
33216 { ac_try='test -z "$ac_c_werror_flag"
33217 || test ! -s conftest.err'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; } &&
33223 { ac_try='test -s conftest$ac_exeext'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33226 ac_status=$?
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; }; then
33229 eval "$as_ac_var=yes"
33230 else
33231 echo "$as_me: failed program was:" >&5
33232 sed 's/^/| /' conftest.$ac_ext >&5
33234 eval "$as_ac_var=no"
33236 rm -f conftest.err conftest.$ac_objext \
33237 conftest$ac_exeext conftest.$ac_ext
33239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33241 if test `eval echo '${'$as_ac_var'}'` = yes; then
33242 cat >>confdefs.h <<_ACEOF
33243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33244 _ACEOF
33247 done
33249 else
33251 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33252 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33253 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33254 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33255 echo $ECHO_N "(cached) $ECHO_C" >&6
33256 else
33260 ac_ext=cc
33261 ac_cpp='$CXXCPP $CPPFLAGS'
33262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266 cat >conftest.$ac_ext <<_ACEOF
33267 /* confdefs.h. */
33268 _ACEOF
33269 cat confdefs.h >>conftest.$ac_ext
33270 cat >>conftest.$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272 #include <math.h>
33273 #ifdef HAVE_IEEEFP_H
33274 #include <ieeefp.h>
33275 #endif
33278 main ()
33280 _logl(0);
33282 return 0;
33284 _ACEOF
33285 rm -f conftest.$ac_objext
33286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33287 (eval $ac_compile) 2>conftest.er1
33288 ac_status=$?
33289 grep -v '^ *+' conftest.er1 >conftest.err
33290 rm -f conftest.er1
33291 cat conftest.err >&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); } &&
33294 { ac_try='test -z "$ac_cxx_werror_flag"
33295 || test ! -s conftest.err'
33296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33297 (eval $ac_try) 2>&5
33298 ac_status=$?
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); }; } &&
33301 { ac_try='test -s conftest.$ac_objext'
33302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33303 (eval $ac_try) 2>&5
33304 ac_status=$?
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); }; }; then
33307 glibcxx_cv_func__logl_use=yes
33308 else
33309 echo "$as_me: failed program was:" >&5
33310 sed 's/^/| /' conftest.$ac_ext >&5
33312 glibcxx_cv_func__logl_use=no
33314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33315 ac_ext=c
33316 ac_cpp='$CPP $CPPFLAGS'
33317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33326 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33328 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33330 for ac_func in _logl
33332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33333 echo "$as_me:$LINENO: checking for $ac_func" >&5
33334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33335 if eval "test \"\${$as_ac_var+set}\" = set"; then
33336 echo $ECHO_N "(cached) $ECHO_C" >&6
33337 else
33338 if test x$gcc_no_link = xyes; then
33339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33341 { (exit 1); exit 1; }; }
33343 cat >conftest.$ac_ext <<_ACEOF
33344 /* confdefs.h. */
33345 _ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33351 #define $ac_func innocuous_$ac_func
33353 /* System header to define __stub macros and hopefully few prototypes,
33354 which can conflict with char $ac_func (); below.
33355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33356 <limits.h> exists even on freestanding compilers. */
33358 #ifdef __STDC__
33359 # include <limits.h>
33360 #else
33361 # include <assert.h>
33362 #endif
33364 #undef $ac_func
33366 /* Override any gcc2 internal prototype to avoid an error. */
33367 #ifdef __cplusplus
33368 extern "C"
33370 #endif
33371 /* We use char because int might match the return type of a gcc2
33372 builtin and then its argument prototype would still apply. */
33373 char $ac_func ();
33374 /* The GNU C library defines this for functions which it implements
33375 to always fail with ENOSYS. Some functions are actually named
33376 something starting with __ and the normal name is an alias. */
33377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33378 choke me
33379 #else
33380 char (*f) () = $ac_func;
33381 #endif
33382 #ifdef __cplusplus
33384 #endif
33387 main ()
33389 return f != $ac_func;
33391 return 0;
33393 _ACEOF
33394 rm -f conftest.$ac_objext conftest$ac_exeext
33395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33396 (eval $ac_link) 2>conftest.er1
33397 ac_status=$?
33398 grep -v '^ *+' conftest.er1 >conftest.err
33399 rm -f conftest.er1
33400 cat conftest.err >&5
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); } &&
33403 { ac_try='test -z "$ac_c_werror_flag"
33404 || test ! -s conftest.err'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33407 ac_status=$?
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; } &&
33410 { ac_try='test -s conftest$ac_exeext'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33413 ac_status=$?
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; }; then
33416 eval "$as_ac_var=yes"
33417 else
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33421 eval "$as_ac_var=no"
33423 rm -f conftest.err conftest.$ac_objext \
33424 conftest$ac_exeext conftest.$ac_ext
33426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33428 if test `eval echo '${'$as_ac_var'}'` = yes; then
33429 cat >>confdefs.h <<_ACEOF
33430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33431 _ACEOF
33434 done
33444 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33445 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33446 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33447 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33448 echo $ECHO_N "(cached) $ECHO_C" >&6
33449 else
33453 ac_ext=cc
33454 ac_cpp='$CXXCPP $CPPFLAGS'
33455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33459 cat >conftest.$ac_ext <<_ACEOF
33460 /* confdefs.h. */
33461 _ACEOF
33462 cat confdefs.h >>conftest.$ac_ext
33463 cat >>conftest.$ac_ext <<_ACEOF
33464 /* end confdefs.h. */
33465 #include <math.h>
33466 #ifdef HAVE_IEEEFP_H
33467 #include <ieeefp.h>
33468 #endif
33471 main ()
33473 log10l(0);
33475 return 0;
33477 _ACEOF
33478 rm -f conftest.$ac_objext
33479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33480 (eval $ac_compile) 2>conftest.er1
33481 ac_status=$?
33482 grep -v '^ *+' conftest.er1 >conftest.err
33483 rm -f conftest.er1
33484 cat conftest.err >&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); } &&
33487 { ac_try='test -z "$ac_cxx_werror_flag"
33488 || test ! -s conftest.err'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33491 ac_status=$?
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; } &&
33494 { ac_try='test -s conftest.$ac_objext'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33497 ac_status=$?
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }; then
33500 glibcxx_cv_func_log10l_use=yes
33501 else
33502 echo "$as_me: failed program was:" >&5
33503 sed 's/^/| /' conftest.$ac_ext >&5
33505 glibcxx_cv_func_log10l_use=no
33507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33508 ac_ext=c
33509 ac_cpp='$CPP $CPPFLAGS'
33510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33518 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33519 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33521 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33523 for ac_func in log10l
33525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33526 echo "$as_me:$LINENO: checking for $ac_func" >&5
33527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33528 if eval "test \"\${$as_ac_var+set}\" = set"; then
33529 echo $ECHO_N "(cached) $ECHO_C" >&6
33530 else
33531 if test x$gcc_no_link = xyes; then
33532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33534 { (exit 1); exit 1; }; }
33536 cat >conftest.$ac_ext <<_ACEOF
33537 /* confdefs.h. */
33538 _ACEOF
33539 cat confdefs.h >>conftest.$ac_ext
33540 cat >>conftest.$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33544 #define $ac_func innocuous_$ac_func
33546 /* System header to define __stub macros and hopefully few prototypes,
33547 which can conflict with char $ac_func (); below.
33548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33549 <limits.h> exists even on freestanding compilers. */
33551 #ifdef __STDC__
33552 # include <limits.h>
33553 #else
33554 # include <assert.h>
33555 #endif
33557 #undef $ac_func
33559 /* Override any gcc2 internal prototype to avoid an error. */
33560 #ifdef __cplusplus
33561 extern "C"
33563 #endif
33564 /* We use char because int might match the return type of a gcc2
33565 builtin and then its argument prototype would still apply. */
33566 char $ac_func ();
33567 /* The GNU C library defines this for functions which it implements
33568 to always fail with ENOSYS. Some functions are actually named
33569 something starting with __ and the normal name is an alias. */
33570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33571 choke me
33572 #else
33573 char (*f) () = $ac_func;
33574 #endif
33575 #ifdef __cplusplus
33577 #endif
33580 main ()
33582 return f != $ac_func;
33584 return 0;
33586 _ACEOF
33587 rm -f conftest.$ac_objext conftest$ac_exeext
33588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33589 (eval $ac_link) 2>conftest.er1
33590 ac_status=$?
33591 grep -v '^ *+' conftest.er1 >conftest.err
33592 rm -f conftest.er1
33593 cat conftest.err >&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); } &&
33596 { ac_try='test -z "$ac_c_werror_flag"
33597 || test ! -s conftest.err'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33600 ac_status=$?
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; } &&
33603 { ac_try='test -s conftest$ac_exeext'
33604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605 (eval $ac_try) 2>&5
33606 ac_status=$?
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; }; then
33609 eval "$as_ac_var=yes"
33610 else
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.$ac_ext >&5
33614 eval "$as_ac_var=no"
33616 rm -f conftest.err conftest.$ac_objext \
33617 conftest$ac_exeext conftest.$ac_ext
33619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33621 if test `eval echo '${'$as_ac_var'}'` = yes; then
33622 cat >>confdefs.h <<_ACEOF
33623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33624 _ACEOF
33627 done
33629 else
33631 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33632 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33633 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33634 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 else
33640 ac_ext=cc
33641 ac_cpp='$CXXCPP $CPPFLAGS'
33642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33646 cat >conftest.$ac_ext <<_ACEOF
33647 /* confdefs.h. */
33648 _ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652 #include <math.h>
33653 #ifdef HAVE_IEEEFP_H
33654 #include <ieeefp.h>
33655 #endif
33658 main ()
33660 _log10l(0);
33662 return 0;
33664 _ACEOF
33665 rm -f conftest.$ac_objext
33666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33667 (eval $ac_compile) 2>conftest.er1
33668 ac_status=$?
33669 grep -v '^ *+' conftest.er1 >conftest.err
33670 rm -f conftest.er1
33671 cat conftest.err >&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); } &&
33674 { ac_try='test -z "$ac_cxx_werror_flag"
33675 || test ! -s conftest.err'
33676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33677 (eval $ac_try) 2>&5
33678 ac_status=$?
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); }; } &&
33681 { ac_try='test -s conftest.$ac_objext'
33682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33683 (eval $ac_try) 2>&5
33684 ac_status=$?
33685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 (exit $ac_status); }; }; then
33687 glibcxx_cv_func__log10l_use=yes
33688 else
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.$ac_ext >&5
33692 glibcxx_cv_func__log10l_use=no
33694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33706 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33708 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33710 for ac_func in _log10l
33712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33713 echo "$as_me:$LINENO: checking for $ac_func" >&5
33714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33715 if eval "test \"\${$as_ac_var+set}\" = set"; then
33716 echo $ECHO_N "(cached) $ECHO_C" >&6
33717 else
33718 if test x$gcc_no_link = xyes; then
33719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33721 { (exit 1); exit 1; }; }
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33731 #define $ac_func innocuous_$ac_func
33733 /* System header to define __stub macros and hopefully few prototypes,
33734 which can conflict with char $ac_func (); below.
33735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33736 <limits.h> exists even on freestanding compilers. */
33738 #ifdef __STDC__
33739 # include <limits.h>
33740 #else
33741 # include <assert.h>
33742 #endif
33744 #undef $ac_func
33746 /* Override any gcc2 internal prototype to avoid an error. */
33747 #ifdef __cplusplus
33748 extern "C"
33750 #endif
33751 /* We use char because int might match the return type of a gcc2
33752 builtin and then its argument prototype would still apply. */
33753 char $ac_func ();
33754 /* The GNU C library defines this for functions which it implements
33755 to always fail with ENOSYS. Some functions are actually named
33756 something starting with __ and the normal name is an alias. */
33757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33758 choke me
33759 #else
33760 char (*f) () = $ac_func;
33761 #endif
33762 #ifdef __cplusplus
33764 #endif
33767 main ()
33769 return f != $ac_func;
33771 return 0;
33773 _ACEOF
33774 rm -f conftest.$ac_objext conftest$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>conftest.er1
33777 ac_status=$?
33778 grep -v '^ *+' conftest.er1 >conftest.err
33779 rm -f conftest.er1
33780 cat conftest.err >&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try='test -z "$ac_c_werror_flag"
33784 || test ! -s conftest.err'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; } &&
33790 { ac_try='test -s conftest$ac_exeext'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; }; then
33796 eval "$as_ac_var=yes"
33797 else
33798 echo "$as_me: failed program was:" >&5
33799 sed 's/^/| /' conftest.$ac_ext >&5
33801 eval "$as_ac_var=no"
33803 rm -f conftest.err conftest.$ac_objext \
33804 conftest$ac_exeext conftest.$ac_ext
33806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33808 if test `eval echo '${'$as_ac_var'}'` = yes; then
33809 cat >>confdefs.h <<_ACEOF
33810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33811 _ACEOF
33814 done
33824 echo "$as_me:$LINENO: checking for modfl declaration" >&5
33825 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33826 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33827 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 else
33833 ac_ext=cc
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33839 cat >conftest.$ac_ext <<_ACEOF
33840 /* confdefs.h. */
33841 _ACEOF
33842 cat confdefs.h >>conftest.$ac_ext
33843 cat >>conftest.$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33845 #include <math.h>
33847 main ()
33849 modfl(0, 0);
33851 return 0;
33853 _ACEOF
33854 rm -f conftest.$ac_objext
33855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33856 (eval $ac_compile) 2>conftest.er1
33857 ac_status=$?
33858 grep -v '^ *+' conftest.er1 >conftest.err
33859 rm -f conftest.er1
33860 cat conftest.err >&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); } &&
33863 { ac_try='test -z "$ac_cxx_werror_flag"
33864 || test ! -s conftest.err'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33867 ac_status=$?
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; } &&
33870 { ac_try='test -s conftest.$ac_objext'
33871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33872 (eval $ac_try) 2>&5
33873 ac_status=$?
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; }; then
33876 glibcxx_cv_func_modfl_use=yes
33877 else
33878 echo "$as_me: failed program was:" >&5
33879 sed 's/^/| /' conftest.$ac_ext >&5
33881 glibcxx_cv_func_modfl_use=no
33883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33884 ac_ext=c
33885 ac_cpp='$CPP $CPPFLAGS'
33886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33895 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33897 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33899 for ac_func in modfl
33901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33902 echo "$as_me:$LINENO: checking for $ac_func" >&5
33903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33904 if eval "test \"\${$as_ac_var+set}\" = set"; then
33905 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 else
33907 if test x$gcc_no_link = xyes; then
33908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33910 { (exit 1); exit 1; }; }
33912 cat >conftest.$ac_ext <<_ACEOF
33913 /* confdefs.h. */
33914 _ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33920 #define $ac_func innocuous_$ac_func
33922 /* System header to define __stub macros and hopefully few prototypes,
33923 which can conflict with char $ac_func (); below.
33924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33925 <limits.h> exists even on freestanding compilers. */
33927 #ifdef __STDC__
33928 # include <limits.h>
33929 #else
33930 # include <assert.h>
33931 #endif
33933 #undef $ac_func
33935 /* Override any gcc2 internal prototype to avoid an error. */
33936 #ifdef __cplusplus
33937 extern "C"
33939 #endif
33940 /* We use char because int might match the return type of a gcc2
33941 builtin and then its argument prototype would still apply. */
33942 char $ac_func ();
33943 /* The GNU C library defines this for functions which it implements
33944 to always fail with ENOSYS. Some functions are actually named
33945 something starting with __ and the normal name is an alias. */
33946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33947 choke me
33948 #else
33949 char (*f) () = $ac_func;
33950 #endif
33951 #ifdef __cplusplus
33953 #endif
33956 main ()
33958 return f != $ac_func;
33960 return 0;
33962 _ACEOF
33963 rm -f conftest.$ac_objext conftest$ac_exeext
33964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33965 (eval $ac_link) 2>conftest.er1
33966 ac_status=$?
33967 grep -v '^ *+' conftest.er1 >conftest.err
33968 rm -f conftest.er1
33969 cat conftest.err >&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } &&
33972 { ac_try='test -z "$ac_c_werror_flag"
33973 || test ! -s conftest.err'
33974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975 (eval $ac_try) 2>&5
33976 ac_status=$?
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); }; } &&
33979 { ac_try='test -s conftest$ac_exeext'
33980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33981 (eval $ac_try) 2>&5
33982 ac_status=$?
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; }; then
33985 eval "$as_ac_var=yes"
33986 else
33987 echo "$as_me: failed program was:" >&5
33988 sed 's/^/| /' conftest.$ac_ext >&5
33990 eval "$as_ac_var=no"
33992 rm -f conftest.err conftest.$ac_objext \
33993 conftest$ac_exeext conftest.$ac_ext
33995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33997 if test `eval echo '${'$as_ac_var'}'` = yes; then
33998 cat >>confdefs.h <<_ACEOF
33999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34000 _ACEOF
34003 done
34005 else
34007 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34008 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34009 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34010 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34012 else
34016 ac_ext=cc
34017 ac_cpp='$CXXCPP $CPPFLAGS'
34018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34022 cat >conftest.$ac_ext <<_ACEOF
34023 /* confdefs.h. */
34024 _ACEOF
34025 cat confdefs.h >>conftest.$ac_ext
34026 cat >>conftest.$ac_ext <<_ACEOF
34027 /* end confdefs.h. */
34028 #include <math.h>
34030 main ()
34032 _modfl(0, 0);
34034 return 0;
34036 _ACEOF
34037 rm -f conftest.$ac_objext
34038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34039 (eval $ac_compile) 2>conftest.er1
34040 ac_status=$?
34041 grep -v '^ *+' conftest.er1 >conftest.err
34042 rm -f conftest.er1
34043 cat conftest.err >&5
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); } &&
34046 { ac_try='test -z "$ac_cxx_werror_flag"
34047 || test ! -s conftest.err'
34048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34049 (eval $ac_try) 2>&5
34050 ac_status=$?
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); }; } &&
34053 { ac_try='test -s conftest.$ac_objext'
34054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055 (eval $ac_try) 2>&5
34056 ac_status=$?
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); }; }; then
34059 glibcxx_cv_func__modfl_use=yes
34060 else
34061 echo "$as_me: failed program was:" >&5
34062 sed 's/^/| /' conftest.$ac_ext >&5
34064 glibcxx_cv_func__modfl_use=no
34066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34067 ac_ext=c
34068 ac_cpp='$CPP $CPPFLAGS'
34069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34078 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34080 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34082 for ac_func in _modfl
34084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34085 echo "$as_me:$LINENO: checking for $ac_func" >&5
34086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34087 if eval "test \"\${$as_ac_var+set}\" = set"; then
34088 echo $ECHO_N "(cached) $ECHO_C" >&6
34089 else
34090 if test x$gcc_no_link = xyes; then
34091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34093 { (exit 1); exit 1; }; }
34095 cat >conftest.$ac_ext <<_ACEOF
34096 /* confdefs.h. */
34097 _ACEOF
34098 cat confdefs.h >>conftest.$ac_ext
34099 cat >>conftest.$ac_ext <<_ACEOF
34100 /* end confdefs.h. */
34101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34103 #define $ac_func innocuous_$ac_func
34105 /* System header to define __stub macros and hopefully few prototypes,
34106 which can conflict with char $ac_func (); below.
34107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34108 <limits.h> exists even on freestanding compilers. */
34110 #ifdef __STDC__
34111 # include <limits.h>
34112 #else
34113 # include <assert.h>
34114 #endif
34116 #undef $ac_func
34118 /* Override any gcc2 internal prototype to avoid an error. */
34119 #ifdef __cplusplus
34120 extern "C"
34122 #endif
34123 /* We use char because int might match the return type of a gcc2
34124 builtin and then its argument prototype would still apply. */
34125 char $ac_func ();
34126 /* The GNU C library defines this for functions which it implements
34127 to always fail with ENOSYS. Some functions are actually named
34128 something starting with __ and the normal name is an alias. */
34129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34130 choke me
34131 #else
34132 char (*f) () = $ac_func;
34133 #endif
34134 #ifdef __cplusplus
34136 #endif
34139 main ()
34141 return f != $ac_func;
34143 return 0;
34145 _ACEOF
34146 rm -f conftest.$ac_objext conftest$ac_exeext
34147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34148 (eval $ac_link) 2>conftest.er1
34149 ac_status=$?
34150 grep -v '^ *+' conftest.er1 >conftest.err
34151 rm -f conftest.er1
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } &&
34155 { ac_try='test -z "$ac_c_werror_flag"
34156 || test ! -s conftest.err'
34157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158 (eval $ac_try) 2>&5
34159 ac_status=$?
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); }; } &&
34162 { ac_try='test -s conftest$ac_exeext'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34165 ac_status=$?
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; }; then
34168 eval "$as_ac_var=yes"
34169 else
34170 echo "$as_me: failed program was:" >&5
34171 sed 's/^/| /' conftest.$ac_ext >&5
34173 eval "$as_ac_var=no"
34175 rm -f conftest.err conftest.$ac_objext \
34176 conftest$ac_exeext conftest.$ac_ext
34178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34180 if test `eval echo '${'$as_ac_var'}'` = yes; then
34181 cat >>confdefs.h <<_ACEOF
34182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34183 _ACEOF
34186 done
34196 echo "$as_me:$LINENO: checking for powl declaration" >&5
34197 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34198 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34199 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34201 else
34205 ac_ext=cc
34206 ac_cpp='$CXXCPP $CPPFLAGS'
34207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34211 cat >conftest.$ac_ext <<_ACEOF
34212 /* confdefs.h. */
34213 _ACEOF
34214 cat confdefs.h >>conftest.$ac_ext
34215 cat >>conftest.$ac_ext <<_ACEOF
34216 /* end confdefs.h. */
34217 #include <math.h>
34219 main ()
34221 powl(0, 0);
34223 return 0;
34225 _ACEOF
34226 rm -f conftest.$ac_objext
34227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34228 (eval $ac_compile) 2>conftest.er1
34229 ac_status=$?
34230 grep -v '^ *+' conftest.er1 >conftest.err
34231 rm -f conftest.er1
34232 cat conftest.err >&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); } &&
34235 { ac_try='test -z "$ac_cxx_werror_flag"
34236 || test ! -s conftest.err'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; } &&
34242 { ac_try='test -s conftest.$ac_objext'
34243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34244 (eval $ac_try) 2>&5
34245 ac_status=$?
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); }; }; then
34248 glibcxx_cv_func_powl_use=yes
34249 else
34250 echo "$as_me: failed program was:" >&5
34251 sed 's/^/| /' conftest.$ac_ext >&5
34253 glibcxx_cv_func_powl_use=no
34255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34256 ac_ext=c
34257 ac_cpp='$CPP $CPPFLAGS'
34258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34267 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34269 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34271 for ac_func in powl
34273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34274 echo "$as_me:$LINENO: checking for $ac_func" >&5
34275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34276 if eval "test \"\${$as_ac_var+set}\" = set"; then
34277 echo $ECHO_N "(cached) $ECHO_C" >&6
34278 else
34279 if test x$gcc_no_link = xyes; then
34280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34282 { (exit 1); exit 1; }; }
34284 cat >conftest.$ac_ext <<_ACEOF
34285 /* confdefs.h. */
34286 _ACEOF
34287 cat confdefs.h >>conftest.$ac_ext
34288 cat >>conftest.$ac_ext <<_ACEOF
34289 /* end confdefs.h. */
34290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34292 #define $ac_func innocuous_$ac_func
34294 /* System header to define __stub macros and hopefully few prototypes,
34295 which can conflict with char $ac_func (); below.
34296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34297 <limits.h> exists even on freestanding compilers. */
34299 #ifdef __STDC__
34300 # include <limits.h>
34301 #else
34302 # include <assert.h>
34303 #endif
34305 #undef $ac_func
34307 /* Override any gcc2 internal prototype to avoid an error. */
34308 #ifdef __cplusplus
34309 extern "C"
34311 #endif
34312 /* We use char because int might match the return type of a gcc2
34313 builtin and then its argument prototype would still apply. */
34314 char $ac_func ();
34315 /* The GNU C library defines this for functions which it implements
34316 to always fail with ENOSYS. Some functions are actually named
34317 something starting with __ and the normal name is an alias. */
34318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34319 choke me
34320 #else
34321 char (*f) () = $ac_func;
34322 #endif
34323 #ifdef __cplusplus
34325 #endif
34328 main ()
34330 return f != $ac_func;
34332 return 0;
34334 _ACEOF
34335 rm -f conftest.$ac_objext conftest$ac_exeext
34336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34337 (eval $ac_link) 2>conftest.er1
34338 ac_status=$?
34339 grep -v '^ *+' conftest.er1 >conftest.err
34340 rm -f conftest.er1
34341 cat conftest.err >&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); } &&
34344 { ac_try='test -z "$ac_c_werror_flag"
34345 || test ! -s conftest.err'
34346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347 (eval $ac_try) 2>&5
34348 ac_status=$?
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); }; } &&
34351 { ac_try='test -s conftest$ac_exeext'
34352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34353 (eval $ac_try) 2>&5
34354 ac_status=$?
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); }; }; then
34357 eval "$as_ac_var=yes"
34358 else
34359 echo "$as_me: failed program was:" >&5
34360 sed 's/^/| /' conftest.$ac_ext >&5
34362 eval "$as_ac_var=no"
34364 rm -f conftest.err conftest.$ac_objext \
34365 conftest$ac_exeext conftest.$ac_ext
34367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34369 if test `eval echo '${'$as_ac_var'}'` = yes; then
34370 cat >>confdefs.h <<_ACEOF
34371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34372 _ACEOF
34375 done
34377 else
34379 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34380 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34381 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34382 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34388 ac_ext=cc
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34394 cat >conftest.$ac_ext <<_ACEOF
34395 /* confdefs.h. */
34396 _ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34400 #include <math.h>
34402 main ()
34404 _powl(0, 0);
34406 return 0;
34408 _ACEOF
34409 rm -f conftest.$ac_objext
34410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34411 (eval $ac_compile) 2>conftest.er1
34412 ac_status=$?
34413 grep -v '^ *+' conftest.er1 >conftest.err
34414 rm -f conftest.er1
34415 cat conftest.err >&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); } &&
34418 { ac_try='test -z "$ac_cxx_werror_flag"
34419 || test ! -s conftest.err'
34420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421 (eval $ac_try) 2>&5
34422 ac_status=$?
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; } &&
34425 { ac_try='test -s conftest.$ac_objext'
34426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34427 (eval $ac_try) 2>&5
34428 ac_status=$?
34429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34430 (exit $ac_status); }; }; then
34431 glibcxx_cv_func__powl_use=yes
34432 else
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.$ac_ext >&5
34436 glibcxx_cv_func__powl_use=no
34438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34439 ac_ext=c
34440 ac_cpp='$CPP $CPPFLAGS'
34441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34450 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34452 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34454 for ac_func in _powl
34456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34457 echo "$as_me:$LINENO: checking for $ac_func" >&5
34458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34459 if eval "test \"\${$as_ac_var+set}\" = set"; then
34460 echo $ECHO_N "(cached) $ECHO_C" >&6
34461 else
34462 if test x$gcc_no_link = xyes; then
34463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34465 { (exit 1); exit 1; }; }
34467 cat >conftest.$ac_ext <<_ACEOF
34468 /* confdefs.h. */
34469 _ACEOF
34470 cat confdefs.h >>conftest.$ac_ext
34471 cat >>conftest.$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34475 #define $ac_func innocuous_$ac_func
34477 /* System header to define __stub macros and hopefully few prototypes,
34478 which can conflict with char $ac_func (); below.
34479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34480 <limits.h> exists even on freestanding compilers. */
34482 #ifdef __STDC__
34483 # include <limits.h>
34484 #else
34485 # include <assert.h>
34486 #endif
34488 #undef $ac_func
34490 /* Override any gcc2 internal prototype to avoid an error. */
34491 #ifdef __cplusplus
34492 extern "C"
34494 #endif
34495 /* We use char because int might match the return type of a gcc2
34496 builtin and then its argument prototype would still apply. */
34497 char $ac_func ();
34498 /* The GNU C library defines this for functions which it implements
34499 to always fail with ENOSYS. Some functions are actually named
34500 something starting with __ and the normal name is an alias. */
34501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34502 choke me
34503 #else
34504 char (*f) () = $ac_func;
34505 #endif
34506 #ifdef __cplusplus
34508 #endif
34511 main ()
34513 return f != $ac_func;
34515 return 0;
34517 _ACEOF
34518 rm -f conftest.$ac_objext conftest$ac_exeext
34519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34520 (eval $ac_link) 2>conftest.er1
34521 ac_status=$?
34522 grep -v '^ *+' conftest.er1 >conftest.err
34523 rm -f conftest.er1
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } &&
34527 { ac_try='test -z "$ac_c_werror_flag"
34528 || test ! -s conftest.err'
34529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34530 (eval $ac_try) 2>&5
34531 ac_status=$?
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); }; } &&
34534 { ac_try='test -s conftest$ac_exeext'
34535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34536 (eval $ac_try) 2>&5
34537 ac_status=$?
34538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539 (exit $ac_status); }; }; then
34540 eval "$as_ac_var=yes"
34541 else
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34545 eval "$as_ac_var=no"
34547 rm -f conftest.err conftest.$ac_objext \
34548 conftest$ac_exeext conftest.$ac_ext
34550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34552 if test `eval echo '${'$as_ac_var'}'` = yes; then
34553 cat >>confdefs.h <<_ACEOF
34554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34555 _ACEOF
34558 done
34568 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34569 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34570 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34571 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34573 else
34577 ac_ext=cc
34578 ac_cpp='$CXXCPP $CPPFLAGS'
34579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34583 cat >conftest.$ac_ext <<_ACEOF
34584 /* confdefs.h. */
34585 _ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589 #include <math.h>
34590 #ifdef HAVE_IEEEFP_H
34591 #include <ieeefp.h>
34592 #endif
34595 main ()
34597 sqrtl(0);
34599 return 0;
34601 _ACEOF
34602 rm -f conftest.$ac_objext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34604 (eval $ac_compile) 2>conftest.er1
34605 ac_status=$?
34606 grep -v '^ *+' conftest.er1 >conftest.err
34607 rm -f conftest.er1
34608 cat conftest.err >&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } &&
34611 { ac_try='test -z "$ac_cxx_werror_flag"
34612 || test ! -s conftest.err'
34613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34614 (eval $ac_try) 2>&5
34615 ac_status=$?
34616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617 (exit $ac_status); }; } &&
34618 { ac_try='test -s conftest.$ac_objext'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34621 ac_status=$?
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; }; then
34624 glibcxx_cv_func_sqrtl_use=yes
34625 else
34626 echo "$as_me: failed program was:" >&5
34627 sed 's/^/| /' conftest.$ac_ext >&5
34629 glibcxx_cv_func_sqrtl_use=no
34631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34632 ac_ext=c
34633 ac_cpp='$CPP $CPPFLAGS'
34634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34643 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34645 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34647 for ac_func in sqrtl
34649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34650 echo "$as_me:$LINENO: checking for $ac_func" >&5
34651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34652 if eval "test \"\${$as_ac_var+set}\" = set"; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 else
34655 if test x$gcc_no_link = xyes; then
34656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34658 { (exit 1); exit 1; }; }
34660 cat >conftest.$ac_ext <<_ACEOF
34661 /* confdefs.h. */
34662 _ACEOF
34663 cat confdefs.h >>conftest.$ac_ext
34664 cat >>conftest.$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34668 #define $ac_func innocuous_$ac_func
34670 /* System header to define __stub macros and hopefully few prototypes,
34671 which can conflict with char $ac_func (); below.
34672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34673 <limits.h> exists even on freestanding compilers. */
34675 #ifdef __STDC__
34676 # include <limits.h>
34677 #else
34678 # include <assert.h>
34679 #endif
34681 #undef $ac_func
34683 /* Override any gcc2 internal prototype to avoid an error. */
34684 #ifdef __cplusplus
34685 extern "C"
34687 #endif
34688 /* We use char because int might match the return type of a gcc2
34689 builtin and then its argument prototype would still apply. */
34690 char $ac_func ();
34691 /* The GNU C library defines this for functions which it implements
34692 to always fail with ENOSYS. Some functions are actually named
34693 something starting with __ and the normal name is an alias. */
34694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34695 choke me
34696 #else
34697 char (*f) () = $ac_func;
34698 #endif
34699 #ifdef __cplusplus
34701 #endif
34704 main ()
34706 return f != $ac_func;
34708 return 0;
34710 _ACEOF
34711 rm -f conftest.$ac_objext conftest$ac_exeext
34712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34713 (eval $ac_link) 2>conftest.er1
34714 ac_status=$?
34715 grep -v '^ *+' conftest.er1 >conftest.err
34716 rm -f conftest.er1
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } &&
34720 { ac_try='test -z "$ac_c_werror_flag"
34721 || test ! -s conftest.err'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34724 ac_status=$?
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; } &&
34727 { ac_try='test -s conftest$ac_exeext'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34730 ac_status=$?
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; }; then
34733 eval "$as_ac_var=yes"
34734 else
34735 echo "$as_me: failed program was:" >&5
34736 sed 's/^/| /' conftest.$ac_ext >&5
34738 eval "$as_ac_var=no"
34740 rm -f conftest.err conftest.$ac_objext \
34741 conftest$ac_exeext conftest.$ac_ext
34743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34745 if test `eval echo '${'$as_ac_var'}'` = yes; then
34746 cat >>confdefs.h <<_ACEOF
34747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34748 _ACEOF
34751 done
34753 else
34755 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34756 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34757 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34758 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 else
34764 ac_ext=cc
34765 ac_cpp='$CXXCPP $CPPFLAGS'
34766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34770 cat >conftest.$ac_ext <<_ACEOF
34771 /* confdefs.h. */
34772 _ACEOF
34773 cat confdefs.h >>conftest.$ac_ext
34774 cat >>conftest.$ac_ext <<_ACEOF
34775 /* end confdefs.h. */
34776 #include <math.h>
34777 #ifdef HAVE_IEEEFP_H
34778 #include <ieeefp.h>
34779 #endif
34782 main ()
34784 _sqrtl(0);
34786 return 0;
34788 _ACEOF
34789 rm -f conftest.$ac_objext
34790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34791 (eval $ac_compile) 2>conftest.er1
34792 ac_status=$?
34793 grep -v '^ *+' conftest.er1 >conftest.err
34794 rm -f conftest.er1
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } &&
34798 { ac_try='test -z "$ac_cxx_werror_flag"
34799 || test ! -s conftest.err'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34802 ac_status=$?
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; } &&
34805 { ac_try='test -s conftest.$ac_objext'
34806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34807 (eval $ac_try) 2>&5
34808 ac_status=$?
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); }; }; then
34811 glibcxx_cv_func__sqrtl_use=yes
34812 else
34813 echo "$as_me: failed program was:" >&5
34814 sed 's/^/| /' conftest.$ac_ext >&5
34816 glibcxx_cv_func__sqrtl_use=no
34818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34819 ac_ext=c
34820 ac_cpp='$CPP $CPPFLAGS'
34821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34830 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34832 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34834 for ac_func in _sqrtl
34836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34837 echo "$as_me:$LINENO: checking for $ac_func" >&5
34838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34839 if eval "test \"\${$as_ac_var+set}\" = set"; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 else
34842 if test x$gcc_no_link = xyes; then
34843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34845 { (exit 1); exit 1; }; }
34847 cat >conftest.$ac_ext <<_ACEOF
34848 /* confdefs.h. */
34849 _ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34855 #define $ac_func innocuous_$ac_func
34857 /* System header to define __stub macros and hopefully few prototypes,
34858 which can conflict with char $ac_func (); below.
34859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34860 <limits.h> exists even on freestanding compilers. */
34862 #ifdef __STDC__
34863 # include <limits.h>
34864 #else
34865 # include <assert.h>
34866 #endif
34868 #undef $ac_func
34870 /* Override any gcc2 internal prototype to avoid an error. */
34871 #ifdef __cplusplus
34872 extern "C"
34874 #endif
34875 /* We use char because int might match the return type of a gcc2
34876 builtin and then its argument prototype would still apply. */
34877 char $ac_func ();
34878 /* The GNU C library defines this for functions which it implements
34879 to always fail with ENOSYS. Some functions are actually named
34880 something starting with __ and the normal name is an alias. */
34881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34882 choke me
34883 #else
34884 char (*f) () = $ac_func;
34885 #endif
34886 #ifdef __cplusplus
34888 #endif
34891 main ()
34893 return f != $ac_func;
34895 return 0;
34897 _ACEOF
34898 rm -f conftest.$ac_objext conftest$ac_exeext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34900 (eval $ac_link) 2>conftest.er1
34901 ac_status=$?
34902 grep -v '^ *+' conftest.er1 >conftest.err
34903 rm -f conftest.er1
34904 cat conftest.err >&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try='test -z "$ac_c_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34925 eval "$as_ac_var=no"
34927 rm -f conftest.err conftest.$ac_objext \
34928 conftest$ac_exeext conftest.$ac_ext
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h <<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34935 _ACEOF
34938 done
34948 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
34949 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
34950 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34951 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
34952 echo $ECHO_N "(cached) $ECHO_C" >&6
34953 else
34957 ac_ext=cc
34958 ac_cpp='$CXXCPP $CPPFLAGS'
34959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34963 cat >conftest.$ac_ext <<_ACEOF
34964 /* confdefs.h. */
34965 _ACEOF
34966 cat confdefs.h >>conftest.$ac_ext
34967 cat >>conftest.$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34969 #include <math.h>
34971 main ()
34973 sincosl(0, 0, 0);
34975 return 0;
34977 _ACEOF
34978 rm -f conftest.$ac_objext
34979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34980 (eval $ac_compile) 2>conftest.er1
34981 ac_status=$?
34982 grep -v '^ *+' conftest.er1 >conftest.err
34983 rm -f conftest.er1
34984 cat conftest.err >&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); } &&
34987 { ac_try='test -z "$ac_cxx_werror_flag"
34988 || test ! -s conftest.err'
34989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34990 (eval $ac_try) 2>&5
34991 ac_status=$?
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); }; } &&
34994 { ac_try='test -s conftest.$ac_objext'
34995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34996 (eval $ac_try) 2>&5
34997 ac_status=$?
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); }; }; then
35000 glibcxx_cv_func_sincosl_use=yes
35001 else
35002 echo "$as_me: failed program was:" >&5
35003 sed 's/^/| /' conftest.$ac_ext >&5
35005 glibcxx_cv_func_sincosl_use=no
35007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35008 ac_ext=c
35009 ac_cpp='$CPP $CPPFLAGS'
35010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35019 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35021 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35023 for ac_func in sincosl
35025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35026 echo "$as_me:$LINENO: checking for $ac_func" >&5
35027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35028 if eval "test \"\${$as_ac_var+set}\" = set"; then
35029 echo $ECHO_N "(cached) $ECHO_C" >&6
35030 else
35031 if test x$gcc_no_link = xyes; then
35032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35034 { (exit 1); exit 1; }; }
35036 cat >conftest.$ac_ext <<_ACEOF
35037 /* confdefs.h. */
35038 _ACEOF
35039 cat confdefs.h >>conftest.$ac_ext
35040 cat >>conftest.$ac_ext <<_ACEOF
35041 /* end confdefs.h. */
35042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35044 #define $ac_func innocuous_$ac_func
35046 /* System header to define __stub macros and hopefully few prototypes,
35047 which can conflict with char $ac_func (); below.
35048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35049 <limits.h> exists even on freestanding compilers. */
35051 #ifdef __STDC__
35052 # include <limits.h>
35053 #else
35054 # include <assert.h>
35055 #endif
35057 #undef $ac_func
35059 /* Override any gcc2 internal prototype to avoid an error. */
35060 #ifdef __cplusplus
35061 extern "C"
35063 #endif
35064 /* We use char because int might match the return type of a gcc2
35065 builtin and then its argument prototype would still apply. */
35066 char $ac_func ();
35067 /* The GNU C library defines this for functions which it implements
35068 to always fail with ENOSYS. Some functions are actually named
35069 something starting with __ and the normal name is an alias. */
35070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35071 choke me
35072 #else
35073 char (*f) () = $ac_func;
35074 #endif
35075 #ifdef __cplusplus
35077 #endif
35080 main ()
35082 return f != $ac_func;
35084 return 0;
35086 _ACEOF
35087 rm -f conftest.$ac_objext conftest$ac_exeext
35088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35089 (eval $ac_link) 2>conftest.er1
35090 ac_status=$?
35091 grep -v '^ *+' conftest.er1 >conftest.err
35092 rm -f conftest.er1
35093 cat conftest.err >&5
35094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35095 (exit $ac_status); } &&
35096 { ac_try='test -z "$ac_c_werror_flag"
35097 || test ! -s conftest.err'
35098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35099 (eval $ac_try) 2>&5
35100 ac_status=$?
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); }; } &&
35103 { ac_try='test -s conftest$ac_exeext'
35104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35105 (eval $ac_try) 2>&5
35106 ac_status=$?
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); }; }; then
35109 eval "$as_ac_var=yes"
35110 else
35111 echo "$as_me: failed program was:" >&5
35112 sed 's/^/| /' conftest.$ac_ext >&5
35114 eval "$as_ac_var=no"
35116 rm -f conftest.err conftest.$ac_objext \
35117 conftest$ac_exeext conftest.$ac_ext
35119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35121 if test `eval echo '${'$as_ac_var'}'` = yes; then
35122 cat >>confdefs.h <<_ACEOF
35123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35124 _ACEOF
35127 done
35129 else
35131 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35132 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35133 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35134 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35135 echo $ECHO_N "(cached) $ECHO_C" >&6
35136 else
35140 ac_ext=cc
35141 ac_cpp='$CXXCPP $CPPFLAGS'
35142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35146 cat >conftest.$ac_ext <<_ACEOF
35147 /* confdefs.h. */
35148 _ACEOF
35149 cat confdefs.h >>conftest.$ac_ext
35150 cat >>conftest.$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35152 #include <math.h>
35154 main ()
35156 _sincosl(0, 0, 0);
35158 return 0;
35160 _ACEOF
35161 rm -f conftest.$ac_objext
35162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35163 (eval $ac_compile) 2>conftest.er1
35164 ac_status=$?
35165 grep -v '^ *+' conftest.er1 >conftest.err
35166 rm -f conftest.er1
35167 cat conftest.err >&5
35168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35169 (exit $ac_status); } &&
35170 { ac_try='test -z "$ac_cxx_werror_flag"
35171 || test ! -s conftest.err'
35172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35173 (eval $ac_try) 2>&5
35174 ac_status=$?
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); }; } &&
35177 { ac_try='test -s conftest.$ac_objext'
35178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35179 (eval $ac_try) 2>&5
35180 ac_status=$?
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); }; }; then
35183 glibcxx_cv_func__sincosl_use=yes
35184 else
35185 echo "$as_me: failed program was:" >&5
35186 sed 's/^/| /' conftest.$ac_ext >&5
35188 glibcxx_cv_func__sincosl_use=no
35190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35191 ac_ext=c
35192 ac_cpp='$CPP $CPPFLAGS'
35193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35202 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35204 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35206 for ac_func in _sincosl
35208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35209 echo "$as_me:$LINENO: checking for $ac_func" >&5
35210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35211 if eval "test \"\${$as_ac_var+set}\" = set"; then
35212 echo $ECHO_N "(cached) $ECHO_C" >&6
35213 else
35214 if test x$gcc_no_link = xyes; then
35215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35217 { (exit 1); exit 1; }; }
35219 cat >conftest.$ac_ext <<_ACEOF
35220 /* confdefs.h. */
35221 _ACEOF
35222 cat confdefs.h >>conftest.$ac_ext
35223 cat >>conftest.$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35227 #define $ac_func innocuous_$ac_func
35229 /* System header to define __stub macros and hopefully few prototypes,
35230 which can conflict with char $ac_func (); below.
35231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35232 <limits.h> exists even on freestanding compilers. */
35234 #ifdef __STDC__
35235 # include <limits.h>
35236 #else
35237 # include <assert.h>
35238 #endif
35240 #undef $ac_func
35242 /* Override any gcc2 internal prototype to avoid an error. */
35243 #ifdef __cplusplus
35244 extern "C"
35246 #endif
35247 /* We use char because int might match the return type of a gcc2
35248 builtin and then its argument prototype would still apply. */
35249 char $ac_func ();
35250 /* The GNU C library defines this for functions which it implements
35251 to always fail with ENOSYS. Some functions are actually named
35252 something starting with __ and the normal name is an alias. */
35253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35254 choke me
35255 #else
35256 char (*f) () = $ac_func;
35257 #endif
35258 #ifdef __cplusplus
35260 #endif
35263 main ()
35265 return f != $ac_func;
35267 return 0;
35269 _ACEOF
35270 rm -f conftest.$ac_objext conftest$ac_exeext
35271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35272 (eval $ac_link) 2>conftest.er1
35273 ac_status=$?
35274 grep -v '^ *+' conftest.er1 >conftest.err
35275 rm -f conftest.er1
35276 cat conftest.err >&5
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); } &&
35279 { ac_try='test -z "$ac_c_werror_flag"
35280 || test ! -s conftest.err'
35281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35282 (eval $ac_try) 2>&5
35283 ac_status=$?
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); }; } &&
35286 { ac_try='test -s conftest$ac_exeext'
35287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35288 (eval $ac_try) 2>&5
35289 ac_status=$?
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); }; }; then
35292 eval "$as_ac_var=yes"
35293 else
35294 echo "$as_me: failed program was:" >&5
35295 sed 's/^/| /' conftest.$ac_ext >&5
35297 eval "$as_ac_var=no"
35299 rm -f conftest.err conftest.$ac_objext \
35300 conftest$ac_exeext conftest.$ac_ext
35302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35304 if test `eval echo '${'$as_ac_var'}'` = yes; then
35305 cat >>confdefs.h <<_ACEOF
35306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35307 _ACEOF
35310 done
35320 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35321 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35322 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35323 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35324 echo $ECHO_N "(cached) $ECHO_C" >&6
35325 else
35329 ac_ext=cc
35330 ac_cpp='$CXXCPP $CPPFLAGS'
35331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35335 cat >conftest.$ac_ext <<_ACEOF
35336 /* confdefs.h. */
35337 _ACEOF
35338 cat confdefs.h >>conftest.$ac_ext
35339 cat >>conftest.$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341 #include <math.h>
35342 #ifdef HAVE_IEEEFP_H
35343 #include <ieeefp.h>
35344 #endif
35347 main ()
35349 finitel(0);
35351 return 0;
35353 _ACEOF
35354 rm -f conftest.$ac_objext
35355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35356 (eval $ac_compile) 2>conftest.er1
35357 ac_status=$?
35358 grep -v '^ *+' conftest.er1 >conftest.err
35359 rm -f conftest.er1
35360 cat conftest.err >&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); } &&
35363 { ac_try='test -z "$ac_cxx_werror_flag"
35364 || test ! -s conftest.err'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35367 ac_status=$?
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; } &&
35370 { ac_try='test -s conftest.$ac_objext'
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35373 ac_status=$?
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; }; then
35376 glibcxx_cv_func_finitel_use=yes
35377 else
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.$ac_ext >&5
35381 glibcxx_cv_func_finitel_use=no
35383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35384 ac_ext=c
35385 ac_cpp='$CPP $CPPFLAGS'
35386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35395 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35397 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35399 for ac_func in finitel
35401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35402 echo "$as_me:$LINENO: checking for $ac_func" >&5
35403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35404 if eval "test \"\${$as_ac_var+set}\" = set"; then
35405 echo $ECHO_N "(cached) $ECHO_C" >&6
35406 else
35407 if test x$gcc_no_link = xyes; then
35408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35410 { (exit 1); exit 1; }; }
35412 cat >conftest.$ac_ext <<_ACEOF
35413 /* confdefs.h. */
35414 _ACEOF
35415 cat confdefs.h >>conftest.$ac_ext
35416 cat >>conftest.$ac_ext <<_ACEOF
35417 /* end confdefs.h. */
35418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35420 #define $ac_func innocuous_$ac_func
35422 /* System header to define __stub macros and hopefully few prototypes,
35423 which can conflict with char $ac_func (); below.
35424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35425 <limits.h> exists even on freestanding compilers. */
35427 #ifdef __STDC__
35428 # include <limits.h>
35429 #else
35430 # include <assert.h>
35431 #endif
35433 #undef $ac_func
35435 /* Override any gcc2 internal prototype to avoid an error. */
35436 #ifdef __cplusplus
35437 extern "C"
35439 #endif
35440 /* We use char because int might match the return type of a gcc2
35441 builtin and then its argument prototype would still apply. */
35442 char $ac_func ();
35443 /* The GNU C library defines this for functions which it implements
35444 to always fail with ENOSYS. Some functions are actually named
35445 something starting with __ and the normal name is an alias. */
35446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35447 choke me
35448 #else
35449 char (*f) () = $ac_func;
35450 #endif
35451 #ifdef __cplusplus
35453 #endif
35456 main ()
35458 return f != $ac_func;
35460 return 0;
35462 _ACEOF
35463 rm -f conftest.$ac_objext conftest$ac_exeext
35464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35465 (eval $ac_link) 2>conftest.er1
35466 ac_status=$?
35467 grep -v '^ *+' conftest.er1 >conftest.err
35468 rm -f conftest.er1
35469 cat conftest.err >&5
35470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471 (exit $ac_status); } &&
35472 { ac_try='test -z "$ac_c_werror_flag"
35473 || test ! -s conftest.err'
35474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35475 (eval $ac_try) 2>&5
35476 ac_status=$?
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); }; } &&
35479 { ac_try='test -s conftest$ac_exeext'
35480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35481 (eval $ac_try) 2>&5
35482 ac_status=$?
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); }; }; then
35485 eval "$as_ac_var=yes"
35486 else
35487 echo "$as_me: failed program was:" >&5
35488 sed 's/^/| /' conftest.$ac_ext >&5
35490 eval "$as_ac_var=no"
35492 rm -f conftest.err conftest.$ac_objext \
35493 conftest$ac_exeext conftest.$ac_ext
35495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35497 if test `eval echo '${'$as_ac_var'}'` = yes; then
35498 cat >>confdefs.h <<_ACEOF
35499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35500 _ACEOF
35503 done
35505 else
35507 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35508 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35509 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35510 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35511 echo $ECHO_N "(cached) $ECHO_C" >&6
35512 else
35516 ac_ext=cc
35517 ac_cpp='$CXXCPP $CPPFLAGS'
35518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35522 cat >conftest.$ac_ext <<_ACEOF
35523 /* confdefs.h. */
35524 _ACEOF
35525 cat confdefs.h >>conftest.$ac_ext
35526 cat >>conftest.$ac_ext <<_ACEOF
35527 /* end confdefs.h. */
35528 #include <math.h>
35529 #ifdef HAVE_IEEEFP_H
35530 #include <ieeefp.h>
35531 #endif
35534 main ()
35536 _finitel(0);
35538 return 0;
35540 _ACEOF
35541 rm -f conftest.$ac_objext
35542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35543 (eval $ac_compile) 2>conftest.er1
35544 ac_status=$?
35545 grep -v '^ *+' conftest.er1 >conftest.err
35546 rm -f conftest.er1
35547 cat conftest.err >&5
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); } &&
35550 { ac_try='test -z "$ac_cxx_werror_flag"
35551 || test ! -s conftest.err'
35552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35553 (eval $ac_try) 2>&5
35554 ac_status=$?
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); }; } &&
35557 { ac_try='test -s conftest.$ac_objext'
35558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35559 (eval $ac_try) 2>&5
35560 ac_status=$?
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); }; }; then
35563 glibcxx_cv_func__finitel_use=yes
35564 else
35565 echo "$as_me: failed program was:" >&5
35566 sed 's/^/| /' conftest.$ac_ext >&5
35568 glibcxx_cv_func__finitel_use=no
35570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35571 ac_ext=c
35572 ac_cpp='$CPP $CPPFLAGS'
35573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35582 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35584 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35586 for ac_func in _finitel
35588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35589 echo "$as_me:$LINENO: checking for $ac_func" >&5
35590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35591 if eval "test \"\${$as_ac_var+set}\" = set"; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 else
35594 if test x$gcc_no_link = xyes; then
35595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35597 { (exit 1); exit 1; }; }
35599 cat >conftest.$ac_ext <<_ACEOF
35600 /* confdefs.h. */
35601 _ACEOF
35602 cat confdefs.h >>conftest.$ac_ext
35603 cat >>conftest.$ac_ext <<_ACEOF
35604 /* end confdefs.h. */
35605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35607 #define $ac_func innocuous_$ac_func
35609 /* System header to define __stub macros and hopefully few prototypes,
35610 which can conflict with char $ac_func (); below.
35611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35612 <limits.h> exists even on freestanding compilers. */
35614 #ifdef __STDC__
35615 # include <limits.h>
35616 #else
35617 # include <assert.h>
35618 #endif
35620 #undef $ac_func
35622 /* Override any gcc2 internal prototype to avoid an error. */
35623 #ifdef __cplusplus
35624 extern "C"
35626 #endif
35627 /* We use char because int might match the return type of a gcc2
35628 builtin and then its argument prototype would still apply. */
35629 char $ac_func ();
35630 /* The GNU C library defines this for functions which it implements
35631 to always fail with ENOSYS. Some functions are actually named
35632 something starting with __ and the normal name is an alias. */
35633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35634 choke me
35635 #else
35636 char (*f) () = $ac_func;
35637 #endif
35638 #ifdef __cplusplus
35640 #endif
35643 main ()
35645 return f != $ac_func;
35647 return 0;
35649 _ACEOF
35650 rm -f conftest.$ac_objext conftest$ac_exeext
35651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35652 (eval $ac_link) 2>conftest.er1
35653 ac_status=$?
35654 grep -v '^ *+' conftest.er1 >conftest.err
35655 rm -f conftest.er1
35656 cat conftest.err >&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } &&
35659 { ac_try='test -z "$ac_c_werror_flag"
35660 || test ! -s conftest.err'
35661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662 (eval $ac_try) 2>&5
35663 ac_status=$?
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); }; } &&
35666 { ac_try='test -s conftest$ac_exeext'
35667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35668 (eval $ac_try) 2>&5
35669 ac_status=$?
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); }; }; then
35672 eval "$as_ac_var=yes"
35673 else
35674 echo "$as_me: failed program was:" >&5
35675 sed 's/^/| /' conftest.$ac_ext >&5
35677 eval "$as_ac_var=no"
35679 rm -f conftest.err conftest.$ac_objext \
35680 conftest$ac_exeext conftest.$ac_ext
35682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35684 if test `eval echo '${'$as_ac_var'}'` = yes; then
35685 cat >>confdefs.h <<_ACEOF
35686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35687 _ACEOF
35690 done
35699 LIBS="$ac_save_LIBS"
35700 CXXFLAGS="$ac_save_CXXFLAGS"
35704 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35705 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35706 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35707 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35708 echo $ECHO_N "(cached) $ECHO_C" >&6
35709 else
35713 ac_ext=cc
35714 ac_cpp='$CXXCPP $CPPFLAGS'
35715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35719 cat >conftest.$ac_ext <<_ACEOF
35720 /* confdefs.h. */
35721 _ACEOF
35722 cat confdefs.h >>conftest.$ac_ext
35723 cat >>conftest.$ac_ext <<_ACEOF
35724 /* end confdefs.h. */
35725 #include <math.h>
35727 main ()
35729 __builtin_abs(0);
35731 return 0;
35733 _ACEOF
35734 rm -f conftest.$ac_objext
35735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35736 (eval $ac_compile) 2>conftest.er1
35737 ac_status=$?
35738 grep -v '^ *+' conftest.er1 >conftest.err
35739 rm -f conftest.er1
35740 cat conftest.err >&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); } &&
35743 { ac_try='test -z "$ac_cxx_werror_flag"
35744 || test ! -s conftest.err'
35745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35746 (eval $ac_try) 2>&5
35747 ac_status=$?
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); }; } &&
35750 { ac_try='test -s conftest.$ac_objext'
35751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35752 (eval $ac_try) 2>&5
35753 ac_status=$?
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); }; }; then
35756 glibcxx_cv_func___builtin_abs_use=yes
35757 else
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35761 glibcxx_cv_func___builtin_abs_use=no
35763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35764 ac_ext=c
35765 ac_cpp='$CPP $CPPFLAGS'
35766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35775 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35776 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35777 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35778 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35779 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35780 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35781 echo $ECHO_N "(cached) $ECHO_C" >&6
35782 else
35784 if test x$gcc_no_link = xyes; then
35785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35787 { (exit 1); exit 1; }; }
35789 cat >conftest.$ac_ext <<_ACEOF
35790 /* confdefs.h. */
35791 _ACEOF
35792 cat confdefs.h >>conftest.$ac_ext
35793 cat >>conftest.$ac_ext <<_ACEOF
35794 /* end confdefs.h. */
35795 #include <math.h>
35797 main ()
35799 __builtin_abs(0);
35801 return 0;
35803 _ACEOF
35804 rm -f conftest.$ac_objext conftest$ac_exeext
35805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35806 (eval $ac_link) 2>conftest.er1
35807 ac_status=$?
35808 grep -v '^ *+' conftest.er1 >conftest.err
35809 rm -f conftest.er1
35810 cat conftest.err >&5
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); } &&
35813 { ac_try='test -z "$ac_c_werror_flag"
35814 || test ! -s conftest.err'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35817 ac_status=$?
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; } &&
35820 { ac_try='test -s conftest$ac_exeext'
35821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35822 (eval $ac_try) 2>&5
35823 ac_status=$?
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); }; }; then
35826 glibcxx_cv_func___builtin_abs_link=yes
35827 else
35828 echo "$as_me: failed program was:" >&5
35829 sed 's/^/| /' conftest.$ac_ext >&5
35831 glibcxx_cv_func___builtin_abs_link=no
35833 rm -f conftest.err conftest.$ac_objext \
35834 conftest$ac_exeext conftest.$ac_ext
35839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35840 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35842 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35844 cat >>confdefs.h <<\_ACEOF
35845 #define HAVE___BUILTIN_ABS 1
35846 _ACEOF
35853 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35854 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35855 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35856 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35857 echo $ECHO_N "(cached) $ECHO_C" >&6
35858 else
35862 ac_ext=cc
35863 ac_cpp='$CXXCPP $CPPFLAGS'
35864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35868 cat >conftest.$ac_ext <<_ACEOF
35869 /* confdefs.h. */
35870 _ACEOF
35871 cat confdefs.h >>conftest.$ac_ext
35872 cat >>conftest.$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35874 #include <math.h>
35876 main ()
35878 __builtin_fabsf(0);
35880 return 0;
35882 _ACEOF
35883 rm -f conftest.$ac_objext
35884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35885 (eval $ac_compile) 2>conftest.er1
35886 ac_status=$?
35887 grep -v '^ *+' conftest.er1 >conftest.err
35888 rm -f conftest.er1
35889 cat conftest.err >&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } &&
35892 { ac_try='test -z "$ac_cxx_werror_flag"
35893 || test ! -s conftest.err'
35894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35895 (eval $ac_try) 2>&5
35896 ac_status=$?
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); }; } &&
35899 { ac_try='test -s conftest.$ac_objext'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35902 ac_status=$?
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; }; then
35905 glibcxx_cv_func___builtin_fabsf_use=yes
35906 else
35907 echo "$as_me: failed program was:" >&5
35908 sed 's/^/| /' conftest.$ac_ext >&5
35910 glibcxx_cv_func___builtin_fabsf_use=no
35912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35913 ac_ext=c
35914 ac_cpp='$CPP $CPPFLAGS'
35915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35923 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35924 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35925 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35926 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35927 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35928 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35929 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35930 echo $ECHO_N "(cached) $ECHO_C" >&6
35931 else
35933 if test x$gcc_no_link = xyes; then
35934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35936 { (exit 1); exit 1; }; }
35938 cat >conftest.$ac_ext <<_ACEOF
35939 /* confdefs.h. */
35940 _ACEOF
35941 cat confdefs.h >>conftest.$ac_ext
35942 cat >>conftest.$ac_ext <<_ACEOF
35943 /* end confdefs.h. */
35944 #include <math.h>
35946 main ()
35948 __builtin_fabsf(0);
35950 return 0;
35952 _ACEOF
35953 rm -f conftest.$ac_objext conftest$ac_exeext
35954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35955 (eval $ac_link) 2>conftest.er1
35956 ac_status=$?
35957 grep -v '^ *+' conftest.er1 >conftest.err
35958 rm -f conftest.er1
35959 cat conftest.err >&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } &&
35962 { ac_try='test -z "$ac_c_werror_flag"
35963 || test ! -s conftest.err'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35966 ac_status=$?
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; } &&
35969 { ac_try='test -s conftest$ac_exeext'
35970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35971 (eval $ac_try) 2>&5
35972 ac_status=$?
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); }; }; then
35975 glibcxx_cv_func___builtin_fabsf_link=yes
35976 else
35977 echo "$as_me: failed program was:" >&5
35978 sed 's/^/| /' conftest.$ac_ext >&5
35980 glibcxx_cv_func___builtin_fabsf_link=no
35982 rm -f conftest.err conftest.$ac_objext \
35983 conftest$ac_exeext conftest.$ac_ext
35988 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
35989 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
35991 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
35993 cat >>confdefs.h <<\_ACEOF
35994 #define HAVE___BUILTIN_FABSF 1
35995 _ACEOF
36002 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36003 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36004 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36005 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36006 echo $ECHO_N "(cached) $ECHO_C" >&6
36007 else
36011 ac_ext=cc
36012 ac_cpp='$CXXCPP $CPPFLAGS'
36013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36017 cat >conftest.$ac_ext <<_ACEOF
36018 /* confdefs.h. */
36019 _ACEOF
36020 cat confdefs.h >>conftest.$ac_ext
36021 cat >>conftest.$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023 #include <math.h>
36025 main ()
36027 __builtin_fabs(0);
36029 return 0;
36031 _ACEOF
36032 rm -f conftest.$ac_objext
36033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36034 (eval $ac_compile) 2>conftest.er1
36035 ac_status=$?
36036 grep -v '^ *+' conftest.er1 >conftest.err
36037 rm -f conftest.er1
36038 cat conftest.err >&5
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); } &&
36041 { ac_try='test -z "$ac_cxx_werror_flag"
36042 || test ! -s conftest.err'
36043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36044 (eval $ac_try) 2>&5
36045 ac_status=$?
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); }; } &&
36048 { ac_try='test -s conftest.$ac_objext'
36049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36050 (eval $ac_try) 2>&5
36051 ac_status=$?
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); }; }; then
36054 glibcxx_cv_func___builtin_fabs_use=yes
36055 else
36056 echo "$as_me: failed program was:" >&5
36057 sed 's/^/| /' conftest.$ac_ext >&5
36059 glibcxx_cv_func___builtin_fabs_use=no
36061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36062 ac_ext=c
36063 ac_cpp='$CPP $CPPFLAGS'
36064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36072 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36073 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36074 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36075 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36076 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36077 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36078 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36080 else
36082 if test x$gcc_no_link = xyes; then
36083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36085 { (exit 1); exit 1; }; }
36087 cat >conftest.$ac_ext <<_ACEOF
36088 /* confdefs.h. */
36089 _ACEOF
36090 cat confdefs.h >>conftest.$ac_ext
36091 cat >>conftest.$ac_ext <<_ACEOF
36092 /* end confdefs.h. */
36093 #include <math.h>
36095 main ()
36097 __builtin_fabs(0);
36099 return 0;
36101 _ACEOF
36102 rm -f conftest.$ac_objext conftest$ac_exeext
36103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36104 (eval $ac_link) 2>conftest.er1
36105 ac_status=$?
36106 grep -v '^ *+' conftest.er1 >conftest.err
36107 rm -f conftest.er1
36108 cat conftest.err >&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); } &&
36111 { ac_try='test -z "$ac_c_werror_flag"
36112 || test ! -s conftest.err'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36115 ac_status=$?
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; } &&
36118 { ac_try='test -s conftest$ac_exeext'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36121 ac_status=$?
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; }; then
36124 glibcxx_cv_func___builtin_fabs_link=yes
36125 else
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.$ac_ext >&5
36129 glibcxx_cv_func___builtin_fabs_link=no
36131 rm -f conftest.err conftest.$ac_objext \
36132 conftest$ac_exeext conftest.$ac_ext
36137 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36138 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36140 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36142 cat >>confdefs.h <<\_ACEOF
36143 #define HAVE___BUILTIN_FABS 1
36144 _ACEOF
36151 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36152 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36153 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36154 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36155 echo $ECHO_N "(cached) $ECHO_C" >&6
36156 else
36160 ac_ext=cc
36161 ac_cpp='$CXXCPP $CPPFLAGS'
36162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36166 cat >conftest.$ac_ext <<_ACEOF
36167 /* confdefs.h. */
36168 _ACEOF
36169 cat confdefs.h >>conftest.$ac_ext
36170 cat >>conftest.$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172 #include <math.h>
36174 main ()
36176 __builtin_fabsl(0);
36178 return 0;
36180 _ACEOF
36181 rm -f conftest.$ac_objext
36182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36183 (eval $ac_compile) 2>conftest.er1
36184 ac_status=$?
36185 grep -v '^ *+' conftest.er1 >conftest.err
36186 rm -f conftest.er1
36187 cat conftest.err >&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); } &&
36190 { ac_try='test -z "$ac_cxx_werror_flag"
36191 || test ! -s conftest.err'
36192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193 (eval $ac_try) 2>&5
36194 ac_status=$?
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); }; } &&
36197 { ac_try='test -s conftest.$ac_objext'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36200 ac_status=$?
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; }; then
36203 glibcxx_cv_func___builtin_fabsl_use=yes
36204 else
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36208 glibcxx_cv_func___builtin_fabsl_use=no
36210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36211 ac_ext=c
36212 ac_cpp='$CPP $CPPFLAGS'
36213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36222 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36223 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36224 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36225 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36226 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36227 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 else
36231 if test x$gcc_no_link = xyes; then
36232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36234 { (exit 1); exit 1; }; }
36236 cat >conftest.$ac_ext <<_ACEOF
36237 /* confdefs.h. */
36238 _ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242 #include <math.h>
36244 main ()
36246 __builtin_fabsl(0);
36248 return 0;
36250 _ACEOF
36251 rm -f conftest.$ac_objext conftest$ac_exeext
36252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36253 (eval $ac_link) 2>conftest.er1
36254 ac_status=$?
36255 grep -v '^ *+' conftest.er1 >conftest.err
36256 rm -f conftest.er1
36257 cat conftest.err >&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); } &&
36260 { ac_try='test -z "$ac_c_werror_flag"
36261 || test ! -s conftest.err'
36262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36263 (eval $ac_try) 2>&5
36264 ac_status=$?
36265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266 (exit $ac_status); }; } &&
36267 { ac_try='test -s conftest$ac_exeext'
36268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36269 (eval $ac_try) 2>&5
36270 ac_status=$?
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); }; }; then
36273 glibcxx_cv_func___builtin_fabsl_link=yes
36274 else
36275 echo "$as_me: failed program was:" >&5
36276 sed 's/^/| /' conftest.$ac_ext >&5
36278 glibcxx_cv_func___builtin_fabsl_link=no
36280 rm -f conftest.err conftest.$ac_objext \
36281 conftest$ac_exeext conftest.$ac_ext
36286 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36287 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36289 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36291 cat >>confdefs.h <<\_ACEOF
36292 #define HAVE___BUILTIN_FABSL 1
36293 _ACEOF
36300 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36301 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36302 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36303 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36304 echo $ECHO_N "(cached) $ECHO_C" >&6
36305 else
36309 ac_ext=cc
36310 ac_cpp='$CXXCPP $CPPFLAGS'
36311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36315 cat >conftest.$ac_ext <<_ACEOF
36316 /* confdefs.h. */
36317 _ACEOF
36318 cat confdefs.h >>conftest.$ac_ext
36319 cat >>conftest.$ac_ext <<_ACEOF
36320 /* end confdefs.h. */
36321 #include <math.h>
36323 main ()
36325 __builtin_labs(0);
36327 return 0;
36329 _ACEOF
36330 rm -f conftest.$ac_objext
36331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36332 (eval $ac_compile) 2>conftest.er1
36333 ac_status=$?
36334 grep -v '^ *+' conftest.er1 >conftest.err
36335 rm -f conftest.er1
36336 cat conftest.err >&5
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); } &&
36339 { ac_try='test -z "$ac_cxx_werror_flag"
36340 || test ! -s conftest.err'
36341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36342 (eval $ac_try) 2>&5
36343 ac_status=$?
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); }; } &&
36346 { ac_try='test -s conftest.$ac_objext'
36347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36348 (eval $ac_try) 2>&5
36349 ac_status=$?
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); }; }; then
36352 glibcxx_cv_func___builtin_labs_use=yes
36353 else
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36357 glibcxx_cv_func___builtin_labs_use=no
36359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36360 ac_ext=c
36361 ac_cpp='$CPP $CPPFLAGS'
36362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36371 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36372 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36373 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36374 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36375 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36376 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36377 echo $ECHO_N "(cached) $ECHO_C" >&6
36378 else
36380 if test x$gcc_no_link = xyes; then
36381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36383 { (exit 1); exit 1; }; }
36385 cat >conftest.$ac_ext <<_ACEOF
36386 /* confdefs.h. */
36387 _ACEOF
36388 cat confdefs.h >>conftest.$ac_ext
36389 cat >>conftest.$ac_ext <<_ACEOF
36390 /* end confdefs.h. */
36391 #include <math.h>
36393 main ()
36395 __builtin_labs(0);
36397 return 0;
36399 _ACEOF
36400 rm -f conftest.$ac_objext conftest$ac_exeext
36401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36402 (eval $ac_link) 2>conftest.er1
36403 ac_status=$?
36404 grep -v '^ *+' conftest.er1 >conftest.err
36405 rm -f conftest.er1
36406 cat conftest.err >&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); } &&
36409 { ac_try='test -z "$ac_c_werror_flag"
36410 || test ! -s conftest.err'
36411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412 (eval $ac_try) 2>&5
36413 ac_status=$?
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); }; } &&
36416 { ac_try='test -s conftest$ac_exeext'
36417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36418 (eval $ac_try) 2>&5
36419 ac_status=$?
36420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36421 (exit $ac_status); }; }; then
36422 glibcxx_cv_func___builtin_labs_link=yes
36423 else
36424 echo "$as_me: failed program was:" >&5
36425 sed 's/^/| /' conftest.$ac_ext >&5
36427 glibcxx_cv_func___builtin_labs_link=no
36429 rm -f conftest.err conftest.$ac_objext \
36430 conftest$ac_exeext conftest.$ac_ext
36435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36436 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36438 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36440 cat >>confdefs.h <<\_ACEOF
36441 #define HAVE___BUILTIN_LABS 1
36442 _ACEOF
36450 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36451 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36452 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36453 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36454 echo $ECHO_N "(cached) $ECHO_C" >&6
36455 else
36459 ac_ext=cc
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36465 cat >conftest.$ac_ext <<_ACEOF
36466 /* confdefs.h. */
36467 _ACEOF
36468 cat confdefs.h >>conftest.$ac_ext
36469 cat >>conftest.$ac_ext <<_ACEOF
36470 /* end confdefs.h. */
36471 #include <math.h>
36473 main ()
36475 __builtin_sqrtf(0);
36477 return 0;
36479 _ACEOF
36480 rm -f conftest.$ac_objext
36481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36482 (eval $ac_compile) 2>conftest.er1
36483 ac_status=$?
36484 grep -v '^ *+' conftest.er1 >conftest.err
36485 rm -f conftest.er1
36486 cat conftest.err >&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } &&
36489 { ac_try='test -z "$ac_cxx_werror_flag"
36490 || test ! -s conftest.err'
36491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36492 (eval $ac_try) 2>&5
36493 ac_status=$?
36494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495 (exit $ac_status); }; } &&
36496 { ac_try='test -s conftest.$ac_objext'
36497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36498 (eval $ac_try) 2>&5
36499 ac_status=$?
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); }; }; then
36502 glibcxx_cv_func___builtin_sqrtf_use=yes
36503 else
36504 echo "$as_me: failed program was:" >&5
36505 sed 's/^/| /' conftest.$ac_ext >&5
36507 glibcxx_cv_func___builtin_sqrtf_use=no
36509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36510 ac_ext=c
36511 ac_cpp='$CPP $CPPFLAGS'
36512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36520 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36521 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36522 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36523 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36524 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36525 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36526 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 else
36530 if test x$gcc_no_link = xyes; then
36531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36533 { (exit 1); exit 1; }; }
36535 cat >conftest.$ac_ext <<_ACEOF
36536 /* confdefs.h. */
36537 _ACEOF
36538 cat confdefs.h >>conftest.$ac_ext
36539 cat >>conftest.$ac_ext <<_ACEOF
36540 /* end confdefs.h. */
36541 #include <math.h>
36543 main ()
36545 __builtin_sqrtf(0);
36547 return 0;
36549 _ACEOF
36550 rm -f conftest.$ac_objext conftest$ac_exeext
36551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36552 (eval $ac_link) 2>conftest.er1
36553 ac_status=$?
36554 grep -v '^ *+' conftest.er1 >conftest.err
36555 rm -f conftest.er1
36556 cat conftest.err >&5
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); } &&
36559 { ac_try='test -z "$ac_c_werror_flag"
36560 || test ! -s conftest.err'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36563 ac_status=$?
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; } &&
36566 { ac_try='test -s conftest$ac_exeext'
36567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36568 (eval $ac_try) 2>&5
36569 ac_status=$?
36570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36571 (exit $ac_status); }; }; then
36572 glibcxx_cv_func___builtin_sqrtf_link=yes
36573 else
36574 echo "$as_me: failed program was:" >&5
36575 sed 's/^/| /' conftest.$ac_ext >&5
36577 glibcxx_cv_func___builtin_sqrtf_link=no
36579 rm -f conftest.err conftest.$ac_objext \
36580 conftest$ac_exeext conftest.$ac_ext
36585 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36586 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36588 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591 #define HAVE___BUILTIN_SQRTF 1
36592 _ACEOF
36599 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36600 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36601 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36602 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36603 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 else
36608 ac_ext=cc
36609 ac_cpp='$CXXCPP $CPPFLAGS'
36610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36614 cat >conftest.$ac_ext <<_ACEOF
36615 /* confdefs.h. */
36616 _ACEOF
36617 cat confdefs.h >>conftest.$ac_ext
36618 cat >>conftest.$ac_ext <<_ACEOF
36619 /* end confdefs.h. */
36620 #include <math.h>
36622 main ()
36624 __builtin_sqrt(0);
36626 return 0;
36628 _ACEOF
36629 rm -f conftest.$ac_objext
36630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36631 (eval $ac_compile) 2>conftest.er1
36632 ac_status=$?
36633 grep -v '^ *+' conftest.er1 >conftest.err
36634 rm -f conftest.er1
36635 cat conftest.err >&5
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); } &&
36638 { ac_try='test -z "$ac_cxx_werror_flag"
36639 || test ! -s conftest.err'
36640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36641 (eval $ac_try) 2>&5
36642 ac_status=$?
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); }; } &&
36645 { ac_try='test -s conftest.$ac_objext'
36646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36647 (eval $ac_try) 2>&5
36648 ac_status=$?
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); }; }; then
36651 glibcxx_cv_func___builtin_sqrt_use=yes
36652 else
36653 echo "$as_me: failed program was:" >&5
36654 sed 's/^/| /' conftest.$ac_ext >&5
36656 glibcxx_cv_func___builtin_sqrt_use=no
36658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36659 ac_ext=c
36660 ac_cpp='$CPP $CPPFLAGS'
36661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36669 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36670 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36671 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36672 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36673 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36674 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36675 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36676 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 else
36679 if test x$gcc_no_link = xyes; then
36680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36682 { (exit 1); exit 1; }; }
36684 cat >conftest.$ac_ext <<_ACEOF
36685 /* confdefs.h. */
36686 _ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36690 #include <math.h>
36692 main ()
36694 __builtin_sqrt(0);
36696 return 0;
36698 _ACEOF
36699 rm -f conftest.$ac_objext conftest$ac_exeext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36701 (eval $ac_link) 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try='test -z "$ac_c_werror_flag"
36709 || test ! -s conftest.err'
36710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36711 (eval $ac_try) 2>&5
36712 ac_status=$?
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; } &&
36715 { ac_try='test -s conftest$ac_exeext'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36718 ac_status=$?
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; }; then
36721 glibcxx_cv_func___builtin_sqrt_link=yes
36722 else
36723 echo "$as_me: failed program was:" >&5
36724 sed 's/^/| /' conftest.$ac_ext >&5
36726 glibcxx_cv_func___builtin_sqrt_link=no
36728 rm -f conftest.err conftest.$ac_objext \
36729 conftest$ac_exeext conftest.$ac_ext
36734 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36735 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36737 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36739 cat >>confdefs.h <<\_ACEOF
36740 #define HAVE___BUILTIN_SQRT 1
36741 _ACEOF
36748 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36749 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36750 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36751 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36752 echo $ECHO_N "(cached) $ECHO_C" >&6
36753 else
36757 ac_ext=cc
36758 ac_cpp='$CXXCPP $CPPFLAGS'
36759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36763 cat >conftest.$ac_ext <<_ACEOF
36764 /* confdefs.h. */
36765 _ACEOF
36766 cat confdefs.h >>conftest.$ac_ext
36767 cat >>conftest.$ac_ext <<_ACEOF
36768 /* end confdefs.h. */
36769 #include <math.h>
36771 main ()
36773 __builtin_sqrtl(0);
36775 return 0;
36777 _ACEOF
36778 rm -f conftest.$ac_objext
36779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36780 (eval $ac_compile) 2>conftest.er1
36781 ac_status=$?
36782 grep -v '^ *+' conftest.er1 >conftest.err
36783 rm -f conftest.er1
36784 cat conftest.err >&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); } &&
36787 { ac_try='test -z "$ac_cxx_werror_flag"
36788 || test ! -s conftest.err'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36791 ac_status=$?
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; } &&
36794 { ac_try='test -s conftest.$ac_objext'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; }; then
36800 glibcxx_cv_func___builtin_sqrtl_use=yes
36801 else
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36805 glibcxx_cv_func___builtin_sqrtl_use=no
36807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36808 ac_ext=c
36809 ac_cpp='$CPP $CPPFLAGS'
36810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36818 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36819 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36820 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36821 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36822 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36823 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36824 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36825 echo $ECHO_N "(cached) $ECHO_C" >&6
36826 else
36828 if test x$gcc_no_link = xyes; then
36829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36831 { (exit 1); exit 1; }; }
36833 cat >conftest.$ac_ext <<_ACEOF
36834 /* confdefs.h. */
36835 _ACEOF
36836 cat confdefs.h >>conftest.$ac_ext
36837 cat >>conftest.$ac_ext <<_ACEOF
36838 /* end confdefs.h. */
36839 #include <math.h>
36841 main ()
36843 __builtin_sqrtl(0);
36845 return 0;
36847 _ACEOF
36848 rm -f conftest.$ac_objext conftest$ac_exeext
36849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36850 (eval $ac_link) 2>conftest.er1
36851 ac_status=$?
36852 grep -v '^ *+' conftest.er1 >conftest.err
36853 rm -f conftest.er1
36854 cat conftest.err >&5
36855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36856 (exit $ac_status); } &&
36857 { ac_try='test -z "$ac_c_werror_flag"
36858 || test ! -s conftest.err'
36859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36860 (eval $ac_try) 2>&5
36861 ac_status=$?
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); }; } &&
36864 { ac_try='test -s conftest$ac_exeext'
36865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36866 (eval $ac_try) 2>&5
36867 ac_status=$?
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); }; }; then
36870 glibcxx_cv_func___builtin_sqrtl_link=yes
36871 else
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36875 glibcxx_cv_func___builtin_sqrtl_link=no
36877 rm -f conftest.err conftest.$ac_objext \
36878 conftest$ac_exeext conftest.$ac_ext
36883 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36884 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36886 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define HAVE___BUILTIN_SQRTL 1
36890 _ACEOF
36898 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36899 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36900 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36901 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36902 echo $ECHO_N "(cached) $ECHO_C" >&6
36903 else
36907 ac_ext=cc
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36913 cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h. */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919 #include <math.h>
36921 main ()
36923 __builtin_sinf(0);
36925 return 0;
36927 _ACEOF
36928 rm -f conftest.$ac_objext
36929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36930 (eval $ac_compile) 2>conftest.er1
36931 ac_status=$?
36932 grep -v '^ *+' conftest.er1 >conftest.err
36933 rm -f conftest.er1
36934 cat conftest.err >&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); } &&
36937 { ac_try='test -z "$ac_cxx_werror_flag"
36938 || test ! -s conftest.err'
36939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36940 (eval $ac_try) 2>&5
36941 ac_status=$?
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); }; } &&
36944 { ac_try='test -s conftest.$ac_objext'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36947 ac_status=$?
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; }; then
36950 glibcxx_cv_func___builtin_sinf_use=yes
36951 else
36952 echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.$ac_ext >&5
36955 glibcxx_cv_func___builtin_sinf_use=no
36957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36958 ac_ext=c
36959 ac_cpp='$CPP $CPPFLAGS'
36960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
36969 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
36970 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
36971 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
36972 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
36973 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
36974 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
36975 echo $ECHO_N "(cached) $ECHO_C" >&6
36976 else
36978 if test x$gcc_no_link = xyes; then
36979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36981 { (exit 1); exit 1; }; }
36983 cat >conftest.$ac_ext <<_ACEOF
36984 /* confdefs.h. */
36985 _ACEOF
36986 cat confdefs.h >>conftest.$ac_ext
36987 cat >>conftest.$ac_ext <<_ACEOF
36988 /* end confdefs.h. */
36989 #include <math.h>
36991 main ()
36993 __builtin_sinf(0);
36995 return 0;
36997 _ACEOF
36998 rm -f conftest.$ac_objext conftest$ac_exeext
36999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37000 (eval $ac_link) 2>conftest.er1
37001 ac_status=$?
37002 grep -v '^ *+' conftest.er1 >conftest.err
37003 rm -f conftest.er1
37004 cat conftest.err >&5
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); } &&
37007 { ac_try='test -z "$ac_c_werror_flag"
37008 || test ! -s conftest.err'
37009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37010 (eval $ac_try) 2>&5
37011 ac_status=$?
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); }; } &&
37014 { ac_try='test -s conftest$ac_exeext'
37015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37016 (eval $ac_try) 2>&5
37017 ac_status=$?
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); }; }; then
37020 glibcxx_cv_func___builtin_sinf_link=yes
37021 else
37022 echo "$as_me: failed program was:" >&5
37023 sed 's/^/| /' conftest.$ac_ext >&5
37025 glibcxx_cv_func___builtin_sinf_link=no
37027 rm -f conftest.err conftest.$ac_objext \
37028 conftest$ac_exeext conftest.$ac_ext
37033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37034 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37036 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37038 cat >>confdefs.h <<\_ACEOF
37039 #define HAVE___BUILTIN_SINF 1
37040 _ACEOF
37047 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37048 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37049 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37050 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37051 echo $ECHO_N "(cached) $ECHO_C" >&6
37052 else
37056 ac_ext=cc
37057 ac_cpp='$CXXCPP $CPPFLAGS'
37058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37062 cat >conftest.$ac_ext <<_ACEOF
37063 /* confdefs.h. */
37064 _ACEOF
37065 cat confdefs.h >>conftest.$ac_ext
37066 cat >>conftest.$ac_ext <<_ACEOF
37067 /* end confdefs.h. */
37068 #include <math.h>
37070 main ()
37072 __builtin_sin(0);
37074 return 0;
37076 _ACEOF
37077 rm -f conftest.$ac_objext
37078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37079 (eval $ac_compile) 2>conftest.er1
37080 ac_status=$?
37081 grep -v '^ *+' conftest.er1 >conftest.err
37082 rm -f conftest.er1
37083 cat conftest.err >&5
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); } &&
37086 { ac_try='test -z "$ac_cxx_werror_flag"
37087 || test ! -s conftest.err'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37090 ac_status=$?
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; } &&
37093 { ac_try='test -s conftest.$ac_objext'
37094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095 (eval $ac_try) 2>&5
37096 ac_status=$?
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); }; }; then
37099 glibcxx_cv_func___builtin_sin_use=yes
37100 else
37101 echo "$as_me: failed program was:" >&5
37102 sed 's/^/| /' conftest.$ac_ext >&5
37104 glibcxx_cv_func___builtin_sin_use=no
37106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37107 ac_ext=c
37108 ac_cpp='$CPP $CPPFLAGS'
37109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37118 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37119 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37120 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37121 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37122 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37123 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37124 echo $ECHO_N "(cached) $ECHO_C" >&6
37125 else
37127 if test x$gcc_no_link = xyes; then
37128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37130 { (exit 1); exit 1; }; }
37132 cat >conftest.$ac_ext <<_ACEOF
37133 /* confdefs.h. */
37134 _ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 #include <math.h>
37140 main ()
37142 __builtin_sin(0);
37144 return 0;
37146 _ACEOF
37147 rm -f conftest.$ac_objext conftest$ac_exeext
37148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37149 (eval $ac_link) 2>conftest.er1
37150 ac_status=$?
37151 grep -v '^ *+' conftest.er1 >conftest.err
37152 rm -f conftest.er1
37153 cat conftest.err >&5
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); } &&
37156 { ac_try='test -z "$ac_c_werror_flag"
37157 || test ! -s conftest.err'
37158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37159 (eval $ac_try) 2>&5
37160 ac_status=$?
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); }; } &&
37163 { ac_try='test -s conftest$ac_exeext'
37164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37165 (eval $ac_try) 2>&5
37166 ac_status=$?
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); }; }; then
37169 glibcxx_cv_func___builtin_sin_link=yes
37170 else
37171 echo "$as_me: failed program was:" >&5
37172 sed 's/^/| /' conftest.$ac_ext >&5
37174 glibcxx_cv_func___builtin_sin_link=no
37176 rm -f conftest.err conftest.$ac_objext \
37177 conftest$ac_exeext conftest.$ac_ext
37182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37183 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37185 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37187 cat >>confdefs.h <<\_ACEOF
37188 #define HAVE___BUILTIN_SIN 1
37189 _ACEOF
37196 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37197 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37198 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37199 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37200 echo $ECHO_N "(cached) $ECHO_C" >&6
37201 else
37205 ac_ext=cc
37206 ac_cpp='$CXXCPP $CPPFLAGS'
37207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37211 cat >conftest.$ac_ext <<_ACEOF
37212 /* confdefs.h. */
37213 _ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 #include <math.h>
37219 main ()
37221 __builtin_sinl(0);
37223 return 0;
37225 _ACEOF
37226 rm -f conftest.$ac_objext
37227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37228 (eval $ac_compile) 2>conftest.er1
37229 ac_status=$?
37230 grep -v '^ *+' conftest.er1 >conftest.err
37231 rm -f conftest.er1
37232 cat conftest.err >&5
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); } &&
37235 { ac_try='test -z "$ac_cxx_werror_flag"
37236 || test ! -s conftest.err'
37237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37238 (eval $ac_try) 2>&5
37239 ac_status=$?
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); }; } &&
37242 { ac_try='test -s conftest.$ac_objext'
37243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37244 (eval $ac_try) 2>&5
37245 ac_status=$?
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); }; }; then
37248 glibcxx_cv_func___builtin_sinl_use=yes
37249 else
37250 echo "$as_me: failed program was:" >&5
37251 sed 's/^/| /' conftest.$ac_ext >&5
37253 glibcxx_cv_func___builtin_sinl_use=no
37255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37256 ac_ext=c
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37266 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37267 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37268 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37269 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37270 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37271 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37272 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37273 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 else
37276 if test x$gcc_no_link = xyes; then
37277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37279 { (exit 1); exit 1; }; }
37281 cat >conftest.$ac_ext <<_ACEOF
37282 /* confdefs.h. */
37283 _ACEOF
37284 cat confdefs.h >>conftest.$ac_ext
37285 cat >>conftest.$ac_ext <<_ACEOF
37286 /* end confdefs.h. */
37287 #include <math.h>
37289 main ()
37291 __builtin_sinl(0);
37293 return 0;
37295 _ACEOF
37296 rm -f conftest.$ac_objext conftest$ac_exeext
37297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37298 (eval $ac_link) 2>conftest.er1
37299 ac_status=$?
37300 grep -v '^ *+' conftest.er1 >conftest.err
37301 rm -f conftest.er1
37302 cat conftest.err >&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); } &&
37305 { ac_try='test -z "$ac_c_werror_flag"
37306 || test ! -s conftest.err'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37309 ac_status=$?
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; } &&
37312 { ac_try='test -s conftest$ac_exeext'
37313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37314 (eval $ac_try) 2>&5
37315 ac_status=$?
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); }; }; then
37318 glibcxx_cv_func___builtin_sinl_link=yes
37319 else
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37323 glibcxx_cv_func___builtin_sinl_link=no
37325 rm -f conftest.err conftest.$ac_objext \
37326 conftest$ac_exeext conftest.$ac_ext
37331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37332 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37334 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37336 cat >>confdefs.h <<\_ACEOF
37337 #define HAVE___BUILTIN_SINL 1
37338 _ACEOF
37346 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37347 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37348 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37349 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37350 echo $ECHO_N "(cached) $ECHO_C" >&6
37351 else
37355 ac_ext=cc
37356 ac_cpp='$CXXCPP $CPPFLAGS'
37357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37361 cat >conftest.$ac_ext <<_ACEOF
37362 /* confdefs.h. */
37363 _ACEOF
37364 cat confdefs.h >>conftest.$ac_ext
37365 cat >>conftest.$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 #include <math.h>
37369 main ()
37371 __builtin_cosf(0);
37373 return 0;
37375 _ACEOF
37376 rm -f conftest.$ac_objext
37377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37378 (eval $ac_compile) 2>conftest.er1
37379 ac_status=$?
37380 grep -v '^ *+' conftest.er1 >conftest.err
37381 rm -f conftest.er1
37382 cat conftest.err >&5
37383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37384 (exit $ac_status); } &&
37385 { ac_try='test -z "$ac_cxx_werror_flag"
37386 || test ! -s conftest.err'
37387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37388 (eval $ac_try) 2>&5
37389 ac_status=$?
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); }; } &&
37392 { ac_try='test -s conftest.$ac_objext'
37393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37394 (eval $ac_try) 2>&5
37395 ac_status=$?
37396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397 (exit $ac_status); }; }; then
37398 glibcxx_cv_func___builtin_cosf_use=yes
37399 else
37400 echo "$as_me: failed program was:" >&5
37401 sed 's/^/| /' conftest.$ac_ext >&5
37403 glibcxx_cv_func___builtin_cosf_use=no
37405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37406 ac_ext=c
37407 ac_cpp='$CPP $CPPFLAGS'
37408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37417 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37418 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37419 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37420 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37421 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37422 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37423 echo $ECHO_N "(cached) $ECHO_C" >&6
37424 else
37426 if test x$gcc_no_link = xyes; then
37427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37429 { (exit 1); exit 1; }; }
37431 cat >conftest.$ac_ext <<_ACEOF
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437 #include <math.h>
37439 main ()
37441 __builtin_cosf(0);
37443 return 0;
37445 _ACEOF
37446 rm -f conftest.$ac_objext conftest$ac_exeext
37447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37448 (eval $ac_link) 2>conftest.er1
37449 ac_status=$?
37450 grep -v '^ *+' conftest.er1 >conftest.err
37451 rm -f conftest.er1
37452 cat conftest.err >&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); } &&
37455 { ac_try='test -z "$ac_c_werror_flag"
37456 || test ! -s conftest.err'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37459 ac_status=$?
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; } &&
37462 { ac_try='test -s conftest$ac_exeext'
37463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37464 (eval $ac_try) 2>&5
37465 ac_status=$?
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; }; then
37468 glibcxx_cv_func___builtin_cosf_link=yes
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37473 glibcxx_cv_func___builtin_cosf_link=no
37475 rm -f conftest.err conftest.$ac_objext \
37476 conftest$ac_exeext conftest.$ac_ext
37481 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37482 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37484 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37486 cat >>confdefs.h <<\_ACEOF
37487 #define HAVE___BUILTIN_COSF 1
37488 _ACEOF
37495 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37496 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37497 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37498 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37499 echo $ECHO_N "(cached) $ECHO_C" >&6
37500 else
37504 ac_ext=cc
37505 ac_cpp='$CXXCPP $CPPFLAGS'
37506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510 cat >conftest.$ac_ext <<_ACEOF
37511 /* confdefs.h. */
37512 _ACEOF
37513 cat confdefs.h >>conftest.$ac_ext
37514 cat >>conftest.$ac_ext <<_ACEOF
37515 /* end confdefs.h. */
37516 #include <math.h>
37518 main ()
37520 __builtin_cos(0);
37522 return 0;
37524 _ACEOF
37525 rm -f conftest.$ac_objext
37526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37527 (eval $ac_compile) 2>conftest.er1
37528 ac_status=$?
37529 grep -v '^ *+' conftest.er1 >conftest.err
37530 rm -f conftest.er1
37531 cat conftest.err >&5
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); } &&
37534 { ac_try='test -z "$ac_cxx_werror_flag"
37535 || test ! -s conftest.err'
37536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37537 (eval $ac_try) 2>&5
37538 ac_status=$?
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); }; } &&
37541 { ac_try='test -s conftest.$ac_objext'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37544 ac_status=$?
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; }; then
37547 glibcxx_cv_func___builtin_cos_use=yes
37548 else
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37552 glibcxx_cv_func___builtin_cos_use=no
37554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37555 ac_ext=c
37556 ac_cpp='$CPP $CPPFLAGS'
37557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37565 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37566 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37567 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37568 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37569 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37570 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37571 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37572 echo $ECHO_N "(cached) $ECHO_C" >&6
37573 else
37575 if test x$gcc_no_link = xyes; then
37576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37578 { (exit 1); exit 1; }; }
37580 cat >conftest.$ac_ext <<_ACEOF
37581 /* confdefs.h. */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37586 #include <math.h>
37588 main ()
37590 __builtin_cos(0);
37592 return 0;
37594 _ACEOF
37595 rm -f conftest.$ac_objext conftest$ac_exeext
37596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37597 (eval $ac_link) 2>conftest.er1
37598 ac_status=$?
37599 grep -v '^ *+' conftest.er1 >conftest.err
37600 rm -f conftest.er1
37601 cat conftest.err >&5
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); } &&
37604 { ac_try='test -z "$ac_c_werror_flag"
37605 || test ! -s conftest.err'
37606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37607 (eval $ac_try) 2>&5
37608 ac_status=$?
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); }; } &&
37611 { ac_try='test -s conftest$ac_exeext'
37612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37613 (eval $ac_try) 2>&5
37614 ac_status=$?
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); }; }; then
37617 glibcxx_cv_func___builtin_cos_link=yes
37618 else
37619 echo "$as_me: failed program was:" >&5
37620 sed 's/^/| /' conftest.$ac_ext >&5
37622 glibcxx_cv_func___builtin_cos_link=no
37624 rm -f conftest.err conftest.$ac_objext \
37625 conftest$ac_exeext conftest.$ac_ext
37630 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37631 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37633 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37635 cat >>confdefs.h <<\_ACEOF
37636 #define HAVE___BUILTIN_COS 1
37637 _ACEOF
37644 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37645 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37646 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37647 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37648 echo $ECHO_N "(cached) $ECHO_C" >&6
37649 else
37653 ac_ext=cc
37654 ac_cpp='$CXXCPP $CPPFLAGS'
37655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37659 cat >conftest.$ac_ext <<_ACEOF
37660 /* confdefs.h. */
37661 _ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665 #include <math.h>
37667 main ()
37669 __builtin_cosl(0);
37671 return 0;
37673 _ACEOF
37674 rm -f conftest.$ac_objext
37675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37676 (eval $ac_compile) 2>conftest.er1
37677 ac_status=$?
37678 grep -v '^ *+' conftest.er1 >conftest.err
37679 rm -f conftest.er1
37680 cat conftest.err >&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } &&
37683 { ac_try='test -z "$ac_cxx_werror_flag"
37684 || test ! -s conftest.err'
37685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37686 (eval $ac_try) 2>&5
37687 ac_status=$?
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); }; } &&
37690 { ac_try='test -s conftest.$ac_objext'
37691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37692 (eval $ac_try) 2>&5
37693 ac_status=$?
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); }; }; then
37696 glibcxx_cv_func___builtin_cosl_use=yes
37697 else
37698 echo "$as_me: failed program was:" >&5
37699 sed 's/^/| /' conftest.$ac_ext >&5
37701 glibcxx_cv_func___builtin_cosl_use=no
37703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37704 ac_ext=c
37705 ac_cpp='$CPP $CPPFLAGS'
37706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37715 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37716 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37717 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37718 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37719 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37720 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 else
37724 if test x$gcc_no_link = xyes; then
37725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37727 { (exit 1); exit 1; }; }
37729 cat >conftest.$ac_ext <<_ACEOF
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735 #include <math.h>
37737 main ()
37739 __builtin_cosl(0);
37741 return 0;
37743 _ACEOF
37744 rm -f conftest.$ac_objext conftest$ac_exeext
37745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37746 (eval $ac_link) 2>conftest.er1
37747 ac_status=$?
37748 grep -v '^ *+' conftest.er1 >conftest.err
37749 rm -f conftest.er1
37750 cat conftest.err >&5
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); } &&
37753 { ac_try='test -z "$ac_c_werror_flag"
37754 || test ! -s conftest.err'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37757 ac_status=$?
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; } &&
37760 { ac_try='test -s conftest$ac_exeext'
37761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37762 (eval $ac_try) 2>&5
37763 ac_status=$?
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); }; }; then
37766 glibcxx_cv_func___builtin_cosl_link=yes
37767 else
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37771 glibcxx_cv_func___builtin_cosl_link=no
37773 rm -f conftest.err conftest.$ac_objext \
37774 conftest$ac_exeext conftest.$ac_ext
37779 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37780 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37782 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37784 cat >>confdefs.h <<\_ACEOF
37785 #define HAVE___BUILTIN_COSL 1
37786 _ACEOF
37795 echo "$as_me:$LINENO: checking for main in -lm" >&5
37796 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37797 if test "${ac_cv_lib_m_main+set}" = set; then
37798 echo $ECHO_N "(cached) $ECHO_C" >&6
37799 else
37800 ac_check_lib_save_LIBS=$LIBS
37801 LIBS="-lm $LIBS"
37802 if test x$gcc_no_link = xyes; then
37803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37805 { (exit 1); exit 1; }; }
37807 cat >conftest.$ac_ext <<_ACEOF
37808 /* confdefs.h. */
37809 _ACEOF
37810 cat confdefs.h >>conftest.$ac_ext
37811 cat >>conftest.$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37816 main ()
37818 main ();
37820 return 0;
37822 _ACEOF
37823 rm -f conftest.$ac_objext conftest$ac_exeext
37824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37825 (eval $ac_link) 2>conftest.er1
37826 ac_status=$?
37827 grep -v '^ *+' conftest.er1 >conftest.err
37828 rm -f conftest.er1
37829 cat conftest.err >&5
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); } &&
37832 { ac_try='test -z "$ac_c_werror_flag"
37833 || test ! -s conftest.err'
37834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37835 (eval $ac_try) 2>&5
37836 ac_status=$?
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); }; } &&
37839 { ac_try='test -s conftest$ac_exeext'
37840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841 (eval $ac_try) 2>&5
37842 ac_status=$?
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); }; }; then
37845 ac_cv_lib_m_main=yes
37846 else
37847 echo "$as_me: failed program was:" >&5
37848 sed 's/^/| /' conftest.$ac_ext >&5
37850 ac_cv_lib_m_main=no
37852 rm -f conftest.err conftest.$ac_objext \
37853 conftest$ac_exeext conftest.$ac_ext
37854 LIBS=$ac_check_lib_save_LIBS
37856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37857 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37858 if test $ac_cv_lib_m_main = yes; then
37859 cat >>confdefs.h <<_ACEOF
37860 #define HAVE_LIBM 1
37861 _ACEOF
37863 LIBS="-lm $LIBS"
37868 for ac_func in copysignf
37870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37871 echo "$as_me:$LINENO: checking for $ac_func" >&5
37872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37873 if eval "test \"\${$as_ac_var+set}\" = set"; then
37874 echo $ECHO_N "(cached) $ECHO_C" >&6
37875 else
37876 if test x$gcc_no_link = xyes; then
37877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37879 { (exit 1); exit 1; }; }
37881 cat >conftest.$ac_ext <<_ACEOF
37882 /* confdefs.h. */
37883 _ACEOF
37884 cat confdefs.h >>conftest.$ac_ext
37885 cat >>conftest.$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37889 #define $ac_func innocuous_$ac_func
37891 /* System header to define __stub macros and hopefully few prototypes,
37892 which can conflict with char $ac_func (); below.
37893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37894 <limits.h> exists even on freestanding compilers. */
37896 #ifdef __STDC__
37897 # include <limits.h>
37898 #else
37899 # include <assert.h>
37900 #endif
37902 #undef $ac_func
37904 /* Override any gcc2 internal prototype to avoid an error. */
37905 #ifdef __cplusplus
37906 extern "C"
37908 #endif
37909 /* We use char because int might match the return type of a gcc2
37910 builtin and then its argument prototype would still apply. */
37911 char $ac_func ();
37912 /* The GNU C library defines this for functions which it implements
37913 to always fail with ENOSYS. Some functions are actually named
37914 something starting with __ and the normal name is an alias. */
37915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37916 choke me
37917 #else
37918 char (*f) () = $ac_func;
37919 #endif
37920 #ifdef __cplusplus
37922 #endif
37925 main ()
37927 return f != $ac_func;
37929 return 0;
37931 _ACEOF
37932 rm -f conftest.$ac_objext conftest$ac_exeext
37933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37934 (eval $ac_link) 2>conftest.er1
37935 ac_status=$?
37936 grep -v '^ *+' conftest.er1 >conftest.err
37937 rm -f conftest.er1
37938 cat conftest.err >&5
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); } &&
37941 { ac_try='test -z "$ac_c_werror_flag"
37942 || test ! -s conftest.err'
37943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37944 (eval $ac_try) 2>&5
37945 ac_status=$?
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); }; } &&
37948 { ac_try='test -s conftest$ac_exeext'
37949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950 (eval $ac_try) 2>&5
37951 ac_status=$?
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); }; }; then
37954 eval "$as_ac_var=yes"
37955 else
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.$ac_ext >&5
37959 eval "$as_ac_var=no"
37961 rm -f conftest.err conftest.$ac_objext \
37962 conftest$ac_exeext conftest.$ac_ext
37964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37966 if test `eval echo '${'$as_ac_var'}'` = yes; then
37967 cat >>confdefs.h <<_ACEOF
37968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37969 _ACEOF
37971 else
37972 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
37974 done
37978 for ac_func in __signbit
37980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37981 echo "$as_me:$LINENO: checking for $ac_func" >&5
37982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37983 if eval "test \"\${$as_ac_var+set}\" = set"; then
37984 echo $ECHO_N "(cached) $ECHO_C" >&6
37985 else
37986 if test x$gcc_no_link = xyes; then
37987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37989 { (exit 1); exit 1; }; }
37991 cat >conftest.$ac_ext <<_ACEOF
37992 /* confdefs.h. */
37993 _ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37999 #define $ac_func innocuous_$ac_func
38001 /* System header to define __stub macros and hopefully few prototypes,
38002 which can conflict with char $ac_func (); below.
38003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38004 <limits.h> exists even on freestanding compilers. */
38006 #ifdef __STDC__
38007 # include <limits.h>
38008 #else
38009 # include <assert.h>
38010 #endif
38012 #undef $ac_func
38014 /* Override any gcc2 internal prototype to avoid an error. */
38015 #ifdef __cplusplus
38016 extern "C"
38018 #endif
38019 /* We use char because int might match the return type of a gcc2
38020 builtin and then its argument prototype would still apply. */
38021 char $ac_func ();
38022 /* The GNU C library defines this for functions which it implements
38023 to always fail with ENOSYS. Some functions are actually named
38024 something starting with __ and the normal name is an alias. */
38025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38026 choke me
38027 #else
38028 char (*f) () = $ac_func;
38029 #endif
38030 #ifdef __cplusplus
38032 #endif
38035 main ()
38037 return f != $ac_func;
38039 return 0;
38041 _ACEOF
38042 rm -f conftest.$ac_objext conftest$ac_exeext
38043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38044 (eval $ac_link) 2>conftest.er1
38045 ac_status=$?
38046 grep -v '^ *+' conftest.er1 >conftest.err
38047 rm -f conftest.er1
38048 cat conftest.err >&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); } &&
38051 { ac_try='test -z "$ac_c_werror_flag"
38052 || test ! -s conftest.err'
38053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38054 (eval $ac_try) 2>&5
38055 ac_status=$?
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); }; } &&
38058 { ac_try='test -s conftest$ac_exeext'
38059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38060 (eval $ac_try) 2>&5
38061 ac_status=$?
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); }; }; then
38064 eval "$as_ac_var=yes"
38065 else
38066 echo "$as_me: failed program was:" >&5
38067 sed 's/^/| /' conftest.$ac_ext >&5
38069 eval "$as_ac_var=no"
38071 rm -f conftest.err conftest.$ac_objext \
38072 conftest$ac_exeext conftest.$ac_ext
38074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38076 if test `eval echo '${'$as_ac_var'}'` = yes; then
38077 cat >>confdefs.h <<_ACEOF
38078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38079 _ACEOF
38081 else
38082 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38084 done
38088 for ac_func in __signbitf
38090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38091 echo "$as_me:$LINENO: checking for $ac_func" >&5
38092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38093 if eval "test \"\${$as_ac_var+set}\" = set"; then
38094 echo $ECHO_N "(cached) $ECHO_C" >&6
38095 else
38096 if test x$gcc_no_link = xyes; then
38097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38099 { (exit 1); exit 1; }; }
38101 cat >conftest.$ac_ext <<_ACEOF
38102 /* confdefs.h. */
38103 _ACEOF
38104 cat confdefs.h >>conftest.$ac_ext
38105 cat >>conftest.$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38109 #define $ac_func innocuous_$ac_func
38111 /* System header to define __stub macros and hopefully few prototypes,
38112 which can conflict with char $ac_func (); below.
38113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38114 <limits.h> exists even on freestanding compilers. */
38116 #ifdef __STDC__
38117 # include <limits.h>
38118 #else
38119 # include <assert.h>
38120 #endif
38122 #undef $ac_func
38124 /* Override any gcc2 internal prototype to avoid an error. */
38125 #ifdef __cplusplus
38126 extern "C"
38128 #endif
38129 /* We use char because int might match the return type of a gcc2
38130 builtin and then its argument prototype would still apply. */
38131 char $ac_func ();
38132 /* The GNU C library defines this for functions which it implements
38133 to always fail with ENOSYS. Some functions are actually named
38134 something starting with __ and the normal name is an alias. */
38135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38136 choke me
38137 #else
38138 char (*f) () = $ac_func;
38139 #endif
38140 #ifdef __cplusplus
38142 #endif
38145 main ()
38147 return f != $ac_func;
38149 return 0;
38151 _ACEOF
38152 rm -f conftest.$ac_objext conftest$ac_exeext
38153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38154 (eval $ac_link) 2>conftest.er1
38155 ac_status=$?
38156 grep -v '^ *+' conftest.er1 >conftest.err
38157 rm -f conftest.er1
38158 cat conftest.err >&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } &&
38161 { ac_try='test -z "$ac_c_werror_flag"
38162 || test ! -s conftest.err'
38163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38164 (eval $ac_try) 2>&5
38165 ac_status=$?
38166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38167 (exit $ac_status); }; } &&
38168 { ac_try='test -s conftest$ac_exeext'
38169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38170 (eval $ac_try) 2>&5
38171 ac_status=$?
38172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38173 (exit $ac_status); }; }; then
38174 eval "$as_ac_var=yes"
38175 else
38176 echo "$as_me: failed program was:" >&5
38177 sed 's/^/| /' conftest.$ac_ext >&5
38179 eval "$as_ac_var=no"
38181 rm -f conftest.err conftest.$ac_objext \
38182 conftest$ac_exeext conftest.$ac_ext
38184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38186 if test `eval echo '${'$as_ac_var'}'` = yes; then
38187 cat >>confdefs.h <<_ACEOF
38188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38189 _ACEOF
38191 else
38192 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38194 done
38197 if test x$ac_cv_func_copysignl = x"yes"; then
38199 for ac_func in __signbitl
38201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38202 echo "$as_me:$LINENO: checking for $ac_func" >&5
38203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38204 if eval "test \"\${$as_ac_var+set}\" = set"; then
38205 echo $ECHO_N "(cached) $ECHO_C" >&6
38206 else
38207 if test x$gcc_no_link = xyes; then
38208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38210 { (exit 1); exit 1; }; }
38212 cat >conftest.$ac_ext <<_ACEOF
38213 /* confdefs.h. */
38214 _ACEOF
38215 cat confdefs.h >>conftest.$ac_ext
38216 cat >>conftest.$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38220 #define $ac_func innocuous_$ac_func
38222 /* System header to define __stub macros and hopefully few prototypes,
38223 which can conflict with char $ac_func (); below.
38224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38225 <limits.h> exists even on freestanding compilers. */
38227 #ifdef __STDC__
38228 # include <limits.h>
38229 #else
38230 # include <assert.h>
38231 #endif
38233 #undef $ac_func
38235 /* Override any gcc2 internal prototype to avoid an error. */
38236 #ifdef __cplusplus
38237 extern "C"
38239 #endif
38240 /* We use char because int might match the return type of a gcc2
38241 builtin and then its argument prototype would still apply. */
38242 char $ac_func ();
38243 /* The GNU C library defines this for functions which it implements
38244 to always fail with ENOSYS. Some functions are actually named
38245 something starting with __ and the normal name is an alias. */
38246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38247 choke me
38248 #else
38249 char (*f) () = $ac_func;
38250 #endif
38251 #ifdef __cplusplus
38253 #endif
38256 main ()
38258 return f != $ac_func;
38260 return 0;
38262 _ACEOF
38263 rm -f conftest.$ac_objext conftest$ac_exeext
38264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38265 (eval $ac_link) 2>conftest.er1
38266 ac_status=$?
38267 grep -v '^ *+' conftest.er1 >conftest.err
38268 rm -f conftest.er1
38269 cat conftest.err >&5
38270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38271 (exit $ac_status); } &&
38272 { ac_try='test -z "$ac_c_werror_flag"
38273 || test ! -s conftest.err'
38274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275 (eval $ac_try) 2>&5
38276 ac_status=$?
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); }; } &&
38279 { ac_try='test -s conftest$ac_exeext'
38280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38281 (eval $ac_try) 2>&5
38282 ac_status=$?
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); }; }; then
38285 eval "$as_ac_var=yes"
38286 else
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38290 eval "$as_ac_var=no"
38292 rm -f conftest.err conftest.$ac_objext \
38293 conftest$ac_exeext conftest.$ac_ext
38295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38297 if test `eval echo '${'$as_ac_var'}'` = yes; then
38298 cat >>confdefs.h <<_ACEOF
38299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38300 _ACEOF
38302 else
38303 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38305 done
38309 # Used in libmath/Makefile.am.
38310 if test -n "$LIBMATHOBJS"; then
38311 need_libmath=yes
38316 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38317 ac_save_CXXFLAGS="$CXXFLAGS"
38318 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38321 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38322 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38323 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38324 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38325 echo $ECHO_N "(cached) $ECHO_C" >&6
38326 else
38330 ac_ext=cc
38331 ac_cpp='$CXXCPP $CPPFLAGS'
38332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38336 cat >conftest.$ac_ext <<_ACEOF
38337 /* confdefs.h. */
38338 _ACEOF
38339 cat confdefs.h >>conftest.$ac_ext
38340 cat >>conftest.$ac_ext <<_ACEOF
38341 /* end confdefs.h. */
38342 #include <stdlib.h>
38344 main ()
38346 strtold(0, 0);
38348 return 0;
38350 _ACEOF
38351 rm -f conftest.$ac_objext
38352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38353 (eval $ac_compile) 2>conftest.er1
38354 ac_status=$?
38355 grep -v '^ *+' conftest.er1 >conftest.err
38356 rm -f conftest.er1
38357 cat conftest.err >&5
38358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38359 (exit $ac_status); } &&
38360 { ac_try='test -z "$ac_cxx_werror_flag"
38361 || test ! -s conftest.err'
38362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38363 (eval $ac_try) 2>&5
38364 ac_status=$?
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); }; } &&
38367 { ac_try='test -s conftest.$ac_objext'
38368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38369 (eval $ac_try) 2>&5
38370 ac_status=$?
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); }; }; then
38373 glibcxx_cv_func_strtold_use=yes
38374 else
38375 echo "$as_me: failed program was:" >&5
38376 sed 's/^/| /' conftest.$ac_ext >&5
38378 glibcxx_cv_func_strtold_use=no
38380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38381 ac_ext=c
38382 ac_cpp='$CPP $CPPFLAGS'
38383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38392 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38393 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38395 for ac_func in strtold
38397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38398 echo "$as_me:$LINENO: checking for $ac_func" >&5
38399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38400 if eval "test \"\${$as_ac_var+set}\" = set"; then
38401 echo $ECHO_N "(cached) $ECHO_C" >&6
38402 else
38403 if test x$gcc_no_link = xyes; then
38404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38406 { (exit 1); exit 1; }; }
38408 cat >conftest.$ac_ext <<_ACEOF
38409 /* confdefs.h. */
38410 _ACEOF
38411 cat confdefs.h >>conftest.$ac_ext
38412 cat >>conftest.$ac_ext <<_ACEOF
38413 /* end confdefs.h. */
38414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38416 #define $ac_func innocuous_$ac_func
38418 /* System header to define __stub macros and hopefully few prototypes,
38419 which can conflict with char $ac_func (); below.
38420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38421 <limits.h> exists even on freestanding compilers. */
38423 #ifdef __STDC__
38424 # include <limits.h>
38425 #else
38426 # include <assert.h>
38427 #endif
38429 #undef $ac_func
38431 /* Override any gcc2 internal prototype to avoid an error. */
38432 #ifdef __cplusplus
38433 extern "C"
38435 #endif
38436 /* We use char because int might match the return type of a gcc2
38437 builtin and then its argument prototype would still apply. */
38438 char $ac_func ();
38439 /* The GNU C library defines this for functions which it implements
38440 to always fail with ENOSYS. Some functions are actually named
38441 something starting with __ and the normal name is an alias. */
38442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38443 choke me
38444 #else
38445 char (*f) () = $ac_func;
38446 #endif
38447 #ifdef __cplusplus
38449 #endif
38452 main ()
38454 return f != $ac_func;
38456 return 0;
38458 _ACEOF
38459 rm -f conftest.$ac_objext conftest$ac_exeext
38460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38461 (eval $ac_link) 2>conftest.er1
38462 ac_status=$?
38463 grep -v '^ *+' conftest.er1 >conftest.err
38464 rm -f conftest.er1
38465 cat conftest.err >&5
38466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38467 (exit $ac_status); } &&
38468 { ac_try='test -z "$ac_c_werror_flag"
38469 || test ! -s conftest.err'
38470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38471 (eval $ac_try) 2>&5
38472 ac_status=$?
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); }; } &&
38475 { ac_try='test -s conftest$ac_exeext'
38476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38477 (eval $ac_try) 2>&5
38478 ac_status=$?
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; }; then
38481 eval "$as_ac_var=yes"
38482 else
38483 echo "$as_me: failed program was:" >&5
38484 sed 's/^/| /' conftest.$ac_ext >&5
38486 eval "$as_ac_var=no"
38488 rm -f conftest.err conftest.$ac_objext \
38489 conftest$ac_exeext conftest.$ac_ext
38491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38493 if test `eval echo '${'$as_ac_var'}'` = yes; then
38494 cat >>confdefs.h <<_ACEOF
38495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38496 _ACEOF
38499 done
38507 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38508 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38509 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38510 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38511 echo $ECHO_N "(cached) $ECHO_C" >&6
38512 else
38516 ac_ext=cc
38517 ac_cpp='$CXXCPP $CPPFLAGS'
38518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38522 cat >conftest.$ac_ext <<_ACEOF
38523 /* confdefs.h. */
38524 _ACEOF
38525 cat confdefs.h >>conftest.$ac_ext
38526 cat >>conftest.$ac_ext <<_ACEOF
38527 /* end confdefs.h. */
38528 #include <stdlib.h>
38530 main ()
38532 strtof(0, 0);
38534 return 0;
38536 _ACEOF
38537 rm -f conftest.$ac_objext
38538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38539 (eval $ac_compile) 2>conftest.er1
38540 ac_status=$?
38541 grep -v '^ *+' conftest.er1 >conftest.err
38542 rm -f conftest.er1
38543 cat conftest.err >&5
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); } &&
38546 { ac_try='test -z "$ac_cxx_werror_flag"
38547 || test ! -s conftest.err'
38548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38549 (eval $ac_try) 2>&5
38550 ac_status=$?
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); }; } &&
38553 { ac_try='test -s conftest.$ac_objext'
38554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38555 (eval $ac_try) 2>&5
38556 ac_status=$?
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); }; }; then
38559 glibcxx_cv_func_strtof_use=yes
38560 else
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.$ac_ext >&5
38564 glibcxx_cv_func_strtof_use=no
38566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38567 ac_ext=c
38568 ac_cpp='$CPP $CPPFLAGS'
38569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38578 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38579 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38581 for ac_func in strtof
38583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38584 echo "$as_me:$LINENO: checking for $ac_func" >&5
38585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38586 if eval "test \"\${$as_ac_var+set}\" = set"; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 else
38589 if test x$gcc_no_link = xyes; then
38590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38592 { (exit 1); exit 1; }; }
38594 cat >conftest.$ac_ext <<_ACEOF
38595 /* confdefs.h. */
38596 _ACEOF
38597 cat confdefs.h >>conftest.$ac_ext
38598 cat >>conftest.$ac_ext <<_ACEOF
38599 /* end confdefs.h. */
38600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38602 #define $ac_func innocuous_$ac_func
38604 /* System header to define __stub macros and hopefully few prototypes,
38605 which can conflict with char $ac_func (); below.
38606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38607 <limits.h> exists even on freestanding compilers. */
38609 #ifdef __STDC__
38610 # include <limits.h>
38611 #else
38612 # include <assert.h>
38613 #endif
38615 #undef $ac_func
38617 /* Override any gcc2 internal prototype to avoid an error. */
38618 #ifdef __cplusplus
38619 extern "C"
38621 #endif
38622 /* We use char because int might match the return type of a gcc2
38623 builtin and then its argument prototype would still apply. */
38624 char $ac_func ();
38625 /* The GNU C library defines this for functions which it implements
38626 to always fail with ENOSYS. Some functions are actually named
38627 something starting with __ and the normal name is an alias. */
38628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38629 choke me
38630 #else
38631 char (*f) () = $ac_func;
38632 #endif
38633 #ifdef __cplusplus
38635 #endif
38638 main ()
38640 return f != $ac_func;
38642 return 0;
38644 _ACEOF
38645 rm -f conftest.$ac_objext conftest$ac_exeext
38646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38647 (eval $ac_link) 2>conftest.er1
38648 ac_status=$?
38649 grep -v '^ *+' conftest.er1 >conftest.err
38650 rm -f conftest.er1
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } &&
38654 { ac_try='test -z "$ac_c_werror_flag"
38655 || test ! -s conftest.err'
38656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38657 (eval $ac_try) 2>&5
38658 ac_status=$?
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); }; } &&
38661 { ac_try='test -s conftest$ac_exeext'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38664 ac_status=$?
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; }; then
38667 eval "$as_ac_var=yes"
38668 else
38669 echo "$as_me: failed program was:" >&5
38670 sed 's/^/| /' conftest.$ac_ext >&5
38672 eval "$as_ac_var=no"
38674 rm -f conftest.err conftest.$ac_objext \
38675 conftest$ac_exeext conftest.$ac_ext
38677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38679 if test `eval echo '${'$as_ac_var'}'` = yes; then
38680 cat >>confdefs.h <<_ACEOF
38681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38682 _ACEOF
38685 done
38693 CXXFLAGS="$ac_save_CXXFLAGS"
38696 # For showmanyc_helper().
38699 for ac_header in sys/ioctl.h sys/filio.h
38701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38703 echo "$as_me:$LINENO: checking for $ac_header" >&5
38704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38706 echo $ECHO_N "(cached) $ECHO_C" >&6
38708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38710 else
38711 # Is the header compilable?
38712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38714 cat >conftest.$ac_ext <<_ACEOF
38715 /* confdefs.h. */
38716 _ACEOF
38717 cat confdefs.h >>conftest.$ac_ext
38718 cat >>conftest.$ac_ext <<_ACEOF
38719 /* end confdefs.h. */
38720 $ac_includes_default
38721 #include <$ac_header>
38722 _ACEOF
38723 rm -f conftest.$ac_objext
38724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38725 (eval $ac_compile) 2>conftest.er1
38726 ac_status=$?
38727 grep -v '^ *+' conftest.er1 >conftest.err
38728 rm -f conftest.er1
38729 cat conftest.err >&5
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); } &&
38732 { ac_try='test -z "$ac_c_werror_flag"
38733 || test ! -s conftest.err'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38736 ac_status=$?
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; } &&
38739 { ac_try='test -s conftest.$ac_objext'
38740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38741 (eval $ac_try) 2>&5
38742 ac_status=$?
38743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744 (exit $ac_status); }; }; then
38745 ac_header_compiler=yes
38746 else
38747 echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.$ac_ext >&5
38750 ac_header_compiler=no
38752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38754 echo "${ECHO_T}$ac_header_compiler" >&6
38756 # Is the header present?
38757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38759 cat >conftest.$ac_ext <<_ACEOF
38760 /* confdefs.h. */
38761 _ACEOF
38762 cat confdefs.h >>conftest.$ac_ext
38763 cat >>conftest.$ac_ext <<_ACEOF
38764 /* end confdefs.h. */
38765 #include <$ac_header>
38766 _ACEOF
38767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38769 ac_status=$?
38770 grep -v '^ *+' conftest.er1 >conftest.err
38771 rm -f conftest.er1
38772 cat conftest.err >&5
38773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38774 (exit $ac_status); } >/dev/null; then
38775 if test -s conftest.err; then
38776 ac_cpp_err=$ac_c_preproc_warn_flag
38777 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38778 else
38779 ac_cpp_err=
38781 else
38782 ac_cpp_err=yes
38784 if test -z "$ac_cpp_err"; then
38785 ac_header_preproc=yes
38786 else
38787 echo "$as_me: failed program was:" >&5
38788 sed 's/^/| /' conftest.$ac_ext >&5
38790 ac_header_preproc=no
38792 rm -f conftest.err conftest.$ac_ext
38793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38794 echo "${ECHO_T}$ac_header_preproc" >&6
38796 # So? What about this header?
38797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38798 yes:no: )
38799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38803 ac_header_preproc=yes
38805 no:yes:* )
38806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38819 cat <<\_ASBOX
38820 ## ----------------------------------------- ##
38821 ## Report this to the package-unused lists. ##
38822 ## ----------------------------------------- ##
38823 _ASBOX
38825 sed "s/^/$as_me: WARNING: /" >&2
38827 esac
38828 echo "$as_me:$LINENO: checking for $ac_header" >&5
38829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38831 echo $ECHO_N "(cached) $ECHO_C" >&6
38832 else
38833 eval "$as_ac_Header=\$ac_header_preproc"
38835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38840 cat >>confdefs.h <<_ACEOF
38841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38842 _ACEOF
38846 done
38849 echo "$as_me:$LINENO: checking for poll" >&5
38850 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38851 if test "${glibcxx_cv_POLL+set}" = set; then
38852 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 else
38855 if test x$gcc_no_link = xyes; then
38856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38858 { (exit 1); exit 1; }; }
38860 cat >conftest.$ac_ext <<_ACEOF
38861 /* confdefs.h. */
38862 _ACEOF
38863 cat confdefs.h >>conftest.$ac_ext
38864 cat >>conftest.$ac_ext <<_ACEOF
38865 /* end confdefs.h. */
38866 #include <poll.h>
38868 main ()
38870 struct pollfd pfd[1];
38871 pfd[0].events = POLLIN;
38872 poll(pfd, 1, 0);
38874 return 0;
38876 _ACEOF
38877 rm -f conftest.$ac_objext conftest$ac_exeext
38878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38879 (eval $ac_link) 2>conftest.er1
38880 ac_status=$?
38881 grep -v '^ *+' conftest.er1 >conftest.err
38882 rm -f conftest.er1
38883 cat conftest.err >&5
38884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38885 (exit $ac_status); } &&
38886 { ac_try='test -z "$ac_c_werror_flag"
38887 || test ! -s conftest.err'
38888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38889 (eval $ac_try) 2>&5
38890 ac_status=$?
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); }; } &&
38893 { ac_try='test -s conftest$ac_exeext'
38894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38895 (eval $ac_try) 2>&5
38896 ac_status=$?
38897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38898 (exit $ac_status); }; }; then
38899 glibcxx_cv_POLL=yes
38900 else
38901 echo "$as_me: failed program was:" >&5
38902 sed 's/^/| /' conftest.$ac_ext >&5
38904 glibcxx_cv_POLL=no
38906 rm -f conftest.err conftest.$ac_objext \
38907 conftest$ac_exeext conftest.$ac_ext
38911 if test $glibcxx_cv_POLL = yes; then
38913 cat >>confdefs.h <<\_ACEOF
38914 #define HAVE_POLL 1
38915 _ACEOF
38918 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38919 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38922 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38923 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38924 if test "${glibcxx_cv_S_ISREG+set}" = set; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38926 else
38928 if test x$gcc_no_link = xyes; then
38929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38931 { (exit 1); exit 1; }; }
38933 cat >conftest.$ac_ext <<_ACEOF
38934 /* confdefs.h. */
38935 _ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h. */
38939 #include <sys/stat.h>
38941 main ()
38943 struct stat buffer;
38944 fstat(0, &buffer);
38945 S_ISREG(buffer.st_mode);
38947 return 0;
38949 _ACEOF
38950 rm -f conftest.$ac_objext conftest$ac_exeext
38951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38952 (eval $ac_link) 2>conftest.er1
38953 ac_status=$?
38954 grep -v '^ *+' conftest.er1 >conftest.err
38955 rm -f conftest.er1
38956 cat conftest.err >&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); } &&
38959 { ac_try='test -z "$ac_c_werror_flag"
38960 || test ! -s conftest.err'
38961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38962 (eval $ac_try) 2>&5
38963 ac_status=$?
38964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965 (exit $ac_status); }; } &&
38966 { ac_try='test -s conftest$ac_exeext'
38967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38968 (eval $ac_try) 2>&5
38969 ac_status=$?
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); }; }; then
38972 glibcxx_cv_S_ISREG=yes
38973 else
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.$ac_ext >&5
38977 glibcxx_cv_S_ISREG=no
38979 rm -f conftest.err conftest.$ac_objext \
38980 conftest$ac_exeext conftest.$ac_ext
38984 if test "${glibcxx_cv_S_IFREG+set}" = set; then
38985 echo $ECHO_N "(cached) $ECHO_C" >&6
38986 else
38988 if test x$gcc_no_link = xyes; then
38989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38991 { (exit 1); exit 1; }; }
38993 cat >conftest.$ac_ext <<_ACEOF
38994 /* confdefs.h. */
38995 _ACEOF
38996 cat confdefs.h >>conftest.$ac_ext
38997 cat >>conftest.$ac_ext <<_ACEOF
38998 /* end confdefs.h. */
38999 #include <sys/stat.h>
39001 main ()
39003 struct stat buffer;
39004 fstat(0, &buffer);
39005 S_IFREG & buffer.st_mode;
39007 return 0;
39009 _ACEOF
39010 rm -f conftest.$ac_objext conftest$ac_exeext
39011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39012 (eval $ac_link) 2>conftest.er1
39013 ac_status=$?
39014 grep -v '^ *+' conftest.er1 >conftest.err
39015 rm -f conftest.er1
39016 cat conftest.err >&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } &&
39019 { ac_try='test -z "$ac_c_werror_flag"
39020 || test ! -s conftest.err'
39021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39022 (eval $ac_try) 2>&5
39023 ac_status=$?
39024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39025 (exit $ac_status); }; } &&
39026 { ac_try='test -s conftest$ac_exeext'
39027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39028 (eval $ac_try) 2>&5
39029 ac_status=$?
39030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39031 (exit $ac_status); }; }; then
39032 glibcxx_cv_S_IFREG=yes
39033 else
39034 echo "$as_me: failed program was:" >&5
39035 sed 's/^/| /' conftest.$ac_ext >&5
39037 glibcxx_cv_S_IFREG=no
39039 rm -f conftest.err conftest.$ac_objext \
39040 conftest$ac_exeext conftest.$ac_ext
39044 res=no
39045 if test $glibcxx_cv_S_ISREG = yes; then
39047 cat >>confdefs.h <<\_ACEOF
39048 #define HAVE_S_ISREG 1
39049 _ACEOF
39051 res=S_ISREG
39052 elif test $glibcxx_cv_S_IFREG = yes; then
39054 cat >>confdefs.h <<\_ACEOF
39055 #define HAVE_S_IFREG 1
39056 _ACEOF
39058 res=S_IFREG
39060 echo "$as_me:$LINENO: result: $res" >&5
39061 echo "${ECHO_T}$res" >&6
39064 # For xsputn_2().
39066 for ac_header in sys/uio.h
39068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39070 echo "$as_me:$LINENO: checking for $ac_header" >&5
39071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39073 echo $ECHO_N "(cached) $ECHO_C" >&6
39075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39077 else
39078 # Is the header compilable?
39079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39081 cat >conftest.$ac_ext <<_ACEOF
39082 /* confdefs.h. */
39083 _ACEOF
39084 cat confdefs.h >>conftest.$ac_ext
39085 cat >>conftest.$ac_ext <<_ACEOF
39086 /* end confdefs.h. */
39087 $ac_includes_default
39088 #include <$ac_header>
39089 _ACEOF
39090 rm -f conftest.$ac_objext
39091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39092 (eval $ac_compile) 2>conftest.er1
39093 ac_status=$?
39094 grep -v '^ *+' conftest.er1 >conftest.err
39095 rm -f conftest.er1
39096 cat conftest.err >&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } &&
39099 { ac_try='test -z "$ac_c_werror_flag"
39100 || test ! -s conftest.err'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39103 ac_status=$?
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; } &&
39106 { ac_try='test -s conftest.$ac_objext'
39107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39108 (eval $ac_try) 2>&5
39109 ac_status=$?
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); }; }; then
39112 ac_header_compiler=yes
39113 else
39114 echo "$as_me: failed program was:" >&5
39115 sed 's/^/| /' conftest.$ac_ext >&5
39117 ac_header_compiler=no
39119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39121 echo "${ECHO_T}$ac_header_compiler" >&6
39123 # Is the header present?
39124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39126 cat >conftest.$ac_ext <<_ACEOF
39127 /* confdefs.h. */
39128 _ACEOF
39129 cat confdefs.h >>conftest.$ac_ext
39130 cat >>conftest.$ac_ext <<_ACEOF
39131 /* end confdefs.h. */
39132 #include <$ac_header>
39133 _ACEOF
39134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39136 ac_status=$?
39137 grep -v '^ *+' conftest.er1 >conftest.err
39138 rm -f conftest.er1
39139 cat conftest.err >&5
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); } >/dev/null; then
39142 if test -s conftest.err; then
39143 ac_cpp_err=$ac_c_preproc_warn_flag
39144 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39145 else
39146 ac_cpp_err=
39148 else
39149 ac_cpp_err=yes
39151 if test -z "$ac_cpp_err"; then
39152 ac_header_preproc=yes
39153 else
39154 echo "$as_me: failed program was:" >&5
39155 sed 's/^/| /' conftest.$ac_ext >&5
39157 ac_header_preproc=no
39159 rm -f conftest.err conftest.$ac_ext
39160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39161 echo "${ECHO_T}$ac_header_preproc" >&6
39163 # So? What about this header?
39164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39165 yes:no: )
39166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39170 ac_header_preproc=yes
39172 no:yes:* )
39173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39186 cat <<\_ASBOX
39187 ## ----------------------------------------- ##
39188 ## Report this to the package-unused lists. ##
39189 ## ----------------------------------------- ##
39190 _ASBOX
39192 sed "s/^/$as_me: WARNING: /" >&2
39194 esac
39195 echo "$as_me:$LINENO: checking for $ac_header" >&5
39196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39198 echo $ECHO_N "(cached) $ECHO_C" >&6
39199 else
39200 eval "$as_ac_Header=\$ac_header_preproc"
39202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39207 cat >>confdefs.h <<_ACEOF
39208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39209 _ACEOF
39213 done
39216 echo "$as_me:$LINENO: checking for writev" >&5
39217 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39218 if test "${glibcxx_cv_WRITEV+set}" = set; then
39219 echo $ECHO_N "(cached) $ECHO_C" >&6
39220 else
39222 if test x$gcc_no_link = xyes; then
39223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39225 { (exit 1); exit 1; }; }
39227 cat >conftest.$ac_ext <<_ACEOF
39228 /* confdefs.h. */
39229 _ACEOF
39230 cat confdefs.h >>conftest.$ac_ext
39231 cat >>conftest.$ac_ext <<_ACEOF
39232 /* end confdefs.h. */
39233 #include <sys/uio.h>
39235 main ()
39237 struct iovec iov[2];
39238 writev(0, iov, 0);
39240 return 0;
39242 _ACEOF
39243 rm -f conftest.$ac_objext conftest$ac_exeext
39244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39245 (eval $ac_link) 2>conftest.er1
39246 ac_status=$?
39247 grep -v '^ *+' conftest.er1 >conftest.err
39248 rm -f conftest.er1
39249 cat conftest.err >&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); } &&
39252 { ac_try='test -z "$ac_c_werror_flag"
39253 || test ! -s conftest.err'
39254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39255 (eval $ac_try) 2>&5
39256 ac_status=$?
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); }; } &&
39259 { ac_try='test -s conftest$ac_exeext'
39260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39261 (eval $ac_try) 2>&5
39262 ac_status=$?
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); }; }; then
39265 glibcxx_cv_WRITEV=yes
39266 else
39267 echo "$as_me: failed program was:" >&5
39268 sed 's/^/| /' conftest.$ac_ext >&5
39270 glibcxx_cv_WRITEV=no
39272 rm -f conftest.err conftest.$ac_objext \
39273 conftest$ac_exeext conftest.$ac_ext
39277 if test $glibcxx_cv_WRITEV = yes; then
39279 cat >>confdefs.h <<\_ACEOF
39280 #define HAVE_WRITEV 1
39281 _ACEOF
39284 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39285 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39288 # For the __streamoff_base_type typedef.
39290 echo "$as_me:$LINENO: checking for int64_t" >&5
39291 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39292 if test "${glibcxx_cv_INT64_T+set}" = set; then
39293 echo $ECHO_N "(cached) $ECHO_C" >&6
39294 else
39296 cat >conftest.$ac_ext <<_ACEOF
39297 /* confdefs.h. */
39298 _ACEOF
39299 cat confdefs.h >>conftest.$ac_ext
39300 cat >>conftest.$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39302 #include <stdint.h>
39304 main ()
39306 int64_t var;
39308 return 0;
39310 _ACEOF
39311 rm -f conftest.$ac_objext
39312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39313 (eval $ac_compile) 2>conftest.er1
39314 ac_status=$?
39315 grep -v '^ *+' conftest.er1 >conftest.err
39316 rm -f conftest.er1
39317 cat conftest.err >&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } &&
39320 { ac_try='test -z "$ac_c_werror_flag"
39321 || test ! -s conftest.err'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39324 ac_status=$?
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; } &&
39327 { ac_try='test -s conftest.$ac_objext'
39328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39329 (eval $ac_try) 2>&5
39330 ac_status=$?
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); }; }; then
39333 glibcxx_cv_INT64_T=yes
39334 else
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.$ac_ext >&5
39338 glibcxx_cv_INT64_T=no
39340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39344 if test $glibcxx_cv_INT64_T = yes; then
39346 cat >>confdefs.h <<\_ACEOF
39347 #define HAVE_INT64_T 1
39348 _ACEOF
39351 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39352 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39355 # For LFS support.
39359 ac_ext=cc
39360 ac_cpp='$CXXCPP $CPPFLAGS'
39361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39365 ac_save_CXXFLAGS="$CXXFLAGS"
39366 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39367 echo "$as_me:$LINENO: checking for LFS support" >&5
39368 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39369 if test "${glibcxx_cv_LFS+set}" = set; then
39370 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 else
39373 if test x$gcc_no_link = xyes; then
39374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39376 { (exit 1); exit 1; }; }
39378 cat >conftest.$ac_ext <<_ACEOF
39379 /* confdefs.h. */
39380 _ACEOF
39381 cat confdefs.h >>conftest.$ac_ext
39382 cat >>conftest.$ac_ext <<_ACEOF
39383 /* end confdefs.h. */
39384 #include <unistd.h>
39385 #include <stdio.h>
39386 #include <sys/stat.h>
39389 main ()
39391 FILE* fp;
39392 fopen64("t", "w");
39393 fseeko64(fp, 0, SEEK_CUR);
39394 ftello64(fp);
39395 lseek64(1, 0, SEEK_CUR);
39396 struct stat64 buf;
39397 fstat64(1, &buf);
39399 return 0;
39401 _ACEOF
39402 rm -f conftest.$ac_objext conftest$ac_exeext
39403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39404 (eval $ac_link) 2>conftest.er1
39405 ac_status=$?
39406 grep -v '^ *+' conftest.er1 >conftest.err
39407 rm -f conftest.er1
39408 cat conftest.err >&5
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); } &&
39411 { ac_try='test -z "$ac_cxx_werror_flag"
39412 || test ! -s conftest.err'
39413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39414 (eval $ac_try) 2>&5
39415 ac_status=$?
39416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39417 (exit $ac_status); }; } &&
39418 { ac_try='test -s conftest$ac_exeext'
39419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39420 (eval $ac_try) 2>&5
39421 ac_status=$?
39422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39423 (exit $ac_status); }; }; then
39424 glibcxx_cv_LFS=yes
39425 else
39426 echo "$as_me: failed program was:" >&5
39427 sed 's/^/| /' conftest.$ac_ext >&5
39429 glibcxx_cv_LFS=no
39431 rm -f conftest.err conftest.$ac_objext \
39432 conftest$ac_exeext conftest.$ac_ext
39436 if test $glibcxx_cv_LFS = yes; then
39438 cat >>confdefs.h <<\_ACEOF
39439 #define _GLIBCXX_USE_LFS 1
39440 _ACEOF
39443 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39444 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39445 CXXFLAGS="$ac_save_CXXFLAGS"
39446 ac_ext=c
39447 ac_cpp='$CPP $CPPFLAGS'
39448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39454 # For C99 support to TR1.
39459 ac_ext=cc
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466 # Check for the existence of <complex.h> complex math functions used
39467 # by tr1/complex.
39469 for ac_header in complex.h
39471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39473 echo "$as_me:$LINENO: checking for $ac_header" >&5
39474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39476 echo $ECHO_N "(cached) $ECHO_C" >&6
39478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39480 else
39481 # Is the header compilable?
39482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39484 cat >conftest.$ac_ext <<_ACEOF
39485 /* confdefs.h. */
39486 _ACEOF
39487 cat confdefs.h >>conftest.$ac_ext
39488 cat >>conftest.$ac_ext <<_ACEOF
39489 /* end confdefs.h. */
39490 $ac_includes_default
39491 #include <$ac_header>
39492 _ACEOF
39493 rm -f conftest.$ac_objext
39494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39495 (eval $ac_compile) 2>conftest.er1
39496 ac_status=$?
39497 grep -v '^ *+' conftest.er1 >conftest.err
39498 rm -f conftest.er1
39499 cat conftest.err >&5
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); } &&
39502 { ac_try='test -z "$ac_cxx_werror_flag"
39503 || test ! -s conftest.err'
39504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39505 (eval $ac_try) 2>&5
39506 ac_status=$?
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); }; } &&
39509 { ac_try='test -s conftest.$ac_objext'
39510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39511 (eval $ac_try) 2>&5
39512 ac_status=$?
39513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39514 (exit $ac_status); }; }; then
39515 ac_header_compiler=yes
39516 else
39517 echo "$as_me: failed program was:" >&5
39518 sed 's/^/| /' conftest.$ac_ext >&5
39520 ac_header_compiler=no
39522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39524 echo "${ECHO_T}$ac_header_compiler" >&6
39526 # Is the header present?
39527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39529 cat >conftest.$ac_ext <<_ACEOF
39530 /* confdefs.h. */
39531 _ACEOF
39532 cat confdefs.h >>conftest.$ac_ext
39533 cat >>conftest.$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39535 #include <$ac_header>
39536 _ACEOF
39537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39539 ac_status=$?
39540 grep -v '^ *+' conftest.er1 >conftest.err
39541 rm -f conftest.er1
39542 cat conftest.err >&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); } >/dev/null; then
39545 if test -s conftest.err; then
39546 ac_cpp_err=$ac_cxx_preproc_warn_flag
39547 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39548 else
39549 ac_cpp_err=
39551 else
39552 ac_cpp_err=yes
39554 if test -z "$ac_cpp_err"; then
39555 ac_header_preproc=yes
39556 else
39557 echo "$as_me: failed program was:" >&5
39558 sed 's/^/| /' conftest.$ac_ext >&5
39560 ac_header_preproc=no
39562 rm -f conftest.err conftest.$ac_ext
39563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39564 echo "${ECHO_T}$ac_header_preproc" >&6
39566 # So? What about this header?
39567 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39568 yes:no: )
39569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39573 ac_header_preproc=yes
39575 no:yes:* )
39576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39589 cat <<\_ASBOX
39590 ## ----------------------------------------- ##
39591 ## Report this to the package-unused lists. ##
39592 ## ----------------------------------------- ##
39593 _ASBOX
39595 sed "s/^/$as_me: WARNING: /" >&2
39597 esac
39598 echo "$as_me:$LINENO: checking for $ac_header" >&5
39599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39601 echo $ECHO_N "(cached) $ECHO_C" >&6
39602 else
39603 eval "$as_ac_Header=\$ac_header_preproc"
39605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39610 cat >>confdefs.h <<_ACEOF
39611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39612 _ACEOF
39613 ac_has_complex_h=yes
39614 else
39615 ac_has_complex_h=no
39618 done
39620 ac_c99_complex_tr1=no;
39621 if test x"$ac_has_complex_h" = x"yes"; then
39622 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39623 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39624 cat >conftest.$ac_ext <<_ACEOF
39625 /* confdefs.h. */
39626 _ACEOF
39627 cat confdefs.h >>conftest.$ac_ext
39628 cat >>conftest.$ac_ext <<_ACEOF
39629 /* end confdefs.h. */
39630 #include <complex.h>
39632 main ()
39634 typedef __complex__ float float_type; float_type tmpf;
39635 cacosf(tmpf);
39636 casinf(tmpf);
39637 catanf(tmpf);
39638 cacoshf(tmpf);
39639 casinhf(tmpf);
39640 catanhf(tmpf);
39641 typedef __complex__ double double_type; double_type tmpd;
39642 cacos(tmpd);
39643 casin(tmpd);
39644 catan(tmpd);
39645 cacosh(tmpd);
39646 casinh(tmpd);
39647 catanh(tmpd);
39648 typedef __complex__ long double ld_type; ld_type tmpld;
39649 cacosl(tmpld);
39650 casinl(tmpld);
39651 catanl(tmpld);
39652 cacoshl(tmpld);
39653 casinhl(tmpld);
39654 catanhl(tmpld);
39657 return 0;
39659 _ACEOF
39660 rm -f conftest.$ac_objext
39661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39662 (eval $ac_compile) 2>conftest.er1
39663 ac_status=$?
39664 grep -v '^ *+' conftest.er1 >conftest.err
39665 rm -f conftest.er1
39666 cat conftest.err >&5
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); } &&
39669 { ac_try='test -z "$ac_cxx_werror_flag"
39670 || test ! -s conftest.err'
39671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39672 (eval $ac_try) 2>&5
39673 ac_status=$?
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); }; } &&
39676 { ac_try='test -s conftest.$ac_objext'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39679 ac_status=$?
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; }; then
39682 ac_c99_complex_tr1=yes
39683 else
39684 echo "$as_me: failed program was:" >&5
39685 sed 's/^/| /' conftest.$ac_ext >&5
39687 ac_c99_complex_tr1=no
39689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39691 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39692 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39693 if test x"$ac_c99_complex_tr1" = x"yes"; then
39695 cat >>confdefs.h <<\_ACEOF
39696 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39697 _ACEOF
39701 # Check for the existence of <ctype.h> functions.
39702 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39703 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39704 if test "${ac_c99_ctype_tr1+set}" = set; then
39705 echo $ECHO_N "(cached) $ECHO_C" >&6
39706 else
39708 cat >conftest.$ac_ext <<_ACEOF
39709 /* confdefs.h. */
39710 _ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714 #include <ctype.h>
39716 main ()
39718 int ch;
39719 int ret;
39720 ret = isblank(ch);
39723 return 0;
39725 _ACEOF
39726 rm -f conftest.$ac_objext
39727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39728 (eval $ac_compile) 2>conftest.er1
39729 ac_status=$?
39730 grep -v '^ *+' conftest.er1 >conftest.err
39731 rm -f conftest.er1
39732 cat conftest.err >&5
39733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39734 (exit $ac_status); } &&
39735 { ac_try='test -z "$ac_cxx_werror_flag"
39736 || test ! -s conftest.err'
39737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39738 (eval $ac_try) 2>&5
39739 ac_status=$?
39740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39741 (exit $ac_status); }; } &&
39742 { ac_try='test -s conftest.$ac_objext'
39743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39744 (eval $ac_try) 2>&5
39745 ac_status=$?
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); }; }; then
39748 ac_c99_ctype_tr1=yes
39749 else
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.$ac_ext >&5
39753 ac_c99_ctype_tr1=no
39755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39759 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39760 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39761 if test x"$ac_c99_ctype_tr1" = x"yes"; then
39763 cat >>confdefs.h <<\_ACEOF
39764 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39765 _ACEOF
39769 # Check for the existence of <fenv.h> functions.
39771 for ac_header in fenv.h
39773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39775 echo "$as_me:$LINENO: checking for $ac_header" >&5
39776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39782 else
39783 # Is the header compilable?
39784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39786 cat >conftest.$ac_ext <<_ACEOF
39787 /* confdefs.h. */
39788 _ACEOF
39789 cat confdefs.h >>conftest.$ac_ext
39790 cat >>conftest.$ac_ext <<_ACEOF
39791 /* end confdefs.h. */
39792 $ac_includes_default
39793 #include <$ac_header>
39794 _ACEOF
39795 rm -f conftest.$ac_objext
39796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39797 (eval $ac_compile) 2>conftest.er1
39798 ac_status=$?
39799 grep -v '^ *+' conftest.er1 >conftest.err
39800 rm -f conftest.er1
39801 cat conftest.err >&5
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); } &&
39804 { ac_try='test -z "$ac_cxx_werror_flag"
39805 || test ! -s conftest.err'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39808 ac_status=$?
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; } &&
39811 { ac_try='test -s conftest.$ac_objext'
39812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39813 (eval $ac_try) 2>&5
39814 ac_status=$?
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); }; }; then
39817 ac_header_compiler=yes
39818 else
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39822 ac_header_compiler=no
39824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39826 echo "${ECHO_T}$ac_header_compiler" >&6
39828 # Is the header present?
39829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39831 cat >conftest.$ac_ext <<_ACEOF
39832 /* confdefs.h. */
39833 _ACEOF
39834 cat confdefs.h >>conftest.$ac_ext
39835 cat >>conftest.$ac_ext <<_ACEOF
39836 /* end confdefs.h. */
39837 #include <$ac_header>
39838 _ACEOF
39839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39841 ac_status=$?
39842 grep -v '^ *+' conftest.er1 >conftest.err
39843 rm -f conftest.er1
39844 cat conftest.err >&5
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); } >/dev/null; then
39847 if test -s conftest.err; then
39848 ac_cpp_err=$ac_cxx_preproc_warn_flag
39849 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39850 else
39851 ac_cpp_err=
39853 else
39854 ac_cpp_err=yes
39856 if test -z "$ac_cpp_err"; then
39857 ac_header_preproc=yes
39858 else
39859 echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.$ac_ext >&5
39862 ac_header_preproc=no
39864 rm -f conftest.err conftest.$ac_ext
39865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39866 echo "${ECHO_T}$ac_header_preproc" >&6
39868 # So? What about this header?
39869 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39870 yes:no: )
39871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39875 ac_header_preproc=yes
39877 no:yes:* )
39878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39891 cat <<\_ASBOX
39892 ## ----------------------------------------- ##
39893 ## Report this to the package-unused lists. ##
39894 ## ----------------------------------------- ##
39895 _ASBOX
39897 sed "s/^/$as_me: WARNING: /" >&2
39899 esac
39900 echo "$as_me:$LINENO: checking for $ac_header" >&5
39901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39903 echo $ECHO_N "(cached) $ECHO_C" >&6
39904 else
39905 eval "$as_ac_Header=\$ac_header_preproc"
39907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39912 cat >>confdefs.h <<_ACEOF
39913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39914 _ACEOF
39915 ac_has_fenv_h=yes
39916 else
39917 ac_has_fenv_h=no
39920 done
39922 ac_c99_fenv_tr1=no;
39923 if test x"$ac_has_fenv_h" = x"yes"; then
39924 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39925 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
39926 cat >conftest.$ac_ext <<_ACEOF
39927 /* confdefs.h. */
39928 _ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932 #include <fenv.h>
39934 main ()
39936 int except, mode;
39937 fexcept_t* pflag;
39938 fenv_t* penv;
39939 int ret;
39940 ret = feclearexcept(except);
39941 ret = fegetexceptflag(pflag, except);
39942 ret = feraiseexcept(except);
39943 ret = fesetexceptflag(pflag, except);
39944 ret = fetestexcept(except);
39945 ret = fegetround();
39946 ret = fesetround(mode);
39947 ret = fegetenv(penv);
39948 ret = feholdexcept(penv);
39949 ret = fesetenv(penv);
39950 ret = feupdateenv(penv);
39953 return 0;
39955 _ACEOF
39956 rm -f conftest.$ac_objext
39957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39958 (eval $ac_compile) 2>conftest.er1
39959 ac_status=$?
39960 grep -v '^ *+' conftest.er1 >conftest.err
39961 rm -f conftest.er1
39962 cat conftest.err >&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); } &&
39965 { ac_try='test -z "$ac_cxx_werror_flag"
39966 || test ! -s conftest.err'
39967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39968 (eval $ac_try) 2>&5
39969 ac_status=$?
39970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39971 (exit $ac_status); }; } &&
39972 { ac_try='test -s conftest.$ac_objext'
39973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39974 (eval $ac_try) 2>&5
39975 ac_status=$?
39976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39977 (exit $ac_status); }; }; then
39978 ac_c99_fenv_tr1=yes
39979 else
39980 echo "$as_me: failed program was:" >&5
39981 sed 's/^/| /' conftest.$ac_ext >&5
39983 ac_c99_fenv_tr1=no
39985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39987 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
39988 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
39989 if test x"$ac_c99_fenv_tr1" = x"yes"; then
39991 cat >>confdefs.h <<\_ACEOF
39992 #define _GLIBCXX_USE_C99_FENV_TR1 1
39993 _ACEOF
39997 # Check for the existence of <stdint.h> types.
39998 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
39999 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40000 if test "${ac_c99_stdint_tr1+set}" = set; then
40001 echo $ECHO_N "(cached) $ECHO_C" >&6
40002 else
40004 cat >conftest.$ac_ext <<_ACEOF
40005 /* confdefs.h. */
40006 _ACEOF
40007 cat confdefs.h >>conftest.$ac_ext
40008 cat >>conftest.$ac_ext <<_ACEOF
40009 /* end confdefs.h. */
40010 #include <stdint.h>
40012 main ()
40014 typedef int8_t my_int8_t;
40015 typedef int16_t my_int16_t;
40016 typedef int32_t my_int32_t;
40017 typedef int64_t my_int64_t;
40018 typedef int_fast8_t my_int_fast8_t;
40019 typedef int_fast16_t my_int_fast16_t;
40020 typedef int_fast32_t my_int_fast32_t;
40021 typedef int_fast64_t my_int_fast64_t;
40022 typedef int_least8_t my_int_least8_t;
40023 typedef int_least16_t my_int_least16_t;
40024 typedef int_least32_t my_int_least32_t;
40025 typedef int_least64_t my_int_least64_t;
40026 typedef intmax_t my_intmax_t;
40027 typedef intptr_t my_intptr_t;
40028 typedef uint8_t my_uint8_t;
40029 typedef uint16_t my_uint16_t;
40030 typedef uint32_t my_uint32_t;
40031 typedef uint64_t my_uint64_t;
40032 typedef uint_fast8_t my_uint_fast8_t;
40033 typedef uint_fast16_t my_uint_fast16_t;
40034 typedef uint_fast32_t my_uint_fast32_t;
40035 typedef uint_fast64_t my_uint_fast64_t;
40036 typedef uint_least8_t my_uint_least8_t;
40037 typedef uint_least16_t my_uint_least16_t;
40038 typedef uint_least32_t my_uint_least32_t;
40039 typedef uint_least64_t my_uint_least64_t;
40040 typedef uintmax_t my_uintmax_t;
40041 typedef uintptr_t my_uintptr_t;
40044 return 0;
40046 _ACEOF
40047 rm -f conftest.$ac_objext
40048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40049 (eval $ac_compile) 2>conftest.er1
40050 ac_status=$?
40051 grep -v '^ *+' conftest.er1 >conftest.err
40052 rm -f conftest.er1
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } &&
40056 { ac_try='test -z "$ac_cxx_werror_flag"
40057 || test ! -s conftest.err'
40058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40059 (eval $ac_try) 2>&5
40060 ac_status=$?
40061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062 (exit $ac_status); }; } &&
40063 { ac_try='test -s conftest.$ac_objext'
40064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40065 (eval $ac_try) 2>&5
40066 ac_status=$?
40067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40068 (exit $ac_status); }; }; then
40069 ac_c99_stdint_tr1=yes
40070 else
40071 echo "$as_me: failed program was:" >&5
40072 sed 's/^/| /' conftest.$ac_ext >&5
40074 ac_c99_stdint_tr1=no
40076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40080 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40081 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40082 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40084 cat >>confdefs.h <<\_ACEOF
40085 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40086 _ACEOF
40090 # Check for the existence of <math.h> functions.
40091 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40092 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40093 if test "${ac_c99_math_tr1+set}" = set; then
40094 echo $ECHO_N "(cached) $ECHO_C" >&6
40095 else
40097 cat >conftest.$ac_ext <<_ACEOF
40098 /* confdefs.h. */
40099 _ACEOF
40100 cat confdefs.h >>conftest.$ac_ext
40101 cat >>conftest.$ac_ext <<_ACEOF
40102 /* end confdefs.h. */
40103 #include <math.h>
40105 main ()
40107 typedef double_t my_double_t;
40108 typedef float_t my_float_t;
40109 acosh(0.0);
40110 acoshf(0.0f);
40111 acoshl(0.0l);
40112 asinh(0.0);
40113 asinhf(0.0f);
40114 asinhl(0.0l);
40115 atanh(0.0);
40116 atanhf(0.0f);
40117 atanhl(0.0l);
40118 cbrt(0.0);
40119 cbrtf(0.0f);
40120 cbrtl(0.0l);
40121 copysign(0.0, 0.0);
40122 copysignf(0.0f, 0.0f);
40123 copysignl(0.0l, 0.0l);
40124 erf(0.0);
40125 erff(0.0f);
40126 erfl(0.0l);
40127 erfc(0.0);
40128 erfcf(0.0f);
40129 erfcl(0.0l);
40130 exp2(0.0);
40131 exp2f(0.0f);
40132 exp2l(0.0l);
40133 expm1(0.0);
40134 expm1f(0.0f);
40135 expm1l(0.0l);
40136 fdim(0.0, 0.0);
40137 fdimf(0.0f, 0.0f);
40138 fdiml(0.0l, 0.0l);
40139 fma(0.0, 0.0, 0.0);
40140 fmaf(0.0f, 0.0f, 0.0f);
40141 fmal(0.0l, 0.0l, 0.0l);
40142 fmax(0.0, 0.0);
40143 fmaxf(0.0f, 0.0f);
40144 fmaxl(0.0l, 0.0l);
40145 fmin(0.0, 0.0);
40146 fminf(0.0f, 0.0f);
40147 fminl(0.0l, 0.0l);
40148 hypot(0.0, 0.0);
40149 hypotf(0.0f, 0.0f);
40150 hypotl(0.0l, 0.0l);
40151 ilogb(0.0);
40152 ilogbf(0.0f);
40153 ilogbl(0.0l);
40154 lgamma(0.0);
40155 lgammaf(0.0f);
40156 lgammal(0.0l);
40157 llrint(0.0);
40158 llrintf(0.0f);
40159 llrintl(0.0l);
40160 llround(0.0);
40161 llroundf(0.0f);
40162 llroundl(0.0l);
40163 log1p(0.0);
40164 log1pf(0.0f);
40165 log1pl(0.0l);
40166 log2(0.0);
40167 log2f(0.0f);
40168 log2l(0.0l);
40169 logb(0.0);
40170 logbf(0.0f);
40171 logbl(0.0l);
40172 lrint(0.0);
40173 lrintf(0.0f);
40174 lrintl(0.0l);
40175 lround(0.0);
40176 lroundf(0.0f);
40177 lroundl(0.0l);
40178 nan(0);
40179 nanf(0);
40180 nanl(0);
40181 nearbyint(0.0);
40182 nearbyintf(0.0f);
40183 nearbyintl(0.0l);
40184 nextafter(0.0, 0.0);
40185 nextafterf(0.0f, 0.0f);
40186 nextafterl(0.0l, 0.0l);
40187 nexttoward(0.0, 0.0);
40188 nexttowardf(0.0f, 0.0f);
40189 nexttowardl(0.0l, 0.0l);
40190 remainder(0.0, 0.0);
40191 remainderf(0.0f, 0.0f);
40192 remainderl(0.0l, 0.0l);
40193 remquo(0.0, 0.0, 0);
40194 remquo(0.0f, 0.0f, 0);
40195 remquo(0.0l, 0.0l, 0);
40196 rint(0.0);
40197 rintf(0.0f);
40198 rintl(0.0l);
40199 round(0.0);
40200 roundf(0.0f);
40201 roundl(0.0l);
40202 scalbln(0.0, 0l);
40203 scalblnf(0.0f, 0l);
40204 scalblnl(0.0l, 0l);
40205 scalbn(0.0, 0);
40206 scalbnf(0.0f, 0);
40207 scalbnl(0.0l, 0);
40208 tgamma(0.0);
40209 tgammaf(0.0f);
40210 tgammal(0.0l);
40211 trunc(0.0);
40212 truncf(0.0f);
40213 truncl(0.0l);
40216 return 0;
40218 _ACEOF
40219 rm -f conftest.$ac_objext
40220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40221 (eval $ac_compile) 2>conftest.er1
40222 ac_status=$?
40223 grep -v '^ *+' conftest.er1 >conftest.err
40224 rm -f conftest.er1
40225 cat conftest.err >&5
40226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40227 (exit $ac_status); } &&
40228 { ac_try='test -z "$ac_cxx_werror_flag"
40229 || test ! -s conftest.err'
40230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40231 (eval $ac_try) 2>&5
40232 ac_status=$?
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); }; } &&
40235 { ac_try='test -s conftest.$ac_objext'
40236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40237 (eval $ac_try) 2>&5
40238 ac_status=$?
40239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40240 (exit $ac_status); }; }; then
40241 ac_c99_math_tr1=yes
40242 else
40243 echo "$as_me: failed program was:" >&5
40244 sed 's/^/| /' conftest.$ac_ext >&5
40246 ac_c99_math_tr1=no
40248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40252 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40253 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40254 if test x"$ac_c99_math_tr1" = x"yes"; then
40256 cat >>confdefs.h <<\_ACEOF
40257 #define _GLIBCXX_USE_C99_MATH_TR1 1
40258 _ACEOF
40262 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40263 # sense if the previous check fails, per C99, 7.8/1).
40264 ac_c99_inttypes_tr1=no;
40265 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40266 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40267 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40268 cat >conftest.$ac_ext <<_ACEOF
40269 /* confdefs.h. */
40270 _ACEOF
40271 cat confdefs.h >>conftest.$ac_ext
40272 cat >>conftest.$ac_ext <<_ACEOF
40273 /* end confdefs.h. */
40274 #include <inttypes.h>
40276 main ()
40278 intmax_t i, numer, denom, base;
40279 const char* s;
40280 char** endptr;
40281 intmax_t ret = imaxabs(i);
40282 imaxdiv_t dret = imaxdiv(numer, denom);
40283 ret = strtoimax(s, endptr, base);
40284 uintmax_t uret = strtoumax(s, endptr, base);
40287 return 0;
40289 _ACEOF
40290 rm -f conftest.$ac_objext
40291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40292 (eval $ac_compile) 2>conftest.er1
40293 ac_status=$?
40294 grep -v '^ *+' conftest.er1 >conftest.err
40295 rm -f conftest.er1
40296 cat conftest.err >&5
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); } &&
40299 { ac_try='test -z "$ac_cxx_werror_flag"
40300 || test ! -s conftest.err'
40301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40302 (eval $ac_try) 2>&5
40303 ac_status=$?
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); }; } &&
40306 { ac_try='test -s conftest.$ac_objext'
40307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40308 (eval $ac_try) 2>&5
40309 ac_status=$?
40310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40311 (exit $ac_status); }; }; then
40312 ac_c99_inttypes_tr1=yes
40313 else
40314 echo "$as_me: failed program was:" >&5
40315 sed 's/^/| /' conftest.$ac_ext >&5
40317 ac_c99_inttypes_tr1=no
40319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40321 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40322 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40323 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40325 cat >>confdefs.h <<\_ACEOF
40326 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40327 _ACEOF
40331 # Check for the existence of the <stdbool.h> header.
40333 for ac_header in stdbool.h
40335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40337 echo "$as_me:$LINENO: checking for $ac_header" >&5
40338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40340 echo $ECHO_N "(cached) $ECHO_C" >&6
40342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40344 else
40345 # Is the header compilable?
40346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40348 cat >conftest.$ac_ext <<_ACEOF
40349 /* confdefs.h. */
40350 _ACEOF
40351 cat confdefs.h >>conftest.$ac_ext
40352 cat >>conftest.$ac_ext <<_ACEOF
40353 /* end confdefs.h. */
40354 $ac_includes_default
40355 #include <$ac_header>
40356 _ACEOF
40357 rm -f conftest.$ac_objext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359 (eval $ac_compile) 2>conftest.er1
40360 ac_status=$?
40361 grep -v '^ *+' conftest.er1 >conftest.err
40362 rm -f conftest.er1
40363 cat conftest.err >&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } &&
40366 { ac_try='test -z "$ac_cxx_werror_flag"
40367 || test ! -s conftest.err'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40370 ac_status=$?
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; } &&
40373 { ac_try='test -s conftest.$ac_objext'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40376 ac_status=$?
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; }; then
40379 ac_header_compiler=yes
40380 else
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40384 ac_header_compiler=no
40386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40388 echo "${ECHO_T}$ac_header_compiler" >&6
40390 # Is the header present?
40391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40393 cat >conftest.$ac_ext <<_ACEOF
40394 /* confdefs.h. */
40395 _ACEOF
40396 cat confdefs.h >>conftest.$ac_ext
40397 cat >>conftest.$ac_ext <<_ACEOF
40398 /* end confdefs.h. */
40399 #include <$ac_header>
40400 _ACEOF
40401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } >/dev/null; then
40409 if test -s conftest.err; then
40410 ac_cpp_err=$ac_cxx_preproc_warn_flag
40411 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40412 else
40413 ac_cpp_err=
40415 else
40416 ac_cpp_err=yes
40418 if test -z "$ac_cpp_err"; then
40419 ac_header_preproc=yes
40420 else
40421 echo "$as_me: failed program was:" >&5
40422 sed 's/^/| /' conftest.$ac_ext >&5
40424 ac_header_preproc=no
40426 rm -f conftest.err conftest.$ac_ext
40427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40428 echo "${ECHO_T}$ac_header_preproc" >&6
40430 # So? What about this header?
40431 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40432 yes:no: )
40433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40437 ac_header_preproc=yes
40439 no:yes:* )
40440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40453 cat <<\_ASBOX
40454 ## ----------------------------------------- ##
40455 ## Report this to the package-unused lists. ##
40456 ## ----------------------------------------- ##
40457 _ASBOX
40459 sed "s/^/$as_me: WARNING: /" >&2
40461 esac
40462 echo "$as_me:$LINENO: checking for $ac_header" >&5
40463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40465 echo $ECHO_N "(cached) $ECHO_C" >&6
40466 else
40467 eval "$as_ac_Header=\$ac_header_preproc"
40469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40474 cat >>confdefs.h <<_ACEOF
40475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40476 _ACEOF
40480 done
40483 ac_ext=c
40484 ac_cpp='$CPP $CPPFLAGS'
40485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40491 # For dev/random and dev/urandom for TR1.
40494 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40495 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40496 if test "${ac_random_tr1+set}" = set; then
40497 echo $ECHO_N "(cached) $ECHO_C" >&6
40498 else
40500 if test "$cross_compiling" = yes; then
40501 ac_random_tr1=no
40502 else
40503 cat >conftest.$ac_ext <<_ACEOF
40504 /* confdefs.h. */
40505 _ACEOF
40506 cat confdefs.h >>conftest.$ac_ext
40507 cat >>conftest.$ac_ext <<_ACEOF
40508 /* end confdefs.h. */
40509 #include <stdio.h>
40510 int main()
40512 return !(fopen("/dev/random", "r")
40513 && fopen("/dev/urandom", "r"));
40516 _ACEOF
40517 rm -f conftest$ac_exeext
40518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40519 (eval $ac_link) 2>&5
40520 ac_status=$?
40521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524 (eval $ac_try) 2>&5
40525 ac_status=$?
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); }; }; then
40528 ac_random_tr1=yes
40529 else
40530 echo "$as_me: program exited with status $ac_status" >&5
40531 echo "$as_me: failed program was:" >&5
40532 sed 's/^/| /' conftest.$ac_ext >&5
40534 ( exit $ac_status )
40535 ac_random_tr1=no
40537 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40542 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40543 echo "${ECHO_T}$ac_random_tr1" >&6
40544 if test x"$ac_random_tr1" = x"yes"; then
40546 cat >>confdefs.h <<\_ACEOF
40547 #define _GLIBCXX_USE_RANDOM_TR1 1
40548 _ACEOF
40554 # For TLS support.
40556 # Check whether --enable-tls or --disable-tls was given.
40557 if test "${enable_tls+set}" = set; then
40558 enableval="$enable_tls"
40560 case "$enableval" in
40561 yes|no) ;;
40562 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40563 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40564 { (exit 1); exit 1; }; } ;;
40565 esac
40567 else
40568 enable_tls=yes
40571 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40572 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40573 if test "${have_tls+set}" = set; then
40574 echo $ECHO_N "(cached) $ECHO_C" >&6
40575 else
40577 if test "$cross_compiling" = yes; then
40578 if test x$gcc_no_link = xyes; then
40579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40581 { (exit 1); exit 1; }; }
40583 cat >conftest.$ac_ext <<_ACEOF
40584 __thread int a; int b; int main() { return a = b; }
40585 _ACEOF
40586 rm -f conftest.$ac_objext conftest$ac_exeext
40587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40588 (eval $ac_link) 2>conftest.er1
40589 ac_status=$?
40590 grep -v '^ *+' conftest.er1 >conftest.err
40591 rm -f conftest.er1
40592 cat conftest.err >&5
40593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40594 (exit $ac_status); } &&
40595 { ac_try='test -z "$ac_c_werror_flag"
40596 || test ! -s conftest.err'
40597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598 (eval $ac_try) 2>&5
40599 ac_status=$?
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); }; } &&
40602 { ac_try='test -s conftest$ac_exeext'
40603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40604 (eval $ac_try) 2>&5
40605 ac_status=$?
40606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40607 (exit $ac_status); }; }; then
40608 have_tls=yes
40609 else
40610 echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40613 have_tls=no
40615 rm -f conftest.err conftest.$ac_objext \
40616 conftest$ac_exeext conftest.$ac_ext
40619 else
40620 cat >conftest.$ac_ext <<_ACEOF
40621 __thread int a; int b; int main() { return a = b; }
40622 _ACEOF
40623 rm -f conftest$ac_exeext
40624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40625 (eval $ac_link) 2>&5
40626 ac_status=$?
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40630 (eval $ac_try) 2>&5
40631 ac_status=$?
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); }; }; then
40634 chktls_save_LDFLAGS="$LDFLAGS"
40635 LDFLAGS="-static $LDFLAGS"
40636 if test x$gcc_no_link = xyes; then
40637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40639 { (exit 1); exit 1; }; }
40641 cat >conftest.$ac_ext <<_ACEOF
40642 int main() { return 0; }
40643 _ACEOF
40644 rm -f conftest.$ac_objext conftest$ac_exeext
40645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40646 (eval $ac_link) 2>conftest.er1
40647 ac_status=$?
40648 grep -v '^ *+' conftest.er1 >conftest.err
40649 rm -f conftest.er1
40650 cat conftest.err >&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } &&
40653 { ac_try='test -z "$ac_c_werror_flag"
40654 || test ! -s conftest.err'
40655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40656 (eval $ac_try) 2>&5
40657 ac_status=$?
40658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40659 (exit $ac_status); }; } &&
40660 { ac_try='test -s conftest$ac_exeext'
40661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40662 (eval $ac_try) 2>&5
40663 ac_status=$?
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); }; }; then
40666 if test "$cross_compiling" = yes; then
40667 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40668 See \`config.log' for more details." >&5
40669 echo "$as_me: error: cannot run test program while cross compiling
40670 See \`config.log' for more details." >&2;}
40671 { (exit 1); exit 1; }; }
40672 else
40673 cat >conftest.$ac_ext <<_ACEOF
40674 __thread int a; int b; int main() { return a = b; }
40675 _ACEOF
40676 rm -f conftest$ac_exeext
40677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40678 (eval $ac_link) 2>&5
40679 ac_status=$?
40680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40684 ac_status=$?
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; }; then
40687 have_tls=yes
40688 else
40689 echo "$as_me: program exited with status $ac_status" >&5
40690 echo "$as_me: failed program was:" >&5
40691 sed 's/^/| /' conftest.$ac_ext >&5
40693 ( exit $ac_status )
40694 have_tls=no
40696 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40698 else
40699 echo "$as_me: failed program was:" >&5
40700 sed 's/^/| /' conftest.$ac_ext >&5
40702 have_tls=yes
40704 rm -f conftest.err conftest.$ac_objext \
40705 conftest$ac_exeext conftest.$ac_ext
40706 LDFLAGS="$chktls_save_LDFLAGS"
40707 if test $have_tls = yes; then
40708 chktls_save_CFLAGS="$CFLAGS"
40709 thread_CFLAGS=failed
40710 for flag in '' '-pthread' '-lpthread'; do
40711 CFLAGS="$flag $chktls_save_CFLAGS"
40712 if test x$gcc_no_link = xyes; then
40713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40715 { (exit 1); exit 1; }; }
40717 cat >conftest.$ac_ext <<_ACEOF
40718 /* confdefs.h. */
40719 _ACEOF
40720 cat confdefs.h >>conftest.$ac_ext
40721 cat >>conftest.$ac_ext <<_ACEOF
40722 /* end confdefs.h. */
40723 #include <pthread.h>
40724 void *g(void *d) { return NULL; }
40726 main ()
40728 pthread_t t; pthread_create(&t,NULL,g,NULL);
40730 return 0;
40732 _ACEOF
40733 rm -f conftest.$ac_objext conftest$ac_exeext
40734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40735 (eval $ac_link) 2>conftest.er1
40736 ac_status=$?
40737 grep -v '^ *+' conftest.er1 >conftest.err
40738 rm -f conftest.er1
40739 cat conftest.err >&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); } &&
40742 { ac_try='test -z "$ac_c_werror_flag"
40743 || test ! -s conftest.err'
40744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40745 (eval $ac_try) 2>&5
40746 ac_status=$?
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); }; } &&
40749 { ac_try='test -s conftest$ac_exeext'
40750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40751 (eval $ac_try) 2>&5
40752 ac_status=$?
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); }; }; then
40755 thread_CFLAGS="$flag"
40756 else
40757 echo "$as_me: failed program was:" >&5
40758 sed 's/^/| /' conftest.$ac_ext >&5
40761 rm -f conftest.err conftest.$ac_objext \
40762 conftest$ac_exeext conftest.$ac_ext
40763 if test "X$thread_CFLAGS" != Xfailed; then
40764 break
40766 done
40767 CFLAGS="$chktls_save_CFLAGS"
40768 if test "X$thread_CFLAGS" != Xfailed; then
40769 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40770 if test "$cross_compiling" = yes; then
40771 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40772 See \`config.log' for more details." >&5
40773 echo "$as_me: error: cannot run test program while cross compiling
40774 See \`config.log' for more details." >&2;}
40775 { (exit 1); exit 1; }; }
40776 else
40777 cat >conftest.$ac_ext <<_ACEOF
40778 /* confdefs.h. */
40779 _ACEOF
40780 cat confdefs.h >>conftest.$ac_ext
40781 cat >>conftest.$ac_ext <<_ACEOF
40782 /* end confdefs.h. */
40783 #include <pthread.h>
40784 __thread int a;
40785 static int *a_in_other_thread;
40786 static void *
40787 thread_func (void *arg)
40789 a_in_other_thread = &a;
40790 return (void *)0;
40793 main ()
40795 pthread_t thread;
40796 void *thread_retval;
40797 int *a_in_main_thread;
40798 if (pthread_create (&thread, (pthread_attr_t *)0,
40799 thread_func, (void *)0))
40800 return 0;
40801 a_in_main_thread = &a;
40802 if (pthread_join (thread, &thread_retval))
40803 return 0;
40804 return (a_in_other_thread == a_in_main_thread);
40806 return 0;
40808 _ACEOF
40809 rm -f conftest$ac_exeext
40810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40811 (eval $ac_link) 2>&5
40812 ac_status=$?
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40816 (eval $ac_try) 2>&5
40817 ac_status=$?
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); }; }; then
40820 have_tls=yes
40821 else
40822 echo "$as_me: program exited with status $ac_status" >&5
40823 echo "$as_me: failed program was:" >&5
40824 sed 's/^/| /' conftest.$ac_ext >&5
40826 ( exit $ac_status )
40827 have_tls=no
40829 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40831 CFLAGS="$chktls_save_CFLAGS"
40834 else
40835 echo "$as_me: program exited with status $ac_status" >&5
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.$ac_ext >&5
40839 ( exit $ac_status )
40840 have_tls=no
40842 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40845 echo "$as_me:$LINENO: result: $have_tls" >&5
40846 echo "${ECHO_T}$have_tls" >&6
40847 if test "$enable_tls $have_tls" = "yes yes"; then
40849 cat >>confdefs.h <<\_ACEOF
40850 #define HAVE_TLS 1
40851 _ACEOF
40855 # For _Unwind_GetIPInfo.
40859 ac_ext=cc
40860 ac_cpp='$CXXCPP $CPPFLAGS'
40861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40865 ac_save_CXXFLAGS="$CXXFLAGS"
40866 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40867 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40868 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40869 if test "${gcc_cv_getipinfo+set}" = set; then
40870 echo $ECHO_N "(cached) $ECHO_C" >&6
40871 else
40873 if test x$gcc_no_link = xyes; then
40874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40876 { (exit 1); exit 1; }; }
40878 cat >conftest.$ac_ext <<_ACEOF
40879 /* confdefs.h. */
40880 _ACEOF
40881 cat confdefs.h >>conftest.$ac_ext
40882 cat >>conftest.$ac_ext <<_ACEOF
40883 /* end confdefs.h. */
40884 extern "C" { extern void _Unwind_GetIPInfo(); }
40886 main ()
40888 _Unwind_GetIPInfo();
40890 return 0;
40892 _ACEOF
40893 rm -f conftest.$ac_objext conftest$ac_exeext
40894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40895 (eval $ac_link) 2>conftest.er1
40896 ac_status=$?
40897 grep -v '^ *+' conftest.er1 >conftest.err
40898 rm -f conftest.er1
40899 cat conftest.err >&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); } &&
40902 { ac_try='test -z "$ac_cxx_werror_flag"
40903 || test ! -s conftest.err'
40904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40905 (eval $ac_try) 2>&5
40906 ac_status=$?
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); }; } &&
40909 { ac_try='test -s conftest$ac_exeext'
40910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40911 (eval $ac_try) 2>&5
40912 ac_status=$?
40913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40914 (exit $ac_status); }; }; then
40915 gcc_cv_getipinfo=yes
40916 else
40917 echo "$as_me: failed program was:" >&5
40918 sed 's/^/| /' conftest.$ac_ext >&5
40920 gcc_cv_getipinfo=no
40922 rm -f conftest.err conftest.$ac_objext \
40923 conftest$ac_exeext conftest.$ac_ext
40927 if test $gcc_cv_getipinfo = yes; then
40929 cat >>confdefs.h <<\_ACEOF
40930 #define HAVE_GETIPINFO 1
40931 _ACEOF
40934 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40935 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
40936 CXXFLAGS="$ac_save_CXXFLAGS"
40937 ac_ext=c
40938 ac_cpp='$CPP $CPPFLAGS'
40939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40946 if test "${ac_cv_header_locale_h+set}" = set; then
40947 echo "$as_me:$LINENO: checking for locale.h" >&5
40948 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40949 if test "${ac_cv_header_locale_h+set}" = set; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40953 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40954 else
40955 # Is the header compilable?
40956 echo "$as_me:$LINENO: checking locale.h usability" >&5
40957 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
40958 cat >conftest.$ac_ext <<_ACEOF
40959 /* confdefs.h. */
40960 _ACEOF
40961 cat confdefs.h >>conftest.$ac_ext
40962 cat >>conftest.$ac_ext <<_ACEOF
40963 /* end confdefs.h. */
40964 $ac_includes_default
40965 #include <locale.h>
40966 _ACEOF
40967 rm -f conftest.$ac_objext
40968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40969 (eval $ac_compile) 2>conftest.er1
40970 ac_status=$?
40971 grep -v '^ *+' conftest.er1 >conftest.err
40972 rm -f conftest.er1
40973 cat conftest.err >&5
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); } &&
40976 { ac_try='test -z "$ac_c_werror_flag"
40977 || test ! -s conftest.err'
40978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40979 (eval $ac_try) 2>&5
40980 ac_status=$?
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); }; } &&
40983 { ac_try='test -s conftest.$ac_objext'
40984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40985 (eval $ac_try) 2>&5
40986 ac_status=$?
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); }; }; then
40989 ac_header_compiler=yes
40990 else
40991 echo "$as_me: failed program was:" >&5
40992 sed 's/^/| /' conftest.$ac_ext >&5
40994 ac_header_compiler=no
40996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40998 echo "${ECHO_T}$ac_header_compiler" >&6
41000 # Is the header present?
41001 echo "$as_me:$LINENO: checking locale.h presence" >&5
41002 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41003 cat >conftest.$ac_ext <<_ACEOF
41004 /* confdefs.h. */
41005 _ACEOF
41006 cat confdefs.h >>conftest.$ac_ext
41007 cat >>conftest.$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41009 #include <locale.h>
41010 _ACEOF
41011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41013 ac_status=$?
41014 grep -v '^ *+' conftest.er1 >conftest.err
41015 rm -f conftest.er1
41016 cat conftest.err >&5
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); } >/dev/null; then
41019 if test -s conftest.err; then
41020 ac_cpp_err=$ac_c_preproc_warn_flag
41021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41022 else
41023 ac_cpp_err=
41025 else
41026 ac_cpp_err=yes
41028 if test -z "$ac_cpp_err"; then
41029 ac_header_preproc=yes
41030 else
41031 echo "$as_me: failed program was:" >&5
41032 sed 's/^/| /' conftest.$ac_ext >&5
41034 ac_header_preproc=no
41036 rm -f conftest.err conftest.$ac_ext
41037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41038 echo "${ECHO_T}$ac_header_preproc" >&6
41040 # So? What about this header?
41041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41042 yes:no: )
41043 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41044 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41045 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41046 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41047 ac_header_preproc=yes
41049 no:yes:* )
41050 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41051 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41052 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41053 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41054 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41055 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41056 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41057 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41058 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41059 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41060 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41061 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41063 cat <<\_ASBOX
41064 ## ----------------------------------------- ##
41065 ## Report this to the package-unused lists. ##
41066 ## ----------------------------------------- ##
41067 _ASBOX
41069 sed "s/^/$as_me: WARNING: /" >&2
41071 esac
41072 echo "$as_me:$LINENO: checking for locale.h" >&5
41073 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41074 if test "${ac_cv_header_locale_h+set}" = set; then
41075 echo $ECHO_N "(cached) $ECHO_C" >&6
41076 else
41077 ac_cv_header_locale_h=$ac_header_preproc
41079 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41080 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41083 if test $ac_cv_header_locale_h = yes; then
41085 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41086 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41087 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41088 echo $ECHO_N "(cached) $ECHO_C" >&6
41089 else
41090 if test x$gcc_no_link = xyes; then
41091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41093 { (exit 1); exit 1; }; }
41095 cat >conftest.$ac_ext <<_ACEOF
41096 /* confdefs.h. */
41097 _ACEOF
41098 cat confdefs.h >>conftest.$ac_ext
41099 cat >>conftest.$ac_ext <<_ACEOF
41100 /* end confdefs.h. */
41101 #include <locale.h>
41103 main ()
41105 return LC_MESSAGES
41107 return 0;
41109 _ACEOF
41110 rm -f conftest.$ac_objext conftest$ac_exeext
41111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41112 (eval $ac_link) 2>conftest.er1
41113 ac_status=$?
41114 grep -v '^ *+' conftest.er1 >conftest.err
41115 rm -f conftest.er1
41116 cat conftest.err >&5
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } &&
41119 { ac_try='test -z "$ac_c_werror_flag"
41120 || test ! -s conftest.err'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41123 ac_status=$?
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; } &&
41126 { ac_try='test -s conftest$ac_exeext'
41127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41128 (eval $ac_try) 2>&5
41129 ac_status=$?
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); }; }; then
41132 ac_cv_val_LC_MESSAGES=yes
41133 else
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41137 ac_cv_val_LC_MESSAGES=no
41139 rm -f conftest.err conftest.$ac_objext \
41140 conftest$ac_exeext conftest.$ac_ext
41142 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41143 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41144 if test $ac_cv_val_LC_MESSAGES = yes; then
41146 cat >>confdefs.h <<\_ACEOF
41147 #define HAVE_LC_MESSAGES 1
41148 _ACEOF
41157 cat >conftest.$ac_ext <<_ACEOF
41158 /* confdefs.h. */
41159 _ACEOF
41160 cat confdefs.h >>conftest.$ac_ext
41161 cat >>conftest.$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41163 #include <setjmp.h>
41165 main ()
41167 sigjmp_buf env;
41168 while (! sigsetjmp (env, 1))
41169 siglongjmp (env, 1);
41172 return 0;
41174 _ACEOF
41175 rm -f conftest.$ac_objext
41176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41177 (eval $ac_compile) 2>conftest.er1
41178 ac_status=$?
41179 grep -v '^ *+' conftest.er1 >conftest.err
41180 rm -f conftest.er1
41181 cat conftest.err >&5
41182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41183 (exit $ac_status); } &&
41184 { ac_try='test -z "$ac_c_werror_flag"
41185 || test ! -s conftest.err'
41186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41187 (eval $ac_try) 2>&5
41188 ac_status=$?
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); }; } &&
41191 { ac_try='test -s conftest.$ac_objext'
41192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41193 (eval $ac_try) 2>&5
41194 ac_status=$?
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); }; }; then
41198 cat >>confdefs.h <<\_ACEOF
41199 #define HAVE_SIGSETJMP 1
41200 _ACEOF
41202 else
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41209 if test x$gcc_no_link = xyes; then
41210 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41211 ac_cv_func_mmap_fixed_mapped=no
41214 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41217 for ac_header in stdlib.h unistd.h
41219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41221 echo "$as_me:$LINENO: checking for $ac_header" >&5
41222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41224 echo $ECHO_N "(cached) $ECHO_C" >&6
41226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41228 else
41229 # Is the header compilable?
41230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41232 cat >conftest.$ac_ext <<_ACEOF
41233 /* confdefs.h. */
41234 _ACEOF
41235 cat confdefs.h >>conftest.$ac_ext
41236 cat >>conftest.$ac_ext <<_ACEOF
41237 /* end confdefs.h. */
41238 $ac_includes_default
41239 #include <$ac_header>
41240 _ACEOF
41241 rm -f conftest.$ac_objext
41242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41243 (eval $ac_compile) 2>conftest.er1
41244 ac_status=$?
41245 grep -v '^ *+' conftest.er1 >conftest.err
41246 rm -f conftest.er1
41247 cat conftest.err >&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); } &&
41250 { ac_try='test -z "$ac_c_werror_flag"
41251 || test ! -s conftest.err'
41252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253 (eval $ac_try) 2>&5
41254 ac_status=$?
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); }; } &&
41257 { ac_try='test -s conftest.$ac_objext'
41258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41259 (eval $ac_try) 2>&5
41260 ac_status=$?
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); }; }; then
41263 ac_header_compiler=yes
41264 else
41265 echo "$as_me: failed program was:" >&5
41266 sed 's/^/| /' conftest.$ac_ext >&5
41268 ac_header_compiler=no
41270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41272 echo "${ECHO_T}$ac_header_compiler" >&6
41274 # Is the header present?
41275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41277 cat >conftest.$ac_ext <<_ACEOF
41278 /* confdefs.h. */
41279 _ACEOF
41280 cat confdefs.h >>conftest.$ac_ext
41281 cat >>conftest.$ac_ext <<_ACEOF
41282 /* end confdefs.h. */
41283 #include <$ac_header>
41284 _ACEOF
41285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41287 ac_status=$?
41288 grep -v '^ *+' conftest.er1 >conftest.err
41289 rm -f conftest.er1
41290 cat conftest.err >&5
41291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292 (exit $ac_status); } >/dev/null; then
41293 if test -s conftest.err; then
41294 ac_cpp_err=$ac_c_preproc_warn_flag
41295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41296 else
41297 ac_cpp_err=
41299 else
41300 ac_cpp_err=yes
41302 if test -z "$ac_cpp_err"; then
41303 ac_header_preproc=yes
41304 else
41305 echo "$as_me: failed program was:" >&5
41306 sed 's/^/| /' conftest.$ac_ext >&5
41308 ac_header_preproc=no
41310 rm -f conftest.err conftest.$ac_ext
41311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41312 echo "${ECHO_T}$ac_header_preproc" >&6
41314 # So? What about this header?
41315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41316 yes:no: )
41317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41321 ac_header_preproc=yes
41323 no:yes:* )
41324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41337 cat <<\_ASBOX
41338 ## ----------------------------------------- ##
41339 ## Report this to the package-unused lists. ##
41340 ## ----------------------------------------- ##
41341 _ASBOX
41343 sed "s/^/$as_me: WARNING: /" >&2
41345 esac
41346 echo "$as_me:$LINENO: checking for $ac_header" >&5
41347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41349 echo $ECHO_N "(cached) $ECHO_C" >&6
41350 else
41351 eval "$as_ac_Header=\$ac_header_preproc"
41353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41358 cat >>confdefs.h <<_ACEOF
41359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41360 _ACEOF
41364 done
41367 for ac_func in getpagesize
41369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41370 echo "$as_me:$LINENO: checking for $ac_func" >&5
41371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41372 if eval "test \"\${$as_ac_var+set}\" = set"; then
41373 echo $ECHO_N "(cached) $ECHO_C" >&6
41374 else
41375 if test x$gcc_no_link = xyes; then
41376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41378 { (exit 1); exit 1; }; }
41380 cat >conftest.$ac_ext <<_ACEOF
41381 /* confdefs.h. */
41382 _ACEOF
41383 cat confdefs.h >>conftest.$ac_ext
41384 cat >>conftest.$ac_ext <<_ACEOF
41385 /* end confdefs.h. */
41386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41388 #define $ac_func innocuous_$ac_func
41390 /* System header to define __stub macros and hopefully few prototypes,
41391 which can conflict with char $ac_func (); below.
41392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41393 <limits.h> exists even on freestanding compilers. */
41395 #ifdef __STDC__
41396 # include <limits.h>
41397 #else
41398 # include <assert.h>
41399 #endif
41401 #undef $ac_func
41403 /* Override any gcc2 internal prototype to avoid an error. */
41404 #ifdef __cplusplus
41405 extern "C"
41407 #endif
41408 /* We use char because int might match the return type of a gcc2
41409 builtin and then its argument prototype would still apply. */
41410 char $ac_func ();
41411 /* The GNU C library defines this for functions which it implements
41412 to always fail with ENOSYS. Some functions are actually named
41413 something starting with __ and the normal name is an alias. */
41414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41415 choke me
41416 #else
41417 char (*f) () = $ac_func;
41418 #endif
41419 #ifdef __cplusplus
41421 #endif
41424 main ()
41426 return f != $ac_func;
41428 return 0;
41430 _ACEOF
41431 rm -f conftest.$ac_objext conftest$ac_exeext
41432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41433 (eval $ac_link) 2>conftest.er1
41434 ac_status=$?
41435 grep -v '^ *+' conftest.er1 >conftest.err
41436 rm -f conftest.er1
41437 cat conftest.err >&5
41438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41439 (exit $ac_status); } &&
41440 { ac_try='test -z "$ac_c_werror_flag"
41441 || test ! -s conftest.err'
41442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41443 (eval $ac_try) 2>&5
41444 ac_status=$?
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; } &&
41447 { ac_try='test -s conftest$ac_exeext'
41448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41449 (eval $ac_try) 2>&5
41450 ac_status=$?
41451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41452 (exit $ac_status); }; }; then
41453 eval "$as_ac_var=yes"
41454 else
41455 echo "$as_me: failed program was:" >&5
41456 sed 's/^/| /' conftest.$ac_ext >&5
41458 eval "$as_ac_var=no"
41460 rm -f conftest.err conftest.$ac_objext \
41461 conftest$ac_exeext conftest.$ac_ext
41463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41465 if test `eval echo '${'$as_ac_var'}'` = yes; then
41466 cat >>confdefs.h <<_ACEOF
41467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41468 _ACEOF
41471 done
41473 echo "$as_me:$LINENO: checking for working mmap" >&5
41474 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41475 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41476 echo $ECHO_N "(cached) $ECHO_C" >&6
41477 else
41478 if test "$cross_compiling" = yes; then
41479 ac_cv_func_mmap_fixed_mapped=no
41480 else
41481 cat >conftest.$ac_ext <<_ACEOF
41482 /* confdefs.h. */
41483 _ACEOF
41484 cat confdefs.h >>conftest.$ac_ext
41485 cat >>conftest.$ac_ext <<_ACEOF
41486 /* end confdefs.h. */
41487 $ac_includes_default
41488 /* malloc might have been renamed as rpl_malloc. */
41489 #undef malloc
41491 /* Thanks to Mike Haertel and Jim Avera for this test.
41492 Here is a matrix of mmap possibilities:
41493 mmap private not fixed
41494 mmap private fixed at somewhere currently unmapped
41495 mmap private fixed at somewhere already mapped
41496 mmap shared not fixed
41497 mmap shared fixed at somewhere currently unmapped
41498 mmap shared fixed at somewhere already mapped
41499 For private mappings, we should verify that changes cannot be read()
41500 back from the file, nor mmap's back from the file at a different
41501 address. (There have been systems where private was not correctly
41502 implemented like the infamous i386 svr4.0, and systems where the
41503 VM page cache was not coherent with the file system buffer cache
41504 like early versions of FreeBSD and possibly contemporary NetBSD.)
41505 For shared mappings, we should conversely verify that changes get
41506 propagated back to all the places they're supposed to be.
41508 Grep wants private fixed already mapped.
41509 The main things grep needs to know about mmap are:
41510 * does it exist and is it safe to write into the mmap'd area
41511 * how to use it (BSD variants) */
41513 #include <fcntl.h>
41514 #include <sys/mman.h>
41516 #if !STDC_HEADERS && !HAVE_STDLIB_H
41517 char *malloc ();
41518 #endif
41520 /* This mess was copied from the GNU getpagesize.h. */
41521 #if !HAVE_GETPAGESIZE
41522 /* Assume that all systems that can run configure have sys/param.h. */
41523 # if !HAVE_SYS_PARAM_H
41524 # define HAVE_SYS_PARAM_H 1
41525 # endif
41527 # ifdef _SC_PAGESIZE
41528 # define getpagesize() sysconf(_SC_PAGESIZE)
41529 # else /* no _SC_PAGESIZE */
41530 # if HAVE_SYS_PARAM_H
41531 # include <sys/param.h>
41532 # ifdef EXEC_PAGESIZE
41533 # define getpagesize() EXEC_PAGESIZE
41534 # else /* no EXEC_PAGESIZE */
41535 # ifdef NBPG
41536 # define getpagesize() NBPG * CLSIZE
41537 # ifndef CLSIZE
41538 # define CLSIZE 1
41539 # endif /* no CLSIZE */
41540 # else /* no NBPG */
41541 # ifdef NBPC
41542 # define getpagesize() NBPC
41543 # else /* no NBPC */
41544 # ifdef PAGESIZE
41545 # define getpagesize() PAGESIZE
41546 # endif /* PAGESIZE */
41547 # endif /* no NBPC */
41548 # endif /* no NBPG */
41549 # endif /* no EXEC_PAGESIZE */
41550 # else /* no HAVE_SYS_PARAM_H */
41551 # define getpagesize() 8192 /* punt totally */
41552 # endif /* no HAVE_SYS_PARAM_H */
41553 # endif /* no _SC_PAGESIZE */
41555 #endif /* no HAVE_GETPAGESIZE */
41558 main ()
41560 char *data, *data2, *data3;
41561 int i, pagesize;
41562 int fd;
41564 pagesize = getpagesize ();
41566 /* First, make a file with some known garbage in it. */
41567 data = (char *) malloc (pagesize);
41568 if (!data)
41569 exit (1);
41570 for (i = 0; i < pagesize; ++i)
41571 *(data + i) = rand ();
41572 umask (0);
41573 fd = creat ("conftest.mmap", 0600);
41574 if (fd < 0)
41575 exit (1);
41576 if (write (fd, data, pagesize) != pagesize)
41577 exit (1);
41578 close (fd);
41580 /* Next, try to mmap the file at a fixed address which already has
41581 something else allocated at it. If we can, also make sure that
41582 we see the same garbage. */
41583 fd = open ("conftest.mmap", O_RDWR);
41584 if (fd < 0)
41585 exit (1);
41586 data2 = (char *) malloc (2 * pagesize);
41587 if (!data2)
41588 exit (1);
41589 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41590 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41591 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41592 exit (1);
41593 for (i = 0; i < pagesize; ++i)
41594 if (*(data + i) != *(data2 + i))
41595 exit (1);
41597 /* Finally, make sure that changes to the mapped area do not
41598 percolate back to the file as seen by read(). (This is a bug on
41599 some variants of i386 svr4.0.) */
41600 for (i = 0; i < pagesize; ++i)
41601 *(data2 + i) = *(data2 + i) + 1;
41602 data3 = (char *) malloc (pagesize);
41603 if (!data3)
41604 exit (1);
41605 if (read (fd, data3, pagesize) != pagesize)
41606 exit (1);
41607 for (i = 0; i < pagesize; ++i)
41608 if (*(data + i) != *(data3 + i))
41609 exit (1);
41610 close (fd);
41611 exit (0);
41613 _ACEOF
41614 rm -f conftest$ac_exeext
41615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41616 (eval $ac_link) 2>&5
41617 ac_status=$?
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41621 (eval $ac_try) 2>&5
41622 ac_status=$?
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); }; }; then
41625 ac_cv_func_mmap_fixed_mapped=yes
41626 else
41627 echo "$as_me: program exited with status $ac_status" >&5
41628 echo "$as_me: failed program was:" >&5
41629 sed 's/^/| /' conftest.$ac_ext >&5
41631 ( exit $ac_status )
41632 ac_cv_func_mmap_fixed_mapped=no
41634 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41637 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41638 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41639 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41641 cat >>confdefs.h <<\_ACEOF
41642 #define HAVE_MMAP 1
41643 _ACEOF
41646 rm -f conftest.mmap
41650 # For iconv support.
41652 if test "X$prefix" = "XNONE"; then
41653 acl_final_prefix="$ac_default_prefix"
41654 else
41655 acl_final_prefix="$prefix"
41657 if test "X$exec_prefix" = "XNONE"; then
41658 acl_final_exec_prefix='${prefix}'
41659 else
41660 acl_final_exec_prefix="$exec_prefix"
41662 acl_save_prefix="$prefix"
41663 prefix="$acl_final_prefix"
41664 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41665 prefix="$acl_save_prefix"
41668 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41669 if test "${with_gnu_ld+set}" = set; then
41670 withval="$with_gnu_ld"
41671 test "$withval" = no || with_gnu_ld=yes
41672 else
41673 with_gnu_ld=no
41675 # Prepare PATH_SEPARATOR.
41676 # The user is always right.
41677 if test "${PATH_SEPARATOR+set}" != set; then
41678 echo "#! /bin/sh" >conf$$.sh
41679 echo "exit 0" >>conf$$.sh
41680 chmod +x conf$$.sh
41681 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41682 PATH_SEPARATOR=';'
41683 else
41684 PATH_SEPARATOR=:
41686 rm -f conf$$.sh
41688 ac_prog=ld
41689 if test "$GCC" = yes; then
41690 # Check if gcc -print-prog-name=ld gives a path.
41691 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41692 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41693 case $host in
41694 *-*-mingw*)
41695 # gcc leaves a trailing carriage return which upsets mingw
41696 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41698 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41699 esac
41700 case $ac_prog in
41701 # Accept absolute paths.
41702 [\\/]* | [A-Za-z]:[\\/]*)
41703 re_direlt='/[^/][^/]*/\.\./'
41704 # Canonicalize the path of ld
41705 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41706 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41707 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41708 done
41709 test -z "$LD" && LD="$ac_prog"
41712 # If it fails, then pretend we aren't using GCC.
41713 ac_prog=ld
41716 # If it is relative, then search for the first ld in PATH.
41717 with_gnu_ld=unknown
41719 esac
41720 elif test "$with_gnu_ld" = yes; then
41721 echo "$as_me:$LINENO: checking for GNU ld" >&5
41722 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41723 else
41724 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41725 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41727 if test "${acl_cv_path_LD+set}" = set; then
41728 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 else
41730 if test -z "$LD"; then
41731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41732 for ac_dir in $PATH; do
41733 test -z "$ac_dir" && ac_dir=.
41734 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41735 acl_cv_path_LD="$ac_dir/$ac_prog"
41736 # Check to see if the program is GNU ld. I'd rather use --version,
41737 # but apparently some GNU ld's only accept -v.
41738 # Break only if it was the GNU/non-GNU ld that we prefer.
41739 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41740 test "$with_gnu_ld" != no && break
41741 else
41742 test "$with_gnu_ld" != yes && break
41745 done
41746 IFS="$ac_save_ifs"
41747 else
41748 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41752 LD="$acl_cv_path_LD"
41753 if test -n "$LD"; then
41754 echo "$as_me:$LINENO: result: $LD" >&5
41755 echo "${ECHO_T}$LD" >&6
41756 else
41757 echo "$as_me:$LINENO: result: no" >&5
41758 echo "${ECHO_T}no" >&6
41760 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41761 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41762 { (exit 1); exit 1; }; }
41763 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41764 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41765 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41767 else
41768 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41769 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41770 acl_cv_prog_gnu_ld=yes
41771 else
41772 acl_cv_prog_gnu_ld=no
41775 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41776 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41777 with_gnu_ld=$acl_cv_prog_gnu_ld
41781 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41782 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41783 if test "${acl_cv_rpath+set}" = set; then
41784 echo $ECHO_N "(cached) $ECHO_C" >&6
41785 else
41787 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41788 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41789 . ./conftest.sh
41790 rm -f ./conftest.sh
41791 acl_cv_rpath=done
41794 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41795 echo "${ECHO_T}$acl_cv_rpath" >&6
41796 wl="$acl_cv_wl"
41797 libext="$acl_cv_libext"
41798 shlibext="$acl_cv_shlibext"
41799 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41800 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41801 hardcode_direct="$acl_cv_hardcode_direct"
41802 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41803 # Check whether --enable-rpath or --disable-rpath was given.
41804 if test "${enable_rpath+set}" = set; then
41805 enableval="$enable_rpath"
41807 else
41808 enable_rpath=yes
41817 use_additional=yes
41819 acl_save_prefix="$prefix"
41820 prefix="$acl_final_prefix"
41821 acl_save_exec_prefix="$exec_prefix"
41822 exec_prefix="$acl_final_exec_prefix"
41824 eval additional_includedir=\"$includedir\"
41825 eval additional_libdir=\"$libdir\"
41827 exec_prefix="$acl_save_exec_prefix"
41828 prefix="$acl_save_prefix"
41831 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41832 if test "${with_libiconv_prefix+set}" = set; then
41833 withval="$with_libiconv_prefix"
41835 if test "X$withval" = "Xno"; then
41836 use_additional=no
41837 else
41838 if test "X$withval" = "X"; then
41840 acl_save_prefix="$prefix"
41841 prefix="$acl_final_prefix"
41842 acl_save_exec_prefix="$exec_prefix"
41843 exec_prefix="$acl_final_exec_prefix"
41845 eval additional_includedir=\"$includedir\"
41846 eval additional_libdir=\"$libdir\"
41848 exec_prefix="$acl_save_exec_prefix"
41849 prefix="$acl_save_prefix"
41851 else
41852 additional_includedir="$withval/include"
41853 additional_libdir="$withval/lib"
41858 LIBICONV=
41859 LTLIBICONV=
41860 INCICONV=
41861 rpathdirs=
41862 ltrpathdirs=
41863 names_already_handled=
41864 names_next_round='iconv '
41865 while test -n "$names_next_round"; do
41866 names_this_round="$names_next_round"
41867 names_next_round=
41868 for name in $names_this_round; do
41869 already_handled=
41870 for n in $names_already_handled; do
41871 if test "$n" = "$name"; then
41872 already_handled=yes
41873 break
41875 done
41876 if test -z "$already_handled"; then
41877 names_already_handled="$names_already_handled $name"
41878 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41879 eval value=\"\$HAVE_LIB$uppername\"
41880 if test -n "$value"; then
41881 if test "$value" = yes; then
41882 eval value=\"\$LIB$uppername\"
41883 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41884 eval value=\"\$LTLIB$uppername\"
41885 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41886 else
41889 else
41890 found_dir=
41891 found_la=
41892 found_so=
41893 found_a=
41894 if test $use_additional = yes; then
41895 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41896 found_dir="$additional_libdir"
41897 found_so="$additional_libdir/lib$name.$shlibext"
41898 if test -f "$additional_libdir/lib$name.la"; then
41899 found_la="$additional_libdir/lib$name.la"
41901 else
41902 if test -f "$additional_libdir/lib$name.$libext"; then
41903 found_dir="$additional_libdir"
41904 found_a="$additional_libdir/lib$name.$libext"
41905 if test -f "$additional_libdir/lib$name.la"; then
41906 found_la="$additional_libdir/lib$name.la"
41911 if test "X$found_dir" = "X"; then
41912 for x in $LDFLAGS $LTLIBICONV; do
41914 acl_save_prefix="$prefix"
41915 prefix="$acl_final_prefix"
41916 acl_save_exec_prefix="$exec_prefix"
41917 exec_prefix="$acl_final_exec_prefix"
41918 eval x=\"$x\"
41919 exec_prefix="$acl_save_exec_prefix"
41920 prefix="$acl_save_prefix"
41922 case "$x" in
41923 -L*)
41924 dir=`echo "X$x" | sed -e 's/^X-L//'`
41925 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41926 found_dir="$dir"
41927 found_so="$dir/lib$name.$shlibext"
41928 if test -f "$dir/lib$name.la"; then
41929 found_la="$dir/lib$name.la"
41931 else
41932 if test -f "$dir/lib$name.$libext"; then
41933 found_dir="$dir"
41934 found_a="$dir/lib$name.$libext"
41935 if test -f "$dir/lib$name.la"; then
41936 found_la="$dir/lib$name.la"
41941 esac
41942 if test "X$found_dir" != "X"; then
41943 break
41945 done
41947 if test "X$found_dir" != "X"; then
41948 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41949 if test "X$found_so" != "X"; then
41950 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41951 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41952 else
41953 haveit=
41954 for x in $ltrpathdirs; do
41955 if test "X$x" = "X$found_dir"; then
41956 haveit=yes
41957 break
41959 done
41960 if test -z "$haveit"; then
41961 ltrpathdirs="$ltrpathdirs $found_dir"
41963 if test "$hardcode_direct" = yes; then
41964 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41965 else
41966 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41967 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41968 haveit=
41969 for x in $rpathdirs; do
41970 if test "X$x" = "X$found_dir"; then
41971 haveit=yes
41972 break
41974 done
41975 if test -z "$haveit"; then
41976 rpathdirs="$rpathdirs $found_dir"
41978 else
41979 haveit=
41980 for x in $LDFLAGS $LIBICONV; do
41982 acl_save_prefix="$prefix"
41983 prefix="$acl_final_prefix"
41984 acl_save_exec_prefix="$exec_prefix"
41985 exec_prefix="$acl_final_exec_prefix"
41986 eval x=\"$x\"
41987 exec_prefix="$acl_save_exec_prefix"
41988 prefix="$acl_save_prefix"
41990 if test "X$x" = "X-L$found_dir"; then
41991 haveit=yes
41992 break
41994 done
41995 if test -z "$haveit"; then
41996 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41998 if test "$hardcode_minus_L" != no; then
41999 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42000 else
42001 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42006 else
42007 if test "X$found_a" != "X"; then
42008 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42009 else
42010 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42013 additional_includedir=
42014 case "$found_dir" in
42015 */lib | */lib/)
42016 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42017 additional_includedir="$basedir/include"
42019 esac
42020 if test "X$additional_includedir" != "X"; then
42021 if test "X$additional_includedir" != "X/usr/include"; then
42022 haveit=
42023 if test "X$additional_includedir" = "X/usr/local/include"; then
42024 if test -n "$GCC"; then
42025 case $host_os in
42026 linux*) haveit=yes;;
42027 esac
42030 if test -z "$haveit"; then
42031 for x in $CPPFLAGS $INCICONV; do
42033 acl_save_prefix="$prefix"
42034 prefix="$acl_final_prefix"
42035 acl_save_exec_prefix="$exec_prefix"
42036 exec_prefix="$acl_final_exec_prefix"
42037 eval x=\"$x\"
42038 exec_prefix="$acl_save_exec_prefix"
42039 prefix="$acl_save_prefix"
42041 if test "X$x" = "X-I$additional_includedir"; then
42042 haveit=yes
42043 break
42045 done
42046 if test -z "$haveit"; then
42047 if test -d "$additional_includedir"; then
42048 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42054 if test -n "$found_la"; then
42055 save_libdir="$libdir"
42056 case "$found_la" in
42057 */* | *\\*) . "$found_la" ;;
42058 *) . "./$found_la" ;;
42059 esac
42060 libdir="$save_libdir"
42061 for dep in $dependency_libs; do
42062 case "$dep" in
42063 -L*)
42064 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42065 if test "X$additional_libdir" != "X/usr/lib"; then
42066 haveit=
42067 if test "X$additional_libdir" = "X/usr/local/lib"; then
42068 if test -n "$GCC"; then
42069 case $host_os in
42070 linux*) haveit=yes;;
42071 esac
42074 if test -z "$haveit"; then
42075 haveit=
42076 for x in $LDFLAGS $LIBICONV; do
42078 acl_save_prefix="$prefix"
42079 prefix="$acl_final_prefix"
42080 acl_save_exec_prefix="$exec_prefix"
42081 exec_prefix="$acl_final_exec_prefix"
42082 eval x=\"$x\"
42083 exec_prefix="$acl_save_exec_prefix"
42084 prefix="$acl_save_prefix"
42086 if test "X$x" = "X-L$additional_libdir"; then
42087 haveit=yes
42088 break
42090 done
42091 if test -z "$haveit"; then
42092 if test -d "$additional_libdir"; then
42093 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42096 haveit=
42097 for x in $LDFLAGS $LTLIBICONV; do
42099 acl_save_prefix="$prefix"
42100 prefix="$acl_final_prefix"
42101 acl_save_exec_prefix="$exec_prefix"
42102 exec_prefix="$acl_final_exec_prefix"
42103 eval x=\"$x\"
42104 exec_prefix="$acl_save_exec_prefix"
42105 prefix="$acl_save_prefix"
42107 if test "X$x" = "X-L$additional_libdir"; then
42108 haveit=yes
42109 break
42111 done
42112 if test -z "$haveit"; then
42113 if test -d "$additional_libdir"; then
42114 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42120 -R*)
42121 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42122 if test "$enable_rpath" != no; then
42123 haveit=
42124 for x in $rpathdirs; do
42125 if test "X$x" = "X$dir"; then
42126 haveit=yes
42127 break
42129 done
42130 if test -z "$haveit"; then
42131 rpathdirs="$rpathdirs $dir"
42133 haveit=
42134 for x in $ltrpathdirs; do
42135 if test "X$x" = "X$dir"; then
42136 haveit=yes
42137 break
42139 done
42140 if test -z "$haveit"; then
42141 ltrpathdirs="$ltrpathdirs $dir"
42145 -l*)
42146 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42148 *.la)
42149 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42152 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42153 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42155 esac
42156 done
42158 else
42159 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42160 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42164 done
42165 done
42166 if test "X$rpathdirs" != "X"; then
42167 if test -n "$hardcode_libdir_separator"; then
42168 alldirs=
42169 for found_dir in $rpathdirs; do
42170 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42171 done
42172 acl_save_libdir="$libdir"
42173 libdir="$alldirs"
42174 eval flag=\"$hardcode_libdir_flag_spec\"
42175 libdir="$acl_save_libdir"
42176 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42177 else
42178 for found_dir in $rpathdirs; do
42179 acl_save_libdir="$libdir"
42180 libdir="$found_dir"
42181 eval flag=\"$hardcode_libdir_flag_spec\"
42182 libdir="$acl_save_libdir"
42183 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42184 done
42187 if test "X$ltrpathdirs" != "X"; then
42188 for found_dir in $ltrpathdirs; do
42189 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42190 done
42199 am_save_CPPFLAGS="$CPPFLAGS"
42201 for element in $INCICONV; do
42202 haveit=
42203 for x in $CPPFLAGS; do
42205 acl_save_prefix="$prefix"
42206 prefix="$acl_final_prefix"
42207 acl_save_exec_prefix="$exec_prefix"
42208 exec_prefix="$acl_final_exec_prefix"
42209 eval x=\"$x\"
42210 exec_prefix="$acl_save_exec_prefix"
42211 prefix="$acl_save_prefix"
42213 if test "X$x" = "X$element"; then
42214 haveit=yes
42215 break
42217 done
42218 if test -z "$haveit"; then
42219 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42221 done
42224 echo "$as_me:$LINENO: checking for iconv" >&5
42225 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42226 if test "${am_cv_func_iconv+set}" = set; then
42227 echo $ECHO_N "(cached) $ECHO_C" >&6
42228 else
42230 am_cv_func_iconv="no, consider installing GNU libiconv"
42231 am_cv_lib_iconv=no
42232 if test x$gcc_no_link = xyes; then
42233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42235 { (exit 1); exit 1; }; }
42237 cat >conftest.$ac_ext <<_ACEOF
42238 /* confdefs.h. */
42239 _ACEOF
42240 cat confdefs.h >>conftest.$ac_ext
42241 cat >>conftest.$ac_ext <<_ACEOF
42242 /* end confdefs.h. */
42243 #include <stdlib.h>
42244 #include <iconv.h>
42246 main ()
42248 iconv_t cd = iconv_open("","");
42249 iconv(cd,NULL,NULL,NULL,NULL);
42250 iconv_close(cd);
42252 return 0;
42254 _ACEOF
42255 rm -f conftest.$ac_objext conftest$ac_exeext
42256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42257 (eval $ac_link) 2>conftest.er1
42258 ac_status=$?
42259 grep -v '^ *+' conftest.er1 >conftest.err
42260 rm -f conftest.er1
42261 cat conftest.err >&5
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); } &&
42264 { ac_try='test -z "$ac_c_werror_flag"
42265 || test ! -s conftest.err'
42266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42267 (eval $ac_try) 2>&5
42268 ac_status=$?
42269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42270 (exit $ac_status); }; } &&
42271 { ac_try='test -s conftest$ac_exeext'
42272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42273 (eval $ac_try) 2>&5
42274 ac_status=$?
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; }; then
42277 am_cv_func_iconv=yes
42278 else
42279 echo "$as_me: failed program was:" >&5
42280 sed 's/^/| /' conftest.$ac_ext >&5
42283 rm -f conftest.err conftest.$ac_objext \
42284 conftest$ac_exeext conftest.$ac_ext
42285 if test "$am_cv_func_iconv" != yes; then
42286 am_save_LIBS="$LIBS"
42287 LIBS="$LIBS $LIBICONV"
42288 if test x$gcc_no_link = xyes; then
42289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42291 { (exit 1); exit 1; }; }
42293 cat >conftest.$ac_ext <<_ACEOF
42294 /* confdefs.h. */
42295 _ACEOF
42296 cat confdefs.h >>conftest.$ac_ext
42297 cat >>conftest.$ac_ext <<_ACEOF
42298 /* end confdefs.h. */
42299 #include <stdlib.h>
42300 #include <iconv.h>
42302 main ()
42304 iconv_t cd = iconv_open("","");
42305 iconv(cd,NULL,NULL,NULL,NULL);
42306 iconv_close(cd);
42308 return 0;
42310 _ACEOF
42311 rm -f conftest.$ac_objext conftest$ac_exeext
42312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42313 (eval $ac_link) 2>conftest.er1
42314 ac_status=$?
42315 grep -v '^ *+' conftest.er1 >conftest.err
42316 rm -f conftest.er1
42317 cat conftest.err >&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try='test -z "$ac_c_werror_flag"
42321 || test ! -s conftest.err'
42322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42323 (eval $ac_try) 2>&5
42324 ac_status=$?
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); }; } &&
42327 { ac_try='test -s conftest$ac_exeext'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42330 ac_status=$?
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; }; then
42333 am_cv_lib_iconv=yes
42334 am_cv_func_iconv=yes
42335 else
42336 echo "$as_me: failed program was:" >&5
42337 sed 's/^/| /' conftest.$ac_ext >&5
42340 rm -f conftest.err conftest.$ac_objext \
42341 conftest$ac_exeext conftest.$ac_ext
42342 LIBS="$am_save_LIBS"
42346 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42347 echo "${ECHO_T}$am_cv_func_iconv" >&6
42348 if test "$am_cv_func_iconv" = yes; then
42350 cat >>confdefs.h <<\_ACEOF
42351 #define HAVE_ICONV 1
42352 _ACEOF
42355 if test "$am_cv_lib_iconv" = yes; then
42356 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42357 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42358 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42359 echo "${ECHO_T}$LIBICONV" >&6
42360 else
42361 CPPFLAGS="$am_save_CPPFLAGS"
42362 LIBICONV=
42363 LTLIBICONV=
42368 if test "$am_cv_func_iconv" = yes; then
42369 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42370 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42371 if test "${am_cv_proto_iconv+set}" = set; then
42372 echo $ECHO_N "(cached) $ECHO_C" >&6
42373 else
42375 cat >conftest.$ac_ext <<_ACEOF
42376 /* confdefs.h. */
42377 _ACEOF
42378 cat confdefs.h >>conftest.$ac_ext
42379 cat >>conftest.$ac_ext <<_ACEOF
42380 /* end confdefs.h. */
42382 #include <stdlib.h>
42383 #include <iconv.h>
42384 extern
42385 #ifdef __cplusplus
42387 #endif
42388 #if defined(__STDC__) || defined(__cplusplus)
42389 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42390 #else
42391 size_t iconv();
42392 #endif
42395 main ()
42399 return 0;
42401 _ACEOF
42402 rm -f conftest.$ac_objext
42403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42404 (eval $ac_compile) 2>conftest.er1
42405 ac_status=$?
42406 grep -v '^ *+' conftest.er1 >conftest.err
42407 rm -f conftest.er1
42408 cat conftest.err >&5
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); } &&
42411 { ac_try='test -z "$ac_c_werror_flag"
42412 || test ! -s conftest.err'
42413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42414 (eval $ac_try) 2>&5
42415 ac_status=$?
42416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42417 (exit $ac_status); }; } &&
42418 { ac_try='test -s conftest.$ac_objext'
42419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42420 (eval $ac_try) 2>&5
42421 ac_status=$?
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); }; }; then
42424 am_cv_proto_iconv_arg1=""
42425 else
42426 echo "$as_me: failed program was:" >&5
42427 sed 's/^/| /' conftest.$ac_ext >&5
42429 am_cv_proto_iconv_arg1="const"
42431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42432 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);"
42435 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42436 echo "$as_me:$LINENO: result: ${ac_t:-
42437 }$am_cv_proto_iconv" >&5
42438 echo "${ECHO_T}${ac_t:-
42439 }$am_cv_proto_iconv" >&6
42441 cat >>confdefs.h <<_ACEOF
42442 #define ICONV_CONST $am_cv_proto_iconv_arg1
42443 _ACEOF
42448 else
42450 # This lets us hard-code the functionality we know we'll have in the cross
42451 # target environment. "Let" is a sugar-coated word placed on an especially
42452 # dull and tedious hack, actually.
42454 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42455 # that involve linking, can't be used:
42456 # "cannot open sim-crt0.o"
42457 # "cannot open crt0.o"
42458 # etc. All this is because there currently exists no unified, consistent
42459 # way for top level CC information to be passed down to target directories:
42460 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42461 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42462 # crosses can be removed.
42464 # If Canadian cross, then don't pick up tools from the build directory.
42465 # Used only in GLIBCXX_EXPORT_INCLUDES.
42466 if test -n "$with_cross_host" &&
42467 test x"$build_alias" != x"$with_cross_host" &&
42468 test x"$build" != x"$target";
42469 then
42470 CANADIAN=yes
42471 else
42472 CANADIAN=no
42475 # Construct crosses by hand, eliminating bits that need ld...
42476 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42477 # GLIBCXX_CHECK_MATH_SUPPORT
42479 # First, test for "known" system libraries. We may be using newlib even
42480 # on a hosted environment.
42481 if test "x${with_newlib}" = "xyes"; then
42482 os_include_dir="os/newlib"
42483 cat >>confdefs.h <<\_ACEOF
42484 #define HAVE_HYPOT 1
42485 _ACEOF
42488 # GLIBCXX_CHECK_STDLIB_SUPPORT
42489 cat >>confdefs.h <<\_ACEOF
42490 #define HAVE_STRTOF 1
42491 _ACEOF
42493 # AC_FUNC_MMAP
42494 cat >>confdefs.h <<\_ACEOF
42495 #define HAVE_MMAP 1
42496 _ACEOF
42499 cat >>confdefs.h <<\_ACEOF
42500 #define HAVE_ACOSF 1
42501 _ACEOF
42503 cat >>confdefs.h <<\_ACEOF
42504 #define HAVE_ASINF 1
42505 _ACEOF
42507 cat >>confdefs.h <<\_ACEOF
42508 #define HAVE_ATAN2F 1
42509 _ACEOF
42511 cat >>confdefs.h <<\_ACEOF
42512 #define HAVE_ATANF 1
42513 _ACEOF
42515 cat >>confdefs.h <<\_ACEOF
42516 #define HAVE_CEILF 1
42517 _ACEOF
42519 cat >>confdefs.h <<\_ACEOF
42520 #define HAVE_COPYSIGN 1
42521 _ACEOF
42523 cat >>confdefs.h <<\_ACEOF
42524 #define HAVE_COPYSIGNF 1
42525 _ACEOF
42527 cat >>confdefs.h <<\_ACEOF
42528 #define HAVE_COSF 1
42529 _ACEOF
42531 cat >>confdefs.h <<\_ACEOF
42532 #define HAVE_COSHF 1
42533 _ACEOF
42535 cat >>confdefs.h <<\_ACEOF
42536 #define HAVE_EXPF 1
42537 _ACEOF
42539 cat >>confdefs.h <<\_ACEOF
42540 #define HAVE_FABSF 1
42541 _ACEOF
42543 cat >>confdefs.h <<\_ACEOF
42544 #define HAVE_FLOORF 1
42545 _ACEOF
42547 cat >>confdefs.h <<\_ACEOF
42548 #define HAVE_FMODF 1
42549 _ACEOF
42551 cat >>confdefs.h <<\_ACEOF
42552 #define HAVE_FREXPF 1
42553 _ACEOF
42555 cat >>confdefs.h <<\_ACEOF
42556 #define HAVE_LDEXPF 1
42557 _ACEOF
42559 cat >>confdefs.h <<\_ACEOF
42560 #define HAVE_LOG10F 1
42561 _ACEOF
42563 cat >>confdefs.h <<\_ACEOF
42564 #define HAVE_LOGF 1
42565 _ACEOF
42567 cat >>confdefs.h <<\_ACEOF
42568 #define HAVE_MODFF 1
42569 _ACEOF
42571 cat >>confdefs.h <<\_ACEOF
42572 #define HAVE_POWF 1
42573 _ACEOF
42575 cat >>confdefs.h <<\_ACEOF
42576 #define HAVE_SINF 1
42577 _ACEOF
42579 cat >>confdefs.h <<\_ACEOF
42580 #define HAVE_SINHF 1
42581 _ACEOF
42583 cat >>confdefs.h <<\_ACEOF
42584 #define HAVE_SQRTF 1
42585 _ACEOF
42587 cat >>confdefs.h <<\_ACEOF
42588 #define HAVE_TANF 1
42589 _ACEOF
42591 cat >>confdefs.h <<\_ACEOF
42592 #define HAVE_TANHF 1
42593 _ACEOF
42596 cat >>confdefs.h <<\_ACEOF
42597 #define HAVE_S_ISREG 1
42598 _ACEOF
42600 cat >>confdefs.h <<\_ACEOF
42601 #define HAVE_S_IFREG 1
42602 _ACEOF
42605 cat >>confdefs.h <<\_ACEOF
42606 #define HAVE_ICONV 1
42607 _ACEOF
42609 else
42611 # Base decisions on target environment.
42612 case "${host}" in
42613 arm*-*-symbianelf*)
42614 # This is a freestanding configuration; there is nothing to do here.
42617 mips*-sde-elf*)
42618 # These definitions are for the SDE C library rather than newlib.
42634 for ac_header in float.h inttypes.h locale.h \
42635 stdint.h stdlib.h string.h unistd.h wchar.h \
42636 machine/endian.h sys/ioctl.h sys/resource.h \
42637 sys/stat.h sys/time.h sys/types.h sys/uio.h
42639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42641 echo "$as_me:$LINENO: checking for $ac_header" >&5
42642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42644 echo $ECHO_N "(cached) $ECHO_C" >&6
42646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42648 else
42649 # Is the header compilable?
42650 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42651 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42652 cat >conftest.$ac_ext <<_ACEOF
42653 /* confdefs.h. */
42654 _ACEOF
42655 cat confdefs.h >>conftest.$ac_ext
42656 cat >>conftest.$ac_ext <<_ACEOF
42657 /* end confdefs.h. */
42658 $ac_includes_default
42659 #include <$ac_header>
42660 _ACEOF
42661 rm -f conftest.$ac_objext
42662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42663 (eval $ac_compile) 2>conftest.er1
42664 ac_status=$?
42665 grep -v '^ *+' conftest.er1 >conftest.err
42666 rm -f conftest.er1
42667 cat conftest.err >&5
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); } &&
42670 { ac_try='test -z "$ac_c_werror_flag"
42671 || test ! -s conftest.err'
42672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42673 (eval $ac_try) 2>&5
42674 ac_status=$?
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); }; } &&
42677 { ac_try='test -s conftest.$ac_objext'
42678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42679 (eval $ac_try) 2>&5
42680 ac_status=$?
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); }; }; then
42683 ac_header_compiler=yes
42684 else
42685 echo "$as_me: failed program was:" >&5
42686 sed 's/^/| /' conftest.$ac_ext >&5
42688 ac_header_compiler=no
42690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42691 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42692 echo "${ECHO_T}$ac_header_compiler" >&6
42694 # Is the header present?
42695 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42697 cat >conftest.$ac_ext <<_ACEOF
42698 /* confdefs.h. */
42699 _ACEOF
42700 cat confdefs.h >>conftest.$ac_ext
42701 cat >>conftest.$ac_ext <<_ACEOF
42702 /* end confdefs.h. */
42703 #include <$ac_header>
42704 _ACEOF
42705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42707 ac_status=$?
42708 grep -v '^ *+' conftest.er1 >conftest.err
42709 rm -f conftest.er1
42710 cat conftest.err >&5
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); } >/dev/null; then
42713 if test -s conftest.err; then
42714 ac_cpp_err=$ac_c_preproc_warn_flag
42715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42716 else
42717 ac_cpp_err=
42719 else
42720 ac_cpp_err=yes
42722 if test -z "$ac_cpp_err"; then
42723 ac_header_preproc=yes
42724 else
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.$ac_ext >&5
42728 ac_header_preproc=no
42730 rm -f conftest.err conftest.$ac_ext
42731 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42732 echo "${ECHO_T}$ac_header_preproc" >&6
42734 # So? What about this header?
42735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42736 yes:no: )
42737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42741 ac_header_preproc=yes
42743 no:yes:* )
42744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42757 cat <<\_ASBOX
42758 ## ----------------------------------------- ##
42759 ## Report this to the package-unused lists. ##
42760 ## ----------------------------------------- ##
42761 _ASBOX
42763 sed "s/^/$as_me: WARNING: /" >&2
42765 esac
42766 echo "$as_me:$LINENO: checking for $ac_header" >&5
42767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42769 echo $ECHO_N "(cached) $ECHO_C" >&6
42770 else
42771 eval "$as_ac_Header=\$ac_header_preproc"
42773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42778 cat >>confdefs.h <<_ACEOF
42779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42780 _ACEOF
42784 done
42786 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42789 # All these tests are for C++; save the language and the compiler flags.
42790 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42791 # found in GLIBCXX_CONFIGURE.
42794 ac_ext=cc
42795 ac_cpp='$CXXCPP $CPPFLAGS'
42796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42800 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42801 ac_save_CXXFLAGS="$CXXFLAGS"
42803 # Check for maintainer-mode bits.
42804 if test x"$USE_MAINTAINER_MODE" = xno; then
42805 WERROR=''
42806 else
42807 WERROR='-Werror'
42810 # Check for -ffunction-sections -fdata-sections
42811 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42812 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42813 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42814 cat >conftest.$ac_ext <<_ACEOF
42815 /* confdefs.h. */
42816 _ACEOF
42817 cat confdefs.h >>conftest.$ac_ext
42818 cat >>conftest.$ac_ext <<_ACEOF
42819 /* end confdefs.h. */
42820 int foo; void bar() { };
42822 main ()
42826 return 0;
42828 _ACEOF
42829 rm -f conftest.$ac_objext
42830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42831 (eval $ac_compile) 2>conftest.er1
42832 ac_status=$?
42833 grep -v '^ *+' conftest.er1 >conftest.err
42834 rm -f conftest.er1
42835 cat conftest.err >&5
42836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837 (exit $ac_status); } &&
42838 { ac_try='test -z "$ac_cxx_werror_flag"
42839 || test ! -s conftest.err'
42840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42841 (eval $ac_try) 2>&5
42842 ac_status=$?
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); }; } &&
42845 { ac_try='test -s conftest.$ac_objext'
42846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42847 (eval $ac_try) 2>&5
42848 ac_status=$?
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); }; }; then
42851 ac_fdsections=yes
42852 else
42853 echo "$as_me: failed program was:" >&5
42854 sed 's/^/| /' conftest.$ac_ext >&5
42856 ac_fdsections=no
42858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42859 if test "$ac_test_CXXFLAGS" = set; then
42860 CXXFLAGS="$ac_save_CXXFLAGS"
42861 else
42862 # this is the suspicious part
42863 CXXFLAGS=''
42865 if test x"$ac_fdsections" = x"yes"; then
42866 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42868 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42869 echo "${ECHO_T}$ac_fdsections" >&6
42871 ac_ext=c
42872 ac_cpp='$CPP $CPPFLAGS'
42873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42881 # If we're not using GNU ld, then there's no point in even trying these
42882 # tests. Check for that first. We should have already tested for gld
42883 # by now (in libtool), but require it now just to be safe...
42884 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42885 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42889 # The name set by libtool depends on the version of libtool. Shame on us
42890 # for depending on an impl detail, but c'est la vie. Older versions used
42891 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42892 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42893 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42894 # set (hence we're using an older libtool), then set it.
42895 if test x${with_gnu_ld+set} != xset; then
42896 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42897 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42898 with_gnu_ld=no
42899 else
42900 with_gnu_ld=$ac_cv_prog_gnu_ld
42904 # Start by getting the version number. I think the libtool test already
42905 # does some of this, but throws away the result.
42906 if test x"$with_gnu_ld" = x"yes"; then
42907 echo "$as_me:$LINENO: checking for ld version" >&5
42908 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42910 ldver=`$LD --version 2>/dev/null | head -1 | \
42911 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42913 glibcxx_gnu_ld_version=`echo $ldver | \
42914 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42915 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42916 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42919 # Set --gc-sections.
42920 glibcxx_gcsections_min_ld=21602
42921 if test x"$with_gnu_ld" = x"yes" &&
42922 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42924 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42925 # NB: This flag only works reliably after 2.16.1. Configure tests
42926 # for this are difficult, so hard wire a value that should work.
42928 ac_test_CFLAGS="${CFLAGS+set}"
42929 ac_save_CFLAGS="$CFLAGS"
42930 CFLAGS='-Wl,--gc-sections'
42932 # Check for -Wl,--gc-sections
42933 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42934 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42935 if test x$gcc_no_link = xyes; then
42936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42938 { (exit 1); exit 1; }; }
42940 cat >conftest.$ac_ext <<_ACEOF
42941 /* confdefs.h. */
42942 _ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946 int one(void) { return 1; }
42947 int two(void) { return 2; }
42950 main ()
42952 two();
42954 return 0;
42956 _ACEOF
42957 rm -f conftest.$ac_objext conftest$ac_exeext
42958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42959 (eval $ac_link) 2>conftest.er1
42960 ac_status=$?
42961 grep -v '^ *+' conftest.er1 >conftest.err
42962 rm -f conftest.er1
42963 cat conftest.err >&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); } &&
42966 { ac_try='test -z "$ac_c_werror_flag"
42967 || test ! -s conftest.err'
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); }; } &&
42973 { ac_try='test -s conftest$ac_exeext'
42974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42975 (eval $ac_try) 2>&5
42976 ac_status=$?
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); }; }; then
42979 ac_gcsections=yes
42980 else
42981 echo "$as_me: failed program was:" >&5
42982 sed 's/^/| /' conftest.$ac_ext >&5
42984 ac_gcsections=no
42986 rm -f conftest.err conftest.$ac_objext \
42987 conftest$ac_exeext conftest.$ac_ext
42988 if test "$ac_gcsections" = "yes"; then
42989 rm -f conftest.c
42990 touch conftest.c
42991 if $CC -c conftest.c; then
42992 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42993 grep "Warning: gc-sections option ignored" > /dev/null; then
42994 ac_gcsections=no
42997 rm -f conftest.c conftest.o conftest
42999 if test "$ac_gcsections" = "yes"; then
43000 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43002 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43003 echo "${ECHO_T}$ac_gcsections" >&6
43005 if test "$ac_test_CFLAGS" = set; then
43006 CFLAGS="$ac_save_CFLAGS"
43007 else
43008 # this is the suspicious part
43009 CFLAGS=''
43013 # Set -z,relro.
43014 # Note this is only for shared objects.
43015 ac_ld_relro=no
43016 if test x"$with_gnu_ld" = x"yes"; then
43017 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43018 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43019 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43020 if test -n "$cxx_z_relo"; then
43021 OPT_LDFLAGS="-Wl,-z,relro"
43022 ac_ld_relro=yes
43024 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43025 echo "${ECHO_T}$ac_ld_relro" >&6
43028 # Set linker optimization flags.
43029 if test x"$with_gnu_ld" = x"yes"; then
43030 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43037 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43038 ac_save_CXXFLAGS="$CXXFLAGS"
43039 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43041 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43042 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43043 if test "${ac_cv_lib_m_sin+set}" = set; then
43044 echo $ECHO_N "(cached) $ECHO_C" >&6
43045 else
43046 ac_check_lib_save_LIBS=$LIBS
43047 LIBS="-lm $LIBS"
43048 if test x$gcc_no_link = xyes; then
43049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43051 { (exit 1); exit 1; }; }
43053 cat >conftest.$ac_ext <<_ACEOF
43054 /* confdefs.h. */
43055 _ACEOF
43056 cat confdefs.h >>conftest.$ac_ext
43057 cat >>conftest.$ac_ext <<_ACEOF
43058 /* end confdefs.h. */
43060 /* Override any gcc2 internal prototype to avoid an error. */
43061 #ifdef __cplusplus
43062 extern "C"
43063 #endif
43064 /* We use char because int might match the return type of a gcc2
43065 builtin and then its argument prototype would still apply. */
43066 char sin ();
43068 main ()
43070 sin ();
43072 return 0;
43074 _ACEOF
43075 rm -f conftest.$ac_objext conftest$ac_exeext
43076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43077 (eval $ac_link) 2>conftest.er1
43078 ac_status=$?
43079 grep -v '^ *+' conftest.er1 >conftest.err
43080 rm -f conftest.er1
43081 cat conftest.err >&5
43082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43083 (exit $ac_status); } &&
43084 { ac_try='test -z "$ac_c_werror_flag"
43085 || test ! -s conftest.err'
43086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43087 (eval $ac_try) 2>&5
43088 ac_status=$?
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); }; } &&
43091 { ac_try='test -s conftest$ac_exeext'
43092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43093 (eval $ac_try) 2>&5
43094 ac_status=$?
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); }; }; then
43097 ac_cv_lib_m_sin=yes
43098 else
43099 echo "$as_me: failed program was:" >&5
43100 sed 's/^/| /' conftest.$ac_ext >&5
43102 ac_cv_lib_m_sin=no
43104 rm -f conftest.err conftest.$ac_objext \
43105 conftest$ac_exeext conftest.$ac_ext
43106 LIBS=$ac_check_lib_save_LIBS
43108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43109 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43110 if test $ac_cv_lib_m_sin = yes; then
43111 libm="-lm"
43114 ac_save_LIBS="$LIBS"
43115 LIBS="$LIBS $libm"
43119 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43120 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43121 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43122 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43123 echo $ECHO_N "(cached) $ECHO_C" >&6
43124 else
43128 ac_ext=cc
43129 ac_cpp='$CXXCPP $CPPFLAGS'
43130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43134 cat >conftest.$ac_ext <<_ACEOF
43135 /* confdefs.h. */
43136 _ACEOF
43137 cat confdefs.h >>conftest.$ac_ext
43138 cat >>conftest.$ac_ext <<_ACEOF
43139 /* end confdefs.h. */
43140 #include <math.h>
43141 #ifdef HAVE_IEEEFP_H
43142 #include <ieeefp.h>
43143 #endif
43146 main ()
43148 isinf(0);
43150 return 0;
43152 _ACEOF
43153 rm -f conftest.$ac_objext
43154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43155 (eval $ac_compile) 2>conftest.er1
43156 ac_status=$?
43157 grep -v '^ *+' conftest.er1 >conftest.err
43158 rm -f conftest.er1
43159 cat conftest.err >&5
43160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43161 (exit $ac_status); } &&
43162 { ac_try='test -z "$ac_cxx_werror_flag"
43163 || test ! -s conftest.err'
43164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43165 (eval $ac_try) 2>&5
43166 ac_status=$?
43167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43168 (exit $ac_status); }; } &&
43169 { ac_try='test -s conftest.$ac_objext'
43170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43171 (eval $ac_try) 2>&5
43172 ac_status=$?
43173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174 (exit $ac_status); }; }; then
43175 glibcxx_cv_func_isinf_use=yes
43176 else
43177 echo "$as_me: failed program was:" >&5
43178 sed 's/^/| /' conftest.$ac_ext >&5
43180 glibcxx_cv_func_isinf_use=no
43182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43183 ac_ext=c
43184 ac_cpp='$CPP $CPPFLAGS'
43185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43194 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43196 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43198 for ac_func in isinf
43200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43201 echo "$as_me:$LINENO: checking for $ac_func" >&5
43202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43203 if eval "test \"\${$as_ac_var+set}\" = set"; then
43204 echo $ECHO_N "(cached) $ECHO_C" >&6
43205 else
43206 if test x$gcc_no_link = xyes; then
43207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43209 { (exit 1); exit 1; }; }
43211 cat >conftest.$ac_ext <<_ACEOF
43212 /* confdefs.h. */
43213 _ACEOF
43214 cat confdefs.h >>conftest.$ac_ext
43215 cat >>conftest.$ac_ext <<_ACEOF
43216 /* end confdefs.h. */
43217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43219 #define $ac_func innocuous_$ac_func
43221 /* System header to define __stub macros and hopefully few prototypes,
43222 which can conflict with char $ac_func (); below.
43223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43224 <limits.h> exists even on freestanding compilers. */
43226 #ifdef __STDC__
43227 # include <limits.h>
43228 #else
43229 # include <assert.h>
43230 #endif
43232 #undef $ac_func
43234 /* Override any gcc2 internal prototype to avoid an error. */
43235 #ifdef __cplusplus
43236 extern "C"
43238 #endif
43239 /* We use char because int might match the return type of a gcc2
43240 builtin and then its argument prototype would still apply. */
43241 char $ac_func ();
43242 /* The GNU C library defines this for functions which it implements
43243 to always fail with ENOSYS. Some functions are actually named
43244 something starting with __ and the normal name is an alias. */
43245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43246 choke me
43247 #else
43248 char (*f) () = $ac_func;
43249 #endif
43250 #ifdef __cplusplus
43252 #endif
43255 main ()
43257 return f != $ac_func;
43259 return 0;
43261 _ACEOF
43262 rm -f conftest.$ac_objext conftest$ac_exeext
43263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43264 (eval $ac_link) 2>conftest.er1
43265 ac_status=$?
43266 grep -v '^ *+' conftest.er1 >conftest.err
43267 rm -f conftest.er1
43268 cat conftest.err >&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } &&
43271 { ac_try='test -z "$ac_c_werror_flag"
43272 || test ! -s conftest.err'
43273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43274 (eval $ac_try) 2>&5
43275 ac_status=$?
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; } &&
43278 { ac_try='test -s conftest$ac_exeext'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43281 ac_status=$?
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; }; then
43284 eval "$as_ac_var=yes"
43285 else
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43289 eval "$as_ac_var=no"
43291 rm -f conftest.err conftest.$ac_objext \
43292 conftest$ac_exeext conftest.$ac_ext
43294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43296 if test `eval echo '${'$as_ac_var'}'` = yes; then
43297 cat >>confdefs.h <<_ACEOF
43298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43299 _ACEOF
43302 done
43304 else
43306 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43307 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43308 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43309 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43310 echo $ECHO_N "(cached) $ECHO_C" >&6
43311 else
43315 ac_ext=cc
43316 ac_cpp='$CXXCPP $CPPFLAGS'
43317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43321 cat >conftest.$ac_ext <<_ACEOF
43322 /* confdefs.h. */
43323 _ACEOF
43324 cat confdefs.h >>conftest.$ac_ext
43325 cat >>conftest.$ac_ext <<_ACEOF
43326 /* end confdefs.h. */
43327 #include <math.h>
43328 #ifdef HAVE_IEEEFP_H
43329 #include <ieeefp.h>
43330 #endif
43333 main ()
43335 _isinf(0);
43337 return 0;
43339 _ACEOF
43340 rm -f conftest.$ac_objext
43341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43342 (eval $ac_compile) 2>conftest.er1
43343 ac_status=$?
43344 grep -v '^ *+' conftest.er1 >conftest.err
43345 rm -f conftest.er1
43346 cat conftest.err >&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); } &&
43349 { ac_try='test -z "$ac_cxx_werror_flag"
43350 || test ! -s conftest.err'
43351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43352 (eval $ac_try) 2>&5
43353 ac_status=$?
43354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43355 (exit $ac_status); }; } &&
43356 { ac_try='test -s conftest.$ac_objext'
43357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43358 (eval $ac_try) 2>&5
43359 ac_status=$?
43360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43361 (exit $ac_status); }; }; then
43362 glibcxx_cv_func__isinf_use=yes
43363 else
43364 echo "$as_me: failed program was:" >&5
43365 sed 's/^/| /' conftest.$ac_ext >&5
43367 glibcxx_cv_func__isinf_use=no
43369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43381 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43383 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43385 for ac_func in _isinf
43387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43388 echo "$as_me:$LINENO: checking for $ac_func" >&5
43389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43390 if eval "test \"\${$as_ac_var+set}\" = set"; then
43391 echo $ECHO_N "(cached) $ECHO_C" >&6
43392 else
43393 if test x$gcc_no_link = xyes; then
43394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43396 { (exit 1); exit 1; }; }
43398 cat >conftest.$ac_ext <<_ACEOF
43399 /* confdefs.h. */
43400 _ACEOF
43401 cat confdefs.h >>conftest.$ac_ext
43402 cat >>conftest.$ac_ext <<_ACEOF
43403 /* end confdefs.h. */
43404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43406 #define $ac_func innocuous_$ac_func
43408 /* System header to define __stub macros and hopefully few prototypes,
43409 which can conflict with char $ac_func (); below.
43410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43411 <limits.h> exists even on freestanding compilers. */
43413 #ifdef __STDC__
43414 # include <limits.h>
43415 #else
43416 # include <assert.h>
43417 #endif
43419 #undef $ac_func
43421 /* Override any gcc2 internal prototype to avoid an error. */
43422 #ifdef __cplusplus
43423 extern "C"
43425 #endif
43426 /* We use char because int might match the return type of a gcc2
43427 builtin and then its argument prototype would still apply. */
43428 char $ac_func ();
43429 /* The GNU C library defines this for functions which it implements
43430 to always fail with ENOSYS. Some functions are actually named
43431 something starting with __ and the normal name is an alias. */
43432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43433 choke me
43434 #else
43435 char (*f) () = $ac_func;
43436 #endif
43437 #ifdef __cplusplus
43439 #endif
43442 main ()
43444 return f != $ac_func;
43446 return 0;
43448 _ACEOF
43449 rm -f conftest.$ac_objext conftest$ac_exeext
43450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43451 (eval $ac_link) 2>conftest.er1
43452 ac_status=$?
43453 grep -v '^ *+' conftest.er1 >conftest.err
43454 rm -f conftest.er1
43455 cat conftest.err >&5
43456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457 (exit $ac_status); } &&
43458 { ac_try='test -z "$ac_c_werror_flag"
43459 || test ! -s conftest.err'
43460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43461 (eval $ac_try) 2>&5
43462 ac_status=$?
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); }; } &&
43465 { ac_try='test -s conftest$ac_exeext'
43466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43467 (eval $ac_try) 2>&5
43468 ac_status=$?
43469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43470 (exit $ac_status); }; }; then
43471 eval "$as_ac_var=yes"
43472 else
43473 echo "$as_me: failed program was:" >&5
43474 sed 's/^/| /' conftest.$ac_ext >&5
43476 eval "$as_ac_var=no"
43478 rm -f conftest.err conftest.$ac_objext \
43479 conftest$ac_exeext conftest.$ac_ext
43481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43483 if test `eval echo '${'$as_ac_var'}'` = yes; then
43484 cat >>confdefs.h <<_ACEOF
43485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43486 _ACEOF
43489 done
43499 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43500 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43501 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43502 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43503 echo $ECHO_N "(cached) $ECHO_C" >&6
43504 else
43508 ac_ext=cc
43509 ac_cpp='$CXXCPP $CPPFLAGS'
43510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43514 cat >conftest.$ac_ext <<_ACEOF
43515 /* confdefs.h. */
43516 _ACEOF
43517 cat confdefs.h >>conftest.$ac_ext
43518 cat >>conftest.$ac_ext <<_ACEOF
43519 /* end confdefs.h. */
43520 #include <math.h>
43521 #ifdef HAVE_IEEEFP_H
43522 #include <ieeefp.h>
43523 #endif
43526 main ()
43528 isnan(0);
43530 return 0;
43532 _ACEOF
43533 rm -f conftest.$ac_objext
43534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43535 (eval $ac_compile) 2>conftest.er1
43536 ac_status=$?
43537 grep -v '^ *+' conftest.er1 >conftest.err
43538 rm -f conftest.er1
43539 cat conftest.err >&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); } &&
43542 { ac_try='test -z "$ac_cxx_werror_flag"
43543 || test ! -s conftest.err'
43544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43545 (eval $ac_try) 2>&5
43546 ac_status=$?
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); }; } &&
43549 { ac_try='test -s conftest.$ac_objext'
43550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43551 (eval $ac_try) 2>&5
43552 ac_status=$?
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); }; }; then
43555 glibcxx_cv_func_isnan_use=yes
43556 else
43557 echo "$as_me: failed program was:" >&5
43558 sed 's/^/| /' conftest.$ac_ext >&5
43560 glibcxx_cv_func_isnan_use=no
43562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43563 ac_ext=c
43564 ac_cpp='$CPP $CPPFLAGS'
43565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43574 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43576 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43578 for ac_func in isnan
43580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43581 echo "$as_me:$LINENO: checking for $ac_func" >&5
43582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43583 if eval "test \"\${$as_ac_var+set}\" = set"; then
43584 echo $ECHO_N "(cached) $ECHO_C" >&6
43585 else
43586 if test x$gcc_no_link = xyes; then
43587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43589 { (exit 1); exit 1; }; }
43591 cat >conftest.$ac_ext <<_ACEOF
43592 /* confdefs.h. */
43593 _ACEOF
43594 cat confdefs.h >>conftest.$ac_ext
43595 cat >>conftest.$ac_ext <<_ACEOF
43596 /* end confdefs.h. */
43597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43599 #define $ac_func innocuous_$ac_func
43601 /* System header to define __stub macros and hopefully few prototypes,
43602 which can conflict with char $ac_func (); below.
43603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43604 <limits.h> exists even on freestanding compilers. */
43606 #ifdef __STDC__
43607 # include <limits.h>
43608 #else
43609 # include <assert.h>
43610 #endif
43612 #undef $ac_func
43614 /* Override any gcc2 internal prototype to avoid an error. */
43615 #ifdef __cplusplus
43616 extern "C"
43618 #endif
43619 /* We use char because int might match the return type of a gcc2
43620 builtin and then its argument prototype would still apply. */
43621 char $ac_func ();
43622 /* The GNU C library defines this for functions which it implements
43623 to always fail with ENOSYS. Some functions are actually named
43624 something starting with __ and the normal name is an alias. */
43625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43626 choke me
43627 #else
43628 char (*f) () = $ac_func;
43629 #endif
43630 #ifdef __cplusplus
43632 #endif
43635 main ()
43637 return f != $ac_func;
43639 return 0;
43641 _ACEOF
43642 rm -f conftest.$ac_objext conftest$ac_exeext
43643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43644 (eval $ac_link) 2>conftest.er1
43645 ac_status=$?
43646 grep -v '^ *+' conftest.er1 >conftest.err
43647 rm -f conftest.er1
43648 cat conftest.err >&5
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); } &&
43651 { ac_try='test -z "$ac_c_werror_flag"
43652 || test ! -s conftest.err'
43653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43654 (eval $ac_try) 2>&5
43655 ac_status=$?
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); }; } &&
43658 { ac_try='test -s conftest$ac_exeext'
43659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43660 (eval $ac_try) 2>&5
43661 ac_status=$?
43662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663 (exit $ac_status); }; }; then
43664 eval "$as_ac_var=yes"
43665 else
43666 echo "$as_me: failed program was:" >&5
43667 sed 's/^/| /' conftest.$ac_ext >&5
43669 eval "$as_ac_var=no"
43671 rm -f conftest.err conftest.$ac_objext \
43672 conftest$ac_exeext conftest.$ac_ext
43674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43676 if test `eval echo '${'$as_ac_var'}'` = yes; then
43677 cat >>confdefs.h <<_ACEOF
43678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43679 _ACEOF
43682 done
43684 else
43686 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43687 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43688 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43689 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 else
43695 ac_ext=cc
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43701 cat >conftest.$ac_ext <<_ACEOF
43702 /* confdefs.h. */
43703 _ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43707 #include <math.h>
43708 #ifdef HAVE_IEEEFP_H
43709 #include <ieeefp.h>
43710 #endif
43713 main ()
43715 _isnan(0);
43717 return 0;
43719 _ACEOF
43720 rm -f conftest.$ac_objext
43721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43722 (eval $ac_compile) 2>conftest.er1
43723 ac_status=$?
43724 grep -v '^ *+' conftest.er1 >conftest.err
43725 rm -f conftest.er1
43726 cat conftest.err >&5
43727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43728 (exit $ac_status); } &&
43729 { ac_try='test -z "$ac_cxx_werror_flag"
43730 || test ! -s conftest.err'
43731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43732 (eval $ac_try) 2>&5
43733 ac_status=$?
43734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43735 (exit $ac_status); }; } &&
43736 { ac_try='test -s conftest.$ac_objext'
43737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43738 (eval $ac_try) 2>&5
43739 ac_status=$?
43740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43741 (exit $ac_status); }; }; then
43742 glibcxx_cv_func__isnan_use=yes
43743 else
43744 echo "$as_me: failed program was:" >&5
43745 sed 's/^/| /' conftest.$ac_ext >&5
43747 glibcxx_cv_func__isnan_use=no
43749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43750 ac_ext=c
43751 ac_cpp='$CPP $CPPFLAGS'
43752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43761 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43763 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43765 for ac_func in _isnan
43767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43768 echo "$as_me:$LINENO: checking for $ac_func" >&5
43769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43770 if eval "test \"\${$as_ac_var+set}\" = set"; then
43771 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 else
43773 if test x$gcc_no_link = xyes; then
43774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43776 { (exit 1); exit 1; }; }
43778 cat >conftest.$ac_ext <<_ACEOF
43779 /* confdefs.h. */
43780 _ACEOF
43781 cat confdefs.h >>conftest.$ac_ext
43782 cat >>conftest.$ac_ext <<_ACEOF
43783 /* end confdefs.h. */
43784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43786 #define $ac_func innocuous_$ac_func
43788 /* System header to define __stub macros and hopefully few prototypes,
43789 which can conflict with char $ac_func (); below.
43790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43791 <limits.h> exists even on freestanding compilers. */
43793 #ifdef __STDC__
43794 # include <limits.h>
43795 #else
43796 # include <assert.h>
43797 #endif
43799 #undef $ac_func
43801 /* Override any gcc2 internal prototype to avoid an error. */
43802 #ifdef __cplusplus
43803 extern "C"
43805 #endif
43806 /* We use char because int might match the return type of a gcc2
43807 builtin and then its argument prototype would still apply. */
43808 char $ac_func ();
43809 /* The GNU C library defines this for functions which it implements
43810 to always fail with ENOSYS. Some functions are actually named
43811 something starting with __ and the normal name is an alias. */
43812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43813 choke me
43814 #else
43815 char (*f) () = $ac_func;
43816 #endif
43817 #ifdef __cplusplus
43819 #endif
43822 main ()
43824 return f != $ac_func;
43826 return 0;
43828 _ACEOF
43829 rm -f conftest.$ac_objext conftest$ac_exeext
43830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43831 (eval $ac_link) 2>conftest.er1
43832 ac_status=$?
43833 grep -v '^ *+' conftest.er1 >conftest.err
43834 rm -f conftest.er1
43835 cat conftest.err >&5
43836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43837 (exit $ac_status); } &&
43838 { ac_try='test -z "$ac_c_werror_flag"
43839 || test ! -s conftest.err'
43840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43841 (eval $ac_try) 2>&5
43842 ac_status=$?
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); }; } &&
43845 { ac_try='test -s conftest$ac_exeext'
43846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43847 (eval $ac_try) 2>&5
43848 ac_status=$?
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); }; }; then
43851 eval "$as_ac_var=yes"
43852 else
43853 echo "$as_me: failed program was:" >&5
43854 sed 's/^/| /' conftest.$ac_ext >&5
43856 eval "$as_ac_var=no"
43858 rm -f conftest.err conftest.$ac_objext \
43859 conftest$ac_exeext conftest.$ac_ext
43861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43863 if test `eval echo '${'$as_ac_var'}'` = yes; then
43864 cat >>confdefs.h <<_ACEOF
43865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43866 _ACEOF
43869 done
43879 echo "$as_me:$LINENO: checking for finite declaration" >&5
43880 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43881 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43882 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43883 echo $ECHO_N "(cached) $ECHO_C" >&6
43884 else
43888 ac_ext=cc
43889 ac_cpp='$CXXCPP $CPPFLAGS'
43890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43894 cat >conftest.$ac_ext <<_ACEOF
43895 /* confdefs.h. */
43896 _ACEOF
43897 cat confdefs.h >>conftest.$ac_ext
43898 cat >>conftest.$ac_ext <<_ACEOF
43899 /* end confdefs.h. */
43900 #include <math.h>
43901 #ifdef HAVE_IEEEFP_H
43902 #include <ieeefp.h>
43903 #endif
43906 main ()
43908 finite(0);
43910 return 0;
43912 _ACEOF
43913 rm -f conftest.$ac_objext
43914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43915 (eval $ac_compile) 2>conftest.er1
43916 ac_status=$?
43917 grep -v '^ *+' conftest.er1 >conftest.err
43918 rm -f conftest.er1
43919 cat conftest.err >&5
43920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43921 (exit $ac_status); } &&
43922 { ac_try='test -z "$ac_cxx_werror_flag"
43923 || test ! -s conftest.err'
43924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43925 (eval $ac_try) 2>&5
43926 ac_status=$?
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); }; } &&
43929 { ac_try='test -s conftest.$ac_objext'
43930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43931 (eval $ac_try) 2>&5
43932 ac_status=$?
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); }; }; then
43935 glibcxx_cv_func_finite_use=yes
43936 else
43937 echo "$as_me: failed program was:" >&5
43938 sed 's/^/| /' conftest.$ac_ext >&5
43940 glibcxx_cv_func_finite_use=no
43942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43954 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43956 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43958 for ac_func in finite
43960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43961 echo "$as_me:$LINENO: checking for $ac_func" >&5
43962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43963 if eval "test \"\${$as_ac_var+set}\" = set"; then
43964 echo $ECHO_N "(cached) $ECHO_C" >&6
43965 else
43966 if test x$gcc_no_link = xyes; then
43967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43969 { (exit 1); exit 1; }; }
43971 cat >conftest.$ac_ext <<_ACEOF
43972 /* confdefs.h. */
43973 _ACEOF
43974 cat confdefs.h >>conftest.$ac_ext
43975 cat >>conftest.$ac_ext <<_ACEOF
43976 /* end confdefs.h. */
43977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43979 #define $ac_func innocuous_$ac_func
43981 /* System header to define __stub macros and hopefully few prototypes,
43982 which can conflict with char $ac_func (); below.
43983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43984 <limits.h> exists even on freestanding compilers. */
43986 #ifdef __STDC__
43987 # include <limits.h>
43988 #else
43989 # include <assert.h>
43990 #endif
43992 #undef $ac_func
43994 /* Override any gcc2 internal prototype to avoid an error. */
43995 #ifdef __cplusplus
43996 extern "C"
43998 #endif
43999 /* We use char because int might match the return type of a gcc2
44000 builtin and then its argument prototype would still apply. */
44001 char $ac_func ();
44002 /* The GNU C library defines this for functions which it implements
44003 to always fail with ENOSYS. Some functions are actually named
44004 something starting with __ and the normal name is an alias. */
44005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44006 choke me
44007 #else
44008 char (*f) () = $ac_func;
44009 #endif
44010 #ifdef __cplusplus
44012 #endif
44015 main ()
44017 return f != $ac_func;
44019 return 0;
44021 _ACEOF
44022 rm -f conftest.$ac_objext conftest$ac_exeext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44024 (eval $ac_link) 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } &&
44031 { ac_try='test -z "$ac_c_werror_flag"
44032 || test ! -s conftest.err'
44033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034 (eval $ac_try) 2>&5
44035 ac_status=$?
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; } &&
44038 { ac_try='test -s conftest$ac_exeext'
44039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44040 (eval $ac_try) 2>&5
44041 ac_status=$?
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); }; }; then
44044 eval "$as_ac_var=yes"
44045 else
44046 echo "$as_me: failed program was:" >&5
44047 sed 's/^/| /' conftest.$ac_ext >&5
44049 eval "$as_ac_var=no"
44051 rm -f conftest.err conftest.$ac_objext \
44052 conftest$ac_exeext conftest.$ac_ext
44054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44056 if test `eval echo '${'$as_ac_var'}'` = yes; then
44057 cat >>confdefs.h <<_ACEOF
44058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44059 _ACEOF
44062 done
44064 else
44066 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44067 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44068 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44069 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44070 echo $ECHO_N "(cached) $ECHO_C" >&6
44071 else
44075 ac_ext=cc
44076 ac_cpp='$CXXCPP $CPPFLAGS'
44077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44081 cat >conftest.$ac_ext <<_ACEOF
44082 /* confdefs.h. */
44083 _ACEOF
44084 cat confdefs.h >>conftest.$ac_ext
44085 cat >>conftest.$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44087 #include <math.h>
44088 #ifdef HAVE_IEEEFP_H
44089 #include <ieeefp.h>
44090 #endif
44093 main ()
44095 _finite(0);
44097 return 0;
44099 _ACEOF
44100 rm -f conftest.$ac_objext
44101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44102 (eval $ac_compile) 2>conftest.er1
44103 ac_status=$?
44104 grep -v '^ *+' conftest.er1 >conftest.err
44105 rm -f conftest.er1
44106 cat conftest.err >&5
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); } &&
44109 { ac_try='test -z "$ac_cxx_werror_flag"
44110 || test ! -s conftest.err'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44113 ac_status=$?
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; } &&
44116 { ac_try='test -s conftest.$ac_objext'
44117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44118 (eval $ac_try) 2>&5
44119 ac_status=$?
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; }; then
44122 glibcxx_cv_func__finite_use=yes
44123 else
44124 echo "$as_me: failed program was:" >&5
44125 sed 's/^/| /' conftest.$ac_ext >&5
44127 glibcxx_cv_func__finite_use=no
44129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44130 ac_ext=c
44131 ac_cpp='$CPP $CPPFLAGS'
44132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44141 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44143 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44145 for ac_func in _finite
44147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44148 echo "$as_me:$LINENO: checking for $ac_func" >&5
44149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44150 if eval "test \"\${$as_ac_var+set}\" = set"; then
44151 echo $ECHO_N "(cached) $ECHO_C" >&6
44152 else
44153 if test x$gcc_no_link = xyes; then
44154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44156 { (exit 1); exit 1; }; }
44158 cat >conftest.$ac_ext <<_ACEOF
44159 /* confdefs.h. */
44160 _ACEOF
44161 cat confdefs.h >>conftest.$ac_ext
44162 cat >>conftest.$ac_ext <<_ACEOF
44163 /* end confdefs.h. */
44164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44166 #define $ac_func innocuous_$ac_func
44168 /* System header to define __stub macros and hopefully few prototypes,
44169 which can conflict with char $ac_func (); below.
44170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44171 <limits.h> exists even on freestanding compilers. */
44173 #ifdef __STDC__
44174 # include <limits.h>
44175 #else
44176 # include <assert.h>
44177 #endif
44179 #undef $ac_func
44181 /* Override any gcc2 internal prototype to avoid an error. */
44182 #ifdef __cplusplus
44183 extern "C"
44185 #endif
44186 /* We use char because int might match the return type of a gcc2
44187 builtin and then its argument prototype would still apply. */
44188 char $ac_func ();
44189 /* The GNU C library defines this for functions which it implements
44190 to always fail with ENOSYS. Some functions are actually named
44191 something starting with __ and the normal name is an alias. */
44192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44193 choke me
44194 #else
44195 char (*f) () = $ac_func;
44196 #endif
44197 #ifdef __cplusplus
44199 #endif
44202 main ()
44204 return f != $ac_func;
44206 return 0;
44208 _ACEOF
44209 rm -f conftest.$ac_objext conftest$ac_exeext
44210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44211 (eval $ac_link) 2>conftest.er1
44212 ac_status=$?
44213 grep -v '^ *+' conftest.er1 >conftest.err
44214 rm -f conftest.er1
44215 cat conftest.err >&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); } &&
44218 { ac_try='test -z "$ac_c_werror_flag"
44219 || test ! -s conftest.err'
44220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44221 (eval $ac_try) 2>&5
44222 ac_status=$?
44223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44224 (exit $ac_status); }; } &&
44225 { ac_try='test -s conftest$ac_exeext'
44226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44227 (eval $ac_try) 2>&5
44228 ac_status=$?
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); }; }; then
44231 eval "$as_ac_var=yes"
44232 else
44233 echo "$as_me: failed program was:" >&5
44234 sed 's/^/| /' conftest.$ac_ext >&5
44236 eval "$as_ac_var=no"
44238 rm -f conftest.err conftest.$ac_objext \
44239 conftest$ac_exeext conftest.$ac_ext
44241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44243 if test `eval echo '${'$as_ac_var'}'` = yes; then
44244 cat >>confdefs.h <<_ACEOF
44245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44246 _ACEOF
44249 done
44259 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44260 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44261 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44262 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44263 echo $ECHO_N "(cached) $ECHO_C" >&6
44264 else
44268 ac_ext=cc
44269 ac_cpp='$CXXCPP $CPPFLAGS'
44270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44274 cat >conftest.$ac_ext <<_ACEOF
44275 /* confdefs.h. */
44276 _ACEOF
44277 cat confdefs.h >>conftest.$ac_ext
44278 cat >>conftest.$ac_ext <<_ACEOF
44279 /* end confdefs.h. */
44280 #include <math.h>
44282 main ()
44284 copysign(0, 0);
44286 return 0;
44288 _ACEOF
44289 rm -f conftest.$ac_objext
44290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44291 (eval $ac_compile) 2>conftest.er1
44292 ac_status=$?
44293 grep -v '^ *+' conftest.er1 >conftest.err
44294 rm -f conftest.er1
44295 cat conftest.err >&5
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); } &&
44298 { ac_try='test -z "$ac_cxx_werror_flag"
44299 || test ! -s conftest.err'
44300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44301 (eval $ac_try) 2>&5
44302 ac_status=$?
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); }; } &&
44305 { ac_try='test -s conftest.$ac_objext'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; }; then
44311 glibcxx_cv_func_copysign_use=yes
44312 else
44313 echo "$as_me: failed program was:" >&5
44314 sed 's/^/| /' conftest.$ac_ext >&5
44316 glibcxx_cv_func_copysign_use=no
44318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44319 ac_ext=c
44320 ac_cpp='$CPP $CPPFLAGS'
44321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44330 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44332 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44334 for ac_func in copysign
44336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44337 echo "$as_me:$LINENO: checking for $ac_func" >&5
44338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44339 if eval "test \"\${$as_ac_var+set}\" = set"; then
44340 echo $ECHO_N "(cached) $ECHO_C" >&6
44341 else
44342 if test x$gcc_no_link = xyes; then
44343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44345 { (exit 1); exit 1; }; }
44347 cat >conftest.$ac_ext <<_ACEOF
44348 /* confdefs.h. */
44349 _ACEOF
44350 cat confdefs.h >>conftest.$ac_ext
44351 cat >>conftest.$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44355 #define $ac_func innocuous_$ac_func
44357 /* System header to define __stub macros and hopefully few prototypes,
44358 which can conflict with char $ac_func (); below.
44359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44360 <limits.h> exists even on freestanding compilers. */
44362 #ifdef __STDC__
44363 # include <limits.h>
44364 #else
44365 # include <assert.h>
44366 #endif
44368 #undef $ac_func
44370 /* Override any gcc2 internal prototype to avoid an error. */
44371 #ifdef __cplusplus
44372 extern "C"
44374 #endif
44375 /* We use char because int might match the return type of a gcc2
44376 builtin and then its argument prototype would still apply. */
44377 char $ac_func ();
44378 /* The GNU C library defines this for functions which it implements
44379 to always fail with ENOSYS. Some functions are actually named
44380 something starting with __ and the normal name is an alias. */
44381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44382 choke me
44383 #else
44384 char (*f) () = $ac_func;
44385 #endif
44386 #ifdef __cplusplus
44388 #endif
44391 main ()
44393 return f != $ac_func;
44395 return 0;
44397 _ACEOF
44398 rm -f conftest.$ac_objext conftest$ac_exeext
44399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44400 (eval $ac_link) 2>conftest.er1
44401 ac_status=$?
44402 grep -v '^ *+' conftest.er1 >conftest.err
44403 rm -f conftest.er1
44404 cat conftest.err >&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } &&
44407 { ac_try='test -z "$ac_c_werror_flag"
44408 || test ! -s conftest.err'
44409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44410 (eval $ac_try) 2>&5
44411 ac_status=$?
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); }; } &&
44414 { ac_try='test -s conftest$ac_exeext'
44415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44416 (eval $ac_try) 2>&5
44417 ac_status=$?
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; }; then
44420 eval "$as_ac_var=yes"
44421 else
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44425 eval "$as_ac_var=no"
44427 rm -f conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44432 if test `eval echo '${'$as_ac_var'}'` = yes; then
44433 cat >>confdefs.h <<_ACEOF
44434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44435 _ACEOF
44438 done
44440 else
44442 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44443 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44444 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44445 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 else
44451 ac_ext=cc
44452 ac_cpp='$CXXCPP $CPPFLAGS'
44453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44457 cat >conftest.$ac_ext <<_ACEOF
44458 /* confdefs.h. */
44459 _ACEOF
44460 cat confdefs.h >>conftest.$ac_ext
44461 cat >>conftest.$ac_ext <<_ACEOF
44462 /* end confdefs.h. */
44463 #include <math.h>
44465 main ()
44467 _copysign(0, 0);
44469 return 0;
44471 _ACEOF
44472 rm -f conftest.$ac_objext
44473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44474 (eval $ac_compile) 2>conftest.er1
44475 ac_status=$?
44476 grep -v '^ *+' conftest.er1 >conftest.err
44477 rm -f conftest.er1
44478 cat conftest.err >&5
44479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44480 (exit $ac_status); } &&
44481 { ac_try='test -z "$ac_cxx_werror_flag"
44482 || test ! -s conftest.err'
44483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44484 (eval $ac_try) 2>&5
44485 ac_status=$?
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); }; } &&
44488 { ac_try='test -s conftest.$ac_objext'
44489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44490 (eval $ac_try) 2>&5
44491 ac_status=$?
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); }; }; then
44494 glibcxx_cv_func__copysign_use=yes
44495 else
44496 echo "$as_me: failed program was:" >&5
44497 sed 's/^/| /' conftest.$ac_ext >&5
44499 glibcxx_cv_func__copysign_use=no
44501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44502 ac_ext=c
44503 ac_cpp='$CPP $CPPFLAGS'
44504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44513 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44515 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44517 for ac_func in _copysign
44519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44520 echo "$as_me:$LINENO: checking for $ac_func" >&5
44521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44522 if eval "test \"\${$as_ac_var+set}\" = set"; then
44523 echo $ECHO_N "(cached) $ECHO_C" >&6
44524 else
44525 if test x$gcc_no_link = xyes; then
44526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44528 { (exit 1); exit 1; }; }
44530 cat >conftest.$ac_ext <<_ACEOF
44531 /* confdefs.h. */
44532 _ACEOF
44533 cat confdefs.h >>conftest.$ac_ext
44534 cat >>conftest.$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44538 #define $ac_func innocuous_$ac_func
44540 /* System header to define __stub macros and hopefully few prototypes,
44541 which can conflict with char $ac_func (); below.
44542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44543 <limits.h> exists even on freestanding compilers. */
44545 #ifdef __STDC__
44546 # include <limits.h>
44547 #else
44548 # include <assert.h>
44549 #endif
44551 #undef $ac_func
44553 /* Override any gcc2 internal prototype to avoid an error. */
44554 #ifdef __cplusplus
44555 extern "C"
44557 #endif
44558 /* We use char because int might match the return type of a gcc2
44559 builtin and then its argument prototype would still apply. */
44560 char $ac_func ();
44561 /* The GNU C library defines this for functions which it implements
44562 to always fail with ENOSYS. Some functions are actually named
44563 something starting with __ and the normal name is an alias. */
44564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44565 choke me
44566 #else
44567 char (*f) () = $ac_func;
44568 #endif
44569 #ifdef __cplusplus
44571 #endif
44574 main ()
44576 return f != $ac_func;
44578 return 0;
44580 _ACEOF
44581 rm -f conftest.$ac_objext conftest$ac_exeext
44582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44583 (eval $ac_link) 2>conftest.er1
44584 ac_status=$?
44585 grep -v '^ *+' conftest.er1 >conftest.err
44586 rm -f conftest.er1
44587 cat conftest.err >&5
44588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44589 (exit $ac_status); } &&
44590 { ac_try='test -z "$ac_c_werror_flag"
44591 || test ! -s conftest.err'
44592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44593 (eval $ac_try) 2>&5
44594 ac_status=$?
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); }; } &&
44597 { ac_try='test -s conftest$ac_exeext'
44598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44599 (eval $ac_try) 2>&5
44600 ac_status=$?
44601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44602 (exit $ac_status); }; }; then
44603 eval "$as_ac_var=yes"
44604 else
44605 echo "$as_me: failed program was:" >&5
44606 sed 's/^/| /' conftest.$ac_ext >&5
44608 eval "$as_ac_var=no"
44610 rm -f conftest.err conftest.$ac_objext \
44611 conftest$ac_exeext conftest.$ac_ext
44613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44615 if test `eval echo '${'$as_ac_var'}'` = yes; then
44616 cat >>confdefs.h <<_ACEOF
44617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44618 _ACEOF
44621 done
44631 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44632 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44633 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44634 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44635 echo $ECHO_N "(cached) $ECHO_C" >&6
44636 else
44640 ac_ext=cc
44641 ac_cpp='$CXXCPP $CPPFLAGS'
44642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44646 cat >conftest.$ac_ext <<_ACEOF
44647 /* confdefs.h. */
44648 _ACEOF
44649 cat confdefs.h >>conftest.$ac_ext
44650 cat >>conftest.$ac_ext <<_ACEOF
44651 /* end confdefs.h. */
44652 #include <math.h>
44654 main ()
44656 sincos(0, 0, 0);
44658 return 0;
44660 _ACEOF
44661 rm -f conftest.$ac_objext
44662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44663 (eval $ac_compile) 2>conftest.er1
44664 ac_status=$?
44665 grep -v '^ *+' conftest.er1 >conftest.err
44666 rm -f conftest.er1
44667 cat conftest.err >&5
44668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44669 (exit $ac_status); } &&
44670 { ac_try='test -z "$ac_cxx_werror_flag"
44671 || test ! -s conftest.err'
44672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44673 (eval $ac_try) 2>&5
44674 ac_status=$?
44675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44676 (exit $ac_status); }; } &&
44677 { ac_try='test -s conftest.$ac_objext'
44678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44679 (eval $ac_try) 2>&5
44680 ac_status=$?
44681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44682 (exit $ac_status); }; }; then
44683 glibcxx_cv_func_sincos_use=yes
44684 else
44685 echo "$as_me: failed program was:" >&5
44686 sed 's/^/| /' conftest.$ac_ext >&5
44688 glibcxx_cv_func_sincos_use=no
44690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44691 ac_ext=c
44692 ac_cpp='$CPP $CPPFLAGS'
44693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44702 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44704 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44706 for ac_func in sincos
44708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44709 echo "$as_me:$LINENO: checking for $ac_func" >&5
44710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44711 if eval "test \"\${$as_ac_var+set}\" = set"; then
44712 echo $ECHO_N "(cached) $ECHO_C" >&6
44713 else
44714 if test x$gcc_no_link = xyes; then
44715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44717 { (exit 1); exit 1; }; }
44719 cat >conftest.$ac_ext <<_ACEOF
44720 /* confdefs.h. */
44721 _ACEOF
44722 cat confdefs.h >>conftest.$ac_ext
44723 cat >>conftest.$ac_ext <<_ACEOF
44724 /* end confdefs.h. */
44725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44727 #define $ac_func innocuous_$ac_func
44729 /* System header to define __stub macros and hopefully few prototypes,
44730 which can conflict with char $ac_func (); below.
44731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44732 <limits.h> exists even on freestanding compilers. */
44734 #ifdef __STDC__
44735 # include <limits.h>
44736 #else
44737 # include <assert.h>
44738 #endif
44740 #undef $ac_func
44742 /* Override any gcc2 internal prototype to avoid an error. */
44743 #ifdef __cplusplus
44744 extern "C"
44746 #endif
44747 /* We use char because int might match the return type of a gcc2
44748 builtin and then its argument prototype would still apply. */
44749 char $ac_func ();
44750 /* The GNU C library defines this for functions which it implements
44751 to always fail with ENOSYS. Some functions are actually named
44752 something starting with __ and the normal name is an alias. */
44753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44754 choke me
44755 #else
44756 char (*f) () = $ac_func;
44757 #endif
44758 #ifdef __cplusplus
44760 #endif
44763 main ()
44765 return f != $ac_func;
44767 return 0;
44769 _ACEOF
44770 rm -f conftest.$ac_objext conftest$ac_exeext
44771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44772 (eval $ac_link) 2>conftest.er1
44773 ac_status=$?
44774 grep -v '^ *+' conftest.er1 >conftest.err
44775 rm -f conftest.er1
44776 cat conftest.err >&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); } &&
44779 { ac_try='test -z "$ac_c_werror_flag"
44780 || test ! -s conftest.err'
44781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44782 (eval $ac_try) 2>&5
44783 ac_status=$?
44784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44785 (exit $ac_status); }; } &&
44786 { ac_try='test -s conftest$ac_exeext'
44787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44788 (eval $ac_try) 2>&5
44789 ac_status=$?
44790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44791 (exit $ac_status); }; }; then
44792 eval "$as_ac_var=yes"
44793 else
44794 echo "$as_me: failed program was:" >&5
44795 sed 's/^/| /' conftest.$ac_ext >&5
44797 eval "$as_ac_var=no"
44799 rm -f conftest.err conftest.$ac_objext \
44800 conftest$ac_exeext conftest.$ac_ext
44802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44804 if test `eval echo '${'$as_ac_var'}'` = yes; then
44805 cat >>confdefs.h <<_ACEOF
44806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44807 _ACEOF
44810 done
44812 else
44814 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44815 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44816 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44817 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44818 echo $ECHO_N "(cached) $ECHO_C" >&6
44819 else
44823 ac_ext=cc
44824 ac_cpp='$CXXCPP $CPPFLAGS'
44825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44829 cat >conftest.$ac_ext <<_ACEOF
44830 /* confdefs.h. */
44831 _ACEOF
44832 cat confdefs.h >>conftest.$ac_ext
44833 cat >>conftest.$ac_ext <<_ACEOF
44834 /* end confdefs.h. */
44835 #include <math.h>
44837 main ()
44839 _sincos(0, 0, 0);
44841 return 0;
44843 _ACEOF
44844 rm -f conftest.$ac_objext
44845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44846 (eval $ac_compile) 2>conftest.er1
44847 ac_status=$?
44848 grep -v '^ *+' conftest.er1 >conftest.err
44849 rm -f conftest.er1
44850 cat conftest.err >&5
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); } &&
44853 { ac_try='test -z "$ac_cxx_werror_flag"
44854 || test ! -s conftest.err'
44855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44856 (eval $ac_try) 2>&5
44857 ac_status=$?
44858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44859 (exit $ac_status); }; } &&
44860 { ac_try='test -s conftest.$ac_objext'
44861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44862 (eval $ac_try) 2>&5
44863 ac_status=$?
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); }; }; then
44866 glibcxx_cv_func__sincos_use=yes
44867 else
44868 echo "$as_me: failed program was:" >&5
44869 sed 's/^/| /' conftest.$ac_ext >&5
44871 glibcxx_cv_func__sincos_use=no
44873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44874 ac_ext=c
44875 ac_cpp='$CPP $CPPFLAGS'
44876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44885 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44887 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44889 for ac_func in _sincos
44891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44892 echo "$as_me:$LINENO: checking for $ac_func" >&5
44893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44894 if eval "test \"\${$as_ac_var+set}\" = set"; then
44895 echo $ECHO_N "(cached) $ECHO_C" >&6
44896 else
44897 if test x$gcc_no_link = xyes; then
44898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44900 { (exit 1); exit 1; }; }
44902 cat >conftest.$ac_ext <<_ACEOF
44903 /* confdefs.h. */
44904 _ACEOF
44905 cat confdefs.h >>conftest.$ac_ext
44906 cat >>conftest.$ac_ext <<_ACEOF
44907 /* end confdefs.h. */
44908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44910 #define $ac_func innocuous_$ac_func
44912 /* System header to define __stub macros and hopefully few prototypes,
44913 which can conflict with char $ac_func (); below.
44914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44915 <limits.h> exists even on freestanding compilers. */
44917 #ifdef __STDC__
44918 # include <limits.h>
44919 #else
44920 # include <assert.h>
44921 #endif
44923 #undef $ac_func
44925 /* Override any gcc2 internal prototype to avoid an error. */
44926 #ifdef __cplusplus
44927 extern "C"
44929 #endif
44930 /* We use char because int might match the return type of a gcc2
44931 builtin and then its argument prototype would still apply. */
44932 char $ac_func ();
44933 /* The GNU C library defines this for functions which it implements
44934 to always fail with ENOSYS. Some functions are actually named
44935 something starting with __ and the normal name is an alias. */
44936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44937 choke me
44938 #else
44939 char (*f) () = $ac_func;
44940 #endif
44941 #ifdef __cplusplus
44943 #endif
44946 main ()
44948 return f != $ac_func;
44950 return 0;
44952 _ACEOF
44953 rm -f conftest.$ac_objext conftest$ac_exeext
44954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44955 (eval $ac_link) 2>conftest.er1
44956 ac_status=$?
44957 grep -v '^ *+' conftest.er1 >conftest.err
44958 rm -f conftest.er1
44959 cat conftest.err >&5
44960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44961 (exit $ac_status); } &&
44962 { ac_try='test -z "$ac_c_werror_flag"
44963 || test ! -s conftest.err'
44964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44965 (eval $ac_try) 2>&5
44966 ac_status=$?
44967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44968 (exit $ac_status); }; } &&
44969 { ac_try='test -s conftest$ac_exeext'
44970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44971 (eval $ac_try) 2>&5
44972 ac_status=$?
44973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44974 (exit $ac_status); }; }; then
44975 eval "$as_ac_var=yes"
44976 else
44977 echo "$as_me: failed program was:" >&5
44978 sed 's/^/| /' conftest.$ac_ext >&5
44980 eval "$as_ac_var=no"
44982 rm -f conftest.err conftest.$ac_objext \
44983 conftest$ac_exeext conftest.$ac_ext
44985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44987 if test `eval echo '${'$as_ac_var'}'` = yes; then
44988 cat >>confdefs.h <<_ACEOF
44989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44990 _ACEOF
44993 done
45003 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45004 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45005 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45006 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45007 echo $ECHO_N "(cached) $ECHO_C" >&6
45008 else
45012 ac_ext=cc
45013 ac_cpp='$CXXCPP $CPPFLAGS'
45014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45018 cat >conftest.$ac_ext <<_ACEOF
45019 /* confdefs.h. */
45020 _ACEOF
45021 cat confdefs.h >>conftest.$ac_ext
45022 cat >>conftest.$ac_ext <<_ACEOF
45023 /* end confdefs.h. */
45024 #include <math.h>
45025 #ifdef HAVE_IEEEFP_H
45026 #include <ieeefp.h>
45027 #endif
45030 main ()
45032 fpclass(0);
45034 return 0;
45036 _ACEOF
45037 rm -f conftest.$ac_objext
45038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45039 (eval $ac_compile) 2>conftest.er1
45040 ac_status=$?
45041 grep -v '^ *+' conftest.er1 >conftest.err
45042 rm -f conftest.er1
45043 cat conftest.err >&5
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); } &&
45046 { ac_try='test -z "$ac_cxx_werror_flag"
45047 || test ! -s conftest.err'
45048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45049 (eval $ac_try) 2>&5
45050 ac_status=$?
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); }; } &&
45053 { ac_try='test -s conftest.$ac_objext'
45054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45055 (eval $ac_try) 2>&5
45056 ac_status=$?
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); }; }; then
45059 glibcxx_cv_func_fpclass_use=yes
45060 else
45061 echo "$as_me: failed program was:" >&5
45062 sed 's/^/| /' conftest.$ac_ext >&5
45064 glibcxx_cv_func_fpclass_use=no
45066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45067 ac_ext=c
45068 ac_cpp='$CPP $CPPFLAGS'
45069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45078 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45080 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45082 for ac_func in fpclass
45084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45085 echo "$as_me:$LINENO: checking for $ac_func" >&5
45086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45087 if eval "test \"\${$as_ac_var+set}\" = set"; then
45088 echo $ECHO_N "(cached) $ECHO_C" >&6
45089 else
45090 if test x$gcc_no_link = xyes; then
45091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45093 { (exit 1); exit 1; }; }
45095 cat >conftest.$ac_ext <<_ACEOF
45096 /* confdefs.h. */
45097 _ACEOF
45098 cat confdefs.h >>conftest.$ac_ext
45099 cat >>conftest.$ac_ext <<_ACEOF
45100 /* end confdefs.h. */
45101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45103 #define $ac_func innocuous_$ac_func
45105 /* System header to define __stub macros and hopefully few prototypes,
45106 which can conflict with char $ac_func (); below.
45107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45108 <limits.h> exists even on freestanding compilers. */
45110 #ifdef __STDC__
45111 # include <limits.h>
45112 #else
45113 # include <assert.h>
45114 #endif
45116 #undef $ac_func
45118 /* Override any gcc2 internal prototype to avoid an error. */
45119 #ifdef __cplusplus
45120 extern "C"
45122 #endif
45123 /* We use char because int might match the return type of a gcc2
45124 builtin and then its argument prototype would still apply. */
45125 char $ac_func ();
45126 /* The GNU C library defines this for functions which it implements
45127 to always fail with ENOSYS. Some functions are actually named
45128 something starting with __ and the normal name is an alias. */
45129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45130 choke me
45131 #else
45132 char (*f) () = $ac_func;
45133 #endif
45134 #ifdef __cplusplus
45136 #endif
45139 main ()
45141 return f != $ac_func;
45143 return 0;
45145 _ACEOF
45146 rm -f conftest.$ac_objext conftest$ac_exeext
45147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45148 (eval $ac_link) 2>conftest.er1
45149 ac_status=$?
45150 grep -v '^ *+' conftest.er1 >conftest.err
45151 rm -f conftest.er1
45152 cat conftest.err >&5
45153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45154 (exit $ac_status); } &&
45155 { ac_try='test -z "$ac_c_werror_flag"
45156 || test ! -s conftest.err'
45157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45158 (eval $ac_try) 2>&5
45159 ac_status=$?
45160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45161 (exit $ac_status); }; } &&
45162 { ac_try='test -s conftest$ac_exeext'
45163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45164 (eval $ac_try) 2>&5
45165 ac_status=$?
45166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167 (exit $ac_status); }; }; then
45168 eval "$as_ac_var=yes"
45169 else
45170 echo "$as_me: failed program was:" >&5
45171 sed 's/^/| /' conftest.$ac_ext >&5
45173 eval "$as_ac_var=no"
45175 rm -f conftest.err conftest.$ac_objext \
45176 conftest$ac_exeext conftest.$ac_ext
45178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45180 if test `eval echo '${'$as_ac_var'}'` = yes; then
45181 cat >>confdefs.h <<_ACEOF
45182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45183 _ACEOF
45186 done
45188 else
45190 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45191 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45192 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45193 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45194 echo $ECHO_N "(cached) $ECHO_C" >&6
45195 else
45199 ac_ext=cc
45200 ac_cpp='$CXXCPP $CPPFLAGS'
45201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45205 cat >conftest.$ac_ext <<_ACEOF
45206 /* confdefs.h. */
45207 _ACEOF
45208 cat confdefs.h >>conftest.$ac_ext
45209 cat >>conftest.$ac_ext <<_ACEOF
45210 /* end confdefs.h. */
45211 #include <math.h>
45212 #ifdef HAVE_IEEEFP_H
45213 #include <ieeefp.h>
45214 #endif
45217 main ()
45219 _fpclass(0);
45221 return 0;
45223 _ACEOF
45224 rm -f conftest.$ac_objext
45225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45226 (eval $ac_compile) 2>conftest.er1
45227 ac_status=$?
45228 grep -v '^ *+' conftest.er1 >conftest.err
45229 rm -f conftest.er1
45230 cat conftest.err >&5
45231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45232 (exit $ac_status); } &&
45233 { ac_try='test -z "$ac_cxx_werror_flag"
45234 || test ! -s conftest.err'
45235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45236 (eval $ac_try) 2>&5
45237 ac_status=$?
45238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45239 (exit $ac_status); }; } &&
45240 { ac_try='test -s conftest.$ac_objext'
45241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45242 (eval $ac_try) 2>&5
45243 ac_status=$?
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); }; }; then
45246 glibcxx_cv_func__fpclass_use=yes
45247 else
45248 echo "$as_me: failed program was:" >&5
45249 sed 's/^/| /' conftest.$ac_ext >&5
45251 glibcxx_cv_func__fpclass_use=no
45253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45254 ac_ext=c
45255 ac_cpp='$CPP $CPPFLAGS'
45256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45265 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45267 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45269 for ac_func in _fpclass
45271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45272 echo "$as_me:$LINENO: checking for $ac_func" >&5
45273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45274 if eval "test \"\${$as_ac_var+set}\" = set"; then
45275 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 else
45277 if test x$gcc_no_link = xyes; then
45278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45280 { (exit 1); exit 1; }; }
45282 cat >conftest.$ac_ext <<_ACEOF
45283 /* confdefs.h. */
45284 _ACEOF
45285 cat confdefs.h >>conftest.$ac_ext
45286 cat >>conftest.$ac_ext <<_ACEOF
45287 /* end confdefs.h. */
45288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45290 #define $ac_func innocuous_$ac_func
45292 /* System header to define __stub macros and hopefully few prototypes,
45293 which can conflict with char $ac_func (); below.
45294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45295 <limits.h> exists even on freestanding compilers. */
45297 #ifdef __STDC__
45298 # include <limits.h>
45299 #else
45300 # include <assert.h>
45301 #endif
45303 #undef $ac_func
45305 /* Override any gcc2 internal prototype to avoid an error. */
45306 #ifdef __cplusplus
45307 extern "C"
45309 #endif
45310 /* We use char because int might match the return type of a gcc2
45311 builtin and then its argument prototype would still apply. */
45312 char $ac_func ();
45313 /* The GNU C library defines this for functions which it implements
45314 to always fail with ENOSYS. Some functions are actually named
45315 something starting with __ and the normal name is an alias. */
45316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45317 choke me
45318 #else
45319 char (*f) () = $ac_func;
45320 #endif
45321 #ifdef __cplusplus
45323 #endif
45326 main ()
45328 return f != $ac_func;
45330 return 0;
45332 _ACEOF
45333 rm -f conftest.$ac_objext conftest$ac_exeext
45334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45335 (eval $ac_link) 2>conftest.er1
45336 ac_status=$?
45337 grep -v '^ *+' conftest.er1 >conftest.err
45338 rm -f conftest.er1
45339 cat conftest.err >&5
45340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45341 (exit $ac_status); } &&
45342 { ac_try='test -z "$ac_c_werror_flag"
45343 || test ! -s conftest.err'
45344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45345 (eval $ac_try) 2>&5
45346 ac_status=$?
45347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45348 (exit $ac_status); }; } &&
45349 { ac_try='test -s conftest$ac_exeext'
45350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45351 (eval $ac_try) 2>&5
45352 ac_status=$?
45353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45354 (exit $ac_status); }; }; then
45355 eval "$as_ac_var=yes"
45356 else
45357 echo "$as_me: failed program was:" >&5
45358 sed 's/^/| /' conftest.$ac_ext >&5
45360 eval "$as_ac_var=no"
45362 rm -f conftest.err conftest.$ac_objext \
45363 conftest$ac_exeext conftest.$ac_ext
45365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45367 if test `eval echo '${'$as_ac_var'}'` = yes; then
45368 cat >>confdefs.h <<_ACEOF
45369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45370 _ACEOF
45373 done
45383 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45384 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45385 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45386 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45387 echo $ECHO_N "(cached) $ECHO_C" >&6
45388 else
45392 ac_ext=cc
45393 ac_cpp='$CXXCPP $CPPFLAGS'
45394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45398 cat >conftest.$ac_ext <<_ACEOF
45399 /* confdefs.h. */
45400 _ACEOF
45401 cat confdefs.h >>conftest.$ac_ext
45402 cat >>conftest.$ac_ext <<_ACEOF
45403 /* end confdefs.h. */
45404 #include <math.h>
45405 #ifdef HAVE_IEEEFP_H
45406 #include <ieeefp.h>
45407 #endif
45410 main ()
45412 qfpclass(0);
45414 return 0;
45416 _ACEOF
45417 rm -f conftest.$ac_objext
45418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45419 (eval $ac_compile) 2>conftest.er1
45420 ac_status=$?
45421 grep -v '^ *+' conftest.er1 >conftest.err
45422 rm -f conftest.er1
45423 cat conftest.err >&5
45424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45425 (exit $ac_status); } &&
45426 { ac_try='test -z "$ac_cxx_werror_flag"
45427 || test ! -s conftest.err'
45428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45429 (eval $ac_try) 2>&5
45430 ac_status=$?
45431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45432 (exit $ac_status); }; } &&
45433 { ac_try='test -s conftest.$ac_objext'
45434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45435 (eval $ac_try) 2>&5
45436 ac_status=$?
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); }; }; then
45439 glibcxx_cv_func_qfpclass_use=yes
45440 else
45441 echo "$as_me: failed program was:" >&5
45442 sed 's/^/| /' conftest.$ac_ext >&5
45444 glibcxx_cv_func_qfpclass_use=no
45446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45447 ac_ext=c
45448 ac_cpp='$CPP $CPPFLAGS'
45449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45458 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45460 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45462 for ac_func in qfpclass
45464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45465 echo "$as_me:$LINENO: checking for $ac_func" >&5
45466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45467 if eval "test \"\${$as_ac_var+set}\" = set"; then
45468 echo $ECHO_N "(cached) $ECHO_C" >&6
45469 else
45470 if test x$gcc_no_link = xyes; then
45471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45473 { (exit 1); exit 1; }; }
45475 cat >conftest.$ac_ext <<_ACEOF
45476 /* confdefs.h. */
45477 _ACEOF
45478 cat confdefs.h >>conftest.$ac_ext
45479 cat >>conftest.$ac_ext <<_ACEOF
45480 /* end confdefs.h. */
45481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45483 #define $ac_func innocuous_$ac_func
45485 /* System header to define __stub macros and hopefully few prototypes,
45486 which can conflict with char $ac_func (); below.
45487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45488 <limits.h> exists even on freestanding compilers. */
45490 #ifdef __STDC__
45491 # include <limits.h>
45492 #else
45493 # include <assert.h>
45494 #endif
45496 #undef $ac_func
45498 /* Override any gcc2 internal prototype to avoid an error. */
45499 #ifdef __cplusplus
45500 extern "C"
45502 #endif
45503 /* We use char because int might match the return type of a gcc2
45504 builtin and then its argument prototype would still apply. */
45505 char $ac_func ();
45506 /* The GNU C library defines this for functions which it implements
45507 to always fail with ENOSYS. Some functions are actually named
45508 something starting with __ and the normal name is an alias. */
45509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45510 choke me
45511 #else
45512 char (*f) () = $ac_func;
45513 #endif
45514 #ifdef __cplusplus
45516 #endif
45519 main ()
45521 return f != $ac_func;
45523 return 0;
45525 _ACEOF
45526 rm -f conftest.$ac_objext conftest$ac_exeext
45527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45528 (eval $ac_link) 2>conftest.er1
45529 ac_status=$?
45530 grep -v '^ *+' conftest.er1 >conftest.err
45531 rm -f conftest.er1
45532 cat conftest.err >&5
45533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45534 (exit $ac_status); } &&
45535 { ac_try='test -z "$ac_c_werror_flag"
45536 || test ! -s conftest.err'
45537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45538 (eval $ac_try) 2>&5
45539 ac_status=$?
45540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45541 (exit $ac_status); }; } &&
45542 { ac_try='test -s conftest$ac_exeext'
45543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45544 (eval $ac_try) 2>&5
45545 ac_status=$?
45546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547 (exit $ac_status); }; }; then
45548 eval "$as_ac_var=yes"
45549 else
45550 echo "$as_me: failed program was:" >&5
45551 sed 's/^/| /' conftest.$ac_ext >&5
45553 eval "$as_ac_var=no"
45555 rm -f conftest.err conftest.$ac_objext \
45556 conftest$ac_exeext conftest.$ac_ext
45558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45560 if test `eval echo '${'$as_ac_var'}'` = yes; then
45561 cat >>confdefs.h <<_ACEOF
45562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45563 _ACEOF
45566 done
45568 else
45570 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45571 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45572 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45573 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45574 echo $ECHO_N "(cached) $ECHO_C" >&6
45575 else
45579 ac_ext=cc
45580 ac_cpp='$CXXCPP $CPPFLAGS'
45581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45585 cat >conftest.$ac_ext <<_ACEOF
45586 /* confdefs.h. */
45587 _ACEOF
45588 cat confdefs.h >>conftest.$ac_ext
45589 cat >>conftest.$ac_ext <<_ACEOF
45590 /* end confdefs.h. */
45591 #include <math.h>
45592 #ifdef HAVE_IEEEFP_H
45593 #include <ieeefp.h>
45594 #endif
45597 main ()
45599 _qfpclass(0);
45601 return 0;
45603 _ACEOF
45604 rm -f conftest.$ac_objext
45605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45606 (eval $ac_compile) 2>conftest.er1
45607 ac_status=$?
45608 grep -v '^ *+' conftest.er1 >conftest.err
45609 rm -f conftest.er1
45610 cat conftest.err >&5
45611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45612 (exit $ac_status); } &&
45613 { ac_try='test -z "$ac_cxx_werror_flag"
45614 || test ! -s conftest.err'
45615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45616 (eval $ac_try) 2>&5
45617 ac_status=$?
45618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45619 (exit $ac_status); }; } &&
45620 { ac_try='test -s conftest.$ac_objext'
45621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45622 (eval $ac_try) 2>&5
45623 ac_status=$?
45624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45625 (exit $ac_status); }; }; then
45626 glibcxx_cv_func__qfpclass_use=yes
45627 else
45628 echo "$as_me: failed program was:" >&5
45629 sed 's/^/| /' conftest.$ac_ext >&5
45631 glibcxx_cv_func__qfpclass_use=no
45633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45634 ac_ext=c
45635 ac_cpp='$CPP $CPPFLAGS'
45636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45645 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45647 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45649 for ac_func in _qfpclass
45651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45652 echo "$as_me:$LINENO: checking for $ac_func" >&5
45653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45654 if eval "test \"\${$as_ac_var+set}\" = set"; then
45655 echo $ECHO_N "(cached) $ECHO_C" >&6
45656 else
45657 if test x$gcc_no_link = xyes; then
45658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45660 { (exit 1); exit 1; }; }
45662 cat >conftest.$ac_ext <<_ACEOF
45663 /* confdefs.h. */
45664 _ACEOF
45665 cat confdefs.h >>conftest.$ac_ext
45666 cat >>conftest.$ac_ext <<_ACEOF
45667 /* end confdefs.h. */
45668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45670 #define $ac_func innocuous_$ac_func
45672 /* System header to define __stub macros and hopefully few prototypes,
45673 which can conflict with char $ac_func (); below.
45674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45675 <limits.h> exists even on freestanding compilers. */
45677 #ifdef __STDC__
45678 # include <limits.h>
45679 #else
45680 # include <assert.h>
45681 #endif
45683 #undef $ac_func
45685 /* Override any gcc2 internal prototype to avoid an error. */
45686 #ifdef __cplusplus
45687 extern "C"
45689 #endif
45690 /* We use char because int might match the return type of a gcc2
45691 builtin and then its argument prototype would still apply. */
45692 char $ac_func ();
45693 /* The GNU C library defines this for functions which it implements
45694 to always fail with ENOSYS. Some functions are actually named
45695 something starting with __ and the normal name is an alias. */
45696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45697 choke me
45698 #else
45699 char (*f) () = $ac_func;
45700 #endif
45701 #ifdef __cplusplus
45703 #endif
45706 main ()
45708 return f != $ac_func;
45710 return 0;
45712 _ACEOF
45713 rm -f conftest.$ac_objext conftest$ac_exeext
45714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45715 (eval $ac_link) 2>conftest.er1
45716 ac_status=$?
45717 grep -v '^ *+' conftest.er1 >conftest.err
45718 rm -f conftest.er1
45719 cat conftest.err >&5
45720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45721 (exit $ac_status); } &&
45722 { ac_try='test -z "$ac_c_werror_flag"
45723 || test ! -s conftest.err'
45724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45725 (eval $ac_try) 2>&5
45726 ac_status=$?
45727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45728 (exit $ac_status); }; } &&
45729 { ac_try='test -s conftest$ac_exeext'
45730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45731 (eval $ac_try) 2>&5
45732 ac_status=$?
45733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45734 (exit $ac_status); }; }; then
45735 eval "$as_ac_var=yes"
45736 else
45737 echo "$as_me: failed program was:" >&5
45738 sed 's/^/| /' conftest.$ac_ext >&5
45740 eval "$as_ac_var=no"
45742 rm -f conftest.err conftest.$ac_objext \
45743 conftest$ac_exeext conftest.$ac_ext
45745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45747 if test `eval echo '${'$as_ac_var'}'` = yes; then
45748 cat >>confdefs.h <<_ACEOF
45749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45750 _ACEOF
45753 done
45763 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45764 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45765 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45766 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45767 echo $ECHO_N "(cached) $ECHO_C" >&6
45768 else
45772 ac_ext=cc
45773 ac_cpp='$CXXCPP $CPPFLAGS'
45774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45778 cat >conftest.$ac_ext <<_ACEOF
45779 /* confdefs.h. */
45780 _ACEOF
45781 cat confdefs.h >>conftest.$ac_ext
45782 cat >>conftest.$ac_ext <<_ACEOF
45783 /* end confdefs.h. */
45784 #include <math.h>
45786 main ()
45788 hypot(0, 0);
45790 return 0;
45792 _ACEOF
45793 rm -f conftest.$ac_objext
45794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45795 (eval $ac_compile) 2>conftest.er1
45796 ac_status=$?
45797 grep -v '^ *+' conftest.er1 >conftest.err
45798 rm -f conftest.er1
45799 cat conftest.err >&5
45800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45801 (exit $ac_status); } &&
45802 { ac_try='test -z "$ac_cxx_werror_flag"
45803 || test ! -s conftest.err'
45804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45805 (eval $ac_try) 2>&5
45806 ac_status=$?
45807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45808 (exit $ac_status); }; } &&
45809 { ac_try='test -s conftest.$ac_objext'
45810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45811 (eval $ac_try) 2>&5
45812 ac_status=$?
45813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814 (exit $ac_status); }; }; then
45815 glibcxx_cv_func_hypot_use=yes
45816 else
45817 echo "$as_me: failed program was:" >&5
45818 sed 's/^/| /' conftest.$ac_ext >&5
45820 glibcxx_cv_func_hypot_use=no
45822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45823 ac_ext=c
45824 ac_cpp='$CPP $CPPFLAGS'
45825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45834 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45836 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45838 for ac_func in hypot
45840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45841 echo "$as_me:$LINENO: checking for $ac_func" >&5
45842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45843 if eval "test \"\${$as_ac_var+set}\" = set"; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45845 else
45846 if test x$gcc_no_link = xyes; then
45847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45849 { (exit 1); exit 1; }; }
45851 cat >conftest.$ac_ext <<_ACEOF
45852 /* confdefs.h. */
45853 _ACEOF
45854 cat confdefs.h >>conftest.$ac_ext
45855 cat >>conftest.$ac_ext <<_ACEOF
45856 /* end confdefs.h. */
45857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45859 #define $ac_func innocuous_$ac_func
45861 /* System header to define __stub macros and hopefully few prototypes,
45862 which can conflict with char $ac_func (); below.
45863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45864 <limits.h> exists even on freestanding compilers. */
45866 #ifdef __STDC__
45867 # include <limits.h>
45868 #else
45869 # include <assert.h>
45870 #endif
45872 #undef $ac_func
45874 /* Override any gcc2 internal prototype to avoid an error. */
45875 #ifdef __cplusplus
45876 extern "C"
45878 #endif
45879 /* We use char because int might match the return type of a gcc2
45880 builtin and then its argument prototype would still apply. */
45881 char $ac_func ();
45882 /* The GNU C library defines this for functions which it implements
45883 to always fail with ENOSYS. Some functions are actually named
45884 something starting with __ and the normal name is an alias. */
45885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45886 choke me
45887 #else
45888 char (*f) () = $ac_func;
45889 #endif
45890 #ifdef __cplusplus
45892 #endif
45895 main ()
45897 return f != $ac_func;
45899 return 0;
45901 _ACEOF
45902 rm -f conftest.$ac_objext conftest$ac_exeext
45903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45904 (eval $ac_link) 2>conftest.er1
45905 ac_status=$?
45906 grep -v '^ *+' conftest.er1 >conftest.err
45907 rm -f conftest.er1
45908 cat conftest.err >&5
45909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910 (exit $ac_status); } &&
45911 { ac_try='test -z "$ac_c_werror_flag"
45912 || test ! -s conftest.err'
45913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45914 (eval $ac_try) 2>&5
45915 ac_status=$?
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); }; } &&
45918 { ac_try='test -s conftest$ac_exeext'
45919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45920 (eval $ac_try) 2>&5
45921 ac_status=$?
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); }; }; then
45924 eval "$as_ac_var=yes"
45925 else
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.$ac_ext >&5
45929 eval "$as_ac_var=no"
45931 rm -f conftest.err conftest.$ac_objext \
45932 conftest$ac_exeext conftest.$ac_ext
45934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45936 if test `eval echo '${'$as_ac_var'}'` = yes; then
45937 cat >>confdefs.h <<_ACEOF
45938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45939 _ACEOF
45942 done
45944 else
45946 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45947 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
45948 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45949 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45950 echo $ECHO_N "(cached) $ECHO_C" >&6
45951 else
45955 ac_ext=cc
45956 ac_cpp='$CXXCPP $CPPFLAGS'
45957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45961 cat >conftest.$ac_ext <<_ACEOF
45962 /* confdefs.h. */
45963 _ACEOF
45964 cat confdefs.h >>conftest.$ac_ext
45965 cat >>conftest.$ac_ext <<_ACEOF
45966 /* end confdefs.h. */
45967 #include <math.h>
45969 main ()
45971 _hypot(0, 0);
45973 return 0;
45975 _ACEOF
45976 rm -f conftest.$ac_objext
45977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45978 (eval $ac_compile) 2>conftest.er1
45979 ac_status=$?
45980 grep -v '^ *+' conftest.er1 >conftest.err
45981 rm -f conftest.er1
45982 cat conftest.err >&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } &&
45985 { ac_try='test -z "$ac_cxx_werror_flag"
45986 || test ! -s conftest.err'
45987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45988 (eval $ac_try) 2>&5
45989 ac_status=$?
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); }; } &&
45992 { ac_try='test -s conftest.$ac_objext'
45993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45994 (eval $ac_try) 2>&5
45995 ac_status=$?
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); }; }; then
45998 glibcxx_cv_func__hypot_use=yes
45999 else
46000 echo "$as_me: failed program was:" >&5
46001 sed 's/^/| /' conftest.$ac_ext >&5
46003 glibcxx_cv_func__hypot_use=no
46005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46006 ac_ext=c
46007 ac_cpp='$CPP $CPPFLAGS'
46008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46017 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46019 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46021 for ac_func in _hypot
46023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46024 echo "$as_me:$LINENO: checking for $ac_func" >&5
46025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46026 if eval "test \"\${$as_ac_var+set}\" = set"; then
46027 echo $ECHO_N "(cached) $ECHO_C" >&6
46028 else
46029 if test x$gcc_no_link = xyes; then
46030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46032 { (exit 1); exit 1; }; }
46034 cat >conftest.$ac_ext <<_ACEOF
46035 /* confdefs.h. */
46036 _ACEOF
46037 cat confdefs.h >>conftest.$ac_ext
46038 cat >>conftest.$ac_ext <<_ACEOF
46039 /* end confdefs.h. */
46040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46042 #define $ac_func innocuous_$ac_func
46044 /* System header to define __stub macros and hopefully few prototypes,
46045 which can conflict with char $ac_func (); below.
46046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46047 <limits.h> exists even on freestanding compilers. */
46049 #ifdef __STDC__
46050 # include <limits.h>
46051 #else
46052 # include <assert.h>
46053 #endif
46055 #undef $ac_func
46057 /* Override any gcc2 internal prototype to avoid an error. */
46058 #ifdef __cplusplus
46059 extern "C"
46061 #endif
46062 /* We use char because int might match the return type of a gcc2
46063 builtin and then its argument prototype would still apply. */
46064 char $ac_func ();
46065 /* The GNU C library defines this for functions which it implements
46066 to always fail with ENOSYS. Some functions are actually named
46067 something starting with __ and the normal name is an alias. */
46068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46069 choke me
46070 #else
46071 char (*f) () = $ac_func;
46072 #endif
46073 #ifdef __cplusplus
46075 #endif
46078 main ()
46080 return f != $ac_func;
46082 return 0;
46084 _ACEOF
46085 rm -f conftest.$ac_objext conftest$ac_exeext
46086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46087 (eval $ac_link) 2>conftest.er1
46088 ac_status=$?
46089 grep -v '^ *+' conftest.er1 >conftest.err
46090 rm -f conftest.er1
46091 cat conftest.err >&5
46092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46093 (exit $ac_status); } &&
46094 { ac_try='test -z "$ac_c_werror_flag"
46095 || test ! -s conftest.err'
46096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46097 (eval $ac_try) 2>&5
46098 ac_status=$?
46099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46100 (exit $ac_status); }; } &&
46101 { ac_try='test -s conftest$ac_exeext'
46102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46103 (eval $ac_try) 2>&5
46104 ac_status=$?
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); }; }; then
46107 eval "$as_ac_var=yes"
46108 else
46109 echo "$as_me: failed program was:" >&5
46110 sed 's/^/| /' conftest.$ac_ext >&5
46112 eval "$as_ac_var=no"
46114 rm -f conftest.err conftest.$ac_objext \
46115 conftest$ac_exeext conftest.$ac_ext
46117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46119 if test `eval echo '${'$as_ac_var'}'` = yes; then
46120 cat >>confdefs.h <<_ACEOF
46121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46122 _ACEOF
46125 done
46135 echo "$as_me:$LINENO: checking for float trig functions" >&5
46136 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46137 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46138 echo $ECHO_N "(cached) $ECHO_C" >&6
46139 else
46143 ac_ext=cc
46144 ac_cpp='$CXXCPP $CPPFLAGS'
46145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46149 cat >conftest.$ac_ext <<_ACEOF
46150 /* confdefs.h. */
46151 _ACEOF
46152 cat confdefs.h >>conftest.$ac_ext
46153 cat >>conftest.$ac_ext <<_ACEOF
46154 /* end confdefs.h. */
46155 #include <math.h>
46157 main ()
46159 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46161 return 0;
46163 _ACEOF
46164 rm -f conftest.$ac_objext
46165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46166 (eval $ac_compile) 2>conftest.er1
46167 ac_status=$?
46168 grep -v '^ *+' conftest.er1 >conftest.err
46169 rm -f conftest.er1
46170 cat conftest.err >&5
46171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46172 (exit $ac_status); } &&
46173 { ac_try='test -z "$ac_cxx_werror_flag"
46174 || test ! -s conftest.err'
46175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46176 (eval $ac_try) 2>&5
46177 ac_status=$?
46178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179 (exit $ac_status); }; } &&
46180 { ac_try='test -s conftest.$ac_objext'
46181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46182 (eval $ac_try) 2>&5
46183 ac_status=$?
46184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46185 (exit $ac_status); }; }; then
46186 glibcxx_cv_func_float_trig_use=yes
46187 else
46188 echo "$as_me: failed program was:" >&5
46189 sed 's/^/| /' conftest.$ac_ext >&5
46191 glibcxx_cv_func_float_trig_use=no
46193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46194 ac_ext=c
46195 ac_cpp='$CPP $CPPFLAGS'
46196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46203 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46204 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46214 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46217 echo "$as_me:$LINENO: checking for $ac_func" >&5
46218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46219 if eval "test \"\${$as_ac_var+set}\" = set"; then
46220 echo $ECHO_N "(cached) $ECHO_C" >&6
46221 else
46222 if test x$gcc_no_link = xyes; then
46223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46225 { (exit 1); exit 1; }; }
46227 cat >conftest.$ac_ext <<_ACEOF
46228 /* confdefs.h. */
46229 _ACEOF
46230 cat confdefs.h >>conftest.$ac_ext
46231 cat >>conftest.$ac_ext <<_ACEOF
46232 /* end confdefs.h. */
46233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46235 #define $ac_func innocuous_$ac_func
46237 /* System header to define __stub macros and hopefully few prototypes,
46238 which can conflict with char $ac_func (); below.
46239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46240 <limits.h> exists even on freestanding compilers. */
46242 #ifdef __STDC__
46243 # include <limits.h>
46244 #else
46245 # include <assert.h>
46246 #endif
46248 #undef $ac_func
46250 /* Override any gcc2 internal prototype to avoid an error. */
46251 #ifdef __cplusplus
46252 extern "C"
46254 #endif
46255 /* We use char because int might match the return type of a gcc2
46256 builtin and then its argument prototype would still apply. */
46257 char $ac_func ();
46258 /* The GNU C library defines this for functions which it implements
46259 to always fail with ENOSYS. Some functions are actually named
46260 something starting with __ and the normal name is an alias. */
46261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46262 choke me
46263 #else
46264 char (*f) () = $ac_func;
46265 #endif
46266 #ifdef __cplusplus
46268 #endif
46271 main ()
46273 return f != $ac_func;
46275 return 0;
46277 _ACEOF
46278 rm -f conftest.$ac_objext conftest$ac_exeext
46279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46280 (eval $ac_link) 2>conftest.er1
46281 ac_status=$?
46282 grep -v '^ *+' conftest.er1 >conftest.err
46283 rm -f conftest.er1
46284 cat conftest.err >&5
46285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46286 (exit $ac_status); } &&
46287 { ac_try='test -z "$ac_c_werror_flag"
46288 || test ! -s conftest.err'
46289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46290 (eval $ac_try) 2>&5
46291 ac_status=$?
46292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46293 (exit $ac_status); }; } &&
46294 { ac_try='test -s conftest$ac_exeext'
46295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296 (eval $ac_try) 2>&5
46297 ac_status=$?
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; }; then
46300 eval "$as_ac_var=yes"
46301 else
46302 echo "$as_me: failed program was:" >&5
46303 sed 's/^/| /' conftest.$ac_ext >&5
46305 eval "$as_ac_var=no"
46307 rm -f conftest.err conftest.$ac_objext \
46308 conftest$ac_exeext conftest.$ac_ext
46310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46312 if test `eval echo '${'$as_ac_var'}'` = yes; then
46313 cat >>confdefs.h <<_ACEOF
46314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46315 _ACEOF
46318 done
46320 else
46321 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46322 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46323 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46324 echo $ECHO_N "(cached) $ECHO_C" >&6
46325 else
46329 ac_ext=cc
46330 ac_cpp='$CXXCPP $CPPFLAGS'
46331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46335 cat >conftest.$ac_ext <<_ACEOF
46336 /* confdefs.h. */
46337 _ACEOF
46338 cat confdefs.h >>conftest.$ac_ext
46339 cat >>conftest.$ac_ext <<_ACEOF
46340 /* end confdefs.h. */
46341 #include <math.h>
46343 main ()
46345 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46347 return 0;
46349 _ACEOF
46350 rm -f conftest.$ac_objext
46351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46352 (eval $ac_compile) 2>conftest.er1
46353 ac_status=$?
46354 grep -v '^ *+' conftest.er1 >conftest.err
46355 rm -f conftest.er1
46356 cat conftest.err >&5
46357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46358 (exit $ac_status); } &&
46359 { ac_try='test -z "$ac_cxx_werror_flag"
46360 || test ! -s conftest.err'
46361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46362 (eval $ac_try) 2>&5
46363 ac_status=$?
46364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46365 (exit $ac_status); }; } &&
46366 { ac_try='test -s conftest.$ac_objext'
46367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46368 (eval $ac_try) 2>&5
46369 ac_status=$?
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); }; }; then
46372 glibcxx_cv_func__float_trig_use=yes
46373 else
46374 echo "$as_me: failed program was:" >&5
46375 sed 's/^/| /' conftest.$ac_ext >&5
46377 glibcxx_cv_func__float_trig_use=no
46379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46380 ac_ext=c
46381 ac_cpp='$CPP $CPPFLAGS'
46382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46389 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46390 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46400 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46403 echo "$as_me:$LINENO: checking for $ac_func" >&5
46404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46405 if eval "test \"\${$as_ac_var+set}\" = set"; then
46406 echo $ECHO_N "(cached) $ECHO_C" >&6
46407 else
46408 if test x$gcc_no_link = xyes; then
46409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46411 { (exit 1); exit 1; }; }
46413 cat >conftest.$ac_ext <<_ACEOF
46414 /* confdefs.h. */
46415 _ACEOF
46416 cat confdefs.h >>conftest.$ac_ext
46417 cat >>conftest.$ac_ext <<_ACEOF
46418 /* end confdefs.h. */
46419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46421 #define $ac_func innocuous_$ac_func
46423 /* System header to define __stub macros and hopefully few prototypes,
46424 which can conflict with char $ac_func (); below.
46425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46426 <limits.h> exists even on freestanding compilers. */
46428 #ifdef __STDC__
46429 # include <limits.h>
46430 #else
46431 # include <assert.h>
46432 #endif
46434 #undef $ac_func
46436 /* Override any gcc2 internal prototype to avoid an error. */
46437 #ifdef __cplusplus
46438 extern "C"
46440 #endif
46441 /* We use char because int might match the return type of a gcc2
46442 builtin and then its argument prototype would still apply. */
46443 char $ac_func ();
46444 /* The GNU C library defines this for functions which it implements
46445 to always fail with ENOSYS. Some functions are actually named
46446 something starting with __ and the normal name is an alias. */
46447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46448 choke me
46449 #else
46450 char (*f) () = $ac_func;
46451 #endif
46452 #ifdef __cplusplus
46454 #endif
46457 main ()
46459 return f != $ac_func;
46461 return 0;
46463 _ACEOF
46464 rm -f conftest.$ac_objext conftest$ac_exeext
46465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46466 (eval $ac_link) 2>conftest.er1
46467 ac_status=$?
46468 grep -v '^ *+' conftest.er1 >conftest.err
46469 rm -f conftest.er1
46470 cat conftest.err >&5
46471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46472 (exit $ac_status); } &&
46473 { ac_try='test -z "$ac_c_werror_flag"
46474 || test ! -s conftest.err'
46475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46476 (eval $ac_try) 2>&5
46477 ac_status=$?
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); }; } &&
46480 { ac_try='test -s conftest$ac_exeext'
46481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46482 (eval $ac_try) 2>&5
46483 ac_status=$?
46484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46485 (exit $ac_status); }; }; then
46486 eval "$as_ac_var=yes"
46487 else
46488 echo "$as_me: failed program was:" >&5
46489 sed 's/^/| /' conftest.$ac_ext >&5
46491 eval "$as_ac_var=no"
46493 rm -f conftest.err conftest.$ac_objext \
46494 conftest$ac_exeext conftest.$ac_ext
46496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46498 if test `eval echo '${'$as_ac_var'}'` = yes; then
46499 cat >>confdefs.h <<_ACEOF
46500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46501 _ACEOF
46504 done
46522 echo "$as_me:$LINENO: checking for float round functions" >&5
46523 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46524 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46525 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 else
46530 ac_ext=cc
46531 ac_cpp='$CXXCPP $CPPFLAGS'
46532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46536 cat >conftest.$ac_ext <<_ACEOF
46537 /* confdefs.h. */
46538 _ACEOF
46539 cat confdefs.h >>conftest.$ac_ext
46540 cat >>conftest.$ac_ext <<_ACEOF
46541 /* end confdefs.h. */
46542 #include <math.h>
46544 main ()
46546 ceilf (0); floorf (0);
46548 return 0;
46550 _ACEOF
46551 rm -f conftest.$ac_objext
46552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46553 (eval $ac_compile) 2>conftest.er1
46554 ac_status=$?
46555 grep -v '^ *+' conftest.er1 >conftest.err
46556 rm -f conftest.er1
46557 cat conftest.err >&5
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); } &&
46560 { ac_try='test -z "$ac_cxx_werror_flag"
46561 || test ! -s conftest.err'
46562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46563 (eval $ac_try) 2>&5
46564 ac_status=$?
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); }; } &&
46567 { ac_try='test -s conftest.$ac_objext'
46568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46569 (eval $ac_try) 2>&5
46570 ac_status=$?
46571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572 (exit $ac_status); }; }; then
46573 glibcxx_cv_func_float_round_use=yes
46574 else
46575 echo "$as_me: failed program was:" >&5
46576 sed 's/^/| /' conftest.$ac_ext >&5
46578 glibcxx_cv_func_float_round_use=no
46580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46581 ac_ext=c
46582 ac_cpp='$CPP $CPPFLAGS'
46583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46590 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46591 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46594 for ac_func in ceilf floorf
46596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46597 echo "$as_me:$LINENO: checking for $ac_func" >&5
46598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46599 if eval "test \"\${$as_ac_var+set}\" = set"; then
46600 echo $ECHO_N "(cached) $ECHO_C" >&6
46601 else
46602 if test x$gcc_no_link = xyes; then
46603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46605 { (exit 1); exit 1; }; }
46607 cat >conftest.$ac_ext <<_ACEOF
46608 /* confdefs.h. */
46609 _ACEOF
46610 cat confdefs.h >>conftest.$ac_ext
46611 cat >>conftest.$ac_ext <<_ACEOF
46612 /* end confdefs.h. */
46613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46615 #define $ac_func innocuous_$ac_func
46617 /* System header to define __stub macros and hopefully few prototypes,
46618 which can conflict with char $ac_func (); below.
46619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46620 <limits.h> exists even on freestanding compilers. */
46622 #ifdef __STDC__
46623 # include <limits.h>
46624 #else
46625 # include <assert.h>
46626 #endif
46628 #undef $ac_func
46630 /* Override any gcc2 internal prototype to avoid an error. */
46631 #ifdef __cplusplus
46632 extern "C"
46634 #endif
46635 /* We use char because int might match the return type of a gcc2
46636 builtin and then its argument prototype would still apply. */
46637 char $ac_func ();
46638 /* The GNU C library defines this for functions which it implements
46639 to always fail with ENOSYS. Some functions are actually named
46640 something starting with __ and the normal name is an alias. */
46641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46642 choke me
46643 #else
46644 char (*f) () = $ac_func;
46645 #endif
46646 #ifdef __cplusplus
46648 #endif
46651 main ()
46653 return f != $ac_func;
46655 return 0;
46657 _ACEOF
46658 rm -f conftest.$ac_objext conftest$ac_exeext
46659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46660 (eval $ac_link) 2>conftest.er1
46661 ac_status=$?
46662 grep -v '^ *+' conftest.er1 >conftest.err
46663 rm -f conftest.er1
46664 cat conftest.err >&5
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); } &&
46667 { ac_try='test -z "$ac_c_werror_flag"
46668 || test ! -s conftest.err'
46669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46670 (eval $ac_try) 2>&5
46671 ac_status=$?
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); }; } &&
46674 { ac_try='test -s conftest$ac_exeext'
46675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46676 (eval $ac_try) 2>&5
46677 ac_status=$?
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); }; }; then
46680 eval "$as_ac_var=yes"
46681 else
46682 echo "$as_me: failed program was:" >&5
46683 sed 's/^/| /' conftest.$ac_ext >&5
46685 eval "$as_ac_var=no"
46687 rm -f conftest.err conftest.$ac_objext \
46688 conftest$ac_exeext conftest.$ac_ext
46690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46692 if test `eval echo '${'$as_ac_var'}'` = yes; then
46693 cat >>confdefs.h <<_ACEOF
46694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46695 _ACEOF
46698 done
46700 else
46701 echo "$as_me:$LINENO: checking for _float round functions" >&5
46702 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46703 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46704 echo $ECHO_N "(cached) $ECHO_C" >&6
46705 else
46709 ac_ext=cc
46710 ac_cpp='$CXXCPP $CPPFLAGS'
46711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46715 cat >conftest.$ac_ext <<_ACEOF
46716 /* confdefs.h. */
46717 _ACEOF
46718 cat confdefs.h >>conftest.$ac_ext
46719 cat >>conftest.$ac_ext <<_ACEOF
46720 /* end confdefs.h. */
46721 #include <math.h>
46723 main ()
46725 _ceilf (0); _floorf (0);
46727 return 0;
46729 _ACEOF
46730 rm -f conftest.$ac_objext
46731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46732 (eval $ac_compile) 2>conftest.er1
46733 ac_status=$?
46734 grep -v '^ *+' conftest.er1 >conftest.err
46735 rm -f conftest.er1
46736 cat conftest.err >&5
46737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46738 (exit $ac_status); } &&
46739 { ac_try='test -z "$ac_cxx_werror_flag"
46740 || test ! -s conftest.err'
46741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46742 (eval $ac_try) 2>&5
46743 ac_status=$?
46744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46745 (exit $ac_status); }; } &&
46746 { ac_try='test -s conftest.$ac_objext'
46747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46748 (eval $ac_try) 2>&5
46749 ac_status=$?
46750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46751 (exit $ac_status); }; }; then
46752 glibcxx_cv_func__float_round_use=yes
46753 else
46754 echo "$as_me: failed program was:" >&5
46755 sed 's/^/| /' conftest.$ac_ext >&5
46757 glibcxx_cv_func__float_round_use=no
46759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46760 ac_ext=c
46761 ac_cpp='$CPP $CPPFLAGS'
46762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46769 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46770 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46773 for ac_func in _ceilf _floorf
46775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46776 echo "$as_me:$LINENO: checking for $ac_func" >&5
46777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46778 if eval "test \"\${$as_ac_var+set}\" = set"; then
46779 echo $ECHO_N "(cached) $ECHO_C" >&6
46780 else
46781 if test x$gcc_no_link = xyes; then
46782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46784 { (exit 1); exit 1; }; }
46786 cat >conftest.$ac_ext <<_ACEOF
46787 /* confdefs.h. */
46788 _ACEOF
46789 cat confdefs.h >>conftest.$ac_ext
46790 cat >>conftest.$ac_ext <<_ACEOF
46791 /* end confdefs.h. */
46792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46794 #define $ac_func innocuous_$ac_func
46796 /* System header to define __stub macros and hopefully few prototypes,
46797 which can conflict with char $ac_func (); below.
46798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46799 <limits.h> exists even on freestanding compilers. */
46801 #ifdef __STDC__
46802 # include <limits.h>
46803 #else
46804 # include <assert.h>
46805 #endif
46807 #undef $ac_func
46809 /* Override any gcc2 internal prototype to avoid an error. */
46810 #ifdef __cplusplus
46811 extern "C"
46813 #endif
46814 /* We use char because int might match the return type of a gcc2
46815 builtin and then its argument prototype would still apply. */
46816 char $ac_func ();
46817 /* The GNU C library defines this for functions which it implements
46818 to always fail with ENOSYS. Some functions are actually named
46819 something starting with __ and the normal name is an alias. */
46820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46821 choke me
46822 #else
46823 char (*f) () = $ac_func;
46824 #endif
46825 #ifdef __cplusplus
46827 #endif
46830 main ()
46832 return f != $ac_func;
46834 return 0;
46836 _ACEOF
46837 rm -f conftest.$ac_objext conftest$ac_exeext
46838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46839 (eval $ac_link) 2>conftest.er1
46840 ac_status=$?
46841 grep -v '^ *+' conftest.er1 >conftest.err
46842 rm -f conftest.er1
46843 cat conftest.err >&5
46844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46845 (exit $ac_status); } &&
46846 { ac_try='test -z "$ac_c_werror_flag"
46847 || test ! -s conftest.err'
46848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46849 (eval $ac_try) 2>&5
46850 ac_status=$?
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); }; } &&
46853 { ac_try='test -s conftest$ac_exeext'
46854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46855 (eval $ac_try) 2>&5
46856 ac_status=$?
46857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46858 (exit $ac_status); }; }; then
46859 eval "$as_ac_var=yes"
46860 else
46861 echo "$as_me: failed program was:" >&5
46862 sed 's/^/| /' conftest.$ac_ext >&5
46864 eval "$as_ac_var=no"
46866 rm -f conftest.err conftest.$ac_objext \
46867 conftest$ac_exeext conftest.$ac_ext
46869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46871 if test `eval echo '${'$as_ac_var'}'` = yes; then
46872 cat >>confdefs.h <<_ACEOF
46873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46874 _ACEOF
46877 done
46889 echo "$as_me:$LINENO: checking for expf declaration" >&5
46890 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46891 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46892 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46893 echo $ECHO_N "(cached) $ECHO_C" >&6
46894 else
46898 ac_ext=cc
46899 ac_cpp='$CXXCPP $CPPFLAGS'
46900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46904 cat >conftest.$ac_ext <<_ACEOF
46905 /* confdefs.h. */
46906 _ACEOF
46907 cat confdefs.h >>conftest.$ac_ext
46908 cat >>conftest.$ac_ext <<_ACEOF
46909 /* end confdefs.h. */
46910 #include <math.h>
46911 #ifdef HAVE_IEEEFP_H
46912 #include <ieeefp.h>
46913 #endif
46916 main ()
46918 expf(0);
46920 return 0;
46922 _ACEOF
46923 rm -f conftest.$ac_objext
46924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46925 (eval $ac_compile) 2>conftest.er1
46926 ac_status=$?
46927 grep -v '^ *+' conftest.er1 >conftest.err
46928 rm -f conftest.er1
46929 cat conftest.err >&5
46930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46931 (exit $ac_status); } &&
46932 { ac_try='test -z "$ac_cxx_werror_flag"
46933 || test ! -s conftest.err'
46934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46935 (eval $ac_try) 2>&5
46936 ac_status=$?
46937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46938 (exit $ac_status); }; } &&
46939 { ac_try='test -s conftest.$ac_objext'
46940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46941 (eval $ac_try) 2>&5
46942 ac_status=$?
46943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46944 (exit $ac_status); }; }; then
46945 glibcxx_cv_func_expf_use=yes
46946 else
46947 echo "$as_me: failed program was:" >&5
46948 sed 's/^/| /' conftest.$ac_ext >&5
46950 glibcxx_cv_func_expf_use=no
46952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46953 ac_ext=c
46954 ac_cpp='$CPP $CPPFLAGS'
46955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
46964 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
46966 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46968 for ac_func in expf
46970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46971 echo "$as_me:$LINENO: checking for $ac_func" >&5
46972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46973 if eval "test \"\${$as_ac_var+set}\" = set"; then
46974 echo $ECHO_N "(cached) $ECHO_C" >&6
46975 else
46976 if test x$gcc_no_link = xyes; then
46977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46979 { (exit 1); exit 1; }; }
46981 cat >conftest.$ac_ext <<_ACEOF
46982 /* confdefs.h. */
46983 _ACEOF
46984 cat confdefs.h >>conftest.$ac_ext
46985 cat >>conftest.$ac_ext <<_ACEOF
46986 /* end confdefs.h. */
46987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46989 #define $ac_func innocuous_$ac_func
46991 /* System header to define __stub macros and hopefully few prototypes,
46992 which can conflict with char $ac_func (); below.
46993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46994 <limits.h> exists even on freestanding compilers. */
46996 #ifdef __STDC__
46997 # include <limits.h>
46998 #else
46999 # include <assert.h>
47000 #endif
47002 #undef $ac_func
47004 /* Override any gcc2 internal prototype to avoid an error. */
47005 #ifdef __cplusplus
47006 extern "C"
47008 #endif
47009 /* We use char because int might match the return type of a gcc2
47010 builtin and then its argument prototype would still apply. */
47011 char $ac_func ();
47012 /* The GNU C library defines this for functions which it implements
47013 to always fail with ENOSYS. Some functions are actually named
47014 something starting with __ and the normal name is an alias. */
47015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47016 choke me
47017 #else
47018 char (*f) () = $ac_func;
47019 #endif
47020 #ifdef __cplusplus
47022 #endif
47025 main ()
47027 return f != $ac_func;
47029 return 0;
47031 _ACEOF
47032 rm -f conftest.$ac_objext conftest$ac_exeext
47033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47034 (eval $ac_link) 2>conftest.er1
47035 ac_status=$?
47036 grep -v '^ *+' conftest.er1 >conftest.err
47037 rm -f conftest.er1
47038 cat conftest.err >&5
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); } &&
47041 { ac_try='test -z "$ac_c_werror_flag"
47042 || test ! -s conftest.err'
47043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47044 (eval $ac_try) 2>&5
47045 ac_status=$?
47046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47047 (exit $ac_status); }; } &&
47048 { ac_try='test -s conftest$ac_exeext'
47049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47050 (eval $ac_try) 2>&5
47051 ac_status=$?
47052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47053 (exit $ac_status); }; }; then
47054 eval "$as_ac_var=yes"
47055 else
47056 echo "$as_me: failed program was:" >&5
47057 sed 's/^/| /' conftest.$ac_ext >&5
47059 eval "$as_ac_var=no"
47061 rm -f conftest.err conftest.$ac_objext \
47062 conftest$ac_exeext conftest.$ac_ext
47064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47066 if test `eval echo '${'$as_ac_var'}'` = yes; then
47067 cat >>confdefs.h <<_ACEOF
47068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47069 _ACEOF
47072 done
47074 else
47076 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47077 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47078 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47079 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47080 echo $ECHO_N "(cached) $ECHO_C" >&6
47081 else
47085 ac_ext=cc
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47091 cat >conftest.$ac_ext <<_ACEOF
47092 /* confdefs.h. */
47093 _ACEOF
47094 cat confdefs.h >>conftest.$ac_ext
47095 cat >>conftest.$ac_ext <<_ACEOF
47096 /* end confdefs.h. */
47097 #include <math.h>
47098 #ifdef HAVE_IEEEFP_H
47099 #include <ieeefp.h>
47100 #endif
47103 main ()
47105 _expf(0);
47107 return 0;
47109 _ACEOF
47110 rm -f conftest.$ac_objext
47111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47112 (eval $ac_compile) 2>conftest.er1
47113 ac_status=$?
47114 grep -v '^ *+' conftest.er1 >conftest.err
47115 rm -f conftest.er1
47116 cat conftest.err >&5
47117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47118 (exit $ac_status); } &&
47119 { ac_try='test -z "$ac_cxx_werror_flag"
47120 || test ! -s conftest.err'
47121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47122 (eval $ac_try) 2>&5
47123 ac_status=$?
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); }; } &&
47126 { ac_try='test -s conftest.$ac_objext'
47127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47128 (eval $ac_try) 2>&5
47129 ac_status=$?
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); }; }; then
47132 glibcxx_cv_func__expf_use=yes
47133 else
47134 echo "$as_me: failed program was:" >&5
47135 sed 's/^/| /' conftest.$ac_ext >&5
47137 glibcxx_cv_func__expf_use=no
47139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47140 ac_ext=c
47141 ac_cpp='$CPP $CPPFLAGS'
47142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47151 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47153 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47155 for ac_func in _expf
47157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47158 echo "$as_me:$LINENO: checking for $ac_func" >&5
47159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47160 if eval "test \"\${$as_ac_var+set}\" = set"; then
47161 echo $ECHO_N "(cached) $ECHO_C" >&6
47162 else
47163 if test x$gcc_no_link = xyes; then
47164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47166 { (exit 1); exit 1; }; }
47168 cat >conftest.$ac_ext <<_ACEOF
47169 /* confdefs.h. */
47170 _ACEOF
47171 cat confdefs.h >>conftest.$ac_ext
47172 cat >>conftest.$ac_ext <<_ACEOF
47173 /* end confdefs.h. */
47174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47176 #define $ac_func innocuous_$ac_func
47178 /* System header to define __stub macros and hopefully few prototypes,
47179 which can conflict with char $ac_func (); below.
47180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47181 <limits.h> exists even on freestanding compilers. */
47183 #ifdef __STDC__
47184 # include <limits.h>
47185 #else
47186 # include <assert.h>
47187 #endif
47189 #undef $ac_func
47191 /* Override any gcc2 internal prototype to avoid an error. */
47192 #ifdef __cplusplus
47193 extern "C"
47195 #endif
47196 /* We use char because int might match the return type of a gcc2
47197 builtin and then its argument prototype would still apply. */
47198 char $ac_func ();
47199 /* The GNU C library defines this for functions which it implements
47200 to always fail with ENOSYS. Some functions are actually named
47201 something starting with __ and the normal name is an alias. */
47202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47203 choke me
47204 #else
47205 char (*f) () = $ac_func;
47206 #endif
47207 #ifdef __cplusplus
47209 #endif
47212 main ()
47214 return f != $ac_func;
47216 return 0;
47218 _ACEOF
47219 rm -f conftest.$ac_objext conftest$ac_exeext
47220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47221 (eval $ac_link) 2>conftest.er1
47222 ac_status=$?
47223 grep -v '^ *+' conftest.er1 >conftest.err
47224 rm -f conftest.er1
47225 cat conftest.err >&5
47226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47227 (exit $ac_status); } &&
47228 { ac_try='test -z "$ac_c_werror_flag"
47229 || test ! -s conftest.err'
47230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47231 (eval $ac_try) 2>&5
47232 ac_status=$?
47233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47234 (exit $ac_status); }; } &&
47235 { ac_try='test -s conftest$ac_exeext'
47236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47237 (eval $ac_try) 2>&5
47238 ac_status=$?
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); }; }; then
47241 eval "$as_ac_var=yes"
47242 else
47243 echo "$as_me: failed program was:" >&5
47244 sed 's/^/| /' conftest.$ac_ext >&5
47246 eval "$as_ac_var=no"
47248 rm -f conftest.err conftest.$ac_objext \
47249 conftest$ac_exeext conftest.$ac_ext
47251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47253 if test `eval echo '${'$as_ac_var'}'` = yes; then
47254 cat >>confdefs.h <<_ACEOF
47255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47256 _ACEOF
47259 done
47269 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47270 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47271 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47272 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47273 echo $ECHO_N "(cached) $ECHO_C" >&6
47274 else
47278 ac_ext=cc
47279 ac_cpp='$CXXCPP $CPPFLAGS'
47280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47284 cat >conftest.$ac_ext <<_ACEOF
47285 /* confdefs.h. */
47286 _ACEOF
47287 cat confdefs.h >>conftest.$ac_ext
47288 cat >>conftest.$ac_ext <<_ACEOF
47289 /* end confdefs.h. */
47290 #include <math.h>
47291 #ifdef HAVE_IEEEFP_H
47292 #include <ieeefp.h>
47293 #endif
47296 main ()
47298 isnanf(0);
47300 return 0;
47302 _ACEOF
47303 rm -f conftest.$ac_objext
47304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47305 (eval $ac_compile) 2>conftest.er1
47306 ac_status=$?
47307 grep -v '^ *+' conftest.er1 >conftest.err
47308 rm -f conftest.er1
47309 cat conftest.err >&5
47310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47311 (exit $ac_status); } &&
47312 { ac_try='test -z "$ac_cxx_werror_flag"
47313 || test ! -s conftest.err'
47314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47315 (eval $ac_try) 2>&5
47316 ac_status=$?
47317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47318 (exit $ac_status); }; } &&
47319 { ac_try='test -s conftest.$ac_objext'
47320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47321 (eval $ac_try) 2>&5
47322 ac_status=$?
47323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47324 (exit $ac_status); }; }; then
47325 glibcxx_cv_func_isnanf_use=yes
47326 else
47327 echo "$as_me: failed program was:" >&5
47328 sed 's/^/| /' conftest.$ac_ext >&5
47330 glibcxx_cv_func_isnanf_use=no
47332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47333 ac_ext=c
47334 ac_cpp='$CPP $CPPFLAGS'
47335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47344 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47346 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47348 for ac_func in isnanf
47350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47351 echo "$as_me:$LINENO: checking for $ac_func" >&5
47352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47353 if eval "test \"\${$as_ac_var+set}\" = set"; then
47354 echo $ECHO_N "(cached) $ECHO_C" >&6
47355 else
47356 if test x$gcc_no_link = xyes; then
47357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47359 { (exit 1); exit 1; }; }
47361 cat >conftest.$ac_ext <<_ACEOF
47362 /* confdefs.h. */
47363 _ACEOF
47364 cat confdefs.h >>conftest.$ac_ext
47365 cat >>conftest.$ac_ext <<_ACEOF
47366 /* end confdefs.h. */
47367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47369 #define $ac_func innocuous_$ac_func
47371 /* System header to define __stub macros and hopefully few prototypes,
47372 which can conflict with char $ac_func (); below.
47373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47374 <limits.h> exists even on freestanding compilers. */
47376 #ifdef __STDC__
47377 # include <limits.h>
47378 #else
47379 # include <assert.h>
47380 #endif
47382 #undef $ac_func
47384 /* Override any gcc2 internal prototype to avoid an error. */
47385 #ifdef __cplusplus
47386 extern "C"
47388 #endif
47389 /* We use char because int might match the return type of a gcc2
47390 builtin and then its argument prototype would still apply. */
47391 char $ac_func ();
47392 /* The GNU C library defines this for functions which it implements
47393 to always fail with ENOSYS. Some functions are actually named
47394 something starting with __ and the normal name is an alias. */
47395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47396 choke me
47397 #else
47398 char (*f) () = $ac_func;
47399 #endif
47400 #ifdef __cplusplus
47402 #endif
47405 main ()
47407 return f != $ac_func;
47409 return 0;
47411 _ACEOF
47412 rm -f conftest.$ac_objext conftest$ac_exeext
47413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47414 (eval $ac_link) 2>conftest.er1
47415 ac_status=$?
47416 grep -v '^ *+' conftest.er1 >conftest.err
47417 rm -f conftest.er1
47418 cat conftest.err >&5
47419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47420 (exit $ac_status); } &&
47421 { ac_try='test -z "$ac_c_werror_flag"
47422 || test ! -s conftest.err'
47423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47424 (eval $ac_try) 2>&5
47425 ac_status=$?
47426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47427 (exit $ac_status); }; } &&
47428 { ac_try='test -s conftest$ac_exeext'
47429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47430 (eval $ac_try) 2>&5
47431 ac_status=$?
47432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47433 (exit $ac_status); }; }; then
47434 eval "$as_ac_var=yes"
47435 else
47436 echo "$as_me: failed program was:" >&5
47437 sed 's/^/| /' conftest.$ac_ext >&5
47439 eval "$as_ac_var=no"
47441 rm -f conftest.err conftest.$ac_objext \
47442 conftest$ac_exeext conftest.$ac_ext
47444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47446 if test `eval echo '${'$as_ac_var'}'` = yes; then
47447 cat >>confdefs.h <<_ACEOF
47448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47449 _ACEOF
47452 done
47454 else
47456 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47457 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47458 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47459 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47460 echo $ECHO_N "(cached) $ECHO_C" >&6
47461 else
47465 ac_ext=cc
47466 ac_cpp='$CXXCPP $CPPFLAGS'
47467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47471 cat >conftest.$ac_ext <<_ACEOF
47472 /* confdefs.h. */
47473 _ACEOF
47474 cat confdefs.h >>conftest.$ac_ext
47475 cat >>conftest.$ac_ext <<_ACEOF
47476 /* end confdefs.h. */
47477 #include <math.h>
47478 #ifdef HAVE_IEEEFP_H
47479 #include <ieeefp.h>
47480 #endif
47483 main ()
47485 _isnanf(0);
47487 return 0;
47489 _ACEOF
47490 rm -f conftest.$ac_objext
47491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47492 (eval $ac_compile) 2>conftest.er1
47493 ac_status=$?
47494 grep -v '^ *+' conftest.er1 >conftest.err
47495 rm -f conftest.er1
47496 cat conftest.err >&5
47497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47498 (exit $ac_status); } &&
47499 { ac_try='test -z "$ac_cxx_werror_flag"
47500 || test ! -s conftest.err'
47501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47502 (eval $ac_try) 2>&5
47503 ac_status=$?
47504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47505 (exit $ac_status); }; } &&
47506 { ac_try='test -s conftest.$ac_objext'
47507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47508 (eval $ac_try) 2>&5
47509 ac_status=$?
47510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47511 (exit $ac_status); }; }; then
47512 glibcxx_cv_func__isnanf_use=yes
47513 else
47514 echo "$as_me: failed program was:" >&5
47515 sed 's/^/| /' conftest.$ac_ext >&5
47517 glibcxx_cv_func__isnanf_use=no
47519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47520 ac_ext=c
47521 ac_cpp='$CPP $CPPFLAGS'
47522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47531 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47533 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47535 for ac_func in _isnanf
47537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47538 echo "$as_me:$LINENO: checking for $ac_func" >&5
47539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47540 if eval "test \"\${$as_ac_var+set}\" = set"; then
47541 echo $ECHO_N "(cached) $ECHO_C" >&6
47542 else
47543 if test x$gcc_no_link = xyes; then
47544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47546 { (exit 1); exit 1; }; }
47548 cat >conftest.$ac_ext <<_ACEOF
47549 /* confdefs.h. */
47550 _ACEOF
47551 cat confdefs.h >>conftest.$ac_ext
47552 cat >>conftest.$ac_ext <<_ACEOF
47553 /* end confdefs.h. */
47554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47556 #define $ac_func innocuous_$ac_func
47558 /* System header to define __stub macros and hopefully few prototypes,
47559 which can conflict with char $ac_func (); below.
47560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47561 <limits.h> exists even on freestanding compilers. */
47563 #ifdef __STDC__
47564 # include <limits.h>
47565 #else
47566 # include <assert.h>
47567 #endif
47569 #undef $ac_func
47571 /* Override any gcc2 internal prototype to avoid an error. */
47572 #ifdef __cplusplus
47573 extern "C"
47575 #endif
47576 /* We use char because int might match the return type of a gcc2
47577 builtin and then its argument prototype would still apply. */
47578 char $ac_func ();
47579 /* The GNU C library defines this for functions which it implements
47580 to always fail with ENOSYS. Some functions are actually named
47581 something starting with __ and the normal name is an alias. */
47582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47583 choke me
47584 #else
47585 char (*f) () = $ac_func;
47586 #endif
47587 #ifdef __cplusplus
47589 #endif
47592 main ()
47594 return f != $ac_func;
47596 return 0;
47598 _ACEOF
47599 rm -f conftest.$ac_objext conftest$ac_exeext
47600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47601 (eval $ac_link) 2>conftest.er1
47602 ac_status=$?
47603 grep -v '^ *+' conftest.er1 >conftest.err
47604 rm -f conftest.er1
47605 cat conftest.err >&5
47606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47607 (exit $ac_status); } &&
47608 { ac_try='test -z "$ac_c_werror_flag"
47609 || test ! -s conftest.err'
47610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47611 (eval $ac_try) 2>&5
47612 ac_status=$?
47613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47614 (exit $ac_status); }; } &&
47615 { ac_try='test -s conftest$ac_exeext'
47616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47617 (eval $ac_try) 2>&5
47618 ac_status=$?
47619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47620 (exit $ac_status); }; }; then
47621 eval "$as_ac_var=yes"
47622 else
47623 echo "$as_me: failed program was:" >&5
47624 sed 's/^/| /' conftest.$ac_ext >&5
47626 eval "$as_ac_var=no"
47628 rm -f conftest.err conftest.$ac_objext \
47629 conftest$ac_exeext conftest.$ac_ext
47631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47633 if test `eval echo '${'$as_ac_var'}'` = yes; then
47634 cat >>confdefs.h <<_ACEOF
47635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47636 _ACEOF
47639 done
47649 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47650 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47651 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47652 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47653 echo $ECHO_N "(cached) $ECHO_C" >&6
47654 else
47658 ac_ext=cc
47659 ac_cpp='$CXXCPP $CPPFLAGS'
47660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47664 cat >conftest.$ac_ext <<_ACEOF
47665 /* confdefs.h. */
47666 _ACEOF
47667 cat confdefs.h >>conftest.$ac_ext
47668 cat >>conftest.$ac_ext <<_ACEOF
47669 /* end confdefs.h. */
47670 #include <math.h>
47671 #ifdef HAVE_IEEEFP_H
47672 #include <ieeefp.h>
47673 #endif
47676 main ()
47678 isinff(0);
47680 return 0;
47682 _ACEOF
47683 rm -f conftest.$ac_objext
47684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47685 (eval $ac_compile) 2>conftest.er1
47686 ac_status=$?
47687 grep -v '^ *+' conftest.er1 >conftest.err
47688 rm -f conftest.er1
47689 cat conftest.err >&5
47690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47691 (exit $ac_status); } &&
47692 { ac_try='test -z "$ac_cxx_werror_flag"
47693 || test ! -s conftest.err'
47694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47695 (eval $ac_try) 2>&5
47696 ac_status=$?
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); }; } &&
47699 { ac_try='test -s conftest.$ac_objext'
47700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47701 (eval $ac_try) 2>&5
47702 ac_status=$?
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); }; }; then
47705 glibcxx_cv_func_isinff_use=yes
47706 else
47707 echo "$as_me: failed program was:" >&5
47708 sed 's/^/| /' conftest.$ac_ext >&5
47710 glibcxx_cv_func_isinff_use=no
47712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47713 ac_ext=c
47714 ac_cpp='$CPP $CPPFLAGS'
47715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47724 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47726 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47728 for ac_func in isinff
47730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47731 echo "$as_me:$LINENO: checking for $ac_func" >&5
47732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47733 if eval "test \"\${$as_ac_var+set}\" = set"; then
47734 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 else
47736 if test x$gcc_no_link = xyes; then
47737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47739 { (exit 1); exit 1; }; }
47741 cat >conftest.$ac_ext <<_ACEOF
47742 /* confdefs.h. */
47743 _ACEOF
47744 cat confdefs.h >>conftest.$ac_ext
47745 cat >>conftest.$ac_ext <<_ACEOF
47746 /* end confdefs.h. */
47747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47749 #define $ac_func innocuous_$ac_func
47751 /* System header to define __stub macros and hopefully few prototypes,
47752 which can conflict with char $ac_func (); below.
47753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47754 <limits.h> exists even on freestanding compilers. */
47756 #ifdef __STDC__
47757 # include <limits.h>
47758 #else
47759 # include <assert.h>
47760 #endif
47762 #undef $ac_func
47764 /* Override any gcc2 internal prototype to avoid an error. */
47765 #ifdef __cplusplus
47766 extern "C"
47768 #endif
47769 /* We use char because int might match the return type of a gcc2
47770 builtin and then its argument prototype would still apply. */
47771 char $ac_func ();
47772 /* The GNU C library defines this for functions which it implements
47773 to always fail with ENOSYS. Some functions are actually named
47774 something starting with __ and the normal name is an alias. */
47775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47776 choke me
47777 #else
47778 char (*f) () = $ac_func;
47779 #endif
47780 #ifdef __cplusplus
47782 #endif
47785 main ()
47787 return f != $ac_func;
47789 return 0;
47791 _ACEOF
47792 rm -f conftest.$ac_objext conftest$ac_exeext
47793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47794 (eval $ac_link) 2>conftest.er1
47795 ac_status=$?
47796 grep -v '^ *+' conftest.er1 >conftest.err
47797 rm -f conftest.er1
47798 cat conftest.err >&5
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); } &&
47801 { ac_try='test -z "$ac_c_werror_flag"
47802 || test ! -s conftest.err'
47803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47804 (eval $ac_try) 2>&5
47805 ac_status=$?
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); }; } &&
47808 { ac_try='test -s conftest$ac_exeext'
47809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47810 (eval $ac_try) 2>&5
47811 ac_status=$?
47812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47813 (exit $ac_status); }; }; then
47814 eval "$as_ac_var=yes"
47815 else
47816 echo "$as_me: failed program was:" >&5
47817 sed 's/^/| /' conftest.$ac_ext >&5
47819 eval "$as_ac_var=no"
47821 rm -f conftest.err conftest.$ac_objext \
47822 conftest$ac_exeext conftest.$ac_ext
47824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47826 if test `eval echo '${'$as_ac_var'}'` = yes; then
47827 cat >>confdefs.h <<_ACEOF
47828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47829 _ACEOF
47832 done
47834 else
47836 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47837 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47838 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47839 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47841 else
47845 ac_ext=cc
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat >conftest.$ac_ext <<_ACEOF
47852 /* confdefs.h. */
47853 _ACEOF
47854 cat confdefs.h >>conftest.$ac_ext
47855 cat >>conftest.$ac_ext <<_ACEOF
47856 /* end confdefs.h. */
47857 #include <math.h>
47858 #ifdef HAVE_IEEEFP_H
47859 #include <ieeefp.h>
47860 #endif
47863 main ()
47865 _isinff(0);
47867 return 0;
47869 _ACEOF
47870 rm -f conftest.$ac_objext
47871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47872 (eval $ac_compile) 2>conftest.er1
47873 ac_status=$?
47874 grep -v '^ *+' conftest.er1 >conftest.err
47875 rm -f conftest.er1
47876 cat conftest.err >&5
47877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47878 (exit $ac_status); } &&
47879 { ac_try='test -z "$ac_cxx_werror_flag"
47880 || test ! -s conftest.err'
47881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47882 (eval $ac_try) 2>&5
47883 ac_status=$?
47884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47885 (exit $ac_status); }; } &&
47886 { ac_try='test -s conftest.$ac_objext'
47887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47888 (eval $ac_try) 2>&5
47889 ac_status=$?
47890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47891 (exit $ac_status); }; }; then
47892 glibcxx_cv_func__isinff_use=yes
47893 else
47894 echo "$as_me: failed program was:" >&5
47895 sed 's/^/| /' conftest.$ac_ext >&5
47897 glibcxx_cv_func__isinff_use=no
47899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47900 ac_ext=c
47901 ac_cpp='$CPP $CPPFLAGS'
47902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47910 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47911 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47913 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47915 for ac_func in _isinff
47917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47918 echo "$as_me:$LINENO: checking for $ac_func" >&5
47919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47920 if eval "test \"\${$as_ac_var+set}\" = set"; then
47921 echo $ECHO_N "(cached) $ECHO_C" >&6
47922 else
47923 if test x$gcc_no_link = xyes; then
47924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47926 { (exit 1); exit 1; }; }
47928 cat >conftest.$ac_ext <<_ACEOF
47929 /* confdefs.h. */
47930 _ACEOF
47931 cat confdefs.h >>conftest.$ac_ext
47932 cat >>conftest.$ac_ext <<_ACEOF
47933 /* end confdefs.h. */
47934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47936 #define $ac_func innocuous_$ac_func
47938 /* System header to define __stub macros and hopefully few prototypes,
47939 which can conflict with char $ac_func (); below.
47940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47941 <limits.h> exists even on freestanding compilers. */
47943 #ifdef __STDC__
47944 # include <limits.h>
47945 #else
47946 # include <assert.h>
47947 #endif
47949 #undef $ac_func
47951 /* Override any gcc2 internal prototype to avoid an error. */
47952 #ifdef __cplusplus
47953 extern "C"
47955 #endif
47956 /* We use char because int might match the return type of a gcc2
47957 builtin and then its argument prototype would still apply. */
47958 char $ac_func ();
47959 /* The GNU C library defines this for functions which it implements
47960 to always fail with ENOSYS. Some functions are actually named
47961 something starting with __ and the normal name is an alias. */
47962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47963 choke me
47964 #else
47965 char (*f) () = $ac_func;
47966 #endif
47967 #ifdef __cplusplus
47969 #endif
47972 main ()
47974 return f != $ac_func;
47976 return 0;
47978 _ACEOF
47979 rm -f conftest.$ac_objext conftest$ac_exeext
47980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47981 (eval $ac_link) 2>conftest.er1
47982 ac_status=$?
47983 grep -v '^ *+' conftest.er1 >conftest.err
47984 rm -f conftest.er1
47985 cat conftest.err >&5
47986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47987 (exit $ac_status); } &&
47988 { ac_try='test -z "$ac_c_werror_flag"
47989 || test ! -s conftest.err'
47990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47991 (eval $ac_try) 2>&5
47992 ac_status=$?
47993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47994 (exit $ac_status); }; } &&
47995 { ac_try='test -s conftest$ac_exeext'
47996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47997 (eval $ac_try) 2>&5
47998 ac_status=$?
47999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48000 (exit $ac_status); }; }; then
48001 eval "$as_ac_var=yes"
48002 else
48003 echo "$as_me: failed program was:" >&5
48004 sed 's/^/| /' conftest.$ac_ext >&5
48006 eval "$as_ac_var=no"
48008 rm -f conftest.err conftest.$ac_objext \
48009 conftest$ac_exeext conftest.$ac_ext
48011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48013 if test `eval echo '${'$as_ac_var'}'` = yes; then
48014 cat >>confdefs.h <<_ACEOF
48015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48016 _ACEOF
48019 done
48029 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48030 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48031 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48032 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48033 echo $ECHO_N "(cached) $ECHO_C" >&6
48034 else
48038 ac_ext=cc
48039 ac_cpp='$CXXCPP $CPPFLAGS'
48040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48044 cat >conftest.$ac_ext <<_ACEOF
48045 /* confdefs.h. */
48046 _ACEOF
48047 cat confdefs.h >>conftest.$ac_ext
48048 cat >>conftest.$ac_ext <<_ACEOF
48049 /* end confdefs.h. */
48050 #include <math.h>
48052 main ()
48054 atan2f(0, 0);
48056 return 0;
48058 _ACEOF
48059 rm -f conftest.$ac_objext
48060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48061 (eval $ac_compile) 2>conftest.er1
48062 ac_status=$?
48063 grep -v '^ *+' conftest.er1 >conftest.err
48064 rm -f conftest.er1
48065 cat conftest.err >&5
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); } &&
48068 { ac_try='test -z "$ac_cxx_werror_flag"
48069 || test ! -s conftest.err'
48070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48071 (eval $ac_try) 2>&5
48072 ac_status=$?
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); }; } &&
48075 { ac_try='test -s conftest.$ac_objext'
48076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48077 (eval $ac_try) 2>&5
48078 ac_status=$?
48079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48080 (exit $ac_status); }; }; then
48081 glibcxx_cv_func_atan2f_use=yes
48082 else
48083 echo "$as_me: failed program was:" >&5
48084 sed 's/^/| /' conftest.$ac_ext >&5
48086 glibcxx_cv_func_atan2f_use=no
48088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48089 ac_ext=c
48090 ac_cpp='$CPP $CPPFLAGS'
48091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48100 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48102 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48104 for ac_func in atan2f
48106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48107 echo "$as_me:$LINENO: checking for $ac_func" >&5
48108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48109 if eval "test \"\${$as_ac_var+set}\" = set"; then
48110 echo $ECHO_N "(cached) $ECHO_C" >&6
48111 else
48112 if test x$gcc_no_link = xyes; then
48113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48115 { (exit 1); exit 1; }; }
48117 cat >conftest.$ac_ext <<_ACEOF
48118 /* confdefs.h. */
48119 _ACEOF
48120 cat confdefs.h >>conftest.$ac_ext
48121 cat >>conftest.$ac_ext <<_ACEOF
48122 /* end confdefs.h. */
48123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48125 #define $ac_func innocuous_$ac_func
48127 /* System header to define __stub macros and hopefully few prototypes,
48128 which can conflict with char $ac_func (); below.
48129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48130 <limits.h> exists even on freestanding compilers. */
48132 #ifdef __STDC__
48133 # include <limits.h>
48134 #else
48135 # include <assert.h>
48136 #endif
48138 #undef $ac_func
48140 /* Override any gcc2 internal prototype to avoid an error. */
48141 #ifdef __cplusplus
48142 extern "C"
48144 #endif
48145 /* We use char because int might match the return type of a gcc2
48146 builtin and then its argument prototype would still apply. */
48147 char $ac_func ();
48148 /* The GNU C library defines this for functions which it implements
48149 to always fail with ENOSYS. Some functions are actually named
48150 something starting with __ and the normal name is an alias. */
48151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48152 choke me
48153 #else
48154 char (*f) () = $ac_func;
48155 #endif
48156 #ifdef __cplusplus
48158 #endif
48161 main ()
48163 return f != $ac_func;
48165 return 0;
48167 _ACEOF
48168 rm -f conftest.$ac_objext conftest$ac_exeext
48169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48170 (eval $ac_link) 2>conftest.er1
48171 ac_status=$?
48172 grep -v '^ *+' conftest.er1 >conftest.err
48173 rm -f conftest.er1
48174 cat conftest.err >&5
48175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48176 (exit $ac_status); } &&
48177 { ac_try='test -z "$ac_c_werror_flag"
48178 || test ! -s conftest.err'
48179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48180 (eval $ac_try) 2>&5
48181 ac_status=$?
48182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48183 (exit $ac_status); }; } &&
48184 { ac_try='test -s conftest$ac_exeext'
48185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48186 (eval $ac_try) 2>&5
48187 ac_status=$?
48188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48189 (exit $ac_status); }; }; then
48190 eval "$as_ac_var=yes"
48191 else
48192 echo "$as_me: failed program was:" >&5
48193 sed 's/^/| /' conftest.$ac_ext >&5
48195 eval "$as_ac_var=no"
48197 rm -f conftest.err conftest.$ac_objext \
48198 conftest$ac_exeext conftest.$ac_ext
48200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48202 if test `eval echo '${'$as_ac_var'}'` = yes; then
48203 cat >>confdefs.h <<_ACEOF
48204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48205 _ACEOF
48208 done
48210 else
48212 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48213 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48214 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48215 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48216 echo $ECHO_N "(cached) $ECHO_C" >&6
48217 else
48221 ac_ext=cc
48222 ac_cpp='$CXXCPP $CPPFLAGS'
48223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48227 cat >conftest.$ac_ext <<_ACEOF
48228 /* confdefs.h. */
48229 _ACEOF
48230 cat confdefs.h >>conftest.$ac_ext
48231 cat >>conftest.$ac_ext <<_ACEOF
48232 /* end confdefs.h. */
48233 #include <math.h>
48235 main ()
48237 _atan2f(0, 0);
48239 return 0;
48241 _ACEOF
48242 rm -f conftest.$ac_objext
48243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48244 (eval $ac_compile) 2>conftest.er1
48245 ac_status=$?
48246 grep -v '^ *+' conftest.er1 >conftest.err
48247 rm -f conftest.er1
48248 cat conftest.err >&5
48249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48250 (exit $ac_status); } &&
48251 { ac_try='test -z "$ac_cxx_werror_flag"
48252 || test ! -s conftest.err'
48253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48254 (eval $ac_try) 2>&5
48255 ac_status=$?
48256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48257 (exit $ac_status); }; } &&
48258 { ac_try='test -s conftest.$ac_objext'
48259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48260 (eval $ac_try) 2>&5
48261 ac_status=$?
48262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48263 (exit $ac_status); }; }; then
48264 glibcxx_cv_func__atan2f_use=yes
48265 else
48266 echo "$as_me: failed program was:" >&5
48267 sed 's/^/| /' conftest.$ac_ext >&5
48269 glibcxx_cv_func__atan2f_use=no
48271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48272 ac_ext=c
48273 ac_cpp='$CPP $CPPFLAGS'
48274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48283 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48285 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48287 for ac_func in _atan2f
48289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48290 echo "$as_me:$LINENO: checking for $ac_func" >&5
48291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48292 if eval "test \"\${$as_ac_var+set}\" = set"; then
48293 echo $ECHO_N "(cached) $ECHO_C" >&6
48294 else
48295 if test x$gcc_no_link = xyes; then
48296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48298 { (exit 1); exit 1; }; }
48300 cat >conftest.$ac_ext <<_ACEOF
48301 /* confdefs.h. */
48302 _ACEOF
48303 cat confdefs.h >>conftest.$ac_ext
48304 cat >>conftest.$ac_ext <<_ACEOF
48305 /* end confdefs.h. */
48306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48308 #define $ac_func innocuous_$ac_func
48310 /* System header to define __stub macros and hopefully few prototypes,
48311 which can conflict with char $ac_func (); below.
48312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48313 <limits.h> exists even on freestanding compilers. */
48315 #ifdef __STDC__
48316 # include <limits.h>
48317 #else
48318 # include <assert.h>
48319 #endif
48321 #undef $ac_func
48323 /* Override any gcc2 internal prototype to avoid an error. */
48324 #ifdef __cplusplus
48325 extern "C"
48327 #endif
48328 /* We use char because int might match the return type of a gcc2
48329 builtin and then its argument prototype would still apply. */
48330 char $ac_func ();
48331 /* The GNU C library defines this for functions which it implements
48332 to always fail with ENOSYS. Some functions are actually named
48333 something starting with __ and the normal name is an alias. */
48334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48335 choke me
48336 #else
48337 char (*f) () = $ac_func;
48338 #endif
48339 #ifdef __cplusplus
48341 #endif
48344 main ()
48346 return f != $ac_func;
48348 return 0;
48350 _ACEOF
48351 rm -f conftest.$ac_objext conftest$ac_exeext
48352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48353 (eval $ac_link) 2>conftest.er1
48354 ac_status=$?
48355 grep -v '^ *+' conftest.er1 >conftest.err
48356 rm -f conftest.er1
48357 cat conftest.err >&5
48358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48359 (exit $ac_status); } &&
48360 { ac_try='test -z "$ac_c_werror_flag"
48361 || test ! -s conftest.err'
48362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48363 (eval $ac_try) 2>&5
48364 ac_status=$?
48365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48366 (exit $ac_status); }; } &&
48367 { ac_try='test -s conftest$ac_exeext'
48368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48369 (eval $ac_try) 2>&5
48370 ac_status=$?
48371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48372 (exit $ac_status); }; }; then
48373 eval "$as_ac_var=yes"
48374 else
48375 echo "$as_me: failed program was:" >&5
48376 sed 's/^/| /' conftest.$ac_ext >&5
48378 eval "$as_ac_var=no"
48380 rm -f conftest.err conftest.$ac_objext \
48381 conftest$ac_exeext conftest.$ac_ext
48383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48385 if test `eval echo '${'$as_ac_var'}'` = yes; then
48386 cat >>confdefs.h <<_ACEOF
48387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48388 _ACEOF
48391 done
48401 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48402 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48403 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48404 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48405 echo $ECHO_N "(cached) $ECHO_C" >&6
48406 else
48410 ac_ext=cc
48411 ac_cpp='$CXXCPP $CPPFLAGS'
48412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48416 cat >conftest.$ac_ext <<_ACEOF
48417 /* confdefs.h. */
48418 _ACEOF
48419 cat confdefs.h >>conftest.$ac_ext
48420 cat >>conftest.$ac_ext <<_ACEOF
48421 /* end confdefs.h. */
48422 #include <math.h>
48423 #ifdef HAVE_IEEEFP_H
48424 #include <ieeefp.h>
48425 #endif
48428 main ()
48430 fabsf(0);
48432 return 0;
48434 _ACEOF
48435 rm -f conftest.$ac_objext
48436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48437 (eval $ac_compile) 2>conftest.er1
48438 ac_status=$?
48439 grep -v '^ *+' conftest.er1 >conftest.err
48440 rm -f conftest.er1
48441 cat conftest.err >&5
48442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48443 (exit $ac_status); } &&
48444 { ac_try='test -z "$ac_cxx_werror_flag"
48445 || test ! -s conftest.err'
48446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48447 (eval $ac_try) 2>&5
48448 ac_status=$?
48449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48450 (exit $ac_status); }; } &&
48451 { ac_try='test -s conftest.$ac_objext'
48452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48453 (eval $ac_try) 2>&5
48454 ac_status=$?
48455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456 (exit $ac_status); }; }; then
48457 glibcxx_cv_func_fabsf_use=yes
48458 else
48459 echo "$as_me: failed program was:" >&5
48460 sed 's/^/| /' conftest.$ac_ext >&5
48462 glibcxx_cv_func_fabsf_use=no
48464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48465 ac_ext=c
48466 ac_cpp='$CPP $CPPFLAGS'
48467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48476 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48478 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48480 for ac_func in fabsf
48482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48483 echo "$as_me:$LINENO: checking for $ac_func" >&5
48484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48485 if eval "test \"\${$as_ac_var+set}\" = set"; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488 if test x$gcc_no_link = xyes; then
48489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48491 { (exit 1); exit 1; }; }
48493 cat >conftest.$ac_ext <<_ACEOF
48494 /* confdefs.h. */
48495 _ACEOF
48496 cat confdefs.h >>conftest.$ac_ext
48497 cat >>conftest.$ac_ext <<_ACEOF
48498 /* end confdefs.h. */
48499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48501 #define $ac_func innocuous_$ac_func
48503 /* System header to define __stub macros and hopefully few prototypes,
48504 which can conflict with char $ac_func (); below.
48505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48506 <limits.h> exists even on freestanding compilers. */
48508 #ifdef __STDC__
48509 # include <limits.h>
48510 #else
48511 # include <assert.h>
48512 #endif
48514 #undef $ac_func
48516 /* Override any gcc2 internal prototype to avoid an error. */
48517 #ifdef __cplusplus
48518 extern "C"
48520 #endif
48521 /* We use char because int might match the return type of a gcc2
48522 builtin and then its argument prototype would still apply. */
48523 char $ac_func ();
48524 /* The GNU C library defines this for functions which it implements
48525 to always fail with ENOSYS. Some functions are actually named
48526 something starting with __ and the normal name is an alias. */
48527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48528 choke me
48529 #else
48530 char (*f) () = $ac_func;
48531 #endif
48532 #ifdef __cplusplus
48534 #endif
48537 main ()
48539 return f != $ac_func;
48541 return 0;
48543 _ACEOF
48544 rm -f conftest.$ac_objext conftest$ac_exeext
48545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48546 (eval $ac_link) 2>conftest.er1
48547 ac_status=$?
48548 grep -v '^ *+' conftest.er1 >conftest.err
48549 rm -f conftest.er1
48550 cat conftest.err >&5
48551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48552 (exit $ac_status); } &&
48553 { ac_try='test -z "$ac_c_werror_flag"
48554 || test ! -s conftest.err'
48555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48556 (eval $ac_try) 2>&5
48557 ac_status=$?
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); }; } &&
48560 { ac_try='test -s conftest$ac_exeext'
48561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48562 (eval $ac_try) 2>&5
48563 ac_status=$?
48564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48565 (exit $ac_status); }; }; then
48566 eval "$as_ac_var=yes"
48567 else
48568 echo "$as_me: failed program was:" >&5
48569 sed 's/^/| /' conftest.$ac_ext >&5
48571 eval "$as_ac_var=no"
48573 rm -f conftest.err conftest.$ac_objext \
48574 conftest$ac_exeext conftest.$ac_ext
48576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48578 if test `eval echo '${'$as_ac_var'}'` = yes; then
48579 cat >>confdefs.h <<_ACEOF
48580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48581 _ACEOF
48584 done
48586 else
48588 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48589 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48590 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48591 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48592 echo $ECHO_N "(cached) $ECHO_C" >&6
48593 else
48597 ac_ext=cc
48598 ac_cpp='$CXXCPP $CPPFLAGS'
48599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48603 cat >conftest.$ac_ext <<_ACEOF
48604 /* confdefs.h. */
48605 _ACEOF
48606 cat confdefs.h >>conftest.$ac_ext
48607 cat >>conftest.$ac_ext <<_ACEOF
48608 /* end confdefs.h. */
48609 #include <math.h>
48610 #ifdef HAVE_IEEEFP_H
48611 #include <ieeefp.h>
48612 #endif
48615 main ()
48617 _fabsf(0);
48619 return 0;
48621 _ACEOF
48622 rm -f conftest.$ac_objext
48623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48624 (eval $ac_compile) 2>conftest.er1
48625 ac_status=$?
48626 grep -v '^ *+' conftest.er1 >conftest.err
48627 rm -f conftest.er1
48628 cat conftest.err >&5
48629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48630 (exit $ac_status); } &&
48631 { ac_try='test -z "$ac_cxx_werror_flag"
48632 || test ! -s conftest.err'
48633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48634 (eval $ac_try) 2>&5
48635 ac_status=$?
48636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48637 (exit $ac_status); }; } &&
48638 { ac_try='test -s conftest.$ac_objext'
48639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48640 (eval $ac_try) 2>&5
48641 ac_status=$?
48642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48643 (exit $ac_status); }; }; then
48644 glibcxx_cv_func__fabsf_use=yes
48645 else
48646 echo "$as_me: failed program was:" >&5
48647 sed 's/^/| /' conftest.$ac_ext >&5
48649 glibcxx_cv_func__fabsf_use=no
48651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48652 ac_ext=c
48653 ac_cpp='$CPP $CPPFLAGS'
48654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48662 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48663 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48665 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48667 for ac_func in _fabsf
48669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48670 echo "$as_me:$LINENO: checking for $ac_func" >&5
48671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48672 if eval "test \"\${$as_ac_var+set}\" = set"; then
48673 echo $ECHO_N "(cached) $ECHO_C" >&6
48674 else
48675 if test x$gcc_no_link = xyes; then
48676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48678 { (exit 1); exit 1; }; }
48680 cat >conftest.$ac_ext <<_ACEOF
48681 /* confdefs.h. */
48682 _ACEOF
48683 cat confdefs.h >>conftest.$ac_ext
48684 cat >>conftest.$ac_ext <<_ACEOF
48685 /* end confdefs.h. */
48686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48688 #define $ac_func innocuous_$ac_func
48690 /* System header to define __stub macros and hopefully few prototypes,
48691 which can conflict with char $ac_func (); below.
48692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48693 <limits.h> exists even on freestanding compilers. */
48695 #ifdef __STDC__
48696 # include <limits.h>
48697 #else
48698 # include <assert.h>
48699 #endif
48701 #undef $ac_func
48703 /* Override any gcc2 internal prototype to avoid an error. */
48704 #ifdef __cplusplus
48705 extern "C"
48707 #endif
48708 /* We use char because int might match the return type of a gcc2
48709 builtin and then its argument prototype would still apply. */
48710 char $ac_func ();
48711 /* The GNU C library defines this for functions which it implements
48712 to always fail with ENOSYS. Some functions are actually named
48713 something starting with __ and the normal name is an alias. */
48714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48715 choke me
48716 #else
48717 char (*f) () = $ac_func;
48718 #endif
48719 #ifdef __cplusplus
48721 #endif
48724 main ()
48726 return f != $ac_func;
48728 return 0;
48730 _ACEOF
48731 rm -f conftest.$ac_objext conftest$ac_exeext
48732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48733 (eval $ac_link) 2>conftest.er1
48734 ac_status=$?
48735 grep -v '^ *+' conftest.er1 >conftest.err
48736 rm -f conftest.er1
48737 cat conftest.err >&5
48738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48739 (exit $ac_status); } &&
48740 { ac_try='test -z "$ac_c_werror_flag"
48741 || test ! -s conftest.err'
48742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48743 (eval $ac_try) 2>&5
48744 ac_status=$?
48745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48746 (exit $ac_status); }; } &&
48747 { ac_try='test -s conftest$ac_exeext'
48748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48749 (eval $ac_try) 2>&5
48750 ac_status=$?
48751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48752 (exit $ac_status); }; }; then
48753 eval "$as_ac_var=yes"
48754 else
48755 echo "$as_me: failed program was:" >&5
48756 sed 's/^/| /' conftest.$ac_ext >&5
48758 eval "$as_ac_var=no"
48760 rm -f conftest.err conftest.$ac_objext \
48761 conftest$ac_exeext conftest.$ac_ext
48763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48765 if test `eval echo '${'$as_ac_var'}'` = yes; then
48766 cat >>confdefs.h <<_ACEOF
48767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48768 _ACEOF
48771 done
48781 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48782 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48783 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48784 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48785 echo $ECHO_N "(cached) $ECHO_C" >&6
48786 else
48790 ac_ext=cc
48791 ac_cpp='$CXXCPP $CPPFLAGS'
48792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48796 cat >conftest.$ac_ext <<_ACEOF
48797 /* confdefs.h. */
48798 _ACEOF
48799 cat confdefs.h >>conftest.$ac_ext
48800 cat >>conftest.$ac_ext <<_ACEOF
48801 /* end confdefs.h. */
48802 #include <math.h>
48804 main ()
48806 fmodf(0, 0);
48808 return 0;
48810 _ACEOF
48811 rm -f conftest.$ac_objext
48812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48813 (eval $ac_compile) 2>conftest.er1
48814 ac_status=$?
48815 grep -v '^ *+' conftest.er1 >conftest.err
48816 rm -f conftest.er1
48817 cat conftest.err >&5
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); } &&
48820 { ac_try='test -z "$ac_cxx_werror_flag"
48821 || test ! -s conftest.err'
48822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48823 (eval $ac_try) 2>&5
48824 ac_status=$?
48825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48826 (exit $ac_status); }; } &&
48827 { ac_try='test -s conftest.$ac_objext'
48828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48829 (eval $ac_try) 2>&5
48830 ac_status=$?
48831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48832 (exit $ac_status); }; }; then
48833 glibcxx_cv_func_fmodf_use=yes
48834 else
48835 echo "$as_me: failed program was:" >&5
48836 sed 's/^/| /' conftest.$ac_ext >&5
48838 glibcxx_cv_func_fmodf_use=no
48840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48841 ac_ext=c
48842 ac_cpp='$CPP $CPPFLAGS'
48843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48852 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48854 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48856 for ac_func in fmodf
48858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48859 echo "$as_me:$LINENO: checking for $ac_func" >&5
48860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48861 if eval "test \"\${$as_ac_var+set}\" = set"; then
48862 echo $ECHO_N "(cached) $ECHO_C" >&6
48863 else
48864 if test x$gcc_no_link = xyes; then
48865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48867 { (exit 1); exit 1; }; }
48869 cat >conftest.$ac_ext <<_ACEOF
48870 /* confdefs.h. */
48871 _ACEOF
48872 cat confdefs.h >>conftest.$ac_ext
48873 cat >>conftest.$ac_ext <<_ACEOF
48874 /* end confdefs.h. */
48875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48877 #define $ac_func innocuous_$ac_func
48879 /* System header to define __stub macros and hopefully few prototypes,
48880 which can conflict with char $ac_func (); below.
48881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48882 <limits.h> exists even on freestanding compilers. */
48884 #ifdef __STDC__
48885 # include <limits.h>
48886 #else
48887 # include <assert.h>
48888 #endif
48890 #undef $ac_func
48892 /* Override any gcc2 internal prototype to avoid an error. */
48893 #ifdef __cplusplus
48894 extern "C"
48896 #endif
48897 /* We use char because int might match the return type of a gcc2
48898 builtin and then its argument prototype would still apply. */
48899 char $ac_func ();
48900 /* The GNU C library defines this for functions which it implements
48901 to always fail with ENOSYS. Some functions are actually named
48902 something starting with __ and the normal name is an alias. */
48903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48904 choke me
48905 #else
48906 char (*f) () = $ac_func;
48907 #endif
48908 #ifdef __cplusplus
48910 #endif
48913 main ()
48915 return f != $ac_func;
48917 return 0;
48919 _ACEOF
48920 rm -f conftest.$ac_objext conftest$ac_exeext
48921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48922 (eval $ac_link) 2>conftest.er1
48923 ac_status=$?
48924 grep -v '^ *+' conftest.er1 >conftest.err
48925 rm -f conftest.er1
48926 cat conftest.err >&5
48927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48928 (exit $ac_status); } &&
48929 { ac_try='test -z "$ac_c_werror_flag"
48930 || test ! -s conftest.err'
48931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48932 (eval $ac_try) 2>&5
48933 ac_status=$?
48934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48935 (exit $ac_status); }; } &&
48936 { ac_try='test -s conftest$ac_exeext'
48937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48938 (eval $ac_try) 2>&5
48939 ac_status=$?
48940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48941 (exit $ac_status); }; }; then
48942 eval "$as_ac_var=yes"
48943 else
48944 echo "$as_me: failed program was:" >&5
48945 sed 's/^/| /' conftest.$ac_ext >&5
48947 eval "$as_ac_var=no"
48949 rm -f conftest.err conftest.$ac_objext \
48950 conftest$ac_exeext conftest.$ac_ext
48952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48954 if test `eval echo '${'$as_ac_var'}'` = yes; then
48955 cat >>confdefs.h <<_ACEOF
48956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48957 _ACEOF
48960 done
48962 else
48964 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
48965 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
48966 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48967 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
48968 echo $ECHO_N "(cached) $ECHO_C" >&6
48969 else
48973 ac_ext=cc
48974 ac_cpp='$CXXCPP $CPPFLAGS'
48975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48979 cat >conftest.$ac_ext <<_ACEOF
48980 /* confdefs.h. */
48981 _ACEOF
48982 cat confdefs.h >>conftest.$ac_ext
48983 cat >>conftest.$ac_ext <<_ACEOF
48984 /* end confdefs.h. */
48985 #include <math.h>
48987 main ()
48989 _fmodf(0, 0);
48991 return 0;
48993 _ACEOF
48994 rm -f conftest.$ac_objext
48995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48996 (eval $ac_compile) 2>conftest.er1
48997 ac_status=$?
48998 grep -v '^ *+' conftest.er1 >conftest.err
48999 rm -f conftest.er1
49000 cat conftest.err >&5
49001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49002 (exit $ac_status); } &&
49003 { ac_try='test -z "$ac_cxx_werror_flag"
49004 || test ! -s conftest.err'
49005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49006 (eval $ac_try) 2>&5
49007 ac_status=$?
49008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49009 (exit $ac_status); }; } &&
49010 { ac_try='test -s conftest.$ac_objext'
49011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49012 (eval $ac_try) 2>&5
49013 ac_status=$?
49014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49015 (exit $ac_status); }; }; then
49016 glibcxx_cv_func__fmodf_use=yes
49017 else
49018 echo "$as_me: failed program was:" >&5
49019 sed 's/^/| /' conftest.$ac_ext >&5
49021 glibcxx_cv_func__fmodf_use=no
49023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49024 ac_ext=c
49025 ac_cpp='$CPP $CPPFLAGS'
49026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49035 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49037 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49039 for ac_func in _fmodf
49041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49042 echo "$as_me:$LINENO: checking for $ac_func" >&5
49043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49044 if eval "test \"\${$as_ac_var+set}\" = set"; then
49045 echo $ECHO_N "(cached) $ECHO_C" >&6
49046 else
49047 if test x$gcc_no_link = xyes; then
49048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49050 { (exit 1); exit 1; }; }
49052 cat >conftest.$ac_ext <<_ACEOF
49053 /* confdefs.h. */
49054 _ACEOF
49055 cat confdefs.h >>conftest.$ac_ext
49056 cat >>conftest.$ac_ext <<_ACEOF
49057 /* end confdefs.h. */
49058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49060 #define $ac_func innocuous_$ac_func
49062 /* System header to define __stub macros and hopefully few prototypes,
49063 which can conflict with char $ac_func (); below.
49064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49065 <limits.h> exists even on freestanding compilers. */
49067 #ifdef __STDC__
49068 # include <limits.h>
49069 #else
49070 # include <assert.h>
49071 #endif
49073 #undef $ac_func
49075 /* Override any gcc2 internal prototype to avoid an error. */
49076 #ifdef __cplusplus
49077 extern "C"
49079 #endif
49080 /* We use char because int might match the return type of a gcc2
49081 builtin and then its argument prototype would still apply. */
49082 char $ac_func ();
49083 /* The GNU C library defines this for functions which it implements
49084 to always fail with ENOSYS. Some functions are actually named
49085 something starting with __ and the normal name is an alias. */
49086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49087 choke me
49088 #else
49089 char (*f) () = $ac_func;
49090 #endif
49091 #ifdef __cplusplus
49093 #endif
49096 main ()
49098 return f != $ac_func;
49100 return 0;
49102 _ACEOF
49103 rm -f conftest.$ac_objext conftest$ac_exeext
49104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49105 (eval $ac_link) 2>conftest.er1
49106 ac_status=$?
49107 grep -v '^ *+' conftest.er1 >conftest.err
49108 rm -f conftest.er1
49109 cat conftest.err >&5
49110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49111 (exit $ac_status); } &&
49112 { ac_try='test -z "$ac_c_werror_flag"
49113 || test ! -s conftest.err'
49114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49115 (eval $ac_try) 2>&5
49116 ac_status=$?
49117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49118 (exit $ac_status); }; } &&
49119 { ac_try='test -s conftest$ac_exeext'
49120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49121 (eval $ac_try) 2>&5
49122 ac_status=$?
49123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49124 (exit $ac_status); }; }; then
49125 eval "$as_ac_var=yes"
49126 else
49127 echo "$as_me: failed program was:" >&5
49128 sed 's/^/| /' conftest.$ac_ext >&5
49130 eval "$as_ac_var=no"
49132 rm -f conftest.err conftest.$ac_objext \
49133 conftest$ac_exeext conftest.$ac_ext
49135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49137 if test `eval echo '${'$as_ac_var'}'` = yes; then
49138 cat >>confdefs.h <<_ACEOF
49139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49140 _ACEOF
49143 done
49153 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49154 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49155 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49156 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49157 echo $ECHO_N "(cached) $ECHO_C" >&6
49158 else
49162 ac_ext=cc
49163 ac_cpp='$CXXCPP $CPPFLAGS'
49164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49168 cat >conftest.$ac_ext <<_ACEOF
49169 /* confdefs.h. */
49170 _ACEOF
49171 cat confdefs.h >>conftest.$ac_ext
49172 cat >>conftest.$ac_ext <<_ACEOF
49173 /* end confdefs.h. */
49174 #include <math.h>
49176 main ()
49178 frexpf(0, 0);
49180 return 0;
49182 _ACEOF
49183 rm -f conftest.$ac_objext
49184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49185 (eval $ac_compile) 2>conftest.er1
49186 ac_status=$?
49187 grep -v '^ *+' conftest.er1 >conftest.err
49188 rm -f conftest.er1
49189 cat conftest.err >&5
49190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49191 (exit $ac_status); } &&
49192 { ac_try='test -z "$ac_cxx_werror_flag"
49193 || test ! -s conftest.err'
49194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49195 (eval $ac_try) 2>&5
49196 ac_status=$?
49197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49198 (exit $ac_status); }; } &&
49199 { ac_try='test -s conftest.$ac_objext'
49200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49201 (eval $ac_try) 2>&5
49202 ac_status=$?
49203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49204 (exit $ac_status); }; }; then
49205 glibcxx_cv_func_frexpf_use=yes
49206 else
49207 echo "$as_me: failed program was:" >&5
49208 sed 's/^/| /' conftest.$ac_ext >&5
49210 glibcxx_cv_func_frexpf_use=no
49212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49213 ac_ext=c
49214 ac_cpp='$CPP $CPPFLAGS'
49215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49224 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49226 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49228 for ac_func in frexpf
49230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49231 echo "$as_me:$LINENO: checking for $ac_func" >&5
49232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49233 if eval "test \"\${$as_ac_var+set}\" = set"; then
49234 echo $ECHO_N "(cached) $ECHO_C" >&6
49235 else
49236 if test x$gcc_no_link = xyes; then
49237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49239 { (exit 1); exit 1; }; }
49241 cat >conftest.$ac_ext <<_ACEOF
49242 /* confdefs.h. */
49243 _ACEOF
49244 cat confdefs.h >>conftest.$ac_ext
49245 cat >>conftest.$ac_ext <<_ACEOF
49246 /* end confdefs.h. */
49247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49249 #define $ac_func innocuous_$ac_func
49251 /* System header to define __stub macros and hopefully few prototypes,
49252 which can conflict with char $ac_func (); below.
49253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49254 <limits.h> exists even on freestanding compilers. */
49256 #ifdef __STDC__
49257 # include <limits.h>
49258 #else
49259 # include <assert.h>
49260 #endif
49262 #undef $ac_func
49264 /* Override any gcc2 internal prototype to avoid an error. */
49265 #ifdef __cplusplus
49266 extern "C"
49268 #endif
49269 /* We use char because int might match the return type of a gcc2
49270 builtin and then its argument prototype would still apply. */
49271 char $ac_func ();
49272 /* The GNU C library defines this for functions which it implements
49273 to always fail with ENOSYS. Some functions are actually named
49274 something starting with __ and the normal name is an alias. */
49275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49276 choke me
49277 #else
49278 char (*f) () = $ac_func;
49279 #endif
49280 #ifdef __cplusplus
49282 #endif
49285 main ()
49287 return f != $ac_func;
49289 return 0;
49291 _ACEOF
49292 rm -f conftest.$ac_objext conftest$ac_exeext
49293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49294 (eval $ac_link) 2>conftest.er1
49295 ac_status=$?
49296 grep -v '^ *+' conftest.er1 >conftest.err
49297 rm -f conftest.er1
49298 cat conftest.err >&5
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); } &&
49301 { ac_try='test -z "$ac_c_werror_flag"
49302 || test ! -s conftest.err'
49303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49304 (eval $ac_try) 2>&5
49305 ac_status=$?
49306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49307 (exit $ac_status); }; } &&
49308 { ac_try='test -s conftest$ac_exeext'
49309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49310 (eval $ac_try) 2>&5
49311 ac_status=$?
49312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49313 (exit $ac_status); }; }; then
49314 eval "$as_ac_var=yes"
49315 else
49316 echo "$as_me: failed program was:" >&5
49317 sed 's/^/| /' conftest.$ac_ext >&5
49319 eval "$as_ac_var=no"
49321 rm -f conftest.err conftest.$ac_objext \
49322 conftest$ac_exeext conftest.$ac_ext
49324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49326 if test `eval echo '${'$as_ac_var'}'` = yes; then
49327 cat >>confdefs.h <<_ACEOF
49328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49329 _ACEOF
49332 done
49334 else
49336 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49337 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49338 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49339 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49340 echo $ECHO_N "(cached) $ECHO_C" >&6
49341 else
49345 ac_ext=cc
49346 ac_cpp='$CXXCPP $CPPFLAGS'
49347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49351 cat >conftest.$ac_ext <<_ACEOF
49352 /* confdefs.h. */
49353 _ACEOF
49354 cat confdefs.h >>conftest.$ac_ext
49355 cat >>conftest.$ac_ext <<_ACEOF
49356 /* end confdefs.h. */
49357 #include <math.h>
49359 main ()
49361 _frexpf(0, 0);
49363 return 0;
49365 _ACEOF
49366 rm -f conftest.$ac_objext
49367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49368 (eval $ac_compile) 2>conftest.er1
49369 ac_status=$?
49370 grep -v '^ *+' conftest.er1 >conftest.err
49371 rm -f conftest.er1
49372 cat conftest.err >&5
49373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49374 (exit $ac_status); } &&
49375 { ac_try='test -z "$ac_cxx_werror_flag"
49376 || test ! -s conftest.err'
49377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49378 (eval $ac_try) 2>&5
49379 ac_status=$?
49380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49381 (exit $ac_status); }; } &&
49382 { ac_try='test -s conftest.$ac_objext'
49383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49384 (eval $ac_try) 2>&5
49385 ac_status=$?
49386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49387 (exit $ac_status); }; }; then
49388 glibcxx_cv_func__frexpf_use=yes
49389 else
49390 echo "$as_me: failed program was:" >&5
49391 sed 's/^/| /' conftest.$ac_ext >&5
49393 glibcxx_cv_func__frexpf_use=no
49395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49396 ac_ext=c
49397 ac_cpp='$CPP $CPPFLAGS'
49398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49407 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49409 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49411 for ac_func in _frexpf
49413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49414 echo "$as_me:$LINENO: checking for $ac_func" >&5
49415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49416 if eval "test \"\${$as_ac_var+set}\" = set"; then
49417 echo $ECHO_N "(cached) $ECHO_C" >&6
49418 else
49419 if test x$gcc_no_link = xyes; then
49420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49422 { (exit 1); exit 1; }; }
49424 cat >conftest.$ac_ext <<_ACEOF
49425 /* confdefs.h. */
49426 _ACEOF
49427 cat confdefs.h >>conftest.$ac_ext
49428 cat >>conftest.$ac_ext <<_ACEOF
49429 /* end confdefs.h. */
49430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49432 #define $ac_func innocuous_$ac_func
49434 /* System header to define __stub macros and hopefully few prototypes,
49435 which can conflict with char $ac_func (); below.
49436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49437 <limits.h> exists even on freestanding compilers. */
49439 #ifdef __STDC__
49440 # include <limits.h>
49441 #else
49442 # include <assert.h>
49443 #endif
49445 #undef $ac_func
49447 /* Override any gcc2 internal prototype to avoid an error. */
49448 #ifdef __cplusplus
49449 extern "C"
49451 #endif
49452 /* We use char because int might match the return type of a gcc2
49453 builtin and then its argument prototype would still apply. */
49454 char $ac_func ();
49455 /* The GNU C library defines this for functions which it implements
49456 to always fail with ENOSYS. Some functions are actually named
49457 something starting with __ and the normal name is an alias. */
49458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49459 choke me
49460 #else
49461 char (*f) () = $ac_func;
49462 #endif
49463 #ifdef __cplusplus
49465 #endif
49468 main ()
49470 return f != $ac_func;
49472 return 0;
49474 _ACEOF
49475 rm -f conftest.$ac_objext conftest$ac_exeext
49476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49477 (eval $ac_link) 2>conftest.er1
49478 ac_status=$?
49479 grep -v '^ *+' conftest.er1 >conftest.err
49480 rm -f conftest.er1
49481 cat conftest.err >&5
49482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49483 (exit $ac_status); } &&
49484 { ac_try='test -z "$ac_c_werror_flag"
49485 || test ! -s conftest.err'
49486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49487 (eval $ac_try) 2>&5
49488 ac_status=$?
49489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49490 (exit $ac_status); }; } &&
49491 { ac_try='test -s conftest$ac_exeext'
49492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49493 (eval $ac_try) 2>&5
49494 ac_status=$?
49495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49496 (exit $ac_status); }; }; then
49497 eval "$as_ac_var=yes"
49498 else
49499 echo "$as_me: failed program was:" >&5
49500 sed 's/^/| /' conftest.$ac_ext >&5
49502 eval "$as_ac_var=no"
49504 rm -f conftest.err conftest.$ac_objext \
49505 conftest$ac_exeext conftest.$ac_ext
49507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49509 if test `eval echo '${'$as_ac_var'}'` = yes; then
49510 cat >>confdefs.h <<_ACEOF
49511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49512 _ACEOF
49515 done
49525 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49526 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49527 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49528 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49529 echo $ECHO_N "(cached) $ECHO_C" >&6
49530 else
49534 ac_ext=cc
49535 ac_cpp='$CXXCPP $CPPFLAGS'
49536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49540 cat >conftest.$ac_ext <<_ACEOF
49541 /* confdefs.h. */
49542 _ACEOF
49543 cat confdefs.h >>conftest.$ac_ext
49544 cat >>conftest.$ac_ext <<_ACEOF
49545 /* end confdefs.h. */
49546 #include <math.h>
49548 main ()
49550 hypotf(0, 0);
49552 return 0;
49554 _ACEOF
49555 rm -f conftest.$ac_objext
49556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49557 (eval $ac_compile) 2>conftest.er1
49558 ac_status=$?
49559 grep -v '^ *+' conftest.er1 >conftest.err
49560 rm -f conftest.er1
49561 cat conftest.err >&5
49562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49563 (exit $ac_status); } &&
49564 { ac_try='test -z "$ac_cxx_werror_flag"
49565 || test ! -s conftest.err'
49566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49567 (eval $ac_try) 2>&5
49568 ac_status=$?
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); }; } &&
49571 { ac_try='test -s conftest.$ac_objext'
49572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49573 (eval $ac_try) 2>&5
49574 ac_status=$?
49575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49576 (exit $ac_status); }; }; then
49577 glibcxx_cv_func_hypotf_use=yes
49578 else
49579 echo "$as_me: failed program was:" >&5
49580 sed 's/^/| /' conftest.$ac_ext >&5
49582 glibcxx_cv_func_hypotf_use=no
49584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49585 ac_ext=c
49586 ac_cpp='$CPP $CPPFLAGS'
49587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49596 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49598 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49600 for ac_func in hypotf
49602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49603 echo "$as_me:$LINENO: checking for $ac_func" >&5
49604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49605 if eval "test \"\${$as_ac_var+set}\" = set"; then
49606 echo $ECHO_N "(cached) $ECHO_C" >&6
49607 else
49608 if test x$gcc_no_link = xyes; then
49609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49611 { (exit 1); exit 1; }; }
49613 cat >conftest.$ac_ext <<_ACEOF
49614 /* confdefs.h. */
49615 _ACEOF
49616 cat confdefs.h >>conftest.$ac_ext
49617 cat >>conftest.$ac_ext <<_ACEOF
49618 /* end confdefs.h. */
49619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49621 #define $ac_func innocuous_$ac_func
49623 /* System header to define __stub macros and hopefully few prototypes,
49624 which can conflict with char $ac_func (); below.
49625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49626 <limits.h> exists even on freestanding compilers. */
49628 #ifdef __STDC__
49629 # include <limits.h>
49630 #else
49631 # include <assert.h>
49632 #endif
49634 #undef $ac_func
49636 /* Override any gcc2 internal prototype to avoid an error. */
49637 #ifdef __cplusplus
49638 extern "C"
49640 #endif
49641 /* We use char because int might match the return type of a gcc2
49642 builtin and then its argument prototype would still apply. */
49643 char $ac_func ();
49644 /* The GNU C library defines this for functions which it implements
49645 to always fail with ENOSYS. Some functions are actually named
49646 something starting with __ and the normal name is an alias. */
49647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49648 choke me
49649 #else
49650 char (*f) () = $ac_func;
49651 #endif
49652 #ifdef __cplusplus
49654 #endif
49657 main ()
49659 return f != $ac_func;
49661 return 0;
49663 _ACEOF
49664 rm -f conftest.$ac_objext conftest$ac_exeext
49665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49666 (eval $ac_link) 2>conftest.er1
49667 ac_status=$?
49668 grep -v '^ *+' conftest.er1 >conftest.err
49669 rm -f conftest.er1
49670 cat conftest.err >&5
49671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49672 (exit $ac_status); } &&
49673 { ac_try='test -z "$ac_c_werror_flag"
49674 || test ! -s conftest.err'
49675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49676 (eval $ac_try) 2>&5
49677 ac_status=$?
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); }; } &&
49680 { ac_try='test -s conftest$ac_exeext'
49681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49682 (eval $ac_try) 2>&5
49683 ac_status=$?
49684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49685 (exit $ac_status); }; }; then
49686 eval "$as_ac_var=yes"
49687 else
49688 echo "$as_me: failed program was:" >&5
49689 sed 's/^/| /' conftest.$ac_ext >&5
49691 eval "$as_ac_var=no"
49693 rm -f conftest.err conftest.$ac_objext \
49694 conftest$ac_exeext conftest.$ac_ext
49696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49698 if test `eval echo '${'$as_ac_var'}'` = yes; then
49699 cat >>confdefs.h <<_ACEOF
49700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49701 _ACEOF
49704 done
49706 else
49708 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49709 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49710 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49711 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49712 echo $ECHO_N "(cached) $ECHO_C" >&6
49713 else
49717 ac_ext=cc
49718 ac_cpp='$CXXCPP $CPPFLAGS'
49719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49723 cat >conftest.$ac_ext <<_ACEOF
49724 /* confdefs.h. */
49725 _ACEOF
49726 cat confdefs.h >>conftest.$ac_ext
49727 cat >>conftest.$ac_ext <<_ACEOF
49728 /* end confdefs.h. */
49729 #include <math.h>
49731 main ()
49733 _hypotf(0, 0);
49735 return 0;
49737 _ACEOF
49738 rm -f conftest.$ac_objext
49739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49740 (eval $ac_compile) 2>conftest.er1
49741 ac_status=$?
49742 grep -v '^ *+' conftest.er1 >conftest.err
49743 rm -f conftest.er1
49744 cat conftest.err >&5
49745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49746 (exit $ac_status); } &&
49747 { ac_try='test -z "$ac_cxx_werror_flag"
49748 || test ! -s conftest.err'
49749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49750 (eval $ac_try) 2>&5
49751 ac_status=$?
49752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49753 (exit $ac_status); }; } &&
49754 { ac_try='test -s conftest.$ac_objext'
49755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49756 (eval $ac_try) 2>&5
49757 ac_status=$?
49758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49759 (exit $ac_status); }; }; then
49760 glibcxx_cv_func__hypotf_use=yes
49761 else
49762 echo "$as_me: failed program was:" >&5
49763 sed 's/^/| /' conftest.$ac_ext >&5
49765 glibcxx_cv_func__hypotf_use=no
49767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49768 ac_ext=c
49769 ac_cpp='$CPP $CPPFLAGS'
49770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49779 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49781 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49783 for ac_func in _hypotf
49785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49786 echo "$as_me:$LINENO: checking for $ac_func" >&5
49787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49788 if eval "test \"\${$as_ac_var+set}\" = set"; then
49789 echo $ECHO_N "(cached) $ECHO_C" >&6
49790 else
49791 if test x$gcc_no_link = xyes; then
49792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49794 { (exit 1); exit 1; }; }
49796 cat >conftest.$ac_ext <<_ACEOF
49797 /* confdefs.h. */
49798 _ACEOF
49799 cat confdefs.h >>conftest.$ac_ext
49800 cat >>conftest.$ac_ext <<_ACEOF
49801 /* end confdefs.h. */
49802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49804 #define $ac_func innocuous_$ac_func
49806 /* System header to define __stub macros and hopefully few prototypes,
49807 which can conflict with char $ac_func (); below.
49808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49809 <limits.h> exists even on freestanding compilers. */
49811 #ifdef __STDC__
49812 # include <limits.h>
49813 #else
49814 # include <assert.h>
49815 #endif
49817 #undef $ac_func
49819 /* Override any gcc2 internal prototype to avoid an error. */
49820 #ifdef __cplusplus
49821 extern "C"
49823 #endif
49824 /* We use char because int might match the return type of a gcc2
49825 builtin and then its argument prototype would still apply. */
49826 char $ac_func ();
49827 /* The GNU C library defines this for functions which it implements
49828 to always fail with ENOSYS. Some functions are actually named
49829 something starting with __ and the normal name is an alias. */
49830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49831 choke me
49832 #else
49833 char (*f) () = $ac_func;
49834 #endif
49835 #ifdef __cplusplus
49837 #endif
49840 main ()
49842 return f != $ac_func;
49844 return 0;
49846 _ACEOF
49847 rm -f conftest.$ac_objext conftest$ac_exeext
49848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49849 (eval $ac_link) 2>conftest.er1
49850 ac_status=$?
49851 grep -v '^ *+' conftest.er1 >conftest.err
49852 rm -f conftest.er1
49853 cat conftest.err >&5
49854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49855 (exit $ac_status); } &&
49856 { ac_try='test -z "$ac_c_werror_flag"
49857 || test ! -s conftest.err'
49858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49859 (eval $ac_try) 2>&5
49860 ac_status=$?
49861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49862 (exit $ac_status); }; } &&
49863 { ac_try='test -s conftest$ac_exeext'
49864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49865 (eval $ac_try) 2>&5
49866 ac_status=$?
49867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49868 (exit $ac_status); }; }; then
49869 eval "$as_ac_var=yes"
49870 else
49871 echo "$as_me: failed program was:" >&5
49872 sed 's/^/| /' conftest.$ac_ext >&5
49874 eval "$as_ac_var=no"
49876 rm -f conftest.err conftest.$ac_objext \
49877 conftest$ac_exeext conftest.$ac_ext
49879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49881 if test `eval echo '${'$as_ac_var'}'` = yes; then
49882 cat >>confdefs.h <<_ACEOF
49883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49884 _ACEOF
49887 done
49897 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49898 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49899 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49900 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49901 echo $ECHO_N "(cached) $ECHO_C" >&6
49902 else
49906 ac_ext=cc
49907 ac_cpp='$CXXCPP $CPPFLAGS'
49908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49912 cat >conftest.$ac_ext <<_ACEOF
49913 /* confdefs.h. */
49914 _ACEOF
49915 cat confdefs.h >>conftest.$ac_ext
49916 cat >>conftest.$ac_ext <<_ACEOF
49917 /* end confdefs.h. */
49918 #include <math.h>
49920 main ()
49922 ldexpf(0, 0);
49924 return 0;
49926 _ACEOF
49927 rm -f conftest.$ac_objext
49928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49929 (eval $ac_compile) 2>conftest.er1
49930 ac_status=$?
49931 grep -v '^ *+' conftest.er1 >conftest.err
49932 rm -f conftest.er1
49933 cat conftest.err >&5
49934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49935 (exit $ac_status); } &&
49936 { ac_try='test -z "$ac_cxx_werror_flag"
49937 || test ! -s conftest.err'
49938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49939 (eval $ac_try) 2>&5
49940 ac_status=$?
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); }; } &&
49943 { ac_try='test -s conftest.$ac_objext'
49944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49945 (eval $ac_try) 2>&5
49946 ac_status=$?
49947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49948 (exit $ac_status); }; }; then
49949 glibcxx_cv_func_ldexpf_use=yes
49950 else
49951 echo "$as_me: failed program was:" >&5
49952 sed 's/^/| /' conftest.$ac_ext >&5
49954 glibcxx_cv_func_ldexpf_use=no
49956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49957 ac_ext=c
49958 ac_cpp='$CPP $CPPFLAGS'
49959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
49968 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
49970 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49972 for ac_func in ldexpf
49974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49975 echo "$as_me:$LINENO: checking for $ac_func" >&5
49976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49977 if eval "test \"\${$as_ac_var+set}\" = set"; then
49978 echo $ECHO_N "(cached) $ECHO_C" >&6
49979 else
49980 if test x$gcc_no_link = xyes; then
49981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49983 { (exit 1); exit 1; }; }
49985 cat >conftest.$ac_ext <<_ACEOF
49986 /* confdefs.h. */
49987 _ACEOF
49988 cat confdefs.h >>conftest.$ac_ext
49989 cat >>conftest.$ac_ext <<_ACEOF
49990 /* end confdefs.h. */
49991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49993 #define $ac_func innocuous_$ac_func
49995 /* System header to define __stub macros and hopefully few prototypes,
49996 which can conflict with char $ac_func (); below.
49997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49998 <limits.h> exists even on freestanding compilers. */
50000 #ifdef __STDC__
50001 # include <limits.h>
50002 #else
50003 # include <assert.h>
50004 #endif
50006 #undef $ac_func
50008 /* Override any gcc2 internal prototype to avoid an error. */
50009 #ifdef __cplusplus
50010 extern "C"
50012 #endif
50013 /* We use char because int might match the return type of a gcc2
50014 builtin and then its argument prototype would still apply. */
50015 char $ac_func ();
50016 /* The GNU C library defines this for functions which it implements
50017 to always fail with ENOSYS. Some functions are actually named
50018 something starting with __ and the normal name is an alias. */
50019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50020 choke me
50021 #else
50022 char (*f) () = $ac_func;
50023 #endif
50024 #ifdef __cplusplus
50026 #endif
50029 main ()
50031 return f != $ac_func;
50033 return 0;
50035 _ACEOF
50036 rm -f conftest.$ac_objext conftest$ac_exeext
50037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50038 (eval $ac_link) 2>conftest.er1
50039 ac_status=$?
50040 grep -v '^ *+' conftest.er1 >conftest.err
50041 rm -f conftest.er1
50042 cat conftest.err >&5
50043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50044 (exit $ac_status); } &&
50045 { ac_try='test -z "$ac_c_werror_flag"
50046 || test ! -s conftest.err'
50047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50048 (eval $ac_try) 2>&5
50049 ac_status=$?
50050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051 (exit $ac_status); }; } &&
50052 { ac_try='test -s conftest$ac_exeext'
50053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50054 (eval $ac_try) 2>&5
50055 ac_status=$?
50056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50057 (exit $ac_status); }; }; then
50058 eval "$as_ac_var=yes"
50059 else
50060 echo "$as_me: failed program was:" >&5
50061 sed 's/^/| /' conftest.$ac_ext >&5
50063 eval "$as_ac_var=no"
50065 rm -f conftest.err conftest.$ac_objext \
50066 conftest$ac_exeext conftest.$ac_ext
50068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50070 if test `eval echo '${'$as_ac_var'}'` = yes; then
50071 cat >>confdefs.h <<_ACEOF
50072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50073 _ACEOF
50076 done
50078 else
50080 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50081 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50082 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50083 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50084 echo $ECHO_N "(cached) $ECHO_C" >&6
50085 else
50089 ac_ext=cc
50090 ac_cpp='$CXXCPP $CPPFLAGS'
50091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50095 cat >conftest.$ac_ext <<_ACEOF
50096 /* confdefs.h. */
50097 _ACEOF
50098 cat confdefs.h >>conftest.$ac_ext
50099 cat >>conftest.$ac_ext <<_ACEOF
50100 /* end confdefs.h. */
50101 #include <math.h>
50103 main ()
50105 _ldexpf(0, 0);
50107 return 0;
50109 _ACEOF
50110 rm -f conftest.$ac_objext
50111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50112 (eval $ac_compile) 2>conftest.er1
50113 ac_status=$?
50114 grep -v '^ *+' conftest.er1 >conftest.err
50115 rm -f conftest.er1
50116 cat conftest.err >&5
50117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50118 (exit $ac_status); } &&
50119 { ac_try='test -z "$ac_cxx_werror_flag"
50120 || test ! -s conftest.err'
50121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122 (eval $ac_try) 2>&5
50123 ac_status=$?
50124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125 (exit $ac_status); }; } &&
50126 { ac_try='test -s conftest.$ac_objext'
50127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50128 (eval $ac_try) 2>&5
50129 ac_status=$?
50130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131 (exit $ac_status); }; }; then
50132 glibcxx_cv_func__ldexpf_use=yes
50133 else
50134 echo "$as_me: failed program was:" >&5
50135 sed 's/^/| /' conftest.$ac_ext >&5
50137 glibcxx_cv_func__ldexpf_use=no
50139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50140 ac_ext=c
50141 ac_cpp='$CPP $CPPFLAGS'
50142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50151 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50153 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50155 for ac_func in _ldexpf
50157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50158 echo "$as_me:$LINENO: checking for $ac_func" >&5
50159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50160 if eval "test \"\${$as_ac_var+set}\" = set"; then
50161 echo $ECHO_N "(cached) $ECHO_C" >&6
50162 else
50163 if test x$gcc_no_link = xyes; then
50164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50166 { (exit 1); exit 1; }; }
50168 cat >conftest.$ac_ext <<_ACEOF
50169 /* confdefs.h. */
50170 _ACEOF
50171 cat confdefs.h >>conftest.$ac_ext
50172 cat >>conftest.$ac_ext <<_ACEOF
50173 /* end confdefs.h. */
50174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50176 #define $ac_func innocuous_$ac_func
50178 /* System header to define __stub macros and hopefully few prototypes,
50179 which can conflict with char $ac_func (); below.
50180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50181 <limits.h> exists even on freestanding compilers. */
50183 #ifdef __STDC__
50184 # include <limits.h>
50185 #else
50186 # include <assert.h>
50187 #endif
50189 #undef $ac_func
50191 /* Override any gcc2 internal prototype to avoid an error. */
50192 #ifdef __cplusplus
50193 extern "C"
50195 #endif
50196 /* We use char because int might match the return type of a gcc2
50197 builtin and then its argument prototype would still apply. */
50198 char $ac_func ();
50199 /* The GNU C library defines this for functions which it implements
50200 to always fail with ENOSYS. Some functions are actually named
50201 something starting with __ and the normal name is an alias. */
50202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50203 choke me
50204 #else
50205 char (*f) () = $ac_func;
50206 #endif
50207 #ifdef __cplusplus
50209 #endif
50212 main ()
50214 return f != $ac_func;
50216 return 0;
50218 _ACEOF
50219 rm -f conftest.$ac_objext conftest$ac_exeext
50220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50221 (eval $ac_link) 2>conftest.er1
50222 ac_status=$?
50223 grep -v '^ *+' conftest.er1 >conftest.err
50224 rm -f conftest.er1
50225 cat conftest.err >&5
50226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50227 (exit $ac_status); } &&
50228 { ac_try='test -z "$ac_c_werror_flag"
50229 || test ! -s conftest.err'
50230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50231 (eval $ac_try) 2>&5
50232 ac_status=$?
50233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50234 (exit $ac_status); }; } &&
50235 { ac_try='test -s conftest$ac_exeext'
50236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50237 (eval $ac_try) 2>&5
50238 ac_status=$?
50239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50240 (exit $ac_status); }; }; then
50241 eval "$as_ac_var=yes"
50242 else
50243 echo "$as_me: failed program was:" >&5
50244 sed 's/^/| /' conftest.$ac_ext >&5
50246 eval "$as_ac_var=no"
50248 rm -f conftest.err conftest.$ac_objext \
50249 conftest$ac_exeext conftest.$ac_ext
50251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50253 if test `eval echo '${'$as_ac_var'}'` = yes; then
50254 cat >>confdefs.h <<_ACEOF
50255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50256 _ACEOF
50259 done
50269 echo "$as_me:$LINENO: checking for logf declaration" >&5
50270 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50271 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50272 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50273 echo $ECHO_N "(cached) $ECHO_C" >&6
50274 else
50278 ac_ext=cc
50279 ac_cpp='$CXXCPP $CPPFLAGS'
50280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50284 cat >conftest.$ac_ext <<_ACEOF
50285 /* confdefs.h. */
50286 _ACEOF
50287 cat confdefs.h >>conftest.$ac_ext
50288 cat >>conftest.$ac_ext <<_ACEOF
50289 /* end confdefs.h. */
50290 #include <math.h>
50291 #ifdef HAVE_IEEEFP_H
50292 #include <ieeefp.h>
50293 #endif
50296 main ()
50298 logf(0);
50300 return 0;
50302 _ACEOF
50303 rm -f conftest.$ac_objext
50304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50305 (eval $ac_compile) 2>conftest.er1
50306 ac_status=$?
50307 grep -v '^ *+' conftest.er1 >conftest.err
50308 rm -f conftest.er1
50309 cat conftest.err >&5
50310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50311 (exit $ac_status); } &&
50312 { ac_try='test -z "$ac_cxx_werror_flag"
50313 || test ! -s conftest.err'
50314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50315 (eval $ac_try) 2>&5
50316 ac_status=$?
50317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50318 (exit $ac_status); }; } &&
50319 { ac_try='test -s conftest.$ac_objext'
50320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50321 (eval $ac_try) 2>&5
50322 ac_status=$?
50323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50324 (exit $ac_status); }; }; then
50325 glibcxx_cv_func_logf_use=yes
50326 else
50327 echo "$as_me: failed program was:" >&5
50328 sed 's/^/| /' conftest.$ac_ext >&5
50330 glibcxx_cv_func_logf_use=no
50332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50333 ac_ext=c
50334 ac_cpp='$CPP $CPPFLAGS'
50335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50344 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50346 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50348 for ac_func in logf
50350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50351 echo "$as_me:$LINENO: checking for $ac_func" >&5
50352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50353 if eval "test \"\${$as_ac_var+set}\" = set"; then
50354 echo $ECHO_N "(cached) $ECHO_C" >&6
50355 else
50356 if test x$gcc_no_link = xyes; then
50357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50359 { (exit 1); exit 1; }; }
50361 cat >conftest.$ac_ext <<_ACEOF
50362 /* confdefs.h. */
50363 _ACEOF
50364 cat confdefs.h >>conftest.$ac_ext
50365 cat >>conftest.$ac_ext <<_ACEOF
50366 /* end confdefs.h. */
50367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50369 #define $ac_func innocuous_$ac_func
50371 /* System header to define __stub macros and hopefully few prototypes,
50372 which can conflict with char $ac_func (); below.
50373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50374 <limits.h> exists even on freestanding compilers. */
50376 #ifdef __STDC__
50377 # include <limits.h>
50378 #else
50379 # include <assert.h>
50380 #endif
50382 #undef $ac_func
50384 /* Override any gcc2 internal prototype to avoid an error. */
50385 #ifdef __cplusplus
50386 extern "C"
50388 #endif
50389 /* We use char because int might match the return type of a gcc2
50390 builtin and then its argument prototype would still apply. */
50391 char $ac_func ();
50392 /* The GNU C library defines this for functions which it implements
50393 to always fail with ENOSYS. Some functions are actually named
50394 something starting with __ and the normal name is an alias. */
50395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50396 choke me
50397 #else
50398 char (*f) () = $ac_func;
50399 #endif
50400 #ifdef __cplusplus
50402 #endif
50405 main ()
50407 return f != $ac_func;
50409 return 0;
50411 _ACEOF
50412 rm -f conftest.$ac_objext conftest$ac_exeext
50413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50414 (eval $ac_link) 2>conftest.er1
50415 ac_status=$?
50416 grep -v '^ *+' conftest.er1 >conftest.err
50417 rm -f conftest.er1
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } &&
50421 { ac_try='test -z "$ac_c_werror_flag"
50422 || test ! -s conftest.err'
50423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50424 (eval $ac_try) 2>&5
50425 ac_status=$?
50426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50427 (exit $ac_status); }; } &&
50428 { ac_try='test -s conftest$ac_exeext'
50429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50430 (eval $ac_try) 2>&5
50431 ac_status=$?
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); }; }; then
50434 eval "$as_ac_var=yes"
50435 else
50436 echo "$as_me: failed program was:" >&5
50437 sed 's/^/| /' conftest.$ac_ext >&5
50439 eval "$as_ac_var=no"
50441 rm -f conftest.err conftest.$ac_objext \
50442 conftest$ac_exeext conftest.$ac_ext
50444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50446 if test `eval echo '${'$as_ac_var'}'` = yes; then
50447 cat >>confdefs.h <<_ACEOF
50448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50449 _ACEOF
50452 done
50454 else
50456 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50457 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50458 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50459 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50460 echo $ECHO_N "(cached) $ECHO_C" >&6
50461 else
50465 ac_ext=cc
50466 ac_cpp='$CXXCPP $CPPFLAGS'
50467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50471 cat >conftest.$ac_ext <<_ACEOF
50472 /* confdefs.h. */
50473 _ACEOF
50474 cat confdefs.h >>conftest.$ac_ext
50475 cat >>conftest.$ac_ext <<_ACEOF
50476 /* end confdefs.h. */
50477 #include <math.h>
50478 #ifdef HAVE_IEEEFP_H
50479 #include <ieeefp.h>
50480 #endif
50483 main ()
50485 _logf(0);
50487 return 0;
50489 _ACEOF
50490 rm -f conftest.$ac_objext
50491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50492 (eval $ac_compile) 2>conftest.er1
50493 ac_status=$?
50494 grep -v '^ *+' conftest.er1 >conftest.err
50495 rm -f conftest.er1
50496 cat conftest.err >&5
50497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50498 (exit $ac_status); } &&
50499 { ac_try='test -z "$ac_cxx_werror_flag"
50500 || test ! -s conftest.err'
50501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50502 (eval $ac_try) 2>&5
50503 ac_status=$?
50504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50505 (exit $ac_status); }; } &&
50506 { ac_try='test -s conftest.$ac_objext'
50507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50508 (eval $ac_try) 2>&5
50509 ac_status=$?
50510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50511 (exit $ac_status); }; }; then
50512 glibcxx_cv_func__logf_use=yes
50513 else
50514 echo "$as_me: failed program was:" >&5
50515 sed 's/^/| /' conftest.$ac_ext >&5
50517 glibcxx_cv_func__logf_use=no
50519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50520 ac_ext=c
50521 ac_cpp='$CPP $CPPFLAGS'
50522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50531 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50533 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50535 for ac_func in _logf
50537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50538 echo "$as_me:$LINENO: checking for $ac_func" >&5
50539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50540 if eval "test \"\${$as_ac_var+set}\" = set"; then
50541 echo $ECHO_N "(cached) $ECHO_C" >&6
50542 else
50543 if test x$gcc_no_link = xyes; then
50544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50546 { (exit 1); exit 1; }; }
50548 cat >conftest.$ac_ext <<_ACEOF
50549 /* confdefs.h. */
50550 _ACEOF
50551 cat confdefs.h >>conftest.$ac_ext
50552 cat >>conftest.$ac_ext <<_ACEOF
50553 /* end confdefs.h. */
50554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50556 #define $ac_func innocuous_$ac_func
50558 /* System header to define __stub macros and hopefully few prototypes,
50559 which can conflict with char $ac_func (); below.
50560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50561 <limits.h> exists even on freestanding compilers. */
50563 #ifdef __STDC__
50564 # include <limits.h>
50565 #else
50566 # include <assert.h>
50567 #endif
50569 #undef $ac_func
50571 /* Override any gcc2 internal prototype to avoid an error. */
50572 #ifdef __cplusplus
50573 extern "C"
50575 #endif
50576 /* We use char because int might match the return type of a gcc2
50577 builtin and then its argument prototype would still apply. */
50578 char $ac_func ();
50579 /* The GNU C library defines this for functions which it implements
50580 to always fail with ENOSYS. Some functions are actually named
50581 something starting with __ and the normal name is an alias. */
50582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50583 choke me
50584 #else
50585 char (*f) () = $ac_func;
50586 #endif
50587 #ifdef __cplusplus
50589 #endif
50592 main ()
50594 return f != $ac_func;
50596 return 0;
50598 _ACEOF
50599 rm -f conftest.$ac_objext conftest$ac_exeext
50600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50601 (eval $ac_link) 2>conftest.er1
50602 ac_status=$?
50603 grep -v '^ *+' conftest.er1 >conftest.err
50604 rm -f conftest.er1
50605 cat conftest.err >&5
50606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50607 (exit $ac_status); } &&
50608 { ac_try='test -z "$ac_c_werror_flag"
50609 || test ! -s conftest.err'
50610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50611 (eval $ac_try) 2>&5
50612 ac_status=$?
50613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50614 (exit $ac_status); }; } &&
50615 { ac_try='test -s conftest$ac_exeext'
50616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50617 (eval $ac_try) 2>&5
50618 ac_status=$?
50619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50620 (exit $ac_status); }; }; then
50621 eval "$as_ac_var=yes"
50622 else
50623 echo "$as_me: failed program was:" >&5
50624 sed 's/^/| /' conftest.$ac_ext >&5
50626 eval "$as_ac_var=no"
50628 rm -f conftest.err conftest.$ac_objext \
50629 conftest$ac_exeext conftest.$ac_ext
50631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50633 if test `eval echo '${'$as_ac_var'}'` = yes; then
50634 cat >>confdefs.h <<_ACEOF
50635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50636 _ACEOF
50639 done
50649 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50650 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50651 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50652 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50653 echo $ECHO_N "(cached) $ECHO_C" >&6
50654 else
50658 ac_ext=cc
50659 ac_cpp='$CXXCPP $CPPFLAGS'
50660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50664 cat >conftest.$ac_ext <<_ACEOF
50665 /* confdefs.h. */
50666 _ACEOF
50667 cat confdefs.h >>conftest.$ac_ext
50668 cat >>conftest.$ac_ext <<_ACEOF
50669 /* end confdefs.h. */
50670 #include <math.h>
50671 #ifdef HAVE_IEEEFP_H
50672 #include <ieeefp.h>
50673 #endif
50676 main ()
50678 log10f(0);
50680 return 0;
50682 _ACEOF
50683 rm -f conftest.$ac_objext
50684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50685 (eval $ac_compile) 2>conftest.er1
50686 ac_status=$?
50687 grep -v '^ *+' conftest.er1 >conftest.err
50688 rm -f conftest.er1
50689 cat conftest.err >&5
50690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50691 (exit $ac_status); } &&
50692 { ac_try='test -z "$ac_cxx_werror_flag"
50693 || test ! -s conftest.err'
50694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50695 (eval $ac_try) 2>&5
50696 ac_status=$?
50697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50698 (exit $ac_status); }; } &&
50699 { ac_try='test -s conftest.$ac_objext'
50700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50701 (eval $ac_try) 2>&5
50702 ac_status=$?
50703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50704 (exit $ac_status); }; }; then
50705 glibcxx_cv_func_log10f_use=yes
50706 else
50707 echo "$as_me: failed program was:" >&5
50708 sed 's/^/| /' conftest.$ac_ext >&5
50710 glibcxx_cv_func_log10f_use=no
50712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50713 ac_ext=c
50714 ac_cpp='$CPP $CPPFLAGS'
50715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50724 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50726 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50728 for ac_func in log10f
50730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50731 echo "$as_me:$LINENO: checking for $ac_func" >&5
50732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50733 if eval "test \"\${$as_ac_var+set}\" = set"; then
50734 echo $ECHO_N "(cached) $ECHO_C" >&6
50735 else
50736 if test x$gcc_no_link = xyes; then
50737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50739 { (exit 1); exit 1; }; }
50741 cat >conftest.$ac_ext <<_ACEOF
50742 /* confdefs.h. */
50743 _ACEOF
50744 cat confdefs.h >>conftest.$ac_ext
50745 cat >>conftest.$ac_ext <<_ACEOF
50746 /* end confdefs.h. */
50747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50749 #define $ac_func innocuous_$ac_func
50751 /* System header to define __stub macros and hopefully few prototypes,
50752 which can conflict with char $ac_func (); below.
50753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50754 <limits.h> exists even on freestanding compilers. */
50756 #ifdef __STDC__
50757 # include <limits.h>
50758 #else
50759 # include <assert.h>
50760 #endif
50762 #undef $ac_func
50764 /* Override any gcc2 internal prototype to avoid an error. */
50765 #ifdef __cplusplus
50766 extern "C"
50768 #endif
50769 /* We use char because int might match the return type of a gcc2
50770 builtin and then its argument prototype would still apply. */
50771 char $ac_func ();
50772 /* The GNU C library defines this for functions which it implements
50773 to always fail with ENOSYS. Some functions are actually named
50774 something starting with __ and the normal name is an alias. */
50775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50776 choke me
50777 #else
50778 char (*f) () = $ac_func;
50779 #endif
50780 #ifdef __cplusplus
50782 #endif
50785 main ()
50787 return f != $ac_func;
50789 return 0;
50791 _ACEOF
50792 rm -f conftest.$ac_objext conftest$ac_exeext
50793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50794 (eval $ac_link) 2>conftest.er1
50795 ac_status=$?
50796 grep -v '^ *+' conftest.er1 >conftest.err
50797 rm -f conftest.er1
50798 cat conftest.err >&5
50799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50800 (exit $ac_status); } &&
50801 { ac_try='test -z "$ac_c_werror_flag"
50802 || test ! -s conftest.err'
50803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50804 (eval $ac_try) 2>&5
50805 ac_status=$?
50806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50807 (exit $ac_status); }; } &&
50808 { ac_try='test -s conftest$ac_exeext'
50809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50810 (eval $ac_try) 2>&5
50811 ac_status=$?
50812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50813 (exit $ac_status); }; }; then
50814 eval "$as_ac_var=yes"
50815 else
50816 echo "$as_me: failed program was:" >&5
50817 sed 's/^/| /' conftest.$ac_ext >&5
50819 eval "$as_ac_var=no"
50821 rm -f conftest.err conftest.$ac_objext \
50822 conftest$ac_exeext conftest.$ac_ext
50824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50826 if test `eval echo '${'$as_ac_var'}'` = yes; then
50827 cat >>confdefs.h <<_ACEOF
50828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50829 _ACEOF
50832 done
50834 else
50836 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50837 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50838 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50839 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50840 echo $ECHO_N "(cached) $ECHO_C" >&6
50841 else
50845 ac_ext=cc
50846 ac_cpp='$CXXCPP $CPPFLAGS'
50847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50851 cat >conftest.$ac_ext <<_ACEOF
50852 /* confdefs.h. */
50853 _ACEOF
50854 cat confdefs.h >>conftest.$ac_ext
50855 cat >>conftest.$ac_ext <<_ACEOF
50856 /* end confdefs.h. */
50857 #include <math.h>
50858 #ifdef HAVE_IEEEFP_H
50859 #include <ieeefp.h>
50860 #endif
50863 main ()
50865 _log10f(0);
50867 return 0;
50869 _ACEOF
50870 rm -f conftest.$ac_objext
50871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50872 (eval $ac_compile) 2>conftest.er1
50873 ac_status=$?
50874 grep -v '^ *+' conftest.er1 >conftest.err
50875 rm -f conftest.er1
50876 cat conftest.err >&5
50877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50878 (exit $ac_status); } &&
50879 { ac_try='test -z "$ac_cxx_werror_flag"
50880 || test ! -s conftest.err'
50881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50882 (eval $ac_try) 2>&5
50883 ac_status=$?
50884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50885 (exit $ac_status); }; } &&
50886 { ac_try='test -s conftest.$ac_objext'
50887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50888 (eval $ac_try) 2>&5
50889 ac_status=$?
50890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50891 (exit $ac_status); }; }; then
50892 glibcxx_cv_func__log10f_use=yes
50893 else
50894 echo "$as_me: failed program was:" >&5
50895 sed 's/^/| /' conftest.$ac_ext >&5
50897 glibcxx_cv_func__log10f_use=no
50899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50900 ac_ext=c
50901 ac_cpp='$CPP $CPPFLAGS'
50902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50910 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50911 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50913 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50915 for ac_func in _log10f
50917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50918 echo "$as_me:$LINENO: checking for $ac_func" >&5
50919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50920 if eval "test \"\${$as_ac_var+set}\" = set"; then
50921 echo $ECHO_N "(cached) $ECHO_C" >&6
50922 else
50923 if test x$gcc_no_link = xyes; then
50924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50926 { (exit 1); exit 1; }; }
50928 cat >conftest.$ac_ext <<_ACEOF
50929 /* confdefs.h. */
50930 _ACEOF
50931 cat confdefs.h >>conftest.$ac_ext
50932 cat >>conftest.$ac_ext <<_ACEOF
50933 /* end confdefs.h. */
50934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50936 #define $ac_func innocuous_$ac_func
50938 /* System header to define __stub macros and hopefully few prototypes,
50939 which can conflict with char $ac_func (); below.
50940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50941 <limits.h> exists even on freestanding compilers. */
50943 #ifdef __STDC__
50944 # include <limits.h>
50945 #else
50946 # include <assert.h>
50947 #endif
50949 #undef $ac_func
50951 /* Override any gcc2 internal prototype to avoid an error. */
50952 #ifdef __cplusplus
50953 extern "C"
50955 #endif
50956 /* We use char because int might match the return type of a gcc2
50957 builtin and then its argument prototype would still apply. */
50958 char $ac_func ();
50959 /* The GNU C library defines this for functions which it implements
50960 to always fail with ENOSYS. Some functions are actually named
50961 something starting with __ and the normal name is an alias. */
50962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50963 choke me
50964 #else
50965 char (*f) () = $ac_func;
50966 #endif
50967 #ifdef __cplusplus
50969 #endif
50972 main ()
50974 return f != $ac_func;
50976 return 0;
50978 _ACEOF
50979 rm -f conftest.$ac_objext conftest$ac_exeext
50980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50981 (eval $ac_link) 2>conftest.er1
50982 ac_status=$?
50983 grep -v '^ *+' conftest.er1 >conftest.err
50984 rm -f conftest.er1
50985 cat conftest.err >&5
50986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50987 (exit $ac_status); } &&
50988 { ac_try='test -z "$ac_c_werror_flag"
50989 || test ! -s conftest.err'
50990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50991 (eval $ac_try) 2>&5
50992 ac_status=$?
50993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50994 (exit $ac_status); }; } &&
50995 { ac_try='test -s conftest$ac_exeext'
50996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50997 (eval $ac_try) 2>&5
50998 ac_status=$?
50999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51000 (exit $ac_status); }; }; then
51001 eval "$as_ac_var=yes"
51002 else
51003 echo "$as_me: failed program was:" >&5
51004 sed 's/^/| /' conftest.$ac_ext >&5
51006 eval "$as_ac_var=no"
51008 rm -f conftest.err conftest.$ac_objext \
51009 conftest$ac_exeext conftest.$ac_ext
51011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51013 if test `eval echo '${'$as_ac_var'}'` = yes; then
51014 cat >>confdefs.h <<_ACEOF
51015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51016 _ACEOF
51019 done
51029 echo "$as_me:$LINENO: checking for modff declaration" >&5
51030 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51031 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51032 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51033 echo $ECHO_N "(cached) $ECHO_C" >&6
51034 else
51038 ac_ext=cc
51039 ac_cpp='$CXXCPP $CPPFLAGS'
51040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51044 cat >conftest.$ac_ext <<_ACEOF
51045 /* confdefs.h. */
51046 _ACEOF
51047 cat confdefs.h >>conftest.$ac_ext
51048 cat >>conftest.$ac_ext <<_ACEOF
51049 /* end confdefs.h. */
51050 #include <math.h>
51052 main ()
51054 modff(0, 0);
51056 return 0;
51058 _ACEOF
51059 rm -f conftest.$ac_objext
51060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51061 (eval $ac_compile) 2>conftest.er1
51062 ac_status=$?
51063 grep -v '^ *+' conftest.er1 >conftest.err
51064 rm -f conftest.er1
51065 cat conftest.err >&5
51066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51067 (exit $ac_status); } &&
51068 { ac_try='test -z "$ac_cxx_werror_flag"
51069 || test ! -s conftest.err'
51070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51071 (eval $ac_try) 2>&5
51072 ac_status=$?
51073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51074 (exit $ac_status); }; } &&
51075 { ac_try='test -s conftest.$ac_objext'
51076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51077 (eval $ac_try) 2>&5
51078 ac_status=$?
51079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51080 (exit $ac_status); }; }; then
51081 glibcxx_cv_func_modff_use=yes
51082 else
51083 echo "$as_me: failed program was:" >&5
51084 sed 's/^/| /' conftest.$ac_ext >&5
51086 glibcxx_cv_func_modff_use=no
51088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51089 ac_ext=c
51090 ac_cpp='$CPP $CPPFLAGS'
51091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51100 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51102 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51104 for ac_func in modff
51106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51107 echo "$as_me:$LINENO: checking for $ac_func" >&5
51108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51109 if eval "test \"\${$as_ac_var+set}\" = set"; then
51110 echo $ECHO_N "(cached) $ECHO_C" >&6
51111 else
51112 if test x$gcc_no_link = xyes; then
51113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51115 { (exit 1); exit 1; }; }
51117 cat >conftest.$ac_ext <<_ACEOF
51118 /* confdefs.h. */
51119 _ACEOF
51120 cat confdefs.h >>conftest.$ac_ext
51121 cat >>conftest.$ac_ext <<_ACEOF
51122 /* end confdefs.h. */
51123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51125 #define $ac_func innocuous_$ac_func
51127 /* System header to define __stub macros and hopefully few prototypes,
51128 which can conflict with char $ac_func (); below.
51129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51130 <limits.h> exists even on freestanding compilers. */
51132 #ifdef __STDC__
51133 # include <limits.h>
51134 #else
51135 # include <assert.h>
51136 #endif
51138 #undef $ac_func
51140 /* Override any gcc2 internal prototype to avoid an error. */
51141 #ifdef __cplusplus
51142 extern "C"
51144 #endif
51145 /* We use char because int might match the return type of a gcc2
51146 builtin and then its argument prototype would still apply. */
51147 char $ac_func ();
51148 /* The GNU C library defines this for functions which it implements
51149 to always fail with ENOSYS. Some functions are actually named
51150 something starting with __ and the normal name is an alias. */
51151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51152 choke me
51153 #else
51154 char (*f) () = $ac_func;
51155 #endif
51156 #ifdef __cplusplus
51158 #endif
51161 main ()
51163 return f != $ac_func;
51165 return 0;
51167 _ACEOF
51168 rm -f conftest.$ac_objext conftest$ac_exeext
51169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51170 (eval $ac_link) 2>conftest.er1
51171 ac_status=$?
51172 grep -v '^ *+' conftest.er1 >conftest.err
51173 rm -f conftest.er1
51174 cat conftest.err >&5
51175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51176 (exit $ac_status); } &&
51177 { ac_try='test -z "$ac_c_werror_flag"
51178 || test ! -s conftest.err'
51179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51180 (eval $ac_try) 2>&5
51181 ac_status=$?
51182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51183 (exit $ac_status); }; } &&
51184 { ac_try='test -s conftest$ac_exeext'
51185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51186 (eval $ac_try) 2>&5
51187 ac_status=$?
51188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51189 (exit $ac_status); }; }; then
51190 eval "$as_ac_var=yes"
51191 else
51192 echo "$as_me: failed program was:" >&5
51193 sed 's/^/| /' conftest.$ac_ext >&5
51195 eval "$as_ac_var=no"
51197 rm -f conftest.err conftest.$ac_objext \
51198 conftest$ac_exeext conftest.$ac_ext
51200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51202 if test `eval echo '${'$as_ac_var'}'` = yes; then
51203 cat >>confdefs.h <<_ACEOF
51204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51205 _ACEOF
51208 done
51210 else
51212 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51213 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51214 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51215 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51216 echo $ECHO_N "(cached) $ECHO_C" >&6
51217 else
51221 ac_ext=cc
51222 ac_cpp='$CXXCPP $CPPFLAGS'
51223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51227 cat >conftest.$ac_ext <<_ACEOF
51228 /* confdefs.h. */
51229 _ACEOF
51230 cat confdefs.h >>conftest.$ac_ext
51231 cat >>conftest.$ac_ext <<_ACEOF
51232 /* end confdefs.h. */
51233 #include <math.h>
51235 main ()
51237 _modff(0, 0);
51239 return 0;
51241 _ACEOF
51242 rm -f conftest.$ac_objext
51243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51244 (eval $ac_compile) 2>conftest.er1
51245 ac_status=$?
51246 grep -v '^ *+' conftest.er1 >conftest.err
51247 rm -f conftest.er1
51248 cat conftest.err >&5
51249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51250 (exit $ac_status); } &&
51251 { ac_try='test -z "$ac_cxx_werror_flag"
51252 || test ! -s conftest.err'
51253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51254 (eval $ac_try) 2>&5
51255 ac_status=$?
51256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51257 (exit $ac_status); }; } &&
51258 { ac_try='test -s conftest.$ac_objext'
51259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51260 (eval $ac_try) 2>&5
51261 ac_status=$?
51262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51263 (exit $ac_status); }; }; then
51264 glibcxx_cv_func__modff_use=yes
51265 else
51266 echo "$as_me: failed program was:" >&5
51267 sed 's/^/| /' conftest.$ac_ext >&5
51269 glibcxx_cv_func__modff_use=no
51271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51272 ac_ext=c
51273 ac_cpp='$CPP $CPPFLAGS'
51274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51283 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51285 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51287 for ac_func in _modff
51289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51290 echo "$as_me:$LINENO: checking for $ac_func" >&5
51291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51292 if eval "test \"\${$as_ac_var+set}\" = set"; then
51293 echo $ECHO_N "(cached) $ECHO_C" >&6
51294 else
51295 if test x$gcc_no_link = xyes; then
51296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51298 { (exit 1); exit 1; }; }
51300 cat >conftest.$ac_ext <<_ACEOF
51301 /* confdefs.h. */
51302 _ACEOF
51303 cat confdefs.h >>conftest.$ac_ext
51304 cat >>conftest.$ac_ext <<_ACEOF
51305 /* end confdefs.h. */
51306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51308 #define $ac_func innocuous_$ac_func
51310 /* System header to define __stub macros and hopefully few prototypes,
51311 which can conflict with char $ac_func (); below.
51312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51313 <limits.h> exists even on freestanding compilers. */
51315 #ifdef __STDC__
51316 # include <limits.h>
51317 #else
51318 # include <assert.h>
51319 #endif
51321 #undef $ac_func
51323 /* Override any gcc2 internal prototype to avoid an error. */
51324 #ifdef __cplusplus
51325 extern "C"
51327 #endif
51328 /* We use char because int might match the return type of a gcc2
51329 builtin and then its argument prototype would still apply. */
51330 char $ac_func ();
51331 /* The GNU C library defines this for functions which it implements
51332 to always fail with ENOSYS. Some functions are actually named
51333 something starting with __ and the normal name is an alias. */
51334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51335 choke me
51336 #else
51337 char (*f) () = $ac_func;
51338 #endif
51339 #ifdef __cplusplus
51341 #endif
51344 main ()
51346 return f != $ac_func;
51348 return 0;
51350 _ACEOF
51351 rm -f conftest.$ac_objext conftest$ac_exeext
51352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51353 (eval $ac_link) 2>conftest.er1
51354 ac_status=$?
51355 grep -v '^ *+' conftest.er1 >conftest.err
51356 rm -f conftest.er1
51357 cat conftest.err >&5
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); } &&
51360 { ac_try='test -z "$ac_c_werror_flag"
51361 || test ! -s conftest.err'
51362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51363 (eval $ac_try) 2>&5
51364 ac_status=$?
51365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51366 (exit $ac_status); }; } &&
51367 { ac_try='test -s conftest$ac_exeext'
51368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51369 (eval $ac_try) 2>&5
51370 ac_status=$?
51371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51372 (exit $ac_status); }; }; then
51373 eval "$as_ac_var=yes"
51374 else
51375 echo "$as_me: failed program was:" >&5
51376 sed 's/^/| /' conftest.$ac_ext >&5
51378 eval "$as_ac_var=no"
51380 rm -f conftest.err conftest.$ac_objext \
51381 conftest$ac_exeext conftest.$ac_ext
51383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51385 if test `eval echo '${'$as_ac_var'}'` = yes; then
51386 cat >>confdefs.h <<_ACEOF
51387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51388 _ACEOF
51391 done
51401 echo "$as_me:$LINENO: checking for modf declaration" >&5
51402 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51403 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51404 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51405 echo $ECHO_N "(cached) $ECHO_C" >&6
51406 else
51410 ac_ext=cc
51411 ac_cpp='$CXXCPP $CPPFLAGS'
51412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51416 cat >conftest.$ac_ext <<_ACEOF
51417 /* confdefs.h. */
51418 _ACEOF
51419 cat confdefs.h >>conftest.$ac_ext
51420 cat >>conftest.$ac_ext <<_ACEOF
51421 /* end confdefs.h. */
51422 #include <math.h>
51424 main ()
51426 modf(0, 0);
51428 return 0;
51430 _ACEOF
51431 rm -f conftest.$ac_objext
51432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51433 (eval $ac_compile) 2>conftest.er1
51434 ac_status=$?
51435 grep -v '^ *+' conftest.er1 >conftest.err
51436 rm -f conftest.er1
51437 cat conftest.err >&5
51438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51439 (exit $ac_status); } &&
51440 { ac_try='test -z "$ac_cxx_werror_flag"
51441 || test ! -s conftest.err'
51442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51443 (eval $ac_try) 2>&5
51444 ac_status=$?
51445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51446 (exit $ac_status); }; } &&
51447 { ac_try='test -s conftest.$ac_objext'
51448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51449 (eval $ac_try) 2>&5
51450 ac_status=$?
51451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51452 (exit $ac_status); }; }; then
51453 glibcxx_cv_func_modf_use=yes
51454 else
51455 echo "$as_me: failed program was:" >&5
51456 sed 's/^/| /' conftest.$ac_ext >&5
51458 glibcxx_cv_func_modf_use=no
51460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51461 ac_ext=c
51462 ac_cpp='$CPP $CPPFLAGS'
51463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51472 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51474 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51476 for ac_func in modf
51478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51479 echo "$as_me:$LINENO: checking for $ac_func" >&5
51480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51481 if eval "test \"\${$as_ac_var+set}\" = set"; then
51482 echo $ECHO_N "(cached) $ECHO_C" >&6
51483 else
51484 if test x$gcc_no_link = xyes; then
51485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51487 { (exit 1); exit 1; }; }
51489 cat >conftest.$ac_ext <<_ACEOF
51490 /* confdefs.h. */
51491 _ACEOF
51492 cat confdefs.h >>conftest.$ac_ext
51493 cat >>conftest.$ac_ext <<_ACEOF
51494 /* end confdefs.h. */
51495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51497 #define $ac_func innocuous_$ac_func
51499 /* System header to define __stub macros and hopefully few prototypes,
51500 which can conflict with char $ac_func (); below.
51501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51502 <limits.h> exists even on freestanding compilers. */
51504 #ifdef __STDC__
51505 # include <limits.h>
51506 #else
51507 # include <assert.h>
51508 #endif
51510 #undef $ac_func
51512 /* Override any gcc2 internal prototype to avoid an error. */
51513 #ifdef __cplusplus
51514 extern "C"
51516 #endif
51517 /* We use char because int might match the return type of a gcc2
51518 builtin and then its argument prototype would still apply. */
51519 char $ac_func ();
51520 /* The GNU C library defines this for functions which it implements
51521 to always fail with ENOSYS. Some functions are actually named
51522 something starting with __ and the normal name is an alias. */
51523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51524 choke me
51525 #else
51526 char (*f) () = $ac_func;
51527 #endif
51528 #ifdef __cplusplus
51530 #endif
51533 main ()
51535 return f != $ac_func;
51537 return 0;
51539 _ACEOF
51540 rm -f conftest.$ac_objext conftest$ac_exeext
51541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51542 (eval $ac_link) 2>conftest.er1
51543 ac_status=$?
51544 grep -v '^ *+' conftest.er1 >conftest.err
51545 rm -f conftest.er1
51546 cat conftest.err >&5
51547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51548 (exit $ac_status); } &&
51549 { ac_try='test -z "$ac_c_werror_flag"
51550 || test ! -s conftest.err'
51551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51552 (eval $ac_try) 2>&5
51553 ac_status=$?
51554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555 (exit $ac_status); }; } &&
51556 { ac_try='test -s conftest$ac_exeext'
51557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51558 (eval $ac_try) 2>&5
51559 ac_status=$?
51560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51561 (exit $ac_status); }; }; then
51562 eval "$as_ac_var=yes"
51563 else
51564 echo "$as_me: failed program was:" >&5
51565 sed 's/^/| /' conftest.$ac_ext >&5
51567 eval "$as_ac_var=no"
51569 rm -f conftest.err conftest.$ac_objext \
51570 conftest$ac_exeext conftest.$ac_ext
51572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51574 if test `eval echo '${'$as_ac_var'}'` = yes; then
51575 cat >>confdefs.h <<_ACEOF
51576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51577 _ACEOF
51580 done
51582 else
51584 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51585 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51586 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51587 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51588 echo $ECHO_N "(cached) $ECHO_C" >&6
51589 else
51593 ac_ext=cc
51594 ac_cpp='$CXXCPP $CPPFLAGS'
51595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51599 cat >conftest.$ac_ext <<_ACEOF
51600 /* confdefs.h. */
51601 _ACEOF
51602 cat confdefs.h >>conftest.$ac_ext
51603 cat >>conftest.$ac_ext <<_ACEOF
51604 /* end confdefs.h. */
51605 #include <math.h>
51607 main ()
51609 _modf(0, 0);
51611 return 0;
51613 _ACEOF
51614 rm -f conftest.$ac_objext
51615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51616 (eval $ac_compile) 2>conftest.er1
51617 ac_status=$?
51618 grep -v '^ *+' conftest.er1 >conftest.err
51619 rm -f conftest.er1
51620 cat conftest.err >&5
51621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51622 (exit $ac_status); } &&
51623 { ac_try='test -z "$ac_cxx_werror_flag"
51624 || test ! -s conftest.err'
51625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51626 (eval $ac_try) 2>&5
51627 ac_status=$?
51628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51629 (exit $ac_status); }; } &&
51630 { ac_try='test -s conftest.$ac_objext'
51631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51632 (eval $ac_try) 2>&5
51633 ac_status=$?
51634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51635 (exit $ac_status); }; }; then
51636 glibcxx_cv_func__modf_use=yes
51637 else
51638 echo "$as_me: failed program was:" >&5
51639 sed 's/^/| /' conftest.$ac_ext >&5
51641 glibcxx_cv_func__modf_use=no
51643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51644 ac_ext=c
51645 ac_cpp='$CPP $CPPFLAGS'
51646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51655 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51657 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51659 for ac_func in _modf
51661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51662 echo "$as_me:$LINENO: checking for $ac_func" >&5
51663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51664 if eval "test \"\${$as_ac_var+set}\" = set"; then
51665 echo $ECHO_N "(cached) $ECHO_C" >&6
51666 else
51667 if test x$gcc_no_link = xyes; then
51668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51670 { (exit 1); exit 1; }; }
51672 cat >conftest.$ac_ext <<_ACEOF
51673 /* confdefs.h. */
51674 _ACEOF
51675 cat confdefs.h >>conftest.$ac_ext
51676 cat >>conftest.$ac_ext <<_ACEOF
51677 /* end confdefs.h. */
51678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51680 #define $ac_func innocuous_$ac_func
51682 /* System header to define __stub macros and hopefully few prototypes,
51683 which can conflict with char $ac_func (); below.
51684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51685 <limits.h> exists even on freestanding compilers. */
51687 #ifdef __STDC__
51688 # include <limits.h>
51689 #else
51690 # include <assert.h>
51691 #endif
51693 #undef $ac_func
51695 /* Override any gcc2 internal prototype to avoid an error. */
51696 #ifdef __cplusplus
51697 extern "C"
51699 #endif
51700 /* We use char because int might match the return type of a gcc2
51701 builtin and then its argument prototype would still apply. */
51702 char $ac_func ();
51703 /* The GNU C library defines this for functions which it implements
51704 to always fail with ENOSYS. Some functions are actually named
51705 something starting with __ and the normal name is an alias. */
51706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51707 choke me
51708 #else
51709 char (*f) () = $ac_func;
51710 #endif
51711 #ifdef __cplusplus
51713 #endif
51716 main ()
51718 return f != $ac_func;
51720 return 0;
51722 _ACEOF
51723 rm -f conftest.$ac_objext conftest$ac_exeext
51724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51725 (eval $ac_link) 2>conftest.er1
51726 ac_status=$?
51727 grep -v '^ *+' conftest.er1 >conftest.err
51728 rm -f conftest.er1
51729 cat conftest.err >&5
51730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51731 (exit $ac_status); } &&
51732 { ac_try='test -z "$ac_c_werror_flag"
51733 || test ! -s conftest.err'
51734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51735 (eval $ac_try) 2>&5
51736 ac_status=$?
51737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51738 (exit $ac_status); }; } &&
51739 { ac_try='test -s conftest$ac_exeext'
51740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51741 (eval $ac_try) 2>&5
51742 ac_status=$?
51743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51744 (exit $ac_status); }; }; then
51745 eval "$as_ac_var=yes"
51746 else
51747 echo "$as_me: failed program was:" >&5
51748 sed 's/^/| /' conftest.$ac_ext >&5
51750 eval "$as_ac_var=no"
51752 rm -f conftest.err conftest.$ac_objext \
51753 conftest$ac_exeext conftest.$ac_ext
51755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51757 if test `eval echo '${'$as_ac_var'}'` = yes; then
51758 cat >>confdefs.h <<_ACEOF
51759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51760 _ACEOF
51763 done
51773 echo "$as_me:$LINENO: checking for powf declaration" >&5
51774 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51775 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51776 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51777 echo $ECHO_N "(cached) $ECHO_C" >&6
51778 else
51782 ac_ext=cc
51783 ac_cpp='$CXXCPP $CPPFLAGS'
51784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51788 cat >conftest.$ac_ext <<_ACEOF
51789 /* confdefs.h. */
51790 _ACEOF
51791 cat confdefs.h >>conftest.$ac_ext
51792 cat >>conftest.$ac_ext <<_ACEOF
51793 /* end confdefs.h. */
51794 #include <math.h>
51796 main ()
51798 powf(0, 0);
51800 return 0;
51802 _ACEOF
51803 rm -f conftest.$ac_objext
51804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51805 (eval $ac_compile) 2>conftest.er1
51806 ac_status=$?
51807 grep -v '^ *+' conftest.er1 >conftest.err
51808 rm -f conftest.er1
51809 cat conftest.err >&5
51810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51811 (exit $ac_status); } &&
51812 { ac_try='test -z "$ac_cxx_werror_flag"
51813 || test ! -s conftest.err'
51814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51815 (eval $ac_try) 2>&5
51816 ac_status=$?
51817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51818 (exit $ac_status); }; } &&
51819 { ac_try='test -s conftest.$ac_objext'
51820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51821 (eval $ac_try) 2>&5
51822 ac_status=$?
51823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51824 (exit $ac_status); }; }; then
51825 glibcxx_cv_func_powf_use=yes
51826 else
51827 echo "$as_me: failed program was:" >&5
51828 sed 's/^/| /' conftest.$ac_ext >&5
51830 glibcxx_cv_func_powf_use=no
51832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51844 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51846 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51848 for ac_func in powf
51850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51851 echo "$as_me:$LINENO: checking for $ac_func" >&5
51852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51853 if eval "test \"\${$as_ac_var+set}\" = set"; then
51854 echo $ECHO_N "(cached) $ECHO_C" >&6
51855 else
51856 if test x$gcc_no_link = xyes; then
51857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51859 { (exit 1); exit 1; }; }
51861 cat >conftest.$ac_ext <<_ACEOF
51862 /* confdefs.h. */
51863 _ACEOF
51864 cat confdefs.h >>conftest.$ac_ext
51865 cat >>conftest.$ac_ext <<_ACEOF
51866 /* end confdefs.h. */
51867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51869 #define $ac_func innocuous_$ac_func
51871 /* System header to define __stub macros and hopefully few prototypes,
51872 which can conflict with char $ac_func (); below.
51873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51874 <limits.h> exists even on freestanding compilers. */
51876 #ifdef __STDC__
51877 # include <limits.h>
51878 #else
51879 # include <assert.h>
51880 #endif
51882 #undef $ac_func
51884 /* Override any gcc2 internal prototype to avoid an error. */
51885 #ifdef __cplusplus
51886 extern "C"
51888 #endif
51889 /* We use char because int might match the return type of a gcc2
51890 builtin and then its argument prototype would still apply. */
51891 char $ac_func ();
51892 /* The GNU C library defines this for functions which it implements
51893 to always fail with ENOSYS. Some functions are actually named
51894 something starting with __ and the normal name is an alias. */
51895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51896 choke me
51897 #else
51898 char (*f) () = $ac_func;
51899 #endif
51900 #ifdef __cplusplus
51902 #endif
51905 main ()
51907 return f != $ac_func;
51909 return 0;
51911 _ACEOF
51912 rm -f conftest.$ac_objext conftest$ac_exeext
51913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51914 (eval $ac_link) 2>conftest.er1
51915 ac_status=$?
51916 grep -v '^ *+' conftest.er1 >conftest.err
51917 rm -f conftest.er1
51918 cat conftest.err >&5
51919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51920 (exit $ac_status); } &&
51921 { ac_try='test -z "$ac_c_werror_flag"
51922 || test ! -s conftest.err'
51923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51924 (eval $ac_try) 2>&5
51925 ac_status=$?
51926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51927 (exit $ac_status); }; } &&
51928 { ac_try='test -s conftest$ac_exeext'
51929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51930 (eval $ac_try) 2>&5
51931 ac_status=$?
51932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51933 (exit $ac_status); }; }; then
51934 eval "$as_ac_var=yes"
51935 else
51936 echo "$as_me: failed program was:" >&5
51937 sed 's/^/| /' conftest.$ac_ext >&5
51939 eval "$as_ac_var=no"
51941 rm -f conftest.err conftest.$ac_objext \
51942 conftest$ac_exeext conftest.$ac_ext
51944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51946 if test `eval echo '${'$as_ac_var'}'` = yes; then
51947 cat >>confdefs.h <<_ACEOF
51948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51949 _ACEOF
51952 done
51954 else
51956 echo "$as_me:$LINENO: checking for _powf declaration" >&5
51957 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
51958 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51959 if test "${glibcxx_cv_func__powf_use+set}" = set; then
51960 echo $ECHO_N "(cached) $ECHO_C" >&6
51961 else
51965 ac_ext=cc
51966 ac_cpp='$CXXCPP $CPPFLAGS'
51967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51971 cat >conftest.$ac_ext <<_ACEOF
51972 /* confdefs.h. */
51973 _ACEOF
51974 cat confdefs.h >>conftest.$ac_ext
51975 cat >>conftest.$ac_ext <<_ACEOF
51976 /* end confdefs.h. */
51977 #include <math.h>
51979 main ()
51981 _powf(0, 0);
51983 return 0;
51985 _ACEOF
51986 rm -f conftest.$ac_objext
51987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51988 (eval $ac_compile) 2>conftest.er1
51989 ac_status=$?
51990 grep -v '^ *+' conftest.er1 >conftest.err
51991 rm -f conftest.er1
51992 cat conftest.err >&5
51993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994 (exit $ac_status); } &&
51995 { ac_try='test -z "$ac_cxx_werror_flag"
51996 || test ! -s conftest.err'
51997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51998 (eval $ac_try) 2>&5
51999 ac_status=$?
52000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52001 (exit $ac_status); }; } &&
52002 { ac_try='test -s conftest.$ac_objext'
52003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52004 (eval $ac_try) 2>&5
52005 ac_status=$?
52006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52007 (exit $ac_status); }; }; then
52008 glibcxx_cv_func__powf_use=yes
52009 else
52010 echo "$as_me: failed program was:" >&5
52011 sed 's/^/| /' conftest.$ac_ext >&5
52013 glibcxx_cv_func__powf_use=no
52015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52016 ac_ext=c
52017 ac_cpp='$CPP $CPPFLAGS'
52018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52027 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52029 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52031 for ac_func in _powf
52033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52034 echo "$as_me:$LINENO: checking for $ac_func" >&5
52035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52036 if eval "test \"\${$as_ac_var+set}\" = set"; then
52037 echo $ECHO_N "(cached) $ECHO_C" >&6
52038 else
52039 if test x$gcc_no_link = xyes; then
52040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52042 { (exit 1); exit 1; }; }
52044 cat >conftest.$ac_ext <<_ACEOF
52045 /* confdefs.h. */
52046 _ACEOF
52047 cat confdefs.h >>conftest.$ac_ext
52048 cat >>conftest.$ac_ext <<_ACEOF
52049 /* end confdefs.h. */
52050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52052 #define $ac_func innocuous_$ac_func
52054 /* System header to define __stub macros and hopefully few prototypes,
52055 which can conflict with char $ac_func (); below.
52056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52057 <limits.h> exists even on freestanding compilers. */
52059 #ifdef __STDC__
52060 # include <limits.h>
52061 #else
52062 # include <assert.h>
52063 #endif
52065 #undef $ac_func
52067 /* Override any gcc2 internal prototype to avoid an error. */
52068 #ifdef __cplusplus
52069 extern "C"
52071 #endif
52072 /* We use char because int might match the return type of a gcc2
52073 builtin and then its argument prototype would still apply. */
52074 char $ac_func ();
52075 /* The GNU C library defines this for functions which it implements
52076 to always fail with ENOSYS. Some functions are actually named
52077 something starting with __ and the normal name is an alias. */
52078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52079 choke me
52080 #else
52081 char (*f) () = $ac_func;
52082 #endif
52083 #ifdef __cplusplus
52085 #endif
52088 main ()
52090 return f != $ac_func;
52092 return 0;
52094 _ACEOF
52095 rm -f conftest.$ac_objext conftest$ac_exeext
52096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52097 (eval $ac_link) 2>conftest.er1
52098 ac_status=$?
52099 grep -v '^ *+' conftest.er1 >conftest.err
52100 rm -f conftest.er1
52101 cat conftest.err >&5
52102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52103 (exit $ac_status); } &&
52104 { ac_try='test -z "$ac_c_werror_flag"
52105 || test ! -s conftest.err'
52106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52107 (eval $ac_try) 2>&5
52108 ac_status=$?
52109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52110 (exit $ac_status); }; } &&
52111 { ac_try='test -s conftest$ac_exeext'
52112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52113 (eval $ac_try) 2>&5
52114 ac_status=$?
52115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52116 (exit $ac_status); }; }; then
52117 eval "$as_ac_var=yes"
52118 else
52119 echo "$as_me: failed program was:" >&5
52120 sed 's/^/| /' conftest.$ac_ext >&5
52122 eval "$as_ac_var=no"
52124 rm -f conftest.err conftest.$ac_objext \
52125 conftest$ac_exeext conftest.$ac_ext
52127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52129 if test `eval echo '${'$as_ac_var'}'` = yes; then
52130 cat >>confdefs.h <<_ACEOF
52131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52132 _ACEOF
52135 done
52145 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52146 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52147 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52148 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52149 echo $ECHO_N "(cached) $ECHO_C" >&6
52150 else
52154 ac_ext=cc
52155 ac_cpp='$CXXCPP $CPPFLAGS'
52156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52160 cat >conftest.$ac_ext <<_ACEOF
52161 /* confdefs.h. */
52162 _ACEOF
52163 cat confdefs.h >>conftest.$ac_ext
52164 cat >>conftest.$ac_ext <<_ACEOF
52165 /* end confdefs.h. */
52166 #include <math.h>
52167 #ifdef HAVE_IEEEFP_H
52168 #include <ieeefp.h>
52169 #endif
52172 main ()
52174 sqrtf(0);
52176 return 0;
52178 _ACEOF
52179 rm -f conftest.$ac_objext
52180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52181 (eval $ac_compile) 2>conftest.er1
52182 ac_status=$?
52183 grep -v '^ *+' conftest.er1 >conftest.err
52184 rm -f conftest.er1
52185 cat conftest.err >&5
52186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52187 (exit $ac_status); } &&
52188 { ac_try='test -z "$ac_cxx_werror_flag"
52189 || test ! -s conftest.err'
52190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52191 (eval $ac_try) 2>&5
52192 ac_status=$?
52193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52194 (exit $ac_status); }; } &&
52195 { ac_try='test -s conftest.$ac_objext'
52196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52197 (eval $ac_try) 2>&5
52198 ac_status=$?
52199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52200 (exit $ac_status); }; }; then
52201 glibcxx_cv_func_sqrtf_use=yes
52202 else
52203 echo "$as_me: failed program was:" >&5
52204 sed 's/^/| /' conftest.$ac_ext >&5
52206 glibcxx_cv_func_sqrtf_use=no
52208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52209 ac_ext=c
52210 ac_cpp='$CPP $CPPFLAGS'
52211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52220 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52222 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52224 for ac_func in sqrtf
52226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52227 echo "$as_me:$LINENO: checking for $ac_func" >&5
52228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52229 if eval "test \"\${$as_ac_var+set}\" = set"; then
52230 echo $ECHO_N "(cached) $ECHO_C" >&6
52231 else
52232 if test x$gcc_no_link = xyes; then
52233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52235 { (exit 1); exit 1; }; }
52237 cat >conftest.$ac_ext <<_ACEOF
52238 /* confdefs.h. */
52239 _ACEOF
52240 cat confdefs.h >>conftest.$ac_ext
52241 cat >>conftest.$ac_ext <<_ACEOF
52242 /* end confdefs.h. */
52243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52245 #define $ac_func innocuous_$ac_func
52247 /* System header to define __stub macros and hopefully few prototypes,
52248 which can conflict with char $ac_func (); below.
52249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52250 <limits.h> exists even on freestanding compilers. */
52252 #ifdef __STDC__
52253 # include <limits.h>
52254 #else
52255 # include <assert.h>
52256 #endif
52258 #undef $ac_func
52260 /* Override any gcc2 internal prototype to avoid an error. */
52261 #ifdef __cplusplus
52262 extern "C"
52264 #endif
52265 /* We use char because int might match the return type of a gcc2
52266 builtin and then its argument prototype would still apply. */
52267 char $ac_func ();
52268 /* The GNU C library defines this for functions which it implements
52269 to always fail with ENOSYS. Some functions are actually named
52270 something starting with __ and the normal name is an alias. */
52271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52272 choke me
52273 #else
52274 char (*f) () = $ac_func;
52275 #endif
52276 #ifdef __cplusplus
52278 #endif
52281 main ()
52283 return f != $ac_func;
52285 return 0;
52287 _ACEOF
52288 rm -f conftest.$ac_objext conftest$ac_exeext
52289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52290 (eval $ac_link) 2>conftest.er1
52291 ac_status=$?
52292 grep -v '^ *+' conftest.er1 >conftest.err
52293 rm -f conftest.er1
52294 cat conftest.err >&5
52295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52296 (exit $ac_status); } &&
52297 { ac_try='test -z "$ac_c_werror_flag"
52298 || test ! -s conftest.err'
52299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52300 (eval $ac_try) 2>&5
52301 ac_status=$?
52302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52303 (exit $ac_status); }; } &&
52304 { ac_try='test -s conftest$ac_exeext'
52305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52306 (eval $ac_try) 2>&5
52307 ac_status=$?
52308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52309 (exit $ac_status); }; }; then
52310 eval "$as_ac_var=yes"
52311 else
52312 echo "$as_me: failed program was:" >&5
52313 sed 's/^/| /' conftest.$ac_ext >&5
52315 eval "$as_ac_var=no"
52317 rm -f conftest.err conftest.$ac_objext \
52318 conftest$ac_exeext conftest.$ac_ext
52320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52322 if test `eval echo '${'$as_ac_var'}'` = yes; then
52323 cat >>confdefs.h <<_ACEOF
52324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52325 _ACEOF
52328 done
52330 else
52332 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52333 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52334 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52335 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52336 echo $ECHO_N "(cached) $ECHO_C" >&6
52337 else
52341 ac_ext=cc
52342 ac_cpp='$CXXCPP $CPPFLAGS'
52343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52347 cat >conftest.$ac_ext <<_ACEOF
52348 /* confdefs.h. */
52349 _ACEOF
52350 cat confdefs.h >>conftest.$ac_ext
52351 cat >>conftest.$ac_ext <<_ACEOF
52352 /* end confdefs.h. */
52353 #include <math.h>
52354 #ifdef HAVE_IEEEFP_H
52355 #include <ieeefp.h>
52356 #endif
52359 main ()
52361 _sqrtf(0);
52363 return 0;
52365 _ACEOF
52366 rm -f conftest.$ac_objext
52367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52368 (eval $ac_compile) 2>conftest.er1
52369 ac_status=$?
52370 grep -v '^ *+' conftest.er1 >conftest.err
52371 rm -f conftest.er1
52372 cat conftest.err >&5
52373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52374 (exit $ac_status); } &&
52375 { ac_try='test -z "$ac_cxx_werror_flag"
52376 || test ! -s conftest.err'
52377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52378 (eval $ac_try) 2>&5
52379 ac_status=$?
52380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52381 (exit $ac_status); }; } &&
52382 { ac_try='test -s conftest.$ac_objext'
52383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52384 (eval $ac_try) 2>&5
52385 ac_status=$?
52386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52387 (exit $ac_status); }; }; then
52388 glibcxx_cv_func__sqrtf_use=yes
52389 else
52390 echo "$as_me: failed program was:" >&5
52391 sed 's/^/| /' conftest.$ac_ext >&5
52393 glibcxx_cv_func__sqrtf_use=no
52395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52396 ac_ext=c
52397 ac_cpp='$CPP $CPPFLAGS'
52398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52407 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52409 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52411 for ac_func in _sqrtf
52413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52414 echo "$as_me:$LINENO: checking for $ac_func" >&5
52415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52416 if eval "test \"\${$as_ac_var+set}\" = set"; then
52417 echo $ECHO_N "(cached) $ECHO_C" >&6
52418 else
52419 if test x$gcc_no_link = xyes; then
52420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52422 { (exit 1); exit 1; }; }
52424 cat >conftest.$ac_ext <<_ACEOF
52425 /* confdefs.h. */
52426 _ACEOF
52427 cat confdefs.h >>conftest.$ac_ext
52428 cat >>conftest.$ac_ext <<_ACEOF
52429 /* end confdefs.h. */
52430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52432 #define $ac_func innocuous_$ac_func
52434 /* System header to define __stub macros and hopefully few prototypes,
52435 which can conflict with char $ac_func (); below.
52436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52437 <limits.h> exists even on freestanding compilers. */
52439 #ifdef __STDC__
52440 # include <limits.h>
52441 #else
52442 # include <assert.h>
52443 #endif
52445 #undef $ac_func
52447 /* Override any gcc2 internal prototype to avoid an error. */
52448 #ifdef __cplusplus
52449 extern "C"
52451 #endif
52452 /* We use char because int might match the return type of a gcc2
52453 builtin and then its argument prototype would still apply. */
52454 char $ac_func ();
52455 /* The GNU C library defines this for functions which it implements
52456 to always fail with ENOSYS. Some functions are actually named
52457 something starting with __ and the normal name is an alias. */
52458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52459 choke me
52460 #else
52461 char (*f) () = $ac_func;
52462 #endif
52463 #ifdef __cplusplus
52465 #endif
52468 main ()
52470 return f != $ac_func;
52472 return 0;
52474 _ACEOF
52475 rm -f conftest.$ac_objext conftest$ac_exeext
52476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52477 (eval $ac_link) 2>conftest.er1
52478 ac_status=$?
52479 grep -v '^ *+' conftest.er1 >conftest.err
52480 rm -f conftest.er1
52481 cat conftest.err >&5
52482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52483 (exit $ac_status); } &&
52484 { ac_try='test -z "$ac_c_werror_flag"
52485 || test ! -s conftest.err'
52486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52487 (eval $ac_try) 2>&5
52488 ac_status=$?
52489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52490 (exit $ac_status); }; } &&
52491 { ac_try='test -s conftest$ac_exeext'
52492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52493 (eval $ac_try) 2>&5
52494 ac_status=$?
52495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52496 (exit $ac_status); }; }; then
52497 eval "$as_ac_var=yes"
52498 else
52499 echo "$as_me: failed program was:" >&5
52500 sed 's/^/| /' conftest.$ac_ext >&5
52502 eval "$as_ac_var=no"
52504 rm -f conftest.err conftest.$ac_objext \
52505 conftest$ac_exeext conftest.$ac_ext
52507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52509 if test `eval echo '${'$as_ac_var'}'` = yes; then
52510 cat >>confdefs.h <<_ACEOF
52511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52512 _ACEOF
52515 done
52525 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52526 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52527 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52528 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52529 echo $ECHO_N "(cached) $ECHO_C" >&6
52530 else
52534 ac_ext=cc
52535 ac_cpp='$CXXCPP $CPPFLAGS'
52536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52540 cat >conftest.$ac_ext <<_ACEOF
52541 /* confdefs.h. */
52542 _ACEOF
52543 cat confdefs.h >>conftest.$ac_ext
52544 cat >>conftest.$ac_ext <<_ACEOF
52545 /* end confdefs.h. */
52546 #include <math.h>
52548 main ()
52550 sincosf(0, 0, 0);
52552 return 0;
52554 _ACEOF
52555 rm -f conftest.$ac_objext
52556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52557 (eval $ac_compile) 2>conftest.er1
52558 ac_status=$?
52559 grep -v '^ *+' conftest.er1 >conftest.err
52560 rm -f conftest.er1
52561 cat conftest.err >&5
52562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52563 (exit $ac_status); } &&
52564 { ac_try='test -z "$ac_cxx_werror_flag"
52565 || test ! -s conftest.err'
52566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52567 (eval $ac_try) 2>&5
52568 ac_status=$?
52569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52570 (exit $ac_status); }; } &&
52571 { ac_try='test -s conftest.$ac_objext'
52572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52573 (eval $ac_try) 2>&5
52574 ac_status=$?
52575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52576 (exit $ac_status); }; }; then
52577 glibcxx_cv_func_sincosf_use=yes
52578 else
52579 echo "$as_me: failed program was:" >&5
52580 sed 's/^/| /' conftest.$ac_ext >&5
52582 glibcxx_cv_func_sincosf_use=no
52584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52585 ac_ext=c
52586 ac_cpp='$CPP $CPPFLAGS'
52587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52596 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52598 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52600 for ac_func in sincosf
52602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52603 echo "$as_me:$LINENO: checking for $ac_func" >&5
52604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52605 if eval "test \"\${$as_ac_var+set}\" = set"; then
52606 echo $ECHO_N "(cached) $ECHO_C" >&6
52607 else
52608 if test x$gcc_no_link = xyes; then
52609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52611 { (exit 1); exit 1; }; }
52613 cat >conftest.$ac_ext <<_ACEOF
52614 /* confdefs.h. */
52615 _ACEOF
52616 cat confdefs.h >>conftest.$ac_ext
52617 cat >>conftest.$ac_ext <<_ACEOF
52618 /* end confdefs.h. */
52619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52621 #define $ac_func innocuous_$ac_func
52623 /* System header to define __stub macros and hopefully few prototypes,
52624 which can conflict with char $ac_func (); below.
52625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52626 <limits.h> exists even on freestanding compilers. */
52628 #ifdef __STDC__
52629 # include <limits.h>
52630 #else
52631 # include <assert.h>
52632 #endif
52634 #undef $ac_func
52636 /* Override any gcc2 internal prototype to avoid an error. */
52637 #ifdef __cplusplus
52638 extern "C"
52640 #endif
52641 /* We use char because int might match the return type of a gcc2
52642 builtin and then its argument prototype would still apply. */
52643 char $ac_func ();
52644 /* The GNU C library defines this for functions which it implements
52645 to always fail with ENOSYS. Some functions are actually named
52646 something starting with __ and the normal name is an alias. */
52647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52648 choke me
52649 #else
52650 char (*f) () = $ac_func;
52651 #endif
52652 #ifdef __cplusplus
52654 #endif
52657 main ()
52659 return f != $ac_func;
52661 return 0;
52663 _ACEOF
52664 rm -f conftest.$ac_objext conftest$ac_exeext
52665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52666 (eval $ac_link) 2>conftest.er1
52667 ac_status=$?
52668 grep -v '^ *+' conftest.er1 >conftest.err
52669 rm -f conftest.er1
52670 cat conftest.err >&5
52671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52672 (exit $ac_status); } &&
52673 { ac_try='test -z "$ac_c_werror_flag"
52674 || test ! -s conftest.err'
52675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52676 (eval $ac_try) 2>&5
52677 ac_status=$?
52678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52679 (exit $ac_status); }; } &&
52680 { ac_try='test -s conftest$ac_exeext'
52681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52682 (eval $ac_try) 2>&5
52683 ac_status=$?
52684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52685 (exit $ac_status); }; }; then
52686 eval "$as_ac_var=yes"
52687 else
52688 echo "$as_me: failed program was:" >&5
52689 sed 's/^/| /' conftest.$ac_ext >&5
52691 eval "$as_ac_var=no"
52693 rm -f conftest.err conftest.$ac_objext \
52694 conftest$ac_exeext conftest.$ac_ext
52696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52698 if test `eval echo '${'$as_ac_var'}'` = yes; then
52699 cat >>confdefs.h <<_ACEOF
52700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52701 _ACEOF
52704 done
52706 else
52708 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52709 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52710 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52711 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52712 echo $ECHO_N "(cached) $ECHO_C" >&6
52713 else
52717 ac_ext=cc
52718 ac_cpp='$CXXCPP $CPPFLAGS'
52719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52723 cat >conftest.$ac_ext <<_ACEOF
52724 /* confdefs.h. */
52725 _ACEOF
52726 cat confdefs.h >>conftest.$ac_ext
52727 cat >>conftest.$ac_ext <<_ACEOF
52728 /* end confdefs.h. */
52729 #include <math.h>
52731 main ()
52733 _sincosf(0, 0, 0);
52735 return 0;
52737 _ACEOF
52738 rm -f conftest.$ac_objext
52739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52740 (eval $ac_compile) 2>conftest.er1
52741 ac_status=$?
52742 grep -v '^ *+' conftest.er1 >conftest.err
52743 rm -f conftest.er1
52744 cat conftest.err >&5
52745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52746 (exit $ac_status); } &&
52747 { ac_try='test -z "$ac_cxx_werror_flag"
52748 || test ! -s conftest.err'
52749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52750 (eval $ac_try) 2>&5
52751 ac_status=$?
52752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52753 (exit $ac_status); }; } &&
52754 { ac_try='test -s conftest.$ac_objext'
52755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52756 (eval $ac_try) 2>&5
52757 ac_status=$?
52758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52759 (exit $ac_status); }; }; then
52760 glibcxx_cv_func__sincosf_use=yes
52761 else
52762 echo "$as_me: failed program was:" >&5
52763 sed 's/^/| /' conftest.$ac_ext >&5
52765 glibcxx_cv_func__sincosf_use=no
52767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52768 ac_ext=c
52769 ac_cpp='$CPP $CPPFLAGS'
52770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52779 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52781 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52783 for ac_func in _sincosf
52785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52786 echo "$as_me:$LINENO: checking for $ac_func" >&5
52787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52788 if eval "test \"\${$as_ac_var+set}\" = set"; then
52789 echo $ECHO_N "(cached) $ECHO_C" >&6
52790 else
52791 if test x$gcc_no_link = xyes; then
52792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52794 { (exit 1); exit 1; }; }
52796 cat >conftest.$ac_ext <<_ACEOF
52797 /* confdefs.h. */
52798 _ACEOF
52799 cat confdefs.h >>conftest.$ac_ext
52800 cat >>conftest.$ac_ext <<_ACEOF
52801 /* end confdefs.h. */
52802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52804 #define $ac_func innocuous_$ac_func
52806 /* System header to define __stub macros and hopefully few prototypes,
52807 which can conflict with char $ac_func (); below.
52808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52809 <limits.h> exists even on freestanding compilers. */
52811 #ifdef __STDC__
52812 # include <limits.h>
52813 #else
52814 # include <assert.h>
52815 #endif
52817 #undef $ac_func
52819 /* Override any gcc2 internal prototype to avoid an error. */
52820 #ifdef __cplusplus
52821 extern "C"
52823 #endif
52824 /* We use char because int might match the return type of a gcc2
52825 builtin and then its argument prototype would still apply. */
52826 char $ac_func ();
52827 /* The GNU C library defines this for functions which it implements
52828 to always fail with ENOSYS. Some functions are actually named
52829 something starting with __ and the normal name is an alias. */
52830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52831 choke me
52832 #else
52833 char (*f) () = $ac_func;
52834 #endif
52835 #ifdef __cplusplus
52837 #endif
52840 main ()
52842 return f != $ac_func;
52844 return 0;
52846 _ACEOF
52847 rm -f conftest.$ac_objext conftest$ac_exeext
52848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52849 (eval $ac_link) 2>conftest.er1
52850 ac_status=$?
52851 grep -v '^ *+' conftest.er1 >conftest.err
52852 rm -f conftest.er1
52853 cat conftest.err >&5
52854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52855 (exit $ac_status); } &&
52856 { ac_try='test -z "$ac_c_werror_flag"
52857 || test ! -s conftest.err'
52858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52859 (eval $ac_try) 2>&5
52860 ac_status=$?
52861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52862 (exit $ac_status); }; } &&
52863 { ac_try='test -s conftest$ac_exeext'
52864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52865 (eval $ac_try) 2>&5
52866 ac_status=$?
52867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52868 (exit $ac_status); }; }; then
52869 eval "$as_ac_var=yes"
52870 else
52871 echo "$as_me: failed program was:" >&5
52872 sed 's/^/| /' conftest.$ac_ext >&5
52874 eval "$as_ac_var=no"
52876 rm -f conftest.err conftest.$ac_objext \
52877 conftest$ac_exeext conftest.$ac_ext
52879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52881 if test `eval echo '${'$as_ac_var'}'` = yes; then
52882 cat >>confdefs.h <<_ACEOF
52883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52884 _ACEOF
52887 done
52897 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52898 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52899 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52900 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52901 echo $ECHO_N "(cached) $ECHO_C" >&6
52902 else
52906 ac_ext=cc
52907 ac_cpp='$CXXCPP $CPPFLAGS'
52908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52912 cat >conftest.$ac_ext <<_ACEOF
52913 /* confdefs.h. */
52914 _ACEOF
52915 cat confdefs.h >>conftest.$ac_ext
52916 cat >>conftest.$ac_ext <<_ACEOF
52917 /* end confdefs.h. */
52918 #include <math.h>
52919 #ifdef HAVE_IEEEFP_H
52920 #include <ieeefp.h>
52921 #endif
52924 main ()
52926 finitef(0);
52928 return 0;
52930 _ACEOF
52931 rm -f conftest.$ac_objext
52932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52933 (eval $ac_compile) 2>conftest.er1
52934 ac_status=$?
52935 grep -v '^ *+' conftest.er1 >conftest.err
52936 rm -f conftest.er1
52937 cat conftest.err >&5
52938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52939 (exit $ac_status); } &&
52940 { ac_try='test -z "$ac_cxx_werror_flag"
52941 || test ! -s conftest.err'
52942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52943 (eval $ac_try) 2>&5
52944 ac_status=$?
52945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52946 (exit $ac_status); }; } &&
52947 { ac_try='test -s conftest.$ac_objext'
52948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52949 (eval $ac_try) 2>&5
52950 ac_status=$?
52951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52952 (exit $ac_status); }; }; then
52953 glibcxx_cv_func_finitef_use=yes
52954 else
52955 echo "$as_me: failed program was:" >&5
52956 sed 's/^/| /' conftest.$ac_ext >&5
52958 glibcxx_cv_func_finitef_use=no
52960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52961 ac_ext=c
52962 ac_cpp='$CPP $CPPFLAGS'
52963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
52972 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
52974 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
52976 for ac_func in finitef
52978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52979 echo "$as_me:$LINENO: checking for $ac_func" >&5
52980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52981 if eval "test \"\${$as_ac_var+set}\" = set"; then
52982 echo $ECHO_N "(cached) $ECHO_C" >&6
52983 else
52984 if test x$gcc_no_link = xyes; then
52985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52987 { (exit 1); exit 1; }; }
52989 cat >conftest.$ac_ext <<_ACEOF
52990 /* confdefs.h. */
52991 _ACEOF
52992 cat confdefs.h >>conftest.$ac_ext
52993 cat >>conftest.$ac_ext <<_ACEOF
52994 /* end confdefs.h. */
52995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52997 #define $ac_func innocuous_$ac_func
52999 /* System header to define __stub macros and hopefully few prototypes,
53000 which can conflict with char $ac_func (); below.
53001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53002 <limits.h> exists even on freestanding compilers. */
53004 #ifdef __STDC__
53005 # include <limits.h>
53006 #else
53007 # include <assert.h>
53008 #endif
53010 #undef $ac_func
53012 /* Override any gcc2 internal prototype to avoid an error. */
53013 #ifdef __cplusplus
53014 extern "C"
53016 #endif
53017 /* We use char because int might match the return type of a gcc2
53018 builtin and then its argument prototype would still apply. */
53019 char $ac_func ();
53020 /* The GNU C library defines this for functions which it implements
53021 to always fail with ENOSYS. Some functions are actually named
53022 something starting with __ and the normal name is an alias. */
53023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53024 choke me
53025 #else
53026 char (*f) () = $ac_func;
53027 #endif
53028 #ifdef __cplusplus
53030 #endif
53033 main ()
53035 return f != $ac_func;
53037 return 0;
53039 _ACEOF
53040 rm -f conftest.$ac_objext conftest$ac_exeext
53041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53042 (eval $ac_link) 2>conftest.er1
53043 ac_status=$?
53044 grep -v '^ *+' conftest.er1 >conftest.err
53045 rm -f conftest.er1
53046 cat conftest.err >&5
53047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53048 (exit $ac_status); } &&
53049 { ac_try='test -z "$ac_c_werror_flag"
53050 || test ! -s conftest.err'
53051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53052 (eval $ac_try) 2>&5
53053 ac_status=$?
53054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53055 (exit $ac_status); }; } &&
53056 { ac_try='test -s conftest$ac_exeext'
53057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53058 (eval $ac_try) 2>&5
53059 ac_status=$?
53060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061 (exit $ac_status); }; }; then
53062 eval "$as_ac_var=yes"
53063 else
53064 echo "$as_me: failed program was:" >&5
53065 sed 's/^/| /' conftest.$ac_ext >&5
53067 eval "$as_ac_var=no"
53069 rm -f conftest.err conftest.$ac_objext \
53070 conftest$ac_exeext conftest.$ac_ext
53072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53074 if test `eval echo '${'$as_ac_var'}'` = yes; then
53075 cat >>confdefs.h <<_ACEOF
53076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53077 _ACEOF
53080 done
53082 else
53084 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53085 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53086 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53087 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53088 echo $ECHO_N "(cached) $ECHO_C" >&6
53089 else
53093 ac_ext=cc
53094 ac_cpp='$CXXCPP $CPPFLAGS'
53095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53099 cat >conftest.$ac_ext <<_ACEOF
53100 /* confdefs.h. */
53101 _ACEOF
53102 cat confdefs.h >>conftest.$ac_ext
53103 cat >>conftest.$ac_ext <<_ACEOF
53104 /* end confdefs.h. */
53105 #include <math.h>
53106 #ifdef HAVE_IEEEFP_H
53107 #include <ieeefp.h>
53108 #endif
53111 main ()
53113 _finitef(0);
53115 return 0;
53117 _ACEOF
53118 rm -f conftest.$ac_objext
53119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53120 (eval $ac_compile) 2>conftest.er1
53121 ac_status=$?
53122 grep -v '^ *+' conftest.er1 >conftest.err
53123 rm -f conftest.er1
53124 cat conftest.err >&5
53125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53126 (exit $ac_status); } &&
53127 { ac_try='test -z "$ac_cxx_werror_flag"
53128 || test ! -s conftest.err'
53129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53130 (eval $ac_try) 2>&5
53131 ac_status=$?
53132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53133 (exit $ac_status); }; } &&
53134 { ac_try='test -s conftest.$ac_objext'
53135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53136 (eval $ac_try) 2>&5
53137 ac_status=$?
53138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53139 (exit $ac_status); }; }; then
53140 glibcxx_cv_func__finitef_use=yes
53141 else
53142 echo "$as_me: failed program was:" >&5
53143 sed 's/^/| /' conftest.$ac_ext >&5
53145 glibcxx_cv_func__finitef_use=no
53147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53148 ac_ext=c
53149 ac_cpp='$CPP $CPPFLAGS'
53150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53159 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53161 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53163 for ac_func in _finitef
53165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53166 echo "$as_me:$LINENO: checking for $ac_func" >&5
53167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53168 if eval "test \"\${$as_ac_var+set}\" = set"; then
53169 echo $ECHO_N "(cached) $ECHO_C" >&6
53170 else
53171 if test x$gcc_no_link = xyes; then
53172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53174 { (exit 1); exit 1; }; }
53176 cat >conftest.$ac_ext <<_ACEOF
53177 /* confdefs.h. */
53178 _ACEOF
53179 cat confdefs.h >>conftest.$ac_ext
53180 cat >>conftest.$ac_ext <<_ACEOF
53181 /* end confdefs.h. */
53182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53184 #define $ac_func innocuous_$ac_func
53186 /* System header to define __stub macros and hopefully few prototypes,
53187 which can conflict with char $ac_func (); below.
53188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53189 <limits.h> exists even on freestanding compilers. */
53191 #ifdef __STDC__
53192 # include <limits.h>
53193 #else
53194 # include <assert.h>
53195 #endif
53197 #undef $ac_func
53199 /* Override any gcc2 internal prototype to avoid an error. */
53200 #ifdef __cplusplus
53201 extern "C"
53203 #endif
53204 /* We use char because int might match the return type of a gcc2
53205 builtin and then its argument prototype would still apply. */
53206 char $ac_func ();
53207 /* The GNU C library defines this for functions which it implements
53208 to always fail with ENOSYS. Some functions are actually named
53209 something starting with __ and the normal name is an alias. */
53210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53211 choke me
53212 #else
53213 char (*f) () = $ac_func;
53214 #endif
53215 #ifdef __cplusplus
53217 #endif
53220 main ()
53222 return f != $ac_func;
53224 return 0;
53226 _ACEOF
53227 rm -f conftest.$ac_objext conftest$ac_exeext
53228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53229 (eval $ac_link) 2>conftest.er1
53230 ac_status=$?
53231 grep -v '^ *+' conftest.er1 >conftest.err
53232 rm -f conftest.er1
53233 cat conftest.err >&5
53234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53235 (exit $ac_status); } &&
53236 { ac_try='test -z "$ac_c_werror_flag"
53237 || test ! -s conftest.err'
53238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53239 (eval $ac_try) 2>&5
53240 ac_status=$?
53241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53242 (exit $ac_status); }; } &&
53243 { ac_try='test -s conftest$ac_exeext'
53244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53245 (eval $ac_try) 2>&5
53246 ac_status=$?
53247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53248 (exit $ac_status); }; }; then
53249 eval "$as_ac_var=yes"
53250 else
53251 echo "$as_me: failed program was:" >&5
53252 sed 's/^/| /' conftest.$ac_ext >&5
53254 eval "$as_ac_var=no"
53256 rm -f conftest.err conftest.$ac_objext \
53257 conftest$ac_exeext conftest.$ac_ext
53259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53261 if test `eval echo '${'$as_ac_var'}'` = yes; then
53262 cat >>confdefs.h <<_ACEOF
53263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53264 _ACEOF
53267 done
53277 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53278 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53279 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53280 echo $ECHO_N "(cached) $ECHO_C" >&6
53281 else
53285 ac_ext=cc
53286 ac_cpp='$CXXCPP $CPPFLAGS'
53287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53291 cat >conftest.$ac_ext <<_ACEOF
53292 /* confdefs.h. */
53293 _ACEOF
53294 cat confdefs.h >>conftest.$ac_ext
53295 cat >>conftest.$ac_ext <<_ACEOF
53296 /* end confdefs.h. */
53297 #include <math.h>
53299 main ()
53301 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53303 return 0;
53305 _ACEOF
53306 rm -f conftest.$ac_objext
53307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53308 (eval $ac_compile) 2>conftest.er1
53309 ac_status=$?
53310 grep -v '^ *+' conftest.er1 >conftest.err
53311 rm -f conftest.er1
53312 cat conftest.err >&5
53313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53314 (exit $ac_status); } &&
53315 { ac_try='test -z "$ac_cxx_werror_flag"
53316 || test ! -s conftest.err'
53317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53318 (eval $ac_try) 2>&5
53319 ac_status=$?
53320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53321 (exit $ac_status); }; } &&
53322 { ac_try='test -s conftest.$ac_objext'
53323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53324 (eval $ac_try) 2>&5
53325 ac_status=$?
53326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53327 (exit $ac_status); }; }; then
53328 glibcxx_cv_func_long_double_trig_use=yes
53329 else
53330 echo "$as_me: failed program was:" >&5
53331 sed 's/^/| /' conftest.$ac_ext >&5
53333 glibcxx_cv_func_long_double_trig_use=no
53335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53336 ac_ext=c
53337 ac_cpp='$CPP $CPPFLAGS'
53338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53345 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53346 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53356 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53359 echo "$as_me:$LINENO: checking for $ac_func" >&5
53360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53361 if eval "test \"\${$as_ac_var+set}\" = set"; then
53362 echo $ECHO_N "(cached) $ECHO_C" >&6
53363 else
53364 if test x$gcc_no_link = xyes; then
53365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53367 { (exit 1); exit 1; }; }
53369 cat >conftest.$ac_ext <<_ACEOF
53370 /* confdefs.h. */
53371 _ACEOF
53372 cat confdefs.h >>conftest.$ac_ext
53373 cat >>conftest.$ac_ext <<_ACEOF
53374 /* end confdefs.h. */
53375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53377 #define $ac_func innocuous_$ac_func
53379 /* System header to define __stub macros and hopefully few prototypes,
53380 which can conflict with char $ac_func (); below.
53381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53382 <limits.h> exists even on freestanding compilers. */
53384 #ifdef __STDC__
53385 # include <limits.h>
53386 #else
53387 # include <assert.h>
53388 #endif
53390 #undef $ac_func
53392 /* Override any gcc2 internal prototype to avoid an error. */
53393 #ifdef __cplusplus
53394 extern "C"
53396 #endif
53397 /* We use char because int might match the return type of a gcc2
53398 builtin and then its argument prototype would still apply. */
53399 char $ac_func ();
53400 /* The GNU C library defines this for functions which it implements
53401 to always fail with ENOSYS. Some functions are actually named
53402 something starting with __ and the normal name is an alias. */
53403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53404 choke me
53405 #else
53406 char (*f) () = $ac_func;
53407 #endif
53408 #ifdef __cplusplus
53410 #endif
53413 main ()
53415 return f != $ac_func;
53417 return 0;
53419 _ACEOF
53420 rm -f conftest.$ac_objext conftest$ac_exeext
53421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53422 (eval $ac_link) 2>conftest.er1
53423 ac_status=$?
53424 grep -v '^ *+' conftest.er1 >conftest.err
53425 rm -f conftest.er1
53426 cat conftest.err >&5
53427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53428 (exit $ac_status); } &&
53429 { ac_try='test -z "$ac_c_werror_flag"
53430 || test ! -s conftest.err'
53431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53432 (eval $ac_try) 2>&5
53433 ac_status=$?
53434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53435 (exit $ac_status); }; } &&
53436 { ac_try='test -s conftest$ac_exeext'
53437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53438 (eval $ac_try) 2>&5
53439 ac_status=$?
53440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53441 (exit $ac_status); }; }; then
53442 eval "$as_ac_var=yes"
53443 else
53444 echo "$as_me: failed program was:" >&5
53445 sed 's/^/| /' conftest.$ac_ext >&5
53447 eval "$as_ac_var=no"
53449 rm -f conftest.err conftest.$ac_objext \
53450 conftest$ac_exeext conftest.$ac_ext
53452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53454 if test `eval echo '${'$as_ac_var'}'` = yes; then
53455 cat >>confdefs.h <<_ACEOF
53456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53457 _ACEOF
53460 done
53462 else
53463 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53464 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53465 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53466 echo $ECHO_N "(cached) $ECHO_C" >&6
53467 else
53471 ac_ext=cc
53472 ac_cpp='$CXXCPP $CPPFLAGS'
53473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53477 cat >conftest.$ac_ext <<_ACEOF
53478 /* confdefs.h. */
53479 _ACEOF
53480 cat confdefs.h >>conftest.$ac_ext
53481 cat >>conftest.$ac_ext <<_ACEOF
53482 /* end confdefs.h. */
53483 #include <math.h>
53485 main ()
53487 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53489 return 0;
53491 _ACEOF
53492 rm -f conftest.$ac_objext
53493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53494 (eval $ac_compile) 2>conftest.er1
53495 ac_status=$?
53496 grep -v '^ *+' conftest.er1 >conftest.err
53497 rm -f conftest.er1
53498 cat conftest.err >&5
53499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53500 (exit $ac_status); } &&
53501 { ac_try='test -z "$ac_cxx_werror_flag"
53502 || test ! -s conftest.err'
53503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53504 (eval $ac_try) 2>&5
53505 ac_status=$?
53506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53507 (exit $ac_status); }; } &&
53508 { ac_try='test -s conftest.$ac_objext'
53509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53510 (eval $ac_try) 2>&5
53511 ac_status=$?
53512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53513 (exit $ac_status); }; }; then
53514 glibcxx_cv_func__long_double_trig_use=yes
53515 else
53516 echo "$as_me: failed program was:" >&5
53517 sed 's/^/| /' conftest.$ac_ext >&5
53519 glibcxx_cv_func__long_double_trig_use=no
53521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53522 ac_ext=c
53523 ac_cpp='$CPP $CPPFLAGS'
53524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53531 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53532 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53542 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53545 echo "$as_me:$LINENO: checking for $ac_func" >&5
53546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53547 if eval "test \"\${$as_ac_var+set}\" = set"; then
53548 echo $ECHO_N "(cached) $ECHO_C" >&6
53549 else
53550 if test x$gcc_no_link = xyes; then
53551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53553 { (exit 1); exit 1; }; }
53555 cat >conftest.$ac_ext <<_ACEOF
53556 /* confdefs.h. */
53557 _ACEOF
53558 cat confdefs.h >>conftest.$ac_ext
53559 cat >>conftest.$ac_ext <<_ACEOF
53560 /* end confdefs.h. */
53561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53563 #define $ac_func innocuous_$ac_func
53565 /* System header to define __stub macros and hopefully few prototypes,
53566 which can conflict with char $ac_func (); below.
53567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53568 <limits.h> exists even on freestanding compilers. */
53570 #ifdef __STDC__
53571 # include <limits.h>
53572 #else
53573 # include <assert.h>
53574 #endif
53576 #undef $ac_func
53578 /* Override any gcc2 internal prototype to avoid an error. */
53579 #ifdef __cplusplus
53580 extern "C"
53582 #endif
53583 /* We use char because int might match the return type of a gcc2
53584 builtin and then its argument prototype would still apply. */
53585 char $ac_func ();
53586 /* The GNU C library defines this for functions which it implements
53587 to always fail with ENOSYS. Some functions are actually named
53588 something starting with __ and the normal name is an alias. */
53589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53590 choke me
53591 #else
53592 char (*f) () = $ac_func;
53593 #endif
53594 #ifdef __cplusplus
53596 #endif
53599 main ()
53601 return f != $ac_func;
53603 return 0;
53605 _ACEOF
53606 rm -f conftest.$ac_objext conftest$ac_exeext
53607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53608 (eval $ac_link) 2>conftest.er1
53609 ac_status=$?
53610 grep -v '^ *+' conftest.er1 >conftest.err
53611 rm -f conftest.er1
53612 cat conftest.err >&5
53613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53614 (exit $ac_status); } &&
53615 { ac_try='test -z "$ac_c_werror_flag"
53616 || test ! -s conftest.err'
53617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53618 (eval $ac_try) 2>&5
53619 ac_status=$?
53620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53621 (exit $ac_status); }; } &&
53622 { ac_try='test -s conftest$ac_exeext'
53623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53624 (eval $ac_try) 2>&5
53625 ac_status=$?
53626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53627 (exit $ac_status); }; }; then
53628 eval "$as_ac_var=yes"
53629 else
53630 echo "$as_me: failed program was:" >&5
53631 sed 's/^/| /' conftest.$ac_ext >&5
53633 eval "$as_ac_var=no"
53635 rm -f conftest.err conftest.$ac_objext \
53636 conftest$ac_exeext conftest.$ac_ext
53638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53640 if test `eval echo '${'$as_ac_var'}'` = yes; then
53641 cat >>confdefs.h <<_ACEOF
53642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53643 _ACEOF
53646 done
53664 echo "$as_me:$LINENO: checking for long double round functions" >&5
53665 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53666 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53667 echo $ECHO_N "(cached) $ECHO_C" >&6
53668 else
53672 ac_ext=cc
53673 ac_cpp='$CXXCPP $CPPFLAGS'
53674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53678 cat >conftest.$ac_ext <<_ACEOF
53679 /* confdefs.h. */
53680 _ACEOF
53681 cat confdefs.h >>conftest.$ac_ext
53682 cat >>conftest.$ac_ext <<_ACEOF
53683 /* end confdefs.h. */
53684 #include <math.h>
53686 main ()
53688 ceill (0); floorl (0);
53690 return 0;
53692 _ACEOF
53693 rm -f conftest.$ac_objext
53694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53695 (eval $ac_compile) 2>conftest.er1
53696 ac_status=$?
53697 grep -v '^ *+' conftest.er1 >conftest.err
53698 rm -f conftest.er1
53699 cat conftest.err >&5
53700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53701 (exit $ac_status); } &&
53702 { ac_try='test -z "$ac_cxx_werror_flag"
53703 || test ! -s conftest.err'
53704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53705 (eval $ac_try) 2>&5
53706 ac_status=$?
53707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53708 (exit $ac_status); }; } &&
53709 { ac_try='test -s conftest.$ac_objext'
53710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53711 (eval $ac_try) 2>&5
53712 ac_status=$?
53713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53714 (exit $ac_status); }; }; then
53715 glibcxx_cv_func_long_double_round_use=yes
53716 else
53717 echo "$as_me: failed program was:" >&5
53718 sed 's/^/| /' conftest.$ac_ext >&5
53720 glibcxx_cv_func_long_double_round_use=no
53722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53723 ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53732 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53733 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53736 for ac_func in ceill floorl
53738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53739 echo "$as_me:$LINENO: checking for $ac_func" >&5
53740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53741 if eval "test \"\${$as_ac_var+set}\" = set"; then
53742 echo $ECHO_N "(cached) $ECHO_C" >&6
53743 else
53744 if test x$gcc_no_link = xyes; then
53745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53747 { (exit 1); exit 1; }; }
53749 cat >conftest.$ac_ext <<_ACEOF
53750 /* confdefs.h. */
53751 _ACEOF
53752 cat confdefs.h >>conftest.$ac_ext
53753 cat >>conftest.$ac_ext <<_ACEOF
53754 /* end confdefs.h. */
53755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53757 #define $ac_func innocuous_$ac_func
53759 /* System header to define __stub macros and hopefully few prototypes,
53760 which can conflict with char $ac_func (); below.
53761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53762 <limits.h> exists even on freestanding compilers. */
53764 #ifdef __STDC__
53765 # include <limits.h>
53766 #else
53767 # include <assert.h>
53768 #endif
53770 #undef $ac_func
53772 /* Override any gcc2 internal prototype to avoid an error. */
53773 #ifdef __cplusplus
53774 extern "C"
53776 #endif
53777 /* We use char because int might match the return type of a gcc2
53778 builtin and then its argument prototype would still apply. */
53779 char $ac_func ();
53780 /* The GNU C library defines this for functions which it implements
53781 to always fail with ENOSYS. Some functions are actually named
53782 something starting with __ and the normal name is an alias. */
53783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53784 choke me
53785 #else
53786 char (*f) () = $ac_func;
53787 #endif
53788 #ifdef __cplusplus
53790 #endif
53793 main ()
53795 return f != $ac_func;
53797 return 0;
53799 _ACEOF
53800 rm -f conftest.$ac_objext conftest$ac_exeext
53801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53802 (eval $ac_link) 2>conftest.er1
53803 ac_status=$?
53804 grep -v '^ *+' conftest.er1 >conftest.err
53805 rm -f conftest.er1
53806 cat conftest.err >&5
53807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53808 (exit $ac_status); } &&
53809 { ac_try='test -z "$ac_c_werror_flag"
53810 || test ! -s conftest.err'
53811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53812 (eval $ac_try) 2>&5
53813 ac_status=$?
53814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53815 (exit $ac_status); }; } &&
53816 { ac_try='test -s conftest$ac_exeext'
53817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53818 (eval $ac_try) 2>&5
53819 ac_status=$?
53820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53821 (exit $ac_status); }; }; then
53822 eval "$as_ac_var=yes"
53823 else
53824 echo "$as_me: failed program was:" >&5
53825 sed 's/^/| /' conftest.$ac_ext >&5
53827 eval "$as_ac_var=no"
53829 rm -f conftest.err conftest.$ac_objext \
53830 conftest$ac_exeext conftest.$ac_ext
53832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53834 if test `eval echo '${'$as_ac_var'}'` = yes; then
53835 cat >>confdefs.h <<_ACEOF
53836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53837 _ACEOF
53840 done
53842 else
53843 echo "$as_me:$LINENO: checking for _long double round functions" >&5
53844 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53845 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53846 echo $ECHO_N "(cached) $ECHO_C" >&6
53847 else
53851 ac_ext=cc
53852 ac_cpp='$CXXCPP $CPPFLAGS'
53853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53857 cat >conftest.$ac_ext <<_ACEOF
53858 /* confdefs.h. */
53859 _ACEOF
53860 cat confdefs.h >>conftest.$ac_ext
53861 cat >>conftest.$ac_ext <<_ACEOF
53862 /* end confdefs.h. */
53863 #include <math.h>
53865 main ()
53867 _ceill (0); _floorl (0);
53869 return 0;
53871 _ACEOF
53872 rm -f conftest.$ac_objext
53873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53874 (eval $ac_compile) 2>conftest.er1
53875 ac_status=$?
53876 grep -v '^ *+' conftest.er1 >conftest.err
53877 rm -f conftest.er1
53878 cat conftest.err >&5
53879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53880 (exit $ac_status); } &&
53881 { ac_try='test -z "$ac_cxx_werror_flag"
53882 || test ! -s conftest.err'
53883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53884 (eval $ac_try) 2>&5
53885 ac_status=$?
53886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53887 (exit $ac_status); }; } &&
53888 { ac_try='test -s conftest.$ac_objext'
53889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53890 (eval $ac_try) 2>&5
53891 ac_status=$?
53892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53893 (exit $ac_status); }; }; then
53894 glibcxx_cv_func__long_double_round_use=yes
53895 else
53896 echo "$as_me: failed program was:" >&5
53897 sed 's/^/| /' conftest.$ac_ext >&5
53899 glibcxx_cv_func__long_double_round_use=no
53901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53902 ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53910 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53911 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53912 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53915 for ac_func in _ceill _floorl
53917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53918 echo "$as_me:$LINENO: checking for $ac_func" >&5
53919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53920 if eval "test \"\${$as_ac_var+set}\" = set"; then
53921 echo $ECHO_N "(cached) $ECHO_C" >&6
53922 else
53923 if test x$gcc_no_link = xyes; then
53924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53926 { (exit 1); exit 1; }; }
53928 cat >conftest.$ac_ext <<_ACEOF
53929 /* confdefs.h. */
53930 _ACEOF
53931 cat confdefs.h >>conftest.$ac_ext
53932 cat >>conftest.$ac_ext <<_ACEOF
53933 /* end confdefs.h. */
53934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53936 #define $ac_func innocuous_$ac_func
53938 /* System header to define __stub macros and hopefully few prototypes,
53939 which can conflict with char $ac_func (); below.
53940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53941 <limits.h> exists even on freestanding compilers. */
53943 #ifdef __STDC__
53944 # include <limits.h>
53945 #else
53946 # include <assert.h>
53947 #endif
53949 #undef $ac_func
53951 /* Override any gcc2 internal prototype to avoid an error. */
53952 #ifdef __cplusplus
53953 extern "C"
53955 #endif
53956 /* We use char because int might match the return type of a gcc2
53957 builtin and then its argument prototype would still apply. */
53958 char $ac_func ();
53959 /* The GNU C library defines this for functions which it implements
53960 to always fail with ENOSYS. Some functions are actually named
53961 something starting with __ and the normal name is an alias. */
53962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53963 choke me
53964 #else
53965 char (*f) () = $ac_func;
53966 #endif
53967 #ifdef __cplusplus
53969 #endif
53972 main ()
53974 return f != $ac_func;
53976 return 0;
53978 _ACEOF
53979 rm -f conftest.$ac_objext conftest$ac_exeext
53980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53981 (eval $ac_link) 2>conftest.er1
53982 ac_status=$?
53983 grep -v '^ *+' conftest.er1 >conftest.err
53984 rm -f conftest.er1
53985 cat conftest.err >&5
53986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53987 (exit $ac_status); } &&
53988 { ac_try='test -z "$ac_c_werror_flag"
53989 || test ! -s conftest.err'
53990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53991 (eval $ac_try) 2>&5
53992 ac_status=$?
53993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53994 (exit $ac_status); }; } &&
53995 { ac_try='test -s conftest$ac_exeext'
53996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53997 (eval $ac_try) 2>&5
53998 ac_status=$?
53999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54000 (exit $ac_status); }; }; then
54001 eval "$as_ac_var=yes"
54002 else
54003 echo "$as_me: failed program was:" >&5
54004 sed 's/^/| /' conftest.$ac_ext >&5
54006 eval "$as_ac_var=no"
54008 rm -f conftest.err conftest.$ac_objext \
54009 conftest$ac_exeext conftest.$ac_ext
54011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54013 if test `eval echo '${'$as_ac_var'}'` = yes; then
54014 cat >>confdefs.h <<_ACEOF
54015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54016 _ACEOF
54019 done
54031 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54032 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54033 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54034 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54035 echo $ECHO_N "(cached) $ECHO_C" >&6
54036 else
54040 ac_ext=cc
54041 ac_cpp='$CXXCPP $CPPFLAGS'
54042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54046 cat >conftest.$ac_ext <<_ACEOF
54047 /* confdefs.h. */
54048 _ACEOF
54049 cat confdefs.h >>conftest.$ac_ext
54050 cat >>conftest.$ac_ext <<_ACEOF
54051 /* end confdefs.h. */
54052 #include <math.h>
54053 #ifdef HAVE_IEEEFP_H
54054 #include <ieeefp.h>
54055 #endif
54058 main ()
54060 isnanl(0);
54062 return 0;
54064 _ACEOF
54065 rm -f conftest.$ac_objext
54066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54067 (eval $ac_compile) 2>conftest.er1
54068 ac_status=$?
54069 grep -v '^ *+' conftest.er1 >conftest.err
54070 rm -f conftest.er1
54071 cat conftest.err >&5
54072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54073 (exit $ac_status); } &&
54074 { ac_try='test -z "$ac_cxx_werror_flag"
54075 || test ! -s conftest.err'
54076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54077 (eval $ac_try) 2>&5
54078 ac_status=$?
54079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54080 (exit $ac_status); }; } &&
54081 { ac_try='test -s conftest.$ac_objext'
54082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54083 (eval $ac_try) 2>&5
54084 ac_status=$?
54085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54086 (exit $ac_status); }; }; then
54087 glibcxx_cv_func_isnanl_use=yes
54088 else
54089 echo "$as_me: failed program was:" >&5
54090 sed 's/^/| /' conftest.$ac_ext >&5
54092 glibcxx_cv_func_isnanl_use=no
54094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54095 ac_ext=c
54096 ac_cpp='$CPP $CPPFLAGS'
54097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54106 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54108 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54110 for ac_func in isnanl
54112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54113 echo "$as_me:$LINENO: checking for $ac_func" >&5
54114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54115 if eval "test \"\${$as_ac_var+set}\" = set"; then
54116 echo $ECHO_N "(cached) $ECHO_C" >&6
54117 else
54118 if test x$gcc_no_link = xyes; then
54119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54121 { (exit 1); exit 1; }; }
54123 cat >conftest.$ac_ext <<_ACEOF
54124 /* confdefs.h. */
54125 _ACEOF
54126 cat confdefs.h >>conftest.$ac_ext
54127 cat >>conftest.$ac_ext <<_ACEOF
54128 /* end confdefs.h. */
54129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54131 #define $ac_func innocuous_$ac_func
54133 /* System header to define __stub macros and hopefully few prototypes,
54134 which can conflict with char $ac_func (); below.
54135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54136 <limits.h> exists even on freestanding compilers. */
54138 #ifdef __STDC__
54139 # include <limits.h>
54140 #else
54141 # include <assert.h>
54142 #endif
54144 #undef $ac_func
54146 /* Override any gcc2 internal prototype to avoid an error. */
54147 #ifdef __cplusplus
54148 extern "C"
54150 #endif
54151 /* We use char because int might match the return type of a gcc2
54152 builtin and then its argument prototype would still apply. */
54153 char $ac_func ();
54154 /* The GNU C library defines this for functions which it implements
54155 to always fail with ENOSYS. Some functions are actually named
54156 something starting with __ and the normal name is an alias. */
54157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54158 choke me
54159 #else
54160 char (*f) () = $ac_func;
54161 #endif
54162 #ifdef __cplusplus
54164 #endif
54167 main ()
54169 return f != $ac_func;
54171 return 0;
54173 _ACEOF
54174 rm -f conftest.$ac_objext conftest$ac_exeext
54175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54176 (eval $ac_link) 2>conftest.er1
54177 ac_status=$?
54178 grep -v '^ *+' conftest.er1 >conftest.err
54179 rm -f conftest.er1
54180 cat conftest.err >&5
54181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54182 (exit $ac_status); } &&
54183 { ac_try='test -z "$ac_c_werror_flag"
54184 || test ! -s conftest.err'
54185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54186 (eval $ac_try) 2>&5
54187 ac_status=$?
54188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54189 (exit $ac_status); }; } &&
54190 { ac_try='test -s conftest$ac_exeext'
54191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54192 (eval $ac_try) 2>&5
54193 ac_status=$?
54194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54195 (exit $ac_status); }; }; then
54196 eval "$as_ac_var=yes"
54197 else
54198 echo "$as_me: failed program was:" >&5
54199 sed 's/^/| /' conftest.$ac_ext >&5
54201 eval "$as_ac_var=no"
54203 rm -f conftest.err conftest.$ac_objext \
54204 conftest$ac_exeext conftest.$ac_ext
54206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54208 if test `eval echo '${'$as_ac_var'}'` = yes; then
54209 cat >>confdefs.h <<_ACEOF
54210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54211 _ACEOF
54214 done
54216 else
54218 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54219 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54220 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54221 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54222 echo $ECHO_N "(cached) $ECHO_C" >&6
54223 else
54227 ac_ext=cc
54228 ac_cpp='$CXXCPP $CPPFLAGS'
54229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54233 cat >conftest.$ac_ext <<_ACEOF
54234 /* confdefs.h. */
54235 _ACEOF
54236 cat confdefs.h >>conftest.$ac_ext
54237 cat >>conftest.$ac_ext <<_ACEOF
54238 /* end confdefs.h. */
54239 #include <math.h>
54240 #ifdef HAVE_IEEEFP_H
54241 #include <ieeefp.h>
54242 #endif
54245 main ()
54247 _isnanl(0);
54249 return 0;
54251 _ACEOF
54252 rm -f conftest.$ac_objext
54253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54254 (eval $ac_compile) 2>conftest.er1
54255 ac_status=$?
54256 grep -v '^ *+' conftest.er1 >conftest.err
54257 rm -f conftest.er1
54258 cat conftest.err >&5
54259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54260 (exit $ac_status); } &&
54261 { ac_try='test -z "$ac_cxx_werror_flag"
54262 || test ! -s conftest.err'
54263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54264 (eval $ac_try) 2>&5
54265 ac_status=$?
54266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54267 (exit $ac_status); }; } &&
54268 { ac_try='test -s conftest.$ac_objext'
54269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54270 (eval $ac_try) 2>&5
54271 ac_status=$?
54272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54273 (exit $ac_status); }; }; then
54274 glibcxx_cv_func__isnanl_use=yes
54275 else
54276 echo "$as_me: failed program was:" >&5
54277 sed 's/^/| /' conftest.$ac_ext >&5
54279 glibcxx_cv_func__isnanl_use=no
54281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54282 ac_ext=c
54283 ac_cpp='$CPP $CPPFLAGS'
54284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54293 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54295 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54297 for ac_func in _isnanl
54299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54300 echo "$as_me:$LINENO: checking for $ac_func" >&5
54301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54302 if eval "test \"\${$as_ac_var+set}\" = set"; then
54303 echo $ECHO_N "(cached) $ECHO_C" >&6
54304 else
54305 if test x$gcc_no_link = xyes; then
54306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54308 { (exit 1); exit 1; }; }
54310 cat >conftest.$ac_ext <<_ACEOF
54311 /* confdefs.h. */
54312 _ACEOF
54313 cat confdefs.h >>conftest.$ac_ext
54314 cat >>conftest.$ac_ext <<_ACEOF
54315 /* end confdefs.h. */
54316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54318 #define $ac_func innocuous_$ac_func
54320 /* System header to define __stub macros and hopefully few prototypes,
54321 which can conflict with char $ac_func (); below.
54322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54323 <limits.h> exists even on freestanding compilers. */
54325 #ifdef __STDC__
54326 # include <limits.h>
54327 #else
54328 # include <assert.h>
54329 #endif
54331 #undef $ac_func
54333 /* Override any gcc2 internal prototype to avoid an error. */
54334 #ifdef __cplusplus
54335 extern "C"
54337 #endif
54338 /* We use char because int might match the return type of a gcc2
54339 builtin and then its argument prototype would still apply. */
54340 char $ac_func ();
54341 /* The GNU C library defines this for functions which it implements
54342 to always fail with ENOSYS. Some functions are actually named
54343 something starting with __ and the normal name is an alias. */
54344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54345 choke me
54346 #else
54347 char (*f) () = $ac_func;
54348 #endif
54349 #ifdef __cplusplus
54351 #endif
54354 main ()
54356 return f != $ac_func;
54358 return 0;
54360 _ACEOF
54361 rm -f conftest.$ac_objext conftest$ac_exeext
54362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54363 (eval $ac_link) 2>conftest.er1
54364 ac_status=$?
54365 grep -v '^ *+' conftest.er1 >conftest.err
54366 rm -f conftest.er1
54367 cat conftest.err >&5
54368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54369 (exit $ac_status); } &&
54370 { ac_try='test -z "$ac_c_werror_flag"
54371 || test ! -s conftest.err'
54372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54373 (eval $ac_try) 2>&5
54374 ac_status=$?
54375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54376 (exit $ac_status); }; } &&
54377 { ac_try='test -s conftest$ac_exeext'
54378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54379 (eval $ac_try) 2>&5
54380 ac_status=$?
54381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54382 (exit $ac_status); }; }; then
54383 eval "$as_ac_var=yes"
54384 else
54385 echo "$as_me: failed program was:" >&5
54386 sed 's/^/| /' conftest.$ac_ext >&5
54388 eval "$as_ac_var=no"
54390 rm -f conftest.err conftest.$ac_objext \
54391 conftest$ac_exeext conftest.$ac_ext
54393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54395 if test `eval echo '${'$as_ac_var'}'` = yes; then
54396 cat >>confdefs.h <<_ACEOF
54397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54398 _ACEOF
54401 done
54411 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54412 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54413 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54414 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54415 echo $ECHO_N "(cached) $ECHO_C" >&6
54416 else
54420 ac_ext=cc
54421 ac_cpp='$CXXCPP $CPPFLAGS'
54422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426 cat >conftest.$ac_ext <<_ACEOF
54427 /* confdefs.h. */
54428 _ACEOF
54429 cat confdefs.h >>conftest.$ac_ext
54430 cat >>conftest.$ac_ext <<_ACEOF
54431 /* end confdefs.h. */
54432 #include <math.h>
54433 #ifdef HAVE_IEEEFP_H
54434 #include <ieeefp.h>
54435 #endif
54438 main ()
54440 isinfl(0);
54442 return 0;
54444 _ACEOF
54445 rm -f conftest.$ac_objext
54446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54447 (eval $ac_compile) 2>conftest.er1
54448 ac_status=$?
54449 grep -v '^ *+' conftest.er1 >conftest.err
54450 rm -f conftest.er1
54451 cat conftest.err >&5
54452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54453 (exit $ac_status); } &&
54454 { ac_try='test -z "$ac_cxx_werror_flag"
54455 || test ! -s conftest.err'
54456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54457 (eval $ac_try) 2>&5
54458 ac_status=$?
54459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54460 (exit $ac_status); }; } &&
54461 { ac_try='test -s conftest.$ac_objext'
54462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54463 (eval $ac_try) 2>&5
54464 ac_status=$?
54465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54466 (exit $ac_status); }; }; then
54467 glibcxx_cv_func_isinfl_use=yes
54468 else
54469 echo "$as_me: failed program was:" >&5
54470 sed 's/^/| /' conftest.$ac_ext >&5
54472 glibcxx_cv_func_isinfl_use=no
54474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54475 ac_ext=c
54476 ac_cpp='$CPP $CPPFLAGS'
54477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54486 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54488 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54490 for ac_func in isinfl
54492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54493 echo "$as_me:$LINENO: checking for $ac_func" >&5
54494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54495 if eval "test \"\${$as_ac_var+set}\" = set"; then
54496 echo $ECHO_N "(cached) $ECHO_C" >&6
54497 else
54498 if test x$gcc_no_link = xyes; then
54499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54501 { (exit 1); exit 1; }; }
54503 cat >conftest.$ac_ext <<_ACEOF
54504 /* confdefs.h. */
54505 _ACEOF
54506 cat confdefs.h >>conftest.$ac_ext
54507 cat >>conftest.$ac_ext <<_ACEOF
54508 /* end confdefs.h. */
54509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54511 #define $ac_func innocuous_$ac_func
54513 /* System header to define __stub macros and hopefully few prototypes,
54514 which can conflict with char $ac_func (); below.
54515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54516 <limits.h> exists even on freestanding compilers. */
54518 #ifdef __STDC__
54519 # include <limits.h>
54520 #else
54521 # include <assert.h>
54522 #endif
54524 #undef $ac_func
54526 /* Override any gcc2 internal prototype to avoid an error. */
54527 #ifdef __cplusplus
54528 extern "C"
54530 #endif
54531 /* We use char because int might match the return type of a gcc2
54532 builtin and then its argument prototype would still apply. */
54533 char $ac_func ();
54534 /* The GNU C library defines this for functions which it implements
54535 to always fail with ENOSYS. Some functions are actually named
54536 something starting with __ and the normal name is an alias. */
54537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54538 choke me
54539 #else
54540 char (*f) () = $ac_func;
54541 #endif
54542 #ifdef __cplusplus
54544 #endif
54547 main ()
54549 return f != $ac_func;
54551 return 0;
54553 _ACEOF
54554 rm -f conftest.$ac_objext conftest$ac_exeext
54555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54556 (eval $ac_link) 2>conftest.er1
54557 ac_status=$?
54558 grep -v '^ *+' conftest.er1 >conftest.err
54559 rm -f conftest.er1
54560 cat conftest.err >&5
54561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54562 (exit $ac_status); } &&
54563 { ac_try='test -z "$ac_c_werror_flag"
54564 || test ! -s conftest.err'
54565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54566 (eval $ac_try) 2>&5
54567 ac_status=$?
54568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54569 (exit $ac_status); }; } &&
54570 { ac_try='test -s conftest$ac_exeext'
54571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54572 (eval $ac_try) 2>&5
54573 ac_status=$?
54574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54575 (exit $ac_status); }; }; then
54576 eval "$as_ac_var=yes"
54577 else
54578 echo "$as_me: failed program was:" >&5
54579 sed 's/^/| /' conftest.$ac_ext >&5
54581 eval "$as_ac_var=no"
54583 rm -f conftest.err conftest.$ac_objext \
54584 conftest$ac_exeext conftest.$ac_ext
54586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54588 if test `eval echo '${'$as_ac_var'}'` = yes; then
54589 cat >>confdefs.h <<_ACEOF
54590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54591 _ACEOF
54594 done
54596 else
54598 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54599 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54600 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54601 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54602 echo $ECHO_N "(cached) $ECHO_C" >&6
54603 else
54607 ac_ext=cc
54608 ac_cpp='$CXXCPP $CPPFLAGS'
54609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54613 cat >conftest.$ac_ext <<_ACEOF
54614 /* confdefs.h. */
54615 _ACEOF
54616 cat confdefs.h >>conftest.$ac_ext
54617 cat >>conftest.$ac_ext <<_ACEOF
54618 /* end confdefs.h. */
54619 #include <math.h>
54620 #ifdef HAVE_IEEEFP_H
54621 #include <ieeefp.h>
54622 #endif
54625 main ()
54627 _isinfl(0);
54629 return 0;
54631 _ACEOF
54632 rm -f conftest.$ac_objext
54633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54634 (eval $ac_compile) 2>conftest.er1
54635 ac_status=$?
54636 grep -v '^ *+' conftest.er1 >conftest.err
54637 rm -f conftest.er1
54638 cat conftest.err >&5
54639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54640 (exit $ac_status); } &&
54641 { ac_try='test -z "$ac_cxx_werror_flag"
54642 || test ! -s conftest.err'
54643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54644 (eval $ac_try) 2>&5
54645 ac_status=$?
54646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54647 (exit $ac_status); }; } &&
54648 { ac_try='test -s conftest.$ac_objext'
54649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54650 (eval $ac_try) 2>&5
54651 ac_status=$?
54652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54653 (exit $ac_status); }; }; then
54654 glibcxx_cv_func__isinfl_use=yes
54655 else
54656 echo "$as_me: failed program was:" >&5
54657 sed 's/^/| /' conftest.$ac_ext >&5
54659 glibcxx_cv_func__isinfl_use=no
54661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54662 ac_ext=c
54663 ac_cpp='$CPP $CPPFLAGS'
54664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54673 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54675 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54677 for ac_func in _isinfl
54679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54680 echo "$as_me:$LINENO: checking for $ac_func" >&5
54681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54682 if eval "test \"\${$as_ac_var+set}\" = set"; then
54683 echo $ECHO_N "(cached) $ECHO_C" >&6
54684 else
54685 if test x$gcc_no_link = xyes; then
54686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54688 { (exit 1); exit 1; }; }
54690 cat >conftest.$ac_ext <<_ACEOF
54691 /* confdefs.h. */
54692 _ACEOF
54693 cat confdefs.h >>conftest.$ac_ext
54694 cat >>conftest.$ac_ext <<_ACEOF
54695 /* end confdefs.h. */
54696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54698 #define $ac_func innocuous_$ac_func
54700 /* System header to define __stub macros and hopefully few prototypes,
54701 which can conflict with char $ac_func (); below.
54702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54703 <limits.h> exists even on freestanding compilers. */
54705 #ifdef __STDC__
54706 # include <limits.h>
54707 #else
54708 # include <assert.h>
54709 #endif
54711 #undef $ac_func
54713 /* Override any gcc2 internal prototype to avoid an error. */
54714 #ifdef __cplusplus
54715 extern "C"
54717 #endif
54718 /* We use char because int might match the return type of a gcc2
54719 builtin and then its argument prototype would still apply. */
54720 char $ac_func ();
54721 /* The GNU C library defines this for functions which it implements
54722 to always fail with ENOSYS. Some functions are actually named
54723 something starting with __ and the normal name is an alias. */
54724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54725 choke me
54726 #else
54727 char (*f) () = $ac_func;
54728 #endif
54729 #ifdef __cplusplus
54731 #endif
54734 main ()
54736 return f != $ac_func;
54738 return 0;
54740 _ACEOF
54741 rm -f conftest.$ac_objext conftest$ac_exeext
54742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54743 (eval $ac_link) 2>conftest.er1
54744 ac_status=$?
54745 grep -v '^ *+' conftest.er1 >conftest.err
54746 rm -f conftest.er1
54747 cat conftest.err >&5
54748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54749 (exit $ac_status); } &&
54750 { ac_try='test -z "$ac_c_werror_flag"
54751 || test ! -s conftest.err'
54752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54753 (eval $ac_try) 2>&5
54754 ac_status=$?
54755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54756 (exit $ac_status); }; } &&
54757 { ac_try='test -s conftest$ac_exeext'
54758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54759 (eval $ac_try) 2>&5
54760 ac_status=$?
54761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54762 (exit $ac_status); }; }; then
54763 eval "$as_ac_var=yes"
54764 else
54765 echo "$as_me: failed program was:" >&5
54766 sed 's/^/| /' conftest.$ac_ext >&5
54768 eval "$as_ac_var=no"
54770 rm -f conftest.err conftest.$ac_objext \
54771 conftest$ac_exeext conftest.$ac_ext
54773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54775 if test `eval echo '${'$as_ac_var'}'` = yes; then
54776 cat >>confdefs.h <<_ACEOF
54777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54778 _ACEOF
54781 done
54791 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54792 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54793 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54794 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54795 echo $ECHO_N "(cached) $ECHO_C" >&6
54796 else
54800 ac_ext=cc
54801 ac_cpp='$CXXCPP $CPPFLAGS'
54802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54806 cat >conftest.$ac_ext <<_ACEOF
54807 /* confdefs.h. */
54808 _ACEOF
54809 cat confdefs.h >>conftest.$ac_ext
54810 cat >>conftest.$ac_ext <<_ACEOF
54811 /* end confdefs.h. */
54812 #include <math.h>
54814 main ()
54816 copysignl(0, 0);
54818 return 0;
54820 _ACEOF
54821 rm -f conftest.$ac_objext
54822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54823 (eval $ac_compile) 2>conftest.er1
54824 ac_status=$?
54825 grep -v '^ *+' conftest.er1 >conftest.err
54826 rm -f conftest.er1
54827 cat conftest.err >&5
54828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54829 (exit $ac_status); } &&
54830 { ac_try='test -z "$ac_cxx_werror_flag"
54831 || test ! -s conftest.err'
54832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54833 (eval $ac_try) 2>&5
54834 ac_status=$?
54835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54836 (exit $ac_status); }; } &&
54837 { ac_try='test -s conftest.$ac_objext'
54838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54839 (eval $ac_try) 2>&5
54840 ac_status=$?
54841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54842 (exit $ac_status); }; }; then
54843 glibcxx_cv_func_copysignl_use=yes
54844 else
54845 echo "$as_me: failed program was:" >&5
54846 sed 's/^/| /' conftest.$ac_ext >&5
54848 glibcxx_cv_func_copysignl_use=no
54850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54851 ac_ext=c
54852 ac_cpp='$CPP $CPPFLAGS'
54853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54862 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54864 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54866 for ac_func in copysignl
54868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54869 echo "$as_me:$LINENO: checking for $ac_func" >&5
54870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54871 if eval "test \"\${$as_ac_var+set}\" = set"; then
54872 echo $ECHO_N "(cached) $ECHO_C" >&6
54873 else
54874 if test x$gcc_no_link = xyes; then
54875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54877 { (exit 1); exit 1; }; }
54879 cat >conftest.$ac_ext <<_ACEOF
54880 /* confdefs.h. */
54881 _ACEOF
54882 cat confdefs.h >>conftest.$ac_ext
54883 cat >>conftest.$ac_ext <<_ACEOF
54884 /* end confdefs.h. */
54885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54887 #define $ac_func innocuous_$ac_func
54889 /* System header to define __stub macros and hopefully few prototypes,
54890 which can conflict with char $ac_func (); below.
54891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54892 <limits.h> exists even on freestanding compilers. */
54894 #ifdef __STDC__
54895 # include <limits.h>
54896 #else
54897 # include <assert.h>
54898 #endif
54900 #undef $ac_func
54902 /* Override any gcc2 internal prototype to avoid an error. */
54903 #ifdef __cplusplus
54904 extern "C"
54906 #endif
54907 /* We use char because int might match the return type of a gcc2
54908 builtin and then its argument prototype would still apply. */
54909 char $ac_func ();
54910 /* The GNU C library defines this for functions which it implements
54911 to always fail with ENOSYS. Some functions are actually named
54912 something starting with __ and the normal name is an alias. */
54913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54914 choke me
54915 #else
54916 char (*f) () = $ac_func;
54917 #endif
54918 #ifdef __cplusplus
54920 #endif
54923 main ()
54925 return f != $ac_func;
54927 return 0;
54929 _ACEOF
54930 rm -f conftest.$ac_objext conftest$ac_exeext
54931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54932 (eval $ac_link) 2>conftest.er1
54933 ac_status=$?
54934 grep -v '^ *+' conftest.er1 >conftest.err
54935 rm -f conftest.er1
54936 cat conftest.err >&5
54937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54938 (exit $ac_status); } &&
54939 { ac_try='test -z "$ac_c_werror_flag"
54940 || test ! -s conftest.err'
54941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54942 (eval $ac_try) 2>&5
54943 ac_status=$?
54944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54945 (exit $ac_status); }; } &&
54946 { ac_try='test -s conftest$ac_exeext'
54947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54948 (eval $ac_try) 2>&5
54949 ac_status=$?
54950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54951 (exit $ac_status); }; }; then
54952 eval "$as_ac_var=yes"
54953 else
54954 echo "$as_me: failed program was:" >&5
54955 sed 's/^/| /' conftest.$ac_ext >&5
54957 eval "$as_ac_var=no"
54959 rm -f conftest.err conftest.$ac_objext \
54960 conftest$ac_exeext conftest.$ac_ext
54962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54964 if test `eval echo '${'$as_ac_var'}'` = yes; then
54965 cat >>confdefs.h <<_ACEOF
54966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54967 _ACEOF
54970 done
54972 else
54974 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
54975 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
54976 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
54977 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
54978 echo $ECHO_N "(cached) $ECHO_C" >&6
54979 else
54983 ac_ext=cc
54984 ac_cpp='$CXXCPP $CPPFLAGS'
54985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54989 cat >conftest.$ac_ext <<_ACEOF
54990 /* confdefs.h. */
54991 _ACEOF
54992 cat confdefs.h >>conftest.$ac_ext
54993 cat >>conftest.$ac_ext <<_ACEOF
54994 /* end confdefs.h. */
54995 #include <math.h>
54997 main ()
54999 _copysignl(0, 0);
55001 return 0;
55003 _ACEOF
55004 rm -f conftest.$ac_objext
55005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55006 (eval $ac_compile) 2>conftest.er1
55007 ac_status=$?
55008 grep -v '^ *+' conftest.er1 >conftest.err
55009 rm -f conftest.er1
55010 cat conftest.err >&5
55011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55012 (exit $ac_status); } &&
55013 { ac_try='test -z "$ac_cxx_werror_flag"
55014 || test ! -s conftest.err'
55015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55016 (eval $ac_try) 2>&5
55017 ac_status=$?
55018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55019 (exit $ac_status); }; } &&
55020 { ac_try='test -s conftest.$ac_objext'
55021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55022 (eval $ac_try) 2>&5
55023 ac_status=$?
55024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55025 (exit $ac_status); }; }; then
55026 glibcxx_cv_func__copysignl_use=yes
55027 else
55028 echo "$as_me: failed program was:" >&5
55029 sed 's/^/| /' conftest.$ac_ext >&5
55031 glibcxx_cv_func__copysignl_use=no
55033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55034 ac_ext=c
55035 ac_cpp='$CPP $CPPFLAGS'
55036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55045 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55047 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55049 for ac_func in _copysignl
55051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55052 echo "$as_me:$LINENO: checking for $ac_func" >&5
55053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55054 if eval "test \"\${$as_ac_var+set}\" = set"; then
55055 echo $ECHO_N "(cached) $ECHO_C" >&6
55056 else
55057 if test x$gcc_no_link = xyes; then
55058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55060 { (exit 1); exit 1; }; }
55062 cat >conftest.$ac_ext <<_ACEOF
55063 /* confdefs.h. */
55064 _ACEOF
55065 cat confdefs.h >>conftest.$ac_ext
55066 cat >>conftest.$ac_ext <<_ACEOF
55067 /* end confdefs.h. */
55068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55070 #define $ac_func innocuous_$ac_func
55072 /* System header to define __stub macros and hopefully few prototypes,
55073 which can conflict with char $ac_func (); below.
55074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55075 <limits.h> exists even on freestanding compilers. */
55077 #ifdef __STDC__
55078 # include <limits.h>
55079 #else
55080 # include <assert.h>
55081 #endif
55083 #undef $ac_func
55085 /* Override any gcc2 internal prototype to avoid an error. */
55086 #ifdef __cplusplus
55087 extern "C"
55089 #endif
55090 /* We use char because int might match the return type of a gcc2
55091 builtin and then its argument prototype would still apply. */
55092 char $ac_func ();
55093 /* The GNU C library defines this for functions which it implements
55094 to always fail with ENOSYS. Some functions are actually named
55095 something starting with __ and the normal name is an alias. */
55096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55097 choke me
55098 #else
55099 char (*f) () = $ac_func;
55100 #endif
55101 #ifdef __cplusplus
55103 #endif
55106 main ()
55108 return f != $ac_func;
55110 return 0;
55112 _ACEOF
55113 rm -f conftest.$ac_objext conftest$ac_exeext
55114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55115 (eval $ac_link) 2>conftest.er1
55116 ac_status=$?
55117 grep -v '^ *+' conftest.er1 >conftest.err
55118 rm -f conftest.er1
55119 cat conftest.err >&5
55120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55121 (exit $ac_status); } &&
55122 { ac_try='test -z "$ac_c_werror_flag"
55123 || test ! -s conftest.err'
55124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55125 (eval $ac_try) 2>&5
55126 ac_status=$?
55127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55128 (exit $ac_status); }; } &&
55129 { ac_try='test -s conftest$ac_exeext'
55130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55131 (eval $ac_try) 2>&5
55132 ac_status=$?
55133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55134 (exit $ac_status); }; }; then
55135 eval "$as_ac_var=yes"
55136 else
55137 echo "$as_me: failed program was:" >&5
55138 sed 's/^/| /' conftest.$ac_ext >&5
55140 eval "$as_ac_var=no"
55142 rm -f conftest.err conftest.$ac_objext \
55143 conftest$ac_exeext conftest.$ac_ext
55145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55147 if test `eval echo '${'$as_ac_var'}'` = yes; then
55148 cat >>confdefs.h <<_ACEOF
55149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55150 _ACEOF
55153 done
55163 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55164 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55165 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55166 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55167 echo $ECHO_N "(cached) $ECHO_C" >&6
55168 else
55172 ac_ext=cc
55173 ac_cpp='$CXXCPP $CPPFLAGS'
55174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55178 cat >conftest.$ac_ext <<_ACEOF
55179 /* confdefs.h. */
55180 _ACEOF
55181 cat confdefs.h >>conftest.$ac_ext
55182 cat >>conftest.$ac_ext <<_ACEOF
55183 /* end confdefs.h. */
55184 #include <math.h>
55186 main ()
55188 atan2l(0, 0);
55190 return 0;
55192 _ACEOF
55193 rm -f conftest.$ac_objext
55194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55195 (eval $ac_compile) 2>conftest.er1
55196 ac_status=$?
55197 grep -v '^ *+' conftest.er1 >conftest.err
55198 rm -f conftest.er1
55199 cat conftest.err >&5
55200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55201 (exit $ac_status); } &&
55202 { ac_try='test -z "$ac_cxx_werror_flag"
55203 || test ! -s conftest.err'
55204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55205 (eval $ac_try) 2>&5
55206 ac_status=$?
55207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55208 (exit $ac_status); }; } &&
55209 { ac_try='test -s conftest.$ac_objext'
55210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55211 (eval $ac_try) 2>&5
55212 ac_status=$?
55213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55214 (exit $ac_status); }; }; then
55215 glibcxx_cv_func_atan2l_use=yes
55216 else
55217 echo "$as_me: failed program was:" >&5
55218 sed 's/^/| /' conftest.$ac_ext >&5
55220 glibcxx_cv_func_atan2l_use=no
55222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55223 ac_ext=c
55224 ac_cpp='$CPP $CPPFLAGS'
55225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55234 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55236 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55238 for ac_func in atan2l
55240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55241 echo "$as_me:$LINENO: checking for $ac_func" >&5
55242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55243 if eval "test \"\${$as_ac_var+set}\" = set"; then
55244 echo $ECHO_N "(cached) $ECHO_C" >&6
55245 else
55246 if test x$gcc_no_link = xyes; then
55247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55249 { (exit 1); exit 1; }; }
55251 cat >conftest.$ac_ext <<_ACEOF
55252 /* confdefs.h. */
55253 _ACEOF
55254 cat confdefs.h >>conftest.$ac_ext
55255 cat >>conftest.$ac_ext <<_ACEOF
55256 /* end confdefs.h. */
55257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55259 #define $ac_func innocuous_$ac_func
55261 /* System header to define __stub macros and hopefully few prototypes,
55262 which can conflict with char $ac_func (); below.
55263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55264 <limits.h> exists even on freestanding compilers. */
55266 #ifdef __STDC__
55267 # include <limits.h>
55268 #else
55269 # include <assert.h>
55270 #endif
55272 #undef $ac_func
55274 /* Override any gcc2 internal prototype to avoid an error. */
55275 #ifdef __cplusplus
55276 extern "C"
55278 #endif
55279 /* We use char because int might match the return type of a gcc2
55280 builtin and then its argument prototype would still apply. */
55281 char $ac_func ();
55282 /* The GNU C library defines this for functions which it implements
55283 to always fail with ENOSYS. Some functions are actually named
55284 something starting with __ and the normal name is an alias. */
55285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55286 choke me
55287 #else
55288 char (*f) () = $ac_func;
55289 #endif
55290 #ifdef __cplusplus
55292 #endif
55295 main ()
55297 return f != $ac_func;
55299 return 0;
55301 _ACEOF
55302 rm -f conftest.$ac_objext conftest$ac_exeext
55303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55304 (eval $ac_link) 2>conftest.er1
55305 ac_status=$?
55306 grep -v '^ *+' conftest.er1 >conftest.err
55307 rm -f conftest.er1
55308 cat conftest.err >&5
55309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55310 (exit $ac_status); } &&
55311 { ac_try='test -z "$ac_c_werror_flag"
55312 || test ! -s conftest.err'
55313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55314 (eval $ac_try) 2>&5
55315 ac_status=$?
55316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55317 (exit $ac_status); }; } &&
55318 { ac_try='test -s conftest$ac_exeext'
55319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55320 (eval $ac_try) 2>&5
55321 ac_status=$?
55322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55323 (exit $ac_status); }; }; then
55324 eval "$as_ac_var=yes"
55325 else
55326 echo "$as_me: failed program was:" >&5
55327 sed 's/^/| /' conftest.$ac_ext >&5
55329 eval "$as_ac_var=no"
55331 rm -f conftest.err conftest.$ac_objext \
55332 conftest$ac_exeext conftest.$ac_ext
55334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55336 if test `eval echo '${'$as_ac_var'}'` = yes; then
55337 cat >>confdefs.h <<_ACEOF
55338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55339 _ACEOF
55342 done
55344 else
55346 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55347 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55348 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55349 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55350 echo $ECHO_N "(cached) $ECHO_C" >&6
55351 else
55355 ac_ext=cc
55356 ac_cpp='$CXXCPP $CPPFLAGS'
55357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55361 cat >conftest.$ac_ext <<_ACEOF
55362 /* confdefs.h. */
55363 _ACEOF
55364 cat confdefs.h >>conftest.$ac_ext
55365 cat >>conftest.$ac_ext <<_ACEOF
55366 /* end confdefs.h. */
55367 #include <math.h>
55369 main ()
55371 _atan2l(0, 0);
55373 return 0;
55375 _ACEOF
55376 rm -f conftest.$ac_objext
55377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55378 (eval $ac_compile) 2>conftest.er1
55379 ac_status=$?
55380 grep -v '^ *+' conftest.er1 >conftest.err
55381 rm -f conftest.er1
55382 cat conftest.err >&5
55383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55384 (exit $ac_status); } &&
55385 { ac_try='test -z "$ac_cxx_werror_flag"
55386 || test ! -s conftest.err'
55387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55388 (eval $ac_try) 2>&5
55389 ac_status=$?
55390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55391 (exit $ac_status); }; } &&
55392 { ac_try='test -s conftest.$ac_objext'
55393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55394 (eval $ac_try) 2>&5
55395 ac_status=$?
55396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55397 (exit $ac_status); }; }; then
55398 glibcxx_cv_func__atan2l_use=yes
55399 else
55400 echo "$as_me: failed program was:" >&5
55401 sed 's/^/| /' conftest.$ac_ext >&5
55403 glibcxx_cv_func__atan2l_use=no
55405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55406 ac_ext=c
55407 ac_cpp='$CPP $CPPFLAGS'
55408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55417 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55419 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55421 for ac_func in _atan2l
55423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55424 echo "$as_me:$LINENO: checking for $ac_func" >&5
55425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55426 if eval "test \"\${$as_ac_var+set}\" = set"; then
55427 echo $ECHO_N "(cached) $ECHO_C" >&6
55428 else
55429 if test x$gcc_no_link = xyes; then
55430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55432 { (exit 1); exit 1; }; }
55434 cat >conftest.$ac_ext <<_ACEOF
55435 /* confdefs.h. */
55436 _ACEOF
55437 cat confdefs.h >>conftest.$ac_ext
55438 cat >>conftest.$ac_ext <<_ACEOF
55439 /* end confdefs.h. */
55440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55442 #define $ac_func innocuous_$ac_func
55444 /* System header to define __stub macros and hopefully few prototypes,
55445 which can conflict with char $ac_func (); below.
55446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55447 <limits.h> exists even on freestanding compilers. */
55449 #ifdef __STDC__
55450 # include <limits.h>
55451 #else
55452 # include <assert.h>
55453 #endif
55455 #undef $ac_func
55457 /* Override any gcc2 internal prototype to avoid an error. */
55458 #ifdef __cplusplus
55459 extern "C"
55461 #endif
55462 /* We use char because int might match the return type of a gcc2
55463 builtin and then its argument prototype would still apply. */
55464 char $ac_func ();
55465 /* The GNU C library defines this for functions which it implements
55466 to always fail with ENOSYS. Some functions are actually named
55467 something starting with __ and the normal name is an alias. */
55468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55469 choke me
55470 #else
55471 char (*f) () = $ac_func;
55472 #endif
55473 #ifdef __cplusplus
55475 #endif
55478 main ()
55480 return f != $ac_func;
55482 return 0;
55484 _ACEOF
55485 rm -f conftest.$ac_objext conftest$ac_exeext
55486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55487 (eval $ac_link) 2>conftest.er1
55488 ac_status=$?
55489 grep -v '^ *+' conftest.er1 >conftest.err
55490 rm -f conftest.er1
55491 cat conftest.err >&5
55492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55493 (exit $ac_status); } &&
55494 { ac_try='test -z "$ac_c_werror_flag"
55495 || test ! -s conftest.err'
55496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55497 (eval $ac_try) 2>&5
55498 ac_status=$?
55499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55500 (exit $ac_status); }; } &&
55501 { ac_try='test -s conftest$ac_exeext'
55502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55503 (eval $ac_try) 2>&5
55504 ac_status=$?
55505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55506 (exit $ac_status); }; }; then
55507 eval "$as_ac_var=yes"
55508 else
55509 echo "$as_me: failed program was:" >&5
55510 sed 's/^/| /' conftest.$ac_ext >&5
55512 eval "$as_ac_var=no"
55514 rm -f conftest.err conftest.$ac_objext \
55515 conftest$ac_exeext conftest.$ac_ext
55517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55519 if test `eval echo '${'$as_ac_var'}'` = yes; then
55520 cat >>confdefs.h <<_ACEOF
55521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55522 _ACEOF
55525 done
55535 echo "$as_me:$LINENO: checking for expl declaration" >&5
55536 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55537 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55538 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55539 echo $ECHO_N "(cached) $ECHO_C" >&6
55540 else
55544 ac_ext=cc
55545 ac_cpp='$CXXCPP $CPPFLAGS'
55546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55550 cat >conftest.$ac_ext <<_ACEOF
55551 /* confdefs.h. */
55552 _ACEOF
55553 cat confdefs.h >>conftest.$ac_ext
55554 cat >>conftest.$ac_ext <<_ACEOF
55555 /* end confdefs.h. */
55556 #include <math.h>
55557 #ifdef HAVE_IEEEFP_H
55558 #include <ieeefp.h>
55559 #endif
55562 main ()
55564 expl(0);
55566 return 0;
55568 _ACEOF
55569 rm -f conftest.$ac_objext
55570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55571 (eval $ac_compile) 2>conftest.er1
55572 ac_status=$?
55573 grep -v '^ *+' conftest.er1 >conftest.err
55574 rm -f conftest.er1
55575 cat conftest.err >&5
55576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55577 (exit $ac_status); } &&
55578 { ac_try='test -z "$ac_cxx_werror_flag"
55579 || test ! -s conftest.err'
55580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55581 (eval $ac_try) 2>&5
55582 ac_status=$?
55583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55584 (exit $ac_status); }; } &&
55585 { ac_try='test -s conftest.$ac_objext'
55586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55587 (eval $ac_try) 2>&5
55588 ac_status=$?
55589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55590 (exit $ac_status); }; }; then
55591 glibcxx_cv_func_expl_use=yes
55592 else
55593 echo "$as_me: failed program was:" >&5
55594 sed 's/^/| /' conftest.$ac_ext >&5
55596 glibcxx_cv_func_expl_use=no
55598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55599 ac_ext=c
55600 ac_cpp='$CPP $CPPFLAGS'
55601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55610 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55612 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55614 for ac_func in expl
55616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55617 echo "$as_me:$LINENO: checking for $ac_func" >&5
55618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55619 if eval "test \"\${$as_ac_var+set}\" = set"; then
55620 echo $ECHO_N "(cached) $ECHO_C" >&6
55621 else
55622 if test x$gcc_no_link = xyes; then
55623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55625 { (exit 1); exit 1; }; }
55627 cat >conftest.$ac_ext <<_ACEOF
55628 /* confdefs.h. */
55629 _ACEOF
55630 cat confdefs.h >>conftest.$ac_ext
55631 cat >>conftest.$ac_ext <<_ACEOF
55632 /* end confdefs.h. */
55633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55635 #define $ac_func innocuous_$ac_func
55637 /* System header to define __stub macros and hopefully few prototypes,
55638 which can conflict with char $ac_func (); below.
55639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55640 <limits.h> exists even on freestanding compilers. */
55642 #ifdef __STDC__
55643 # include <limits.h>
55644 #else
55645 # include <assert.h>
55646 #endif
55648 #undef $ac_func
55650 /* Override any gcc2 internal prototype to avoid an error. */
55651 #ifdef __cplusplus
55652 extern "C"
55654 #endif
55655 /* We use char because int might match the return type of a gcc2
55656 builtin and then its argument prototype would still apply. */
55657 char $ac_func ();
55658 /* The GNU C library defines this for functions which it implements
55659 to always fail with ENOSYS. Some functions are actually named
55660 something starting with __ and the normal name is an alias. */
55661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55662 choke me
55663 #else
55664 char (*f) () = $ac_func;
55665 #endif
55666 #ifdef __cplusplus
55668 #endif
55671 main ()
55673 return f != $ac_func;
55675 return 0;
55677 _ACEOF
55678 rm -f conftest.$ac_objext conftest$ac_exeext
55679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55680 (eval $ac_link) 2>conftest.er1
55681 ac_status=$?
55682 grep -v '^ *+' conftest.er1 >conftest.err
55683 rm -f conftest.er1
55684 cat conftest.err >&5
55685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55686 (exit $ac_status); } &&
55687 { ac_try='test -z "$ac_c_werror_flag"
55688 || test ! -s conftest.err'
55689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55690 (eval $ac_try) 2>&5
55691 ac_status=$?
55692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55693 (exit $ac_status); }; } &&
55694 { ac_try='test -s conftest$ac_exeext'
55695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55696 (eval $ac_try) 2>&5
55697 ac_status=$?
55698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55699 (exit $ac_status); }; }; then
55700 eval "$as_ac_var=yes"
55701 else
55702 echo "$as_me: failed program was:" >&5
55703 sed 's/^/| /' conftest.$ac_ext >&5
55705 eval "$as_ac_var=no"
55707 rm -f conftest.err conftest.$ac_objext \
55708 conftest$ac_exeext conftest.$ac_ext
55710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55712 if test `eval echo '${'$as_ac_var'}'` = yes; then
55713 cat >>confdefs.h <<_ACEOF
55714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55715 _ACEOF
55718 done
55720 else
55722 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55723 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55724 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55725 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55726 echo $ECHO_N "(cached) $ECHO_C" >&6
55727 else
55731 ac_ext=cc
55732 ac_cpp='$CXXCPP $CPPFLAGS'
55733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55737 cat >conftest.$ac_ext <<_ACEOF
55738 /* confdefs.h. */
55739 _ACEOF
55740 cat confdefs.h >>conftest.$ac_ext
55741 cat >>conftest.$ac_ext <<_ACEOF
55742 /* end confdefs.h. */
55743 #include <math.h>
55744 #ifdef HAVE_IEEEFP_H
55745 #include <ieeefp.h>
55746 #endif
55749 main ()
55751 _expl(0);
55753 return 0;
55755 _ACEOF
55756 rm -f conftest.$ac_objext
55757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55758 (eval $ac_compile) 2>conftest.er1
55759 ac_status=$?
55760 grep -v '^ *+' conftest.er1 >conftest.err
55761 rm -f conftest.er1
55762 cat conftest.err >&5
55763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55764 (exit $ac_status); } &&
55765 { ac_try='test -z "$ac_cxx_werror_flag"
55766 || test ! -s conftest.err'
55767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55768 (eval $ac_try) 2>&5
55769 ac_status=$?
55770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55771 (exit $ac_status); }; } &&
55772 { ac_try='test -s conftest.$ac_objext'
55773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55774 (eval $ac_try) 2>&5
55775 ac_status=$?
55776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55777 (exit $ac_status); }; }; then
55778 glibcxx_cv_func__expl_use=yes
55779 else
55780 echo "$as_me: failed program was:" >&5
55781 sed 's/^/| /' conftest.$ac_ext >&5
55783 glibcxx_cv_func__expl_use=no
55785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55786 ac_ext=c
55787 ac_cpp='$CPP $CPPFLAGS'
55788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55797 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55799 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55801 for ac_func in _expl
55803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55804 echo "$as_me:$LINENO: checking for $ac_func" >&5
55805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55806 if eval "test \"\${$as_ac_var+set}\" = set"; then
55807 echo $ECHO_N "(cached) $ECHO_C" >&6
55808 else
55809 if test x$gcc_no_link = xyes; then
55810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55812 { (exit 1); exit 1; }; }
55814 cat >conftest.$ac_ext <<_ACEOF
55815 /* confdefs.h. */
55816 _ACEOF
55817 cat confdefs.h >>conftest.$ac_ext
55818 cat >>conftest.$ac_ext <<_ACEOF
55819 /* end confdefs.h. */
55820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55822 #define $ac_func innocuous_$ac_func
55824 /* System header to define __stub macros and hopefully few prototypes,
55825 which can conflict with char $ac_func (); below.
55826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55827 <limits.h> exists even on freestanding compilers. */
55829 #ifdef __STDC__
55830 # include <limits.h>
55831 #else
55832 # include <assert.h>
55833 #endif
55835 #undef $ac_func
55837 /* Override any gcc2 internal prototype to avoid an error. */
55838 #ifdef __cplusplus
55839 extern "C"
55841 #endif
55842 /* We use char because int might match the return type of a gcc2
55843 builtin and then its argument prototype would still apply. */
55844 char $ac_func ();
55845 /* The GNU C library defines this for functions which it implements
55846 to always fail with ENOSYS. Some functions are actually named
55847 something starting with __ and the normal name is an alias. */
55848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55849 choke me
55850 #else
55851 char (*f) () = $ac_func;
55852 #endif
55853 #ifdef __cplusplus
55855 #endif
55858 main ()
55860 return f != $ac_func;
55862 return 0;
55864 _ACEOF
55865 rm -f conftest.$ac_objext conftest$ac_exeext
55866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55867 (eval $ac_link) 2>conftest.er1
55868 ac_status=$?
55869 grep -v '^ *+' conftest.er1 >conftest.err
55870 rm -f conftest.er1
55871 cat conftest.err >&5
55872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55873 (exit $ac_status); } &&
55874 { ac_try='test -z "$ac_c_werror_flag"
55875 || test ! -s conftest.err'
55876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55877 (eval $ac_try) 2>&5
55878 ac_status=$?
55879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55880 (exit $ac_status); }; } &&
55881 { ac_try='test -s conftest$ac_exeext'
55882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55883 (eval $ac_try) 2>&5
55884 ac_status=$?
55885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55886 (exit $ac_status); }; }; then
55887 eval "$as_ac_var=yes"
55888 else
55889 echo "$as_me: failed program was:" >&5
55890 sed 's/^/| /' conftest.$ac_ext >&5
55892 eval "$as_ac_var=no"
55894 rm -f conftest.err conftest.$ac_objext \
55895 conftest$ac_exeext conftest.$ac_ext
55897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55899 if test `eval echo '${'$as_ac_var'}'` = yes; then
55900 cat >>confdefs.h <<_ACEOF
55901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55902 _ACEOF
55905 done
55915 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55916 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55917 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55918 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55919 echo $ECHO_N "(cached) $ECHO_C" >&6
55920 else
55924 ac_ext=cc
55925 ac_cpp='$CXXCPP $CPPFLAGS'
55926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55930 cat >conftest.$ac_ext <<_ACEOF
55931 /* confdefs.h. */
55932 _ACEOF
55933 cat confdefs.h >>conftest.$ac_ext
55934 cat >>conftest.$ac_ext <<_ACEOF
55935 /* end confdefs.h. */
55936 #include <math.h>
55937 #ifdef HAVE_IEEEFP_H
55938 #include <ieeefp.h>
55939 #endif
55942 main ()
55944 fabsl(0);
55946 return 0;
55948 _ACEOF
55949 rm -f conftest.$ac_objext
55950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55951 (eval $ac_compile) 2>conftest.er1
55952 ac_status=$?
55953 grep -v '^ *+' conftest.er1 >conftest.err
55954 rm -f conftest.er1
55955 cat conftest.err >&5
55956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55957 (exit $ac_status); } &&
55958 { ac_try='test -z "$ac_cxx_werror_flag"
55959 || test ! -s conftest.err'
55960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55961 (eval $ac_try) 2>&5
55962 ac_status=$?
55963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55964 (exit $ac_status); }; } &&
55965 { ac_try='test -s conftest.$ac_objext'
55966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55967 (eval $ac_try) 2>&5
55968 ac_status=$?
55969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55970 (exit $ac_status); }; }; then
55971 glibcxx_cv_func_fabsl_use=yes
55972 else
55973 echo "$as_me: failed program was:" >&5
55974 sed 's/^/| /' conftest.$ac_ext >&5
55976 glibcxx_cv_func_fabsl_use=no
55978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55979 ac_ext=c
55980 ac_cpp='$CPP $CPPFLAGS'
55981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
55990 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
55992 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55994 for ac_func in fabsl
55996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55997 echo "$as_me:$LINENO: checking for $ac_func" >&5
55998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55999 if eval "test \"\${$as_ac_var+set}\" = set"; then
56000 echo $ECHO_N "(cached) $ECHO_C" >&6
56001 else
56002 if test x$gcc_no_link = xyes; then
56003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56005 { (exit 1); exit 1; }; }
56007 cat >conftest.$ac_ext <<_ACEOF
56008 /* confdefs.h. */
56009 _ACEOF
56010 cat confdefs.h >>conftest.$ac_ext
56011 cat >>conftest.$ac_ext <<_ACEOF
56012 /* end confdefs.h. */
56013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56015 #define $ac_func innocuous_$ac_func
56017 /* System header to define __stub macros and hopefully few prototypes,
56018 which can conflict with char $ac_func (); below.
56019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56020 <limits.h> exists even on freestanding compilers. */
56022 #ifdef __STDC__
56023 # include <limits.h>
56024 #else
56025 # include <assert.h>
56026 #endif
56028 #undef $ac_func
56030 /* Override any gcc2 internal prototype to avoid an error. */
56031 #ifdef __cplusplus
56032 extern "C"
56034 #endif
56035 /* We use char because int might match the return type of a gcc2
56036 builtin and then its argument prototype would still apply. */
56037 char $ac_func ();
56038 /* The GNU C library defines this for functions which it implements
56039 to always fail with ENOSYS. Some functions are actually named
56040 something starting with __ and the normal name is an alias. */
56041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56042 choke me
56043 #else
56044 char (*f) () = $ac_func;
56045 #endif
56046 #ifdef __cplusplus
56048 #endif
56051 main ()
56053 return f != $ac_func;
56055 return 0;
56057 _ACEOF
56058 rm -f conftest.$ac_objext conftest$ac_exeext
56059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56060 (eval $ac_link) 2>conftest.er1
56061 ac_status=$?
56062 grep -v '^ *+' conftest.er1 >conftest.err
56063 rm -f conftest.er1
56064 cat conftest.err >&5
56065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56066 (exit $ac_status); } &&
56067 { ac_try='test -z "$ac_c_werror_flag"
56068 || test ! -s conftest.err'
56069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56070 (eval $ac_try) 2>&5
56071 ac_status=$?
56072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56073 (exit $ac_status); }; } &&
56074 { ac_try='test -s conftest$ac_exeext'
56075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56076 (eval $ac_try) 2>&5
56077 ac_status=$?
56078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56079 (exit $ac_status); }; }; then
56080 eval "$as_ac_var=yes"
56081 else
56082 echo "$as_me: failed program was:" >&5
56083 sed 's/^/| /' conftest.$ac_ext >&5
56085 eval "$as_ac_var=no"
56087 rm -f conftest.err conftest.$ac_objext \
56088 conftest$ac_exeext conftest.$ac_ext
56090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56092 if test `eval echo '${'$as_ac_var'}'` = yes; then
56093 cat >>confdefs.h <<_ACEOF
56094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56095 _ACEOF
56098 done
56100 else
56102 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56103 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56104 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56105 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56106 echo $ECHO_N "(cached) $ECHO_C" >&6
56107 else
56111 ac_ext=cc
56112 ac_cpp='$CXXCPP $CPPFLAGS'
56113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56117 cat >conftest.$ac_ext <<_ACEOF
56118 /* confdefs.h. */
56119 _ACEOF
56120 cat confdefs.h >>conftest.$ac_ext
56121 cat >>conftest.$ac_ext <<_ACEOF
56122 /* end confdefs.h. */
56123 #include <math.h>
56124 #ifdef HAVE_IEEEFP_H
56125 #include <ieeefp.h>
56126 #endif
56129 main ()
56131 _fabsl(0);
56133 return 0;
56135 _ACEOF
56136 rm -f conftest.$ac_objext
56137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56138 (eval $ac_compile) 2>conftest.er1
56139 ac_status=$?
56140 grep -v '^ *+' conftest.er1 >conftest.err
56141 rm -f conftest.er1
56142 cat conftest.err >&5
56143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56144 (exit $ac_status); } &&
56145 { ac_try='test -z "$ac_cxx_werror_flag"
56146 || test ! -s conftest.err'
56147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56148 (eval $ac_try) 2>&5
56149 ac_status=$?
56150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56151 (exit $ac_status); }; } &&
56152 { ac_try='test -s conftest.$ac_objext'
56153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56154 (eval $ac_try) 2>&5
56155 ac_status=$?
56156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56157 (exit $ac_status); }; }; then
56158 glibcxx_cv_func__fabsl_use=yes
56159 else
56160 echo "$as_me: failed program was:" >&5
56161 sed 's/^/| /' conftest.$ac_ext >&5
56163 glibcxx_cv_func__fabsl_use=no
56165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56166 ac_ext=c
56167 ac_cpp='$CPP $CPPFLAGS'
56168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56177 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56179 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56181 for ac_func in _fabsl
56183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56184 echo "$as_me:$LINENO: checking for $ac_func" >&5
56185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56186 if eval "test \"\${$as_ac_var+set}\" = set"; then
56187 echo $ECHO_N "(cached) $ECHO_C" >&6
56188 else
56189 if test x$gcc_no_link = xyes; then
56190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56192 { (exit 1); exit 1; }; }
56194 cat >conftest.$ac_ext <<_ACEOF
56195 /* confdefs.h. */
56196 _ACEOF
56197 cat confdefs.h >>conftest.$ac_ext
56198 cat >>conftest.$ac_ext <<_ACEOF
56199 /* end confdefs.h. */
56200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56202 #define $ac_func innocuous_$ac_func
56204 /* System header to define __stub macros and hopefully few prototypes,
56205 which can conflict with char $ac_func (); below.
56206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56207 <limits.h> exists even on freestanding compilers. */
56209 #ifdef __STDC__
56210 # include <limits.h>
56211 #else
56212 # include <assert.h>
56213 #endif
56215 #undef $ac_func
56217 /* Override any gcc2 internal prototype to avoid an error. */
56218 #ifdef __cplusplus
56219 extern "C"
56221 #endif
56222 /* We use char because int might match the return type of a gcc2
56223 builtin and then its argument prototype would still apply. */
56224 char $ac_func ();
56225 /* The GNU C library defines this for functions which it implements
56226 to always fail with ENOSYS. Some functions are actually named
56227 something starting with __ and the normal name is an alias. */
56228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56229 choke me
56230 #else
56231 char (*f) () = $ac_func;
56232 #endif
56233 #ifdef __cplusplus
56235 #endif
56238 main ()
56240 return f != $ac_func;
56242 return 0;
56244 _ACEOF
56245 rm -f conftest.$ac_objext conftest$ac_exeext
56246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56247 (eval $ac_link) 2>conftest.er1
56248 ac_status=$?
56249 grep -v '^ *+' conftest.er1 >conftest.err
56250 rm -f conftest.er1
56251 cat conftest.err >&5
56252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56253 (exit $ac_status); } &&
56254 { ac_try='test -z "$ac_c_werror_flag"
56255 || test ! -s conftest.err'
56256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56257 (eval $ac_try) 2>&5
56258 ac_status=$?
56259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56260 (exit $ac_status); }; } &&
56261 { ac_try='test -s conftest$ac_exeext'
56262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56263 (eval $ac_try) 2>&5
56264 ac_status=$?
56265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56266 (exit $ac_status); }; }; then
56267 eval "$as_ac_var=yes"
56268 else
56269 echo "$as_me: failed program was:" >&5
56270 sed 's/^/| /' conftest.$ac_ext >&5
56272 eval "$as_ac_var=no"
56274 rm -f conftest.err conftest.$ac_objext \
56275 conftest$ac_exeext conftest.$ac_ext
56277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56279 if test `eval echo '${'$as_ac_var'}'` = yes; then
56280 cat >>confdefs.h <<_ACEOF
56281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56282 _ACEOF
56285 done
56295 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56296 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56297 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56298 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56299 echo $ECHO_N "(cached) $ECHO_C" >&6
56300 else
56304 ac_ext=cc
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56310 cat >conftest.$ac_ext <<_ACEOF
56311 /* confdefs.h. */
56312 _ACEOF
56313 cat confdefs.h >>conftest.$ac_ext
56314 cat >>conftest.$ac_ext <<_ACEOF
56315 /* end confdefs.h. */
56316 #include <math.h>
56318 main ()
56320 fmodl(0, 0);
56322 return 0;
56324 _ACEOF
56325 rm -f conftest.$ac_objext
56326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56327 (eval $ac_compile) 2>conftest.er1
56328 ac_status=$?
56329 grep -v '^ *+' conftest.er1 >conftest.err
56330 rm -f conftest.er1
56331 cat conftest.err >&5
56332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56333 (exit $ac_status); } &&
56334 { ac_try='test -z "$ac_cxx_werror_flag"
56335 || test ! -s conftest.err'
56336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56337 (eval $ac_try) 2>&5
56338 ac_status=$?
56339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56340 (exit $ac_status); }; } &&
56341 { ac_try='test -s conftest.$ac_objext'
56342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56343 (eval $ac_try) 2>&5
56344 ac_status=$?
56345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56346 (exit $ac_status); }; }; then
56347 glibcxx_cv_func_fmodl_use=yes
56348 else
56349 echo "$as_me: failed program was:" >&5
56350 sed 's/^/| /' conftest.$ac_ext >&5
56352 glibcxx_cv_func_fmodl_use=no
56354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56355 ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56366 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56368 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56370 for ac_func in fmodl
56372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56373 echo "$as_me:$LINENO: checking for $ac_func" >&5
56374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56375 if eval "test \"\${$as_ac_var+set}\" = set"; then
56376 echo $ECHO_N "(cached) $ECHO_C" >&6
56377 else
56378 if test x$gcc_no_link = xyes; then
56379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56381 { (exit 1); exit 1; }; }
56383 cat >conftest.$ac_ext <<_ACEOF
56384 /* confdefs.h. */
56385 _ACEOF
56386 cat confdefs.h >>conftest.$ac_ext
56387 cat >>conftest.$ac_ext <<_ACEOF
56388 /* end confdefs.h. */
56389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56391 #define $ac_func innocuous_$ac_func
56393 /* System header to define __stub macros and hopefully few prototypes,
56394 which can conflict with char $ac_func (); below.
56395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56396 <limits.h> exists even on freestanding compilers. */
56398 #ifdef __STDC__
56399 # include <limits.h>
56400 #else
56401 # include <assert.h>
56402 #endif
56404 #undef $ac_func
56406 /* Override any gcc2 internal prototype to avoid an error. */
56407 #ifdef __cplusplus
56408 extern "C"
56410 #endif
56411 /* We use char because int might match the return type of a gcc2
56412 builtin and then its argument prototype would still apply. */
56413 char $ac_func ();
56414 /* The GNU C library defines this for functions which it implements
56415 to always fail with ENOSYS. Some functions are actually named
56416 something starting with __ and the normal name is an alias. */
56417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56418 choke me
56419 #else
56420 char (*f) () = $ac_func;
56421 #endif
56422 #ifdef __cplusplus
56424 #endif
56427 main ()
56429 return f != $ac_func;
56431 return 0;
56433 _ACEOF
56434 rm -f conftest.$ac_objext conftest$ac_exeext
56435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56436 (eval $ac_link) 2>conftest.er1
56437 ac_status=$?
56438 grep -v '^ *+' conftest.er1 >conftest.err
56439 rm -f conftest.er1
56440 cat conftest.err >&5
56441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56442 (exit $ac_status); } &&
56443 { ac_try='test -z "$ac_c_werror_flag"
56444 || test ! -s conftest.err'
56445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56446 (eval $ac_try) 2>&5
56447 ac_status=$?
56448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56449 (exit $ac_status); }; } &&
56450 { ac_try='test -s conftest$ac_exeext'
56451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56452 (eval $ac_try) 2>&5
56453 ac_status=$?
56454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56455 (exit $ac_status); }; }; then
56456 eval "$as_ac_var=yes"
56457 else
56458 echo "$as_me: failed program was:" >&5
56459 sed 's/^/| /' conftest.$ac_ext >&5
56461 eval "$as_ac_var=no"
56463 rm -f conftest.err conftest.$ac_objext \
56464 conftest$ac_exeext conftest.$ac_ext
56466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56468 if test `eval echo '${'$as_ac_var'}'` = yes; then
56469 cat >>confdefs.h <<_ACEOF
56470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56471 _ACEOF
56474 done
56476 else
56478 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56479 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56480 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56481 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56482 echo $ECHO_N "(cached) $ECHO_C" >&6
56483 else
56487 ac_ext=cc
56488 ac_cpp='$CXXCPP $CPPFLAGS'
56489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56493 cat >conftest.$ac_ext <<_ACEOF
56494 /* confdefs.h. */
56495 _ACEOF
56496 cat confdefs.h >>conftest.$ac_ext
56497 cat >>conftest.$ac_ext <<_ACEOF
56498 /* end confdefs.h. */
56499 #include <math.h>
56501 main ()
56503 _fmodl(0, 0);
56505 return 0;
56507 _ACEOF
56508 rm -f conftest.$ac_objext
56509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56510 (eval $ac_compile) 2>conftest.er1
56511 ac_status=$?
56512 grep -v '^ *+' conftest.er1 >conftest.err
56513 rm -f conftest.er1
56514 cat conftest.err >&5
56515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56516 (exit $ac_status); } &&
56517 { ac_try='test -z "$ac_cxx_werror_flag"
56518 || test ! -s conftest.err'
56519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56520 (eval $ac_try) 2>&5
56521 ac_status=$?
56522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56523 (exit $ac_status); }; } &&
56524 { ac_try='test -s conftest.$ac_objext'
56525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56526 (eval $ac_try) 2>&5
56527 ac_status=$?
56528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56529 (exit $ac_status); }; }; then
56530 glibcxx_cv_func__fmodl_use=yes
56531 else
56532 echo "$as_me: failed program was:" >&5
56533 sed 's/^/| /' conftest.$ac_ext >&5
56535 glibcxx_cv_func__fmodl_use=no
56537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56538 ac_ext=c
56539 ac_cpp='$CPP $CPPFLAGS'
56540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56549 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56551 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56553 for ac_func in _fmodl
56555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56556 echo "$as_me:$LINENO: checking for $ac_func" >&5
56557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56558 if eval "test \"\${$as_ac_var+set}\" = set"; then
56559 echo $ECHO_N "(cached) $ECHO_C" >&6
56560 else
56561 if test x$gcc_no_link = xyes; then
56562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56564 { (exit 1); exit 1; }; }
56566 cat >conftest.$ac_ext <<_ACEOF
56567 /* confdefs.h. */
56568 _ACEOF
56569 cat confdefs.h >>conftest.$ac_ext
56570 cat >>conftest.$ac_ext <<_ACEOF
56571 /* end confdefs.h. */
56572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56574 #define $ac_func innocuous_$ac_func
56576 /* System header to define __stub macros and hopefully few prototypes,
56577 which can conflict with char $ac_func (); below.
56578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56579 <limits.h> exists even on freestanding compilers. */
56581 #ifdef __STDC__
56582 # include <limits.h>
56583 #else
56584 # include <assert.h>
56585 #endif
56587 #undef $ac_func
56589 /* Override any gcc2 internal prototype to avoid an error. */
56590 #ifdef __cplusplus
56591 extern "C"
56593 #endif
56594 /* We use char because int might match the return type of a gcc2
56595 builtin and then its argument prototype would still apply. */
56596 char $ac_func ();
56597 /* The GNU C library defines this for functions which it implements
56598 to always fail with ENOSYS. Some functions are actually named
56599 something starting with __ and the normal name is an alias. */
56600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56601 choke me
56602 #else
56603 char (*f) () = $ac_func;
56604 #endif
56605 #ifdef __cplusplus
56607 #endif
56610 main ()
56612 return f != $ac_func;
56614 return 0;
56616 _ACEOF
56617 rm -f conftest.$ac_objext conftest$ac_exeext
56618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56619 (eval $ac_link) 2>conftest.er1
56620 ac_status=$?
56621 grep -v '^ *+' conftest.er1 >conftest.err
56622 rm -f conftest.er1
56623 cat conftest.err >&5
56624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56625 (exit $ac_status); } &&
56626 { ac_try='test -z "$ac_c_werror_flag"
56627 || test ! -s conftest.err'
56628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56629 (eval $ac_try) 2>&5
56630 ac_status=$?
56631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56632 (exit $ac_status); }; } &&
56633 { ac_try='test -s conftest$ac_exeext'
56634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56635 (eval $ac_try) 2>&5
56636 ac_status=$?
56637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56638 (exit $ac_status); }; }; then
56639 eval "$as_ac_var=yes"
56640 else
56641 echo "$as_me: failed program was:" >&5
56642 sed 's/^/| /' conftest.$ac_ext >&5
56644 eval "$as_ac_var=no"
56646 rm -f conftest.err conftest.$ac_objext \
56647 conftest$ac_exeext conftest.$ac_ext
56649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56651 if test `eval echo '${'$as_ac_var'}'` = yes; then
56652 cat >>confdefs.h <<_ACEOF
56653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56654 _ACEOF
56657 done
56667 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56668 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56669 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56670 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56671 echo $ECHO_N "(cached) $ECHO_C" >&6
56672 else
56676 ac_ext=cc
56677 ac_cpp='$CXXCPP $CPPFLAGS'
56678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56682 cat >conftest.$ac_ext <<_ACEOF
56683 /* confdefs.h. */
56684 _ACEOF
56685 cat confdefs.h >>conftest.$ac_ext
56686 cat >>conftest.$ac_ext <<_ACEOF
56687 /* end confdefs.h. */
56688 #include <math.h>
56690 main ()
56692 frexpl(0, 0);
56694 return 0;
56696 _ACEOF
56697 rm -f conftest.$ac_objext
56698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56699 (eval $ac_compile) 2>conftest.er1
56700 ac_status=$?
56701 grep -v '^ *+' conftest.er1 >conftest.err
56702 rm -f conftest.er1
56703 cat conftest.err >&5
56704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56705 (exit $ac_status); } &&
56706 { ac_try='test -z "$ac_cxx_werror_flag"
56707 || test ! -s conftest.err'
56708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56709 (eval $ac_try) 2>&5
56710 ac_status=$?
56711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56712 (exit $ac_status); }; } &&
56713 { ac_try='test -s conftest.$ac_objext'
56714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56715 (eval $ac_try) 2>&5
56716 ac_status=$?
56717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56718 (exit $ac_status); }; }; then
56719 glibcxx_cv_func_frexpl_use=yes
56720 else
56721 echo "$as_me: failed program was:" >&5
56722 sed 's/^/| /' conftest.$ac_ext >&5
56724 glibcxx_cv_func_frexpl_use=no
56726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56727 ac_ext=c
56728 ac_cpp='$CPP $CPPFLAGS'
56729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56738 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56740 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56742 for ac_func in frexpl
56744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56745 echo "$as_me:$LINENO: checking for $ac_func" >&5
56746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56747 if eval "test \"\${$as_ac_var+set}\" = set"; then
56748 echo $ECHO_N "(cached) $ECHO_C" >&6
56749 else
56750 if test x$gcc_no_link = xyes; then
56751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56753 { (exit 1); exit 1; }; }
56755 cat >conftest.$ac_ext <<_ACEOF
56756 /* confdefs.h. */
56757 _ACEOF
56758 cat confdefs.h >>conftest.$ac_ext
56759 cat >>conftest.$ac_ext <<_ACEOF
56760 /* end confdefs.h. */
56761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56763 #define $ac_func innocuous_$ac_func
56765 /* System header to define __stub macros and hopefully few prototypes,
56766 which can conflict with char $ac_func (); below.
56767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56768 <limits.h> exists even on freestanding compilers. */
56770 #ifdef __STDC__
56771 # include <limits.h>
56772 #else
56773 # include <assert.h>
56774 #endif
56776 #undef $ac_func
56778 /* Override any gcc2 internal prototype to avoid an error. */
56779 #ifdef __cplusplus
56780 extern "C"
56782 #endif
56783 /* We use char because int might match the return type of a gcc2
56784 builtin and then its argument prototype would still apply. */
56785 char $ac_func ();
56786 /* The GNU C library defines this for functions which it implements
56787 to always fail with ENOSYS. Some functions are actually named
56788 something starting with __ and the normal name is an alias. */
56789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56790 choke me
56791 #else
56792 char (*f) () = $ac_func;
56793 #endif
56794 #ifdef __cplusplus
56796 #endif
56799 main ()
56801 return f != $ac_func;
56803 return 0;
56805 _ACEOF
56806 rm -f conftest.$ac_objext conftest$ac_exeext
56807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56808 (eval $ac_link) 2>conftest.er1
56809 ac_status=$?
56810 grep -v '^ *+' conftest.er1 >conftest.err
56811 rm -f conftest.er1
56812 cat conftest.err >&5
56813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56814 (exit $ac_status); } &&
56815 { ac_try='test -z "$ac_c_werror_flag"
56816 || test ! -s conftest.err'
56817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56818 (eval $ac_try) 2>&5
56819 ac_status=$?
56820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56821 (exit $ac_status); }; } &&
56822 { ac_try='test -s conftest$ac_exeext'
56823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56824 (eval $ac_try) 2>&5
56825 ac_status=$?
56826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56827 (exit $ac_status); }; }; then
56828 eval "$as_ac_var=yes"
56829 else
56830 echo "$as_me: failed program was:" >&5
56831 sed 's/^/| /' conftest.$ac_ext >&5
56833 eval "$as_ac_var=no"
56835 rm -f conftest.err conftest.$ac_objext \
56836 conftest$ac_exeext conftest.$ac_ext
56838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56840 if test `eval echo '${'$as_ac_var'}'` = yes; then
56841 cat >>confdefs.h <<_ACEOF
56842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56843 _ACEOF
56846 done
56848 else
56850 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56851 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56852 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56853 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56854 echo $ECHO_N "(cached) $ECHO_C" >&6
56855 else
56859 ac_ext=cc
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56865 cat >conftest.$ac_ext <<_ACEOF
56866 /* confdefs.h. */
56867 _ACEOF
56868 cat confdefs.h >>conftest.$ac_ext
56869 cat >>conftest.$ac_ext <<_ACEOF
56870 /* end confdefs.h. */
56871 #include <math.h>
56873 main ()
56875 _frexpl(0, 0);
56877 return 0;
56879 _ACEOF
56880 rm -f conftest.$ac_objext
56881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56882 (eval $ac_compile) 2>conftest.er1
56883 ac_status=$?
56884 grep -v '^ *+' conftest.er1 >conftest.err
56885 rm -f conftest.er1
56886 cat conftest.err >&5
56887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56888 (exit $ac_status); } &&
56889 { ac_try='test -z "$ac_cxx_werror_flag"
56890 || test ! -s conftest.err'
56891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56892 (eval $ac_try) 2>&5
56893 ac_status=$?
56894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56895 (exit $ac_status); }; } &&
56896 { ac_try='test -s conftest.$ac_objext'
56897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56898 (eval $ac_try) 2>&5
56899 ac_status=$?
56900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56901 (exit $ac_status); }; }; then
56902 glibcxx_cv_func__frexpl_use=yes
56903 else
56904 echo "$as_me: failed program was:" >&5
56905 sed 's/^/| /' conftest.$ac_ext >&5
56907 glibcxx_cv_func__frexpl_use=no
56909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56910 ac_ext=c
56911 ac_cpp='$CPP $CPPFLAGS'
56912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56921 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56923 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56925 for ac_func in _frexpl
56927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56928 echo "$as_me:$LINENO: checking for $ac_func" >&5
56929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56930 if eval "test \"\${$as_ac_var+set}\" = set"; then
56931 echo $ECHO_N "(cached) $ECHO_C" >&6
56932 else
56933 if test x$gcc_no_link = xyes; then
56934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56936 { (exit 1); exit 1; }; }
56938 cat >conftest.$ac_ext <<_ACEOF
56939 /* confdefs.h. */
56940 _ACEOF
56941 cat confdefs.h >>conftest.$ac_ext
56942 cat >>conftest.$ac_ext <<_ACEOF
56943 /* end confdefs.h. */
56944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56946 #define $ac_func innocuous_$ac_func
56948 /* System header to define __stub macros and hopefully few prototypes,
56949 which can conflict with char $ac_func (); below.
56950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56951 <limits.h> exists even on freestanding compilers. */
56953 #ifdef __STDC__
56954 # include <limits.h>
56955 #else
56956 # include <assert.h>
56957 #endif
56959 #undef $ac_func
56961 /* Override any gcc2 internal prototype to avoid an error. */
56962 #ifdef __cplusplus
56963 extern "C"
56965 #endif
56966 /* We use char because int might match the return type of a gcc2
56967 builtin and then its argument prototype would still apply. */
56968 char $ac_func ();
56969 /* The GNU C library defines this for functions which it implements
56970 to always fail with ENOSYS. Some functions are actually named
56971 something starting with __ and the normal name is an alias. */
56972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56973 choke me
56974 #else
56975 char (*f) () = $ac_func;
56976 #endif
56977 #ifdef __cplusplus
56979 #endif
56982 main ()
56984 return f != $ac_func;
56986 return 0;
56988 _ACEOF
56989 rm -f conftest.$ac_objext conftest$ac_exeext
56990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56991 (eval $ac_link) 2>conftest.er1
56992 ac_status=$?
56993 grep -v '^ *+' conftest.er1 >conftest.err
56994 rm -f conftest.er1
56995 cat conftest.err >&5
56996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56997 (exit $ac_status); } &&
56998 { ac_try='test -z "$ac_c_werror_flag"
56999 || test ! -s conftest.err'
57000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57001 (eval $ac_try) 2>&5
57002 ac_status=$?
57003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57004 (exit $ac_status); }; } &&
57005 { ac_try='test -s conftest$ac_exeext'
57006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57007 (eval $ac_try) 2>&5
57008 ac_status=$?
57009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57010 (exit $ac_status); }; }; then
57011 eval "$as_ac_var=yes"
57012 else
57013 echo "$as_me: failed program was:" >&5
57014 sed 's/^/| /' conftest.$ac_ext >&5
57016 eval "$as_ac_var=no"
57018 rm -f conftest.err conftest.$ac_objext \
57019 conftest$ac_exeext conftest.$ac_ext
57021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57023 if test `eval echo '${'$as_ac_var'}'` = yes; then
57024 cat >>confdefs.h <<_ACEOF
57025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57026 _ACEOF
57029 done
57039 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57040 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57041 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57042 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57043 echo $ECHO_N "(cached) $ECHO_C" >&6
57044 else
57048 ac_ext=cc
57049 ac_cpp='$CXXCPP $CPPFLAGS'
57050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57054 cat >conftest.$ac_ext <<_ACEOF
57055 /* confdefs.h. */
57056 _ACEOF
57057 cat confdefs.h >>conftest.$ac_ext
57058 cat >>conftest.$ac_ext <<_ACEOF
57059 /* end confdefs.h. */
57060 #include <math.h>
57062 main ()
57064 hypotl(0, 0);
57066 return 0;
57068 _ACEOF
57069 rm -f conftest.$ac_objext
57070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57071 (eval $ac_compile) 2>conftest.er1
57072 ac_status=$?
57073 grep -v '^ *+' conftest.er1 >conftest.err
57074 rm -f conftest.er1
57075 cat conftest.err >&5
57076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57077 (exit $ac_status); } &&
57078 { ac_try='test -z "$ac_cxx_werror_flag"
57079 || test ! -s conftest.err'
57080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57081 (eval $ac_try) 2>&5
57082 ac_status=$?
57083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57084 (exit $ac_status); }; } &&
57085 { ac_try='test -s conftest.$ac_objext'
57086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57087 (eval $ac_try) 2>&5
57088 ac_status=$?
57089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57090 (exit $ac_status); }; }; then
57091 glibcxx_cv_func_hypotl_use=yes
57092 else
57093 echo "$as_me: failed program was:" >&5
57094 sed 's/^/| /' conftest.$ac_ext >&5
57096 glibcxx_cv_func_hypotl_use=no
57098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57099 ac_ext=c
57100 ac_cpp='$CPP $CPPFLAGS'
57101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57110 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57112 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57114 for ac_func in hypotl
57116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57117 echo "$as_me:$LINENO: checking for $ac_func" >&5
57118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57119 if eval "test \"\${$as_ac_var+set}\" = set"; then
57120 echo $ECHO_N "(cached) $ECHO_C" >&6
57121 else
57122 if test x$gcc_no_link = xyes; then
57123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57125 { (exit 1); exit 1; }; }
57127 cat >conftest.$ac_ext <<_ACEOF
57128 /* confdefs.h. */
57129 _ACEOF
57130 cat confdefs.h >>conftest.$ac_ext
57131 cat >>conftest.$ac_ext <<_ACEOF
57132 /* end confdefs.h. */
57133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57135 #define $ac_func innocuous_$ac_func
57137 /* System header to define __stub macros and hopefully few prototypes,
57138 which can conflict with char $ac_func (); below.
57139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57140 <limits.h> exists even on freestanding compilers. */
57142 #ifdef __STDC__
57143 # include <limits.h>
57144 #else
57145 # include <assert.h>
57146 #endif
57148 #undef $ac_func
57150 /* Override any gcc2 internal prototype to avoid an error. */
57151 #ifdef __cplusplus
57152 extern "C"
57154 #endif
57155 /* We use char because int might match the return type of a gcc2
57156 builtin and then its argument prototype would still apply. */
57157 char $ac_func ();
57158 /* The GNU C library defines this for functions which it implements
57159 to always fail with ENOSYS. Some functions are actually named
57160 something starting with __ and the normal name is an alias. */
57161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57162 choke me
57163 #else
57164 char (*f) () = $ac_func;
57165 #endif
57166 #ifdef __cplusplus
57168 #endif
57171 main ()
57173 return f != $ac_func;
57175 return 0;
57177 _ACEOF
57178 rm -f conftest.$ac_objext conftest$ac_exeext
57179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57180 (eval $ac_link) 2>conftest.er1
57181 ac_status=$?
57182 grep -v '^ *+' conftest.er1 >conftest.err
57183 rm -f conftest.er1
57184 cat conftest.err >&5
57185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57186 (exit $ac_status); } &&
57187 { ac_try='test -z "$ac_c_werror_flag"
57188 || test ! -s conftest.err'
57189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57190 (eval $ac_try) 2>&5
57191 ac_status=$?
57192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57193 (exit $ac_status); }; } &&
57194 { ac_try='test -s conftest$ac_exeext'
57195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57196 (eval $ac_try) 2>&5
57197 ac_status=$?
57198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57199 (exit $ac_status); }; }; then
57200 eval "$as_ac_var=yes"
57201 else
57202 echo "$as_me: failed program was:" >&5
57203 sed 's/^/| /' conftest.$ac_ext >&5
57205 eval "$as_ac_var=no"
57207 rm -f conftest.err conftest.$ac_objext \
57208 conftest$ac_exeext conftest.$ac_ext
57210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57212 if test `eval echo '${'$as_ac_var'}'` = yes; then
57213 cat >>confdefs.h <<_ACEOF
57214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57215 _ACEOF
57218 done
57220 else
57222 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57223 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57224 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57225 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57226 echo $ECHO_N "(cached) $ECHO_C" >&6
57227 else
57231 ac_ext=cc
57232 ac_cpp='$CXXCPP $CPPFLAGS'
57233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57237 cat >conftest.$ac_ext <<_ACEOF
57238 /* confdefs.h. */
57239 _ACEOF
57240 cat confdefs.h >>conftest.$ac_ext
57241 cat >>conftest.$ac_ext <<_ACEOF
57242 /* end confdefs.h. */
57243 #include <math.h>
57245 main ()
57247 _hypotl(0, 0);
57249 return 0;
57251 _ACEOF
57252 rm -f conftest.$ac_objext
57253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57254 (eval $ac_compile) 2>conftest.er1
57255 ac_status=$?
57256 grep -v '^ *+' conftest.er1 >conftest.err
57257 rm -f conftest.er1
57258 cat conftest.err >&5
57259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57260 (exit $ac_status); } &&
57261 { ac_try='test -z "$ac_cxx_werror_flag"
57262 || test ! -s conftest.err'
57263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57264 (eval $ac_try) 2>&5
57265 ac_status=$?
57266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57267 (exit $ac_status); }; } &&
57268 { ac_try='test -s conftest.$ac_objext'
57269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57270 (eval $ac_try) 2>&5
57271 ac_status=$?
57272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57273 (exit $ac_status); }; }; then
57274 glibcxx_cv_func__hypotl_use=yes
57275 else
57276 echo "$as_me: failed program was:" >&5
57277 sed 's/^/| /' conftest.$ac_ext >&5
57279 glibcxx_cv_func__hypotl_use=no
57281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57282 ac_ext=c
57283 ac_cpp='$CPP $CPPFLAGS'
57284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57293 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57295 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57297 for ac_func in _hypotl
57299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57300 echo "$as_me:$LINENO: checking for $ac_func" >&5
57301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57302 if eval "test \"\${$as_ac_var+set}\" = set"; then
57303 echo $ECHO_N "(cached) $ECHO_C" >&6
57304 else
57305 if test x$gcc_no_link = xyes; then
57306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57308 { (exit 1); exit 1; }; }
57310 cat >conftest.$ac_ext <<_ACEOF
57311 /* confdefs.h. */
57312 _ACEOF
57313 cat confdefs.h >>conftest.$ac_ext
57314 cat >>conftest.$ac_ext <<_ACEOF
57315 /* end confdefs.h. */
57316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57318 #define $ac_func innocuous_$ac_func
57320 /* System header to define __stub macros and hopefully few prototypes,
57321 which can conflict with char $ac_func (); below.
57322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57323 <limits.h> exists even on freestanding compilers. */
57325 #ifdef __STDC__
57326 # include <limits.h>
57327 #else
57328 # include <assert.h>
57329 #endif
57331 #undef $ac_func
57333 /* Override any gcc2 internal prototype to avoid an error. */
57334 #ifdef __cplusplus
57335 extern "C"
57337 #endif
57338 /* We use char because int might match the return type of a gcc2
57339 builtin and then its argument prototype would still apply. */
57340 char $ac_func ();
57341 /* The GNU C library defines this for functions which it implements
57342 to always fail with ENOSYS. Some functions are actually named
57343 something starting with __ and the normal name is an alias. */
57344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57345 choke me
57346 #else
57347 char (*f) () = $ac_func;
57348 #endif
57349 #ifdef __cplusplus
57351 #endif
57354 main ()
57356 return f != $ac_func;
57358 return 0;
57360 _ACEOF
57361 rm -f conftest.$ac_objext conftest$ac_exeext
57362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57363 (eval $ac_link) 2>conftest.er1
57364 ac_status=$?
57365 grep -v '^ *+' conftest.er1 >conftest.err
57366 rm -f conftest.er1
57367 cat conftest.err >&5
57368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57369 (exit $ac_status); } &&
57370 { ac_try='test -z "$ac_c_werror_flag"
57371 || test ! -s conftest.err'
57372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57373 (eval $ac_try) 2>&5
57374 ac_status=$?
57375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57376 (exit $ac_status); }; } &&
57377 { ac_try='test -s conftest$ac_exeext'
57378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57379 (eval $ac_try) 2>&5
57380 ac_status=$?
57381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57382 (exit $ac_status); }; }; then
57383 eval "$as_ac_var=yes"
57384 else
57385 echo "$as_me: failed program was:" >&5
57386 sed 's/^/| /' conftest.$ac_ext >&5
57388 eval "$as_ac_var=no"
57390 rm -f conftest.err conftest.$ac_objext \
57391 conftest$ac_exeext conftest.$ac_ext
57393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57395 if test `eval echo '${'$as_ac_var'}'` = yes; then
57396 cat >>confdefs.h <<_ACEOF
57397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57398 _ACEOF
57401 done
57411 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57412 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57413 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57414 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57415 echo $ECHO_N "(cached) $ECHO_C" >&6
57416 else
57420 ac_ext=cc
57421 ac_cpp='$CXXCPP $CPPFLAGS'
57422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57426 cat >conftest.$ac_ext <<_ACEOF
57427 /* confdefs.h. */
57428 _ACEOF
57429 cat confdefs.h >>conftest.$ac_ext
57430 cat >>conftest.$ac_ext <<_ACEOF
57431 /* end confdefs.h. */
57432 #include <math.h>
57434 main ()
57436 ldexpl(0, 0);
57438 return 0;
57440 _ACEOF
57441 rm -f conftest.$ac_objext
57442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57443 (eval $ac_compile) 2>conftest.er1
57444 ac_status=$?
57445 grep -v '^ *+' conftest.er1 >conftest.err
57446 rm -f conftest.er1
57447 cat conftest.err >&5
57448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57449 (exit $ac_status); } &&
57450 { ac_try='test -z "$ac_cxx_werror_flag"
57451 || test ! -s conftest.err'
57452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57453 (eval $ac_try) 2>&5
57454 ac_status=$?
57455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57456 (exit $ac_status); }; } &&
57457 { ac_try='test -s conftest.$ac_objext'
57458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57459 (eval $ac_try) 2>&5
57460 ac_status=$?
57461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57462 (exit $ac_status); }; }; then
57463 glibcxx_cv_func_ldexpl_use=yes
57464 else
57465 echo "$as_me: failed program was:" >&5
57466 sed 's/^/| /' conftest.$ac_ext >&5
57468 glibcxx_cv_func_ldexpl_use=no
57470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57471 ac_ext=c
57472 ac_cpp='$CPP $CPPFLAGS'
57473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57482 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57484 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57486 for ac_func in ldexpl
57488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57489 echo "$as_me:$LINENO: checking for $ac_func" >&5
57490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57491 if eval "test \"\${$as_ac_var+set}\" = set"; then
57492 echo $ECHO_N "(cached) $ECHO_C" >&6
57493 else
57494 if test x$gcc_no_link = xyes; then
57495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57497 { (exit 1); exit 1; }; }
57499 cat >conftest.$ac_ext <<_ACEOF
57500 /* confdefs.h. */
57501 _ACEOF
57502 cat confdefs.h >>conftest.$ac_ext
57503 cat >>conftest.$ac_ext <<_ACEOF
57504 /* end confdefs.h. */
57505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57507 #define $ac_func innocuous_$ac_func
57509 /* System header to define __stub macros and hopefully few prototypes,
57510 which can conflict with char $ac_func (); below.
57511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57512 <limits.h> exists even on freestanding compilers. */
57514 #ifdef __STDC__
57515 # include <limits.h>
57516 #else
57517 # include <assert.h>
57518 #endif
57520 #undef $ac_func
57522 /* Override any gcc2 internal prototype to avoid an error. */
57523 #ifdef __cplusplus
57524 extern "C"
57526 #endif
57527 /* We use char because int might match the return type of a gcc2
57528 builtin and then its argument prototype would still apply. */
57529 char $ac_func ();
57530 /* The GNU C library defines this for functions which it implements
57531 to always fail with ENOSYS. Some functions are actually named
57532 something starting with __ and the normal name is an alias. */
57533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57534 choke me
57535 #else
57536 char (*f) () = $ac_func;
57537 #endif
57538 #ifdef __cplusplus
57540 #endif
57543 main ()
57545 return f != $ac_func;
57547 return 0;
57549 _ACEOF
57550 rm -f conftest.$ac_objext conftest$ac_exeext
57551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57552 (eval $ac_link) 2>conftest.er1
57553 ac_status=$?
57554 grep -v '^ *+' conftest.er1 >conftest.err
57555 rm -f conftest.er1
57556 cat conftest.err >&5
57557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57558 (exit $ac_status); } &&
57559 { ac_try='test -z "$ac_c_werror_flag"
57560 || test ! -s conftest.err'
57561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57562 (eval $ac_try) 2>&5
57563 ac_status=$?
57564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57565 (exit $ac_status); }; } &&
57566 { ac_try='test -s conftest$ac_exeext'
57567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57568 (eval $ac_try) 2>&5
57569 ac_status=$?
57570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57571 (exit $ac_status); }; }; then
57572 eval "$as_ac_var=yes"
57573 else
57574 echo "$as_me: failed program was:" >&5
57575 sed 's/^/| /' conftest.$ac_ext >&5
57577 eval "$as_ac_var=no"
57579 rm -f conftest.err conftest.$ac_objext \
57580 conftest$ac_exeext conftest.$ac_ext
57582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57584 if test `eval echo '${'$as_ac_var'}'` = yes; then
57585 cat >>confdefs.h <<_ACEOF
57586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57587 _ACEOF
57590 done
57592 else
57594 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57595 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57596 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57597 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57598 echo $ECHO_N "(cached) $ECHO_C" >&6
57599 else
57603 ac_ext=cc
57604 ac_cpp='$CXXCPP $CPPFLAGS'
57605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57609 cat >conftest.$ac_ext <<_ACEOF
57610 /* confdefs.h. */
57611 _ACEOF
57612 cat confdefs.h >>conftest.$ac_ext
57613 cat >>conftest.$ac_ext <<_ACEOF
57614 /* end confdefs.h. */
57615 #include <math.h>
57617 main ()
57619 _ldexpl(0, 0);
57621 return 0;
57623 _ACEOF
57624 rm -f conftest.$ac_objext
57625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57626 (eval $ac_compile) 2>conftest.er1
57627 ac_status=$?
57628 grep -v '^ *+' conftest.er1 >conftest.err
57629 rm -f conftest.er1
57630 cat conftest.err >&5
57631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57632 (exit $ac_status); } &&
57633 { ac_try='test -z "$ac_cxx_werror_flag"
57634 || test ! -s conftest.err'
57635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57636 (eval $ac_try) 2>&5
57637 ac_status=$?
57638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57639 (exit $ac_status); }; } &&
57640 { ac_try='test -s conftest.$ac_objext'
57641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57642 (eval $ac_try) 2>&5
57643 ac_status=$?
57644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57645 (exit $ac_status); }; }; then
57646 glibcxx_cv_func__ldexpl_use=yes
57647 else
57648 echo "$as_me: failed program was:" >&5
57649 sed 's/^/| /' conftest.$ac_ext >&5
57651 glibcxx_cv_func__ldexpl_use=no
57653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57654 ac_ext=c
57655 ac_cpp='$CPP $CPPFLAGS'
57656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57665 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57667 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57669 for ac_func in _ldexpl
57671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57672 echo "$as_me:$LINENO: checking for $ac_func" >&5
57673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57674 if eval "test \"\${$as_ac_var+set}\" = set"; then
57675 echo $ECHO_N "(cached) $ECHO_C" >&6
57676 else
57677 if test x$gcc_no_link = xyes; then
57678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57680 { (exit 1); exit 1; }; }
57682 cat >conftest.$ac_ext <<_ACEOF
57683 /* confdefs.h. */
57684 _ACEOF
57685 cat confdefs.h >>conftest.$ac_ext
57686 cat >>conftest.$ac_ext <<_ACEOF
57687 /* end confdefs.h. */
57688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57690 #define $ac_func innocuous_$ac_func
57692 /* System header to define __stub macros and hopefully few prototypes,
57693 which can conflict with char $ac_func (); below.
57694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57695 <limits.h> exists even on freestanding compilers. */
57697 #ifdef __STDC__
57698 # include <limits.h>
57699 #else
57700 # include <assert.h>
57701 #endif
57703 #undef $ac_func
57705 /* Override any gcc2 internal prototype to avoid an error. */
57706 #ifdef __cplusplus
57707 extern "C"
57709 #endif
57710 /* We use char because int might match the return type of a gcc2
57711 builtin and then its argument prototype would still apply. */
57712 char $ac_func ();
57713 /* The GNU C library defines this for functions which it implements
57714 to always fail with ENOSYS. Some functions are actually named
57715 something starting with __ and the normal name is an alias. */
57716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57717 choke me
57718 #else
57719 char (*f) () = $ac_func;
57720 #endif
57721 #ifdef __cplusplus
57723 #endif
57726 main ()
57728 return f != $ac_func;
57730 return 0;
57732 _ACEOF
57733 rm -f conftest.$ac_objext conftest$ac_exeext
57734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57735 (eval $ac_link) 2>conftest.er1
57736 ac_status=$?
57737 grep -v '^ *+' conftest.er1 >conftest.err
57738 rm -f conftest.er1
57739 cat conftest.err >&5
57740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57741 (exit $ac_status); } &&
57742 { ac_try='test -z "$ac_c_werror_flag"
57743 || test ! -s conftest.err'
57744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57745 (eval $ac_try) 2>&5
57746 ac_status=$?
57747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57748 (exit $ac_status); }; } &&
57749 { ac_try='test -s conftest$ac_exeext'
57750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57751 (eval $ac_try) 2>&5
57752 ac_status=$?
57753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57754 (exit $ac_status); }; }; then
57755 eval "$as_ac_var=yes"
57756 else
57757 echo "$as_me: failed program was:" >&5
57758 sed 's/^/| /' conftest.$ac_ext >&5
57760 eval "$as_ac_var=no"
57762 rm -f conftest.err conftest.$ac_objext \
57763 conftest$ac_exeext conftest.$ac_ext
57765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57767 if test `eval echo '${'$as_ac_var'}'` = yes; then
57768 cat >>confdefs.h <<_ACEOF
57769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57770 _ACEOF
57773 done
57783 echo "$as_me:$LINENO: checking for logl declaration" >&5
57784 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57785 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57786 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57787 echo $ECHO_N "(cached) $ECHO_C" >&6
57788 else
57792 ac_ext=cc
57793 ac_cpp='$CXXCPP $CPPFLAGS'
57794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57798 cat >conftest.$ac_ext <<_ACEOF
57799 /* confdefs.h. */
57800 _ACEOF
57801 cat confdefs.h >>conftest.$ac_ext
57802 cat >>conftest.$ac_ext <<_ACEOF
57803 /* end confdefs.h. */
57804 #include <math.h>
57805 #ifdef HAVE_IEEEFP_H
57806 #include <ieeefp.h>
57807 #endif
57810 main ()
57812 logl(0);
57814 return 0;
57816 _ACEOF
57817 rm -f conftest.$ac_objext
57818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57819 (eval $ac_compile) 2>conftest.er1
57820 ac_status=$?
57821 grep -v '^ *+' conftest.er1 >conftest.err
57822 rm -f conftest.er1
57823 cat conftest.err >&5
57824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57825 (exit $ac_status); } &&
57826 { ac_try='test -z "$ac_cxx_werror_flag"
57827 || test ! -s conftest.err'
57828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57829 (eval $ac_try) 2>&5
57830 ac_status=$?
57831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57832 (exit $ac_status); }; } &&
57833 { ac_try='test -s conftest.$ac_objext'
57834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57835 (eval $ac_try) 2>&5
57836 ac_status=$?
57837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57838 (exit $ac_status); }; }; then
57839 glibcxx_cv_func_logl_use=yes
57840 else
57841 echo "$as_me: failed program was:" >&5
57842 sed 's/^/| /' conftest.$ac_ext >&5
57844 glibcxx_cv_func_logl_use=no
57846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57847 ac_ext=c
57848 ac_cpp='$CPP $CPPFLAGS'
57849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57858 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57860 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57862 for ac_func in logl
57864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57865 echo "$as_me:$LINENO: checking for $ac_func" >&5
57866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57867 if eval "test \"\${$as_ac_var+set}\" = set"; then
57868 echo $ECHO_N "(cached) $ECHO_C" >&6
57869 else
57870 if test x$gcc_no_link = xyes; then
57871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57873 { (exit 1); exit 1; }; }
57875 cat >conftest.$ac_ext <<_ACEOF
57876 /* confdefs.h. */
57877 _ACEOF
57878 cat confdefs.h >>conftest.$ac_ext
57879 cat >>conftest.$ac_ext <<_ACEOF
57880 /* end confdefs.h. */
57881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57883 #define $ac_func innocuous_$ac_func
57885 /* System header to define __stub macros and hopefully few prototypes,
57886 which can conflict with char $ac_func (); below.
57887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57888 <limits.h> exists even on freestanding compilers. */
57890 #ifdef __STDC__
57891 # include <limits.h>
57892 #else
57893 # include <assert.h>
57894 #endif
57896 #undef $ac_func
57898 /* Override any gcc2 internal prototype to avoid an error. */
57899 #ifdef __cplusplus
57900 extern "C"
57902 #endif
57903 /* We use char because int might match the return type of a gcc2
57904 builtin and then its argument prototype would still apply. */
57905 char $ac_func ();
57906 /* The GNU C library defines this for functions which it implements
57907 to always fail with ENOSYS. Some functions are actually named
57908 something starting with __ and the normal name is an alias. */
57909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57910 choke me
57911 #else
57912 char (*f) () = $ac_func;
57913 #endif
57914 #ifdef __cplusplus
57916 #endif
57919 main ()
57921 return f != $ac_func;
57923 return 0;
57925 _ACEOF
57926 rm -f conftest.$ac_objext conftest$ac_exeext
57927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57928 (eval $ac_link) 2>conftest.er1
57929 ac_status=$?
57930 grep -v '^ *+' conftest.er1 >conftest.err
57931 rm -f conftest.er1
57932 cat conftest.err >&5
57933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57934 (exit $ac_status); } &&
57935 { ac_try='test -z "$ac_c_werror_flag"
57936 || test ! -s conftest.err'
57937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57938 (eval $ac_try) 2>&5
57939 ac_status=$?
57940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57941 (exit $ac_status); }; } &&
57942 { ac_try='test -s conftest$ac_exeext'
57943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57944 (eval $ac_try) 2>&5
57945 ac_status=$?
57946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57947 (exit $ac_status); }; }; then
57948 eval "$as_ac_var=yes"
57949 else
57950 echo "$as_me: failed program was:" >&5
57951 sed 's/^/| /' conftest.$ac_ext >&5
57953 eval "$as_ac_var=no"
57955 rm -f conftest.err conftest.$ac_objext \
57956 conftest$ac_exeext conftest.$ac_ext
57958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57960 if test `eval echo '${'$as_ac_var'}'` = yes; then
57961 cat >>confdefs.h <<_ACEOF
57962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57963 _ACEOF
57966 done
57968 else
57970 echo "$as_me:$LINENO: checking for _logl declaration" >&5
57971 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
57972 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57973 if test "${glibcxx_cv_func__logl_use+set}" = set; then
57974 echo $ECHO_N "(cached) $ECHO_C" >&6
57975 else
57979 ac_ext=cc
57980 ac_cpp='$CXXCPP $CPPFLAGS'
57981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57985 cat >conftest.$ac_ext <<_ACEOF
57986 /* confdefs.h. */
57987 _ACEOF
57988 cat confdefs.h >>conftest.$ac_ext
57989 cat >>conftest.$ac_ext <<_ACEOF
57990 /* end confdefs.h. */
57991 #include <math.h>
57992 #ifdef HAVE_IEEEFP_H
57993 #include <ieeefp.h>
57994 #endif
57997 main ()
57999 _logl(0);
58001 return 0;
58003 _ACEOF
58004 rm -f conftest.$ac_objext
58005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58006 (eval $ac_compile) 2>conftest.er1
58007 ac_status=$?
58008 grep -v '^ *+' conftest.er1 >conftest.err
58009 rm -f conftest.er1
58010 cat conftest.err >&5
58011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58012 (exit $ac_status); } &&
58013 { ac_try='test -z "$ac_cxx_werror_flag"
58014 || test ! -s conftest.err'
58015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58016 (eval $ac_try) 2>&5
58017 ac_status=$?
58018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58019 (exit $ac_status); }; } &&
58020 { ac_try='test -s conftest.$ac_objext'
58021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58022 (eval $ac_try) 2>&5
58023 ac_status=$?
58024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58025 (exit $ac_status); }; }; then
58026 glibcxx_cv_func__logl_use=yes
58027 else
58028 echo "$as_me: failed program was:" >&5
58029 sed 's/^/| /' conftest.$ac_ext >&5
58031 glibcxx_cv_func__logl_use=no
58033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58034 ac_ext=c
58035 ac_cpp='$CPP $CPPFLAGS'
58036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58045 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58047 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58049 for ac_func in _logl
58051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58052 echo "$as_me:$LINENO: checking for $ac_func" >&5
58053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58054 if eval "test \"\${$as_ac_var+set}\" = set"; then
58055 echo $ECHO_N "(cached) $ECHO_C" >&6
58056 else
58057 if test x$gcc_no_link = xyes; then
58058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58060 { (exit 1); exit 1; }; }
58062 cat >conftest.$ac_ext <<_ACEOF
58063 /* confdefs.h. */
58064 _ACEOF
58065 cat confdefs.h >>conftest.$ac_ext
58066 cat >>conftest.$ac_ext <<_ACEOF
58067 /* end confdefs.h. */
58068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58070 #define $ac_func innocuous_$ac_func
58072 /* System header to define __stub macros and hopefully few prototypes,
58073 which can conflict with char $ac_func (); below.
58074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58075 <limits.h> exists even on freestanding compilers. */
58077 #ifdef __STDC__
58078 # include <limits.h>
58079 #else
58080 # include <assert.h>
58081 #endif
58083 #undef $ac_func
58085 /* Override any gcc2 internal prototype to avoid an error. */
58086 #ifdef __cplusplus
58087 extern "C"
58089 #endif
58090 /* We use char because int might match the return type of a gcc2
58091 builtin and then its argument prototype would still apply. */
58092 char $ac_func ();
58093 /* The GNU C library defines this for functions which it implements
58094 to always fail with ENOSYS. Some functions are actually named
58095 something starting with __ and the normal name is an alias. */
58096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58097 choke me
58098 #else
58099 char (*f) () = $ac_func;
58100 #endif
58101 #ifdef __cplusplus
58103 #endif
58106 main ()
58108 return f != $ac_func;
58110 return 0;
58112 _ACEOF
58113 rm -f conftest.$ac_objext conftest$ac_exeext
58114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58115 (eval $ac_link) 2>conftest.er1
58116 ac_status=$?
58117 grep -v '^ *+' conftest.er1 >conftest.err
58118 rm -f conftest.er1
58119 cat conftest.err >&5
58120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58121 (exit $ac_status); } &&
58122 { ac_try='test -z "$ac_c_werror_flag"
58123 || test ! -s conftest.err'
58124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58125 (eval $ac_try) 2>&5
58126 ac_status=$?
58127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58128 (exit $ac_status); }; } &&
58129 { ac_try='test -s conftest$ac_exeext'
58130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58131 (eval $ac_try) 2>&5
58132 ac_status=$?
58133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58134 (exit $ac_status); }; }; then
58135 eval "$as_ac_var=yes"
58136 else
58137 echo "$as_me: failed program was:" >&5
58138 sed 's/^/| /' conftest.$ac_ext >&5
58140 eval "$as_ac_var=no"
58142 rm -f conftest.err conftest.$ac_objext \
58143 conftest$ac_exeext conftest.$ac_ext
58145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58147 if test `eval echo '${'$as_ac_var'}'` = yes; then
58148 cat >>confdefs.h <<_ACEOF
58149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58150 _ACEOF
58153 done
58163 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58164 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58165 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58166 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58167 echo $ECHO_N "(cached) $ECHO_C" >&6
58168 else
58172 ac_ext=cc
58173 ac_cpp='$CXXCPP $CPPFLAGS'
58174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58178 cat >conftest.$ac_ext <<_ACEOF
58179 /* confdefs.h. */
58180 _ACEOF
58181 cat confdefs.h >>conftest.$ac_ext
58182 cat >>conftest.$ac_ext <<_ACEOF
58183 /* end confdefs.h. */
58184 #include <math.h>
58185 #ifdef HAVE_IEEEFP_H
58186 #include <ieeefp.h>
58187 #endif
58190 main ()
58192 log10l(0);
58194 return 0;
58196 _ACEOF
58197 rm -f conftest.$ac_objext
58198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58199 (eval $ac_compile) 2>conftest.er1
58200 ac_status=$?
58201 grep -v '^ *+' conftest.er1 >conftest.err
58202 rm -f conftest.er1
58203 cat conftest.err >&5
58204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58205 (exit $ac_status); } &&
58206 { ac_try='test -z "$ac_cxx_werror_flag"
58207 || test ! -s conftest.err'
58208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58209 (eval $ac_try) 2>&5
58210 ac_status=$?
58211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58212 (exit $ac_status); }; } &&
58213 { ac_try='test -s conftest.$ac_objext'
58214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58215 (eval $ac_try) 2>&5
58216 ac_status=$?
58217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58218 (exit $ac_status); }; }; then
58219 glibcxx_cv_func_log10l_use=yes
58220 else
58221 echo "$as_me: failed program was:" >&5
58222 sed 's/^/| /' conftest.$ac_ext >&5
58224 glibcxx_cv_func_log10l_use=no
58226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58227 ac_ext=c
58228 ac_cpp='$CPP $CPPFLAGS'
58229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58238 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58240 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58242 for ac_func in log10l
58244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58245 echo "$as_me:$LINENO: checking for $ac_func" >&5
58246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58247 if eval "test \"\${$as_ac_var+set}\" = set"; then
58248 echo $ECHO_N "(cached) $ECHO_C" >&6
58249 else
58250 if test x$gcc_no_link = xyes; then
58251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58253 { (exit 1); exit 1; }; }
58255 cat >conftest.$ac_ext <<_ACEOF
58256 /* confdefs.h. */
58257 _ACEOF
58258 cat confdefs.h >>conftest.$ac_ext
58259 cat >>conftest.$ac_ext <<_ACEOF
58260 /* end confdefs.h. */
58261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58263 #define $ac_func innocuous_$ac_func
58265 /* System header to define __stub macros and hopefully few prototypes,
58266 which can conflict with char $ac_func (); below.
58267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58268 <limits.h> exists even on freestanding compilers. */
58270 #ifdef __STDC__
58271 # include <limits.h>
58272 #else
58273 # include <assert.h>
58274 #endif
58276 #undef $ac_func
58278 /* Override any gcc2 internal prototype to avoid an error. */
58279 #ifdef __cplusplus
58280 extern "C"
58282 #endif
58283 /* We use char because int might match the return type of a gcc2
58284 builtin and then its argument prototype would still apply. */
58285 char $ac_func ();
58286 /* The GNU C library defines this for functions which it implements
58287 to always fail with ENOSYS. Some functions are actually named
58288 something starting with __ and the normal name is an alias. */
58289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58290 choke me
58291 #else
58292 char (*f) () = $ac_func;
58293 #endif
58294 #ifdef __cplusplus
58296 #endif
58299 main ()
58301 return f != $ac_func;
58303 return 0;
58305 _ACEOF
58306 rm -f conftest.$ac_objext conftest$ac_exeext
58307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58308 (eval $ac_link) 2>conftest.er1
58309 ac_status=$?
58310 grep -v '^ *+' conftest.er1 >conftest.err
58311 rm -f conftest.er1
58312 cat conftest.err >&5
58313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58314 (exit $ac_status); } &&
58315 { ac_try='test -z "$ac_c_werror_flag"
58316 || test ! -s conftest.err'
58317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58318 (eval $ac_try) 2>&5
58319 ac_status=$?
58320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58321 (exit $ac_status); }; } &&
58322 { ac_try='test -s conftest$ac_exeext'
58323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58324 (eval $ac_try) 2>&5
58325 ac_status=$?
58326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58327 (exit $ac_status); }; }; then
58328 eval "$as_ac_var=yes"
58329 else
58330 echo "$as_me: failed program was:" >&5
58331 sed 's/^/| /' conftest.$ac_ext >&5
58333 eval "$as_ac_var=no"
58335 rm -f conftest.err conftest.$ac_objext \
58336 conftest$ac_exeext conftest.$ac_ext
58338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58340 if test `eval echo '${'$as_ac_var'}'` = yes; then
58341 cat >>confdefs.h <<_ACEOF
58342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58343 _ACEOF
58346 done
58348 else
58350 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58351 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58352 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58353 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58354 echo $ECHO_N "(cached) $ECHO_C" >&6
58355 else
58359 ac_ext=cc
58360 ac_cpp='$CXXCPP $CPPFLAGS'
58361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58365 cat >conftest.$ac_ext <<_ACEOF
58366 /* confdefs.h. */
58367 _ACEOF
58368 cat confdefs.h >>conftest.$ac_ext
58369 cat >>conftest.$ac_ext <<_ACEOF
58370 /* end confdefs.h. */
58371 #include <math.h>
58372 #ifdef HAVE_IEEEFP_H
58373 #include <ieeefp.h>
58374 #endif
58377 main ()
58379 _log10l(0);
58381 return 0;
58383 _ACEOF
58384 rm -f conftest.$ac_objext
58385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58386 (eval $ac_compile) 2>conftest.er1
58387 ac_status=$?
58388 grep -v '^ *+' conftest.er1 >conftest.err
58389 rm -f conftest.er1
58390 cat conftest.err >&5
58391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58392 (exit $ac_status); } &&
58393 { ac_try='test -z "$ac_cxx_werror_flag"
58394 || test ! -s conftest.err'
58395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58396 (eval $ac_try) 2>&5
58397 ac_status=$?
58398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58399 (exit $ac_status); }; } &&
58400 { ac_try='test -s conftest.$ac_objext'
58401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58402 (eval $ac_try) 2>&5
58403 ac_status=$?
58404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58405 (exit $ac_status); }; }; then
58406 glibcxx_cv_func__log10l_use=yes
58407 else
58408 echo "$as_me: failed program was:" >&5
58409 sed 's/^/| /' conftest.$ac_ext >&5
58411 glibcxx_cv_func__log10l_use=no
58413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58414 ac_ext=c
58415 ac_cpp='$CPP $CPPFLAGS'
58416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58424 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58425 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58427 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58429 for ac_func in _log10l
58431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58432 echo "$as_me:$LINENO: checking for $ac_func" >&5
58433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58434 if eval "test \"\${$as_ac_var+set}\" = set"; then
58435 echo $ECHO_N "(cached) $ECHO_C" >&6
58436 else
58437 if test x$gcc_no_link = xyes; then
58438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58440 { (exit 1); exit 1; }; }
58442 cat >conftest.$ac_ext <<_ACEOF
58443 /* confdefs.h. */
58444 _ACEOF
58445 cat confdefs.h >>conftest.$ac_ext
58446 cat >>conftest.$ac_ext <<_ACEOF
58447 /* end confdefs.h. */
58448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58450 #define $ac_func innocuous_$ac_func
58452 /* System header to define __stub macros and hopefully few prototypes,
58453 which can conflict with char $ac_func (); below.
58454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58455 <limits.h> exists even on freestanding compilers. */
58457 #ifdef __STDC__
58458 # include <limits.h>
58459 #else
58460 # include <assert.h>
58461 #endif
58463 #undef $ac_func
58465 /* Override any gcc2 internal prototype to avoid an error. */
58466 #ifdef __cplusplus
58467 extern "C"
58469 #endif
58470 /* We use char because int might match the return type of a gcc2
58471 builtin and then its argument prototype would still apply. */
58472 char $ac_func ();
58473 /* The GNU C library defines this for functions which it implements
58474 to always fail with ENOSYS. Some functions are actually named
58475 something starting with __ and the normal name is an alias. */
58476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58477 choke me
58478 #else
58479 char (*f) () = $ac_func;
58480 #endif
58481 #ifdef __cplusplus
58483 #endif
58486 main ()
58488 return f != $ac_func;
58490 return 0;
58492 _ACEOF
58493 rm -f conftest.$ac_objext conftest$ac_exeext
58494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58495 (eval $ac_link) 2>conftest.er1
58496 ac_status=$?
58497 grep -v '^ *+' conftest.er1 >conftest.err
58498 rm -f conftest.er1
58499 cat conftest.err >&5
58500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58501 (exit $ac_status); } &&
58502 { ac_try='test -z "$ac_c_werror_flag"
58503 || test ! -s conftest.err'
58504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58505 (eval $ac_try) 2>&5
58506 ac_status=$?
58507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58508 (exit $ac_status); }; } &&
58509 { ac_try='test -s conftest$ac_exeext'
58510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58511 (eval $ac_try) 2>&5
58512 ac_status=$?
58513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58514 (exit $ac_status); }; }; then
58515 eval "$as_ac_var=yes"
58516 else
58517 echo "$as_me: failed program was:" >&5
58518 sed 's/^/| /' conftest.$ac_ext >&5
58520 eval "$as_ac_var=no"
58522 rm -f conftest.err conftest.$ac_objext \
58523 conftest$ac_exeext conftest.$ac_ext
58525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58527 if test `eval echo '${'$as_ac_var'}'` = yes; then
58528 cat >>confdefs.h <<_ACEOF
58529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58530 _ACEOF
58533 done
58543 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58544 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58545 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58546 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58547 echo $ECHO_N "(cached) $ECHO_C" >&6
58548 else
58552 ac_ext=cc
58553 ac_cpp='$CXXCPP $CPPFLAGS'
58554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58558 cat >conftest.$ac_ext <<_ACEOF
58559 /* confdefs.h. */
58560 _ACEOF
58561 cat confdefs.h >>conftest.$ac_ext
58562 cat >>conftest.$ac_ext <<_ACEOF
58563 /* end confdefs.h. */
58564 #include <math.h>
58566 main ()
58568 modfl(0, 0);
58570 return 0;
58572 _ACEOF
58573 rm -f conftest.$ac_objext
58574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58575 (eval $ac_compile) 2>conftest.er1
58576 ac_status=$?
58577 grep -v '^ *+' conftest.er1 >conftest.err
58578 rm -f conftest.er1
58579 cat conftest.err >&5
58580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58581 (exit $ac_status); } &&
58582 { ac_try='test -z "$ac_cxx_werror_flag"
58583 || test ! -s conftest.err'
58584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58585 (eval $ac_try) 2>&5
58586 ac_status=$?
58587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58588 (exit $ac_status); }; } &&
58589 { ac_try='test -s conftest.$ac_objext'
58590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58591 (eval $ac_try) 2>&5
58592 ac_status=$?
58593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58594 (exit $ac_status); }; }; then
58595 glibcxx_cv_func_modfl_use=yes
58596 else
58597 echo "$as_me: failed program was:" >&5
58598 sed 's/^/| /' conftest.$ac_ext >&5
58600 glibcxx_cv_func_modfl_use=no
58602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58603 ac_ext=c
58604 ac_cpp='$CPP $CPPFLAGS'
58605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58614 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58616 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58618 for ac_func in modfl
58620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58621 echo "$as_me:$LINENO: checking for $ac_func" >&5
58622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58623 if eval "test \"\${$as_ac_var+set}\" = set"; then
58624 echo $ECHO_N "(cached) $ECHO_C" >&6
58625 else
58626 if test x$gcc_no_link = xyes; then
58627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58629 { (exit 1); exit 1; }; }
58631 cat >conftest.$ac_ext <<_ACEOF
58632 /* confdefs.h. */
58633 _ACEOF
58634 cat confdefs.h >>conftest.$ac_ext
58635 cat >>conftest.$ac_ext <<_ACEOF
58636 /* end confdefs.h. */
58637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58639 #define $ac_func innocuous_$ac_func
58641 /* System header to define __stub macros and hopefully few prototypes,
58642 which can conflict with char $ac_func (); below.
58643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58644 <limits.h> exists even on freestanding compilers. */
58646 #ifdef __STDC__
58647 # include <limits.h>
58648 #else
58649 # include <assert.h>
58650 #endif
58652 #undef $ac_func
58654 /* Override any gcc2 internal prototype to avoid an error. */
58655 #ifdef __cplusplus
58656 extern "C"
58658 #endif
58659 /* We use char because int might match the return type of a gcc2
58660 builtin and then its argument prototype would still apply. */
58661 char $ac_func ();
58662 /* The GNU C library defines this for functions which it implements
58663 to always fail with ENOSYS. Some functions are actually named
58664 something starting with __ and the normal name is an alias. */
58665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58666 choke me
58667 #else
58668 char (*f) () = $ac_func;
58669 #endif
58670 #ifdef __cplusplus
58672 #endif
58675 main ()
58677 return f != $ac_func;
58679 return 0;
58681 _ACEOF
58682 rm -f conftest.$ac_objext conftest$ac_exeext
58683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58684 (eval $ac_link) 2>conftest.er1
58685 ac_status=$?
58686 grep -v '^ *+' conftest.er1 >conftest.err
58687 rm -f conftest.er1
58688 cat conftest.err >&5
58689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58690 (exit $ac_status); } &&
58691 { ac_try='test -z "$ac_c_werror_flag"
58692 || test ! -s conftest.err'
58693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58694 (eval $ac_try) 2>&5
58695 ac_status=$?
58696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58697 (exit $ac_status); }; } &&
58698 { ac_try='test -s conftest$ac_exeext'
58699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58700 (eval $ac_try) 2>&5
58701 ac_status=$?
58702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58703 (exit $ac_status); }; }; then
58704 eval "$as_ac_var=yes"
58705 else
58706 echo "$as_me: failed program was:" >&5
58707 sed 's/^/| /' conftest.$ac_ext >&5
58709 eval "$as_ac_var=no"
58711 rm -f conftest.err conftest.$ac_objext \
58712 conftest$ac_exeext conftest.$ac_ext
58714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58716 if test `eval echo '${'$as_ac_var'}'` = yes; then
58717 cat >>confdefs.h <<_ACEOF
58718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58719 _ACEOF
58722 done
58724 else
58726 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58727 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58728 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58729 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58730 echo $ECHO_N "(cached) $ECHO_C" >&6
58731 else
58735 ac_ext=cc
58736 ac_cpp='$CXXCPP $CPPFLAGS'
58737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58741 cat >conftest.$ac_ext <<_ACEOF
58742 /* confdefs.h. */
58743 _ACEOF
58744 cat confdefs.h >>conftest.$ac_ext
58745 cat >>conftest.$ac_ext <<_ACEOF
58746 /* end confdefs.h. */
58747 #include <math.h>
58749 main ()
58751 _modfl(0, 0);
58753 return 0;
58755 _ACEOF
58756 rm -f conftest.$ac_objext
58757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58758 (eval $ac_compile) 2>conftest.er1
58759 ac_status=$?
58760 grep -v '^ *+' conftest.er1 >conftest.err
58761 rm -f conftest.er1
58762 cat conftest.err >&5
58763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58764 (exit $ac_status); } &&
58765 { ac_try='test -z "$ac_cxx_werror_flag"
58766 || test ! -s conftest.err'
58767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58768 (eval $ac_try) 2>&5
58769 ac_status=$?
58770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58771 (exit $ac_status); }; } &&
58772 { ac_try='test -s conftest.$ac_objext'
58773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58774 (eval $ac_try) 2>&5
58775 ac_status=$?
58776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58777 (exit $ac_status); }; }; then
58778 glibcxx_cv_func__modfl_use=yes
58779 else
58780 echo "$as_me: failed program was:" >&5
58781 sed 's/^/| /' conftest.$ac_ext >&5
58783 glibcxx_cv_func__modfl_use=no
58785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58786 ac_ext=c
58787 ac_cpp='$CPP $CPPFLAGS'
58788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58797 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58799 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58801 for ac_func in _modfl
58803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58804 echo "$as_me:$LINENO: checking for $ac_func" >&5
58805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58806 if eval "test \"\${$as_ac_var+set}\" = set"; then
58807 echo $ECHO_N "(cached) $ECHO_C" >&6
58808 else
58809 if test x$gcc_no_link = xyes; then
58810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58812 { (exit 1); exit 1; }; }
58814 cat >conftest.$ac_ext <<_ACEOF
58815 /* confdefs.h. */
58816 _ACEOF
58817 cat confdefs.h >>conftest.$ac_ext
58818 cat >>conftest.$ac_ext <<_ACEOF
58819 /* end confdefs.h. */
58820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58822 #define $ac_func innocuous_$ac_func
58824 /* System header to define __stub macros and hopefully few prototypes,
58825 which can conflict with char $ac_func (); below.
58826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58827 <limits.h> exists even on freestanding compilers. */
58829 #ifdef __STDC__
58830 # include <limits.h>
58831 #else
58832 # include <assert.h>
58833 #endif
58835 #undef $ac_func
58837 /* Override any gcc2 internal prototype to avoid an error. */
58838 #ifdef __cplusplus
58839 extern "C"
58841 #endif
58842 /* We use char because int might match the return type of a gcc2
58843 builtin and then its argument prototype would still apply. */
58844 char $ac_func ();
58845 /* The GNU C library defines this for functions which it implements
58846 to always fail with ENOSYS. Some functions are actually named
58847 something starting with __ and the normal name is an alias. */
58848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58849 choke me
58850 #else
58851 char (*f) () = $ac_func;
58852 #endif
58853 #ifdef __cplusplus
58855 #endif
58858 main ()
58860 return f != $ac_func;
58862 return 0;
58864 _ACEOF
58865 rm -f conftest.$ac_objext conftest$ac_exeext
58866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58867 (eval $ac_link) 2>conftest.er1
58868 ac_status=$?
58869 grep -v '^ *+' conftest.er1 >conftest.err
58870 rm -f conftest.er1
58871 cat conftest.err >&5
58872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58873 (exit $ac_status); } &&
58874 { ac_try='test -z "$ac_c_werror_flag"
58875 || test ! -s conftest.err'
58876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58877 (eval $ac_try) 2>&5
58878 ac_status=$?
58879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58880 (exit $ac_status); }; } &&
58881 { ac_try='test -s conftest$ac_exeext'
58882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58883 (eval $ac_try) 2>&5
58884 ac_status=$?
58885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58886 (exit $ac_status); }; }; then
58887 eval "$as_ac_var=yes"
58888 else
58889 echo "$as_me: failed program was:" >&5
58890 sed 's/^/| /' conftest.$ac_ext >&5
58892 eval "$as_ac_var=no"
58894 rm -f conftest.err conftest.$ac_objext \
58895 conftest$ac_exeext conftest.$ac_ext
58897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58899 if test `eval echo '${'$as_ac_var'}'` = yes; then
58900 cat >>confdefs.h <<_ACEOF
58901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58902 _ACEOF
58905 done
58915 echo "$as_me:$LINENO: checking for powl declaration" >&5
58916 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58917 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58918 if test "${glibcxx_cv_func_powl_use+set}" = set; then
58919 echo $ECHO_N "(cached) $ECHO_C" >&6
58920 else
58924 ac_ext=cc
58925 ac_cpp='$CXXCPP $CPPFLAGS'
58926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58930 cat >conftest.$ac_ext <<_ACEOF
58931 /* confdefs.h. */
58932 _ACEOF
58933 cat confdefs.h >>conftest.$ac_ext
58934 cat >>conftest.$ac_ext <<_ACEOF
58935 /* end confdefs.h. */
58936 #include <math.h>
58938 main ()
58940 powl(0, 0);
58942 return 0;
58944 _ACEOF
58945 rm -f conftest.$ac_objext
58946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58947 (eval $ac_compile) 2>conftest.er1
58948 ac_status=$?
58949 grep -v '^ *+' conftest.er1 >conftest.err
58950 rm -f conftest.er1
58951 cat conftest.err >&5
58952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58953 (exit $ac_status); } &&
58954 { ac_try='test -z "$ac_cxx_werror_flag"
58955 || test ! -s conftest.err'
58956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58957 (eval $ac_try) 2>&5
58958 ac_status=$?
58959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58960 (exit $ac_status); }; } &&
58961 { ac_try='test -s conftest.$ac_objext'
58962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58963 (eval $ac_try) 2>&5
58964 ac_status=$?
58965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58966 (exit $ac_status); }; }; then
58967 glibcxx_cv_func_powl_use=yes
58968 else
58969 echo "$as_me: failed program was:" >&5
58970 sed 's/^/| /' conftest.$ac_ext >&5
58972 glibcxx_cv_func_powl_use=no
58974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58975 ac_ext=c
58976 ac_cpp='$CPP $CPPFLAGS'
58977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
58986 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
58988 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58990 for ac_func in powl
58992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58993 echo "$as_me:$LINENO: checking for $ac_func" >&5
58994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58995 if eval "test \"\${$as_ac_var+set}\" = set"; then
58996 echo $ECHO_N "(cached) $ECHO_C" >&6
58997 else
58998 if test x$gcc_no_link = xyes; then
58999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59001 { (exit 1); exit 1; }; }
59003 cat >conftest.$ac_ext <<_ACEOF
59004 /* confdefs.h. */
59005 _ACEOF
59006 cat confdefs.h >>conftest.$ac_ext
59007 cat >>conftest.$ac_ext <<_ACEOF
59008 /* end confdefs.h. */
59009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59011 #define $ac_func innocuous_$ac_func
59013 /* System header to define __stub macros and hopefully few prototypes,
59014 which can conflict with char $ac_func (); below.
59015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59016 <limits.h> exists even on freestanding compilers. */
59018 #ifdef __STDC__
59019 # include <limits.h>
59020 #else
59021 # include <assert.h>
59022 #endif
59024 #undef $ac_func
59026 /* Override any gcc2 internal prototype to avoid an error. */
59027 #ifdef __cplusplus
59028 extern "C"
59030 #endif
59031 /* We use char because int might match the return type of a gcc2
59032 builtin and then its argument prototype would still apply. */
59033 char $ac_func ();
59034 /* The GNU C library defines this for functions which it implements
59035 to always fail with ENOSYS. Some functions are actually named
59036 something starting with __ and the normal name is an alias. */
59037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59038 choke me
59039 #else
59040 char (*f) () = $ac_func;
59041 #endif
59042 #ifdef __cplusplus
59044 #endif
59047 main ()
59049 return f != $ac_func;
59051 return 0;
59053 _ACEOF
59054 rm -f conftest.$ac_objext conftest$ac_exeext
59055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59056 (eval $ac_link) 2>conftest.er1
59057 ac_status=$?
59058 grep -v '^ *+' conftest.er1 >conftest.err
59059 rm -f conftest.er1
59060 cat conftest.err >&5
59061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59062 (exit $ac_status); } &&
59063 { ac_try='test -z "$ac_c_werror_flag"
59064 || test ! -s conftest.err'
59065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59066 (eval $ac_try) 2>&5
59067 ac_status=$?
59068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59069 (exit $ac_status); }; } &&
59070 { ac_try='test -s conftest$ac_exeext'
59071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59072 (eval $ac_try) 2>&5
59073 ac_status=$?
59074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59075 (exit $ac_status); }; }; then
59076 eval "$as_ac_var=yes"
59077 else
59078 echo "$as_me: failed program was:" >&5
59079 sed 's/^/| /' conftest.$ac_ext >&5
59081 eval "$as_ac_var=no"
59083 rm -f conftest.err conftest.$ac_objext \
59084 conftest$ac_exeext conftest.$ac_ext
59086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59088 if test `eval echo '${'$as_ac_var'}'` = yes; then
59089 cat >>confdefs.h <<_ACEOF
59090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59091 _ACEOF
59094 done
59096 else
59098 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59099 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59100 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59101 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59102 echo $ECHO_N "(cached) $ECHO_C" >&6
59103 else
59107 ac_ext=cc
59108 ac_cpp='$CXXCPP $CPPFLAGS'
59109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59113 cat >conftest.$ac_ext <<_ACEOF
59114 /* confdefs.h. */
59115 _ACEOF
59116 cat confdefs.h >>conftest.$ac_ext
59117 cat >>conftest.$ac_ext <<_ACEOF
59118 /* end confdefs.h. */
59119 #include <math.h>
59121 main ()
59123 _powl(0, 0);
59125 return 0;
59127 _ACEOF
59128 rm -f conftest.$ac_objext
59129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59130 (eval $ac_compile) 2>conftest.er1
59131 ac_status=$?
59132 grep -v '^ *+' conftest.er1 >conftest.err
59133 rm -f conftest.er1
59134 cat conftest.err >&5
59135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59136 (exit $ac_status); } &&
59137 { ac_try='test -z "$ac_cxx_werror_flag"
59138 || test ! -s conftest.err'
59139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59140 (eval $ac_try) 2>&5
59141 ac_status=$?
59142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59143 (exit $ac_status); }; } &&
59144 { ac_try='test -s conftest.$ac_objext'
59145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59146 (eval $ac_try) 2>&5
59147 ac_status=$?
59148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59149 (exit $ac_status); }; }; then
59150 glibcxx_cv_func__powl_use=yes
59151 else
59152 echo "$as_me: failed program was:" >&5
59153 sed 's/^/| /' conftest.$ac_ext >&5
59155 glibcxx_cv_func__powl_use=no
59157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59158 ac_ext=c
59159 ac_cpp='$CPP $CPPFLAGS'
59160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59169 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59171 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59173 for ac_func in _powl
59175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59176 echo "$as_me:$LINENO: checking for $ac_func" >&5
59177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59178 if eval "test \"\${$as_ac_var+set}\" = set"; then
59179 echo $ECHO_N "(cached) $ECHO_C" >&6
59180 else
59181 if test x$gcc_no_link = xyes; then
59182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59184 { (exit 1); exit 1; }; }
59186 cat >conftest.$ac_ext <<_ACEOF
59187 /* confdefs.h. */
59188 _ACEOF
59189 cat confdefs.h >>conftest.$ac_ext
59190 cat >>conftest.$ac_ext <<_ACEOF
59191 /* end confdefs.h. */
59192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59194 #define $ac_func innocuous_$ac_func
59196 /* System header to define __stub macros and hopefully few prototypes,
59197 which can conflict with char $ac_func (); below.
59198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59199 <limits.h> exists even on freestanding compilers. */
59201 #ifdef __STDC__
59202 # include <limits.h>
59203 #else
59204 # include <assert.h>
59205 #endif
59207 #undef $ac_func
59209 /* Override any gcc2 internal prototype to avoid an error. */
59210 #ifdef __cplusplus
59211 extern "C"
59213 #endif
59214 /* We use char because int might match the return type of a gcc2
59215 builtin and then its argument prototype would still apply. */
59216 char $ac_func ();
59217 /* The GNU C library defines this for functions which it implements
59218 to always fail with ENOSYS. Some functions are actually named
59219 something starting with __ and the normal name is an alias. */
59220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59221 choke me
59222 #else
59223 char (*f) () = $ac_func;
59224 #endif
59225 #ifdef __cplusplus
59227 #endif
59230 main ()
59232 return f != $ac_func;
59234 return 0;
59236 _ACEOF
59237 rm -f conftest.$ac_objext conftest$ac_exeext
59238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59239 (eval $ac_link) 2>conftest.er1
59240 ac_status=$?
59241 grep -v '^ *+' conftest.er1 >conftest.err
59242 rm -f conftest.er1
59243 cat conftest.err >&5
59244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59245 (exit $ac_status); } &&
59246 { ac_try='test -z "$ac_c_werror_flag"
59247 || test ! -s conftest.err'
59248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59249 (eval $ac_try) 2>&5
59250 ac_status=$?
59251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59252 (exit $ac_status); }; } &&
59253 { ac_try='test -s conftest$ac_exeext'
59254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59255 (eval $ac_try) 2>&5
59256 ac_status=$?
59257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59258 (exit $ac_status); }; }; then
59259 eval "$as_ac_var=yes"
59260 else
59261 echo "$as_me: failed program was:" >&5
59262 sed 's/^/| /' conftest.$ac_ext >&5
59264 eval "$as_ac_var=no"
59266 rm -f conftest.err conftest.$ac_objext \
59267 conftest$ac_exeext conftest.$ac_ext
59269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59271 if test `eval echo '${'$as_ac_var'}'` = yes; then
59272 cat >>confdefs.h <<_ACEOF
59273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59274 _ACEOF
59277 done
59287 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59288 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59289 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59290 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59291 echo $ECHO_N "(cached) $ECHO_C" >&6
59292 else
59296 ac_ext=cc
59297 ac_cpp='$CXXCPP $CPPFLAGS'
59298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59302 cat >conftest.$ac_ext <<_ACEOF
59303 /* confdefs.h. */
59304 _ACEOF
59305 cat confdefs.h >>conftest.$ac_ext
59306 cat >>conftest.$ac_ext <<_ACEOF
59307 /* end confdefs.h. */
59308 #include <math.h>
59309 #ifdef HAVE_IEEEFP_H
59310 #include <ieeefp.h>
59311 #endif
59314 main ()
59316 sqrtl(0);
59318 return 0;
59320 _ACEOF
59321 rm -f conftest.$ac_objext
59322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59323 (eval $ac_compile) 2>conftest.er1
59324 ac_status=$?
59325 grep -v '^ *+' conftest.er1 >conftest.err
59326 rm -f conftest.er1
59327 cat conftest.err >&5
59328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59329 (exit $ac_status); } &&
59330 { ac_try='test -z "$ac_cxx_werror_flag"
59331 || test ! -s conftest.err'
59332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59333 (eval $ac_try) 2>&5
59334 ac_status=$?
59335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59336 (exit $ac_status); }; } &&
59337 { ac_try='test -s conftest.$ac_objext'
59338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59339 (eval $ac_try) 2>&5
59340 ac_status=$?
59341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59342 (exit $ac_status); }; }; then
59343 glibcxx_cv_func_sqrtl_use=yes
59344 else
59345 echo "$as_me: failed program was:" >&5
59346 sed 's/^/| /' conftest.$ac_ext >&5
59348 glibcxx_cv_func_sqrtl_use=no
59350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59351 ac_ext=c
59352 ac_cpp='$CPP $CPPFLAGS'
59353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59362 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59364 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59366 for ac_func in sqrtl
59368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59369 echo "$as_me:$LINENO: checking for $ac_func" >&5
59370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59371 if eval "test \"\${$as_ac_var+set}\" = set"; then
59372 echo $ECHO_N "(cached) $ECHO_C" >&6
59373 else
59374 if test x$gcc_no_link = xyes; then
59375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59377 { (exit 1); exit 1; }; }
59379 cat >conftest.$ac_ext <<_ACEOF
59380 /* confdefs.h. */
59381 _ACEOF
59382 cat confdefs.h >>conftest.$ac_ext
59383 cat >>conftest.$ac_ext <<_ACEOF
59384 /* end confdefs.h. */
59385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59387 #define $ac_func innocuous_$ac_func
59389 /* System header to define __stub macros and hopefully few prototypes,
59390 which can conflict with char $ac_func (); below.
59391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59392 <limits.h> exists even on freestanding compilers. */
59394 #ifdef __STDC__
59395 # include <limits.h>
59396 #else
59397 # include <assert.h>
59398 #endif
59400 #undef $ac_func
59402 /* Override any gcc2 internal prototype to avoid an error. */
59403 #ifdef __cplusplus
59404 extern "C"
59406 #endif
59407 /* We use char because int might match the return type of a gcc2
59408 builtin and then its argument prototype would still apply. */
59409 char $ac_func ();
59410 /* The GNU C library defines this for functions which it implements
59411 to always fail with ENOSYS. Some functions are actually named
59412 something starting with __ and the normal name is an alias. */
59413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59414 choke me
59415 #else
59416 char (*f) () = $ac_func;
59417 #endif
59418 #ifdef __cplusplus
59420 #endif
59423 main ()
59425 return f != $ac_func;
59427 return 0;
59429 _ACEOF
59430 rm -f conftest.$ac_objext conftest$ac_exeext
59431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59432 (eval $ac_link) 2>conftest.er1
59433 ac_status=$?
59434 grep -v '^ *+' conftest.er1 >conftest.err
59435 rm -f conftest.er1
59436 cat conftest.err >&5
59437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59438 (exit $ac_status); } &&
59439 { ac_try='test -z "$ac_c_werror_flag"
59440 || test ! -s conftest.err'
59441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59442 (eval $ac_try) 2>&5
59443 ac_status=$?
59444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59445 (exit $ac_status); }; } &&
59446 { ac_try='test -s conftest$ac_exeext'
59447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59448 (eval $ac_try) 2>&5
59449 ac_status=$?
59450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59451 (exit $ac_status); }; }; then
59452 eval "$as_ac_var=yes"
59453 else
59454 echo "$as_me: failed program was:" >&5
59455 sed 's/^/| /' conftest.$ac_ext >&5
59457 eval "$as_ac_var=no"
59459 rm -f conftest.err conftest.$ac_objext \
59460 conftest$ac_exeext conftest.$ac_ext
59462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59464 if test `eval echo '${'$as_ac_var'}'` = yes; then
59465 cat >>confdefs.h <<_ACEOF
59466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59467 _ACEOF
59470 done
59472 else
59474 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59475 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59476 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59477 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59478 echo $ECHO_N "(cached) $ECHO_C" >&6
59479 else
59483 ac_ext=cc
59484 ac_cpp='$CXXCPP $CPPFLAGS'
59485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59489 cat >conftest.$ac_ext <<_ACEOF
59490 /* confdefs.h. */
59491 _ACEOF
59492 cat confdefs.h >>conftest.$ac_ext
59493 cat >>conftest.$ac_ext <<_ACEOF
59494 /* end confdefs.h. */
59495 #include <math.h>
59496 #ifdef HAVE_IEEEFP_H
59497 #include <ieeefp.h>
59498 #endif
59501 main ()
59503 _sqrtl(0);
59505 return 0;
59507 _ACEOF
59508 rm -f conftest.$ac_objext
59509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59510 (eval $ac_compile) 2>conftest.er1
59511 ac_status=$?
59512 grep -v '^ *+' conftest.er1 >conftest.err
59513 rm -f conftest.er1
59514 cat conftest.err >&5
59515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59516 (exit $ac_status); } &&
59517 { ac_try='test -z "$ac_cxx_werror_flag"
59518 || test ! -s conftest.err'
59519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59520 (eval $ac_try) 2>&5
59521 ac_status=$?
59522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59523 (exit $ac_status); }; } &&
59524 { ac_try='test -s conftest.$ac_objext'
59525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59526 (eval $ac_try) 2>&5
59527 ac_status=$?
59528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59529 (exit $ac_status); }; }; then
59530 glibcxx_cv_func__sqrtl_use=yes
59531 else
59532 echo "$as_me: failed program was:" >&5
59533 sed 's/^/| /' conftest.$ac_ext >&5
59535 glibcxx_cv_func__sqrtl_use=no
59537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59538 ac_ext=c
59539 ac_cpp='$CPP $CPPFLAGS'
59540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59549 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59551 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59553 for ac_func in _sqrtl
59555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59556 echo "$as_me:$LINENO: checking for $ac_func" >&5
59557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59558 if eval "test \"\${$as_ac_var+set}\" = set"; then
59559 echo $ECHO_N "(cached) $ECHO_C" >&6
59560 else
59561 if test x$gcc_no_link = xyes; then
59562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59564 { (exit 1); exit 1; }; }
59566 cat >conftest.$ac_ext <<_ACEOF
59567 /* confdefs.h. */
59568 _ACEOF
59569 cat confdefs.h >>conftest.$ac_ext
59570 cat >>conftest.$ac_ext <<_ACEOF
59571 /* end confdefs.h. */
59572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59574 #define $ac_func innocuous_$ac_func
59576 /* System header to define __stub macros and hopefully few prototypes,
59577 which can conflict with char $ac_func (); below.
59578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59579 <limits.h> exists even on freestanding compilers. */
59581 #ifdef __STDC__
59582 # include <limits.h>
59583 #else
59584 # include <assert.h>
59585 #endif
59587 #undef $ac_func
59589 /* Override any gcc2 internal prototype to avoid an error. */
59590 #ifdef __cplusplus
59591 extern "C"
59593 #endif
59594 /* We use char because int might match the return type of a gcc2
59595 builtin and then its argument prototype would still apply. */
59596 char $ac_func ();
59597 /* The GNU C library defines this for functions which it implements
59598 to always fail with ENOSYS. Some functions are actually named
59599 something starting with __ and the normal name is an alias. */
59600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59601 choke me
59602 #else
59603 char (*f) () = $ac_func;
59604 #endif
59605 #ifdef __cplusplus
59607 #endif
59610 main ()
59612 return f != $ac_func;
59614 return 0;
59616 _ACEOF
59617 rm -f conftest.$ac_objext conftest$ac_exeext
59618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59619 (eval $ac_link) 2>conftest.er1
59620 ac_status=$?
59621 grep -v '^ *+' conftest.er1 >conftest.err
59622 rm -f conftest.er1
59623 cat conftest.err >&5
59624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59625 (exit $ac_status); } &&
59626 { ac_try='test -z "$ac_c_werror_flag"
59627 || test ! -s conftest.err'
59628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59629 (eval $ac_try) 2>&5
59630 ac_status=$?
59631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59632 (exit $ac_status); }; } &&
59633 { ac_try='test -s conftest$ac_exeext'
59634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59635 (eval $ac_try) 2>&5
59636 ac_status=$?
59637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59638 (exit $ac_status); }; }; then
59639 eval "$as_ac_var=yes"
59640 else
59641 echo "$as_me: failed program was:" >&5
59642 sed 's/^/| /' conftest.$ac_ext >&5
59644 eval "$as_ac_var=no"
59646 rm -f conftest.err conftest.$ac_objext \
59647 conftest$ac_exeext conftest.$ac_ext
59649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59651 if test `eval echo '${'$as_ac_var'}'` = yes; then
59652 cat >>confdefs.h <<_ACEOF
59653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59654 _ACEOF
59657 done
59667 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59668 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59669 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59670 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59671 echo $ECHO_N "(cached) $ECHO_C" >&6
59672 else
59676 ac_ext=cc
59677 ac_cpp='$CXXCPP $CPPFLAGS'
59678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59682 cat >conftest.$ac_ext <<_ACEOF
59683 /* confdefs.h. */
59684 _ACEOF
59685 cat confdefs.h >>conftest.$ac_ext
59686 cat >>conftest.$ac_ext <<_ACEOF
59687 /* end confdefs.h. */
59688 #include <math.h>
59690 main ()
59692 sincosl(0, 0, 0);
59694 return 0;
59696 _ACEOF
59697 rm -f conftest.$ac_objext
59698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59699 (eval $ac_compile) 2>conftest.er1
59700 ac_status=$?
59701 grep -v '^ *+' conftest.er1 >conftest.err
59702 rm -f conftest.er1
59703 cat conftest.err >&5
59704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59705 (exit $ac_status); } &&
59706 { ac_try='test -z "$ac_cxx_werror_flag"
59707 || test ! -s conftest.err'
59708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59709 (eval $ac_try) 2>&5
59710 ac_status=$?
59711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59712 (exit $ac_status); }; } &&
59713 { ac_try='test -s conftest.$ac_objext'
59714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59715 (eval $ac_try) 2>&5
59716 ac_status=$?
59717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59718 (exit $ac_status); }; }; then
59719 glibcxx_cv_func_sincosl_use=yes
59720 else
59721 echo "$as_me: failed program was:" >&5
59722 sed 's/^/| /' conftest.$ac_ext >&5
59724 glibcxx_cv_func_sincosl_use=no
59726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59727 ac_ext=c
59728 ac_cpp='$CPP $CPPFLAGS'
59729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59738 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59740 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59742 for ac_func in sincosl
59744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59745 echo "$as_me:$LINENO: checking for $ac_func" >&5
59746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59747 if eval "test \"\${$as_ac_var+set}\" = set"; then
59748 echo $ECHO_N "(cached) $ECHO_C" >&6
59749 else
59750 if test x$gcc_no_link = xyes; then
59751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59753 { (exit 1); exit 1; }; }
59755 cat >conftest.$ac_ext <<_ACEOF
59756 /* confdefs.h. */
59757 _ACEOF
59758 cat confdefs.h >>conftest.$ac_ext
59759 cat >>conftest.$ac_ext <<_ACEOF
59760 /* end confdefs.h. */
59761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59763 #define $ac_func innocuous_$ac_func
59765 /* System header to define __stub macros and hopefully few prototypes,
59766 which can conflict with char $ac_func (); below.
59767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59768 <limits.h> exists even on freestanding compilers. */
59770 #ifdef __STDC__
59771 # include <limits.h>
59772 #else
59773 # include <assert.h>
59774 #endif
59776 #undef $ac_func
59778 /* Override any gcc2 internal prototype to avoid an error. */
59779 #ifdef __cplusplus
59780 extern "C"
59782 #endif
59783 /* We use char because int might match the return type of a gcc2
59784 builtin and then its argument prototype would still apply. */
59785 char $ac_func ();
59786 /* The GNU C library defines this for functions which it implements
59787 to always fail with ENOSYS. Some functions are actually named
59788 something starting with __ and the normal name is an alias. */
59789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59790 choke me
59791 #else
59792 char (*f) () = $ac_func;
59793 #endif
59794 #ifdef __cplusplus
59796 #endif
59799 main ()
59801 return f != $ac_func;
59803 return 0;
59805 _ACEOF
59806 rm -f conftest.$ac_objext conftest$ac_exeext
59807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59808 (eval $ac_link) 2>conftest.er1
59809 ac_status=$?
59810 grep -v '^ *+' conftest.er1 >conftest.err
59811 rm -f conftest.er1
59812 cat conftest.err >&5
59813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59814 (exit $ac_status); } &&
59815 { ac_try='test -z "$ac_c_werror_flag"
59816 || test ! -s conftest.err'
59817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59818 (eval $ac_try) 2>&5
59819 ac_status=$?
59820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59821 (exit $ac_status); }; } &&
59822 { ac_try='test -s conftest$ac_exeext'
59823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59824 (eval $ac_try) 2>&5
59825 ac_status=$?
59826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59827 (exit $ac_status); }; }; then
59828 eval "$as_ac_var=yes"
59829 else
59830 echo "$as_me: failed program was:" >&5
59831 sed 's/^/| /' conftest.$ac_ext >&5
59833 eval "$as_ac_var=no"
59835 rm -f conftest.err conftest.$ac_objext \
59836 conftest$ac_exeext conftest.$ac_ext
59838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59840 if test `eval echo '${'$as_ac_var'}'` = yes; then
59841 cat >>confdefs.h <<_ACEOF
59842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59843 _ACEOF
59846 done
59848 else
59850 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59851 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59852 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59853 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59854 echo $ECHO_N "(cached) $ECHO_C" >&6
59855 else
59859 ac_ext=cc
59860 ac_cpp='$CXXCPP $CPPFLAGS'
59861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59865 cat >conftest.$ac_ext <<_ACEOF
59866 /* confdefs.h. */
59867 _ACEOF
59868 cat confdefs.h >>conftest.$ac_ext
59869 cat >>conftest.$ac_ext <<_ACEOF
59870 /* end confdefs.h. */
59871 #include <math.h>
59873 main ()
59875 _sincosl(0, 0, 0);
59877 return 0;
59879 _ACEOF
59880 rm -f conftest.$ac_objext
59881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59882 (eval $ac_compile) 2>conftest.er1
59883 ac_status=$?
59884 grep -v '^ *+' conftest.er1 >conftest.err
59885 rm -f conftest.er1
59886 cat conftest.err >&5
59887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59888 (exit $ac_status); } &&
59889 { ac_try='test -z "$ac_cxx_werror_flag"
59890 || test ! -s conftest.err'
59891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59892 (eval $ac_try) 2>&5
59893 ac_status=$?
59894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59895 (exit $ac_status); }; } &&
59896 { ac_try='test -s conftest.$ac_objext'
59897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59898 (eval $ac_try) 2>&5
59899 ac_status=$?
59900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59901 (exit $ac_status); }; }; then
59902 glibcxx_cv_func__sincosl_use=yes
59903 else
59904 echo "$as_me: failed program was:" >&5
59905 sed 's/^/| /' conftest.$ac_ext >&5
59907 glibcxx_cv_func__sincosl_use=no
59909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59910 ac_ext=c
59911 ac_cpp='$CPP $CPPFLAGS'
59912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59921 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59923 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59925 for ac_func in _sincosl
59927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59928 echo "$as_me:$LINENO: checking for $ac_func" >&5
59929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59930 if eval "test \"\${$as_ac_var+set}\" = set"; then
59931 echo $ECHO_N "(cached) $ECHO_C" >&6
59932 else
59933 if test x$gcc_no_link = xyes; then
59934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59936 { (exit 1); exit 1; }; }
59938 cat >conftest.$ac_ext <<_ACEOF
59939 /* confdefs.h. */
59940 _ACEOF
59941 cat confdefs.h >>conftest.$ac_ext
59942 cat >>conftest.$ac_ext <<_ACEOF
59943 /* end confdefs.h. */
59944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59946 #define $ac_func innocuous_$ac_func
59948 /* System header to define __stub macros and hopefully few prototypes,
59949 which can conflict with char $ac_func (); below.
59950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59951 <limits.h> exists even on freestanding compilers. */
59953 #ifdef __STDC__
59954 # include <limits.h>
59955 #else
59956 # include <assert.h>
59957 #endif
59959 #undef $ac_func
59961 /* Override any gcc2 internal prototype to avoid an error. */
59962 #ifdef __cplusplus
59963 extern "C"
59965 #endif
59966 /* We use char because int might match the return type of a gcc2
59967 builtin and then its argument prototype would still apply. */
59968 char $ac_func ();
59969 /* The GNU C library defines this for functions which it implements
59970 to always fail with ENOSYS. Some functions are actually named
59971 something starting with __ and the normal name is an alias. */
59972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59973 choke me
59974 #else
59975 char (*f) () = $ac_func;
59976 #endif
59977 #ifdef __cplusplus
59979 #endif
59982 main ()
59984 return f != $ac_func;
59986 return 0;
59988 _ACEOF
59989 rm -f conftest.$ac_objext conftest$ac_exeext
59990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59991 (eval $ac_link) 2>conftest.er1
59992 ac_status=$?
59993 grep -v '^ *+' conftest.er1 >conftest.err
59994 rm -f conftest.er1
59995 cat conftest.err >&5
59996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59997 (exit $ac_status); } &&
59998 { ac_try='test -z "$ac_c_werror_flag"
59999 || test ! -s conftest.err'
60000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60001 (eval $ac_try) 2>&5
60002 ac_status=$?
60003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60004 (exit $ac_status); }; } &&
60005 { ac_try='test -s conftest$ac_exeext'
60006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60007 (eval $ac_try) 2>&5
60008 ac_status=$?
60009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60010 (exit $ac_status); }; }; then
60011 eval "$as_ac_var=yes"
60012 else
60013 echo "$as_me: failed program was:" >&5
60014 sed 's/^/| /' conftest.$ac_ext >&5
60016 eval "$as_ac_var=no"
60018 rm -f conftest.err conftest.$ac_objext \
60019 conftest$ac_exeext conftest.$ac_ext
60021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60023 if test `eval echo '${'$as_ac_var'}'` = yes; then
60024 cat >>confdefs.h <<_ACEOF
60025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60026 _ACEOF
60029 done
60039 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60040 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60041 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60042 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60043 echo $ECHO_N "(cached) $ECHO_C" >&6
60044 else
60048 ac_ext=cc
60049 ac_cpp='$CXXCPP $CPPFLAGS'
60050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60054 cat >conftest.$ac_ext <<_ACEOF
60055 /* confdefs.h. */
60056 _ACEOF
60057 cat confdefs.h >>conftest.$ac_ext
60058 cat >>conftest.$ac_ext <<_ACEOF
60059 /* end confdefs.h. */
60060 #include <math.h>
60061 #ifdef HAVE_IEEEFP_H
60062 #include <ieeefp.h>
60063 #endif
60066 main ()
60068 finitel(0);
60070 return 0;
60072 _ACEOF
60073 rm -f conftest.$ac_objext
60074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60075 (eval $ac_compile) 2>conftest.er1
60076 ac_status=$?
60077 grep -v '^ *+' conftest.er1 >conftest.err
60078 rm -f conftest.er1
60079 cat conftest.err >&5
60080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60081 (exit $ac_status); } &&
60082 { ac_try='test -z "$ac_cxx_werror_flag"
60083 || test ! -s conftest.err'
60084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60085 (eval $ac_try) 2>&5
60086 ac_status=$?
60087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60088 (exit $ac_status); }; } &&
60089 { ac_try='test -s conftest.$ac_objext'
60090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60091 (eval $ac_try) 2>&5
60092 ac_status=$?
60093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60094 (exit $ac_status); }; }; then
60095 glibcxx_cv_func_finitel_use=yes
60096 else
60097 echo "$as_me: failed program was:" >&5
60098 sed 's/^/| /' conftest.$ac_ext >&5
60100 glibcxx_cv_func_finitel_use=no
60102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60103 ac_ext=c
60104 ac_cpp='$CPP $CPPFLAGS'
60105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60114 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60116 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60118 for ac_func in finitel
60120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60121 echo "$as_me:$LINENO: checking for $ac_func" >&5
60122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60123 if eval "test \"\${$as_ac_var+set}\" = set"; then
60124 echo $ECHO_N "(cached) $ECHO_C" >&6
60125 else
60126 if test x$gcc_no_link = xyes; then
60127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60129 { (exit 1); exit 1; }; }
60131 cat >conftest.$ac_ext <<_ACEOF
60132 /* confdefs.h. */
60133 _ACEOF
60134 cat confdefs.h >>conftest.$ac_ext
60135 cat >>conftest.$ac_ext <<_ACEOF
60136 /* end confdefs.h. */
60137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60139 #define $ac_func innocuous_$ac_func
60141 /* System header to define __stub macros and hopefully few prototypes,
60142 which can conflict with char $ac_func (); below.
60143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60144 <limits.h> exists even on freestanding compilers. */
60146 #ifdef __STDC__
60147 # include <limits.h>
60148 #else
60149 # include <assert.h>
60150 #endif
60152 #undef $ac_func
60154 /* Override any gcc2 internal prototype to avoid an error. */
60155 #ifdef __cplusplus
60156 extern "C"
60158 #endif
60159 /* We use char because int might match the return type of a gcc2
60160 builtin and then its argument prototype would still apply. */
60161 char $ac_func ();
60162 /* The GNU C library defines this for functions which it implements
60163 to always fail with ENOSYS. Some functions are actually named
60164 something starting with __ and the normal name is an alias. */
60165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60166 choke me
60167 #else
60168 char (*f) () = $ac_func;
60169 #endif
60170 #ifdef __cplusplus
60172 #endif
60175 main ()
60177 return f != $ac_func;
60179 return 0;
60181 _ACEOF
60182 rm -f conftest.$ac_objext conftest$ac_exeext
60183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60184 (eval $ac_link) 2>conftest.er1
60185 ac_status=$?
60186 grep -v '^ *+' conftest.er1 >conftest.err
60187 rm -f conftest.er1
60188 cat conftest.err >&5
60189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60190 (exit $ac_status); } &&
60191 { ac_try='test -z "$ac_c_werror_flag"
60192 || test ! -s conftest.err'
60193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60194 (eval $ac_try) 2>&5
60195 ac_status=$?
60196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60197 (exit $ac_status); }; } &&
60198 { ac_try='test -s conftest$ac_exeext'
60199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60200 (eval $ac_try) 2>&5
60201 ac_status=$?
60202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60203 (exit $ac_status); }; }; then
60204 eval "$as_ac_var=yes"
60205 else
60206 echo "$as_me: failed program was:" >&5
60207 sed 's/^/| /' conftest.$ac_ext >&5
60209 eval "$as_ac_var=no"
60211 rm -f conftest.err conftest.$ac_objext \
60212 conftest$ac_exeext conftest.$ac_ext
60214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60216 if test `eval echo '${'$as_ac_var'}'` = yes; then
60217 cat >>confdefs.h <<_ACEOF
60218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60219 _ACEOF
60222 done
60224 else
60226 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60227 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60228 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60229 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60230 echo $ECHO_N "(cached) $ECHO_C" >&6
60231 else
60235 ac_ext=cc
60236 ac_cpp='$CXXCPP $CPPFLAGS'
60237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60241 cat >conftest.$ac_ext <<_ACEOF
60242 /* confdefs.h. */
60243 _ACEOF
60244 cat confdefs.h >>conftest.$ac_ext
60245 cat >>conftest.$ac_ext <<_ACEOF
60246 /* end confdefs.h. */
60247 #include <math.h>
60248 #ifdef HAVE_IEEEFP_H
60249 #include <ieeefp.h>
60250 #endif
60253 main ()
60255 _finitel(0);
60257 return 0;
60259 _ACEOF
60260 rm -f conftest.$ac_objext
60261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60262 (eval $ac_compile) 2>conftest.er1
60263 ac_status=$?
60264 grep -v '^ *+' conftest.er1 >conftest.err
60265 rm -f conftest.er1
60266 cat conftest.err >&5
60267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60268 (exit $ac_status); } &&
60269 { ac_try='test -z "$ac_cxx_werror_flag"
60270 || test ! -s conftest.err'
60271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60272 (eval $ac_try) 2>&5
60273 ac_status=$?
60274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60275 (exit $ac_status); }; } &&
60276 { ac_try='test -s conftest.$ac_objext'
60277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60278 (eval $ac_try) 2>&5
60279 ac_status=$?
60280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60281 (exit $ac_status); }; }; then
60282 glibcxx_cv_func__finitel_use=yes
60283 else
60284 echo "$as_me: failed program was:" >&5
60285 sed 's/^/| /' conftest.$ac_ext >&5
60287 glibcxx_cv_func__finitel_use=no
60289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60290 ac_ext=c
60291 ac_cpp='$CPP $CPPFLAGS'
60292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60301 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60303 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60305 for ac_func in _finitel
60307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60308 echo "$as_me:$LINENO: checking for $ac_func" >&5
60309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60310 if eval "test \"\${$as_ac_var+set}\" = set"; then
60311 echo $ECHO_N "(cached) $ECHO_C" >&6
60312 else
60313 if test x$gcc_no_link = xyes; then
60314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60316 { (exit 1); exit 1; }; }
60318 cat >conftest.$ac_ext <<_ACEOF
60319 /* confdefs.h. */
60320 _ACEOF
60321 cat confdefs.h >>conftest.$ac_ext
60322 cat >>conftest.$ac_ext <<_ACEOF
60323 /* end confdefs.h. */
60324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60326 #define $ac_func innocuous_$ac_func
60328 /* System header to define __stub macros and hopefully few prototypes,
60329 which can conflict with char $ac_func (); below.
60330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60331 <limits.h> exists even on freestanding compilers. */
60333 #ifdef __STDC__
60334 # include <limits.h>
60335 #else
60336 # include <assert.h>
60337 #endif
60339 #undef $ac_func
60341 /* Override any gcc2 internal prototype to avoid an error. */
60342 #ifdef __cplusplus
60343 extern "C"
60345 #endif
60346 /* We use char because int might match the return type of a gcc2
60347 builtin and then its argument prototype would still apply. */
60348 char $ac_func ();
60349 /* The GNU C library defines this for functions which it implements
60350 to always fail with ENOSYS. Some functions are actually named
60351 something starting with __ and the normal name is an alias. */
60352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60353 choke me
60354 #else
60355 char (*f) () = $ac_func;
60356 #endif
60357 #ifdef __cplusplus
60359 #endif
60362 main ()
60364 return f != $ac_func;
60366 return 0;
60368 _ACEOF
60369 rm -f conftest.$ac_objext conftest$ac_exeext
60370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60371 (eval $ac_link) 2>conftest.er1
60372 ac_status=$?
60373 grep -v '^ *+' conftest.er1 >conftest.err
60374 rm -f conftest.er1
60375 cat conftest.err >&5
60376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60377 (exit $ac_status); } &&
60378 { ac_try='test -z "$ac_c_werror_flag"
60379 || test ! -s conftest.err'
60380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60381 (eval $ac_try) 2>&5
60382 ac_status=$?
60383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60384 (exit $ac_status); }; } &&
60385 { ac_try='test -s conftest$ac_exeext'
60386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60387 (eval $ac_try) 2>&5
60388 ac_status=$?
60389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60390 (exit $ac_status); }; }; then
60391 eval "$as_ac_var=yes"
60392 else
60393 echo "$as_me: failed program was:" >&5
60394 sed 's/^/| /' conftest.$ac_ext >&5
60396 eval "$as_ac_var=no"
60398 rm -f conftest.err conftest.$ac_objext \
60399 conftest$ac_exeext conftest.$ac_ext
60401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60403 if test `eval echo '${'$as_ac_var'}'` = yes; then
60404 cat >>confdefs.h <<_ACEOF
60405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60406 _ACEOF
60409 done
60418 LIBS="$ac_save_LIBS"
60419 CXXFLAGS="$ac_save_CXXFLAGS"
60423 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60424 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60425 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60426 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60427 echo $ECHO_N "(cached) $ECHO_C" >&6
60428 else
60432 ac_ext=cc
60433 ac_cpp='$CXXCPP $CPPFLAGS'
60434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60438 cat >conftest.$ac_ext <<_ACEOF
60439 /* confdefs.h. */
60440 _ACEOF
60441 cat confdefs.h >>conftest.$ac_ext
60442 cat >>conftest.$ac_ext <<_ACEOF
60443 /* end confdefs.h. */
60444 #include <math.h>
60446 main ()
60448 __builtin_abs(0);
60450 return 0;
60452 _ACEOF
60453 rm -f conftest.$ac_objext
60454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60455 (eval $ac_compile) 2>conftest.er1
60456 ac_status=$?
60457 grep -v '^ *+' conftest.er1 >conftest.err
60458 rm -f conftest.er1
60459 cat conftest.err >&5
60460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60461 (exit $ac_status); } &&
60462 { ac_try='test -z "$ac_cxx_werror_flag"
60463 || test ! -s conftest.err'
60464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60465 (eval $ac_try) 2>&5
60466 ac_status=$?
60467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60468 (exit $ac_status); }; } &&
60469 { ac_try='test -s conftest.$ac_objext'
60470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60471 (eval $ac_try) 2>&5
60472 ac_status=$?
60473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60474 (exit $ac_status); }; }; then
60475 glibcxx_cv_func___builtin_abs_use=yes
60476 else
60477 echo "$as_me: failed program was:" >&5
60478 sed 's/^/| /' conftest.$ac_ext >&5
60480 glibcxx_cv_func___builtin_abs_use=no
60482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60483 ac_ext=c
60484 ac_cpp='$CPP $CPPFLAGS'
60485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60493 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60494 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60495 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60496 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60497 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60498 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60499 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60500 echo $ECHO_N "(cached) $ECHO_C" >&6
60501 else
60503 if test x$gcc_no_link = xyes; then
60504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60506 { (exit 1); exit 1; }; }
60508 cat >conftest.$ac_ext <<_ACEOF
60509 /* confdefs.h. */
60510 _ACEOF
60511 cat confdefs.h >>conftest.$ac_ext
60512 cat >>conftest.$ac_ext <<_ACEOF
60513 /* end confdefs.h. */
60514 #include <math.h>
60516 main ()
60518 __builtin_abs(0);
60520 return 0;
60522 _ACEOF
60523 rm -f conftest.$ac_objext conftest$ac_exeext
60524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60525 (eval $ac_link) 2>conftest.er1
60526 ac_status=$?
60527 grep -v '^ *+' conftest.er1 >conftest.err
60528 rm -f conftest.er1
60529 cat conftest.err >&5
60530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60531 (exit $ac_status); } &&
60532 { ac_try='test -z "$ac_c_werror_flag"
60533 || test ! -s conftest.err'
60534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60535 (eval $ac_try) 2>&5
60536 ac_status=$?
60537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60538 (exit $ac_status); }; } &&
60539 { ac_try='test -s conftest$ac_exeext'
60540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60541 (eval $ac_try) 2>&5
60542 ac_status=$?
60543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60544 (exit $ac_status); }; }; then
60545 glibcxx_cv_func___builtin_abs_link=yes
60546 else
60547 echo "$as_me: failed program was:" >&5
60548 sed 's/^/| /' conftest.$ac_ext >&5
60550 glibcxx_cv_func___builtin_abs_link=no
60552 rm -f conftest.err conftest.$ac_objext \
60553 conftest$ac_exeext conftest.$ac_ext
60558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60559 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60561 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60563 cat >>confdefs.h <<\_ACEOF
60564 #define HAVE___BUILTIN_ABS 1
60565 _ACEOF
60572 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60573 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60574 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60575 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60576 echo $ECHO_N "(cached) $ECHO_C" >&6
60577 else
60581 ac_ext=cc
60582 ac_cpp='$CXXCPP $CPPFLAGS'
60583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60587 cat >conftest.$ac_ext <<_ACEOF
60588 /* confdefs.h. */
60589 _ACEOF
60590 cat confdefs.h >>conftest.$ac_ext
60591 cat >>conftest.$ac_ext <<_ACEOF
60592 /* end confdefs.h. */
60593 #include <math.h>
60595 main ()
60597 __builtin_fabsf(0);
60599 return 0;
60601 _ACEOF
60602 rm -f conftest.$ac_objext
60603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60604 (eval $ac_compile) 2>conftest.er1
60605 ac_status=$?
60606 grep -v '^ *+' conftest.er1 >conftest.err
60607 rm -f conftest.er1
60608 cat conftest.err >&5
60609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610 (exit $ac_status); } &&
60611 { ac_try='test -z "$ac_cxx_werror_flag"
60612 || test ! -s conftest.err'
60613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60614 (eval $ac_try) 2>&5
60615 ac_status=$?
60616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60617 (exit $ac_status); }; } &&
60618 { ac_try='test -s conftest.$ac_objext'
60619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60620 (eval $ac_try) 2>&5
60621 ac_status=$?
60622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60623 (exit $ac_status); }; }; then
60624 glibcxx_cv_func___builtin_fabsf_use=yes
60625 else
60626 echo "$as_me: failed program was:" >&5
60627 sed 's/^/| /' conftest.$ac_ext >&5
60629 glibcxx_cv_func___builtin_fabsf_use=no
60631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60632 ac_ext=c
60633 ac_cpp='$CPP $CPPFLAGS'
60634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60642 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60643 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60644 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60645 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60646 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60647 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60648 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60649 echo $ECHO_N "(cached) $ECHO_C" >&6
60650 else
60652 if test x$gcc_no_link = xyes; then
60653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60655 { (exit 1); exit 1; }; }
60657 cat >conftest.$ac_ext <<_ACEOF
60658 /* confdefs.h. */
60659 _ACEOF
60660 cat confdefs.h >>conftest.$ac_ext
60661 cat >>conftest.$ac_ext <<_ACEOF
60662 /* end confdefs.h. */
60663 #include <math.h>
60665 main ()
60667 __builtin_fabsf(0);
60669 return 0;
60671 _ACEOF
60672 rm -f conftest.$ac_objext conftest$ac_exeext
60673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60674 (eval $ac_link) 2>conftest.er1
60675 ac_status=$?
60676 grep -v '^ *+' conftest.er1 >conftest.err
60677 rm -f conftest.er1
60678 cat conftest.err >&5
60679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60680 (exit $ac_status); } &&
60681 { ac_try='test -z "$ac_c_werror_flag"
60682 || test ! -s conftest.err'
60683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60684 (eval $ac_try) 2>&5
60685 ac_status=$?
60686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60687 (exit $ac_status); }; } &&
60688 { ac_try='test -s conftest$ac_exeext'
60689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60690 (eval $ac_try) 2>&5
60691 ac_status=$?
60692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60693 (exit $ac_status); }; }; then
60694 glibcxx_cv_func___builtin_fabsf_link=yes
60695 else
60696 echo "$as_me: failed program was:" >&5
60697 sed 's/^/| /' conftest.$ac_ext >&5
60699 glibcxx_cv_func___builtin_fabsf_link=no
60701 rm -f conftest.err conftest.$ac_objext \
60702 conftest$ac_exeext conftest.$ac_ext
60707 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60708 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60710 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60712 cat >>confdefs.h <<\_ACEOF
60713 #define HAVE___BUILTIN_FABSF 1
60714 _ACEOF
60721 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60722 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60723 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60724 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60725 echo $ECHO_N "(cached) $ECHO_C" >&6
60726 else
60730 ac_ext=cc
60731 ac_cpp='$CXXCPP $CPPFLAGS'
60732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60736 cat >conftest.$ac_ext <<_ACEOF
60737 /* confdefs.h. */
60738 _ACEOF
60739 cat confdefs.h >>conftest.$ac_ext
60740 cat >>conftest.$ac_ext <<_ACEOF
60741 /* end confdefs.h. */
60742 #include <math.h>
60744 main ()
60746 __builtin_fabs(0);
60748 return 0;
60750 _ACEOF
60751 rm -f conftest.$ac_objext
60752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60753 (eval $ac_compile) 2>conftest.er1
60754 ac_status=$?
60755 grep -v '^ *+' conftest.er1 >conftest.err
60756 rm -f conftest.er1
60757 cat conftest.err >&5
60758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60759 (exit $ac_status); } &&
60760 { ac_try='test -z "$ac_cxx_werror_flag"
60761 || test ! -s conftest.err'
60762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60763 (eval $ac_try) 2>&5
60764 ac_status=$?
60765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60766 (exit $ac_status); }; } &&
60767 { ac_try='test -s conftest.$ac_objext'
60768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60769 (eval $ac_try) 2>&5
60770 ac_status=$?
60771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60772 (exit $ac_status); }; }; then
60773 glibcxx_cv_func___builtin_fabs_use=yes
60774 else
60775 echo "$as_me: failed program was:" >&5
60776 sed 's/^/| /' conftest.$ac_ext >&5
60778 glibcxx_cv_func___builtin_fabs_use=no
60780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60781 ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60792 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60793 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60794 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60795 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60796 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60797 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60798 echo $ECHO_N "(cached) $ECHO_C" >&6
60799 else
60801 if test x$gcc_no_link = xyes; then
60802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60804 { (exit 1); exit 1; }; }
60806 cat >conftest.$ac_ext <<_ACEOF
60807 /* confdefs.h. */
60808 _ACEOF
60809 cat confdefs.h >>conftest.$ac_ext
60810 cat >>conftest.$ac_ext <<_ACEOF
60811 /* end confdefs.h. */
60812 #include <math.h>
60814 main ()
60816 __builtin_fabs(0);
60818 return 0;
60820 _ACEOF
60821 rm -f conftest.$ac_objext conftest$ac_exeext
60822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60823 (eval $ac_link) 2>conftest.er1
60824 ac_status=$?
60825 grep -v '^ *+' conftest.er1 >conftest.err
60826 rm -f conftest.er1
60827 cat conftest.err >&5
60828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60829 (exit $ac_status); } &&
60830 { ac_try='test -z "$ac_c_werror_flag"
60831 || test ! -s conftest.err'
60832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60833 (eval $ac_try) 2>&5
60834 ac_status=$?
60835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60836 (exit $ac_status); }; } &&
60837 { ac_try='test -s conftest$ac_exeext'
60838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60839 (eval $ac_try) 2>&5
60840 ac_status=$?
60841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60842 (exit $ac_status); }; }; then
60843 glibcxx_cv_func___builtin_fabs_link=yes
60844 else
60845 echo "$as_me: failed program was:" >&5
60846 sed 's/^/| /' conftest.$ac_ext >&5
60848 glibcxx_cv_func___builtin_fabs_link=no
60850 rm -f conftest.err conftest.$ac_objext \
60851 conftest$ac_exeext conftest.$ac_ext
60856 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60857 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60859 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60861 cat >>confdefs.h <<\_ACEOF
60862 #define HAVE___BUILTIN_FABS 1
60863 _ACEOF
60870 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60871 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60872 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60873 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60874 echo $ECHO_N "(cached) $ECHO_C" >&6
60875 else
60879 ac_ext=cc
60880 ac_cpp='$CXXCPP $CPPFLAGS'
60881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60885 cat >conftest.$ac_ext <<_ACEOF
60886 /* confdefs.h. */
60887 _ACEOF
60888 cat confdefs.h >>conftest.$ac_ext
60889 cat >>conftest.$ac_ext <<_ACEOF
60890 /* end confdefs.h. */
60891 #include <math.h>
60893 main ()
60895 __builtin_fabsl(0);
60897 return 0;
60899 _ACEOF
60900 rm -f conftest.$ac_objext
60901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60902 (eval $ac_compile) 2>conftest.er1
60903 ac_status=$?
60904 grep -v '^ *+' conftest.er1 >conftest.err
60905 rm -f conftest.er1
60906 cat conftest.err >&5
60907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60908 (exit $ac_status); } &&
60909 { ac_try='test -z "$ac_cxx_werror_flag"
60910 || test ! -s conftest.err'
60911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60912 (eval $ac_try) 2>&5
60913 ac_status=$?
60914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60915 (exit $ac_status); }; } &&
60916 { ac_try='test -s conftest.$ac_objext'
60917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60918 (eval $ac_try) 2>&5
60919 ac_status=$?
60920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60921 (exit $ac_status); }; }; then
60922 glibcxx_cv_func___builtin_fabsl_use=yes
60923 else
60924 echo "$as_me: failed program was:" >&5
60925 sed 's/^/| /' conftest.$ac_ext >&5
60927 glibcxx_cv_func___builtin_fabsl_use=no
60929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60930 ac_ext=c
60931 ac_cpp='$CPP $CPPFLAGS'
60932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
60941 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
60942 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
60943 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
60944 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
60945 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
60946 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
60947 echo $ECHO_N "(cached) $ECHO_C" >&6
60948 else
60950 if test x$gcc_no_link = xyes; then
60951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60953 { (exit 1); exit 1; }; }
60955 cat >conftest.$ac_ext <<_ACEOF
60956 /* confdefs.h. */
60957 _ACEOF
60958 cat confdefs.h >>conftest.$ac_ext
60959 cat >>conftest.$ac_ext <<_ACEOF
60960 /* end confdefs.h. */
60961 #include <math.h>
60963 main ()
60965 __builtin_fabsl(0);
60967 return 0;
60969 _ACEOF
60970 rm -f conftest.$ac_objext conftest$ac_exeext
60971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60972 (eval $ac_link) 2>conftest.er1
60973 ac_status=$?
60974 grep -v '^ *+' conftest.er1 >conftest.err
60975 rm -f conftest.er1
60976 cat conftest.err >&5
60977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60978 (exit $ac_status); } &&
60979 { ac_try='test -z "$ac_c_werror_flag"
60980 || test ! -s conftest.err'
60981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60982 (eval $ac_try) 2>&5
60983 ac_status=$?
60984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60985 (exit $ac_status); }; } &&
60986 { ac_try='test -s conftest$ac_exeext'
60987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60988 (eval $ac_try) 2>&5
60989 ac_status=$?
60990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60991 (exit $ac_status); }; }; then
60992 glibcxx_cv_func___builtin_fabsl_link=yes
60993 else
60994 echo "$as_me: failed program was:" >&5
60995 sed 's/^/| /' conftest.$ac_ext >&5
60997 glibcxx_cv_func___builtin_fabsl_link=no
60999 rm -f conftest.err conftest.$ac_objext \
61000 conftest$ac_exeext conftest.$ac_ext
61005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61006 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61008 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61010 cat >>confdefs.h <<\_ACEOF
61011 #define HAVE___BUILTIN_FABSL 1
61012 _ACEOF
61019 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61020 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61021 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61022 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61023 echo $ECHO_N "(cached) $ECHO_C" >&6
61024 else
61028 ac_ext=cc
61029 ac_cpp='$CXXCPP $CPPFLAGS'
61030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61034 cat >conftest.$ac_ext <<_ACEOF
61035 /* confdefs.h. */
61036 _ACEOF
61037 cat confdefs.h >>conftest.$ac_ext
61038 cat >>conftest.$ac_ext <<_ACEOF
61039 /* end confdefs.h. */
61040 #include <math.h>
61042 main ()
61044 __builtin_labs(0);
61046 return 0;
61048 _ACEOF
61049 rm -f conftest.$ac_objext
61050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61051 (eval $ac_compile) 2>conftest.er1
61052 ac_status=$?
61053 grep -v '^ *+' conftest.er1 >conftest.err
61054 rm -f conftest.er1
61055 cat conftest.err >&5
61056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61057 (exit $ac_status); } &&
61058 { ac_try='test -z "$ac_cxx_werror_flag"
61059 || test ! -s conftest.err'
61060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61061 (eval $ac_try) 2>&5
61062 ac_status=$?
61063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61064 (exit $ac_status); }; } &&
61065 { ac_try='test -s conftest.$ac_objext'
61066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61067 (eval $ac_try) 2>&5
61068 ac_status=$?
61069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61070 (exit $ac_status); }; }; then
61071 glibcxx_cv_func___builtin_labs_use=yes
61072 else
61073 echo "$as_me: failed program was:" >&5
61074 sed 's/^/| /' conftest.$ac_ext >&5
61076 glibcxx_cv_func___builtin_labs_use=no
61078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61079 ac_ext=c
61080 ac_cpp='$CPP $CPPFLAGS'
61081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61090 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61091 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61092 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61093 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61094 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61095 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61096 echo $ECHO_N "(cached) $ECHO_C" >&6
61097 else
61099 if test x$gcc_no_link = xyes; then
61100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61102 { (exit 1); exit 1; }; }
61104 cat >conftest.$ac_ext <<_ACEOF
61105 /* confdefs.h. */
61106 _ACEOF
61107 cat confdefs.h >>conftest.$ac_ext
61108 cat >>conftest.$ac_ext <<_ACEOF
61109 /* end confdefs.h. */
61110 #include <math.h>
61112 main ()
61114 __builtin_labs(0);
61116 return 0;
61118 _ACEOF
61119 rm -f conftest.$ac_objext conftest$ac_exeext
61120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61121 (eval $ac_link) 2>conftest.er1
61122 ac_status=$?
61123 grep -v '^ *+' conftest.er1 >conftest.err
61124 rm -f conftest.er1
61125 cat conftest.err >&5
61126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61127 (exit $ac_status); } &&
61128 { ac_try='test -z "$ac_c_werror_flag"
61129 || test ! -s conftest.err'
61130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61131 (eval $ac_try) 2>&5
61132 ac_status=$?
61133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61134 (exit $ac_status); }; } &&
61135 { ac_try='test -s conftest$ac_exeext'
61136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61137 (eval $ac_try) 2>&5
61138 ac_status=$?
61139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61140 (exit $ac_status); }; }; then
61141 glibcxx_cv_func___builtin_labs_link=yes
61142 else
61143 echo "$as_me: failed program was:" >&5
61144 sed 's/^/| /' conftest.$ac_ext >&5
61146 glibcxx_cv_func___builtin_labs_link=no
61148 rm -f conftest.err conftest.$ac_objext \
61149 conftest$ac_exeext conftest.$ac_ext
61154 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61155 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61157 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61159 cat >>confdefs.h <<\_ACEOF
61160 #define HAVE___BUILTIN_LABS 1
61161 _ACEOF
61169 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61170 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61171 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61172 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61173 echo $ECHO_N "(cached) $ECHO_C" >&6
61174 else
61178 ac_ext=cc
61179 ac_cpp='$CXXCPP $CPPFLAGS'
61180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61184 cat >conftest.$ac_ext <<_ACEOF
61185 /* confdefs.h. */
61186 _ACEOF
61187 cat confdefs.h >>conftest.$ac_ext
61188 cat >>conftest.$ac_ext <<_ACEOF
61189 /* end confdefs.h. */
61190 #include <math.h>
61192 main ()
61194 __builtin_sqrtf(0);
61196 return 0;
61198 _ACEOF
61199 rm -f conftest.$ac_objext
61200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61201 (eval $ac_compile) 2>conftest.er1
61202 ac_status=$?
61203 grep -v '^ *+' conftest.er1 >conftest.err
61204 rm -f conftest.er1
61205 cat conftest.err >&5
61206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61207 (exit $ac_status); } &&
61208 { ac_try='test -z "$ac_cxx_werror_flag"
61209 || test ! -s conftest.err'
61210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61211 (eval $ac_try) 2>&5
61212 ac_status=$?
61213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214 (exit $ac_status); }; } &&
61215 { ac_try='test -s conftest.$ac_objext'
61216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61217 (eval $ac_try) 2>&5
61218 ac_status=$?
61219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61220 (exit $ac_status); }; }; then
61221 glibcxx_cv_func___builtin_sqrtf_use=yes
61222 else
61223 echo "$as_me: failed program was:" >&5
61224 sed 's/^/| /' conftest.$ac_ext >&5
61226 glibcxx_cv_func___builtin_sqrtf_use=no
61228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61229 ac_ext=c
61230 ac_cpp='$CPP $CPPFLAGS'
61231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61239 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61240 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61241 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61242 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61243 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61244 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61245 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61246 echo $ECHO_N "(cached) $ECHO_C" >&6
61247 else
61249 if test x$gcc_no_link = xyes; then
61250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61252 { (exit 1); exit 1; }; }
61254 cat >conftest.$ac_ext <<_ACEOF
61255 /* confdefs.h. */
61256 _ACEOF
61257 cat confdefs.h >>conftest.$ac_ext
61258 cat >>conftest.$ac_ext <<_ACEOF
61259 /* end confdefs.h. */
61260 #include <math.h>
61262 main ()
61264 __builtin_sqrtf(0);
61266 return 0;
61268 _ACEOF
61269 rm -f conftest.$ac_objext conftest$ac_exeext
61270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61271 (eval $ac_link) 2>conftest.er1
61272 ac_status=$?
61273 grep -v '^ *+' conftest.er1 >conftest.err
61274 rm -f conftest.er1
61275 cat conftest.err >&5
61276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61277 (exit $ac_status); } &&
61278 { ac_try='test -z "$ac_c_werror_flag"
61279 || test ! -s conftest.err'
61280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61281 (eval $ac_try) 2>&5
61282 ac_status=$?
61283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61284 (exit $ac_status); }; } &&
61285 { ac_try='test -s conftest$ac_exeext'
61286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61287 (eval $ac_try) 2>&5
61288 ac_status=$?
61289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61290 (exit $ac_status); }; }; then
61291 glibcxx_cv_func___builtin_sqrtf_link=yes
61292 else
61293 echo "$as_me: failed program was:" >&5
61294 sed 's/^/| /' conftest.$ac_ext >&5
61296 glibcxx_cv_func___builtin_sqrtf_link=no
61298 rm -f conftest.err conftest.$ac_objext \
61299 conftest$ac_exeext conftest.$ac_ext
61304 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61305 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61307 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61309 cat >>confdefs.h <<\_ACEOF
61310 #define HAVE___BUILTIN_SQRTF 1
61311 _ACEOF
61318 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61319 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61320 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61321 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61322 echo $ECHO_N "(cached) $ECHO_C" >&6
61323 else
61327 ac_ext=cc
61328 ac_cpp='$CXXCPP $CPPFLAGS'
61329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61333 cat >conftest.$ac_ext <<_ACEOF
61334 /* confdefs.h. */
61335 _ACEOF
61336 cat confdefs.h >>conftest.$ac_ext
61337 cat >>conftest.$ac_ext <<_ACEOF
61338 /* end confdefs.h. */
61339 #include <math.h>
61341 main ()
61343 __builtin_sqrt(0);
61345 return 0;
61347 _ACEOF
61348 rm -f conftest.$ac_objext
61349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61350 (eval $ac_compile) 2>conftest.er1
61351 ac_status=$?
61352 grep -v '^ *+' conftest.er1 >conftest.err
61353 rm -f conftest.er1
61354 cat conftest.err >&5
61355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61356 (exit $ac_status); } &&
61357 { ac_try='test -z "$ac_cxx_werror_flag"
61358 || test ! -s conftest.err'
61359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61360 (eval $ac_try) 2>&5
61361 ac_status=$?
61362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61363 (exit $ac_status); }; } &&
61364 { ac_try='test -s conftest.$ac_objext'
61365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61366 (eval $ac_try) 2>&5
61367 ac_status=$?
61368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61369 (exit $ac_status); }; }; then
61370 glibcxx_cv_func___builtin_sqrt_use=yes
61371 else
61372 echo "$as_me: failed program was:" >&5
61373 sed 's/^/| /' conftest.$ac_ext >&5
61375 glibcxx_cv_func___builtin_sqrt_use=no
61377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61378 ac_ext=c
61379 ac_cpp='$CPP $CPPFLAGS'
61380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61389 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61390 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61391 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61392 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61393 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61394 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61395 echo $ECHO_N "(cached) $ECHO_C" >&6
61396 else
61398 if test x$gcc_no_link = xyes; then
61399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61401 { (exit 1); exit 1; }; }
61403 cat >conftest.$ac_ext <<_ACEOF
61404 /* confdefs.h. */
61405 _ACEOF
61406 cat confdefs.h >>conftest.$ac_ext
61407 cat >>conftest.$ac_ext <<_ACEOF
61408 /* end confdefs.h. */
61409 #include <math.h>
61411 main ()
61413 __builtin_sqrt(0);
61415 return 0;
61417 _ACEOF
61418 rm -f conftest.$ac_objext conftest$ac_exeext
61419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61420 (eval $ac_link) 2>conftest.er1
61421 ac_status=$?
61422 grep -v '^ *+' conftest.er1 >conftest.err
61423 rm -f conftest.er1
61424 cat conftest.err >&5
61425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61426 (exit $ac_status); } &&
61427 { ac_try='test -z "$ac_c_werror_flag"
61428 || test ! -s conftest.err'
61429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61430 (eval $ac_try) 2>&5
61431 ac_status=$?
61432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61433 (exit $ac_status); }; } &&
61434 { ac_try='test -s conftest$ac_exeext'
61435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61436 (eval $ac_try) 2>&5
61437 ac_status=$?
61438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61439 (exit $ac_status); }; }; then
61440 glibcxx_cv_func___builtin_sqrt_link=yes
61441 else
61442 echo "$as_me: failed program was:" >&5
61443 sed 's/^/| /' conftest.$ac_ext >&5
61445 glibcxx_cv_func___builtin_sqrt_link=no
61447 rm -f conftest.err conftest.$ac_objext \
61448 conftest$ac_exeext conftest.$ac_ext
61453 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61454 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61456 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61458 cat >>confdefs.h <<\_ACEOF
61459 #define HAVE___BUILTIN_SQRT 1
61460 _ACEOF
61467 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61468 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61469 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61470 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61471 echo $ECHO_N "(cached) $ECHO_C" >&6
61472 else
61476 ac_ext=cc
61477 ac_cpp='$CXXCPP $CPPFLAGS'
61478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61482 cat >conftest.$ac_ext <<_ACEOF
61483 /* confdefs.h. */
61484 _ACEOF
61485 cat confdefs.h >>conftest.$ac_ext
61486 cat >>conftest.$ac_ext <<_ACEOF
61487 /* end confdefs.h. */
61488 #include <math.h>
61490 main ()
61492 __builtin_sqrtl(0);
61494 return 0;
61496 _ACEOF
61497 rm -f conftest.$ac_objext
61498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61499 (eval $ac_compile) 2>conftest.er1
61500 ac_status=$?
61501 grep -v '^ *+' conftest.er1 >conftest.err
61502 rm -f conftest.er1
61503 cat conftest.err >&5
61504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61505 (exit $ac_status); } &&
61506 { ac_try='test -z "$ac_cxx_werror_flag"
61507 || test ! -s conftest.err'
61508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61509 (eval $ac_try) 2>&5
61510 ac_status=$?
61511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61512 (exit $ac_status); }; } &&
61513 { ac_try='test -s conftest.$ac_objext'
61514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61515 (eval $ac_try) 2>&5
61516 ac_status=$?
61517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61518 (exit $ac_status); }; }; then
61519 glibcxx_cv_func___builtin_sqrtl_use=yes
61520 else
61521 echo "$as_me: failed program was:" >&5
61522 sed 's/^/| /' conftest.$ac_ext >&5
61524 glibcxx_cv_func___builtin_sqrtl_use=no
61526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61527 ac_ext=c
61528 ac_cpp='$CPP $CPPFLAGS'
61529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61538 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61539 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61540 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61541 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61542 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61543 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61544 echo $ECHO_N "(cached) $ECHO_C" >&6
61545 else
61547 if test x$gcc_no_link = xyes; then
61548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61550 { (exit 1); exit 1; }; }
61552 cat >conftest.$ac_ext <<_ACEOF
61553 /* confdefs.h. */
61554 _ACEOF
61555 cat confdefs.h >>conftest.$ac_ext
61556 cat >>conftest.$ac_ext <<_ACEOF
61557 /* end confdefs.h. */
61558 #include <math.h>
61560 main ()
61562 __builtin_sqrtl(0);
61564 return 0;
61566 _ACEOF
61567 rm -f conftest.$ac_objext conftest$ac_exeext
61568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61569 (eval $ac_link) 2>conftest.er1
61570 ac_status=$?
61571 grep -v '^ *+' conftest.er1 >conftest.err
61572 rm -f conftest.er1
61573 cat conftest.err >&5
61574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61575 (exit $ac_status); } &&
61576 { ac_try='test -z "$ac_c_werror_flag"
61577 || test ! -s conftest.err'
61578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61579 (eval $ac_try) 2>&5
61580 ac_status=$?
61581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61582 (exit $ac_status); }; } &&
61583 { ac_try='test -s conftest$ac_exeext'
61584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61585 (eval $ac_try) 2>&5
61586 ac_status=$?
61587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61588 (exit $ac_status); }; }; then
61589 glibcxx_cv_func___builtin_sqrtl_link=yes
61590 else
61591 echo "$as_me: failed program was:" >&5
61592 sed 's/^/| /' conftest.$ac_ext >&5
61594 glibcxx_cv_func___builtin_sqrtl_link=no
61596 rm -f conftest.err conftest.$ac_objext \
61597 conftest$ac_exeext conftest.$ac_ext
61602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61603 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61605 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61607 cat >>confdefs.h <<\_ACEOF
61608 #define HAVE___BUILTIN_SQRTL 1
61609 _ACEOF
61617 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61618 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61619 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61620 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61621 echo $ECHO_N "(cached) $ECHO_C" >&6
61622 else
61626 ac_ext=cc
61627 ac_cpp='$CXXCPP $CPPFLAGS'
61628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61632 cat >conftest.$ac_ext <<_ACEOF
61633 /* confdefs.h. */
61634 _ACEOF
61635 cat confdefs.h >>conftest.$ac_ext
61636 cat >>conftest.$ac_ext <<_ACEOF
61637 /* end confdefs.h. */
61638 #include <math.h>
61640 main ()
61642 __builtin_sinf(0);
61644 return 0;
61646 _ACEOF
61647 rm -f conftest.$ac_objext
61648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61649 (eval $ac_compile) 2>conftest.er1
61650 ac_status=$?
61651 grep -v '^ *+' conftest.er1 >conftest.err
61652 rm -f conftest.er1
61653 cat conftest.err >&5
61654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61655 (exit $ac_status); } &&
61656 { ac_try='test -z "$ac_cxx_werror_flag"
61657 || test ! -s conftest.err'
61658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61659 (eval $ac_try) 2>&5
61660 ac_status=$?
61661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662 (exit $ac_status); }; } &&
61663 { ac_try='test -s conftest.$ac_objext'
61664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61665 (eval $ac_try) 2>&5
61666 ac_status=$?
61667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61668 (exit $ac_status); }; }; then
61669 glibcxx_cv_func___builtin_sinf_use=yes
61670 else
61671 echo "$as_me: failed program was:" >&5
61672 sed 's/^/| /' conftest.$ac_ext >&5
61674 glibcxx_cv_func___builtin_sinf_use=no
61676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61677 ac_ext=c
61678 ac_cpp='$CPP $CPPFLAGS'
61679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61687 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61688 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61689 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61690 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61691 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61692 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61693 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61694 echo $ECHO_N "(cached) $ECHO_C" >&6
61695 else
61697 if test x$gcc_no_link = xyes; then
61698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61700 { (exit 1); exit 1; }; }
61702 cat >conftest.$ac_ext <<_ACEOF
61703 /* confdefs.h. */
61704 _ACEOF
61705 cat confdefs.h >>conftest.$ac_ext
61706 cat >>conftest.$ac_ext <<_ACEOF
61707 /* end confdefs.h. */
61708 #include <math.h>
61710 main ()
61712 __builtin_sinf(0);
61714 return 0;
61716 _ACEOF
61717 rm -f conftest.$ac_objext conftest$ac_exeext
61718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61719 (eval $ac_link) 2>conftest.er1
61720 ac_status=$?
61721 grep -v '^ *+' conftest.er1 >conftest.err
61722 rm -f conftest.er1
61723 cat conftest.err >&5
61724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61725 (exit $ac_status); } &&
61726 { ac_try='test -z "$ac_c_werror_flag"
61727 || test ! -s conftest.err'
61728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61729 (eval $ac_try) 2>&5
61730 ac_status=$?
61731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61732 (exit $ac_status); }; } &&
61733 { ac_try='test -s conftest$ac_exeext'
61734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61735 (eval $ac_try) 2>&5
61736 ac_status=$?
61737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61738 (exit $ac_status); }; }; then
61739 glibcxx_cv_func___builtin_sinf_link=yes
61740 else
61741 echo "$as_me: failed program was:" >&5
61742 sed 's/^/| /' conftest.$ac_ext >&5
61744 glibcxx_cv_func___builtin_sinf_link=no
61746 rm -f conftest.err conftest.$ac_objext \
61747 conftest$ac_exeext conftest.$ac_ext
61752 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61753 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61755 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61757 cat >>confdefs.h <<\_ACEOF
61758 #define HAVE___BUILTIN_SINF 1
61759 _ACEOF
61766 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61767 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61768 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61769 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61770 echo $ECHO_N "(cached) $ECHO_C" >&6
61771 else
61775 ac_ext=cc
61776 ac_cpp='$CXXCPP $CPPFLAGS'
61777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61781 cat >conftest.$ac_ext <<_ACEOF
61782 /* confdefs.h. */
61783 _ACEOF
61784 cat confdefs.h >>conftest.$ac_ext
61785 cat >>conftest.$ac_ext <<_ACEOF
61786 /* end confdefs.h. */
61787 #include <math.h>
61789 main ()
61791 __builtin_sin(0);
61793 return 0;
61795 _ACEOF
61796 rm -f conftest.$ac_objext
61797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61798 (eval $ac_compile) 2>conftest.er1
61799 ac_status=$?
61800 grep -v '^ *+' conftest.er1 >conftest.err
61801 rm -f conftest.er1
61802 cat conftest.err >&5
61803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61804 (exit $ac_status); } &&
61805 { ac_try='test -z "$ac_cxx_werror_flag"
61806 || test ! -s conftest.err'
61807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61808 (eval $ac_try) 2>&5
61809 ac_status=$?
61810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61811 (exit $ac_status); }; } &&
61812 { ac_try='test -s conftest.$ac_objext'
61813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61814 (eval $ac_try) 2>&5
61815 ac_status=$?
61816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61817 (exit $ac_status); }; }; then
61818 glibcxx_cv_func___builtin_sin_use=yes
61819 else
61820 echo "$as_me: failed program was:" >&5
61821 sed 's/^/| /' conftest.$ac_ext >&5
61823 glibcxx_cv_func___builtin_sin_use=no
61825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61826 ac_ext=c
61827 ac_cpp='$CPP $CPPFLAGS'
61828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61836 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61837 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61838 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61839 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61840 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61841 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61842 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61843 echo $ECHO_N "(cached) $ECHO_C" >&6
61844 else
61846 if test x$gcc_no_link = xyes; then
61847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61849 { (exit 1); exit 1; }; }
61851 cat >conftest.$ac_ext <<_ACEOF
61852 /* confdefs.h. */
61853 _ACEOF
61854 cat confdefs.h >>conftest.$ac_ext
61855 cat >>conftest.$ac_ext <<_ACEOF
61856 /* end confdefs.h. */
61857 #include <math.h>
61859 main ()
61861 __builtin_sin(0);
61863 return 0;
61865 _ACEOF
61866 rm -f conftest.$ac_objext conftest$ac_exeext
61867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61868 (eval $ac_link) 2>conftest.er1
61869 ac_status=$?
61870 grep -v '^ *+' conftest.er1 >conftest.err
61871 rm -f conftest.er1
61872 cat conftest.err >&5
61873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61874 (exit $ac_status); } &&
61875 { ac_try='test -z "$ac_c_werror_flag"
61876 || test ! -s conftest.err'
61877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61878 (eval $ac_try) 2>&5
61879 ac_status=$?
61880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61881 (exit $ac_status); }; } &&
61882 { ac_try='test -s conftest$ac_exeext'
61883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61884 (eval $ac_try) 2>&5
61885 ac_status=$?
61886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61887 (exit $ac_status); }; }; then
61888 glibcxx_cv_func___builtin_sin_link=yes
61889 else
61890 echo "$as_me: failed program was:" >&5
61891 sed 's/^/| /' conftest.$ac_ext >&5
61893 glibcxx_cv_func___builtin_sin_link=no
61895 rm -f conftest.err conftest.$ac_objext \
61896 conftest$ac_exeext conftest.$ac_ext
61901 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61902 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61904 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61906 cat >>confdefs.h <<\_ACEOF
61907 #define HAVE___BUILTIN_SIN 1
61908 _ACEOF
61915 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61916 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61917 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61918 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61919 echo $ECHO_N "(cached) $ECHO_C" >&6
61920 else
61924 ac_ext=cc
61925 ac_cpp='$CXXCPP $CPPFLAGS'
61926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61930 cat >conftest.$ac_ext <<_ACEOF
61931 /* confdefs.h. */
61932 _ACEOF
61933 cat confdefs.h >>conftest.$ac_ext
61934 cat >>conftest.$ac_ext <<_ACEOF
61935 /* end confdefs.h. */
61936 #include <math.h>
61938 main ()
61940 __builtin_sinl(0);
61942 return 0;
61944 _ACEOF
61945 rm -f conftest.$ac_objext
61946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61947 (eval $ac_compile) 2>conftest.er1
61948 ac_status=$?
61949 grep -v '^ *+' conftest.er1 >conftest.err
61950 rm -f conftest.er1
61951 cat conftest.err >&5
61952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61953 (exit $ac_status); } &&
61954 { ac_try='test -z "$ac_cxx_werror_flag"
61955 || test ! -s conftest.err'
61956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61957 (eval $ac_try) 2>&5
61958 ac_status=$?
61959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61960 (exit $ac_status); }; } &&
61961 { ac_try='test -s conftest.$ac_objext'
61962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61963 (eval $ac_try) 2>&5
61964 ac_status=$?
61965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61966 (exit $ac_status); }; }; then
61967 glibcxx_cv_func___builtin_sinl_use=yes
61968 else
61969 echo "$as_me: failed program was:" >&5
61970 sed 's/^/| /' conftest.$ac_ext >&5
61972 glibcxx_cv_func___builtin_sinl_use=no
61974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61975 ac_ext=c
61976 ac_cpp='$CPP $CPPFLAGS'
61977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
61986 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
61987 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
61988 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
61989 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
61990 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
61991 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
61992 echo $ECHO_N "(cached) $ECHO_C" >&6
61993 else
61995 if test x$gcc_no_link = xyes; then
61996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61998 { (exit 1); exit 1; }; }
62000 cat >conftest.$ac_ext <<_ACEOF
62001 /* confdefs.h. */
62002 _ACEOF
62003 cat confdefs.h >>conftest.$ac_ext
62004 cat >>conftest.$ac_ext <<_ACEOF
62005 /* end confdefs.h. */
62006 #include <math.h>
62008 main ()
62010 __builtin_sinl(0);
62012 return 0;
62014 _ACEOF
62015 rm -f conftest.$ac_objext conftest$ac_exeext
62016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62017 (eval $ac_link) 2>conftest.er1
62018 ac_status=$?
62019 grep -v '^ *+' conftest.er1 >conftest.err
62020 rm -f conftest.er1
62021 cat conftest.err >&5
62022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62023 (exit $ac_status); } &&
62024 { ac_try='test -z "$ac_c_werror_flag"
62025 || test ! -s conftest.err'
62026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62027 (eval $ac_try) 2>&5
62028 ac_status=$?
62029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62030 (exit $ac_status); }; } &&
62031 { ac_try='test -s conftest$ac_exeext'
62032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62033 (eval $ac_try) 2>&5
62034 ac_status=$?
62035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62036 (exit $ac_status); }; }; then
62037 glibcxx_cv_func___builtin_sinl_link=yes
62038 else
62039 echo "$as_me: failed program was:" >&5
62040 sed 's/^/| /' conftest.$ac_ext >&5
62042 glibcxx_cv_func___builtin_sinl_link=no
62044 rm -f conftest.err conftest.$ac_objext \
62045 conftest$ac_exeext conftest.$ac_ext
62050 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62051 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62053 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62055 cat >>confdefs.h <<\_ACEOF
62056 #define HAVE___BUILTIN_SINL 1
62057 _ACEOF
62065 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62066 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62067 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62068 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62069 echo $ECHO_N "(cached) $ECHO_C" >&6
62070 else
62074 ac_ext=cc
62075 ac_cpp='$CXXCPP $CPPFLAGS'
62076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62080 cat >conftest.$ac_ext <<_ACEOF
62081 /* confdefs.h. */
62082 _ACEOF
62083 cat confdefs.h >>conftest.$ac_ext
62084 cat >>conftest.$ac_ext <<_ACEOF
62085 /* end confdefs.h. */
62086 #include <math.h>
62088 main ()
62090 __builtin_cosf(0);
62092 return 0;
62094 _ACEOF
62095 rm -f conftest.$ac_objext
62096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62097 (eval $ac_compile) 2>conftest.er1
62098 ac_status=$?
62099 grep -v '^ *+' conftest.er1 >conftest.err
62100 rm -f conftest.er1
62101 cat conftest.err >&5
62102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62103 (exit $ac_status); } &&
62104 { ac_try='test -z "$ac_cxx_werror_flag"
62105 || test ! -s conftest.err'
62106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62107 (eval $ac_try) 2>&5
62108 ac_status=$?
62109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62110 (exit $ac_status); }; } &&
62111 { ac_try='test -s conftest.$ac_objext'
62112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62113 (eval $ac_try) 2>&5
62114 ac_status=$?
62115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62116 (exit $ac_status); }; }; then
62117 glibcxx_cv_func___builtin_cosf_use=yes
62118 else
62119 echo "$as_me: failed program was:" >&5
62120 sed 's/^/| /' conftest.$ac_ext >&5
62122 glibcxx_cv_func___builtin_cosf_use=no
62124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62125 ac_ext=c
62126 ac_cpp='$CPP $CPPFLAGS'
62127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62135 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62136 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62137 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62138 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62139 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62140 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62141 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62142 echo $ECHO_N "(cached) $ECHO_C" >&6
62143 else
62145 if test x$gcc_no_link = xyes; then
62146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62148 { (exit 1); exit 1; }; }
62150 cat >conftest.$ac_ext <<_ACEOF
62151 /* confdefs.h. */
62152 _ACEOF
62153 cat confdefs.h >>conftest.$ac_ext
62154 cat >>conftest.$ac_ext <<_ACEOF
62155 /* end confdefs.h. */
62156 #include <math.h>
62158 main ()
62160 __builtin_cosf(0);
62162 return 0;
62164 _ACEOF
62165 rm -f conftest.$ac_objext conftest$ac_exeext
62166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62167 (eval $ac_link) 2>conftest.er1
62168 ac_status=$?
62169 grep -v '^ *+' conftest.er1 >conftest.err
62170 rm -f conftest.er1
62171 cat conftest.err >&5
62172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62173 (exit $ac_status); } &&
62174 { ac_try='test -z "$ac_c_werror_flag"
62175 || test ! -s conftest.err'
62176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62177 (eval $ac_try) 2>&5
62178 ac_status=$?
62179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62180 (exit $ac_status); }; } &&
62181 { ac_try='test -s conftest$ac_exeext'
62182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62183 (eval $ac_try) 2>&5
62184 ac_status=$?
62185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62186 (exit $ac_status); }; }; then
62187 glibcxx_cv_func___builtin_cosf_link=yes
62188 else
62189 echo "$as_me: failed program was:" >&5
62190 sed 's/^/| /' conftest.$ac_ext >&5
62192 glibcxx_cv_func___builtin_cosf_link=no
62194 rm -f conftest.err conftest.$ac_objext \
62195 conftest$ac_exeext conftest.$ac_ext
62200 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62201 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62203 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62205 cat >>confdefs.h <<\_ACEOF
62206 #define HAVE___BUILTIN_COSF 1
62207 _ACEOF
62214 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62215 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62216 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62217 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62218 echo $ECHO_N "(cached) $ECHO_C" >&6
62219 else
62223 ac_ext=cc
62224 ac_cpp='$CXXCPP $CPPFLAGS'
62225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62229 cat >conftest.$ac_ext <<_ACEOF
62230 /* confdefs.h. */
62231 _ACEOF
62232 cat confdefs.h >>conftest.$ac_ext
62233 cat >>conftest.$ac_ext <<_ACEOF
62234 /* end confdefs.h. */
62235 #include <math.h>
62237 main ()
62239 __builtin_cos(0);
62241 return 0;
62243 _ACEOF
62244 rm -f conftest.$ac_objext
62245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62246 (eval $ac_compile) 2>conftest.er1
62247 ac_status=$?
62248 grep -v '^ *+' conftest.er1 >conftest.err
62249 rm -f conftest.er1
62250 cat conftest.err >&5
62251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62252 (exit $ac_status); } &&
62253 { ac_try='test -z "$ac_cxx_werror_flag"
62254 || test ! -s conftest.err'
62255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62256 (eval $ac_try) 2>&5
62257 ac_status=$?
62258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62259 (exit $ac_status); }; } &&
62260 { ac_try='test -s conftest.$ac_objext'
62261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62262 (eval $ac_try) 2>&5
62263 ac_status=$?
62264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62265 (exit $ac_status); }; }; then
62266 glibcxx_cv_func___builtin_cos_use=yes
62267 else
62268 echo "$as_me: failed program was:" >&5
62269 sed 's/^/| /' conftest.$ac_ext >&5
62271 glibcxx_cv_func___builtin_cos_use=no
62273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62274 ac_ext=c
62275 ac_cpp='$CPP $CPPFLAGS'
62276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62284 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62285 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62286 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62287 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62288 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62289 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62290 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62291 echo $ECHO_N "(cached) $ECHO_C" >&6
62292 else
62294 if test x$gcc_no_link = xyes; then
62295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62297 { (exit 1); exit 1; }; }
62299 cat >conftest.$ac_ext <<_ACEOF
62300 /* confdefs.h. */
62301 _ACEOF
62302 cat confdefs.h >>conftest.$ac_ext
62303 cat >>conftest.$ac_ext <<_ACEOF
62304 /* end confdefs.h. */
62305 #include <math.h>
62307 main ()
62309 __builtin_cos(0);
62311 return 0;
62313 _ACEOF
62314 rm -f conftest.$ac_objext conftest$ac_exeext
62315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62316 (eval $ac_link) 2>conftest.er1
62317 ac_status=$?
62318 grep -v '^ *+' conftest.er1 >conftest.err
62319 rm -f conftest.er1
62320 cat conftest.err >&5
62321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62322 (exit $ac_status); } &&
62323 { ac_try='test -z "$ac_c_werror_flag"
62324 || test ! -s conftest.err'
62325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62326 (eval $ac_try) 2>&5
62327 ac_status=$?
62328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62329 (exit $ac_status); }; } &&
62330 { ac_try='test -s conftest$ac_exeext'
62331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62332 (eval $ac_try) 2>&5
62333 ac_status=$?
62334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62335 (exit $ac_status); }; }; then
62336 glibcxx_cv_func___builtin_cos_link=yes
62337 else
62338 echo "$as_me: failed program was:" >&5
62339 sed 's/^/| /' conftest.$ac_ext >&5
62341 glibcxx_cv_func___builtin_cos_link=no
62343 rm -f conftest.err conftest.$ac_objext \
62344 conftest$ac_exeext conftest.$ac_ext
62349 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62350 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62352 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62354 cat >>confdefs.h <<\_ACEOF
62355 #define HAVE___BUILTIN_COS 1
62356 _ACEOF
62363 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62364 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62365 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62366 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62367 echo $ECHO_N "(cached) $ECHO_C" >&6
62368 else
62372 ac_ext=cc
62373 ac_cpp='$CXXCPP $CPPFLAGS'
62374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62378 cat >conftest.$ac_ext <<_ACEOF
62379 /* confdefs.h. */
62380 _ACEOF
62381 cat confdefs.h >>conftest.$ac_ext
62382 cat >>conftest.$ac_ext <<_ACEOF
62383 /* end confdefs.h. */
62384 #include <math.h>
62386 main ()
62388 __builtin_cosl(0);
62390 return 0;
62392 _ACEOF
62393 rm -f conftest.$ac_objext
62394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62395 (eval $ac_compile) 2>conftest.er1
62396 ac_status=$?
62397 grep -v '^ *+' conftest.er1 >conftest.err
62398 rm -f conftest.er1
62399 cat conftest.err >&5
62400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62401 (exit $ac_status); } &&
62402 { ac_try='test -z "$ac_cxx_werror_flag"
62403 || test ! -s conftest.err'
62404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62405 (eval $ac_try) 2>&5
62406 ac_status=$?
62407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62408 (exit $ac_status); }; } &&
62409 { ac_try='test -s conftest.$ac_objext'
62410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62411 (eval $ac_try) 2>&5
62412 ac_status=$?
62413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62414 (exit $ac_status); }; }; then
62415 glibcxx_cv_func___builtin_cosl_use=yes
62416 else
62417 echo "$as_me: failed program was:" >&5
62418 sed 's/^/| /' conftest.$ac_ext >&5
62420 glibcxx_cv_func___builtin_cosl_use=no
62422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62423 ac_ext=c
62424 ac_cpp='$CPP $CPPFLAGS'
62425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62433 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62434 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62435 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62436 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62437 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62438 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62439 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62440 echo $ECHO_N "(cached) $ECHO_C" >&6
62441 else
62443 if test x$gcc_no_link = xyes; then
62444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62446 { (exit 1); exit 1; }; }
62448 cat >conftest.$ac_ext <<_ACEOF
62449 /* confdefs.h. */
62450 _ACEOF
62451 cat confdefs.h >>conftest.$ac_ext
62452 cat >>conftest.$ac_ext <<_ACEOF
62453 /* end confdefs.h. */
62454 #include <math.h>
62456 main ()
62458 __builtin_cosl(0);
62460 return 0;
62462 _ACEOF
62463 rm -f conftest.$ac_objext conftest$ac_exeext
62464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62465 (eval $ac_link) 2>conftest.er1
62466 ac_status=$?
62467 grep -v '^ *+' conftest.er1 >conftest.err
62468 rm -f conftest.er1
62469 cat conftest.err >&5
62470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62471 (exit $ac_status); } &&
62472 { ac_try='test -z "$ac_c_werror_flag"
62473 || test ! -s conftest.err'
62474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62475 (eval $ac_try) 2>&5
62476 ac_status=$?
62477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62478 (exit $ac_status); }; } &&
62479 { ac_try='test -s conftest$ac_exeext'
62480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62481 (eval $ac_try) 2>&5
62482 ac_status=$?
62483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62484 (exit $ac_status); }; }; then
62485 glibcxx_cv_func___builtin_cosl_link=yes
62486 else
62487 echo "$as_me: failed program was:" >&5
62488 sed 's/^/| /' conftest.$ac_ext >&5
62490 glibcxx_cv_func___builtin_cosl_link=no
62492 rm -f conftest.err conftest.$ac_objext \
62493 conftest$ac_exeext conftest.$ac_ext
62498 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62499 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62501 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62503 cat >>confdefs.h <<\_ACEOF
62504 #define HAVE___BUILTIN_COSL 1
62505 _ACEOF
62514 echo "$as_me:$LINENO: checking for main in -lm" >&5
62515 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62516 if test "${ac_cv_lib_m_main+set}" = set; then
62517 echo $ECHO_N "(cached) $ECHO_C" >&6
62518 else
62519 ac_check_lib_save_LIBS=$LIBS
62520 LIBS="-lm $LIBS"
62521 if test x$gcc_no_link = xyes; then
62522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62524 { (exit 1); exit 1; }; }
62526 cat >conftest.$ac_ext <<_ACEOF
62527 /* confdefs.h. */
62528 _ACEOF
62529 cat confdefs.h >>conftest.$ac_ext
62530 cat >>conftest.$ac_ext <<_ACEOF
62531 /* end confdefs.h. */
62535 main ()
62537 main ();
62539 return 0;
62541 _ACEOF
62542 rm -f conftest.$ac_objext conftest$ac_exeext
62543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62544 (eval $ac_link) 2>conftest.er1
62545 ac_status=$?
62546 grep -v '^ *+' conftest.er1 >conftest.err
62547 rm -f conftest.er1
62548 cat conftest.err >&5
62549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62550 (exit $ac_status); } &&
62551 { ac_try='test -z "$ac_c_werror_flag"
62552 || test ! -s conftest.err'
62553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62554 (eval $ac_try) 2>&5
62555 ac_status=$?
62556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62557 (exit $ac_status); }; } &&
62558 { ac_try='test -s conftest$ac_exeext'
62559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62560 (eval $ac_try) 2>&5
62561 ac_status=$?
62562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62563 (exit $ac_status); }; }; then
62564 ac_cv_lib_m_main=yes
62565 else
62566 echo "$as_me: failed program was:" >&5
62567 sed 's/^/| /' conftest.$ac_ext >&5
62569 ac_cv_lib_m_main=no
62571 rm -f conftest.err conftest.$ac_objext \
62572 conftest$ac_exeext conftest.$ac_ext
62573 LIBS=$ac_check_lib_save_LIBS
62575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62576 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62577 if test $ac_cv_lib_m_main = yes; then
62578 cat >>confdefs.h <<_ACEOF
62579 #define HAVE_LIBM 1
62580 _ACEOF
62582 LIBS="-lm $LIBS"
62587 for ac_func in copysignf
62589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62590 echo "$as_me:$LINENO: checking for $ac_func" >&5
62591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62592 if eval "test \"\${$as_ac_var+set}\" = set"; then
62593 echo $ECHO_N "(cached) $ECHO_C" >&6
62594 else
62595 if test x$gcc_no_link = xyes; then
62596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62598 { (exit 1); exit 1; }; }
62600 cat >conftest.$ac_ext <<_ACEOF
62601 /* confdefs.h. */
62602 _ACEOF
62603 cat confdefs.h >>conftest.$ac_ext
62604 cat >>conftest.$ac_ext <<_ACEOF
62605 /* end confdefs.h. */
62606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62608 #define $ac_func innocuous_$ac_func
62610 /* System header to define __stub macros and hopefully few prototypes,
62611 which can conflict with char $ac_func (); below.
62612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62613 <limits.h> exists even on freestanding compilers. */
62615 #ifdef __STDC__
62616 # include <limits.h>
62617 #else
62618 # include <assert.h>
62619 #endif
62621 #undef $ac_func
62623 /* Override any gcc2 internal prototype to avoid an error. */
62624 #ifdef __cplusplus
62625 extern "C"
62627 #endif
62628 /* We use char because int might match the return type of a gcc2
62629 builtin and then its argument prototype would still apply. */
62630 char $ac_func ();
62631 /* The GNU C library defines this for functions which it implements
62632 to always fail with ENOSYS. Some functions are actually named
62633 something starting with __ and the normal name is an alias. */
62634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62635 choke me
62636 #else
62637 char (*f) () = $ac_func;
62638 #endif
62639 #ifdef __cplusplus
62641 #endif
62644 main ()
62646 return f != $ac_func;
62648 return 0;
62650 _ACEOF
62651 rm -f conftest.$ac_objext conftest$ac_exeext
62652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62653 (eval $ac_link) 2>conftest.er1
62654 ac_status=$?
62655 grep -v '^ *+' conftest.er1 >conftest.err
62656 rm -f conftest.er1
62657 cat conftest.err >&5
62658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62659 (exit $ac_status); } &&
62660 { ac_try='test -z "$ac_c_werror_flag"
62661 || test ! -s conftest.err'
62662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62663 (eval $ac_try) 2>&5
62664 ac_status=$?
62665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62666 (exit $ac_status); }; } &&
62667 { ac_try='test -s conftest$ac_exeext'
62668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62669 (eval $ac_try) 2>&5
62670 ac_status=$?
62671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62672 (exit $ac_status); }; }; then
62673 eval "$as_ac_var=yes"
62674 else
62675 echo "$as_me: failed program was:" >&5
62676 sed 's/^/| /' conftest.$ac_ext >&5
62678 eval "$as_ac_var=no"
62680 rm -f conftest.err conftest.$ac_objext \
62681 conftest$ac_exeext conftest.$ac_ext
62683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62685 if test `eval echo '${'$as_ac_var'}'` = yes; then
62686 cat >>confdefs.h <<_ACEOF
62687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62688 _ACEOF
62690 else
62691 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62693 done
62697 for ac_func in __signbit
62699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62700 echo "$as_me:$LINENO: checking for $ac_func" >&5
62701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62702 if eval "test \"\${$as_ac_var+set}\" = set"; then
62703 echo $ECHO_N "(cached) $ECHO_C" >&6
62704 else
62705 if test x$gcc_no_link = xyes; then
62706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62708 { (exit 1); exit 1; }; }
62710 cat >conftest.$ac_ext <<_ACEOF
62711 /* confdefs.h. */
62712 _ACEOF
62713 cat confdefs.h >>conftest.$ac_ext
62714 cat >>conftest.$ac_ext <<_ACEOF
62715 /* end confdefs.h. */
62716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62718 #define $ac_func innocuous_$ac_func
62720 /* System header to define __stub macros and hopefully few prototypes,
62721 which can conflict with char $ac_func (); below.
62722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62723 <limits.h> exists even on freestanding compilers. */
62725 #ifdef __STDC__
62726 # include <limits.h>
62727 #else
62728 # include <assert.h>
62729 #endif
62731 #undef $ac_func
62733 /* Override any gcc2 internal prototype to avoid an error. */
62734 #ifdef __cplusplus
62735 extern "C"
62737 #endif
62738 /* We use char because int might match the return type of a gcc2
62739 builtin and then its argument prototype would still apply. */
62740 char $ac_func ();
62741 /* The GNU C library defines this for functions which it implements
62742 to always fail with ENOSYS. Some functions are actually named
62743 something starting with __ and the normal name is an alias. */
62744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62745 choke me
62746 #else
62747 char (*f) () = $ac_func;
62748 #endif
62749 #ifdef __cplusplus
62751 #endif
62754 main ()
62756 return f != $ac_func;
62758 return 0;
62760 _ACEOF
62761 rm -f conftest.$ac_objext conftest$ac_exeext
62762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62763 (eval $ac_link) 2>conftest.er1
62764 ac_status=$?
62765 grep -v '^ *+' conftest.er1 >conftest.err
62766 rm -f conftest.er1
62767 cat conftest.err >&5
62768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62769 (exit $ac_status); } &&
62770 { ac_try='test -z "$ac_c_werror_flag"
62771 || test ! -s conftest.err'
62772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62773 (eval $ac_try) 2>&5
62774 ac_status=$?
62775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62776 (exit $ac_status); }; } &&
62777 { ac_try='test -s conftest$ac_exeext'
62778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62779 (eval $ac_try) 2>&5
62780 ac_status=$?
62781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62782 (exit $ac_status); }; }; then
62783 eval "$as_ac_var=yes"
62784 else
62785 echo "$as_me: failed program was:" >&5
62786 sed 's/^/| /' conftest.$ac_ext >&5
62788 eval "$as_ac_var=no"
62790 rm -f conftest.err conftest.$ac_objext \
62791 conftest$ac_exeext conftest.$ac_ext
62793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62795 if test `eval echo '${'$as_ac_var'}'` = yes; then
62796 cat >>confdefs.h <<_ACEOF
62797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62798 _ACEOF
62800 else
62801 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62803 done
62807 for ac_func in __signbitf
62809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62810 echo "$as_me:$LINENO: checking for $ac_func" >&5
62811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62812 if eval "test \"\${$as_ac_var+set}\" = set"; then
62813 echo $ECHO_N "(cached) $ECHO_C" >&6
62814 else
62815 if test x$gcc_no_link = xyes; then
62816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62818 { (exit 1); exit 1; }; }
62820 cat >conftest.$ac_ext <<_ACEOF
62821 /* confdefs.h. */
62822 _ACEOF
62823 cat confdefs.h >>conftest.$ac_ext
62824 cat >>conftest.$ac_ext <<_ACEOF
62825 /* end confdefs.h. */
62826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62828 #define $ac_func innocuous_$ac_func
62830 /* System header to define __stub macros and hopefully few prototypes,
62831 which can conflict with char $ac_func (); below.
62832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62833 <limits.h> exists even on freestanding compilers. */
62835 #ifdef __STDC__
62836 # include <limits.h>
62837 #else
62838 # include <assert.h>
62839 #endif
62841 #undef $ac_func
62843 /* Override any gcc2 internal prototype to avoid an error. */
62844 #ifdef __cplusplus
62845 extern "C"
62847 #endif
62848 /* We use char because int might match the return type of a gcc2
62849 builtin and then its argument prototype would still apply. */
62850 char $ac_func ();
62851 /* The GNU C library defines this for functions which it implements
62852 to always fail with ENOSYS. Some functions are actually named
62853 something starting with __ and the normal name is an alias. */
62854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62855 choke me
62856 #else
62857 char (*f) () = $ac_func;
62858 #endif
62859 #ifdef __cplusplus
62861 #endif
62864 main ()
62866 return f != $ac_func;
62868 return 0;
62870 _ACEOF
62871 rm -f conftest.$ac_objext conftest$ac_exeext
62872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62873 (eval $ac_link) 2>conftest.er1
62874 ac_status=$?
62875 grep -v '^ *+' conftest.er1 >conftest.err
62876 rm -f conftest.er1
62877 cat conftest.err >&5
62878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62879 (exit $ac_status); } &&
62880 { ac_try='test -z "$ac_c_werror_flag"
62881 || test ! -s conftest.err'
62882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62883 (eval $ac_try) 2>&5
62884 ac_status=$?
62885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62886 (exit $ac_status); }; } &&
62887 { ac_try='test -s conftest$ac_exeext'
62888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62889 (eval $ac_try) 2>&5
62890 ac_status=$?
62891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62892 (exit $ac_status); }; }; then
62893 eval "$as_ac_var=yes"
62894 else
62895 echo "$as_me: failed program was:" >&5
62896 sed 's/^/| /' conftest.$ac_ext >&5
62898 eval "$as_ac_var=no"
62900 rm -f conftest.err conftest.$ac_objext \
62901 conftest$ac_exeext conftest.$ac_ext
62903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62905 if test `eval echo '${'$as_ac_var'}'` = yes; then
62906 cat >>confdefs.h <<_ACEOF
62907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62908 _ACEOF
62910 else
62911 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62913 done
62916 if test x$ac_cv_func_copysignl = x"yes"; then
62918 for ac_func in __signbitl
62920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62921 echo "$as_me:$LINENO: checking for $ac_func" >&5
62922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62923 if eval "test \"\${$as_ac_var+set}\" = set"; then
62924 echo $ECHO_N "(cached) $ECHO_C" >&6
62925 else
62926 if test x$gcc_no_link = xyes; then
62927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62929 { (exit 1); exit 1; }; }
62931 cat >conftest.$ac_ext <<_ACEOF
62932 /* confdefs.h. */
62933 _ACEOF
62934 cat confdefs.h >>conftest.$ac_ext
62935 cat >>conftest.$ac_ext <<_ACEOF
62936 /* end confdefs.h. */
62937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62939 #define $ac_func innocuous_$ac_func
62941 /* System header to define __stub macros and hopefully few prototypes,
62942 which can conflict with char $ac_func (); below.
62943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62944 <limits.h> exists even on freestanding compilers. */
62946 #ifdef __STDC__
62947 # include <limits.h>
62948 #else
62949 # include <assert.h>
62950 #endif
62952 #undef $ac_func
62954 /* Override any gcc2 internal prototype to avoid an error. */
62955 #ifdef __cplusplus
62956 extern "C"
62958 #endif
62959 /* We use char because int might match the return type of a gcc2
62960 builtin and then its argument prototype would still apply. */
62961 char $ac_func ();
62962 /* The GNU C library defines this for functions which it implements
62963 to always fail with ENOSYS. Some functions are actually named
62964 something starting with __ and the normal name is an alias. */
62965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62966 choke me
62967 #else
62968 char (*f) () = $ac_func;
62969 #endif
62970 #ifdef __cplusplus
62972 #endif
62975 main ()
62977 return f != $ac_func;
62979 return 0;
62981 _ACEOF
62982 rm -f conftest.$ac_objext conftest$ac_exeext
62983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62984 (eval $ac_link) 2>conftest.er1
62985 ac_status=$?
62986 grep -v '^ *+' conftest.er1 >conftest.err
62987 rm -f conftest.er1
62988 cat conftest.err >&5
62989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62990 (exit $ac_status); } &&
62991 { ac_try='test -z "$ac_c_werror_flag"
62992 || test ! -s conftest.err'
62993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62994 (eval $ac_try) 2>&5
62995 ac_status=$?
62996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62997 (exit $ac_status); }; } &&
62998 { ac_try='test -s conftest$ac_exeext'
62999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63000 (eval $ac_try) 2>&5
63001 ac_status=$?
63002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63003 (exit $ac_status); }; }; then
63004 eval "$as_ac_var=yes"
63005 else
63006 echo "$as_me: failed program was:" >&5
63007 sed 's/^/| /' conftest.$ac_ext >&5
63009 eval "$as_ac_var=no"
63011 rm -f conftest.err conftest.$ac_objext \
63012 conftest$ac_exeext conftest.$ac_ext
63014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63016 if test `eval echo '${'$as_ac_var'}'` = yes; then
63017 cat >>confdefs.h <<_ACEOF
63018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63019 _ACEOF
63021 else
63022 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63024 done
63028 # Used in libmath/Makefile.am.
63029 if test -n "$LIBMATHOBJS"; then
63030 need_libmath=yes
63035 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63036 ac_save_CXXFLAGS="$CXXFLAGS"
63037 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63040 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63041 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63042 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63043 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63044 echo $ECHO_N "(cached) $ECHO_C" >&6
63045 else
63049 ac_ext=cc
63050 ac_cpp='$CXXCPP $CPPFLAGS'
63051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63055 cat >conftest.$ac_ext <<_ACEOF
63056 /* confdefs.h. */
63057 _ACEOF
63058 cat confdefs.h >>conftest.$ac_ext
63059 cat >>conftest.$ac_ext <<_ACEOF
63060 /* end confdefs.h. */
63061 #include <stdlib.h>
63063 main ()
63065 strtold(0, 0);
63067 return 0;
63069 _ACEOF
63070 rm -f conftest.$ac_objext
63071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63072 (eval $ac_compile) 2>conftest.er1
63073 ac_status=$?
63074 grep -v '^ *+' conftest.er1 >conftest.err
63075 rm -f conftest.er1
63076 cat conftest.err >&5
63077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63078 (exit $ac_status); } &&
63079 { ac_try='test -z "$ac_cxx_werror_flag"
63080 || test ! -s conftest.err'
63081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63082 (eval $ac_try) 2>&5
63083 ac_status=$?
63084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63085 (exit $ac_status); }; } &&
63086 { ac_try='test -s conftest.$ac_objext'
63087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63088 (eval $ac_try) 2>&5
63089 ac_status=$?
63090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63091 (exit $ac_status); }; }; then
63092 glibcxx_cv_func_strtold_use=yes
63093 else
63094 echo "$as_me: failed program was:" >&5
63095 sed 's/^/| /' conftest.$ac_ext >&5
63097 glibcxx_cv_func_strtold_use=no
63099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63100 ac_ext=c
63101 ac_cpp='$CPP $CPPFLAGS'
63102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63110 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63111 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63112 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63114 for ac_func in strtold
63116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63117 echo "$as_me:$LINENO: checking for $ac_func" >&5
63118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63119 if eval "test \"\${$as_ac_var+set}\" = set"; then
63120 echo $ECHO_N "(cached) $ECHO_C" >&6
63121 else
63122 if test x$gcc_no_link = xyes; then
63123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63125 { (exit 1); exit 1; }; }
63127 cat >conftest.$ac_ext <<_ACEOF
63128 /* confdefs.h. */
63129 _ACEOF
63130 cat confdefs.h >>conftest.$ac_ext
63131 cat >>conftest.$ac_ext <<_ACEOF
63132 /* end confdefs.h. */
63133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63135 #define $ac_func innocuous_$ac_func
63137 /* System header to define __stub macros and hopefully few prototypes,
63138 which can conflict with char $ac_func (); below.
63139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63140 <limits.h> exists even on freestanding compilers. */
63142 #ifdef __STDC__
63143 # include <limits.h>
63144 #else
63145 # include <assert.h>
63146 #endif
63148 #undef $ac_func
63150 /* Override any gcc2 internal prototype to avoid an error. */
63151 #ifdef __cplusplus
63152 extern "C"
63154 #endif
63155 /* We use char because int might match the return type of a gcc2
63156 builtin and then its argument prototype would still apply. */
63157 char $ac_func ();
63158 /* The GNU C library defines this for functions which it implements
63159 to always fail with ENOSYS. Some functions are actually named
63160 something starting with __ and the normal name is an alias. */
63161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63162 choke me
63163 #else
63164 char (*f) () = $ac_func;
63165 #endif
63166 #ifdef __cplusplus
63168 #endif
63171 main ()
63173 return f != $ac_func;
63175 return 0;
63177 _ACEOF
63178 rm -f conftest.$ac_objext conftest$ac_exeext
63179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63180 (eval $ac_link) 2>conftest.er1
63181 ac_status=$?
63182 grep -v '^ *+' conftest.er1 >conftest.err
63183 rm -f conftest.er1
63184 cat conftest.err >&5
63185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63186 (exit $ac_status); } &&
63187 { ac_try='test -z "$ac_c_werror_flag"
63188 || test ! -s conftest.err'
63189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63190 (eval $ac_try) 2>&5
63191 ac_status=$?
63192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63193 (exit $ac_status); }; } &&
63194 { ac_try='test -s conftest$ac_exeext'
63195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63196 (eval $ac_try) 2>&5
63197 ac_status=$?
63198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63199 (exit $ac_status); }; }; then
63200 eval "$as_ac_var=yes"
63201 else
63202 echo "$as_me: failed program was:" >&5
63203 sed 's/^/| /' conftest.$ac_ext >&5
63205 eval "$as_ac_var=no"
63207 rm -f conftest.err conftest.$ac_objext \
63208 conftest$ac_exeext conftest.$ac_ext
63210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63212 if test `eval echo '${'$as_ac_var'}'` = yes; then
63213 cat >>confdefs.h <<_ACEOF
63214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63215 _ACEOF
63218 done
63226 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63227 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63228 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63229 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63230 echo $ECHO_N "(cached) $ECHO_C" >&6
63231 else
63235 ac_ext=cc
63236 ac_cpp='$CXXCPP $CPPFLAGS'
63237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63241 cat >conftest.$ac_ext <<_ACEOF
63242 /* confdefs.h. */
63243 _ACEOF
63244 cat confdefs.h >>conftest.$ac_ext
63245 cat >>conftest.$ac_ext <<_ACEOF
63246 /* end confdefs.h. */
63247 #include <stdlib.h>
63249 main ()
63251 strtof(0, 0);
63253 return 0;
63255 _ACEOF
63256 rm -f conftest.$ac_objext
63257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63258 (eval $ac_compile) 2>conftest.er1
63259 ac_status=$?
63260 grep -v '^ *+' conftest.er1 >conftest.err
63261 rm -f conftest.er1
63262 cat conftest.err >&5
63263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63264 (exit $ac_status); } &&
63265 { ac_try='test -z "$ac_cxx_werror_flag"
63266 || test ! -s conftest.err'
63267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63268 (eval $ac_try) 2>&5
63269 ac_status=$?
63270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63271 (exit $ac_status); }; } &&
63272 { ac_try='test -s conftest.$ac_objext'
63273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63274 (eval $ac_try) 2>&5
63275 ac_status=$?
63276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63277 (exit $ac_status); }; }; then
63278 glibcxx_cv_func_strtof_use=yes
63279 else
63280 echo "$as_me: failed program was:" >&5
63281 sed 's/^/| /' conftest.$ac_ext >&5
63283 glibcxx_cv_func_strtof_use=no
63285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63286 ac_ext=c
63287 ac_cpp='$CPP $CPPFLAGS'
63288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63297 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63298 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63300 for ac_func in strtof
63302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63303 echo "$as_me:$LINENO: checking for $ac_func" >&5
63304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63305 if eval "test \"\${$as_ac_var+set}\" = set"; then
63306 echo $ECHO_N "(cached) $ECHO_C" >&6
63307 else
63308 if test x$gcc_no_link = xyes; then
63309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63311 { (exit 1); exit 1; }; }
63313 cat >conftest.$ac_ext <<_ACEOF
63314 /* confdefs.h. */
63315 _ACEOF
63316 cat confdefs.h >>conftest.$ac_ext
63317 cat >>conftest.$ac_ext <<_ACEOF
63318 /* end confdefs.h. */
63319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63321 #define $ac_func innocuous_$ac_func
63323 /* System header to define __stub macros and hopefully few prototypes,
63324 which can conflict with char $ac_func (); below.
63325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63326 <limits.h> exists even on freestanding compilers. */
63328 #ifdef __STDC__
63329 # include <limits.h>
63330 #else
63331 # include <assert.h>
63332 #endif
63334 #undef $ac_func
63336 /* Override any gcc2 internal prototype to avoid an error. */
63337 #ifdef __cplusplus
63338 extern "C"
63340 #endif
63341 /* We use char because int might match the return type of a gcc2
63342 builtin and then its argument prototype would still apply. */
63343 char $ac_func ();
63344 /* The GNU C library defines this for functions which it implements
63345 to always fail with ENOSYS. Some functions are actually named
63346 something starting with __ and the normal name is an alias. */
63347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63348 choke me
63349 #else
63350 char (*f) () = $ac_func;
63351 #endif
63352 #ifdef __cplusplus
63354 #endif
63357 main ()
63359 return f != $ac_func;
63361 return 0;
63363 _ACEOF
63364 rm -f conftest.$ac_objext conftest$ac_exeext
63365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63366 (eval $ac_link) 2>conftest.er1
63367 ac_status=$?
63368 grep -v '^ *+' conftest.er1 >conftest.err
63369 rm -f conftest.er1
63370 cat conftest.err >&5
63371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63372 (exit $ac_status); } &&
63373 { ac_try='test -z "$ac_c_werror_flag"
63374 || test ! -s conftest.err'
63375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63376 (eval $ac_try) 2>&5
63377 ac_status=$?
63378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63379 (exit $ac_status); }; } &&
63380 { ac_try='test -s conftest$ac_exeext'
63381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63382 (eval $ac_try) 2>&5
63383 ac_status=$?
63384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63385 (exit $ac_status); }; }; then
63386 eval "$as_ac_var=yes"
63387 else
63388 echo "$as_me: failed program was:" >&5
63389 sed 's/^/| /' conftest.$ac_ext >&5
63391 eval "$as_ac_var=no"
63393 rm -f conftest.err conftest.$ac_objext \
63394 conftest$ac_exeext conftest.$ac_ext
63396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63398 if test `eval echo '${'$as_ac_var'}'` = yes; then
63399 cat >>confdefs.h <<_ACEOF
63400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63401 _ACEOF
63404 done
63412 CXXFLAGS="$ac_save_CXXFLAGS"
63415 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63416 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63417 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63418 echo $ECHO_N "(cached) $ECHO_C" >&6
63419 else
63421 if test x$gcc_no_link = xyes; then
63422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63424 { (exit 1); exit 1; }; }
63426 cat >conftest.$ac_ext <<_ACEOF
63427 /* confdefs.h. */
63428 _ACEOF
63429 cat confdefs.h >>conftest.$ac_ext
63430 cat >>conftest.$ac_ext <<_ACEOF
63431 /* end confdefs.h. */
63432 #include <sys/stat.h>
63434 main ()
63436 struct stat buffer;
63437 fstat(0, &buffer);
63438 S_ISREG(buffer.st_mode);
63440 return 0;
63442 _ACEOF
63443 rm -f conftest.$ac_objext conftest$ac_exeext
63444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63445 (eval $ac_link) 2>conftest.er1
63446 ac_status=$?
63447 grep -v '^ *+' conftest.er1 >conftest.err
63448 rm -f conftest.er1
63449 cat conftest.err >&5
63450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63451 (exit $ac_status); } &&
63452 { ac_try='test -z "$ac_c_werror_flag"
63453 || test ! -s conftest.err'
63454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63455 (eval $ac_try) 2>&5
63456 ac_status=$?
63457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63458 (exit $ac_status); }; } &&
63459 { ac_try='test -s conftest$ac_exeext'
63460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63461 (eval $ac_try) 2>&5
63462 ac_status=$?
63463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464 (exit $ac_status); }; }; then
63465 glibcxx_cv_S_ISREG=yes
63466 else
63467 echo "$as_me: failed program was:" >&5
63468 sed 's/^/| /' conftest.$ac_ext >&5
63470 glibcxx_cv_S_ISREG=no
63472 rm -f conftest.err conftest.$ac_objext \
63473 conftest$ac_exeext conftest.$ac_ext
63477 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63478 echo $ECHO_N "(cached) $ECHO_C" >&6
63479 else
63481 if test x$gcc_no_link = xyes; then
63482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63484 { (exit 1); exit 1; }; }
63486 cat >conftest.$ac_ext <<_ACEOF
63487 /* confdefs.h. */
63488 _ACEOF
63489 cat confdefs.h >>conftest.$ac_ext
63490 cat >>conftest.$ac_ext <<_ACEOF
63491 /* end confdefs.h. */
63492 #include <sys/stat.h>
63494 main ()
63496 struct stat buffer;
63497 fstat(0, &buffer);
63498 S_IFREG & buffer.st_mode;
63500 return 0;
63502 _ACEOF
63503 rm -f conftest.$ac_objext conftest$ac_exeext
63504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63505 (eval $ac_link) 2>conftest.er1
63506 ac_status=$?
63507 grep -v '^ *+' conftest.er1 >conftest.err
63508 rm -f conftest.er1
63509 cat conftest.err >&5
63510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63511 (exit $ac_status); } &&
63512 { ac_try='test -z "$ac_c_werror_flag"
63513 || test ! -s conftest.err'
63514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63515 (eval $ac_try) 2>&5
63516 ac_status=$?
63517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63518 (exit $ac_status); }; } &&
63519 { ac_try='test -s conftest$ac_exeext'
63520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63521 (eval $ac_try) 2>&5
63522 ac_status=$?
63523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63524 (exit $ac_status); }; }; then
63525 glibcxx_cv_S_IFREG=yes
63526 else
63527 echo "$as_me: failed program was:" >&5
63528 sed 's/^/| /' conftest.$ac_ext >&5
63530 glibcxx_cv_S_IFREG=no
63532 rm -f conftest.err conftest.$ac_objext \
63533 conftest$ac_exeext conftest.$ac_ext
63537 res=no
63538 if test $glibcxx_cv_S_ISREG = yes; then
63540 cat >>confdefs.h <<\_ACEOF
63541 #define HAVE_S_ISREG 1
63542 _ACEOF
63544 res=S_ISREG
63545 elif test $glibcxx_cv_S_IFREG = yes; then
63547 cat >>confdefs.h <<\_ACEOF
63548 #define HAVE_S_IFREG 1
63549 _ACEOF
63551 res=S_IFREG
63553 echo "$as_me:$LINENO: result: $res" >&5
63554 echo "${ECHO_T}$res" >&6
63556 cat >>confdefs.h <<\_ACEOF
63557 #define HAVE_SIGSETJMP 1
63558 _ACEOF
63560 cat >>confdefs.h <<\_ACEOF
63561 #define HAVE_GETPAGESIZE 1
63562 _ACEOF
63564 cat >>confdefs.h <<\_ACEOF
63565 #define HAVE_WRITEV 1
63566 _ACEOF
63568 cat >>confdefs.h <<\_ACEOF
63569 #define HAVE_INT64_T 1
63570 _ACEOF
63573 cat >>confdefs.h <<\_ACEOF
63574 #define HAVE_LIBM 1
63575 _ACEOF
63577 cat >>confdefs.h <<\_ACEOF
63578 #define HAVE_COPYSIGN 1
63579 _ACEOF
63581 cat >>confdefs.h <<\_ACEOF
63582 #define HAVE_FINITE 1
63583 _ACEOF
63585 cat >>confdefs.h <<\_ACEOF
63586 #define HAVE_HYPOT 1
63587 _ACEOF
63589 cat >>confdefs.h <<\_ACEOF
63590 #define HAVE_ISNAN 1
63591 _ACEOF
63593 cat >>confdefs.h <<\_ACEOF
63594 #define HAVE_ISINF 1
63595 _ACEOF
63598 cat >>confdefs.h <<\_ACEOF
63599 #define HAVE_LDEXPF 1
63600 _ACEOF
63602 cat >>confdefs.h <<\_ACEOF
63603 #define HAVE_MODF 1
63604 _ACEOF
63606 cat >>confdefs.h <<\_ACEOF
63607 #define HAVE_SQRTF 1
63608 _ACEOF
63612 *-darwin*)
63613 # Darwin versions vary, but the linker should work in a cross environment,
63614 # so we just check for all the features here.
63615 # Check for available headers.
63629 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63630 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63631 sys/types.h
63633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63635 echo "$as_me:$LINENO: checking for $ac_header" >&5
63636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63638 echo $ECHO_N "(cached) $ECHO_C" >&6
63640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63642 else
63643 # Is the header compilable?
63644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
63653 #include <$ac_header>
63654 _ACEOF
63655 rm -f conftest.$ac_objext
63656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63657 (eval $ac_compile) 2>conftest.er1
63658 ac_status=$?
63659 grep -v '^ *+' conftest.er1 >conftest.err
63660 rm -f conftest.er1
63661 cat conftest.err >&5
63662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63663 (exit $ac_status); } &&
63664 { ac_try='test -z "$ac_c_werror_flag"
63665 || test ! -s conftest.err'
63666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63667 (eval $ac_try) 2>&5
63668 ac_status=$?
63669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63670 (exit $ac_status); }; } &&
63671 { ac_try='test -s conftest.$ac_objext'
63672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63673 (eval $ac_try) 2>&5
63674 ac_status=$?
63675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63676 (exit $ac_status); }; }; then
63677 ac_header_compiler=yes
63678 else
63679 echo "$as_me: failed program was:" >&5
63680 sed 's/^/| /' conftest.$ac_ext >&5
63682 ac_header_compiler=no
63684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63686 echo "${ECHO_T}$ac_header_compiler" >&6
63688 # Is the header present?
63689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63691 cat >conftest.$ac_ext <<_ACEOF
63692 /* confdefs.h. */
63693 _ACEOF
63694 cat confdefs.h >>conftest.$ac_ext
63695 cat >>conftest.$ac_ext <<_ACEOF
63696 /* end confdefs.h. */
63697 #include <$ac_header>
63698 _ACEOF
63699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63701 ac_status=$?
63702 grep -v '^ *+' conftest.er1 >conftest.err
63703 rm -f conftest.er1
63704 cat conftest.err >&5
63705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63706 (exit $ac_status); } >/dev/null; then
63707 if test -s conftest.err; then
63708 ac_cpp_err=$ac_c_preproc_warn_flag
63709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63710 else
63711 ac_cpp_err=
63713 else
63714 ac_cpp_err=yes
63716 if test -z "$ac_cpp_err"; then
63717 ac_header_preproc=yes
63718 else
63719 echo "$as_me: failed program was:" >&5
63720 sed 's/^/| /' conftest.$ac_ext >&5
63722 ac_header_preproc=no
63724 rm -f conftest.err conftest.$ac_ext
63725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63726 echo "${ECHO_T}$ac_header_preproc" >&6
63728 # So? What about this header?
63729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63730 yes:no: )
63731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63735 ac_header_preproc=yes
63737 no:yes:* )
63738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63751 cat <<\_ASBOX
63752 ## ----------------------------------------- ##
63753 ## Report this to the package-unused lists. ##
63754 ## ----------------------------------------- ##
63755 _ASBOX
63757 sed "s/^/$as_me: WARNING: /" >&2
63759 esac
63760 echo "$as_me:$LINENO: checking for $ac_header" >&5
63761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63763 echo $ECHO_N "(cached) $ECHO_C" >&6
63764 else
63765 eval "$as_ac_Header=\$ac_header_preproc"
63767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63772 cat >>confdefs.h <<_ACEOF
63773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63774 _ACEOF
63778 done
63781 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
63783 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63784 ac_save_CXXFLAGS="$CXXFLAGS"
63785 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63787 echo "$as_me:$LINENO: checking for sin in -lm" >&5
63788 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
63789 if test "${ac_cv_lib_m_sin+set}" = set; then
63790 echo $ECHO_N "(cached) $ECHO_C" >&6
63791 else
63792 ac_check_lib_save_LIBS=$LIBS
63793 LIBS="-lm $LIBS"
63794 if test x$gcc_no_link = xyes; then
63795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63797 { (exit 1); exit 1; }; }
63799 cat >conftest.$ac_ext <<_ACEOF
63800 /* confdefs.h. */
63801 _ACEOF
63802 cat confdefs.h >>conftest.$ac_ext
63803 cat >>conftest.$ac_ext <<_ACEOF
63804 /* end confdefs.h. */
63806 /* Override any gcc2 internal prototype to avoid an error. */
63807 #ifdef __cplusplus
63808 extern "C"
63809 #endif
63810 /* We use char because int might match the return type of a gcc2
63811 builtin and then its argument prototype would still apply. */
63812 char sin ();
63814 main ()
63816 sin ();
63818 return 0;
63820 _ACEOF
63821 rm -f conftest.$ac_objext conftest$ac_exeext
63822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63823 (eval $ac_link) 2>conftest.er1
63824 ac_status=$?
63825 grep -v '^ *+' conftest.er1 >conftest.err
63826 rm -f conftest.er1
63827 cat conftest.err >&5
63828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63829 (exit $ac_status); } &&
63830 { ac_try='test -z "$ac_c_werror_flag"
63831 || test ! -s conftest.err'
63832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63833 (eval $ac_try) 2>&5
63834 ac_status=$?
63835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63836 (exit $ac_status); }; } &&
63837 { ac_try='test -s conftest$ac_exeext'
63838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63839 (eval $ac_try) 2>&5
63840 ac_status=$?
63841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63842 (exit $ac_status); }; }; then
63843 ac_cv_lib_m_sin=yes
63844 else
63845 echo "$as_me: failed program was:" >&5
63846 sed 's/^/| /' conftest.$ac_ext >&5
63848 ac_cv_lib_m_sin=no
63850 rm -f conftest.err conftest.$ac_objext \
63851 conftest$ac_exeext conftest.$ac_ext
63852 LIBS=$ac_check_lib_save_LIBS
63854 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
63855 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
63856 if test $ac_cv_lib_m_sin = yes; then
63857 libm="-lm"
63860 ac_save_LIBS="$LIBS"
63861 LIBS="$LIBS $libm"
63865 echo "$as_me:$LINENO: checking for isinf declaration" >&5
63866 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
63867 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63868 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
63869 echo $ECHO_N "(cached) $ECHO_C" >&6
63870 else
63874 ac_ext=cc
63875 ac_cpp='$CXXCPP $CPPFLAGS'
63876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63880 cat >conftest.$ac_ext <<_ACEOF
63881 /* confdefs.h. */
63882 _ACEOF
63883 cat confdefs.h >>conftest.$ac_ext
63884 cat >>conftest.$ac_ext <<_ACEOF
63885 /* end confdefs.h. */
63886 #include <math.h>
63887 #ifdef HAVE_IEEEFP_H
63888 #include <ieeefp.h>
63889 #endif
63892 main ()
63894 isinf(0);
63896 return 0;
63898 _ACEOF
63899 rm -f conftest.$ac_objext
63900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63901 (eval $ac_compile) 2>conftest.er1
63902 ac_status=$?
63903 grep -v '^ *+' conftest.er1 >conftest.err
63904 rm -f conftest.er1
63905 cat conftest.err >&5
63906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63907 (exit $ac_status); } &&
63908 { ac_try='test -z "$ac_cxx_werror_flag"
63909 || test ! -s conftest.err'
63910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63911 (eval $ac_try) 2>&5
63912 ac_status=$?
63913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63914 (exit $ac_status); }; } &&
63915 { ac_try='test -s conftest.$ac_objext'
63916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63917 (eval $ac_try) 2>&5
63918 ac_status=$?
63919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63920 (exit $ac_status); }; }; then
63921 glibcxx_cv_func_isinf_use=yes
63922 else
63923 echo "$as_me: failed program was:" >&5
63924 sed 's/^/| /' conftest.$ac_ext >&5
63926 glibcxx_cv_func_isinf_use=no
63928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63929 ac_ext=c
63930 ac_cpp='$CPP $CPPFLAGS'
63931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
63940 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
63942 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63944 for ac_func in isinf
63946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63947 echo "$as_me:$LINENO: checking for $ac_func" >&5
63948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63949 if eval "test \"\${$as_ac_var+set}\" = set"; then
63950 echo $ECHO_N "(cached) $ECHO_C" >&6
63951 else
63952 if test x$gcc_no_link = xyes; then
63953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63955 { (exit 1); exit 1; }; }
63957 cat >conftest.$ac_ext <<_ACEOF
63958 /* confdefs.h. */
63959 _ACEOF
63960 cat confdefs.h >>conftest.$ac_ext
63961 cat >>conftest.$ac_ext <<_ACEOF
63962 /* end confdefs.h. */
63963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63965 #define $ac_func innocuous_$ac_func
63967 /* System header to define __stub macros and hopefully few prototypes,
63968 which can conflict with char $ac_func (); below.
63969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63970 <limits.h> exists even on freestanding compilers. */
63972 #ifdef __STDC__
63973 # include <limits.h>
63974 #else
63975 # include <assert.h>
63976 #endif
63978 #undef $ac_func
63980 /* Override any gcc2 internal prototype to avoid an error. */
63981 #ifdef __cplusplus
63982 extern "C"
63984 #endif
63985 /* We use char because int might match the return type of a gcc2
63986 builtin and then its argument prototype would still apply. */
63987 char $ac_func ();
63988 /* The GNU C library defines this for functions which it implements
63989 to always fail with ENOSYS. Some functions are actually named
63990 something starting with __ and the normal name is an alias. */
63991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63992 choke me
63993 #else
63994 char (*f) () = $ac_func;
63995 #endif
63996 #ifdef __cplusplus
63998 #endif
64001 main ()
64003 return f != $ac_func;
64005 return 0;
64007 _ACEOF
64008 rm -f conftest.$ac_objext conftest$ac_exeext
64009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64010 (eval $ac_link) 2>conftest.er1
64011 ac_status=$?
64012 grep -v '^ *+' conftest.er1 >conftest.err
64013 rm -f conftest.er1
64014 cat conftest.err >&5
64015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64016 (exit $ac_status); } &&
64017 { ac_try='test -z "$ac_c_werror_flag"
64018 || test ! -s conftest.err'
64019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64020 (eval $ac_try) 2>&5
64021 ac_status=$?
64022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64023 (exit $ac_status); }; } &&
64024 { ac_try='test -s conftest$ac_exeext'
64025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64026 (eval $ac_try) 2>&5
64027 ac_status=$?
64028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64029 (exit $ac_status); }; }; then
64030 eval "$as_ac_var=yes"
64031 else
64032 echo "$as_me: failed program was:" >&5
64033 sed 's/^/| /' conftest.$ac_ext >&5
64035 eval "$as_ac_var=no"
64037 rm -f conftest.err conftest.$ac_objext \
64038 conftest$ac_exeext conftest.$ac_ext
64040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64042 if test `eval echo '${'$as_ac_var'}'` = yes; then
64043 cat >>confdefs.h <<_ACEOF
64044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64045 _ACEOF
64048 done
64050 else
64052 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64053 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64054 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64055 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64056 echo $ECHO_N "(cached) $ECHO_C" >&6
64057 else
64061 ac_ext=cc
64062 ac_cpp='$CXXCPP $CPPFLAGS'
64063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64067 cat >conftest.$ac_ext <<_ACEOF
64068 /* confdefs.h. */
64069 _ACEOF
64070 cat confdefs.h >>conftest.$ac_ext
64071 cat >>conftest.$ac_ext <<_ACEOF
64072 /* end confdefs.h. */
64073 #include <math.h>
64074 #ifdef HAVE_IEEEFP_H
64075 #include <ieeefp.h>
64076 #endif
64079 main ()
64081 _isinf(0);
64083 return 0;
64085 _ACEOF
64086 rm -f conftest.$ac_objext
64087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64088 (eval $ac_compile) 2>conftest.er1
64089 ac_status=$?
64090 grep -v '^ *+' conftest.er1 >conftest.err
64091 rm -f conftest.er1
64092 cat conftest.err >&5
64093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64094 (exit $ac_status); } &&
64095 { ac_try='test -z "$ac_cxx_werror_flag"
64096 || test ! -s conftest.err'
64097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64098 (eval $ac_try) 2>&5
64099 ac_status=$?
64100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64101 (exit $ac_status); }; } &&
64102 { ac_try='test -s conftest.$ac_objext'
64103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64104 (eval $ac_try) 2>&5
64105 ac_status=$?
64106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64107 (exit $ac_status); }; }; then
64108 glibcxx_cv_func__isinf_use=yes
64109 else
64110 echo "$as_me: failed program was:" >&5
64111 sed 's/^/| /' conftest.$ac_ext >&5
64113 glibcxx_cv_func__isinf_use=no
64115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64116 ac_ext=c
64117 ac_cpp='$CPP $CPPFLAGS'
64118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64127 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64129 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64131 for ac_func in _isinf
64133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64134 echo "$as_me:$LINENO: checking for $ac_func" >&5
64135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64136 if eval "test \"\${$as_ac_var+set}\" = set"; then
64137 echo $ECHO_N "(cached) $ECHO_C" >&6
64138 else
64139 if test x$gcc_no_link = xyes; then
64140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64142 { (exit 1); exit 1; }; }
64144 cat >conftest.$ac_ext <<_ACEOF
64145 /* confdefs.h. */
64146 _ACEOF
64147 cat confdefs.h >>conftest.$ac_ext
64148 cat >>conftest.$ac_ext <<_ACEOF
64149 /* end confdefs.h. */
64150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64152 #define $ac_func innocuous_$ac_func
64154 /* System header to define __stub macros and hopefully few prototypes,
64155 which can conflict with char $ac_func (); below.
64156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64157 <limits.h> exists even on freestanding compilers. */
64159 #ifdef __STDC__
64160 # include <limits.h>
64161 #else
64162 # include <assert.h>
64163 #endif
64165 #undef $ac_func
64167 /* Override any gcc2 internal prototype to avoid an error. */
64168 #ifdef __cplusplus
64169 extern "C"
64171 #endif
64172 /* We use char because int might match the return type of a gcc2
64173 builtin and then its argument prototype would still apply. */
64174 char $ac_func ();
64175 /* The GNU C library defines this for functions which it implements
64176 to always fail with ENOSYS. Some functions are actually named
64177 something starting with __ and the normal name is an alias. */
64178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64179 choke me
64180 #else
64181 char (*f) () = $ac_func;
64182 #endif
64183 #ifdef __cplusplus
64185 #endif
64188 main ()
64190 return f != $ac_func;
64192 return 0;
64194 _ACEOF
64195 rm -f conftest.$ac_objext conftest$ac_exeext
64196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64197 (eval $ac_link) 2>conftest.er1
64198 ac_status=$?
64199 grep -v '^ *+' conftest.er1 >conftest.err
64200 rm -f conftest.er1
64201 cat conftest.err >&5
64202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64203 (exit $ac_status); } &&
64204 { ac_try='test -z "$ac_c_werror_flag"
64205 || test ! -s conftest.err'
64206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207 (eval $ac_try) 2>&5
64208 ac_status=$?
64209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210 (exit $ac_status); }; } &&
64211 { ac_try='test -s conftest$ac_exeext'
64212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64213 (eval $ac_try) 2>&5
64214 ac_status=$?
64215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64216 (exit $ac_status); }; }; then
64217 eval "$as_ac_var=yes"
64218 else
64219 echo "$as_me: failed program was:" >&5
64220 sed 's/^/| /' conftest.$ac_ext >&5
64222 eval "$as_ac_var=no"
64224 rm -f conftest.err conftest.$ac_objext \
64225 conftest$ac_exeext conftest.$ac_ext
64227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64229 if test `eval echo '${'$as_ac_var'}'` = yes; then
64230 cat >>confdefs.h <<_ACEOF
64231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64232 _ACEOF
64235 done
64245 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64246 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64247 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64248 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64249 echo $ECHO_N "(cached) $ECHO_C" >&6
64250 else
64254 ac_ext=cc
64255 ac_cpp='$CXXCPP $CPPFLAGS'
64256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64260 cat >conftest.$ac_ext <<_ACEOF
64261 /* confdefs.h. */
64262 _ACEOF
64263 cat confdefs.h >>conftest.$ac_ext
64264 cat >>conftest.$ac_ext <<_ACEOF
64265 /* end confdefs.h. */
64266 #include <math.h>
64267 #ifdef HAVE_IEEEFP_H
64268 #include <ieeefp.h>
64269 #endif
64272 main ()
64274 isnan(0);
64276 return 0;
64278 _ACEOF
64279 rm -f conftest.$ac_objext
64280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64281 (eval $ac_compile) 2>conftest.er1
64282 ac_status=$?
64283 grep -v '^ *+' conftest.er1 >conftest.err
64284 rm -f conftest.er1
64285 cat conftest.err >&5
64286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64287 (exit $ac_status); } &&
64288 { ac_try='test -z "$ac_cxx_werror_flag"
64289 || test ! -s conftest.err'
64290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64291 (eval $ac_try) 2>&5
64292 ac_status=$?
64293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64294 (exit $ac_status); }; } &&
64295 { ac_try='test -s conftest.$ac_objext'
64296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64297 (eval $ac_try) 2>&5
64298 ac_status=$?
64299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64300 (exit $ac_status); }; }; then
64301 glibcxx_cv_func_isnan_use=yes
64302 else
64303 echo "$as_me: failed program was:" >&5
64304 sed 's/^/| /' conftest.$ac_ext >&5
64306 glibcxx_cv_func_isnan_use=no
64308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64309 ac_ext=c
64310 ac_cpp='$CPP $CPPFLAGS'
64311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64320 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64322 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64324 for ac_func in isnan
64326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64327 echo "$as_me:$LINENO: checking for $ac_func" >&5
64328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64329 if eval "test \"\${$as_ac_var+set}\" = set"; then
64330 echo $ECHO_N "(cached) $ECHO_C" >&6
64331 else
64332 if test x$gcc_no_link = xyes; then
64333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64335 { (exit 1); exit 1; }; }
64337 cat >conftest.$ac_ext <<_ACEOF
64338 /* confdefs.h. */
64339 _ACEOF
64340 cat confdefs.h >>conftest.$ac_ext
64341 cat >>conftest.$ac_ext <<_ACEOF
64342 /* end confdefs.h. */
64343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64345 #define $ac_func innocuous_$ac_func
64347 /* System header to define __stub macros and hopefully few prototypes,
64348 which can conflict with char $ac_func (); below.
64349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64350 <limits.h> exists even on freestanding compilers. */
64352 #ifdef __STDC__
64353 # include <limits.h>
64354 #else
64355 # include <assert.h>
64356 #endif
64358 #undef $ac_func
64360 /* Override any gcc2 internal prototype to avoid an error. */
64361 #ifdef __cplusplus
64362 extern "C"
64364 #endif
64365 /* We use char because int might match the return type of a gcc2
64366 builtin and then its argument prototype would still apply. */
64367 char $ac_func ();
64368 /* The GNU C library defines this for functions which it implements
64369 to always fail with ENOSYS. Some functions are actually named
64370 something starting with __ and the normal name is an alias. */
64371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64372 choke me
64373 #else
64374 char (*f) () = $ac_func;
64375 #endif
64376 #ifdef __cplusplus
64378 #endif
64381 main ()
64383 return f != $ac_func;
64385 return 0;
64387 _ACEOF
64388 rm -f conftest.$ac_objext conftest$ac_exeext
64389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64390 (eval $ac_link) 2>conftest.er1
64391 ac_status=$?
64392 grep -v '^ *+' conftest.er1 >conftest.err
64393 rm -f conftest.er1
64394 cat conftest.err >&5
64395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64396 (exit $ac_status); } &&
64397 { ac_try='test -z "$ac_c_werror_flag"
64398 || test ! -s conftest.err'
64399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64400 (eval $ac_try) 2>&5
64401 ac_status=$?
64402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64403 (exit $ac_status); }; } &&
64404 { ac_try='test -s conftest$ac_exeext'
64405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64406 (eval $ac_try) 2>&5
64407 ac_status=$?
64408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64409 (exit $ac_status); }; }; then
64410 eval "$as_ac_var=yes"
64411 else
64412 echo "$as_me: failed program was:" >&5
64413 sed 's/^/| /' conftest.$ac_ext >&5
64415 eval "$as_ac_var=no"
64417 rm -f conftest.err conftest.$ac_objext \
64418 conftest$ac_exeext conftest.$ac_ext
64420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64422 if test `eval echo '${'$as_ac_var'}'` = yes; then
64423 cat >>confdefs.h <<_ACEOF
64424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64425 _ACEOF
64428 done
64430 else
64432 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64433 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64434 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64435 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64436 echo $ECHO_N "(cached) $ECHO_C" >&6
64437 else
64441 ac_ext=cc
64442 ac_cpp='$CXXCPP $CPPFLAGS'
64443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64447 cat >conftest.$ac_ext <<_ACEOF
64448 /* confdefs.h. */
64449 _ACEOF
64450 cat confdefs.h >>conftest.$ac_ext
64451 cat >>conftest.$ac_ext <<_ACEOF
64452 /* end confdefs.h. */
64453 #include <math.h>
64454 #ifdef HAVE_IEEEFP_H
64455 #include <ieeefp.h>
64456 #endif
64459 main ()
64461 _isnan(0);
64463 return 0;
64465 _ACEOF
64466 rm -f conftest.$ac_objext
64467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64468 (eval $ac_compile) 2>conftest.er1
64469 ac_status=$?
64470 grep -v '^ *+' conftest.er1 >conftest.err
64471 rm -f conftest.er1
64472 cat conftest.err >&5
64473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64474 (exit $ac_status); } &&
64475 { ac_try='test -z "$ac_cxx_werror_flag"
64476 || test ! -s conftest.err'
64477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64478 (eval $ac_try) 2>&5
64479 ac_status=$?
64480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64481 (exit $ac_status); }; } &&
64482 { ac_try='test -s conftest.$ac_objext'
64483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64484 (eval $ac_try) 2>&5
64485 ac_status=$?
64486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64487 (exit $ac_status); }; }; then
64488 glibcxx_cv_func__isnan_use=yes
64489 else
64490 echo "$as_me: failed program was:" >&5
64491 sed 's/^/| /' conftest.$ac_ext >&5
64493 glibcxx_cv_func__isnan_use=no
64495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64496 ac_ext=c
64497 ac_cpp='$CPP $CPPFLAGS'
64498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64507 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64509 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64511 for ac_func in _isnan
64513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64514 echo "$as_me:$LINENO: checking for $ac_func" >&5
64515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64516 if eval "test \"\${$as_ac_var+set}\" = set"; then
64517 echo $ECHO_N "(cached) $ECHO_C" >&6
64518 else
64519 if test x$gcc_no_link = xyes; then
64520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64522 { (exit 1); exit 1; }; }
64524 cat >conftest.$ac_ext <<_ACEOF
64525 /* confdefs.h. */
64526 _ACEOF
64527 cat confdefs.h >>conftest.$ac_ext
64528 cat >>conftest.$ac_ext <<_ACEOF
64529 /* end confdefs.h. */
64530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64532 #define $ac_func innocuous_$ac_func
64534 /* System header to define __stub macros and hopefully few prototypes,
64535 which can conflict with char $ac_func (); below.
64536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64537 <limits.h> exists even on freestanding compilers. */
64539 #ifdef __STDC__
64540 # include <limits.h>
64541 #else
64542 # include <assert.h>
64543 #endif
64545 #undef $ac_func
64547 /* Override any gcc2 internal prototype to avoid an error. */
64548 #ifdef __cplusplus
64549 extern "C"
64551 #endif
64552 /* We use char because int might match the return type of a gcc2
64553 builtin and then its argument prototype would still apply. */
64554 char $ac_func ();
64555 /* The GNU C library defines this for functions which it implements
64556 to always fail with ENOSYS. Some functions are actually named
64557 something starting with __ and the normal name is an alias. */
64558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64559 choke me
64560 #else
64561 char (*f) () = $ac_func;
64562 #endif
64563 #ifdef __cplusplus
64565 #endif
64568 main ()
64570 return f != $ac_func;
64572 return 0;
64574 _ACEOF
64575 rm -f conftest.$ac_objext conftest$ac_exeext
64576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64577 (eval $ac_link) 2>conftest.er1
64578 ac_status=$?
64579 grep -v '^ *+' conftest.er1 >conftest.err
64580 rm -f conftest.er1
64581 cat conftest.err >&5
64582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64583 (exit $ac_status); } &&
64584 { ac_try='test -z "$ac_c_werror_flag"
64585 || test ! -s conftest.err'
64586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64587 (eval $ac_try) 2>&5
64588 ac_status=$?
64589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64590 (exit $ac_status); }; } &&
64591 { ac_try='test -s conftest$ac_exeext'
64592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64593 (eval $ac_try) 2>&5
64594 ac_status=$?
64595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64596 (exit $ac_status); }; }; then
64597 eval "$as_ac_var=yes"
64598 else
64599 echo "$as_me: failed program was:" >&5
64600 sed 's/^/| /' conftest.$ac_ext >&5
64602 eval "$as_ac_var=no"
64604 rm -f conftest.err conftest.$ac_objext \
64605 conftest$ac_exeext conftest.$ac_ext
64607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64609 if test `eval echo '${'$as_ac_var'}'` = yes; then
64610 cat >>confdefs.h <<_ACEOF
64611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64612 _ACEOF
64615 done
64625 echo "$as_me:$LINENO: checking for finite declaration" >&5
64626 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64627 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64628 if test "${glibcxx_cv_func_finite_use+set}" = set; then
64629 echo $ECHO_N "(cached) $ECHO_C" >&6
64630 else
64634 ac_ext=cc
64635 ac_cpp='$CXXCPP $CPPFLAGS'
64636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64640 cat >conftest.$ac_ext <<_ACEOF
64641 /* confdefs.h. */
64642 _ACEOF
64643 cat confdefs.h >>conftest.$ac_ext
64644 cat >>conftest.$ac_ext <<_ACEOF
64645 /* end confdefs.h. */
64646 #include <math.h>
64647 #ifdef HAVE_IEEEFP_H
64648 #include <ieeefp.h>
64649 #endif
64652 main ()
64654 finite(0);
64656 return 0;
64658 _ACEOF
64659 rm -f conftest.$ac_objext
64660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64661 (eval $ac_compile) 2>conftest.er1
64662 ac_status=$?
64663 grep -v '^ *+' conftest.er1 >conftest.err
64664 rm -f conftest.er1
64665 cat conftest.err >&5
64666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64667 (exit $ac_status); } &&
64668 { ac_try='test -z "$ac_cxx_werror_flag"
64669 || test ! -s conftest.err'
64670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64671 (eval $ac_try) 2>&5
64672 ac_status=$?
64673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64674 (exit $ac_status); }; } &&
64675 { ac_try='test -s conftest.$ac_objext'
64676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64677 (eval $ac_try) 2>&5
64678 ac_status=$?
64679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64680 (exit $ac_status); }; }; then
64681 glibcxx_cv_func_finite_use=yes
64682 else
64683 echo "$as_me: failed program was:" >&5
64684 sed 's/^/| /' conftest.$ac_ext >&5
64686 glibcxx_cv_func_finite_use=no
64688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64689 ac_ext=c
64690 ac_cpp='$CPP $CPPFLAGS'
64691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64699 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64700 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64702 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64704 for ac_func in finite
64706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64707 echo "$as_me:$LINENO: checking for $ac_func" >&5
64708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64709 if eval "test \"\${$as_ac_var+set}\" = set"; then
64710 echo $ECHO_N "(cached) $ECHO_C" >&6
64711 else
64712 if test x$gcc_no_link = xyes; then
64713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64715 { (exit 1); exit 1; }; }
64717 cat >conftest.$ac_ext <<_ACEOF
64718 /* confdefs.h. */
64719 _ACEOF
64720 cat confdefs.h >>conftest.$ac_ext
64721 cat >>conftest.$ac_ext <<_ACEOF
64722 /* end confdefs.h. */
64723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64725 #define $ac_func innocuous_$ac_func
64727 /* System header to define __stub macros and hopefully few prototypes,
64728 which can conflict with char $ac_func (); below.
64729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64730 <limits.h> exists even on freestanding compilers. */
64732 #ifdef __STDC__
64733 # include <limits.h>
64734 #else
64735 # include <assert.h>
64736 #endif
64738 #undef $ac_func
64740 /* Override any gcc2 internal prototype to avoid an error. */
64741 #ifdef __cplusplus
64742 extern "C"
64744 #endif
64745 /* We use char because int might match the return type of a gcc2
64746 builtin and then its argument prototype would still apply. */
64747 char $ac_func ();
64748 /* The GNU C library defines this for functions which it implements
64749 to always fail with ENOSYS. Some functions are actually named
64750 something starting with __ and the normal name is an alias. */
64751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64752 choke me
64753 #else
64754 char (*f) () = $ac_func;
64755 #endif
64756 #ifdef __cplusplus
64758 #endif
64761 main ()
64763 return f != $ac_func;
64765 return 0;
64767 _ACEOF
64768 rm -f conftest.$ac_objext conftest$ac_exeext
64769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64770 (eval $ac_link) 2>conftest.er1
64771 ac_status=$?
64772 grep -v '^ *+' conftest.er1 >conftest.err
64773 rm -f conftest.er1
64774 cat conftest.err >&5
64775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64776 (exit $ac_status); } &&
64777 { ac_try='test -z "$ac_c_werror_flag"
64778 || test ! -s conftest.err'
64779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64780 (eval $ac_try) 2>&5
64781 ac_status=$?
64782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783 (exit $ac_status); }; } &&
64784 { ac_try='test -s conftest$ac_exeext'
64785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64786 (eval $ac_try) 2>&5
64787 ac_status=$?
64788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64789 (exit $ac_status); }; }; then
64790 eval "$as_ac_var=yes"
64791 else
64792 echo "$as_me: failed program was:" >&5
64793 sed 's/^/| /' conftest.$ac_ext >&5
64795 eval "$as_ac_var=no"
64797 rm -f conftest.err conftest.$ac_objext \
64798 conftest$ac_exeext conftest.$ac_ext
64800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64802 if test `eval echo '${'$as_ac_var'}'` = yes; then
64803 cat >>confdefs.h <<_ACEOF
64804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64805 _ACEOF
64808 done
64810 else
64812 echo "$as_me:$LINENO: checking for _finite declaration" >&5
64813 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
64814 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64815 if test "${glibcxx_cv_func__finite_use+set}" = set; then
64816 echo $ECHO_N "(cached) $ECHO_C" >&6
64817 else
64821 ac_ext=cc
64822 ac_cpp='$CXXCPP $CPPFLAGS'
64823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64827 cat >conftest.$ac_ext <<_ACEOF
64828 /* confdefs.h. */
64829 _ACEOF
64830 cat confdefs.h >>conftest.$ac_ext
64831 cat >>conftest.$ac_ext <<_ACEOF
64832 /* end confdefs.h. */
64833 #include <math.h>
64834 #ifdef HAVE_IEEEFP_H
64835 #include <ieeefp.h>
64836 #endif
64839 main ()
64841 _finite(0);
64843 return 0;
64845 _ACEOF
64846 rm -f conftest.$ac_objext
64847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64848 (eval $ac_compile) 2>conftest.er1
64849 ac_status=$?
64850 grep -v '^ *+' conftest.er1 >conftest.err
64851 rm -f conftest.er1
64852 cat conftest.err >&5
64853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64854 (exit $ac_status); } &&
64855 { ac_try='test -z "$ac_cxx_werror_flag"
64856 || test ! -s conftest.err'
64857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64858 (eval $ac_try) 2>&5
64859 ac_status=$?
64860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64861 (exit $ac_status); }; } &&
64862 { ac_try='test -s conftest.$ac_objext'
64863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64864 (eval $ac_try) 2>&5
64865 ac_status=$?
64866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64867 (exit $ac_status); }; }; then
64868 glibcxx_cv_func__finite_use=yes
64869 else
64870 echo "$as_me: failed program was:" >&5
64871 sed 's/^/| /' conftest.$ac_ext >&5
64873 glibcxx_cv_func__finite_use=no
64875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64876 ac_ext=c
64877 ac_cpp='$CPP $CPPFLAGS'
64878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
64887 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
64889 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64891 for ac_func in _finite
64893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64894 echo "$as_me:$LINENO: checking for $ac_func" >&5
64895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64896 if eval "test \"\${$as_ac_var+set}\" = set"; then
64897 echo $ECHO_N "(cached) $ECHO_C" >&6
64898 else
64899 if test x$gcc_no_link = xyes; then
64900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64902 { (exit 1); exit 1; }; }
64904 cat >conftest.$ac_ext <<_ACEOF
64905 /* confdefs.h. */
64906 _ACEOF
64907 cat confdefs.h >>conftest.$ac_ext
64908 cat >>conftest.$ac_ext <<_ACEOF
64909 /* end confdefs.h. */
64910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64912 #define $ac_func innocuous_$ac_func
64914 /* System header to define __stub macros and hopefully few prototypes,
64915 which can conflict with char $ac_func (); below.
64916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64917 <limits.h> exists even on freestanding compilers. */
64919 #ifdef __STDC__
64920 # include <limits.h>
64921 #else
64922 # include <assert.h>
64923 #endif
64925 #undef $ac_func
64927 /* Override any gcc2 internal prototype to avoid an error. */
64928 #ifdef __cplusplus
64929 extern "C"
64931 #endif
64932 /* We use char because int might match the return type of a gcc2
64933 builtin and then its argument prototype would still apply. */
64934 char $ac_func ();
64935 /* The GNU C library defines this for functions which it implements
64936 to always fail with ENOSYS. Some functions are actually named
64937 something starting with __ and the normal name is an alias. */
64938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64939 choke me
64940 #else
64941 char (*f) () = $ac_func;
64942 #endif
64943 #ifdef __cplusplus
64945 #endif
64948 main ()
64950 return f != $ac_func;
64952 return 0;
64954 _ACEOF
64955 rm -f conftest.$ac_objext conftest$ac_exeext
64956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64957 (eval $ac_link) 2>conftest.er1
64958 ac_status=$?
64959 grep -v '^ *+' conftest.er1 >conftest.err
64960 rm -f conftest.er1
64961 cat conftest.err >&5
64962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64963 (exit $ac_status); } &&
64964 { ac_try='test -z "$ac_c_werror_flag"
64965 || test ! -s conftest.err'
64966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64967 (eval $ac_try) 2>&5
64968 ac_status=$?
64969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64970 (exit $ac_status); }; } &&
64971 { ac_try='test -s conftest$ac_exeext'
64972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64973 (eval $ac_try) 2>&5
64974 ac_status=$?
64975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64976 (exit $ac_status); }; }; then
64977 eval "$as_ac_var=yes"
64978 else
64979 echo "$as_me: failed program was:" >&5
64980 sed 's/^/| /' conftest.$ac_ext >&5
64982 eval "$as_ac_var=no"
64984 rm -f conftest.err conftest.$ac_objext \
64985 conftest$ac_exeext conftest.$ac_ext
64987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64989 if test `eval echo '${'$as_ac_var'}'` = yes; then
64990 cat >>confdefs.h <<_ACEOF
64991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64992 _ACEOF
64995 done
65005 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65006 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65007 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65008 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65009 echo $ECHO_N "(cached) $ECHO_C" >&6
65010 else
65014 ac_ext=cc
65015 ac_cpp='$CXXCPP $CPPFLAGS'
65016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65020 cat >conftest.$ac_ext <<_ACEOF
65021 /* confdefs.h. */
65022 _ACEOF
65023 cat confdefs.h >>conftest.$ac_ext
65024 cat >>conftest.$ac_ext <<_ACEOF
65025 /* end confdefs.h. */
65026 #include <math.h>
65028 main ()
65030 copysign(0, 0);
65032 return 0;
65034 _ACEOF
65035 rm -f conftest.$ac_objext
65036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65037 (eval $ac_compile) 2>conftest.er1
65038 ac_status=$?
65039 grep -v '^ *+' conftest.er1 >conftest.err
65040 rm -f conftest.er1
65041 cat conftest.err >&5
65042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65043 (exit $ac_status); } &&
65044 { ac_try='test -z "$ac_cxx_werror_flag"
65045 || test ! -s conftest.err'
65046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65047 (eval $ac_try) 2>&5
65048 ac_status=$?
65049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65050 (exit $ac_status); }; } &&
65051 { ac_try='test -s conftest.$ac_objext'
65052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65053 (eval $ac_try) 2>&5
65054 ac_status=$?
65055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65056 (exit $ac_status); }; }; then
65057 glibcxx_cv_func_copysign_use=yes
65058 else
65059 echo "$as_me: failed program was:" >&5
65060 sed 's/^/| /' conftest.$ac_ext >&5
65062 glibcxx_cv_func_copysign_use=no
65064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65065 ac_ext=c
65066 ac_cpp='$CPP $CPPFLAGS'
65067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65076 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65078 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65080 for ac_func in copysign
65082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65083 echo "$as_me:$LINENO: checking for $ac_func" >&5
65084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65085 if eval "test \"\${$as_ac_var+set}\" = set"; then
65086 echo $ECHO_N "(cached) $ECHO_C" >&6
65087 else
65088 if test x$gcc_no_link = xyes; then
65089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65091 { (exit 1); exit 1; }; }
65093 cat >conftest.$ac_ext <<_ACEOF
65094 /* confdefs.h. */
65095 _ACEOF
65096 cat confdefs.h >>conftest.$ac_ext
65097 cat >>conftest.$ac_ext <<_ACEOF
65098 /* end confdefs.h. */
65099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65101 #define $ac_func innocuous_$ac_func
65103 /* System header to define __stub macros and hopefully few prototypes,
65104 which can conflict with char $ac_func (); below.
65105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65106 <limits.h> exists even on freestanding compilers. */
65108 #ifdef __STDC__
65109 # include <limits.h>
65110 #else
65111 # include <assert.h>
65112 #endif
65114 #undef $ac_func
65116 /* Override any gcc2 internal prototype to avoid an error. */
65117 #ifdef __cplusplus
65118 extern "C"
65120 #endif
65121 /* We use char because int might match the return type of a gcc2
65122 builtin and then its argument prototype would still apply. */
65123 char $ac_func ();
65124 /* The GNU C library defines this for functions which it implements
65125 to always fail with ENOSYS. Some functions are actually named
65126 something starting with __ and the normal name is an alias. */
65127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65128 choke me
65129 #else
65130 char (*f) () = $ac_func;
65131 #endif
65132 #ifdef __cplusplus
65134 #endif
65137 main ()
65139 return f != $ac_func;
65141 return 0;
65143 _ACEOF
65144 rm -f conftest.$ac_objext conftest$ac_exeext
65145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65146 (eval $ac_link) 2>conftest.er1
65147 ac_status=$?
65148 grep -v '^ *+' conftest.er1 >conftest.err
65149 rm -f conftest.er1
65150 cat conftest.err >&5
65151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65152 (exit $ac_status); } &&
65153 { ac_try='test -z "$ac_c_werror_flag"
65154 || test ! -s conftest.err'
65155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65156 (eval $ac_try) 2>&5
65157 ac_status=$?
65158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65159 (exit $ac_status); }; } &&
65160 { ac_try='test -s conftest$ac_exeext'
65161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65162 (eval $ac_try) 2>&5
65163 ac_status=$?
65164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65165 (exit $ac_status); }; }; then
65166 eval "$as_ac_var=yes"
65167 else
65168 echo "$as_me: failed program was:" >&5
65169 sed 's/^/| /' conftest.$ac_ext >&5
65171 eval "$as_ac_var=no"
65173 rm -f conftest.err conftest.$ac_objext \
65174 conftest$ac_exeext conftest.$ac_ext
65176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65178 if test `eval echo '${'$as_ac_var'}'` = yes; then
65179 cat >>confdefs.h <<_ACEOF
65180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65181 _ACEOF
65184 done
65186 else
65188 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65189 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65190 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65191 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65192 echo $ECHO_N "(cached) $ECHO_C" >&6
65193 else
65197 ac_ext=cc
65198 ac_cpp='$CXXCPP $CPPFLAGS'
65199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65203 cat >conftest.$ac_ext <<_ACEOF
65204 /* confdefs.h. */
65205 _ACEOF
65206 cat confdefs.h >>conftest.$ac_ext
65207 cat >>conftest.$ac_ext <<_ACEOF
65208 /* end confdefs.h. */
65209 #include <math.h>
65211 main ()
65213 _copysign(0, 0);
65215 return 0;
65217 _ACEOF
65218 rm -f conftest.$ac_objext
65219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65220 (eval $ac_compile) 2>conftest.er1
65221 ac_status=$?
65222 grep -v '^ *+' conftest.er1 >conftest.err
65223 rm -f conftest.er1
65224 cat conftest.err >&5
65225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65226 (exit $ac_status); } &&
65227 { ac_try='test -z "$ac_cxx_werror_flag"
65228 || test ! -s conftest.err'
65229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65230 (eval $ac_try) 2>&5
65231 ac_status=$?
65232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65233 (exit $ac_status); }; } &&
65234 { ac_try='test -s conftest.$ac_objext'
65235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65236 (eval $ac_try) 2>&5
65237 ac_status=$?
65238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65239 (exit $ac_status); }; }; then
65240 glibcxx_cv_func__copysign_use=yes
65241 else
65242 echo "$as_me: failed program was:" >&5
65243 sed 's/^/| /' conftest.$ac_ext >&5
65245 glibcxx_cv_func__copysign_use=no
65247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65248 ac_ext=c
65249 ac_cpp='$CPP $CPPFLAGS'
65250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65259 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65261 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65263 for ac_func in _copysign
65265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65266 echo "$as_me:$LINENO: checking for $ac_func" >&5
65267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65268 if eval "test \"\${$as_ac_var+set}\" = set"; then
65269 echo $ECHO_N "(cached) $ECHO_C" >&6
65270 else
65271 if test x$gcc_no_link = xyes; then
65272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65274 { (exit 1); exit 1; }; }
65276 cat >conftest.$ac_ext <<_ACEOF
65277 /* confdefs.h. */
65278 _ACEOF
65279 cat confdefs.h >>conftest.$ac_ext
65280 cat >>conftest.$ac_ext <<_ACEOF
65281 /* end confdefs.h. */
65282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65284 #define $ac_func innocuous_$ac_func
65286 /* System header to define __stub macros and hopefully few prototypes,
65287 which can conflict with char $ac_func (); below.
65288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65289 <limits.h> exists even on freestanding compilers. */
65291 #ifdef __STDC__
65292 # include <limits.h>
65293 #else
65294 # include <assert.h>
65295 #endif
65297 #undef $ac_func
65299 /* Override any gcc2 internal prototype to avoid an error. */
65300 #ifdef __cplusplus
65301 extern "C"
65303 #endif
65304 /* We use char because int might match the return type of a gcc2
65305 builtin and then its argument prototype would still apply. */
65306 char $ac_func ();
65307 /* The GNU C library defines this for functions which it implements
65308 to always fail with ENOSYS. Some functions are actually named
65309 something starting with __ and the normal name is an alias. */
65310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65311 choke me
65312 #else
65313 char (*f) () = $ac_func;
65314 #endif
65315 #ifdef __cplusplus
65317 #endif
65320 main ()
65322 return f != $ac_func;
65324 return 0;
65326 _ACEOF
65327 rm -f conftest.$ac_objext conftest$ac_exeext
65328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65329 (eval $ac_link) 2>conftest.er1
65330 ac_status=$?
65331 grep -v '^ *+' conftest.er1 >conftest.err
65332 rm -f conftest.er1
65333 cat conftest.err >&5
65334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65335 (exit $ac_status); } &&
65336 { ac_try='test -z "$ac_c_werror_flag"
65337 || test ! -s conftest.err'
65338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65339 (eval $ac_try) 2>&5
65340 ac_status=$?
65341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65342 (exit $ac_status); }; } &&
65343 { ac_try='test -s conftest$ac_exeext'
65344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65345 (eval $ac_try) 2>&5
65346 ac_status=$?
65347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65348 (exit $ac_status); }; }; then
65349 eval "$as_ac_var=yes"
65350 else
65351 echo "$as_me: failed program was:" >&5
65352 sed 's/^/| /' conftest.$ac_ext >&5
65354 eval "$as_ac_var=no"
65356 rm -f conftest.err conftest.$ac_objext \
65357 conftest$ac_exeext conftest.$ac_ext
65359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65361 if test `eval echo '${'$as_ac_var'}'` = yes; then
65362 cat >>confdefs.h <<_ACEOF
65363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65364 _ACEOF
65367 done
65377 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65378 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65379 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65380 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65381 echo $ECHO_N "(cached) $ECHO_C" >&6
65382 else
65386 ac_ext=cc
65387 ac_cpp='$CXXCPP $CPPFLAGS'
65388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65392 cat >conftest.$ac_ext <<_ACEOF
65393 /* confdefs.h. */
65394 _ACEOF
65395 cat confdefs.h >>conftest.$ac_ext
65396 cat >>conftest.$ac_ext <<_ACEOF
65397 /* end confdefs.h. */
65398 #include <math.h>
65400 main ()
65402 sincos(0, 0, 0);
65404 return 0;
65406 _ACEOF
65407 rm -f conftest.$ac_objext
65408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65409 (eval $ac_compile) 2>conftest.er1
65410 ac_status=$?
65411 grep -v '^ *+' conftest.er1 >conftest.err
65412 rm -f conftest.er1
65413 cat conftest.err >&5
65414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65415 (exit $ac_status); } &&
65416 { ac_try='test -z "$ac_cxx_werror_flag"
65417 || test ! -s conftest.err'
65418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65419 (eval $ac_try) 2>&5
65420 ac_status=$?
65421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65422 (exit $ac_status); }; } &&
65423 { ac_try='test -s conftest.$ac_objext'
65424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65425 (eval $ac_try) 2>&5
65426 ac_status=$?
65427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65428 (exit $ac_status); }; }; then
65429 glibcxx_cv_func_sincos_use=yes
65430 else
65431 echo "$as_me: failed program was:" >&5
65432 sed 's/^/| /' conftest.$ac_ext >&5
65434 glibcxx_cv_func_sincos_use=no
65436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65437 ac_ext=c
65438 ac_cpp='$CPP $CPPFLAGS'
65439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65448 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65450 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65452 for ac_func in sincos
65454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65455 echo "$as_me:$LINENO: checking for $ac_func" >&5
65456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65457 if eval "test \"\${$as_ac_var+set}\" = set"; then
65458 echo $ECHO_N "(cached) $ECHO_C" >&6
65459 else
65460 if test x$gcc_no_link = xyes; then
65461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65463 { (exit 1); exit 1; }; }
65465 cat >conftest.$ac_ext <<_ACEOF
65466 /* confdefs.h. */
65467 _ACEOF
65468 cat confdefs.h >>conftest.$ac_ext
65469 cat >>conftest.$ac_ext <<_ACEOF
65470 /* end confdefs.h. */
65471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65473 #define $ac_func innocuous_$ac_func
65475 /* System header to define __stub macros and hopefully few prototypes,
65476 which can conflict with char $ac_func (); below.
65477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65478 <limits.h> exists even on freestanding compilers. */
65480 #ifdef __STDC__
65481 # include <limits.h>
65482 #else
65483 # include <assert.h>
65484 #endif
65486 #undef $ac_func
65488 /* Override any gcc2 internal prototype to avoid an error. */
65489 #ifdef __cplusplus
65490 extern "C"
65492 #endif
65493 /* We use char because int might match the return type of a gcc2
65494 builtin and then its argument prototype would still apply. */
65495 char $ac_func ();
65496 /* The GNU C library defines this for functions which it implements
65497 to always fail with ENOSYS. Some functions are actually named
65498 something starting with __ and the normal name is an alias. */
65499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65500 choke me
65501 #else
65502 char (*f) () = $ac_func;
65503 #endif
65504 #ifdef __cplusplus
65506 #endif
65509 main ()
65511 return f != $ac_func;
65513 return 0;
65515 _ACEOF
65516 rm -f conftest.$ac_objext conftest$ac_exeext
65517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65518 (eval $ac_link) 2>conftest.er1
65519 ac_status=$?
65520 grep -v '^ *+' conftest.er1 >conftest.err
65521 rm -f conftest.er1
65522 cat conftest.err >&5
65523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65524 (exit $ac_status); } &&
65525 { ac_try='test -z "$ac_c_werror_flag"
65526 || test ! -s conftest.err'
65527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65528 (eval $ac_try) 2>&5
65529 ac_status=$?
65530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531 (exit $ac_status); }; } &&
65532 { ac_try='test -s conftest$ac_exeext'
65533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65534 (eval $ac_try) 2>&5
65535 ac_status=$?
65536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65537 (exit $ac_status); }; }; then
65538 eval "$as_ac_var=yes"
65539 else
65540 echo "$as_me: failed program was:" >&5
65541 sed 's/^/| /' conftest.$ac_ext >&5
65543 eval "$as_ac_var=no"
65545 rm -f conftest.err conftest.$ac_objext \
65546 conftest$ac_exeext conftest.$ac_ext
65548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65550 if test `eval echo '${'$as_ac_var'}'` = yes; then
65551 cat >>confdefs.h <<_ACEOF
65552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65553 _ACEOF
65556 done
65558 else
65560 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65561 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65562 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65563 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65564 echo $ECHO_N "(cached) $ECHO_C" >&6
65565 else
65569 ac_ext=cc
65570 ac_cpp='$CXXCPP $CPPFLAGS'
65571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65575 cat >conftest.$ac_ext <<_ACEOF
65576 /* confdefs.h. */
65577 _ACEOF
65578 cat confdefs.h >>conftest.$ac_ext
65579 cat >>conftest.$ac_ext <<_ACEOF
65580 /* end confdefs.h. */
65581 #include <math.h>
65583 main ()
65585 _sincos(0, 0, 0);
65587 return 0;
65589 _ACEOF
65590 rm -f conftest.$ac_objext
65591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65592 (eval $ac_compile) 2>conftest.er1
65593 ac_status=$?
65594 grep -v '^ *+' conftest.er1 >conftest.err
65595 rm -f conftest.er1
65596 cat conftest.err >&5
65597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65598 (exit $ac_status); } &&
65599 { ac_try='test -z "$ac_cxx_werror_flag"
65600 || test ! -s conftest.err'
65601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65602 (eval $ac_try) 2>&5
65603 ac_status=$?
65604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65605 (exit $ac_status); }; } &&
65606 { ac_try='test -s conftest.$ac_objext'
65607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65608 (eval $ac_try) 2>&5
65609 ac_status=$?
65610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65611 (exit $ac_status); }; }; then
65612 glibcxx_cv_func__sincos_use=yes
65613 else
65614 echo "$as_me: failed program was:" >&5
65615 sed 's/^/| /' conftest.$ac_ext >&5
65617 glibcxx_cv_func__sincos_use=no
65619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65620 ac_ext=c
65621 ac_cpp='$CPP $CPPFLAGS'
65622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65631 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65633 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65635 for ac_func in _sincos
65637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65638 echo "$as_me:$LINENO: checking for $ac_func" >&5
65639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65640 if eval "test \"\${$as_ac_var+set}\" = set"; then
65641 echo $ECHO_N "(cached) $ECHO_C" >&6
65642 else
65643 if test x$gcc_no_link = xyes; then
65644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65646 { (exit 1); exit 1; }; }
65648 cat >conftest.$ac_ext <<_ACEOF
65649 /* confdefs.h. */
65650 _ACEOF
65651 cat confdefs.h >>conftest.$ac_ext
65652 cat >>conftest.$ac_ext <<_ACEOF
65653 /* end confdefs.h. */
65654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65656 #define $ac_func innocuous_$ac_func
65658 /* System header to define __stub macros and hopefully few prototypes,
65659 which can conflict with char $ac_func (); below.
65660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65661 <limits.h> exists even on freestanding compilers. */
65663 #ifdef __STDC__
65664 # include <limits.h>
65665 #else
65666 # include <assert.h>
65667 #endif
65669 #undef $ac_func
65671 /* Override any gcc2 internal prototype to avoid an error. */
65672 #ifdef __cplusplus
65673 extern "C"
65675 #endif
65676 /* We use char because int might match the return type of a gcc2
65677 builtin and then its argument prototype would still apply. */
65678 char $ac_func ();
65679 /* The GNU C library defines this for functions which it implements
65680 to always fail with ENOSYS. Some functions are actually named
65681 something starting with __ and the normal name is an alias. */
65682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65683 choke me
65684 #else
65685 char (*f) () = $ac_func;
65686 #endif
65687 #ifdef __cplusplus
65689 #endif
65692 main ()
65694 return f != $ac_func;
65696 return 0;
65698 _ACEOF
65699 rm -f conftest.$ac_objext conftest$ac_exeext
65700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65701 (eval $ac_link) 2>conftest.er1
65702 ac_status=$?
65703 grep -v '^ *+' conftest.er1 >conftest.err
65704 rm -f conftest.er1
65705 cat conftest.err >&5
65706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65707 (exit $ac_status); } &&
65708 { ac_try='test -z "$ac_c_werror_flag"
65709 || test ! -s conftest.err'
65710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65711 (eval $ac_try) 2>&5
65712 ac_status=$?
65713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65714 (exit $ac_status); }; } &&
65715 { ac_try='test -s conftest$ac_exeext'
65716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65717 (eval $ac_try) 2>&5
65718 ac_status=$?
65719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65720 (exit $ac_status); }; }; then
65721 eval "$as_ac_var=yes"
65722 else
65723 echo "$as_me: failed program was:" >&5
65724 sed 's/^/| /' conftest.$ac_ext >&5
65726 eval "$as_ac_var=no"
65728 rm -f conftest.err conftest.$ac_objext \
65729 conftest$ac_exeext conftest.$ac_ext
65731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65733 if test `eval echo '${'$as_ac_var'}'` = yes; then
65734 cat >>confdefs.h <<_ACEOF
65735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65736 _ACEOF
65739 done
65749 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
65750 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
65751 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65752 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
65753 echo $ECHO_N "(cached) $ECHO_C" >&6
65754 else
65758 ac_ext=cc
65759 ac_cpp='$CXXCPP $CPPFLAGS'
65760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65764 cat >conftest.$ac_ext <<_ACEOF
65765 /* confdefs.h. */
65766 _ACEOF
65767 cat confdefs.h >>conftest.$ac_ext
65768 cat >>conftest.$ac_ext <<_ACEOF
65769 /* end confdefs.h. */
65770 #include <math.h>
65771 #ifdef HAVE_IEEEFP_H
65772 #include <ieeefp.h>
65773 #endif
65776 main ()
65778 fpclass(0);
65780 return 0;
65782 _ACEOF
65783 rm -f conftest.$ac_objext
65784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65785 (eval $ac_compile) 2>conftest.er1
65786 ac_status=$?
65787 grep -v '^ *+' conftest.er1 >conftest.err
65788 rm -f conftest.er1
65789 cat conftest.err >&5
65790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65791 (exit $ac_status); } &&
65792 { ac_try='test -z "$ac_cxx_werror_flag"
65793 || test ! -s conftest.err'
65794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65795 (eval $ac_try) 2>&5
65796 ac_status=$?
65797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65798 (exit $ac_status); }; } &&
65799 { ac_try='test -s conftest.$ac_objext'
65800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65801 (eval $ac_try) 2>&5
65802 ac_status=$?
65803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65804 (exit $ac_status); }; }; then
65805 glibcxx_cv_func_fpclass_use=yes
65806 else
65807 echo "$as_me: failed program was:" >&5
65808 sed 's/^/| /' conftest.$ac_ext >&5
65810 glibcxx_cv_func_fpclass_use=no
65812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65813 ac_ext=c
65814 ac_cpp='$CPP $CPPFLAGS'
65815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
65824 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
65826 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65828 for ac_func in fpclass
65830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65831 echo "$as_me:$LINENO: checking for $ac_func" >&5
65832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65833 if eval "test \"\${$as_ac_var+set}\" = set"; then
65834 echo $ECHO_N "(cached) $ECHO_C" >&6
65835 else
65836 if test x$gcc_no_link = xyes; then
65837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65839 { (exit 1); exit 1; }; }
65841 cat >conftest.$ac_ext <<_ACEOF
65842 /* confdefs.h. */
65843 _ACEOF
65844 cat confdefs.h >>conftest.$ac_ext
65845 cat >>conftest.$ac_ext <<_ACEOF
65846 /* end confdefs.h. */
65847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65849 #define $ac_func innocuous_$ac_func
65851 /* System header to define __stub macros and hopefully few prototypes,
65852 which can conflict with char $ac_func (); below.
65853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65854 <limits.h> exists even on freestanding compilers. */
65856 #ifdef __STDC__
65857 # include <limits.h>
65858 #else
65859 # include <assert.h>
65860 #endif
65862 #undef $ac_func
65864 /* Override any gcc2 internal prototype to avoid an error. */
65865 #ifdef __cplusplus
65866 extern "C"
65868 #endif
65869 /* We use char because int might match the return type of a gcc2
65870 builtin and then its argument prototype would still apply. */
65871 char $ac_func ();
65872 /* The GNU C library defines this for functions which it implements
65873 to always fail with ENOSYS. Some functions are actually named
65874 something starting with __ and the normal name is an alias. */
65875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65876 choke me
65877 #else
65878 char (*f) () = $ac_func;
65879 #endif
65880 #ifdef __cplusplus
65882 #endif
65885 main ()
65887 return f != $ac_func;
65889 return 0;
65891 _ACEOF
65892 rm -f conftest.$ac_objext conftest$ac_exeext
65893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65894 (eval $ac_link) 2>conftest.er1
65895 ac_status=$?
65896 grep -v '^ *+' conftest.er1 >conftest.err
65897 rm -f conftest.er1
65898 cat conftest.err >&5
65899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65900 (exit $ac_status); } &&
65901 { ac_try='test -z "$ac_c_werror_flag"
65902 || test ! -s conftest.err'
65903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65904 (eval $ac_try) 2>&5
65905 ac_status=$?
65906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65907 (exit $ac_status); }; } &&
65908 { ac_try='test -s conftest$ac_exeext'
65909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65910 (eval $ac_try) 2>&5
65911 ac_status=$?
65912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65913 (exit $ac_status); }; }; then
65914 eval "$as_ac_var=yes"
65915 else
65916 echo "$as_me: failed program was:" >&5
65917 sed 's/^/| /' conftest.$ac_ext >&5
65919 eval "$as_ac_var=no"
65921 rm -f conftest.err conftest.$ac_objext \
65922 conftest$ac_exeext conftest.$ac_ext
65924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65926 if test `eval echo '${'$as_ac_var'}'` = yes; then
65927 cat >>confdefs.h <<_ACEOF
65928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65929 _ACEOF
65932 done
65934 else
65936 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
65937 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
65938 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65939 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
65940 echo $ECHO_N "(cached) $ECHO_C" >&6
65941 else
65945 ac_ext=cc
65946 ac_cpp='$CXXCPP $CPPFLAGS'
65947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65951 cat >conftest.$ac_ext <<_ACEOF
65952 /* confdefs.h. */
65953 _ACEOF
65954 cat confdefs.h >>conftest.$ac_ext
65955 cat >>conftest.$ac_ext <<_ACEOF
65956 /* end confdefs.h. */
65957 #include <math.h>
65958 #ifdef HAVE_IEEEFP_H
65959 #include <ieeefp.h>
65960 #endif
65963 main ()
65965 _fpclass(0);
65967 return 0;
65969 _ACEOF
65970 rm -f conftest.$ac_objext
65971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65972 (eval $ac_compile) 2>conftest.er1
65973 ac_status=$?
65974 grep -v '^ *+' conftest.er1 >conftest.err
65975 rm -f conftest.er1
65976 cat conftest.err >&5
65977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65978 (exit $ac_status); } &&
65979 { ac_try='test -z "$ac_cxx_werror_flag"
65980 || test ! -s conftest.err'
65981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65982 (eval $ac_try) 2>&5
65983 ac_status=$?
65984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65985 (exit $ac_status); }; } &&
65986 { ac_try='test -s conftest.$ac_objext'
65987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65988 (eval $ac_try) 2>&5
65989 ac_status=$?
65990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65991 (exit $ac_status); }; }; then
65992 glibcxx_cv_func__fpclass_use=yes
65993 else
65994 echo "$as_me: failed program was:" >&5
65995 sed 's/^/| /' conftest.$ac_ext >&5
65997 glibcxx_cv_func__fpclass_use=no
65999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66000 ac_ext=c
66001 ac_cpp='$CPP $CPPFLAGS'
66002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66011 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66013 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66015 for ac_func in _fpclass
66017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66018 echo "$as_me:$LINENO: checking for $ac_func" >&5
66019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66020 if eval "test \"\${$as_ac_var+set}\" = set"; then
66021 echo $ECHO_N "(cached) $ECHO_C" >&6
66022 else
66023 if test x$gcc_no_link = xyes; then
66024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66026 { (exit 1); exit 1; }; }
66028 cat >conftest.$ac_ext <<_ACEOF
66029 /* confdefs.h. */
66030 _ACEOF
66031 cat confdefs.h >>conftest.$ac_ext
66032 cat >>conftest.$ac_ext <<_ACEOF
66033 /* end confdefs.h. */
66034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66036 #define $ac_func innocuous_$ac_func
66038 /* System header to define __stub macros and hopefully few prototypes,
66039 which can conflict with char $ac_func (); below.
66040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66041 <limits.h> exists even on freestanding compilers. */
66043 #ifdef __STDC__
66044 # include <limits.h>
66045 #else
66046 # include <assert.h>
66047 #endif
66049 #undef $ac_func
66051 /* Override any gcc2 internal prototype to avoid an error. */
66052 #ifdef __cplusplus
66053 extern "C"
66055 #endif
66056 /* We use char because int might match the return type of a gcc2
66057 builtin and then its argument prototype would still apply. */
66058 char $ac_func ();
66059 /* The GNU C library defines this for functions which it implements
66060 to always fail with ENOSYS. Some functions are actually named
66061 something starting with __ and the normal name is an alias. */
66062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66063 choke me
66064 #else
66065 char (*f) () = $ac_func;
66066 #endif
66067 #ifdef __cplusplus
66069 #endif
66072 main ()
66074 return f != $ac_func;
66076 return 0;
66078 _ACEOF
66079 rm -f conftest.$ac_objext conftest$ac_exeext
66080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66081 (eval $ac_link) 2>conftest.er1
66082 ac_status=$?
66083 grep -v '^ *+' conftest.er1 >conftest.err
66084 rm -f conftest.er1
66085 cat conftest.err >&5
66086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66087 (exit $ac_status); } &&
66088 { ac_try='test -z "$ac_c_werror_flag"
66089 || test ! -s conftest.err'
66090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66091 (eval $ac_try) 2>&5
66092 ac_status=$?
66093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66094 (exit $ac_status); }; } &&
66095 { ac_try='test -s conftest$ac_exeext'
66096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66097 (eval $ac_try) 2>&5
66098 ac_status=$?
66099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66100 (exit $ac_status); }; }; then
66101 eval "$as_ac_var=yes"
66102 else
66103 echo "$as_me: failed program was:" >&5
66104 sed 's/^/| /' conftest.$ac_ext >&5
66106 eval "$as_ac_var=no"
66108 rm -f conftest.err conftest.$ac_objext \
66109 conftest$ac_exeext conftest.$ac_ext
66111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66113 if test `eval echo '${'$as_ac_var'}'` = yes; then
66114 cat >>confdefs.h <<_ACEOF
66115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66116 _ACEOF
66119 done
66129 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66130 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66131 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66132 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66133 echo $ECHO_N "(cached) $ECHO_C" >&6
66134 else
66138 ac_ext=cc
66139 ac_cpp='$CXXCPP $CPPFLAGS'
66140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66144 cat >conftest.$ac_ext <<_ACEOF
66145 /* confdefs.h. */
66146 _ACEOF
66147 cat confdefs.h >>conftest.$ac_ext
66148 cat >>conftest.$ac_ext <<_ACEOF
66149 /* end confdefs.h. */
66150 #include <math.h>
66151 #ifdef HAVE_IEEEFP_H
66152 #include <ieeefp.h>
66153 #endif
66156 main ()
66158 qfpclass(0);
66160 return 0;
66162 _ACEOF
66163 rm -f conftest.$ac_objext
66164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66165 (eval $ac_compile) 2>conftest.er1
66166 ac_status=$?
66167 grep -v '^ *+' conftest.er1 >conftest.err
66168 rm -f conftest.er1
66169 cat conftest.err >&5
66170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66171 (exit $ac_status); } &&
66172 { ac_try='test -z "$ac_cxx_werror_flag"
66173 || test ! -s conftest.err'
66174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66175 (eval $ac_try) 2>&5
66176 ac_status=$?
66177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66178 (exit $ac_status); }; } &&
66179 { ac_try='test -s conftest.$ac_objext'
66180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66181 (eval $ac_try) 2>&5
66182 ac_status=$?
66183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66184 (exit $ac_status); }; }; then
66185 glibcxx_cv_func_qfpclass_use=yes
66186 else
66187 echo "$as_me: failed program was:" >&5
66188 sed 's/^/| /' conftest.$ac_ext >&5
66190 glibcxx_cv_func_qfpclass_use=no
66192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66193 ac_ext=c
66194 ac_cpp='$CPP $CPPFLAGS'
66195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66204 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66206 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66208 for ac_func in qfpclass
66210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66211 echo "$as_me:$LINENO: checking for $ac_func" >&5
66212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66213 if eval "test \"\${$as_ac_var+set}\" = set"; then
66214 echo $ECHO_N "(cached) $ECHO_C" >&6
66215 else
66216 if test x$gcc_no_link = xyes; then
66217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66219 { (exit 1); exit 1; }; }
66221 cat >conftest.$ac_ext <<_ACEOF
66222 /* confdefs.h. */
66223 _ACEOF
66224 cat confdefs.h >>conftest.$ac_ext
66225 cat >>conftest.$ac_ext <<_ACEOF
66226 /* end confdefs.h. */
66227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66229 #define $ac_func innocuous_$ac_func
66231 /* System header to define __stub macros and hopefully few prototypes,
66232 which can conflict with char $ac_func (); below.
66233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66234 <limits.h> exists even on freestanding compilers. */
66236 #ifdef __STDC__
66237 # include <limits.h>
66238 #else
66239 # include <assert.h>
66240 #endif
66242 #undef $ac_func
66244 /* Override any gcc2 internal prototype to avoid an error. */
66245 #ifdef __cplusplus
66246 extern "C"
66248 #endif
66249 /* We use char because int might match the return type of a gcc2
66250 builtin and then its argument prototype would still apply. */
66251 char $ac_func ();
66252 /* The GNU C library defines this for functions which it implements
66253 to always fail with ENOSYS. Some functions are actually named
66254 something starting with __ and the normal name is an alias. */
66255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66256 choke me
66257 #else
66258 char (*f) () = $ac_func;
66259 #endif
66260 #ifdef __cplusplus
66262 #endif
66265 main ()
66267 return f != $ac_func;
66269 return 0;
66271 _ACEOF
66272 rm -f conftest.$ac_objext conftest$ac_exeext
66273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66274 (eval $ac_link) 2>conftest.er1
66275 ac_status=$?
66276 grep -v '^ *+' conftest.er1 >conftest.err
66277 rm -f conftest.er1
66278 cat conftest.err >&5
66279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66280 (exit $ac_status); } &&
66281 { ac_try='test -z "$ac_c_werror_flag"
66282 || test ! -s conftest.err'
66283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66284 (eval $ac_try) 2>&5
66285 ac_status=$?
66286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66287 (exit $ac_status); }; } &&
66288 { ac_try='test -s conftest$ac_exeext'
66289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66290 (eval $ac_try) 2>&5
66291 ac_status=$?
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); }; }; then
66294 eval "$as_ac_var=yes"
66295 else
66296 echo "$as_me: failed program was:" >&5
66297 sed 's/^/| /' conftest.$ac_ext >&5
66299 eval "$as_ac_var=no"
66301 rm -f conftest.err conftest.$ac_objext \
66302 conftest$ac_exeext conftest.$ac_ext
66304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66306 if test `eval echo '${'$as_ac_var'}'` = yes; then
66307 cat >>confdefs.h <<_ACEOF
66308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66309 _ACEOF
66312 done
66314 else
66316 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66317 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66318 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66319 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66320 echo $ECHO_N "(cached) $ECHO_C" >&6
66321 else
66325 ac_ext=cc
66326 ac_cpp='$CXXCPP $CPPFLAGS'
66327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66331 cat >conftest.$ac_ext <<_ACEOF
66332 /* confdefs.h. */
66333 _ACEOF
66334 cat confdefs.h >>conftest.$ac_ext
66335 cat >>conftest.$ac_ext <<_ACEOF
66336 /* end confdefs.h. */
66337 #include <math.h>
66338 #ifdef HAVE_IEEEFP_H
66339 #include <ieeefp.h>
66340 #endif
66343 main ()
66345 _qfpclass(0);
66347 return 0;
66349 _ACEOF
66350 rm -f conftest.$ac_objext
66351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66352 (eval $ac_compile) 2>conftest.er1
66353 ac_status=$?
66354 grep -v '^ *+' conftest.er1 >conftest.err
66355 rm -f conftest.er1
66356 cat conftest.err >&5
66357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66358 (exit $ac_status); } &&
66359 { ac_try='test -z "$ac_cxx_werror_flag"
66360 || test ! -s conftest.err'
66361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66362 (eval $ac_try) 2>&5
66363 ac_status=$?
66364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66365 (exit $ac_status); }; } &&
66366 { ac_try='test -s conftest.$ac_objext'
66367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66368 (eval $ac_try) 2>&5
66369 ac_status=$?
66370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66371 (exit $ac_status); }; }; then
66372 glibcxx_cv_func__qfpclass_use=yes
66373 else
66374 echo "$as_me: failed program was:" >&5
66375 sed 's/^/| /' conftest.$ac_ext >&5
66377 glibcxx_cv_func__qfpclass_use=no
66379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66380 ac_ext=c
66381 ac_cpp='$CPP $CPPFLAGS'
66382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66391 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66393 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66395 for ac_func in _qfpclass
66397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66398 echo "$as_me:$LINENO: checking for $ac_func" >&5
66399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66400 if eval "test \"\${$as_ac_var+set}\" = set"; then
66401 echo $ECHO_N "(cached) $ECHO_C" >&6
66402 else
66403 if test x$gcc_no_link = xyes; then
66404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66406 { (exit 1); exit 1; }; }
66408 cat >conftest.$ac_ext <<_ACEOF
66409 /* confdefs.h. */
66410 _ACEOF
66411 cat confdefs.h >>conftest.$ac_ext
66412 cat >>conftest.$ac_ext <<_ACEOF
66413 /* end confdefs.h. */
66414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66416 #define $ac_func innocuous_$ac_func
66418 /* System header to define __stub macros and hopefully few prototypes,
66419 which can conflict with char $ac_func (); below.
66420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66421 <limits.h> exists even on freestanding compilers. */
66423 #ifdef __STDC__
66424 # include <limits.h>
66425 #else
66426 # include <assert.h>
66427 #endif
66429 #undef $ac_func
66431 /* Override any gcc2 internal prototype to avoid an error. */
66432 #ifdef __cplusplus
66433 extern "C"
66435 #endif
66436 /* We use char because int might match the return type of a gcc2
66437 builtin and then its argument prototype would still apply. */
66438 char $ac_func ();
66439 /* The GNU C library defines this for functions which it implements
66440 to always fail with ENOSYS. Some functions are actually named
66441 something starting with __ and the normal name is an alias. */
66442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66443 choke me
66444 #else
66445 char (*f) () = $ac_func;
66446 #endif
66447 #ifdef __cplusplus
66449 #endif
66452 main ()
66454 return f != $ac_func;
66456 return 0;
66458 _ACEOF
66459 rm -f conftest.$ac_objext conftest$ac_exeext
66460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66461 (eval $ac_link) 2>conftest.er1
66462 ac_status=$?
66463 grep -v '^ *+' conftest.er1 >conftest.err
66464 rm -f conftest.er1
66465 cat conftest.err >&5
66466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66467 (exit $ac_status); } &&
66468 { ac_try='test -z "$ac_c_werror_flag"
66469 || test ! -s conftest.err'
66470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66471 (eval $ac_try) 2>&5
66472 ac_status=$?
66473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66474 (exit $ac_status); }; } &&
66475 { ac_try='test -s conftest$ac_exeext'
66476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66477 (eval $ac_try) 2>&5
66478 ac_status=$?
66479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66480 (exit $ac_status); }; }; then
66481 eval "$as_ac_var=yes"
66482 else
66483 echo "$as_me: failed program was:" >&5
66484 sed 's/^/| /' conftest.$ac_ext >&5
66486 eval "$as_ac_var=no"
66488 rm -f conftest.err conftest.$ac_objext \
66489 conftest$ac_exeext conftest.$ac_ext
66491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66493 if test `eval echo '${'$as_ac_var'}'` = yes; then
66494 cat >>confdefs.h <<_ACEOF
66495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66496 _ACEOF
66499 done
66509 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66510 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66511 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66512 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66513 echo $ECHO_N "(cached) $ECHO_C" >&6
66514 else
66518 ac_ext=cc
66519 ac_cpp='$CXXCPP $CPPFLAGS'
66520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66524 cat >conftest.$ac_ext <<_ACEOF
66525 /* confdefs.h. */
66526 _ACEOF
66527 cat confdefs.h >>conftest.$ac_ext
66528 cat >>conftest.$ac_ext <<_ACEOF
66529 /* end confdefs.h. */
66530 #include <math.h>
66532 main ()
66534 hypot(0, 0);
66536 return 0;
66538 _ACEOF
66539 rm -f conftest.$ac_objext
66540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66541 (eval $ac_compile) 2>conftest.er1
66542 ac_status=$?
66543 grep -v '^ *+' conftest.er1 >conftest.err
66544 rm -f conftest.er1
66545 cat conftest.err >&5
66546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66547 (exit $ac_status); } &&
66548 { ac_try='test -z "$ac_cxx_werror_flag"
66549 || test ! -s conftest.err'
66550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66551 (eval $ac_try) 2>&5
66552 ac_status=$?
66553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66554 (exit $ac_status); }; } &&
66555 { ac_try='test -s conftest.$ac_objext'
66556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66557 (eval $ac_try) 2>&5
66558 ac_status=$?
66559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66560 (exit $ac_status); }; }; then
66561 glibcxx_cv_func_hypot_use=yes
66562 else
66563 echo "$as_me: failed program was:" >&5
66564 sed 's/^/| /' conftest.$ac_ext >&5
66566 glibcxx_cv_func_hypot_use=no
66568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66569 ac_ext=c
66570 ac_cpp='$CPP $CPPFLAGS'
66571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66580 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66582 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66584 for ac_func in hypot
66586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66587 echo "$as_me:$LINENO: checking for $ac_func" >&5
66588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66589 if eval "test \"\${$as_ac_var+set}\" = set"; then
66590 echo $ECHO_N "(cached) $ECHO_C" >&6
66591 else
66592 if test x$gcc_no_link = xyes; then
66593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66595 { (exit 1); exit 1; }; }
66597 cat >conftest.$ac_ext <<_ACEOF
66598 /* confdefs.h. */
66599 _ACEOF
66600 cat confdefs.h >>conftest.$ac_ext
66601 cat >>conftest.$ac_ext <<_ACEOF
66602 /* end confdefs.h. */
66603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66605 #define $ac_func innocuous_$ac_func
66607 /* System header to define __stub macros and hopefully few prototypes,
66608 which can conflict with char $ac_func (); below.
66609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66610 <limits.h> exists even on freestanding compilers. */
66612 #ifdef __STDC__
66613 # include <limits.h>
66614 #else
66615 # include <assert.h>
66616 #endif
66618 #undef $ac_func
66620 /* Override any gcc2 internal prototype to avoid an error. */
66621 #ifdef __cplusplus
66622 extern "C"
66624 #endif
66625 /* We use char because int might match the return type of a gcc2
66626 builtin and then its argument prototype would still apply. */
66627 char $ac_func ();
66628 /* The GNU C library defines this for functions which it implements
66629 to always fail with ENOSYS. Some functions are actually named
66630 something starting with __ and the normal name is an alias. */
66631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66632 choke me
66633 #else
66634 char (*f) () = $ac_func;
66635 #endif
66636 #ifdef __cplusplus
66638 #endif
66641 main ()
66643 return f != $ac_func;
66645 return 0;
66647 _ACEOF
66648 rm -f conftest.$ac_objext conftest$ac_exeext
66649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66650 (eval $ac_link) 2>conftest.er1
66651 ac_status=$?
66652 grep -v '^ *+' conftest.er1 >conftest.err
66653 rm -f conftest.er1
66654 cat conftest.err >&5
66655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66656 (exit $ac_status); } &&
66657 { ac_try='test -z "$ac_c_werror_flag"
66658 || test ! -s conftest.err'
66659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66660 (eval $ac_try) 2>&5
66661 ac_status=$?
66662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66663 (exit $ac_status); }; } &&
66664 { ac_try='test -s conftest$ac_exeext'
66665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66666 (eval $ac_try) 2>&5
66667 ac_status=$?
66668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66669 (exit $ac_status); }; }; then
66670 eval "$as_ac_var=yes"
66671 else
66672 echo "$as_me: failed program was:" >&5
66673 sed 's/^/| /' conftest.$ac_ext >&5
66675 eval "$as_ac_var=no"
66677 rm -f conftest.err conftest.$ac_objext \
66678 conftest$ac_exeext conftest.$ac_ext
66680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66682 if test `eval echo '${'$as_ac_var'}'` = yes; then
66683 cat >>confdefs.h <<_ACEOF
66684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66685 _ACEOF
66688 done
66690 else
66692 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66693 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66694 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66695 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66696 echo $ECHO_N "(cached) $ECHO_C" >&6
66697 else
66701 ac_ext=cc
66702 ac_cpp='$CXXCPP $CPPFLAGS'
66703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66707 cat >conftest.$ac_ext <<_ACEOF
66708 /* confdefs.h. */
66709 _ACEOF
66710 cat confdefs.h >>conftest.$ac_ext
66711 cat >>conftest.$ac_ext <<_ACEOF
66712 /* end confdefs.h. */
66713 #include <math.h>
66715 main ()
66717 _hypot(0, 0);
66719 return 0;
66721 _ACEOF
66722 rm -f conftest.$ac_objext
66723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66724 (eval $ac_compile) 2>conftest.er1
66725 ac_status=$?
66726 grep -v '^ *+' conftest.er1 >conftest.err
66727 rm -f conftest.er1
66728 cat conftest.err >&5
66729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66730 (exit $ac_status); } &&
66731 { ac_try='test -z "$ac_cxx_werror_flag"
66732 || test ! -s conftest.err'
66733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66734 (eval $ac_try) 2>&5
66735 ac_status=$?
66736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66737 (exit $ac_status); }; } &&
66738 { ac_try='test -s conftest.$ac_objext'
66739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66740 (eval $ac_try) 2>&5
66741 ac_status=$?
66742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66743 (exit $ac_status); }; }; then
66744 glibcxx_cv_func__hypot_use=yes
66745 else
66746 echo "$as_me: failed program was:" >&5
66747 sed 's/^/| /' conftest.$ac_ext >&5
66749 glibcxx_cv_func__hypot_use=no
66751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66752 ac_ext=c
66753 ac_cpp='$CPP $CPPFLAGS'
66754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66762 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
66763 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
66765 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66767 for ac_func in _hypot
66769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66770 echo "$as_me:$LINENO: checking for $ac_func" >&5
66771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66772 if eval "test \"\${$as_ac_var+set}\" = set"; then
66773 echo $ECHO_N "(cached) $ECHO_C" >&6
66774 else
66775 if test x$gcc_no_link = xyes; then
66776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66778 { (exit 1); exit 1; }; }
66780 cat >conftest.$ac_ext <<_ACEOF
66781 /* confdefs.h. */
66782 _ACEOF
66783 cat confdefs.h >>conftest.$ac_ext
66784 cat >>conftest.$ac_ext <<_ACEOF
66785 /* end confdefs.h. */
66786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66788 #define $ac_func innocuous_$ac_func
66790 /* System header to define __stub macros and hopefully few prototypes,
66791 which can conflict with char $ac_func (); below.
66792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66793 <limits.h> exists even on freestanding compilers. */
66795 #ifdef __STDC__
66796 # include <limits.h>
66797 #else
66798 # include <assert.h>
66799 #endif
66801 #undef $ac_func
66803 /* Override any gcc2 internal prototype to avoid an error. */
66804 #ifdef __cplusplus
66805 extern "C"
66807 #endif
66808 /* We use char because int might match the return type of a gcc2
66809 builtin and then its argument prototype would still apply. */
66810 char $ac_func ();
66811 /* The GNU C library defines this for functions which it implements
66812 to always fail with ENOSYS. Some functions are actually named
66813 something starting with __ and the normal name is an alias. */
66814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66815 choke me
66816 #else
66817 char (*f) () = $ac_func;
66818 #endif
66819 #ifdef __cplusplus
66821 #endif
66824 main ()
66826 return f != $ac_func;
66828 return 0;
66830 _ACEOF
66831 rm -f conftest.$ac_objext conftest$ac_exeext
66832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66833 (eval $ac_link) 2>conftest.er1
66834 ac_status=$?
66835 grep -v '^ *+' conftest.er1 >conftest.err
66836 rm -f conftest.er1
66837 cat conftest.err >&5
66838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66839 (exit $ac_status); } &&
66840 { ac_try='test -z "$ac_c_werror_flag"
66841 || test ! -s conftest.err'
66842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66843 (eval $ac_try) 2>&5
66844 ac_status=$?
66845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66846 (exit $ac_status); }; } &&
66847 { ac_try='test -s conftest$ac_exeext'
66848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66849 (eval $ac_try) 2>&5
66850 ac_status=$?
66851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66852 (exit $ac_status); }; }; then
66853 eval "$as_ac_var=yes"
66854 else
66855 echo "$as_me: failed program was:" >&5
66856 sed 's/^/| /' conftest.$ac_ext >&5
66858 eval "$as_ac_var=no"
66860 rm -f conftest.err conftest.$ac_objext \
66861 conftest$ac_exeext conftest.$ac_ext
66863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66865 if test `eval echo '${'$as_ac_var'}'` = yes; then
66866 cat >>confdefs.h <<_ACEOF
66867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66868 _ACEOF
66871 done
66881 echo "$as_me:$LINENO: checking for float trig functions" >&5
66882 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
66883 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
66884 echo $ECHO_N "(cached) $ECHO_C" >&6
66885 else
66889 ac_ext=cc
66890 ac_cpp='$CXXCPP $CPPFLAGS'
66891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66895 cat >conftest.$ac_ext <<_ACEOF
66896 /* confdefs.h. */
66897 _ACEOF
66898 cat confdefs.h >>conftest.$ac_ext
66899 cat >>conftest.$ac_ext <<_ACEOF
66900 /* end confdefs.h. */
66901 #include <math.h>
66903 main ()
66905 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66907 return 0;
66909 _ACEOF
66910 rm -f conftest.$ac_objext
66911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66912 (eval $ac_compile) 2>conftest.er1
66913 ac_status=$?
66914 grep -v '^ *+' conftest.er1 >conftest.err
66915 rm -f conftest.er1
66916 cat conftest.err >&5
66917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66918 (exit $ac_status); } &&
66919 { ac_try='test -z "$ac_cxx_werror_flag"
66920 || test ! -s conftest.err'
66921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66922 (eval $ac_try) 2>&5
66923 ac_status=$?
66924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66925 (exit $ac_status); }; } &&
66926 { ac_try='test -s conftest.$ac_objext'
66927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66928 (eval $ac_try) 2>&5
66929 ac_status=$?
66930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66931 (exit $ac_status); }; }; then
66932 glibcxx_cv_func_float_trig_use=yes
66933 else
66934 echo "$as_me: failed program was:" >&5
66935 sed 's/^/| /' conftest.$ac_ext >&5
66937 glibcxx_cv_func_float_trig_use=no
66939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66940 ac_ext=c
66941 ac_cpp='$CPP $CPPFLAGS'
66942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
66949 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
66950 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66960 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66963 echo "$as_me:$LINENO: checking for $ac_func" >&5
66964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66965 if eval "test \"\${$as_ac_var+set}\" = set"; then
66966 echo $ECHO_N "(cached) $ECHO_C" >&6
66967 else
66968 if test x$gcc_no_link = xyes; then
66969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66971 { (exit 1); exit 1; }; }
66973 cat >conftest.$ac_ext <<_ACEOF
66974 /* confdefs.h. */
66975 _ACEOF
66976 cat confdefs.h >>conftest.$ac_ext
66977 cat >>conftest.$ac_ext <<_ACEOF
66978 /* end confdefs.h. */
66979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66981 #define $ac_func innocuous_$ac_func
66983 /* System header to define __stub macros and hopefully few prototypes,
66984 which can conflict with char $ac_func (); below.
66985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66986 <limits.h> exists even on freestanding compilers. */
66988 #ifdef __STDC__
66989 # include <limits.h>
66990 #else
66991 # include <assert.h>
66992 #endif
66994 #undef $ac_func
66996 /* Override any gcc2 internal prototype to avoid an error. */
66997 #ifdef __cplusplus
66998 extern "C"
67000 #endif
67001 /* We use char because int might match the return type of a gcc2
67002 builtin and then its argument prototype would still apply. */
67003 char $ac_func ();
67004 /* The GNU C library defines this for functions which it implements
67005 to always fail with ENOSYS. Some functions are actually named
67006 something starting with __ and the normal name is an alias. */
67007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67008 choke me
67009 #else
67010 char (*f) () = $ac_func;
67011 #endif
67012 #ifdef __cplusplus
67014 #endif
67017 main ()
67019 return f != $ac_func;
67021 return 0;
67023 _ACEOF
67024 rm -f conftest.$ac_objext conftest$ac_exeext
67025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67026 (eval $ac_link) 2>conftest.er1
67027 ac_status=$?
67028 grep -v '^ *+' conftest.er1 >conftest.err
67029 rm -f conftest.er1
67030 cat conftest.err >&5
67031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67032 (exit $ac_status); } &&
67033 { ac_try='test -z "$ac_c_werror_flag"
67034 || test ! -s conftest.err'
67035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67036 (eval $ac_try) 2>&5
67037 ac_status=$?
67038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67039 (exit $ac_status); }; } &&
67040 { ac_try='test -s conftest$ac_exeext'
67041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67042 (eval $ac_try) 2>&5
67043 ac_status=$?
67044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67045 (exit $ac_status); }; }; then
67046 eval "$as_ac_var=yes"
67047 else
67048 echo "$as_me: failed program was:" >&5
67049 sed 's/^/| /' conftest.$ac_ext >&5
67051 eval "$as_ac_var=no"
67053 rm -f conftest.err conftest.$ac_objext \
67054 conftest$ac_exeext conftest.$ac_ext
67056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67058 if test `eval echo '${'$as_ac_var'}'` = yes; then
67059 cat >>confdefs.h <<_ACEOF
67060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67061 _ACEOF
67064 done
67066 else
67067 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67068 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67069 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67070 echo $ECHO_N "(cached) $ECHO_C" >&6
67071 else
67075 ac_ext=cc
67076 ac_cpp='$CXXCPP $CPPFLAGS'
67077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67081 cat >conftest.$ac_ext <<_ACEOF
67082 /* confdefs.h. */
67083 _ACEOF
67084 cat confdefs.h >>conftest.$ac_ext
67085 cat >>conftest.$ac_ext <<_ACEOF
67086 /* end confdefs.h. */
67087 #include <math.h>
67089 main ()
67091 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67093 return 0;
67095 _ACEOF
67096 rm -f conftest.$ac_objext
67097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67098 (eval $ac_compile) 2>conftest.er1
67099 ac_status=$?
67100 grep -v '^ *+' conftest.er1 >conftest.err
67101 rm -f conftest.er1
67102 cat conftest.err >&5
67103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67104 (exit $ac_status); } &&
67105 { ac_try='test -z "$ac_cxx_werror_flag"
67106 || test ! -s conftest.err'
67107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67108 (eval $ac_try) 2>&5
67109 ac_status=$?
67110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67111 (exit $ac_status); }; } &&
67112 { ac_try='test -s conftest.$ac_objext'
67113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67114 (eval $ac_try) 2>&5
67115 ac_status=$?
67116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67117 (exit $ac_status); }; }; then
67118 glibcxx_cv_func__float_trig_use=yes
67119 else
67120 echo "$as_me: failed program was:" >&5
67121 sed 's/^/| /' conftest.$ac_ext >&5
67123 glibcxx_cv_func__float_trig_use=no
67125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67126 ac_ext=c
67127 ac_cpp='$CPP $CPPFLAGS'
67128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67135 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67136 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67146 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67149 echo "$as_me:$LINENO: checking for $ac_func" >&5
67150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67151 if eval "test \"\${$as_ac_var+set}\" = set"; then
67152 echo $ECHO_N "(cached) $ECHO_C" >&6
67153 else
67154 if test x$gcc_no_link = xyes; then
67155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67157 { (exit 1); exit 1; }; }
67159 cat >conftest.$ac_ext <<_ACEOF
67160 /* confdefs.h. */
67161 _ACEOF
67162 cat confdefs.h >>conftest.$ac_ext
67163 cat >>conftest.$ac_ext <<_ACEOF
67164 /* end confdefs.h. */
67165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67167 #define $ac_func innocuous_$ac_func
67169 /* System header to define __stub macros and hopefully few prototypes,
67170 which can conflict with char $ac_func (); below.
67171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67172 <limits.h> exists even on freestanding compilers. */
67174 #ifdef __STDC__
67175 # include <limits.h>
67176 #else
67177 # include <assert.h>
67178 #endif
67180 #undef $ac_func
67182 /* Override any gcc2 internal prototype to avoid an error. */
67183 #ifdef __cplusplus
67184 extern "C"
67186 #endif
67187 /* We use char because int might match the return type of a gcc2
67188 builtin and then its argument prototype would still apply. */
67189 char $ac_func ();
67190 /* The GNU C library defines this for functions which it implements
67191 to always fail with ENOSYS. Some functions are actually named
67192 something starting with __ and the normal name is an alias. */
67193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67194 choke me
67195 #else
67196 char (*f) () = $ac_func;
67197 #endif
67198 #ifdef __cplusplus
67200 #endif
67203 main ()
67205 return f != $ac_func;
67207 return 0;
67209 _ACEOF
67210 rm -f conftest.$ac_objext conftest$ac_exeext
67211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67212 (eval $ac_link) 2>conftest.er1
67213 ac_status=$?
67214 grep -v '^ *+' conftest.er1 >conftest.err
67215 rm -f conftest.er1
67216 cat conftest.err >&5
67217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67218 (exit $ac_status); } &&
67219 { ac_try='test -z "$ac_c_werror_flag"
67220 || test ! -s conftest.err'
67221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67222 (eval $ac_try) 2>&5
67223 ac_status=$?
67224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67225 (exit $ac_status); }; } &&
67226 { ac_try='test -s conftest$ac_exeext'
67227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67228 (eval $ac_try) 2>&5
67229 ac_status=$?
67230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67231 (exit $ac_status); }; }; then
67232 eval "$as_ac_var=yes"
67233 else
67234 echo "$as_me: failed program was:" >&5
67235 sed 's/^/| /' conftest.$ac_ext >&5
67237 eval "$as_ac_var=no"
67239 rm -f conftest.err conftest.$ac_objext \
67240 conftest$ac_exeext conftest.$ac_ext
67242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67244 if test `eval echo '${'$as_ac_var'}'` = yes; then
67245 cat >>confdefs.h <<_ACEOF
67246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67247 _ACEOF
67250 done
67268 echo "$as_me:$LINENO: checking for float round functions" >&5
67269 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67270 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67271 echo $ECHO_N "(cached) $ECHO_C" >&6
67272 else
67276 ac_ext=cc
67277 ac_cpp='$CXXCPP $CPPFLAGS'
67278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67282 cat >conftest.$ac_ext <<_ACEOF
67283 /* confdefs.h. */
67284 _ACEOF
67285 cat confdefs.h >>conftest.$ac_ext
67286 cat >>conftest.$ac_ext <<_ACEOF
67287 /* end confdefs.h. */
67288 #include <math.h>
67290 main ()
67292 ceilf (0); floorf (0);
67294 return 0;
67296 _ACEOF
67297 rm -f conftest.$ac_objext
67298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67299 (eval $ac_compile) 2>conftest.er1
67300 ac_status=$?
67301 grep -v '^ *+' conftest.er1 >conftest.err
67302 rm -f conftest.er1
67303 cat conftest.err >&5
67304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67305 (exit $ac_status); } &&
67306 { ac_try='test -z "$ac_cxx_werror_flag"
67307 || test ! -s conftest.err'
67308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67309 (eval $ac_try) 2>&5
67310 ac_status=$?
67311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67312 (exit $ac_status); }; } &&
67313 { ac_try='test -s conftest.$ac_objext'
67314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67315 (eval $ac_try) 2>&5
67316 ac_status=$?
67317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67318 (exit $ac_status); }; }; then
67319 glibcxx_cv_func_float_round_use=yes
67320 else
67321 echo "$as_me: failed program was:" >&5
67322 sed 's/^/| /' conftest.$ac_ext >&5
67324 glibcxx_cv_func_float_round_use=no
67326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67327 ac_ext=c
67328 ac_cpp='$CPP $CPPFLAGS'
67329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67336 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67337 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67340 for ac_func in ceilf floorf
67342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67343 echo "$as_me:$LINENO: checking for $ac_func" >&5
67344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67345 if eval "test \"\${$as_ac_var+set}\" = set"; then
67346 echo $ECHO_N "(cached) $ECHO_C" >&6
67347 else
67348 if test x$gcc_no_link = xyes; then
67349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67351 { (exit 1); exit 1; }; }
67353 cat >conftest.$ac_ext <<_ACEOF
67354 /* confdefs.h. */
67355 _ACEOF
67356 cat confdefs.h >>conftest.$ac_ext
67357 cat >>conftest.$ac_ext <<_ACEOF
67358 /* end confdefs.h. */
67359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67361 #define $ac_func innocuous_$ac_func
67363 /* System header to define __stub macros and hopefully few prototypes,
67364 which can conflict with char $ac_func (); below.
67365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67366 <limits.h> exists even on freestanding compilers. */
67368 #ifdef __STDC__
67369 # include <limits.h>
67370 #else
67371 # include <assert.h>
67372 #endif
67374 #undef $ac_func
67376 /* Override any gcc2 internal prototype to avoid an error. */
67377 #ifdef __cplusplus
67378 extern "C"
67380 #endif
67381 /* We use char because int might match the return type of a gcc2
67382 builtin and then its argument prototype would still apply. */
67383 char $ac_func ();
67384 /* The GNU C library defines this for functions which it implements
67385 to always fail with ENOSYS. Some functions are actually named
67386 something starting with __ and the normal name is an alias. */
67387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67388 choke me
67389 #else
67390 char (*f) () = $ac_func;
67391 #endif
67392 #ifdef __cplusplus
67394 #endif
67397 main ()
67399 return f != $ac_func;
67401 return 0;
67403 _ACEOF
67404 rm -f conftest.$ac_objext conftest$ac_exeext
67405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67406 (eval $ac_link) 2>conftest.er1
67407 ac_status=$?
67408 grep -v '^ *+' conftest.er1 >conftest.err
67409 rm -f conftest.er1
67410 cat conftest.err >&5
67411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67412 (exit $ac_status); } &&
67413 { ac_try='test -z "$ac_c_werror_flag"
67414 || test ! -s conftest.err'
67415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67416 (eval $ac_try) 2>&5
67417 ac_status=$?
67418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67419 (exit $ac_status); }; } &&
67420 { ac_try='test -s conftest$ac_exeext'
67421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67422 (eval $ac_try) 2>&5
67423 ac_status=$?
67424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67425 (exit $ac_status); }; }; then
67426 eval "$as_ac_var=yes"
67427 else
67428 echo "$as_me: failed program was:" >&5
67429 sed 's/^/| /' conftest.$ac_ext >&5
67431 eval "$as_ac_var=no"
67433 rm -f conftest.err conftest.$ac_objext \
67434 conftest$ac_exeext conftest.$ac_ext
67436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67438 if test `eval echo '${'$as_ac_var'}'` = yes; then
67439 cat >>confdefs.h <<_ACEOF
67440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67441 _ACEOF
67444 done
67446 else
67447 echo "$as_me:$LINENO: checking for _float round functions" >&5
67448 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67449 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67450 echo $ECHO_N "(cached) $ECHO_C" >&6
67451 else
67455 ac_ext=cc
67456 ac_cpp='$CXXCPP $CPPFLAGS'
67457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67461 cat >conftest.$ac_ext <<_ACEOF
67462 /* confdefs.h. */
67463 _ACEOF
67464 cat confdefs.h >>conftest.$ac_ext
67465 cat >>conftest.$ac_ext <<_ACEOF
67466 /* end confdefs.h. */
67467 #include <math.h>
67469 main ()
67471 _ceilf (0); _floorf (0);
67473 return 0;
67475 _ACEOF
67476 rm -f conftest.$ac_objext
67477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67478 (eval $ac_compile) 2>conftest.er1
67479 ac_status=$?
67480 grep -v '^ *+' conftest.er1 >conftest.err
67481 rm -f conftest.er1
67482 cat conftest.err >&5
67483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67484 (exit $ac_status); } &&
67485 { ac_try='test -z "$ac_cxx_werror_flag"
67486 || test ! -s conftest.err'
67487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67488 (eval $ac_try) 2>&5
67489 ac_status=$?
67490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67491 (exit $ac_status); }; } &&
67492 { ac_try='test -s conftest.$ac_objext'
67493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67494 (eval $ac_try) 2>&5
67495 ac_status=$?
67496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67497 (exit $ac_status); }; }; then
67498 glibcxx_cv_func__float_round_use=yes
67499 else
67500 echo "$as_me: failed program was:" >&5
67501 sed 's/^/| /' conftest.$ac_ext >&5
67503 glibcxx_cv_func__float_round_use=no
67505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67506 ac_ext=c
67507 ac_cpp='$CPP $CPPFLAGS'
67508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67515 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67516 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67519 for ac_func in _ceilf _floorf
67521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67522 echo "$as_me:$LINENO: checking for $ac_func" >&5
67523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67524 if eval "test \"\${$as_ac_var+set}\" = set"; then
67525 echo $ECHO_N "(cached) $ECHO_C" >&6
67526 else
67527 if test x$gcc_no_link = xyes; then
67528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67530 { (exit 1); exit 1; }; }
67532 cat >conftest.$ac_ext <<_ACEOF
67533 /* confdefs.h. */
67534 _ACEOF
67535 cat confdefs.h >>conftest.$ac_ext
67536 cat >>conftest.$ac_ext <<_ACEOF
67537 /* end confdefs.h. */
67538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67540 #define $ac_func innocuous_$ac_func
67542 /* System header to define __stub macros and hopefully few prototypes,
67543 which can conflict with char $ac_func (); below.
67544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67545 <limits.h> exists even on freestanding compilers. */
67547 #ifdef __STDC__
67548 # include <limits.h>
67549 #else
67550 # include <assert.h>
67551 #endif
67553 #undef $ac_func
67555 /* Override any gcc2 internal prototype to avoid an error. */
67556 #ifdef __cplusplus
67557 extern "C"
67559 #endif
67560 /* We use char because int might match the return type of a gcc2
67561 builtin and then its argument prototype would still apply. */
67562 char $ac_func ();
67563 /* The GNU C library defines this for functions which it implements
67564 to always fail with ENOSYS. Some functions are actually named
67565 something starting with __ and the normal name is an alias. */
67566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67567 choke me
67568 #else
67569 char (*f) () = $ac_func;
67570 #endif
67571 #ifdef __cplusplus
67573 #endif
67576 main ()
67578 return f != $ac_func;
67580 return 0;
67582 _ACEOF
67583 rm -f conftest.$ac_objext conftest$ac_exeext
67584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67585 (eval $ac_link) 2>conftest.er1
67586 ac_status=$?
67587 grep -v '^ *+' conftest.er1 >conftest.err
67588 rm -f conftest.er1
67589 cat conftest.err >&5
67590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67591 (exit $ac_status); } &&
67592 { ac_try='test -z "$ac_c_werror_flag"
67593 || test ! -s conftest.err'
67594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67595 (eval $ac_try) 2>&5
67596 ac_status=$?
67597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67598 (exit $ac_status); }; } &&
67599 { ac_try='test -s conftest$ac_exeext'
67600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67601 (eval $ac_try) 2>&5
67602 ac_status=$?
67603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67604 (exit $ac_status); }; }; then
67605 eval "$as_ac_var=yes"
67606 else
67607 echo "$as_me: failed program was:" >&5
67608 sed 's/^/| /' conftest.$ac_ext >&5
67610 eval "$as_ac_var=no"
67612 rm -f conftest.err conftest.$ac_objext \
67613 conftest$ac_exeext conftest.$ac_ext
67615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67617 if test `eval echo '${'$as_ac_var'}'` = yes; then
67618 cat >>confdefs.h <<_ACEOF
67619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67620 _ACEOF
67623 done
67635 echo "$as_me:$LINENO: checking for expf declaration" >&5
67636 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67637 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67638 if test "${glibcxx_cv_func_expf_use+set}" = set; then
67639 echo $ECHO_N "(cached) $ECHO_C" >&6
67640 else
67644 ac_ext=cc
67645 ac_cpp='$CXXCPP $CPPFLAGS'
67646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67650 cat >conftest.$ac_ext <<_ACEOF
67651 /* confdefs.h. */
67652 _ACEOF
67653 cat confdefs.h >>conftest.$ac_ext
67654 cat >>conftest.$ac_ext <<_ACEOF
67655 /* end confdefs.h. */
67656 #include <math.h>
67657 #ifdef HAVE_IEEEFP_H
67658 #include <ieeefp.h>
67659 #endif
67662 main ()
67664 expf(0);
67666 return 0;
67668 _ACEOF
67669 rm -f conftest.$ac_objext
67670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67671 (eval $ac_compile) 2>conftest.er1
67672 ac_status=$?
67673 grep -v '^ *+' conftest.er1 >conftest.err
67674 rm -f conftest.er1
67675 cat conftest.err >&5
67676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67677 (exit $ac_status); } &&
67678 { ac_try='test -z "$ac_cxx_werror_flag"
67679 || test ! -s conftest.err'
67680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67681 (eval $ac_try) 2>&5
67682 ac_status=$?
67683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67684 (exit $ac_status); }; } &&
67685 { ac_try='test -s conftest.$ac_objext'
67686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67687 (eval $ac_try) 2>&5
67688 ac_status=$?
67689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67690 (exit $ac_status); }; }; then
67691 glibcxx_cv_func_expf_use=yes
67692 else
67693 echo "$as_me: failed program was:" >&5
67694 sed 's/^/| /' conftest.$ac_ext >&5
67696 glibcxx_cv_func_expf_use=no
67698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67699 ac_ext=c
67700 ac_cpp='$CPP $CPPFLAGS'
67701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67710 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67712 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67714 for ac_func in expf
67716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67717 echo "$as_me:$LINENO: checking for $ac_func" >&5
67718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67719 if eval "test \"\${$as_ac_var+set}\" = set"; then
67720 echo $ECHO_N "(cached) $ECHO_C" >&6
67721 else
67722 if test x$gcc_no_link = xyes; then
67723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67725 { (exit 1); exit 1; }; }
67727 cat >conftest.$ac_ext <<_ACEOF
67728 /* confdefs.h. */
67729 _ACEOF
67730 cat confdefs.h >>conftest.$ac_ext
67731 cat >>conftest.$ac_ext <<_ACEOF
67732 /* end confdefs.h. */
67733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67735 #define $ac_func innocuous_$ac_func
67737 /* System header to define __stub macros and hopefully few prototypes,
67738 which can conflict with char $ac_func (); below.
67739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67740 <limits.h> exists even on freestanding compilers. */
67742 #ifdef __STDC__
67743 # include <limits.h>
67744 #else
67745 # include <assert.h>
67746 #endif
67748 #undef $ac_func
67750 /* Override any gcc2 internal prototype to avoid an error. */
67751 #ifdef __cplusplus
67752 extern "C"
67754 #endif
67755 /* We use char because int might match the return type of a gcc2
67756 builtin and then its argument prototype would still apply. */
67757 char $ac_func ();
67758 /* The GNU C library defines this for functions which it implements
67759 to always fail with ENOSYS. Some functions are actually named
67760 something starting with __ and the normal name is an alias. */
67761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67762 choke me
67763 #else
67764 char (*f) () = $ac_func;
67765 #endif
67766 #ifdef __cplusplus
67768 #endif
67771 main ()
67773 return f != $ac_func;
67775 return 0;
67777 _ACEOF
67778 rm -f conftest.$ac_objext conftest$ac_exeext
67779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67780 (eval $ac_link) 2>conftest.er1
67781 ac_status=$?
67782 grep -v '^ *+' conftest.er1 >conftest.err
67783 rm -f conftest.er1
67784 cat conftest.err >&5
67785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67786 (exit $ac_status); } &&
67787 { ac_try='test -z "$ac_c_werror_flag"
67788 || test ! -s conftest.err'
67789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67790 (eval $ac_try) 2>&5
67791 ac_status=$?
67792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67793 (exit $ac_status); }; } &&
67794 { ac_try='test -s conftest$ac_exeext'
67795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67796 (eval $ac_try) 2>&5
67797 ac_status=$?
67798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67799 (exit $ac_status); }; }; then
67800 eval "$as_ac_var=yes"
67801 else
67802 echo "$as_me: failed program was:" >&5
67803 sed 's/^/| /' conftest.$ac_ext >&5
67805 eval "$as_ac_var=no"
67807 rm -f conftest.err conftest.$ac_objext \
67808 conftest$ac_exeext conftest.$ac_ext
67810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67812 if test `eval echo '${'$as_ac_var'}'` = yes; then
67813 cat >>confdefs.h <<_ACEOF
67814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67815 _ACEOF
67818 done
67820 else
67822 echo "$as_me:$LINENO: checking for _expf declaration" >&5
67823 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
67824 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67825 if test "${glibcxx_cv_func__expf_use+set}" = set; then
67826 echo $ECHO_N "(cached) $ECHO_C" >&6
67827 else
67831 ac_ext=cc
67832 ac_cpp='$CXXCPP $CPPFLAGS'
67833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67837 cat >conftest.$ac_ext <<_ACEOF
67838 /* confdefs.h. */
67839 _ACEOF
67840 cat confdefs.h >>conftest.$ac_ext
67841 cat >>conftest.$ac_ext <<_ACEOF
67842 /* end confdefs.h. */
67843 #include <math.h>
67844 #ifdef HAVE_IEEEFP_H
67845 #include <ieeefp.h>
67846 #endif
67849 main ()
67851 _expf(0);
67853 return 0;
67855 _ACEOF
67856 rm -f conftest.$ac_objext
67857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67858 (eval $ac_compile) 2>conftest.er1
67859 ac_status=$?
67860 grep -v '^ *+' conftest.er1 >conftest.err
67861 rm -f conftest.er1
67862 cat conftest.err >&5
67863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67864 (exit $ac_status); } &&
67865 { ac_try='test -z "$ac_cxx_werror_flag"
67866 || test ! -s conftest.err'
67867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67868 (eval $ac_try) 2>&5
67869 ac_status=$?
67870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67871 (exit $ac_status); }; } &&
67872 { ac_try='test -s conftest.$ac_objext'
67873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67874 (eval $ac_try) 2>&5
67875 ac_status=$?
67876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877 (exit $ac_status); }; }; then
67878 glibcxx_cv_func__expf_use=yes
67879 else
67880 echo "$as_me: failed program was:" >&5
67881 sed 's/^/| /' conftest.$ac_ext >&5
67883 glibcxx_cv_func__expf_use=no
67885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67886 ac_ext=c
67887 ac_cpp='$CPP $CPPFLAGS'
67888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
67897 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
67899 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67901 for ac_func in _expf
67903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67904 echo "$as_me:$LINENO: checking for $ac_func" >&5
67905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67906 if eval "test \"\${$as_ac_var+set}\" = set"; then
67907 echo $ECHO_N "(cached) $ECHO_C" >&6
67908 else
67909 if test x$gcc_no_link = xyes; then
67910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67912 { (exit 1); exit 1; }; }
67914 cat >conftest.$ac_ext <<_ACEOF
67915 /* confdefs.h. */
67916 _ACEOF
67917 cat confdefs.h >>conftest.$ac_ext
67918 cat >>conftest.$ac_ext <<_ACEOF
67919 /* end confdefs.h. */
67920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67922 #define $ac_func innocuous_$ac_func
67924 /* System header to define __stub macros and hopefully few prototypes,
67925 which can conflict with char $ac_func (); below.
67926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67927 <limits.h> exists even on freestanding compilers. */
67929 #ifdef __STDC__
67930 # include <limits.h>
67931 #else
67932 # include <assert.h>
67933 #endif
67935 #undef $ac_func
67937 /* Override any gcc2 internal prototype to avoid an error. */
67938 #ifdef __cplusplus
67939 extern "C"
67941 #endif
67942 /* We use char because int might match the return type of a gcc2
67943 builtin and then its argument prototype would still apply. */
67944 char $ac_func ();
67945 /* The GNU C library defines this for functions which it implements
67946 to always fail with ENOSYS. Some functions are actually named
67947 something starting with __ and the normal name is an alias. */
67948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67949 choke me
67950 #else
67951 char (*f) () = $ac_func;
67952 #endif
67953 #ifdef __cplusplus
67955 #endif
67958 main ()
67960 return f != $ac_func;
67962 return 0;
67964 _ACEOF
67965 rm -f conftest.$ac_objext conftest$ac_exeext
67966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67967 (eval $ac_link) 2>conftest.er1
67968 ac_status=$?
67969 grep -v '^ *+' conftest.er1 >conftest.err
67970 rm -f conftest.er1
67971 cat conftest.err >&5
67972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67973 (exit $ac_status); } &&
67974 { ac_try='test -z "$ac_c_werror_flag"
67975 || test ! -s conftest.err'
67976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67977 (eval $ac_try) 2>&5
67978 ac_status=$?
67979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67980 (exit $ac_status); }; } &&
67981 { ac_try='test -s conftest$ac_exeext'
67982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67983 (eval $ac_try) 2>&5
67984 ac_status=$?
67985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67986 (exit $ac_status); }; }; then
67987 eval "$as_ac_var=yes"
67988 else
67989 echo "$as_me: failed program was:" >&5
67990 sed 's/^/| /' conftest.$ac_ext >&5
67992 eval "$as_ac_var=no"
67994 rm -f conftest.err conftest.$ac_objext \
67995 conftest$ac_exeext conftest.$ac_ext
67997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67999 if test `eval echo '${'$as_ac_var'}'` = yes; then
68000 cat >>confdefs.h <<_ACEOF
68001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68002 _ACEOF
68005 done
68015 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68016 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68017 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68018 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68019 echo $ECHO_N "(cached) $ECHO_C" >&6
68020 else
68024 ac_ext=cc
68025 ac_cpp='$CXXCPP $CPPFLAGS'
68026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68030 cat >conftest.$ac_ext <<_ACEOF
68031 /* confdefs.h. */
68032 _ACEOF
68033 cat confdefs.h >>conftest.$ac_ext
68034 cat >>conftest.$ac_ext <<_ACEOF
68035 /* end confdefs.h. */
68036 #include <math.h>
68037 #ifdef HAVE_IEEEFP_H
68038 #include <ieeefp.h>
68039 #endif
68042 main ()
68044 isnanf(0);
68046 return 0;
68048 _ACEOF
68049 rm -f conftest.$ac_objext
68050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68051 (eval $ac_compile) 2>conftest.er1
68052 ac_status=$?
68053 grep -v '^ *+' conftest.er1 >conftest.err
68054 rm -f conftest.er1
68055 cat conftest.err >&5
68056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68057 (exit $ac_status); } &&
68058 { ac_try='test -z "$ac_cxx_werror_flag"
68059 || test ! -s conftest.err'
68060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68061 (eval $ac_try) 2>&5
68062 ac_status=$?
68063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68064 (exit $ac_status); }; } &&
68065 { ac_try='test -s conftest.$ac_objext'
68066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68067 (eval $ac_try) 2>&5
68068 ac_status=$?
68069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68070 (exit $ac_status); }; }; then
68071 glibcxx_cv_func_isnanf_use=yes
68072 else
68073 echo "$as_me: failed program was:" >&5
68074 sed 's/^/| /' conftest.$ac_ext >&5
68076 glibcxx_cv_func_isnanf_use=no
68078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68079 ac_ext=c
68080 ac_cpp='$CPP $CPPFLAGS'
68081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68090 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68092 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68094 for ac_func in isnanf
68096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68097 echo "$as_me:$LINENO: checking for $ac_func" >&5
68098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68099 if eval "test \"\${$as_ac_var+set}\" = set"; then
68100 echo $ECHO_N "(cached) $ECHO_C" >&6
68101 else
68102 if test x$gcc_no_link = xyes; then
68103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68105 { (exit 1); exit 1; }; }
68107 cat >conftest.$ac_ext <<_ACEOF
68108 /* confdefs.h. */
68109 _ACEOF
68110 cat confdefs.h >>conftest.$ac_ext
68111 cat >>conftest.$ac_ext <<_ACEOF
68112 /* end confdefs.h. */
68113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68115 #define $ac_func innocuous_$ac_func
68117 /* System header to define __stub macros and hopefully few prototypes,
68118 which can conflict with char $ac_func (); below.
68119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68120 <limits.h> exists even on freestanding compilers. */
68122 #ifdef __STDC__
68123 # include <limits.h>
68124 #else
68125 # include <assert.h>
68126 #endif
68128 #undef $ac_func
68130 /* Override any gcc2 internal prototype to avoid an error. */
68131 #ifdef __cplusplus
68132 extern "C"
68134 #endif
68135 /* We use char because int might match the return type of a gcc2
68136 builtin and then its argument prototype would still apply. */
68137 char $ac_func ();
68138 /* The GNU C library defines this for functions which it implements
68139 to always fail with ENOSYS. Some functions are actually named
68140 something starting with __ and the normal name is an alias. */
68141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68142 choke me
68143 #else
68144 char (*f) () = $ac_func;
68145 #endif
68146 #ifdef __cplusplus
68148 #endif
68151 main ()
68153 return f != $ac_func;
68155 return 0;
68157 _ACEOF
68158 rm -f conftest.$ac_objext conftest$ac_exeext
68159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68160 (eval $ac_link) 2>conftest.er1
68161 ac_status=$?
68162 grep -v '^ *+' conftest.er1 >conftest.err
68163 rm -f conftest.er1
68164 cat conftest.err >&5
68165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68166 (exit $ac_status); } &&
68167 { ac_try='test -z "$ac_c_werror_flag"
68168 || test ! -s conftest.err'
68169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68170 (eval $ac_try) 2>&5
68171 ac_status=$?
68172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68173 (exit $ac_status); }; } &&
68174 { ac_try='test -s conftest$ac_exeext'
68175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68176 (eval $ac_try) 2>&5
68177 ac_status=$?
68178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68179 (exit $ac_status); }; }; then
68180 eval "$as_ac_var=yes"
68181 else
68182 echo "$as_me: failed program was:" >&5
68183 sed 's/^/| /' conftest.$ac_ext >&5
68185 eval "$as_ac_var=no"
68187 rm -f conftest.err conftest.$ac_objext \
68188 conftest$ac_exeext conftest.$ac_ext
68190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68192 if test `eval echo '${'$as_ac_var'}'` = yes; then
68193 cat >>confdefs.h <<_ACEOF
68194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68195 _ACEOF
68198 done
68200 else
68202 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68203 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68204 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68205 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68206 echo $ECHO_N "(cached) $ECHO_C" >&6
68207 else
68211 ac_ext=cc
68212 ac_cpp='$CXXCPP $CPPFLAGS'
68213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68217 cat >conftest.$ac_ext <<_ACEOF
68218 /* confdefs.h. */
68219 _ACEOF
68220 cat confdefs.h >>conftest.$ac_ext
68221 cat >>conftest.$ac_ext <<_ACEOF
68222 /* end confdefs.h. */
68223 #include <math.h>
68224 #ifdef HAVE_IEEEFP_H
68225 #include <ieeefp.h>
68226 #endif
68229 main ()
68231 _isnanf(0);
68233 return 0;
68235 _ACEOF
68236 rm -f conftest.$ac_objext
68237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68238 (eval $ac_compile) 2>conftest.er1
68239 ac_status=$?
68240 grep -v '^ *+' conftest.er1 >conftest.err
68241 rm -f conftest.er1
68242 cat conftest.err >&5
68243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68244 (exit $ac_status); } &&
68245 { ac_try='test -z "$ac_cxx_werror_flag"
68246 || test ! -s conftest.err'
68247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68248 (eval $ac_try) 2>&5
68249 ac_status=$?
68250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68251 (exit $ac_status); }; } &&
68252 { ac_try='test -s conftest.$ac_objext'
68253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68254 (eval $ac_try) 2>&5
68255 ac_status=$?
68256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68257 (exit $ac_status); }; }; then
68258 glibcxx_cv_func__isnanf_use=yes
68259 else
68260 echo "$as_me: failed program was:" >&5
68261 sed 's/^/| /' conftest.$ac_ext >&5
68263 glibcxx_cv_func__isnanf_use=no
68265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68266 ac_ext=c
68267 ac_cpp='$CPP $CPPFLAGS'
68268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68277 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68279 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68281 for ac_func in _isnanf
68283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68284 echo "$as_me:$LINENO: checking for $ac_func" >&5
68285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68286 if eval "test \"\${$as_ac_var+set}\" = set"; then
68287 echo $ECHO_N "(cached) $ECHO_C" >&6
68288 else
68289 if test x$gcc_no_link = xyes; then
68290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68292 { (exit 1); exit 1; }; }
68294 cat >conftest.$ac_ext <<_ACEOF
68295 /* confdefs.h. */
68296 _ACEOF
68297 cat confdefs.h >>conftest.$ac_ext
68298 cat >>conftest.$ac_ext <<_ACEOF
68299 /* end confdefs.h. */
68300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68302 #define $ac_func innocuous_$ac_func
68304 /* System header to define __stub macros and hopefully few prototypes,
68305 which can conflict with char $ac_func (); below.
68306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68307 <limits.h> exists even on freestanding compilers. */
68309 #ifdef __STDC__
68310 # include <limits.h>
68311 #else
68312 # include <assert.h>
68313 #endif
68315 #undef $ac_func
68317 /* Override any gcc2 internal prototype to avoid an error. */
68318 #ifdef __cplusplus
68319 extern "C"
68321 #endif
68322 /* We use char because int might match the return type of a gcc2
68323 builtin and then its argument prototype would still apply. */
68324 char $ac_func ();
68325 /* The GNU C library defines this for functions which it implements
68326 to always fail with ENOSYS. Some functions are actually named
68327 something starting with __ and the normal name is an alias. */
68328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68329 choke me
68330 #else
68331 char (*f) () = $ac_func;
68332 #endif
68333 #ifdef __cplusplus
68335 #endif
68338 main ()
68340 return f != $ac_func;
68342 return 0;
68344 _ACEOF
68345 rm -f conftest.$ac_objext conftest$ac_exeext
68346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68347 (eval $ac_link) 2>conftest.er1
68348 ac_status=$?
68349 grep -v '^ *+' conftest.er1 >conftest.err
68350 rm -f conftest.er1
68351 cat conftest.err >&5
68352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68353 (exit $ac_status); } &&
68354 { ac_try='test -z "$ac_c_werror_flag"
68355 || test ! -s conftest.err'
68356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68357 (eval $ac_try) 2>&5
68358 ac_status=$?
68359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68360 (exit $ac_status); }; } &&
68361 { ac_try='test -s conftest$ac_exeext'
68362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68363 (eval $ac_try) 2>&5
68364 ac_status=$?
68365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68366 (exit $ac_status); }; }; then
68367 eval "$as_ac_var=yes"
68368 else
68369 echo "$as_me: failed program was:" >&5
68370 sed 's/^/| /' conftest.$ac_ext >&5
68372 eval "$as_ac_var=no"
68374 rm -f conftest.err conftest.$ac_objext \
68375 conftest$ac_exeext conftest.$ac_ext
68377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68379 if test `eval echo '${'$as_ac_var'}'` = yes; then
68380 cat >>confdefs.h <<_ACEOF
68381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68382 _ACEOF
68385 done
68395 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68396 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68397 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68398 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68399 echo $ECHO_N "(cached) $ECHO_C" >&6
68400 else
68404 ac_ext=cc
68405 ac_cpp='$CXXCPP $CPPFLAGS'
68406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68410 cat >conftest.$ac_ext <<_ACEOF
68411 /* confdefs.h. */
68412 _ACEOF
68413 cat confdefs.h >>conftest.$ac_ext
68414 cat >>conftest.$ac_ext <<_ACEOF
68415 /* end confdefs.h. */
68416 #include <math.h>
68417 #ifdef HAVE_IEEEFP_H
68418 #include <ieeefp.h>
68419 #endif
68422 main ()
68424 isinff(0);
68426 return 0;
68428 _ACEOF
68429 rm -f conftest.$ac_objext
68430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68431 (eval $ac_compile) 2>conftest.er1
68432 ac_status=$?
68433 grep -v '^ *+' conftest.er1 >conftest.err
68434 rm -f conftest.er1
68435 cat conftest.err >&5
68436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68437 (exit $ac_status); } &&
68438 { ac_try='test -z "$ac_cxx_werror_flag"
68439 || test ! -s conftest.err'
68440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68441 (eval $ac_try) 2>&5
68442 ac_status=$?
68443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68444 (exit $ac_status); }; } &&
68445 { ac_try='test -s conftest.$ac_objext'
68446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68447 (eval $ac_try) 2>&5
68448 ac_status=$?
68449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68450 (exit $ac_status); }; }; then
68451 glibcxx_cv_func_isinff_use=yes
68452 else
68453 echo "$as_me: failed program was:" >&5
68454 sed 's/^/| /' conftest.$ac_ext >&5
68456 glibcxx_cv_func_isinff_use=no
68458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68459 ac_ext=c
68460 ac_cpp='$CPP $CPPFLAGS'
68461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68470 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68472 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68474 for ac_func in isinff
68476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68477 echo "$as_me:$LINENO: checking for $ac_func" >&5
68478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68479 if eval "test \"\${$as_ac_var+set}\" = set"; then
68480 echo $ECHO_N "(cached) $ECHO_C" >&6
68481 else
68482 if test x$gcc_no_link = xyes; then
68483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68485 { (exit 1); exit 1; }; }
68487 cat >conftest.$ac_ext <<_ACEOF
68488 /* confdefs.h. */
68489 _ACEOF
68490 cat confdefs.h >>conftest.$ac_ext
68491 cat >>conftest.$ac_ext <<_ACEOF
68492 /* end confdefs.h. */
68493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68495 #define $ac_func innocuous_$ac_func
68497 /* System header to define __stub macros and hopefully few prototypes,
68498 which can conflict with char $ac_func (); below.
68499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68500 <limits.h> exists even on freestanding compilers. */
68502 #ifdef __STDC__
68503 # include <limits.h>
68504 #else
68505 # include <assert.h>
68506 #endif
68508 #undef $ac_func
68510 /* Override any gcc2 internal prototype to avoid an error. */
68511 #ifdef __cplusplus
68512 extern "C"
68514 #endif
68515 /* We use char because int might match the return type of a gcc2
68516 builtin and then its argument prototype would still apply. */
68517 char $ac_func ();
68518 /* The GNU C library defines this for functions which it implements
68519 to always fail with ENOSYS. Some functions are actually named
68520 something starting with __ and the normal name is an alias. */
68521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68522 choke me
68523 #else
68524 char (*f) () = $ac_func;
68525 #endif
68526 #ifdef __cplusplus
68528 #endif
68531 main ()
68533 return f != $ac_func;
68535 return 0;
68537 _ACEOF
68538 rm -f conftest.$ac_objext conftest$ac_exeext
68539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68540 (eval $ac_link) 2>conftest.er1
68541 ac_status=$?
68542 grep -v '^ *+' conftest.er1 >conftest.err
68543 rm -f conftest.er1
68544 cat conftest.err >&5
68545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68546 (exit $ac_status); } &&
68547 { ac_try='test -z "$ac_c_werror_flag"
68548 || test ! -s conftest.err'
68549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68550 (eval $ac_try) 2>&5
68551 ac_status=$?
68552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68553 (exit $ac_status); }; } &&
68554 { ac_try='test -s conftest$ac_exeext'
68555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68556 (eval $ac_try) 2>&5
68557 ac_status=$?
68558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68559 (exit $ac_status); }; }; then
68560 eval "$as_ac_var=yes"
68561 else
68562 echo "$as_me: failed program was:" >&5
68563 sed 's/^/| /' conftest.$ac_ext >&5
68565 eval "$as_ac_var=no"
68567 rm -f conftest.err conftest.$ac_objext \
68568 conftest$ac_exeext conftest.$ac_ext
68570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68572 if test `eval echo '${'$as_ac_var'}'` = yes; then
68573 cat >>confdefs.h <<_ACEOF
68574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68575 _ACEOF
68578 done
68580 else
68582 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68583 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68584 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68585 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68586 echo $ECHO_N "(cached) $ECHO_C" >&6
68587 else
68591 ac_ext=cc
68592 ac_cpp='$CXXCPP $CPPFLAGS'
68593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68597 cat >conftest.$ac_ext <<_ACEOF
68598 /* confdefs.h. */
68599 _ACEOF
68600 cat confdefs.h >>conftest.$ac_ext
68601 cat >>conftest.$ac_ext <<_ACEOF
68602 /* end confdefs.h. */
68603 #include <math.h>
68604 #ifdef HAVE_IEEEFP_H
68605 #include <ieeefp.h>
68606 #endif
68609 main ()
68611 _isinff(0);
68613 return 0;
68615 _ACEOF
68616 rm -f conftest.$ac_objext
68617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68618 (eval $ac_compile) 2>conftest.er1
68619 ac_status=$?
68620 grep -v '^ *+' conftest.er1 >conftest.err
68621 rm -f conftest.er1
68622 cat conftest.err >&5
68623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68624 (exit $ac_status); } &&
68625 { ac_try='test -z "$ac_cxx_werror_flag"
68626 || test ! -s conftest.err'
68627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68628 (eval $ac_try) 2>&5
68629 ac_status=$?
68630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68631 (exit $ac_status); }; } &&
68632 { ac_try='test -s conftest.$ac_objext'
68633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68634 (eval $ac_try) 2>&5
68635 ac_status=$?
68636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68637 (exit $ac_status); }; }; then
68638 glibcxx_cv_func__isinff_use=yes
68639 else
68640 echo "$as_me: failed program was:" >&5
68641 sed 's/^/| /' conftest.$ac_ext >&5
68643 glibcxx_cv_func__isinff_use=no
68645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68646 ac_ext=c
68647 ac_cpp='$CPP $CPPFLAGS'
68648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68657 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68659 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68661 for ac_func in _isinff
68663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68664 echo "$as_me:$LINENO: checking for $ac_func" >&5
68665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68666 if eval "test \"\${$as_ac_var+set}\" = set"; then
68667 echo $ECHO_N "(cached) $ECHO_C" >&6
68668 else
68669 if test x$gcc_no_link = xyes; then
68670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68672 { (exit 1); exit 1; }; }
68674 cat >conftest.$ac_ext <<_ACEOF
68675 /* confdefs.h. */
68676 _ACEOF
68677 cat confdefs.h >>conftest.$ac_ext
68678 cat >>conftest.$ac_ext <<_ACEOF
68679 /* end confdefs.h. */
68680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68682 #define $ac_func innocuous_$ac_func
68684 /* System header to define __stub macros and hopefully few prototypes,
68685 which can conflict with char $ac_func (); below.
68686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68687 <limits.h> exists even on freestanding compilers. */
68689 #ifdef __STDC__
68690 # include <limits.h>
68691 #else
68692 # include <assert.h>
68693 #endif
68695 #undef $ac_func
68697 /* Override any gcc2 internal prototype to avoid an error. */
68698 #ifdef __cplusplus
68699 extern "C"
68701 #endif
68702 /* We use char because int might match the return type of a gcc2
68703 builtin and then its argument prototype would still apply. */
68704 char $ac_func ();
68705 /* The GNU C library defines this for functions which it implements
68706 to always fail with ENOSYS. Some functions are actually named
68707 something starting with __ and the normal name is an alias. */
68708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68709 choke me
68710 #else
68711 char (*f) () = $ac_func;
68712 #endif
68713 #ifdef __cplusplus
68715 #endif
68718 main ()
68720 return f != $ac_func;
68722 return 0;
68724 _ACEOF
68725 rm -f conftest.$ac_objext conftest$ac_exeext
68726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68727 (eval $ac_link) 2>conftest.er1
68728 ac_status=$?
68729 grep -v '^ *+' conftest.er1 >conftest.err
68730 rm -f conftest.er1
68731 cat conftest.err >&5
68732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68733 (exit $ac_status); } &&
68734 { ac_try='test -z "$ac_c_werror_flag"
68735 || test ! -s conftest.err'
68736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68737 (eval $ac_try) 2>&5
68738 ac_status=$?
68739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68740 (exit $ac_status); }; } &&
68741 { ac_try='test -s conftest$ac_exeext'
68742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68743 (eval $ac_try) 2>&5
68744 ac_status=$?
68745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68746 (exit $ac_status); }; }; then
68747 eval "$as_ac_var=yes"
68748 else
68749 echo "$as_me: failed program was:" >&5
68750 sed 's/^/| /' conftest.$ac_ext >&5
68752 eval "$as_ac_var=no"
68754 rm -f conftest.err conftest.$ac_objext \
68755 conftest$ac_exeext conftest.$ac_ext
68757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68759 if test `eval echo '${'$as_ac_var'}'` = yes; then
68760 cat >>confdefs.h <<_ACEOF
68761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68762 _ACEOF
68765 done
68775 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
68776 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
68777 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68778 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
68779 echo $ECHO_N "(cached) $ECHO_C" >&6
68780 else
68784 ac_ext=cc
68785 ac_cpp='$CXXCPP $CPPFLAGS'
68786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68790 cat >conftest.$ac_ext <<_ACEOF
68791 /* confdefs.h. */
68792 _ACEOF
68793 cat confdefs.h >>conftest.$ac_ext
68794 cat >>conftest.$ac_ext <<_ACEOF
68795 /* end confdefs.h. */
68796 #include <math.h>
68798 main ()
68800 atan2f(0, 0);
68802 return 0;
68804 _ACEOF
68805 rm -f conftest.$ac_objext
68806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68807 (eval $ac_compile) 2>conftest.er1
68808 ac_status=$?
68809 grep -v '^ *+' conftest.er1 >conftest.err
68810 rm -f conftest.er1
68811 cat conftest.err >&5
68812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68813 (exit $ac_status); } &&
68814 { ac_try='test -z "$ac_cxx_werror_flag"
68815 || test ! -s conftest.err'
68816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68817 (eval $ac_try) 2>&5
68818 ac_status=$?
68819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68820 (exit $ac_status); }; } &&
68821 { ac_try='test -s conftest.$ac_objext'
68822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68823 (eval $ac_try) 2>&5
68824 ac_status=$?
68825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68826 (exit $ac_status); }; }; then
68827 glibcxx_cv_func_atan2f_use=yes
68828 else
68829 echo "$as_me: failed program was:" >&5
68830 sed 's/^/| /' conftest.$ac_ext >&5
68832 glibcxx_cv_func_atan2f_use=no
68834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68835 ac_ext=c
68836 ac_cpp='$CPP $CPPFLAGS'
68837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
68846 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
68848 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68850 for ac_func in atan2f
68852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68853 echo "$as_me:$LINENO: checking for $ac_func" >&5
68854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68855 if eval "test \"\${$as_ac_var+set}\" = set"; then
68856 echo $ECHO_N "(cached) $ECHO_C" >&6
68857 else
68858 if test x$gcc_no_link = xyes; then
68859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68861 { (exit 1); exit 1; }; }
68863 cat >conftest.$ac_ext <<_ACEOF
68864 /* confdefs.h. */
68865 _ACEOF
68866 cat confdefs.h >>conftest.$ac_ext
68867 cat >>conftest.$ac_ext <<_ACEOF
68868 /* end confdefs.h. */
68869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68871 #define $ac_func innocuous_$ac_func
68873 /* System header to define __stub macros and hopefully few prototypes,
68874 which can conflict with char $ac_func (); below.
68875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68876 <limits.h> exists even on freestanding compilers. */
68878 #ifdef __STDC__
68879 # include <limits.h>
68880 #else
68881 # include <assert.h>
68882 #endif
68884 #undef $ac_func
68886 /* Override any gcc2 internal prototype to avoid an error. */
68887 #ifdef __cplusplus
68888 extern "C"
68890 #endif
68891 /* We use char because int might match the return type of a gcc2
68892 builtin and then its argument prototype would still apply. */
68893 char $ac_func ();
68894 /* The GNU C library defines this for functions which it implements
68895 to always fail with ENOSYS. Some functions are actually named
68896 something starting with __ and the normal name is an alias. */
68897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68898 choke me
68899 #else
68900 char (*f) () = $ac_func;
68901 #endif
68902 #ifdef __cplusplus
68904 #endif
68907 main ()
68909 return f != $ac_func;
68911 return 0;
68913 _ACEOF
68914 rm -f conftest.$ac_objext conftest$ac_exeext
68915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68916 (eval $ac_link) 2>conftest.er1
68917 ac_status=$?
68918 grep -v '^ *+' conftest.er1 >conftest.err
68919 rm -f conftest.er1
68920 cat conftest.err >&5
68921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68922 (exit $ac_status); } &&
68923 { ac_try='test -z "$ac_c_werror_flag"
68924 || test ! -s conftest.err'
68925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68926 (eval $ac_try) 2>&5
68927 ac_status=$?
68928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68929 (exit $ac_status); }; } &&
68930 { ac_try='test -s conftest$ac_exeext'
68931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68932 (eval $ac_try) 2>&5
68933 ac_status=$?
68934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68935 (exit $ac_status); }; }; then
68936 eval "$as_ac_var=yes"
68937 else
68938 echo "$as_me: failed program was:" >&5
68939 sed 's/^/| /' conftest.$ac_ext >&5
68941 eval "$as_ac_var=no"
68943 rm -f conftest.err conftest.$ac_objext \
68944 conftest$ac_exeext conftest.$ac_ext
68946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68948 if test `eval echo '${'$as_ac_var'}'` = yes; then
68949 cat >>confdefs.h <<_ACEOF
68950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68951 _ACEOF
68954 done
68956 else
68958 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
68959 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
68960 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68961 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
68962 echo $ECHO_N "(cached) $ECHO_C" >&6
68963 else
68967 ac_ext=cc
68968 ac_cpp='$CXXCPP $CPPFLAGS'
68969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68973 cat >conftest.$ac_ext <<_ACEOF
68974 /* confdefs.h. */
68975 _ACEOF
68976 cat confdefs.h >>conftest.$ac_ext
68977 cat >>conftest.$ac_ext <<_ACEOF
68978 /* end confdefs.h. */
68979 #include <math.h>
68981 main ()
68983 _atan2f(0, 0);
68985 return 0;
68987 _ACEOF
68988 rm -f conftest.$ac_objext
68989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68990 (eval $ac_compile) 2>conftest.er1
68991 ac_status=$?
68992 grep -v '^ *+' conftest.er1 >conftest.err
68993 rm -f conftest.er1
68994 cat conftest.err >&5
68995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68996 (exit $ac_status); } &&
68997 { ac_try='test -z "$ac_cxx_werror_flag"
68998 || test ! -s conftest.err'
68999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69000 (eval $ac_try) 2>&5
69001 ac_status=$?
69002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69003 (exit $ac_status); }; } &&
69004 { ac_try='test -s conftest.$ac_objext'
69005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69006 (eval $ac_try) 2>&5
69007 ac_status=$?
69008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69009 (exit $ac_status); }; }; then
69010 glibcxx_cv_func__atan2f_use=yes
69011 else
69012 echo "$as_me: failed program was:" >&5
69013 sed 's/^/| /' conftest.$ac_ext >&5
69015 glibcxx_cv_func__atan2f_use=no
69017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69018 ac_ext=c
69019 ac_cpp='$CPP $CPPFLAGS'
69020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69029 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69031 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69033 for ac_func in _atan2f
69035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69036 echo "$as_me:$LINENO: checking for $ac_func" >&5
69037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69038 if eval "test \"\${$as_ac_var+set}\" = set"; then
69039 echo $ECHO_N "(cached) $ECHO_C" >&6
69040 else
69041 if test x$gcc_no_link = xyes; then
69042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69044 { (exit 1); exit 1; }; }
69046 cat >conftest.$ac_ext <<_ACEOF
69047 /* confdefs.h. */
69048 _ACEOF
69049 cat confdefs.h >>conftest.$ac_ext
69050 cat >>conftest.$ac_ext <<_ACEOF
69051 /* end confdefs.h. */
69052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69054 #define $ac_func innocuous_$ac_func
69056 /* System header to define __stub macros and hopefully few prototypes,
69057 which can conflict with char $ac_func (); below.
69058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69059 <limits.h> exists even on freestanding compilers. */
69061 #ifdef __STDC__
69062 # include <limits.h>
69063 #else
69064 # include <assert.h>
69065 #endif
69067 #undef $ac_func
69069 /* Override any gcc2 internal prototype to avoid an error. */
69070 #ifdef __cplusplus
69071 extern "C"
69073 #endif
69074 /* We use char because int might match the return type of a gcc2
69075 builtin and then its argument prototype would still apply. */
69076 char $ac_func ();
69077 /* The GNU C library defines this for functions which it implements
69078 to always fail with ENOSYS. Some functions are actually named
69079 something starting with __ and the normal name is an alias. */
69080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69081 choke me
69082 #else
69083 char (*f) () = $ac_func;
69084 #endif
69085 #ifdef __cplusplus
69087 #endif
69090 main ()
69092 return f != $ac_func;
69094 return 0;
69096 _ACEOF
69097 rm -f conftest.$ac_objext conftest$ac_exeext
69098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69099 (eval $ac_link) 2>conftest.er1
69100 ac_status=$?
69101 grep -v '^ *+' conftest.er1 >conftest.err
69102 rm -f conftest.er1
69103 cat conftest.err >&5
69104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69105 (exit $ac_status); } &&
69106 { ac_try='test -z "$ac_c_werror_flag"
69107 || test ! -s conftest.err'
69108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69109 (eval $ac_try) 2>&5
69110 ac_status=$?
69111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69112 (exit $ac_status); }; } &&
69113 { ac_try='test -s conftest$ac_exeext'
69114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69115 (eval $ac_try) 2>&5
69116 ac_status=$?
69117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69118 (exit $ac_status); }; }; then
69119 eval "$as_ac_var=yes"
69120 else
69121 echo "$as_me: failed program was:" >&5
69122 sed 's/^/| /' conftest.$ac_ext >&5
69124 eval "$as_ac_var=no"
69126 rm -f conftest.err conftest.$ac_objext \
69127 conftest$ac_exeext conftest.$ac_ext
69129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69131 if test `eval echo '${'$as_ac_var'}'` = yes; then
69132 cat >>confdefs.h <<_ACEOF
69133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69134 _ACEOF
69137 done
69147 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69148 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69149 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69150 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69151 echo $ECHO_N "(cached) $ECHO_C" >&6
69152 else
69156 ac_ext=cc
69157 ac_cpp='$CXXCPP $CPPFLAGS'
69158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69162 cat >conftest.$ac_ext <<_ACEOF
69163 /* confdefs.h. */
69164 _ACEOF
69165 cat confdefs.h >>conftest.$ac_ext
69166 cat >>conftest.$ac_ext <<_ACEOF
69167 /* end confdefs.h. */
69168 #include <math.h>
69169 #ifdef HAVE_IEEEFP_H
69170 #include <ieeefp.h>
69171 #endif
69174 main ()
69176 fabsf(0);
69178 return 0;
69180 _ACEOF
69181 rm -f conftest.$ac_objext
69182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69183 (eval $ac_compile) 2>conftest.er1
69184 ac_status=$?
69185 grep -v '^ *+' conftest.er1 >conftest.err
69186 rm -f conftest.er1
69187 cat conftest.err >&5
69188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69189 (exit $ac_status); } &&
69190 { ac_try='test -z "$ac_cxx_werror_flag"
69191 || test ! -s conftest.err'
69192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69193 (eval $ac_try) 2>&5
69194 ac_status=$?
69195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69196 (exit $ac_status); }; } &&
69197 { ac_try='test -s conftest.$ac_objext'
69198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69199 (eval $ac_try) 2>&5
69200 ac_status=$?
69201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69202 (exit $ac_status); }; }; then
69203 glibcxx_cv_func_fabsf_use=yes
69204 else
69205 echo "$as_me: failed program was:" >&5
69206 sed 's/^/| /' conftest.$ac_ext >&5
69208 glibcxx_cv_func_fabsf_use=no
69210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69211 ac_ext=c
69212 ac_cpp='$CPP $CPPFLAGS'
69213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69222 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69224 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69226 for ac_func in fabsf
69228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69229 echo "$as_me:$LINENO: checking for $ac_func" >&5
69230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69231 if eval "test \"\${$as_ac_var+set}\" = set"; then
69232 echo $ECHO_N "(cached) $ECHO_C" >&6
69233 else
69234 if test x$gcc_no_link = xyes; then
69235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69237 { (exit 1); exit 1; }; }
69239 cat >conftest.$ac_ext <<_ACEOF
69240 /* confdefs.h. */
69241 _ACEOF
69242 cat confdefs.h >>conftest.$ac_ext
69243 cat >>conftest.$ac_ext <<_ACEOF
69244 /* end confdefs.h. */
69245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69247 #define $ac_func innocuous_$ac_func
69249 /* System header to define __stub macros and hopefully few prototypes,
69250 which can conflict with char $ac_func (); below.
69251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69252 <limits.h> exists even on freestanding compilers. */
69254 #ifdef __STDC__
69255 # include <limits.h>
69256 #else
69257 # include <assert.h>
69258 #endif
69260 #undef $ac_func
69262 /* Override any gcc2 internal prototype to avoid an error. */
69263 #ifdef __cplusplus
69264 extern "C"
69266 #endif
69267 /* We use char because int might match the return type of a gcc2
69268 builtin and then its argument prototype would still apply. */
69269 char $ac_func ();
69270 /* The GNU C library defines this for functions which it implements
69271 to always fail with ENOSYS. Some functions are actually named
69272 something starting with __ and the normal name is an alias. */
69273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69274 choke me
69275 #else
69276 char (*f) () = $ac_func;
69277 #endif
69278 #ifdef __cplusplus
69280 #endif
69283 main ()
69285 return f != $ac_func;
69287 return 0;
69289 _ACEOF
69290 rm -f conftest.$ac_objext conftest$ac_exeext
69291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69292 (eval $ac_link) 2>conftest.er1
69293 ac_status=$?
69294 grep -v '^ *+' conftest.er1 >conftest.err
69295 rm -f conftest.er1
69296 cat conftest.err >&5
69297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69298 (exit $ac_status); } &&
69299 { ac_try='test -z "$ac_c_werror_flag"
69300 || test ! -s conftest.err'
69301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69302 (eval $ac_try) 2>&5
69303 ac_status=$?
69304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69305 (exit $ac_status); }; } &&
69306 { ac_try='test -s conftest$ac_exeext'
69307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69308 (eval $ac_try) 2>&5
69309 ac_status=$?
69310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69311 (exit $ac_status); }; }; then
69312 eval "$as_ac_var=yes"
69313 else
69314 echo "$as_me: failed program was:" >&5
69315 sed 's/^/| /' conftest.$ac_ext >&5
69317 eval "$as_ac_var=no"
69319 rm -f conftest.err conftest.$ac_objext \
69320 conftest$ac_exeext conftest.$ac_ext
69322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69324 if test `eval echo '${'$as_ac_var'}'` = yes; then
69325 cat >>confdefs.h <<_ACEOF
69326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69327 _ACEOF
69330 done
69332 else
69334 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69335 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69336 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69337 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69338 echo $ECHO_N "(cached) $ECHO_C" >&6
69339 else
69343 ac_ext=cc
69344 ac_cpp='$CXXCPP $CPPFLAGS'
69345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69349 cat >conftest.$ac_ext <<_ACEOF
69350 /* confdefs.h. */
69351 _ACEOF
69352 cat confdefs.h >>conftest.$ac_ext
69353 cat >>conftest.$ac_ext <<_ACEOF
69354 /* end confdefs.h. */
69355 #include <math.h>
69356 #ifdef HAVE_IEEEFP_H
69357 #include <ieeefp.h>
69358 #endif
69361 main ()
69363 _fabsf(0);
69365 return 0;
69367 _ACEOF
69368 rm -f conftest.$ac_objext
69369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69370 (eval $ac_compile) 2>conftest.er1
69371 ac_status=$?
69372 grep -v '^ *+' conftest.er1 >conftest.err
69373 rm -f conftest.er1
69374 cat conftest.err >&5
69375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376 (exit $ac_status); } &&
69377 { ac_try='test -z "$ac_cxx_werror_flag"
69378 || test ! -s conftest.err'
69379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69380 (eval $ac_try) 2>&5
69381 ac_status=$?
69382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69383 (exit $ac_status); }; } &&
69384 { ac_try='test -s conftest.$ac_objext'
69385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69386 (eval $ac_try) 2>&5
69387 ac_status=$?
69388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69389 (exit $ac_status); }; }; then
69390 glibcxx_cv_func__fabsf_use=yes
69391 else
69392 echo "$as_me: failed program was:" >&5
69393 sed 's/^/| /' conftest.$ac_ext >&5
69395 glibcxx_cv_func__fabsf_use=no
69397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69398 ac_ext=c
69399 ac_cpp='$CPP $CPPFLAGS'
69400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69409 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69411 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69413 for ac_func in _fabsf
69415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69416 echo "$as_me:$LINENO: checking for $ac_func" >&5
69417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69418 if eval "test \"\${$as_ac_var+set}\" = set"; then
69419 echo $ECHO_N "(cached) $ECHO_C" >&6
69420 else
69421 if test x$gcc_no_link = xyes; then
69422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69424 { (exit 1); exit 1; }; }
69426 cat >conftest.$ac_ext <<_ACEOF
69427 /* confdefs.h. */
69428 _ACEOF
69429 cat confdefs.h >>conftest.$ac_ext
69430 cat >>conftest.$ac_ext <<_ACEOF
69431 /* end confdefs.h. */
69432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69434 #define $ac_func innocuous_$ac_func
69436 /* System header to define __stub macros and hopefully few prototypes,
69437 which can conflict with char $ac_func (); below.
69438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69439 <limits.h> exists even on freestanding compilers. */
69441 #ifdef __STDC__
69442 # include <limits.h>
69443 #else
69444 # include <assert.h>
69445 #endif
69447 #undef $ac_func
69449 /* Override any gcc2 internal prototype to avoid an error. */
69450 #ifdef __cplusplus
69451 extern "C"
69453 #endif
69454 /* We use char because int might match the return type of a gcc2
69455 builtin and then its argument prototype would still apply. */
69456 char $ac_func ();
69457 /* The GNU C library defines this for functions which it implements
69458 to always fail with ENOSYS. Some functions are actually named
69459 something starting with __ and the normal name is an alias. */
69460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69461 choke me
69462 #else
69463 char (*f) () = $ac_func;
69464 #endif
69465 #ifdef __cplusplus
69467 #endif
69470 main ()
69472 return f != $ac_func;
69474 return 0;
69476 _ACEOF
69477 rm -f conftest.$ac_objext conftest$ac_exeext
69478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69479 (eval $ac_link) 2>conftest.er1
69480 ac_status=$?
69481 grep -v '^ *+' conftest.er1 >conftest.err
69482 rm -f conftest.er1
69483 cat conftest.err >&5
69484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69485 (exit $ac_status); } &&
69486 { ac_try='test -z "$ac_c_werror_flag"
69487 || test ! -s conftest.err'
69488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69489 (eval $ac_try) 2>&5
69490 ac_status=$?
69491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69492 (exit $ac_status); }; } &&
69493 { ac_try='test -s conftest$ac_exeext'
69494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69495 (eval $ac_try) 2>&5
69496 ac_status=$?
69497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69498 (exit $ac_status); }; }; then
69499 eval "$as_ac_var=yes"
69500 else
69501 echo "$as_me: failed program was:" >&5
69502 sed 's/^/| /' conftest.$ac_ext >&5
69504 eval "$as_ac_var=no"
69506 rm -f conftest.err conftest.$ac_objext \
69507 conftest$ac_exeext conftest.$ac_ext
69509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69511 if test `eval echo '${'$as_ac_var'}'` = yes; then
69512 cat >>confdefs.h <<_ACEOF
69513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69514 _ACEOF
69517 done
69527 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69528 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69529 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69530 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69531 echo $ECHO_N "(cached) $ECHO_C" >&6
69532 else
69536 ac_ext=cc
69537 ac_cpp='$CXXCPP $CPPFLAGS'
69538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69542 cat >conftest.$ac_ext <<_ACEOF
69543 /* confdefs.h. */
69544 _ACEOF
69545 cat confdefs.h >>conftest.$ac_ext
69546 cat >>conftest.$ac_ext <<_ACEOF
69547 /* end confdefs.h. */
69548 #include <math.h>
69550 main ()
69552 fmodf(0, 0);
69554 return 0;
69556 _ACEOF
69557 rm -f conftest.$ac_objext
69558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69559 (eval $ac_compile) 2>conftest.er1
69560 ac_status=$?
69561 grep -v '^ *+' conftest.er1 >conftest.err
69562 rm -f conftest.er1
69563 cat conftest.err >&5
69564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69565 (exit $ac_status); } &&
69566 { ac_try='test -z "$ac_cxx_werror_flag"
69567 || test ! -s conftest.err'
69568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69569 (eval $ac_try) 2>&5
69570 ac_status=$?
69571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69572 (exit $ac_status); }; } &&
69573 { ac_try='test -s conftest.$ac_objext'
69574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69575 (eval $ac_try) 2>&5
69576 ac_status=$?
69577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69578 (exit $ac_status); }; }; then
69579 glibcxx_cv_func_fmodf_use=yes
69580 else
69581 echo "$as_me: failed program was:" >&5
69582 sed 's/^/| /' conftest.$ac_ext >&5
69584 glibcxx_cv_func_fmodf_use=no
69586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69587 ac_ext=c
69588 ac_cpp='$CPP $CPPFLAGS'
69589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69598 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69600 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69602 for ac_func in fmodf
69604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69605 echo "$as_me:$LINENO: checking for $ac_func" >&5
69606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69607 if eval "test \"\${$as_ac_var+set}\" = set"; then
69608 echo $ECHO_N "(cached) $ECHO_C" >&6
69609 else
69610 if test x$gcc_no_link = xyes; then
69611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69613 { (exit 1); exit 1; }; }
69615 cat >conftest.$ac_ext <<_ACEOF
69616 /* confdefs.h. */
69617 _ACEOF
69618 cat confdefs.h >>conftest.$ac_ext
69619 cat >>conftest.$ac_ext <<_ACEOF
69620 /* end confdefs.h. */
69621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69623 #define $ac_func innocuous_$ac_func
69625 /* System header to define __stub macros and hopefully few prototypes,
69626 which can conflict with char $ac_func (); below.
69627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69628 <limits.h> exists even on freestanding compilers. */
69630 #ifdef __STDC__
69631 # include <limits.h>
69632 #else
69633 # include <assert.h>
69634 #endif
69636 #undef $ac_func
69638 /* Override any gcc2 internal prototype to avoid an error. */
69639 #ifdef __cplusplus
69640 extern "C"
69642 #endif
69643 /* We use char because int might match the return type of a gcc2
69644 builtin and then its argument prototype would still apply. */
69645 char $ac_func ();
69646 /* The GNU C library defines this for functions which it implements
69647 to always fail with ENOSYS. Some functions are actually named
69648 something starting with __ and the normal name is an alias. */
69649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69650 choke me
69651 #else
69652 char (*f) () = $ac_func;
69653 #endif
69654 #ifdef __cplusplus
69656 #endif
69659 main ()
69661 return f != $ac_func;
69663 return 0;
69665 _ACEOF
69666 rm -f conftest.$ac_objext conftest$ac_exeext
69667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69668 (eval $ac_link) 2>conftest.er1
69669 ac_status=$?
69670 grep -v '^ *+' conftest.er1 >conftest.err
69671 rm -f conftest.er1
69672 cat conftest.err >&5
69673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69674 (exit $ac_status); } &&
69675 { ac_try='test -z "$ac_c_werror_flag"
69676 || test ! -s conftest.err'
69677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69678 (eval $ac_try) 2>&5
69679 ac_status=$?
69680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69681 (exit $ac_status); }; } &&
69682 { ac_try='test -s conftest$ac_exeext'
69683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69684 (eval $ac_try) 2>&5
69685 ac_status=$?
69686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69687 (exit $ac_status); }; }; then
69688 eval "$as_ac_var=yes"
69689 else
69690 echo "$as_me: failed program was:" >&5
69691 sed 's/^/| /' conftest.$ac_ext >&5
69693 eval "$as_ac_var=no"
69695 rm -f conftest.err conftest.$ac_objext \
69696 conftest$ac_exeext conftest.$ac_ext
69698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69700 if test `eval echo '${'$as_ac_var'}'` = yes; then
69701 cat >>confdefs.h <<_ACEOF
69702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69703 _ACEOF
69706 done
69708 else
69710 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69711 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69712 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69713 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69714 echo $ECHO_N "(cached) $ECHO_C" >&6
69715 else
69719 ac_ext=cc
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69725 cat >conftest.$ac_ext <<_ACEOF
69726 /* confdefs.h. */
69727 _ACEOF
69728 cat confdefs.h >>conftest.$ac_ext
69729 cat >>conftest.$ac_ext <<_ACEOF
69730 /* end confdefs.h. */
69731 #include <math.h>
69733 main ()
69735 _fmodf(0, 0);
69737 return 0;
69739 _ACEOF
69740 rm -f conftest.$ac_objext
69741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69742 (eval $ac_compile) 2>conftest.er1
69743 ac_status=$?
69744 grep -v '^ *+' conftest.er1 >conftest.err
69745 rm -f conftest.er1
69746 cat conftest.err >&5
69747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69748 (exit $ac_status); } &&
69749 { ac_try='test -z "$ac_cxx_werror_flag"
69750 || test ! -s conftest.err'
69751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69752 (eval $ac_try) 2>&5
69753 ac_status=$?
69754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755 (exit $ac_status); }; } &&
69756 { ac_try='test -s conftest.$ac_objext'
69757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69758 (eval $ac_try) 2>&5
69759 ac_status=$?
69760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69761 (exit $ac_status); }; }; then
69762 glibcxx_cv_func__fmodf_use=yes
69763 else
69764 echo "$as_me: failed program was:" >&5
69765 sed 's/^/| /' conftest.$ac_ext >&5
69767 glibcxx_cv_func__fmodf_use=no
69769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69770 ac_ext=c
69771 ac_cpp='$CPP $CPPFLAGS'
69772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
69781 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
69783 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69785 for ac_func in _fmodf
69787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69788 echo "$as_me:$LINENO: checking for $ac_func" >&5
69789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69790 if eval "test \"\${$as_ac_var+set}\" = set"; then
69791 echo $ECHO_N "(cached) $ECHO_C" >&6
69792 else
69793 if test x$gcc_no_link = xyes; then
69794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69796 { (exit 1); exit 1; }; }
69798 cat >conftest.$ac_ext <<_ACEOF
69799 /* confdefs.h. */
69800 _ACEOF
69801 cat confdefs.h >>conftest.$ac_ext
69802 cat >>conftest.$ac_ext <<_ACEOF
69803 /* end confdefs.h. */
69804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69806 #define $ac_func innocuous_$ac_func
69808 /* System header to define __stub macros and hopefully few prototypes,
69809 which can conflict with char $ac_func (); below.
69810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69811 <limits.h> exists even on freestanding compilers. */
69813 #ifdef __STDC__
69814 # include <limits.h>
69815 #else
69816 # include <assert.h>
69817 #endif
69819 #undef $ac_func
69821 /* Override any gcc2 internal prototype to avoid an error. */
69822 #ifdef __cplusplus
69823 extern "C"
69825 #endif
69826 /* We use char because int might match the return type of a gcc2
69827 builtin and then its argument prototype would still apply. */
69828 char $ac_func ();
69829 /* The GNU C library defines this for functions which it implements
69830 to always fail with ENOSYS. Some functions are actually named
69831 something starting with __ and the normal name is an alias. */
69832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69833 choke me
69834 #else
69835 char (*f) () = $ac_func;
69836 #endif
69837 #ifdef __cplusplus
69839 #endif
69842 main ()
69844 return f != $ac_func;
69846 return 0;
69848 _ACEOF
69849 rm -f conftest.$ac_objext conftest$ac_exeext
69850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69851 (eval $ac_link) 2>conftest.er1
69852 ac_status=$?
69853 grep -v '^ *+' conftest.er1 >conftest.err
69854 rm -f conftest.er1
69855 cat conftest.err >&5
69856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69857 (exit $ac_status); } &&
69858 { ac_try='test -z "$ac_c_werror_flag"
69859 || test ! -s conftest.err'
69860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69861 (eval $ac_try) 2>&5
69862 ac_status=$?
69863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69864 (exit $ac_status); }; } &&
69865 { ac_try='test -s conftest$ac_exeext'
69866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69867 (eval $ac_try) 2>&5
69868 ac_status=$?
69869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69870 (exit $ac_status); }; }; then
69871 eval "$as_ac_var=yes"
69872 else
69873 echo "$as_me: failed program was:" >&5
69874 sed 's/^/| /' conftest.$ac_ext >&5
69876 eval "$as_ac_var=no"
69878 rm -f conftest.err conftest.$ac_objext \
69879 conftest$ac_exeext conftest.$ac_ext
69881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69883 if test `eval echo '${'$as_ac_var'}'` = yes; then
69884 cat >>confdefs.h <<_ACEOF
69885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69886 _ACEOF
69889 done
69899 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
69900 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
69901 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69902 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
69903 echo $ECHO_N "(cached) $ECHO_C" >&6
69904 else
69908 ac_ext=cc
69909 ac_cpp='$CXXCPP $CPPFLAGS'
69910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69914 cat >conftest.$ac_ext <<_ACEOF
69915 /* confdefs.h. */
69916 _ACEOF
69917 cat confdefs.h >>conftest.$ac_ext
69918 cat >>conftest.$ac_ext <<_ACEOF
69919 /* end confdefs.h. */
69920 #include <math.h>
69922 main ()
69924 frexpf(0, 0);
69926 return 0;
69928 _ACEOF
69929 rm -f conftest.$ac_objext
69930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69931 (eval $ac_compile) 2>conftest.er1
69932 ac_status=$?
69933 grep -v '^ *+' conftest.er1 >conftest.err
69934 rm -f conftest.er1
69935 cat conftest.err >&5
69936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69937 (exit $ac_status); } &&
69938 { ac_try='test -z "$ac_cxx_werror_flag"
69939 || test ! -s conftest.err'
69940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69941 (eval $ac_try) 2>&5
69942 ac_status=$?
69943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69944 (exit $ac_status); }; } &&
69945 { ac_try='test -s conftest.$ac_objext'
69946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69947 (eval $ac_try) 2>&5
69948 ac_status=$?
69949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69950 (exit $ac_status); }; }; then
69951 glibcxx_cv_func_frexpf_use=yes
69952 else
69953 echo "$as_me: failed program was:" >&5
69954 sed 's/^/| /' conftest.$ac_ext >&5
69956 glibcxx_cv_func_frexpf_use=no
69958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69959 ac_ext=c
69960 ac_cpp='$CPP $CPPFLAGS'
69961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
69970 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
69972 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69974 for ac_func in frexpf
69976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69977 echo "$as_me:$LINENO: checking for $ac_func" >&5
69978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69979 if eval "test \"\${$as_ac_var+set}\" = set"; then
69980 echo $ECHO_N "(cached) $ECHO_C" >&6
69981 else
69982 if test x$gcc_no_link = xyes; then
69983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69985 { (exit 1); exit 1; }; }
69987 cat >conftest.$ac_ext <<_ACEOF
69988 /* confdefs.h. */
69989 _ACEOF
69990 cat confdefs.h >>conftest.$ac_ext
69991 cat >>conftest.$ac_ext <<_ACEOF
69992 /* end confdefs.h. */
69993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69995 #define $ac_func innocuous_$ac_func
69997 /* System header to define __stub macros and hopefully few prototypes,
69998 which can conflict with char $ac_func (); below.
69999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70000 <limits.h> exists even on freestanding compilers. */
70002 #ifdef __STDC__
70003 # include <limits.h>
70004 #else
70005 # include <assert.h>
70006 #endif
70008 #undef $ac_func
70010 /* Override any gcc2 internal prototype to avoid an error. */
70011 #ifdef __cplusplus
70012 extern "C"
70014 #endif
70015 /* We use char because int might match the return type of a gcc2
70016 builtin and then its argument prototype would still apply. */
70017 char $ac_func ();
70018 /* The GNU C library defines this for functions which it implements
70019 to always fail with ENOSYS. Some functions are actually named
70020 something starting with __ and the normal name is an alias. */
70021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70022 choke me
70023 #else
70024 char (*f) () = $ac_func;
70025 #endif
70026 #ifdef __cplusplus
70028 #endif
70031 main ()
70033 return f != $ac_func;
70035 return 0;
70037 _ACEOF
70038 rm -f conftest.$ac_objext conftest$ac_exeext
70039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70040 (eval $ac_link) 2>conftest.er1
70041 ac_status=$?
70042 grep -v '^ *+' conftest.er1 >conftest.err
70043 rm -f conftest.er1
70044 cat conftest.err >&5
70045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70046 (exit $ac_status); } &&
70047 { ac_try='test -z "$ac_c_werror_flag"
70048 || test ! -s conftest.err'
70049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70050 (eval $ac_try) 2>&5
70051 ac_status=$?
70052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70053 (exit $ac_status); }; } &&
70054 { ac_try='test -s conftest$ac_exeext'
70055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70056 (eval $ac_try) 2>&5
70057 ac_status=$?
70058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70059 (exit $ac_status); }; }; then
70060 eval "$as_ac_var=yes"
70061 else
70062 echo "$as_me: failed program was:" >&5
70063 sed 's/^/| /' conftest.$ac_ext >&5
70065 eval "$as_ac_var=no"
70067 rm -f conftest.err conftest.$ac_objext \
70068 conftest$ac_exeext conftest.$ac_ext
70070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70072 if test `eval echo '${'$as_ac_var'}'` = yes; then
70073 cat >>confdefs.h <<_ACEOF
70074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70075 _ACEOF
70078 done
70080 else
70082 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70083 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70084 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70085 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70086 echo $ECHO_N "(cached) $ECHO_C" >&6
70087 else
70091 ac_ext=cc
70092 ac_cpp='$CXXCPP $CPPFLAGS'
70093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70097 cat >conftest.$ac_ext <<_ACEOF
70098 /* confdefs.h. */
70099 _ACEOF
70100 cat confdefs.h >>conftest.$ac_ext
70101 cat >>conftest.$ac_ext <<_ACEOF
70102 /* end confdefs.h. */
70103 #include <math.h>
70105 main ()
70107 _frexpf(0, 0);
70109 return 0;
70111 _ACEOF
70112 rm -f conftest.$ac_objext
70113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70114 (eval $ac_compile) 2>conftest.er1
70115 ac_status=$?
70116 grep -v '^ *+' conftest.er1 >conftest.err
70117 rm -f conftest.er1
70118 cat conftest.err >&5
70119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70120 (exit $ac_status); } &&
70121 { ac_try='test -z "$ac_cxx_werror_flag"
70122 || test ! -s conftest.err'
70123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70124 (eval $ac_try) 2>&5
70125 ac_status=$?
70126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70127 (exit $ac_status); }; } &&
70128 { ac_try='test -s conftest.$ac_objext'
70129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70130 (eval $ac_try) 2>&5
70131 ac_status=$?
70132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70133 (exit $ac_status); }; }; then
70134 glibcxx_cv_func__frexpf_use=yes
70135 else
70136 echo "$as_me: failed program was:" >&5
70137 sed 's/^/| /' conftest.$ac_ext >&5
70139 glibcxx_cv_func__frexpf_use=no
70141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70142 ac_ext=c
70143 ac_cpp='$CPP $CPPFLAGS'
70144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70153 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70155 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70157 for ac_func in _frexpf
70159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70160 echo "$as_me:$LINENO: checking for $ac_func" >&5
70161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70162 if eval "test \"\${$as_ac_var+set}\" = set"; then
70163 echo $ECHO_N "(cached) $ECHO_C" >&6
70164 else
70165 if test x$gcc_no_link = xyes; then
70166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70168 { (exit 1); exit 1; }; }
70170 cat >conftest.$ac_ext <<_ACEOF
70171 /* confdefs.h. */
70172 _ACEOF
70173 cat confdefs.h >>conftest.$ac_ext
70174 cat >>conftest.$ac_ext <<_ACEOF
70175 /* end confdefs.h. */
70176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70178 #define $ac_func innocuous_$ac_func
70180 /* System header to define __stub macros and hopefully few prototypes,
70181 which can conflict with char $ac_func (); below.
70182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70183 <limits.h> exists even on freestanding compilers. */
70185 #ifdef __STDC__
70186 # include <limits.h>
70187 #else
70188 # include <assert.h>
70189 #endif
70191 #undef $ac_func
70193 /* Override any gcc2 internal prototype to avoid an error. */
70194 #ifdef __cplusplus
70195 extern "C"
70197 #endif
70198 /* We use char because int might match the return type of a gcc2
70199 builtin and then its argument prototype would still apply. */
70200 char $ac_func ();
70201 /* The GNU C library defines this for functions which it implements
70202 to always fail with ENOSYS. Some functions are actually named
70203 something starting with __ and the normal name is an alias. */
70204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70205 choke me
70206 #else
70207 char (*f) () = $ac_func;
70208 #endif
70209 #ifdef __cplusplus
70211 #endif
70214 main ()
70216 return f != $ac_func;
70218 return 0;
70220 _ACEOF
70221 rm -f conftest.$ac_objext conftest$ac_exeext
70222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70223 (eval $ac_link) 2>conftest.er1
70224 ac_status=$?
70225 grep -v '^ *+' conftest.er1 >conftest.err
70226 rm -f conftest.er1
70227 cat conftest.err >&5
70228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70229 (exit $ac_status); } &&
70230 { ac_try='test -z "$ac_c_werror_flag"
70231 || test ! -s conftest.err'
70232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70233 (eval $ac_try) 2>&5
70234 ac_status=$?
70235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70236 (exit $ac_status); }; } &&
70237 { ac_try='test -s conftest$ac_exeext'
70238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70239 (eval $ac_try) 2>&5
70240 ac_status=$?
70241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70242 (exit $ac_status); }; }; then
70243 eval "$as_ac_var=yes"
70244 else
70245 echo "$as_me: failed program was:" >&5
70246 sed 's/^/| /' conftest.$ac_ext >&5
70248 eval "$as_ac_var=no"
70250 rm -f conftest.err conftest.$ac_objext \
70251 conftest$ac_exeext conftest.$ac_ext
70253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70255 if test `eval echo '${'$as_ac_var'}'` = yes; then
70256 cat >>confdefs.h <<_ACEOF
70257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70258 _ACEOF
70261 done
70271 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70272 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70273 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70274 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70275 echo $ECHO_N "(cached) $ECHO_C" >&6
70276 else
70280 ac_ext=cc
70281 ac_cpp='$CXXCPP $CPPFLAGS'
70282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70286 cat >conftest.$ac_ext <<_ACEOF
70287 /* confdefs.h. */
70288 _ACEOF
70289 cat confdefs.h >>conftest.$ac_ext
70290 cat >>conftest.$ac_ext <<_ACEOF
70291 /* end confdefs.h. */
70292 #include <math.h>
70294 main ()
70296 hypotf(0, 0);
70298 return 0;
70300 _ACEOF
70301 rm -f conftest.$ac_objext
70302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70303 (eval $ac_compile) 2>conftest.er1
70304 ac_status=$?
70305 grep -v '^ *+' conftest.er1 >conftest.err
70306 rm -f conftest.er1
70307 cat conftest.err >&5
70308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70309 (exit $ac_status); } &&
70310 { ac_try='test -z "$ac_cxx_werror_flag"
70311 || test ! -s conftest.err'
70312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70313 (eval $ac_try) 2>&5
70314 ac_status=$?
70315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70316 (exit $ac_status); }; } &&
70317 { ac_try='test -s conftest.$ac_objext'
70318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70319 (eval $ac_try) 2>&5
70320 ac_status=$?
70321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70322 (exit $ac_status); }; }; then
70323 glibcxx_cv_func_hypotf_use=yes
70324 else
70325 echo "$as_me: failed program was:" >&5
70326 sed 's/^/| /' conftest.$ac_ext >&5
70328 glibcxx_cv_func_hypotf_use=no
70330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70331 ac_ext=c
70332 ac_cpp='$CPP $CPPFLAGS'
70333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70341 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70342 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70344 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70346 for ac_func in hypotf
70348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70349 echo "$as_me:$LINENO: checking for $ac_func" >&5
70350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70351 if eval "test \"\${$as_ac_var+set}\" = set"; then
70352 echo $ECHO_N "(cached) $ECHO_C" >&6
70353 else
70354 if test x$gcc_no_link = xyes; then
70355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70357 { (exit 1); exit 1; }; }
70359 cat >conftest.$ac_ext <<_ACEOF
70360 /* confdefs.h. */
70361 _ACEOF
70362 cat confdefs.h >>conftest.$ac_ext
70363 cat >>conftest.$ac_ext <<_ACEOF
70364 /* end confdefs.h. */
70365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70367 #define $ac_func innocuous_$ac_func
70369 /* System header to define __stub macros and hopefully few prototypes,
70370 which can conflict with char $ac_func (); below.
70371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70372 <limits.h> exists even on freestanding compilers. */
70374 #ifdef __STDC__
70375 # include <limits.h>
70376 #else
70377 # include <assert.h>
70378 #endif
70380 #undef $ac_func
70382 /* Override any gcc2 internal prototype to avoid an error. */
70383 #ifdef __cplusplus
70384 extern "C"
70386 #endif
70387 /* We use char because int might match the return type of a gcc2
70388 builtin and then its argument prototype would still apply. */
70389 char $ac_func ();
70390 /* The GNU C library defines this for functions which it implements
70391 to always fail with ENOSYS. Some functions are actually named
70392 something starting with __ and the normal name is an alias. */
70393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70394 choke me
70395 #else
70396 char (*f) () = $ac_func;
70397 #endif
70398 #ifdef __cplusplus
70400 #endif
70403 main ()
70405 return f != $ac_func;
70407 return 0;
70409 _ACEOF
70410 rm -f conftest.$ac_objext conftest$ac_exeext
70411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70412 (eval $ac_link) 2>conftest.er1
70413 ac_status=$?
70414 grep -v '^ *+' conftest.er1 >conftest.err
70415 rm -f conftest.er1
70416 cat conftest.err >&5
70417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70418 (exit $ac_status); } &&
70419 { ac_try='test -z "$ac_c_werror_flag"
70420 || test ! -s conftest.err'
70421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70422 (eval $ac_try) 2>&5
70423 ac_status=$?
70424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70425 (exit $ac_status); }; } &&
70426 { ac_try='test -s conftest$ac_exeext'
70427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70428 (eval $ac_try) 2>&5
70429 ac_status=$?
70430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70431 (exit $ac_status); }; }; then
70432 eval "$as_ac_var=yes"
70433 else
70434 echo "$as_me: failed program was:" >&5
70435 sed 's/^/| /' conftest.$ac_ext >&5
70437 eval "$as_ac_var=no"
70439 rm -f conftest.err conftest.$ac_objext \
70440 conftest$ac_exeext conftest.$ac_ext
70442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70444 if test `eval echo '${'$as_ac_var'}'` = yes; then
70445 cat >>confdefs.h <<_ACEOF
70446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70447 _ACEOF
70450 done
70452 else
70454 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70455 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70456 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70457 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70458 echo $ECHO_N "(cached) $ECHO_C" >&6
70459 else
70463 ac_ext=cc
70464 ac_cpp='$CXXCPP $CPPFLAGS'
70465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70469 cat >conftest.$ac_ext <<_ACEOF
70470 /* confdefs.h. */
70471 _ACEOF
70472 cat confdefs.h >>conftest.$ac_ext
70473 cat >>conftest.$ac_ext <<_ACEOF
70474 /* end confdefs.h. */
70475 #include <math.h>
70477 main ()
70479 _hypotf(0, 0);
70481 return 0;
70483 _ACEOF
70484 rm -f conftest.$ac_objext
70485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70486 (eval $ac_compile) 2>conftest.er1
70487 ac_status=$?
70488 grep -v '^ *+' conftest.er1 >conftest.err
70489 rm -f conftest.er1
70490 cat conftest.err >&5
70491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70492 (exit $ac_status); } &&
70493 { ac_try='test -z "$ac_cxx_werror_flag"
70494 || test ! -s conftest.err'
70495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70496 (eval $ac_try) 2>&5
70497 ac_status=$?
70498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70499 (exit $ac_status); }; } &&
70500 { ac_try='test -s conftest.$ac_objext'
70501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70502 (eval $ac_try) 2>&5
70503 ac_status=$?
70504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70505 (exit $ac_status); }; }; then
70506 glibcxx_cv_func__hypotf_use=yes
70507 else
70508 echo "$as_me: failed program was:" >&5
70509 sed 's/^/| /' conftest.$ac_ext >&5
70511 glibcxx_cv_func__hypotf_use=no
70513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70514 ac_ext=c
70515 ac_cpp='$CPP $CPPFLAGS'
70516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70525 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70527 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70529 for ac_func in _hypotf
70531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70532 echo "$as_me:$LINENO: checking for $ac_func" >&5
70533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70534 if eval "test \"\${$as_ac_var+set}\" = set"; then
70535 echo $ECHO_N "(cached) $ECHO_C" >&6
70536 else
70537 if test x$gcc_no_link = xyes; then
70538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70540 { (exit 1); exit 1; }; }
70542 cat >conftest.$ac_ext <<_ACEOF
70543 /* confdefs.h. */
70544 _ACEOF
70545 cat confdefs.h >>conftest.$ac_ext
70546 cat >>conftest.$ac_ext <<_ACEOF
70547 /* end confdefs.h. */
70548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70550 #define $ac_func innocuous_$ac_func
70552 /* System header to define __stub macros and hopefully few prototypes,
70553 which can conflict with char $ac_func (); below.
70554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70555 <limits.h> exists even on freestanding compilers. */
70557 #ifdef __STDC__
70558 # include <limits.h>
70559 #else
70560 # include <assert.h>
70561 #endif
70563 #undef $ac_func
70565 /* Override any gcc2 internal prototype to avoid an error. */
70566 #ifdef __cplusplus
70567 extern "C"
70569 #endif
70570 /* We use char because int might match the return type of a gcc2
70571 builtin and then its argument prototype would still apply. */
70572 char $ac_func ();
70573 /* The GNU C library defines this for functions which it implements
70574 to always fail with ENOSYS. Some functions are actually named
70575 something starting with __ and the normal name is an alias. */
70576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70577 choke me
70578 #else
70579 char (*f) () = $ac_func;
70580 #endif
70581 #ifdef __cplusplus
70583 #endif
70586 main ()
70588 return f != $ac_func;
70590 return 0;
70592 _ACEOF
70593 rm -f conftest.$ac_objext conftest$ac_exeext
70594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70595 (eval $ac_link) 2>conftest.er1
70596 ac_status=$?
70597 grep -v '^ *+' conftest.er1 >conftest.err
70598 rm -f conftest.er1
70599 cat conftest.err >&5
70600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70601 (exit $ac_status); } &&
70602 { ac_try='test -z "$ac_c_werror_flag"
70603 || test ! -s conftest.err'
70604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70605 (eval $ac_try) 2>&5
70606 ac_status=$?
70607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70608 (exit $ac_status); }; } &&
70609 { ac_try='test -s conftest$ac_exeext'
70610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70611 (eval $ac_try) 2>&5
70612 ac_status=$?
70613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70614 (exit $ac_status); }; }; then
70615 eval "$as_ac_var=yes"
70616 else
70617 echo "$as_me: failed program was:" >&5
70618 sed 's/^/| /' conftest.$ac_ext >&5
70620 eval "$as_ac_var=no"
70622 rm -f conftest.err conftest.$ac_objext \
70623 conftest$ac_exeext conftest.$ac_ext
70625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70627 if test `eval echo '${'$as_ac_var'}'` = yes; then
70628 cat >>confdefs.h <<_ACEOF
70629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70630 _ACEOF
70633 done
70643 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70644 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70645 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70646 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70647 echo $ECHO_N "(cached) $ECHO_C" >&6
70648 else
70652 ac_ext=cc
70653 ac_cpp='$CXXCPP $CPPFLAGS'
70654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70658 cat >conftest.$ac_ext <<_ACEOF
70659 /* confdefs.h. */
70660 _ACEOF
70661 cat confdefs.h >>conftest.$ac_ext
70662 cat >>conftest.$ac_ext <<_ACEOF
70663 /* end confdefs.h. */
70664 #include <math.h>
70666 main ()
70668 ldexpf(0, 0);
70670 return 0;
70672 _ACEOF
70673 rm -f conftest.$ac_objext
70674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70675 (eval $ac_compile) 2>conftest.er1
70676 ac_status=$?
70677 grep -v '^ *+' conftest.er1 >conftest.err
70678 rm -f conftest.er1
70679 cat conftest.err >&5
70680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70681 (exit $ac_status); } &&
70682 { ac_try='test -z "$ac_cxx_werror_flag"
70683 || test ! -s conftest.err'
70684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70685 (eval $ac_try) 2>&5
70686 ac_status=$?
70687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688 (exit $ac_status); }; } &&
70689 { ac_try='test -s conftest.$ac_objext'
70690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70691 (eval $ac_try) 2>&5
70692 ac_status=$?
70693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70694 (exit $ac_status); }; }; then
70695 glibcxx_cv_func_ldexpf_use=yes
70696 else
70697 echo "$as_me: failed program was:" >&5
70698 sed 's/^/| /' conftest.$ac_ext >&5
70700 glibcxx_cv_func_ldexpf_use=no
70702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70703 ac_ext=c
70704 ac_cpp='$CPP $CPPFLAGS'
70705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70714 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70716 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70718 for ac_func in ldexpf
70720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70721 echo "$as_me:$LINENO: checking for $ac_func" >&5
70722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70723 if eval "test \"\${$as_ac_var+set}\" = set"; then
70724 echo $ECHO_N "(cached) $ECHO_C" >&6
70725 else
70726 if test x$gcc_no_link = xyes; then
70727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70729 { (exit 1); exit 1; }; }
70731 cat >conftest.$ac_ext <<_ACEOF
70732 /* confdefs.h. */
70733 _ACEOF
70734 cat confdefs.h >>conftest.$ac_ext
70735 cat >>conftest.$ac_ext <<_ACEOF
70736 /* end confdefs.h. */
70737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70739 #define $ac_func innocuous_$ac_func
70741 /* System header to define __stub macros and hopefully few prototypes,
70742 which can conflict with char $ac_func (); below.
70743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70744 <limits.h> exists even on freestanding compilers. */
70746 #ifdef __STDC__
70747 # include <limits.h>
70748 #else
70749 # include <assert.h>
70750 #endif
70752 #undef $ac_func
70754 /* Override any gcc2 internal prototype to avoid an error. */
70755 #ifdef __cplusplus
70756 extern "C"
70758 #endif
70759 /* We use char because int might match the return type of a gcc2
70760 builtin and then its argument prototype would still apply. */
70761 char $ac_func ();
70762 /* The GNU C library defines this for functions which it implements
70763 to always fail with ENOSYS. Some functions are actually named
70764 something starting with __ and the normal name is an alias. */
70765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70766 choke me
70767 #else
70768 char (*f) () = $ac_func;
70769 #endif
70770 #ifdef __cplusplus
70772 #endif
70775 main ()
70777 return f != $ac_func;
70779 return 0;
70781 _ACEOF
70782 rm -f conftest.$ac_objext conftest$ac_exeext
70783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70784 (eval $ac_link) 2>conftest.er1
70785 ac_status=$?
70786 grep -v '^ *+' conftest.er1 >conftest.err
70787 rm -f conftest.er1
70788 cat conftest.err >&5
70789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70790 (exit $ac_status); } &&
70791 { ac_try='test -z "$ac_c_werror_flag"
70792 || test ! -s conftest.err'
70793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70794 (eval $ac_try) 2>&5
70795 ac_status=$?
70796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70797 (exit $ac_status); }; } &&
70798 { ac_try='test -s conftest$ac_exeext'
70799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70800 (eval $ac_try) 2>&5
70801 ac_status=$?
70802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803 (exit $ac_status); }; }; then
70804 eval "$as_ac_var=yes"
70805 else
70806 echo "$as_me: failed program was:" >&5
70807 sed 's/^/| /' conftest.$ac_ext >&5
70809 eval "$as_ac_var=no"
70811 rm -f conftest.err conftest.$ac_objext \
70812 conftest$ac_exeext conftest.$ac_ext
70814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70816 if test `eval echo '${'$as_ac_var'}'` = yes; then
70817 cat >>confdefs.h <<_ACEOF
70818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70819 _ACEOF
70822 done
70824 else
70826 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
70827 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
70828 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
70829 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
70830 echo $ECHO_N "(cached) $ECHO_C" >&6
70831 else
70835 ac_ext=cc
70836 ac_cpp='$CXXCPP $CPPFLAGS'
70837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70841 cat >conftest.$ac_ext <<_ACEOF
70842 /* confdefs.h. */
70843 _ACEOF
70844 cat confdefs.h >>conftest.$ac_ext
70845 cat >>conftest.$ac_ext <<_ACEOF
70846 /* end confdefs.h. */
70847 #include <math.h>
70849 main ()
70851 _ldexpf(0, 0);
70853 return 0;
70855 _ACEOF
70856 rm -f conftest.$ac_objext
70857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70858 (eval $ac_compile) 2>conftest.er1
70859 ac_status=$?
70860 grep -v '^ *+' conftest.er1 >conftest.err
70861 rm -f conftest.er1
70862 cat conftest.err >&5
70863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70864 (exit $ac_status); } &&
70865 { ac_try='test -z "$ac_cxx_werror_flag"
70866 || test ! -s conftest.err'
70867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70868 (eval $ac_try) 2>&5
70869 ac_status=$?
70870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70871 (exit $ac_status); }; } &&
70872 { ac_try='test -s conftest.$ac_objext'
70873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70874 (eval $ac_try) 2>&5
70875 ac_status=$?
70876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70877 (exit $ac_status); }; }; then
70878 glibcxx_cv_func__ldexpf_use=yes
70879 else
70880 echo "$as_me: failed program was:" >&5
70881 sed 's/^/| /' conftest.$ac_ext >&5
70883 glibcxx_cv_func__ldexpf_use=no
70885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70886 ac_ext=c
70887 ac_cpp='$CPP $CPPFLAGS'
70888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
70897 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
70899 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
70901 for ac_func in _ldexpf
70903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70904 echo "$as_me:$LINENO: checking for $ac_func" >&5
70905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70906 if eval "test \"\${$as_ac_var+set}\" = set"; then
70907 echo $ECHO_N "(cached) $ECHO_C" >&6
70908 else
70909 if test x$gcc_no_link = xyes; then
70910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70912 { (exit 1); exit 1; }; }
70914 cat >conftest.$ac_ext <<_ACEOF
70915 /* confdefs.h. */
70916 _ACEOF
70917 cat confdefs.h >>conftest.$ac_ext
70918 cat >>conftest.$ac_ext <<_ACEOF
70919 /* end confdefs.h. */
70920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70922 #define $ac_func innocuous_$ac_func
70924 /* System header to define __stub macros and hopefully few prototypes,
70925 which can conflict with char $ac_func (); below.
70926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70927 <limits.h> exists even on freestanding compilers. */
70929 #ifdef __STDC__
70930 # include <limits.h>
70931 #else
70932 # include <assert.h>
70933 #endif
70935 #undef $ac_func
70937 /* Override any gcc2 internal prototype to avoid an error. */
70938 #ifdef __cplusplus
70939 extern "C"
70941 #endif
70942 /* We use char because int might match the return type of a gcc2
70943 builtin and then its argument prototype would still apply. */
70944 char $ac_func ();
70945 /* The GNU C library defines this for functions which it implements
70946 to always fail with ENOSYS. Some functions are actually named
70947 something starting with __ and the normal name is an alias. */
70948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70949 choke me
70950 #else
70951 char (*f) () = $ac_func;
70952 #endif
70953 #ifdef __cplusplus
70955 #endif
70958 main ()
70960 return f != $ac_func;
70962 return 0;
70964 _ACEOF
70965 rm -f conftest.$ac_objext conftest$ac_exeext
70966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70967 (eval $ac_link) 2>conftest.er1
70968 ac_status=$?
70969 grep -v '^ *+' conftest.er1 >conftest.err
70970 rm -f conftest.er1
70971 cat conftest.err >&5
70972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70973 (exit $ac_status); } &&
70974 { ac_try='test -z "$ac_c_werror_flag"
70975 || test ! -s conftest.err'
70976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70977 (eval $ac_try) 2>&5
70978 ac_status=$?
70979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70980 (exit $ac_status); }; } &&
70981 { ac_try='test -s conftest$ac_exeext'
70982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70983 (eval $ac_try) 2>&5
70984 ac_status=$?
70985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70986 (exit $ac_status); }; }; then
70987 eval "$as_ac_var=yes"
70988 else
70989 echo "$as_me: failed program was:" >&5
70990 sed 's/^/| /' conftest.$ac_ext >&5
70992 eval "$as_ac_var=no"
70994 rm -f conftest.err conftest.$ac_objext \
70995 conftest$ac_exeext conftest.$ac_ext
70997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70999 if test `eval echo '${'$as_ac_var'}'` = yes; then
71000 cat >>confdefs.h <<_ACEOF
71001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71002 _ACEOF
71005 done
71015 echo "$as_me:$LINENO: checking for logf declaration" >&5
71016 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71017 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71018 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71019 echo $ECHO_N "(cached) $ECHO_C" >&6
71020 else
71024 ac_ext=cc
71025 ac_cpp='$CXXCPP $CPPFLAGS'
71026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71030 cat >conftest.$ac_ext <<_ACEOF
71031 /* confdefs.h. */
71032 _ACEOF
71033 cat confdefs.h >>conftest.$ac_ext
71034 cat >>conftest.$ac_ext <<_ACEOF
71035 /* end confdefs.h. */
71036 #include <math.h>
71037 #ifdef HAVE_IEEEFP_H
71038 #include <ieeefp.h>
71039 #endif
71042 main ()
71044 logf(0);
71046 return 0;
71048 _ACEOF
71049 rm -f conftest.$ac_objext
71050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71051 (eval $ac_compile) 2>conftest.er1
71052 ac_status=$?
71053 grep -v '^ *+' conftest.er1 >conftest.err
71054 rm -f conftest.er1
71055 cat conftest.err >&5
71056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71057 (exit $ac_status); } &&
71058 { ac_try='test -z "$ac_cxx_werror_flag"
71059 || test ! -s conftest.err'
71060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71061 (eval $ac_try) 2>&5
71062 ac_status=$?
71063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71064 (exit $ac_status); }; } &&
71065 { ac_try='test -s conftest.$ac_objext'
71066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71067 (eval $ac_try) 2>&5
71068 ac_status=$?
71069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71070 (exit $ac_status); }; }; then
71071 glibcxx_cv_func_logf_use=yes
71072 else
71073 echo "$as_me: failed program was:" >&5
71074 sed 's/^/| /' conftest.$ac_ext >&5
71076 glibcxx_cv_func_logf_use=no
71078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71079 ac_ext=c
71080 ac_cpp='$CPP $CPPFLAGS'
71081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71090 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71092 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71094 for ac_func in logf
71096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71097 echo "$as_me:$LINENO: checking for $ac_func" >&5
71098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71099 if eval "test \"\${$as_ac_var+set}\" = set"; then
71100 echo $ECHO_N "(cached) $ECHO_C" >&6
71101 else
71102 if test x$gcc_no_link = xyes; then
71103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71105 { (exit 1); exit 1; }; }
71107 cat >conftest.$ac_ext <<_ACEOF
71108 /* confdefs.h. */
71109 _ACEOF
71110 cat confdefs.h >>conftest.$ac_ext
71111 cat >>conftest.$ac_ext <<_ACEOF
71112 /* end confdefs.h. */
71113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71115 #define $ac_func innocuous_$ac_func
71117 /* System header to define __stub macros and hopefully few prototypes,
71118 which can conflict with char $ac_func (); below.
71119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71120 <limits.h> exists even on freestanding compilers. */
71122 #ifdef __STDC__
71123 # include <limits.h>
71124 #else
71125 # include <assert.h>
71126 #endif
71128 #undef $ac_func
71130 /* Override any gcc2 internal prototype to avoid an error. */
71131 #ifdef __cplusplus
71132 extern "C"
71134 #endif
71135 /* We use char because int might match the return type of a gcc2
71136 builtin and then its argument prototype would still apply. */
71137 char $ac_func ();
71138 /* The GNU C library defines this for functions which it implements
71139 to always fail with ENOSYS. Some functions are actually named
71140 something starting with __ and the normal name is an alias. */
71141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71142 choke me
71143 #else
71144 char (*f) () = $ac_func;
71145 #endif
71146 #ifdef __cplusplus
71148 #endif
71151 main ()
71153 return f != $ac_func;
71155 return 0;
71157 _ACEOF
71158 rm -f conftest.$ac_objext conftest$ac_exeext
71159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71160 (eval $ac_link) 2>conftest.er1
71161 ac_status=$?
71162 grep -v '^ *+' conftest.er1 >conftest.err
71163 rm -f conftest.er1
71164 cat conftest.err >&5
71165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71166 (exit $ac_status); } &&
71167 { ac_try='test -z "$ac_c_werror_flag"
71168 || test ! -s conftest.err'
71169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71170 (eval $ac_try) 2>&5
71171 ac_status=$?
71172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71173 (exit $ac_status); }; } &&
71174 { ac_try='test -s conftest$ac_exeext'
71175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71176 (eval $ac_try) 2>&5
71177 ac_status=$?
71178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179 (exit $ac_status); }; }; then
71180 eval "$as_ac_var=yes"
71181 else
71182 echo "$as_me: failed program was:" >&5
71183 sed 's/^/| /' conftest.$ac_ext >&5
71185 eval "$as_ac_var=no"
71187 rm -f conftest.err conftest.$ac_objext \
71188 conftest$ac_exeext conftest.$ac_ext
71190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71192 if test `eval echo '${'$as_ac_var'}'` = yes; then
71193 cat >>confdefs.h <<_ACEOF
71194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71195 _ACEOF
71198 done
71200 else
71202 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71203 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71204 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71205 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71206 echo $ECHO_N "(cached) $ECHO_C" >&6
71207 else
71211 ac_ext=cc
71212 ac_cpp='$CXXCPP $CPPFLAGS'
71213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71217 cat >conftest.$ac_ext <<_ACEOF
71218 /* confdefs.h. */
71219 _ACEOF
71220 cat confdefs.h >>conftest.$ac_ext
71221 cat >>conftest.$ac_ext <<_ACEOF
71222 /* end confdefs.h. */
71223 #include <math.h>
71224 #ifdef HAVE_IEEEFP_H
71225 #include <ieeefp.h>
71226 #endif
71229 main ()
71231 _logf(0);
71233 return 0;
71235 _ACEOF
71236 rm -f conftest.$ac_objext
71237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71238 (eval $ac_compile) 2>conftest.er1
71239 ac_status=$?
71240 grep -v '^ *+' conftest.er1 >conftest.err
71241 rm -f conftest.er1
71242 cat conftest.err >&5
71243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71244 (exit $ac_status); } &&
71245 { ac_try='test -z "$ac_cxx_werror_flag"
71246 || test ! -s conftest.err'
71247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71248 (eval $ac_try) 2>&5
71249 ac_status=$?
71250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71251 (exit $ac_status); }; } &&
71252 { ac_try='test -s conftest.$ac_objext'
71253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71254 (eval $ac_try) 2>&5
71255 ac_status=$?
71256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71257 (exit $ac_status); }; }; then
71258 glibcxx_cv_func__logf_use=yes
71259 else
71260 echo "$as_me: failed program was:" >&5
71261 sed 's/^/| /' conftest.$ac_ext >&5
71263 glibcxx_cv_func__logf_use=no
71265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71266 ac_ext=c
71267 ac_cpp='$CPP $CPPFLAGS'
71268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71277 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71279 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71281 for ac_func in _logf
71283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71284 echo "$as_me:$LINENO: checking for $ac_func" >&5
71285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71286 if eval "test \"\${$as_ac_var+set}\" = set"; then
71287 echo $ECHO_N "(cached) $ECHO_C" >&6
71288 else
71289 if test x$gcc_no_link = xyes; then
71290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71292 { (exit 1); exit 1; }; }
71294 cat >conftest.$ac_ext <<_ACEOF
71295 /* confdefs.h. */
71296 _ACEOF
71297 cat confdefs.h >>conftest.$ac_ext
71298 cat >>conftest.$ac_ext <<_ACEOF
71299 /* end confdefs.h. */
71300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71302 #define $ac_func innocuous_$ac_func
71304 /* System header to define __stub macros and hopefully few prototypes,
71305 which can conflict with char $ac_func (); below.
71306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71307 <limits.h> exists even on freestanding compilers. */
71309 #ifdef __STDC__
71310 # include <limits.h>
71311 #else
71312 # include <assert.h>
71313 #endif
71315 #undef $ac_func
71317 /* Override any gcc2 internal prototype to avoid an error. */
71318 #ifdef __cplusplus
71319 extern "C"
71321 #endif
71322 /* We use char because int might match the return type of a gcc2
71323 builtin and then its argument prototype would still apply. */
71324 char $ac_func ();
71325 /* The GNU C library defines this for functions which it implements
71326 to always fail with ENOSYS. Some functions are actually named
71327 something starting with __ and the normal name is an alias. */
71328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71329 choke me
71330 #else
71331 char (*f) () = $ac_func;
71332 #endif
71333 #ifdef __cplusplus
71335 #endif
71338 main ()
71340 return f != $ac_func;
71342 return 0;
71344 _ACEOF
71345 rm -f conftest.$ac_objext conftest$ac_exeext
71346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71347 (eval $ac_link) 2>conftest.er1
71348 ac_status=$?
71349 grep -v '^ *+' conftest.er1 >conftest.err
71350 rm -f conftest.er1
71351 cat conftest.err >&5
71352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71353 (exit $ac_status); } &&
71354 { ac_try='test -z "$ac_c_werror_flag"
71355 || test ! -s conftest.err'
71356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71357 (eval $ac_try) 2>&5
71358 ac_status=$?
71359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71360 (exit $ac_status); }; } &&
71361 { ac_try='test -s conftest$ac_exeext'
71362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71363 (eval $ac_try) 2>&5
71364 ac_status=$?
71365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71366 (exit $ac_status); }; }; then
71367 eval "$as_ac_var=yes"
71368 else
71369 echo "$as_me: failed program was:" >&5
71370 sed 's/^/| /' conftest.$ac_ext >&5
71372 eval "$as_ac_var=no"
71374 rm -f conftest.err conftest.$ac_objext \
71375 conftest$ac_exeext conftest.$ac_ext
71377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71379 if test `eval echo '${'$as_ac_var'}'` = yes; then
71380 cat >>confdefs.h <<_ACEOF
71381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71382 _ACEOF
71385 done
71395 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71396 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71397 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71398 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71399 echo $ECHO_N "(cached) $ECHO_C" >&6
71400 else
71404 ac_ext=cc
71405 ac_cpp='$CXXCPP $CPPFLAGS'
71406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71410 cat >conftest.$ac_ext <<_ACEOF
71411 /* confdefs.h. */
71412 _ACEOF
71413 cat confdefs.h >>conftest.$ac_ext
71414 cat >>conftest.$ac_ext <<_ACEOF
71415 /* end confdefs.h. */
71416 #include <math.h>
71417 #ifdef HAVE_IEEEFP_H
71418 #include <ieeefp.h>
71419 #endif
71422 main ()
71424 log10f(0);
71426 return 0;
71428 _ACEOF
71429 rm -f conftest.$ac_objext
71430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71431 (eval $ac_compile) 2>conftest.er1
71432 ac_status=$?
71433 grep -v '^ *+' conftest.er1 >conftest.err
71434 rm -f conftest.er1
71435 cat conftest.err >&5
71436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71437 (exit $ac_status); } &&
71438 { ac_try='test -z "$ac_cxx_werror_flag"
71439 || test ! -s conftest.err'
71440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71441 (eval $ac_try) 2>&5
71442 ac_status=$?
71443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71444 (exit $ac_status); }; } &&
71445 { ac_try='test -s conftest.$ac_objext'
71446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71447 (eval $ac_try) 2>&5
71448 ac_status=$?
71449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71450 (exit $ac_status); }; }; then
71451 glibcxx_cv_func_log10f_use=yes
71452 else
71453 echo "$as_me: failed program was:" >&5
71454 sed 's/^/| /' conftest.$ac_ext >&5
71456 glibcxx_cv_func_log10f_use=no
71458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71459 ac_ext=c
71460 ac_cpp='$CPP $CPPFLAGS'
71461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71470 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71472 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71474 for ac_func in log10f
71476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71477 echo "$as_me:$LINENO: checking for $ac_func" >&5
71478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71479 if eval "test \"\${$as_ac_var+set}\" = set"; then
71480 echo $ECHO_N "(cached) $ECHO_C" >&6
71481 else
71482 if test x$gcc_no_link = xyes; then
71483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71485 { (exit 1); exit 1; }; }
71487 cat >conftest.$ac_ext <<_ACEOF
71488 /* confdefs.h. */
71489 _ACEOF
71490 cat confdefs.h >>conftest.$ac_ext
71491 cat >>conftest.$ac_ext <<_ACEOF
71492 /* end confdefs.h. */
71493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71495 #define $ac_func innocuous_$ac_func
71497 /* System header to define __stub macros and hopefully few prototypes,
71498 which can conflict with char $ac_func (); below.
71499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71500 <limits.h> exists even on freestanding compilers. */
71502 #ifdef __STDC__
71503 # include <limits.h>
71504 #else
71505 # include <assert.h>
71506 #endif
71508 #undef $ac_func
71510 /* Override any gcc2 internal prototype to avoid an error. */
71511 #ifdef __cplusplus
71512 extern "C"
71514 #endif
71515 /* We use char because int might match the return type of a gcc2
71516 builtin and then its argument prototype would still apply. */
71517 char $ac_func ();
71518 /* The GNU C library defines this for functions which it implements
71519 to always fail with ENOSYS. Some functions are actually named
71520 something starting with __ and the normal name is an alias. */
71521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71522 choke me
71523 #else
71524 char (*f) () = $ac_func;
71525 #endif
71526 #ifdef __cplusplus
71528 #endif
71531 main ()
71533 return f != $ac_func;
71535 return 0;
71537 _ACEOF
71538 rm -f conftest.$ac_objext conftest$ac_exeext
71539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71540 (eval $ac_link) 2>conftest.er1
71541 ac_status=$?
71542 grep -v '^ *+' conftest.er1 >conftest.err
71543 rm -f conftest.er1
71544 cat conftest.err >&5
71545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71546 (exit $ac_status); } &&
71547 { ac_try='test -z "$ac_c_werror_flag"
71548 || test ! -s conftest.err'
71549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71550 (eval $ac_try) 2>&5
71551 ac_status=$?
71552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71553 (exit $ac_status); }; } &&
71554 { ac_try='test -s conftest$ac_exeext'
71555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71556 (eval $ac_try) 2>&5
71557 ac_status=$?
71558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71559 (exit $ac_status); }; }; then
71560 eval "$as_ac_var=yes"
71561 else
71562 echo "$as_me: failed program was:" >&5
71563 sed 's/^/| /' conftest.$ac_ext >&5
71565 eval "$as_ac_var=no"
71567 rm -f conftest.err conftest.$ac_objext \
71568 conftest$ac_exeext conftest.$ac_ext
71570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71572 if test `eval echo '${'$as_ac_var'}'` = yes; then
71573 cat >>confdefs.h <<_ACEOF
71574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71575 _ACEOF
71578 done
71580 else
71582 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71583 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71584 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71585 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71586 echo $ECHO_N "(cached) $ECHO_C" >&6
71587 else
71591 ac_ext=cc
71592 ac_cpp='$CXXCPP $CPPFLAGS'
71593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71597 cat >conftest.$ac_ext <<_ACEOF
71598 /* confdefs.h. */
71599 _ACEOF
71600 cat confdefs.h >>conftest.$ac_ext
71601 cat >>conftest.$ac_ext <<_ACEOF
71602 /* end confdefs.h. */
71603 #include <math.h>
71604 #ifdef HAVE_IEEEFP_H
71605 #include <ieeefp.h>
71606 #endif
71609 main ()
71611 _log10f(0);
71613 return 0;
71615 _ACEOF
71616 rm -f conftest.$ac_objext
71617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71618 (eval $ac_compile) 2>conftest.er1
71619 ac_status=$?
71620 grep -v '^ *+' conftest.er1 >conftest.err
71621 rm -f conftest.er1
71622 cat conftest.err >&5
71623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71624 (exit $ac_status); } &&
71625 { ac_try='test -z "$ac_cxx_werror_flag"
71626 || test ! -s conftest.err'
71627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71628 (eval $ac_try) 2>&5
71629 ac_status=$?
71630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71631 (exit $ac_status); }; } &&
71632 { ac_try='test -s conftest.$ac_objext'
71633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71634 (eval $ac_try) 2>&5
71635 ac_status=$?
71636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71637 (exit $ac_status); }; }; then
71638 glibcxx_cv_func__log10f_use=yes
71639 else
71640 echo "$as_me: failed program was:" >&5
71641 sed 's/^/| /' conftest.$ac_ext >&5
71643 glibcxx_cv_func__log10f_use=no
71645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71646 ac_ext=c
71647 ac_cpp='$CPP $CPPFLAGS'
71648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71657 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71659 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71661 for ac_func in _log10f
71663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71664 echo "$as_me:$LINENO: checking for $ac_func" >&5
71665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71666 if eval "test \"\${$as_ac_var+set}\" = set"; then
71667 echo $ECHO_N "(cached) $ECHO_C" >&6
71668 else
71669 if test x$gcc_no_link = xyes; then
71670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71672 { (exit 1); exit 1; }; }
71674 cat >conftest.$ac_ext <<_ACEOF
71675 /* confdefs.h. */
71676 _ACEOF
71677 cat confdefs.h >>conftest.$ac_ext
71678 cat >>conftest.$ac_ext <<_ACEOF
71679 /* end confdefs.h. */
71680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71682 #define $ac_func innocuous_$ac_func
71684 /* System header to define __stub macros and hopefully few prototypes,
71685 which can conflict with char $ac_func (); below.
71686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71687 <limits.h> exists even on freestanding compilers. */
71689 #ifdef __STDC__
71690 # include <limits.h>
71691 #else
71692 # include <assert.h>
71693 #endif
71695 #undef $ac_func
71697 /* Override any gcc2 internal prototype to avoid an error. */
71698 #ifdef __cplusplus
71699 extern "C"
71701 #endif
71702 /* We use char because int might match the return type of a gcc2
71703 builtin and then its argument prototype would still apply. */
71704 char $ac_func ();
71705 /* The GNU C library defines this for functions which it implements
71706 to always fail with ENOSYS. Some functions are actually named
71707 something starting with __ and the normal name is an alias. */
71708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71709 choke me
71710 #else
71711 char (*f) () = $ac_func;
71712 #endif
71713 #ifdef __cplusplus
71715 #endif
71718 main ()
71720 return f != $ac_func;
71722 return 0;
71724 _ACEOF
71725 rm -f conftest.$ac_objext conftest$ac_exeext
71726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71727 (eval $ac_link) 2>conftest.er1
71728 ac_status=$?
71729 grep -v '^ *+' conftest.er1 >conftest.err
71730 rm -f conftest.er1
71731 cat conftest.err >&5
71732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71733 (exit $ac_status); } &&
71734 { ac_try='test -z "$ac_c_werror_flag"
71735 || test ! -s conftest.err'
71736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71737 (eval $ac_try) 2>&5
71738 ac_status=$?
71739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71740 (exit $ac_status); }; } &&
71741 { ac_try='test -s conftest$ac_exeext'
71742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71743 (eval $ac_try) 2>&5
71744 ac_status=$?
71745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71746 (exit $ac_status); }; }; then
71747 eval "$as_ac_var=yes"
71748 else
71749 echo "$as_me: failed program was:" >&5
71750 sed 's/^/| /' conftest.$ac_ext >&5
71752 eval "$as_ac_var=no"
71754 rm -f conftest.err conftest.$ac_objext \
71755 conftest$ac_exeext conftest.$ac_ext
71757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71759 if test `eval echo '${'$as_ac_var'}'` = yes; then
71760 cat >>confdefs.h <<_ACEOF
71761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71762 _ACEOF
71765 done
71775 echo "$as_me:$LINENO: checking for modff declaration" >&5
71776 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
71777 if test x${glibcxx_cv_func_modff_use+set} != xset; then
71778 if test "${glibcxx_cv_func_modff_use+set}" = set; then
71779 echo $ECHO_N "(cached) $ECHO_C" >&6
71780 else
71784 ac_ext=cc
71785 ac_cpp='$CXXCPP $CPPFLAGS'
71786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71790 cat >conftest.$ac_ext <<_ACEOF
71791 /* confdefs.h. */
71792 _ACEOF
71793 cat confdefs.h >>conftest.$ac_ext
71794 cat >>conftest.$ac_ext <<_ACEOF
71795 /* end confdefs.h. */
71796 #include <math.h>
71798 main ()
71800 modff(0, 0);
71802 return 0;
71804 _ACEOF
71805 rm -f conftest.$ac_objext
71806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71807 (eval $ac_compile) 2>conftest.er1
71808 ac_status=$?
71809 grep -v '^ *+' conftest.er1 >conftest.err
71810 rm -f conftest.er1
71811 cat conftest.err >&5
71812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71813 (exit $ac_status); } &&
71814 { ac_try='test -z "$ac_cxx_werror_flag"
71815 || test ! -s conftest.err'
71816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71817 (eval $ac_try) 2>&5
71818 ac_status=$?
71819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71820 (exit $ac_status); }; } &&
71821 { ac_try='test -s conftest.$ac_objext'
71822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71823 (eval $ac_try) 2>&5
71824 ac_status=$?
71825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71826 (exit $ac_status); }; }; then
71827 glibcxx_cv_func_modff_use=yes
71828 else
71829 echo "$as_me: failed program was:" >&5
71830 sed 's/^/| /' conftest.$ac_ext >&5
71832 glibcxx_cv_func_modff_use=no
71834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71835 ac_ext=c
71836 ac_cpp='$CPP $CPPFLAGS'
71837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
71846 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
71848 if test x$glibcxx_cv_func_modff_use = x"yes"; then
71850 for ac_func in modff
71852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71853 echo "$as_me:$LINENO: checking for $ac_func" >&5
71854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71855 if eval "test \"\${$as_ac_var+set}\" = set"; then
71856 echo $ECHO_N "(cached) $ECHO_C" >&6
71857 else
71858 if test x$gcc_no_link = xyes; then
71859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71861 { (exit 1); exit 1; }; }
71863 cat >conftest.$ac_ext <<_ACEOF
71864 /* confdefs.h. */
71865 _ACEOF
71866 cat confdefs.h >>conftest.$ac_ext
71867 cat >>conftest.$ac_ext <<_ACEOF
71868 /* end confdefs.h. */
71869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71871 #define $ac_func innocuous_$ac_func
71873 /* System header to define __stub macros and hopefully few prototypes,
71874 which can conflict with char $ac_func (); below.
71875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71876 <limits.h> exists even on freestanding compilers. */
71878 #ifdef __STDC__
71879 # include <limits.h>
71880 #else
71881 # include <assert.h>
71882 #endif
71884 #undef $ac_func
71886 /* Override any gcc2 internal prototype to avoid an error. */
71887 #ifdef __cplusplus
71888 extern "C"
71890 #endif
71891 /* We use char because int might match the return type of a gcc2
71892 builtin and then its argument prototype would still apply. */
71893 char $ac_func ();
71894 /* The GNU C library defines this for functions which it implements
71895 to always fail with ENOSYS. Some functions are actually named
71896 something starting with __ and the normal name is an alias. */
71897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71898 choke me
71899 #else
71900 char (*f) () = $ac_func;
71901 #endif
71902 #ifdef __cplusplus
71904 #endif
71907 main ()
71909 return f != $ac_func;
71911 return 0;
71913 _ACEOF
71914 rm -f conftest.$ac_objext conftest$ac_exeext
71915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71916 (eval $ac_link) 2>conftest.er1
71917 ac_status=$?
71918 grep -v '^ *+' conftest.er1 >conftest.err
71919 rm -f conftest.er1
71920 cat conftest.err >&5
71921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71922 (exit $ac_status); } &&
71923 { ac_try='test -z "$ac_c_werror_flag"
71924 || test ! -s conftest.err'
71925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71926 (eval $ac_try) 2>&5
71927 ac_status=$?
71928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71929 (exit $ac_status); }; } &&
71930 { ac_try='test -s conftest$ac_exeext'
71931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71932 (eval $ac_try) 2>&5
71933 ac_status=$?
71934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71935 (exit $ac_status); }; }; then
71936 eval "$as_ac_var=yes"
71937 else
71938 echo "$as_me: failed program was:" >&5
71939 sed 's/^/| /' conftest.$ac_ext >&5
71941 eval "$as_ac_var=no"
71943 rm -f conftest.err conftest.$ac_objext \
71944 conftest$ac_exeext conftest.$ac_ext
71946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71948 if test `eval echo '${'$as_ac_var'}'` = yes; then
71949 cat >>confdefs.h <<_ACEOF
71950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71951 _ACEOF
71954 done
71956 else
71958 echo "$as_me:$LINENO: checking for _modff declaration" >&5
71959 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
71960 if test x${glibcxx_cv_func__modff_use+set} != xset; then
71961 if test "${glibcxx_cv_func__modff_use+set}" = set; then
71962 echo $ECHO_N "(cached) $ECHO_C" >&6
71963 else
71967 ac_ext=cc
71968 ac_cpp='$CXXCPP $CPPFLAGS'
71969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71973 cat >conftest.$ac_ext <<_ACEOF
71974 /* confdefs.h. */
71975 _ACEOF
71976 cat confdefs.h >>conftest.$ac_ext
71977 cat >>conftest.$ac_ext <<_ACEOF
71978 /* end confdefs.h. */
71979 #include <math.h>
71981 main ()
71983 _modff(0, 0);
71985 return 0;
71987 _ACEOF
71988 rm -f conftest.$ac_objext
71989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71990 (eval $ac_compile) 2>conftest.er1
71991 ac_status=$?
71992 grep -v '^ *+' conftest.er1 >conftest.err
71993 rm -f conftest.er1
71994 cat conftest.err >&5
71995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71996 (exit $ac_status); } &&
71997 { ac_try='test -z "$ac_cxx_werror_flag"
71998 || test ! -s conftest.err'
71999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72000 (eval $ac_try) 2>&5
72001 ac_status=$?
72002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72003 (exit $ac_status); }; } &&
72004 { ac_try='test -s conftest.$ac_objext'
72005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72006 (eval $ac_try) 2>&5
72007 ac_status=$?
72008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72009 (exit $ac_status); }; }; then
72010 glibcxx_cv_func__modff_use=yes
72011 else
72012 echo "$as_me: failed program was:" >&5
72013 sed 's/^/| /' conftest.$ac_ext >&5
72015 glibcxx_cv_func__modff_use=no
72017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72018 ac_ext=c
72019 ac_cpp='$CPP $CPPFLAGS'
72020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72029 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72031 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72033 for ac_func in _modff
72035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72036 echo "$as_me:$LINENO: checking for $ac_func" >&5
72037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72038 if eval "test \"\${$as_ac_var+set}\" = set"; then
72039 echo $ECHO_N "(cached) $ECHO_C" >&6
72040 else
72041 if test x$gcc_no_link = xyes; then
72042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72044 { (exit 1); exit 1; }; }
72046 cat >conftest.$ac_ext <<_ACEOF
72047 /* confdefs.h. */
72048 _ACEOF
72049 cat confdefs.h >>conftest.$ac_ext
72050 cat >>conftest.$ac_ext <<_ACEOF
72051 /* end confdefs.h. */
72052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72054 #define $ac_func innocuous_$ac_func
72056 /* System header to define __stub macros and hopefully few prototypes,
72057 which can conflict with char $ac_func (); below.
72058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72059 <limits.h> exists even on freestanding compilers. */
72061 #ifdef __STDC__
72062 # include <limits.h>
72063 #else
72064 # include <assert.h>
72065 #endif
72067 #undef $ac_func
72069 /* Override any gcc2 internal prototype to avoid an error. */
72070 #ifdef __cplusplus
72071 extern "C"
72073 #endif
72074 /* We use char because int might match the return type of a gcc2
72075 builtin and then its argument prototype would still apply. */
72076 char $ac_func ();
72077 /* The GNU C library defines this for functions which it implements
72078 to always fail with ENOSYS. Some functions are actually named
72079 something starting with __ and the normal name is an alias. */
72080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72081 choke me
72082 #else
72083 char (*f) () = $ac_func;
72084 #endif
72085 #ifdef __cplusplus
72087 #endif
72090 main ()
72092 return f != $ac_func;
72094 return 0;
72096 _ACEOF
72097 rm -f conftest.$ac_objext conftest$ac_exeext
72098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72099 (eval $ac_link) 2>conftest.er1
72100 ac_status=$?
72101 grep -v '^ *+' conftest.er1 >conftest.err
72102 rm -f conftest.er1
72103 cat conftest.err >&5
72104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72105 (exit $ac_status); } &&
72106 { ac_try='test -z "$ac_c_werror_flag"
72107 || test ! -s conftest.err'
72108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72109 (eval $ac_try) 2>&5
72110 ac_status=$?
72111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72112 (exit $ac_status); }; } &&
72113 { ac_try='test -s conftest$ac_exeext'
72114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72115 (eval $ac_try) 2>&5
72116 ac_status=$?
72117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72118 (exit $ac_status); }; }; then
72119 eval "$as_ac_var=yes"
72120 else
72121 echo "$as_me: failed program was:" >&5
72122 sed 's/^/| /' conftest.$ac_ext >&5
72124 eval "$as_ac_var=no"
72126 rm -f conftest.err conftest.$ac_objext \
72127 conftest$ac_exeext conftest.$ac_ext
72129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72131 if test `eval echo '${'$as_ac_var'}'` = yes; then
72132 cat >>confdefs.h <<_ACEOF
72133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72134 _ACEOF
72137 done
72147 echo "$as_me:$LINENO: checking for modf declaration" >&5
72148 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72149 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72150 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72151 echo $ECHO_N "(cached) $ECHO_C" >&6
72152 else
72156 ac_ext=cc
72157 ac_cpp='$CXXCPP $CPPFLAGS'
72158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72162 cat >conftest.$ac_ext <<_ACEOF
72163 /* confdefs.h. */
72164 _ACEOF
72165 cat confdefs.h >>conftest.$ac_ext
72166 cat >>conftest.$ac_ext <<_ACEOF
72167 /* end confdefs.h. */
72168 #include <math.h>
72170 main ()
72172 modf(0, 0);
72174 return 0;
72176 _ACEOF
72177 rm -f conftest.$ac_objext
72178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72179 (eval $ac_compile) 2>conftest.er1
72180 ac_status=$?
72181 grep -v '^ *+' conftest.er1 >conftest.err
72182 rm -f conftest.er1
72183 cat conftest.err >&5
72184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72185 (exit $ac_status); } &&
72186 { ac_try='test -z "$ac_cxx_werror_flag"
72187 || test ! -s conftest.err'
72188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72189 (eval $ac_try) 2>&5
72190 ac_status=$?
72191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72192 (exit $ac_status); }; } &&
72193 { ac_try='test -s conftest.$ac_objext'
72194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72195 (eval $ac_try) 2>&5
72196 ac_status=$?
72197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72198 (exit $ac_status); }; }; then
72199 glibcxx_cv_func_modf_use=yes
72200 else
72201 echo "$as_me: failed program was:" >&5
72202 sed 's/^/| /' conftest.$ac_ext >&5
72204 glibcxx_cv_func_modf_use=no
72206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72207 ac_ext=c
72208 ac_cpp='$CPP $CPPFLAGS'
72209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72218 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72220 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72222 for ac_func in modf
72224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72225 echo "$as_me:$LINENO: checking for $ac_func" >&5
72226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72227 if eval "test \"\${$as_ac_var+set}\" = set"; then
72228 echo $ECHO_N "(cached) $ECHO_C" >&6
72229 else
72230 if test x$gcc_no_link = xyes; then
72231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72233 { (exit 1); exit 1; }; }
72235 cat >conftest.$ac_ext <<_ACEOF
72236 /* confdefs.h. */
72237 _ACEOF
72238 cat confdefs.h >>conftest.$ac_ext
72239 cat >>conftest.$ac_ext <<_ACEOF
72240 /* end confdefs.h. */
72241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72243 #define $ac_func innocuous_$ac_func
72245 /* System header to define __stub macros and hopefully few prototypes,
72246 which can conflict with char $ac_func (); below.
72247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72248 <limits.h> exists even on freestanding compilers. */
72250 #ifdef __STDC__
72251 # include <limits.h>
72252 #else
72253 # include <assert.h>
72254 #endif
72256 #undef $ac_func
72258 /* Override any gcc2 internal prototype to avoid an error. */
72259 #ifdef __cplusplus
72260 extern "C"
72262 #endif
72263 /* We use char because int might match the return type of a gcc2
72264 builtin and then its argument prototype would still apply. */
72265 char $ac_func ();
72266 /* The GNU C library defines this for functions which it implements
72267 to always fail with ENOSYS. Some functions are actually named
72268 something starting with __ and the normal name is an alias. */
72269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72270 choke me
72271 #else
72272 char (*f) () = $ac_func;
72273 #endif
72274 #ifdef __cplusplus
72276 #endif
72279 main ()
72281 return f != $ac_func;
72283 return 0;
72285 _ACEOF
72286 rm -f conftest.$ac_objext conftest$ac_exeext
72287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72288 (eval $ac_link) 2>conftest.er1
72289 ac_status=$?
72290 grep -v '^ *+' conftest.er1 >conftest.err
72291 rm -f conftest.er1
72292 cat conftest.err >&5
72293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72294 (exit $ac_status); } &&
72295 { ac_try='test -z "$ac_c_werror_flag"
72296 || test ! -s conftest.err'
72297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72298 (eval $ac_try) 2>&5
72299 ac_status=$?
72300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72301 (exit $ac_status); }; } &&
72302 { ac_try='test -s conftest$ac_exeext'
72303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72304 (eval $ac_try) 2>&5
72305 ac_status=$?
72306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72307 (exit $ac_status); }; }; then
72308 eval "$as_ac_var=yes"
72309 else
72310 echo "$as_me: failed program was:" >&5
72311 sed 's/^/| /' conftest.$ac_ext >&5
72313 eval "$as_ac_var=no"
72315 rm -f conftest.err conftest.$ac_objext \
72316 conftest$ac_exeext conftest.$ac_ext
72318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72320 if test `eval echo '${'$as_ac_var'}'` = yes; then
72321 cat >>confdefs.h <<_ACEOF
72322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72323 _ACEOF
72326 done
72328 else
72330 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72331 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72332 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72333 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72334 echo $ECHO_N "(cached) $ECHO_C" >&6
72335 else
72339 ac_ext=cc
72340 ac_cpp='$CXXCPP $CPPFLAGS'
72341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72345 cat >conftest.$ac_ext <<_ACEOF
72346 /* confdefs.h. */
72347 _ACEOF
72348 cat confdefs.h >>conftest.$ac_ext
72349 cat >>conftest.$ac_ext <<_ACEOF
72350 /* end confdefs.h. */
72351 #include <math.h>
72353 main ()
72355 _modf(0, 0);
72357 return 0;
72359 _ACEOF
72360 rm -f conftest.$ac_objext
72361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72362 (eval $ac_compile) 2>conftest.er1
72363 ac_status=$?
72364 grep -v '^ *+' conftest.er1 >conftest.err
72365 rm -f conftest.er1
72366 cat conftest.err >&5
72367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72368 (exit $ac_status); } &&
72369 { ac_try='test -z "$ac_cxx_werror_flag"
72370 || test ! -s conftest.err'
72371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72372 (eval $ac_try) 2>&5
72373 ac_status=$?
72374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72375 (exit $ac_status); }; } &&
72376 { ac_try='test -s conftest.$ac_objext'
72377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72378 (eval $ac_try) 2>&5
72379 ac_status=$?
72380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72381 (exit $ac_status); }; }; then
72382 glibcxx_cv_func__modf_use=yes
72383 else
72384 echo "$as_me: failed program was:" >&5
72385 sed 's/^/| /' conftest.$ac_ext >&5
72387 glibcxx_cv_func__modf_use=no
72389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72390 ac_ext=c
72391 ac_cpp='$CPP $CPPFLAGS'
72392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72401 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72403 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72405 for ac_func in _modf
72407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72408 echo "$as_me:$LINENO: checking for $ac_func" >&5
72409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72410 if eval "test \"\${$as_ac_var+set}\" = set"; then
72411 echo $ECHO_N "(cached) $ECHO_C" >&6
72412 else
72413 if test x$gcc_no_link = xyes; then
72414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72416 { (exit 1); exit 1; }; }
72418 cat >conftest.$ac_ext <<_ACEOF
72419 /* confdefs.h. */
72420 _ACEOF
72421 cat confdefs.h >>conftest.$ac_ext
72422 cat >>conftest.$ac_ext <<_ACEOF
72423 /* end confdefs.h. */
72424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72426 #define $ac_func innocuous_$ac_func
72428 /* System header to define __stub macros and hopefully few prototypes,
72429 which can conflict with char $ac_func (); below.
72430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72431 <limits.h> exists even on freestanding compilers. */
72433 #ifdef __STDC__
72434 # include <limits.h>
72435 #else
72436 # include <assert.h>
72437 #endif
72439 #undef $ac_func
72441 /* Override any gcc2 internal prototype to avoid an error. */
72442 #ifdef __cplusplus
72443 extern "C"
72445 #endif
72446 /* We use char because int might match the return type of a gcc2
72447 builtin and then its argument prototype would still apply. */
72448 char $ac_func ();
72449 /* The GNU C library defines this for functions which it implements
72450 to always fail with ENOSYS. Some functions are actually named
72451 something starting with __ and the normal name is an alias. */
72452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72453 choke me
72454 #else
72455 char (*f) () = $ac_func;
72456 #endif
72457 #ifdef __cplusplus
72459 #endif
72462 main ()
72464 return f != $ac_func;
72466 return 0;
72468 _ACEOF
72469 rm -f conftest.$ac_objext conftest$ac_exeext
72470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72471 (eval $ac_link) 2>conftest.er1
72472 ac_status=$?
72473 grep -v '^ *+' conftest.er1 >conftest.err
72474 rm -f conftest.er1
72475 cat conftest.err >&5
72476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72477 (exit $ac_status); } &&
72478 { ac_try='test -z "$ac_c_werror_flag"
72479 || test ! -s conftest.err'
72480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72481 (eval $ac_try) 2>&5
72482 ac_status=$?
72483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72484 (exit $ac_status); }; } &&
72485 { ac_try='test -s conftest$ac_exeext'
72486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72487 (eval $ac_try) 2>&5
72488 ac_status=$?
72489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72490 (exit $ac_status); }; }; then
72491 eval "$as_ac_var=yes"
72492 else
72493 echo "$as_me: failed program was:" >&5
72494 sed 's/^/| /' conftest.$ac_ext >&5
72496 eval "$as_ac_var=no"
72498 rm -f conftest.err conftest.$ac_objext \
72499 conftest$ac_exeext conftest.$ac_ext
72501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72503 if test `eval echo '${'$as_ac_var'}'` = yes; then
72504 cat >>confdefs.h <<_ACEOF
72505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72506 _ACEOF
72509 done
72519 echo "$as_me:$LINENO: checking for powf declaration" >&5
72520 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72521 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72522 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72523 echo $ECHO_N "(cached) $ECHO_C" >&6
72524 else
72528 ac_ext=cc
72529 ac_cpp='$CXXCPP $CPPFLAGS'
72530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72534 cat >conftest.$ac_ext <<_ACEOF
72535 /* confdefs.h. */
72536 _ACEOF
72537 cat confdefs.h >>conftest.$ac_ext
72538 cat >>conftest.$ac_ext <<_ACEOF
72539 /* end confdefs.h. */
72540 #include <math.h>
72542 main ()
72544 powf(0, 0);
72546 return 0;
72548 _ACEOF
72549 rm -f conftest.$ac_objext
72550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72551 (eval $ac_compile) 2>conftest.er1
72552 ac_status=$?
72553 grep -v '^ *+' conftest.er1 >conftest.err
72554 rm -f conftest.er1
72555 cat conftest.err >&5
72556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72557 (exit $ac_status); } &&
72558 { ac_try='test -z "$ac_cxx_werror_flag"
72559 || test ! -s conftest.err'
72560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72561 (eval $ac_try) 2>&5
72562 ac_status=$?
72563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72564 (exit $ac_status); }; } &&
72565 { ac_try='test -s conftest.$ac_objext'
72566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72567 (eval $ac_try) 2>&5
72568 ac_status=$?
72569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72570 (exit $ac_status); }; }; then
72571 glibcxx_cv_func_powf_use=yes
72572 else
72573 echo "$as_me: failed program was:" >&5
72574 sed 's/^/| /' conftest.$ac_ext >&5
72576 glibcxx_cv_func_powf_use=no
72578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72579 ac_ext=c
72580 ac_cpp='$CPP $CPPFLAGS'
72581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72590 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72592 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72594 for ac_func in powf
72596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72597 echo "$as_me:$LINENO: checking for $ac_func" >&5
72598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72599 if eval "test \"\${$as_ac_var+set}\" = set"; then
72600 echo $ECHO_N "(cached) $ECHO_C" >&6
72601 else
72602 if test x$gcc_no_link = xyes; then
72603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72605 { (exit 1); exit 1; }; }
72607 cat >conftest.$ac_ext <<_ACEOF
72608 /* confdefs.h. */
72609 _ACEOF
72610 cat confdefs.h >>conftest.$ac_ext
72611 cat >>conftest.$ac_ext <<_ACEOF
72612 /* end confdefs.h. */
72613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72615 #define $ac_func innocuous_$ac_func
72617 /* System header to define __stub macros and hopefully few prototypes,
72618 which can conflict with char $ac_func (); below.
72619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72620 <limits.h> exists even on freestanding compilers. */
72622 #ifdef __STDC__
72623 # include <limits.h>
72624 #else
72625 # include <assert.h>
72626 #endif
72628 #undef $ac_func
72630 /* Override any gcc2 internal prototype to avoid an error. */
72631 #ifdef __cplusplus
72632 extern "C"
72634 #endif
72635 /* We use char because int might match the return type of a gcc2
72636 builtin and then its argument prototype would still apply. */
72637 char $ac_func ();
72638 /* The GNU C library defines this for functions which it implements
72639 to always fail with ENOSYS. Some functions are actually named
72640 something starting with __ and the normal name is an alias. */
72641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72642 choke me
72643 #else
72644 char (*f) () = $ac_func;
72645 #endif
72646 #ifdef __cplusplus
72648 #endif
72651 main ()
72653 return f != $ac_func;
72655 return 0;
72657 _ACEOF
72658 rm -f conftest.$ac_objext conftest$ac_exeext
72659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72660 (eval $ac_link) 2>conftest.er1
72661 ac_status=$?
72662 grep -v '^ *+' conftest.er1 >conftest.err
72663 rm -f conftest.er1
72664 cat conftest.err >&5
72665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72666 (exit $ac_status); } &&
72667 { ac_try='test -z "$ac_c_werror_flag"
72668 || test ! -s conftest.err'
72669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72670 (eval $ac_try) 2>&5
72671 ac_status=$?
72672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72673 (exit $ac_status); }; } &&
72674 { ac_try='test -s conftest$ac_exeext'
72675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72676 (eval $ac_try) 2>&5
72677 ac_status=$?
72678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72679 (exit $ac_status); }; }; then
72680 eval "$as_ac_var=yes"
72681 else
72682 echo "$as_me: failed program was:" >&5
72683 sed 's/^/| /' conftest.$ac_ext >&5
72685 eval "$as_ac_var=no"
72687 rm -f conftest.err conftest.$ac_objext \
72688 conftest$ac_exeext conftest.$ac_ext
72690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72692 if test `eval echo '${'$as_ac_var'}'` = yes; then
72693 cat >>confdefs.h <<_ACEOF
72694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72695 _ACEOF
72698 done
72700 else
72702 echo "$as_me:$LINENO: checking for _powf declaration" >&5
72703 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72704 if test x${glibcxx_cv_func__powf_use+set} != xset; then
72705 if test "${glibcxx_cv_func__powf_use+set}" = set; then
72706 echo $ECHO_N "(cached) $ECHO_C" >&6
72707 else
72711 ac_ext=cc
72712 ac_cpp='$CXXCPP $CPPFLAGS'
72713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72717 cat >conftest.$ac_ext <<_ACEOF
72718 /* confdefs.h. */
72719 _ACEOF
72720 cat confdefs.h >>conftest.$ac_ext
72721 cat >>conftest.$ac_ext <<_ACEOF
72722 /* end confdefs.h. */
72723 #include <math.h>
72725 main ()
72727 _powf(0, 0);
72729 return 0;
72731 _ACEOF
72732 rm -f conftest.$ac_objext
72733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72734 (eval $ac_compile) 2>conftest.er1
72735 ac_status=$?
72736 grep -v '^ *+' conftest.er1 >conftest.err
72737 rm -f conftest.er1
72738 cat conftest.err >&5
72739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72740 (exit $ac_status); } &&
72741 { ac_try='test -z "$ac_cxx_werror_flag"
72742 || test ! -s conftest.err'
72743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72744 (eval $ac_try) 2>&5
72745 ac_status=$?
72746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72747 (exit $ac_status); }; } &&
72748 { ac_try='test -s conftest.$ac_objext'
72749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72750 (eval $ac_try) 2>&5
72751 ac_status=$?
72752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72753 (exit $ac_status); }; }; then
72754 glibcxx_cv_func__powf_use=yes
72755 else
72756 echo "$as_me: failed program was:" >&5
72757 sed 's/^/| /' conftest.$ac_ext >&5
72759 glibcxx_cv_func__powf_use=no
72761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72762 ac_ext=c
72763 ac_cpp='$CPP $CPPFLAGS'
72764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
72773 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
72775 if test x$glibcxx_cv_func__powf_use = x"yes"; then
72777 for ac_func in _powf
72779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72780 echo "$as_me:$LINENO: checking for $ac_func" >&5
72781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72782 if eval "test \"\${$as_ac_var+set}\" = set"; then
72783 echo $ECHO_N "(cached) $ECHO_C" >&6
72784 else
72785 if test x$gcc_no_link = xyes; then
72786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72788 { (exit 1); exit 1; }; }
72790 cat >conftest.$ac_ext <<_ACEOF
72791 /* confdefs.h. */
72792 _ACEOF
72793 cat confdefs.h >>conftest.$ac_ext
72794 cat >>conftest.$ac_ext <<_ACEOF
72795 /* end confdefs.h. */
72796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72798 #define $ac_func innocuous_$ac_func
72800 /* System header to define __stub macros and hopefully few prototypes,
72801 which can conflict with char $ac_func (); below.
72802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72803 <limits.h> exists even on freestanding compilers. */
72805 #ifdef __STDC__
72806 # include <limits.h>
72807 #else
72808 # include <assert.h>
72809 #endif
72811 #undef $ac_func
72813 /* Override any gcc2 internal prototype to avoid an error. */
72814 #ifdef __cplusplus
72815 extern "C"
72817 #endif
72818 /* We use char because int might match the return type of a gcc2
72819 builtin and then its argument prototype would still apply. */
72820 char $ac_func ();
72821 /* The GNU C library defines this for functions which it implements
72822 to always fail with ENOSYS. Some functions are actually named
72823 something starting with __ and the normal name is an alias. */
72824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72825 choke me
72826 #else
72827 char (*f) () = $ac_func;
72828 #endif
72829 #ifdef __cplusplus
72831 #endif
72834 main ()
72836 return f != $ac_func;
72838 return 0;
72840 _ACEOF
72841 rm -f conftest.$ac_objext conftest$ac_exeext
72842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72843 (eval $ac_link) 2>conftest.er1
72844 ac_status=$?
72845 grep -v '^ *+' conftest.er1 >conftest.err
72846 rm -f conftest.er1
72847 cat conftest.err >&5
72848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72849 (exit $ac_status); } &&
72850 { ac_try='test -z "$ac_c_werror_flag"
72851 || test ! -s conftest.err'
72852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72853 (eval $ac_try) 2>&5
72854 ac_status=$?
72855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72856 (exit $ac_status); }; } &&
72857 { ac_try='test -s conftest$ac_exeext'
72858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72859 (eval $ac_try) 2>&5
72860 ac_status=$?
72861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72862 (exit $ac_status); }; }; then
72863 eval "$as_ac_var=yes"
72864 else
72865 echo "$as_me: failed program was:" >&5
72866 sed 's/^/| /' conftest.$ac_ext >&5
72868 eval "$as_ac_var=no"
72870 rm -f conftest.err conftest.$ac_objext \
72871 conftest$ac_exeext conftest.$ac_ext
72873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72875 if test `eval echo '${'$as_ac_var'}'` = yes; then
72876 cat >>confdefs.h <<_ACEOF
72877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72878 _ACEOF
72881 done
72891 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
72892 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
72893 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
72894 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
72895 echo $ECHO_N "(cached) $ECHO_C" >&6
72896 else
72900 ac_ext=cc
72901 ac_cpp='$CXXCPP $CPPFLAGS'
72902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72906 cat >conftest.$ac_ext <<_ACEOF
72907 /* confdefs.h. */
72908 _ACEOF
72909 cat confdefs.h >>conftest.$ac_ext
72910 cat >>conftest.$ac_ext <<_ACEOF
72911 /* end confdefs.h. */
72912 #include <math.h>
72913 #ifdef HAVE_IEEEFP_H
72914 #include <ieeefp.h>
72915 #endif
72918 main ()
72920 sqrtf(0);
72922 return 0;
72924 _ACEOF
72925 rm -f conftest.$ac_objext
72926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72927 (eval $ac_compile) 2>conftest.er1
72928 ac_status=$?
72929 grep -v '^ *+' conftest.er1 >conftest.err
72930 rm -f conftest.er1
72931 cat conftest.err >&5
72932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72933 (exit $ac_status); } &&
72934 { ac_try='test -z "$ac_cxx_werror_flag"
72935 || test ! -s conftest.err'
72936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72937 (eval $ac_try) 2>&5
72938 ac_status=$?
72939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72940 (exit $ac_status); }; } &&
72941 { ac_try='test -s conftest.$ac_objext'
72942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72943 (eval $ac_try) 2>&5
72944 ac_status=$?
72945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72946 (exit $ac_status); }; }; then
72947 glibcxx_cv_func_sqrtf_use=yes
72948 else
72949 echo "$as_me: failed program was:" >&5
72950 sed 's/^/| /' conftest.$ac_ext >&5
72952 glibcxx_cv_func_sqrtf_use=no
72954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72955 ac_ext=c
72956 ac_cpp='$CPP $CPPFLAGS'
72957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
72966 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
72968 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
72970 for ac_func in sqrtf
72972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72973 echo "$as_me:$LINENO: checking for $ac_func" >&5
72974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72975 if eval "test \"\${$as_ac_var+set}\" = set"; then
72976 echo $ECHO_N "(cached) $ECHO_C" >&6
72977 else
72978 if test x$gcc_no_link = xyes; then
72979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72981 { (exit 1); exit 1; }; }
72983 cat >conftest.$ac_ext <<_ACEOF
72984 /* confdefs.h. */
72985 _ACEOF
72986 cat confdefs.h >>conftest.$ac_ext
72987 cat >>conftest.$ac_ext <<_ACEOF
72988 /* end confdefs.h. */
72989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72991 #define $ac_func innocuous_$ac_func
72993 /* System header to define __stub macros and hopefully few prototypes,
72994 which can conflict with char $ac_func (); below.
72995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72996 <limits.h> exists even on freestanding compilers. */
72998 #ifdef __STDC__
72999 # include <limits.h>
73000 #else
73001 # include <assert.h>
73002 #endif
73004 #undef $ac_func
73006 /* Override any gcc2 internal prototype to avoid an error. */
73007 #ifdef __cplusplus
73008 extern "C"
73010 #endif
73011 /* We use char because int might match the return type of a gcc2
73012 builtin and then its argument prototype would still apply. */
73013 char $ac_func ();
73014 /* The GNU C library defines this for functions which it implements
73015 to always fail with ENOSYS. Some functions are actually named
73016 something starting with __ and the normal name is an alias. */
73017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73018 choke me
73019 #else
73020 char (*f) () = $ac_func;
73021 #endif
73022 #ifdef __cplusplus
73024 #endif
73027 main ()
73029 return f != $ac_func;
73031 return 0;
73033 _ACEOF
73034 rm -f conftest.$ac_objext conftest$ac_exeext
73035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73036 (eval $ac_link) 2>conftest.er1
73037 ac_status=$?
73038 grep -v '^ *+' conftest.er1 >conftest.err
73039 rm -f conftest.er1
73040 cat conftest.err >&5
73041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73042 (exit $ac_status); } &&
73043 { ac_try='test -z "$ac_c_werror_flag"
73044 || test ! -s conftest.err'
73045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73046 (eval $ac_try) 2>&5
73047 ac_status=$?
73048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73049 (exit $ac_status); }; } &&
73050 { ac_try='test -s conftest$ac_exeext'
73051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73052 (eval $ac_try) 2>&5
73053 ac_status=$?
73054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73055 (exit $ac_status); }; }; then
73056 eval "$as_ac_var=yes"
73057 else
73058 echo "$as_me: failed program was:" >&5
73059 sed 's/^/| /' conftest.$ac_ext >&5
73061 eval "$as_ac_var=no"
73063 rm -f conftest.err conftest.$ac_objext \
73064 conftest$ac_exeext conftest.$ac_ext
73066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73068 if test `eval echo '${'$as_ac_var'}'` = yes; then
73069 cat >>confdefs.h <<_ACEOF
73070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73071 _ACEOF
73074 done
73076 else
73078 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73079 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73080 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73081 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73082 echo $ECHO_N "(cached) $ECHO_C" >&6
73083 else
73087 ac_ext=cc
73088 ac_cpp='$CXXCPP $CPPFLAGS'
73089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73093 cat >conftest.$ac_ext <<_ACEOF
73094 /* confdefs.h. */
73095 _ACEOF
73096 cat confdefs.h >>conftest.$ac_ext
73097 cat >>conftest.$ac_ext <<_ACEOF
73098 /* end confdefs.h. */
73099 #include <math.h>
73100 #ifdef HAVE_IEEEFP_H
73101 #include <ieeefp.h>
73102 #endif
73105 main ()
73107 _sqrtf(0);
73109 return 0;
73111 _ACEOF
73112 rm -f conftest.$ac_objext
73113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73114 (eval $ac_compile) 2>conftest.er1
73115 ac_status=$?
73116 grep -v '^ *+' conftest.er1 >conftest.err
73117 rm -f conftest.er1
73118 cat conftest.err >&5
73119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73120 (exit $ac_status); } &&
73121 { ac_try='test -z "$ac_cxx_werror_flag"
73122 || test ! -s conftest.err'
73123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73124 (eval $ac_try) 2>&5
73125 ac_status=$?
73126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73127 (exit $ac_status); }; } &&
73128 { ac_try='test -s conftest.$ac_objext'
73129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73130 (eval $ac_try) 2>&5
73131 ac_status=$?
73132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73133 (exit $ac_status); }; }; then
73134 glibcxx_cv_func__sqrtf_use=yes
73135 else
73136 echo "$as_me: failed program was:" >&5
73137 sed 's/^/| /' conftest.$ac_ext >&5
73139 glibcxx_cv_func__sqrtf_use=no
73141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73142 ac_ext=c
73143 ac_cpp='$CPP $CPPFLAGS'
73144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73153 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73155 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73157 for ac_func in _sqrtf
73159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73160 echo "$as_me:$LINENO: checking for $ac_func" >&5
73161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73162 if eval "test \"\${$as_ac_var+set}\" = set"; then
73163 echo $ECHO_N "(cached) $ECHO_C" >&6
73164 else
73165 if test x$gcc_no_link = xyes; then
73166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73168 { (exit 1); exit 1; }; }
73170 cat >conftest.$ac_ext <<_ACEOF
73171 /* confdefs.h. */
73172 _ACEOF
73173 cat confdefs.h >>conftest.$ac_ext
73174 cat >>conftest.$ac_ext <<_ACEOF
73175 /* end confdefs.h. */
73176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73178 #define $ac_func innocuous_$ac_func
73180 /* System header to define __stub macros and hopefully few prototypes,
73181 which can conflict with char $ac_func (); below.
73182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73183 <limits.h> exists even on freestanding compilers. */
73185 #ifdef __STDC__
73186 # include <limits.h>
73187 #else
73188 # include <assert.h>
73189 #endif
73191 #undef $ac_func
73193 /* Override any gcc2 internal prototype to avoid an error. */
73194 #ifdef __cplusplus
73195 extern "C"
73197 #endif
73198 /* We use char because int might match the return type of a gcc2
73199 builtin and then its argument prototype would still apply. */
73200 char $ac_func ();
73201 /* The GNU C library defines this for functions which it implements
73202 to always fail with ENOSYS. Some functions are actually named
73203 something starting with __ and the normal name is an alias. */
73204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73205 choke me
73206 #else
73207 char (*f) () = $ac_func;
73208 #endif
73209 #ifdef __cplusplus
73211 #endif
73214 main ()
73216 return f != $ac_func;
73218 return 0;
73220 _ACEOF
73221 rm -f conftest.$ac_objext conftest$ac_exeext
73222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73223 (eval $ac_link) 2>conftest.er1
73224 ac_status=$?
73225 grep -v '^ *+' conftest.er1 >conftest.err
73226 rm -f conftest.er1
73227 cat conftest.err >&5
73228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73229 (exit $ac_status); } &&
73230 { ac_try='test -z "$ac_c_werror_flag"
73231 || test ! -s conftest.err'
73232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73233 (eval $ac_try) 2>&5
73234 ac_status=$?
73235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73236 (exit $ac_status); }; } &&
73237 { ac_try='test -s conftest$ac_exeext'
73238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73239 (eval $ac_try) 2>&5
73240 ac_status=$?
73241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73242 (exit $ac_status); }; }; then
73243 eval "$as_ac_var=yes"
73244 else
73245 echo "$as_me: failed program was:" >&5
73246 sed 's/^/| /' conftest.$ac_ext >&5
73248 eval "$as_ac_var=no"
73250 rm -f conftest.err conftest.$ac_objext \
73251 conftest$ac_exeext conftest.$ac_ext
73253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73255 if test `eval echo '${'$as_ac_var'}'` = yes; then
73256 cat >>confdefs.h <<_ACEOF
73257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73258 _ACEOF
73261 done
73271 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73272 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73273 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73274 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73275 echo $ECHO_N "(cached) $ECHO_C" >&6
73276 else
73280 ac_ext=cc
73281 ac_cpp='$CXXCPP $CPPFLAGS'
73282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73286 cat >conftest.$ac_ext <<_ACEOF
73287 /* confdefs.h. */
73288 _ACEOF
73289 cat confdefs.h >>conftest.$ac_ext
73290 cat >>conftest.$ac_ext <<_ACEOF
73291 /* end confdefs.h. */
73292 #include <math.h>
73294 main ()
73296 sincosf(0, 0, 0);
73298 return 0;
73300 _ACEOF
73301 rm -f conftest.$ac_objext
73302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73303 (eval $ac_compile) 2>conftest.er1
73304 ac_status=$?
73305 grep -v '^ *+' conftest.er1 >conftest.err
73306 rm -f conftest.er1
73307 cat conftest.err >&5
73308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73309 (exit $ac_status); } &&
73310 { ac_try='test -z "$ac_cxx_werror_flag"
73311 || test ! -s conftest.err'
73312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73313 (eval $ac_try) 2>&5
73314 ac_status=$?
73315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73316 (exit $ac_status); }; } &&
73317 { ac_try='test -s conftest.$ac_objext'
73318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73319 (eval $ac_try) 2>&5
73320 ac_status=$?
73321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73322 (exit $ac_status); }; }; then
73323 glibcxx_cv_func_sincosf_use=yes
73324 else
73325 echo "$as_me: failed program was:" >&5
73326 sed 's/^/| /' conftest.$ac_ext >&5
73328 glibcxx_cv_func_sincosf_use=no
73330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73331 ac_ext=c
73332 ac_cpp='$CPP $CPPFLAGS'
73333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73341 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73342 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73344 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73346 for ac_func in sincosf
73348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73349 echo "$as_me:$LINENO: checking for $ac_func" >&5
73350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73351 if eval "test \"\${$as_ac_var+set}\" = set"; then
73352 echo $ECHO_N "(cached) $ECHO_C" >&6
73353 else
73354 if test x$gcc_no_link = xyes; then
73355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73357 { (exit 1); exit 1; }; }
73359 cat >conftest.$ac_ext <<_ACEOF
73360 /* confdefs.h. */
73361 _ACEOF
73362 cat confdefs.h >>conftest.$ac_ext
73363 cat >>conftest.$ac_ext <<_ACEOF
73364 /* end confdefs.h. */
73365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73367 #define $ac_func innocuous_$ac_func
73369 /* System header to define __stub macros and hopefully few prototypes,
73370 which can conflict with char $ac_func (); below.
73371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73372 <limits.h> exists even on freestanding compilers. */
73374 #ifdef __STDC__
73375 # include <limits.h>
73376 #else
73377 # include <assert.h>
73378 #endif
73380 #undef $ac_func
73382 /* Override any gcc2 internal prototype to avoid an error. */
73383 #ifdef __cplusplus
73384 extern "C"
73386 #endif
73387 /* We use char because int might match the return type of a gcc2
73388 builtin and then its argument prototype would still apply. */
73389 char $ac_func ();
73390 /* The GNU C library defines this for functions which it implements
73391 to always fail with ENOSYS. Some functions are actually named
73392 something starting with __ and the normal name is an alias. */
73393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73394 choke me
73395 #else
73396 char (*f) () = $ac_func;
73397 #endif
73398 #ifdef __cplusplus
73400 #endif
73403 main ()
73405 return f != $ac_func;
73407 return 0;
73409 _ACEOF
73410 rm -f conftest.$ac_objext conftest$ac_exeext
73411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73412 (eval $ac_link) 2>conftest.er1
73413 ac_status=$?
73414 grep -v '^ *+' conftest.er1 >conftest.err
73415 rm -f conftest.er1
73416 cat conftest.err >&5
73417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73418 (exit $ac_status); } &&
73419 { ac_try='test -z "$ac_c_werror_flag"
73420 || test ! -s conftest.err'
73421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73422 (eval $ac_try) 2>&5
73423 ac_status=$?
73424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73425 (exit $ac_status); }; } &&
73426 { ac_try='test -s conftest$ac_exeext'
73427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73428 (eval $ac_try) 2>&5
73429 ac_status=$?
73430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73431 (exit $ac_status); }; }; then
73432 eval "$as_ac_var=yes"
73433 else
73434 echo "$as_me: failed program was:" >&5
73435 sed 's/^/| /' conftest.$ac_ext >&5
73437 eval "$as_ac_var=no"
73439 rm -f conftest.err conftest.$ac_objext \
73440 conftest$ac_exeext conftest.$ac_ext
73442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73444 if test `eval echo '${'$as_ac_var'}'` = yes; then
73445 cat >>confdefs.h <<_ACEOF
73446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73447 _ACEOF
73450 done
73452 else
73454 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73455 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73456 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73457 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73458 echo $ECHO_N "(cached) $ECHO_C" >&6
73459 else
73463 ac_ext=cc
73464 ac_cpp='$CXXCPP $CPPFLAGS'
73465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73469 cat >conftest.$ac_ext <<_ACEOF
73470 /* confdefs.h. */
73471 _ACEOF
73472 cat confdefs.h >>conftest.$ac_ext
73473 cat >>conftest.$ac_ext <<_ACEOF
73474 /* end confdefs.h. */
73475 #include <math.h>
73477 main ()
73479 _sincosf(0, 0, 0);
73481 return 0;
73483 _ACEOF
73484 rm -f conftest.$ac_objext
73485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73486 (eval $ac_compile) 2>conftest.er1
73487 ac_status=$?
73488 grep -v '^ *+' conftest.er1 >conftest.err
73489 rm -f conftest.er1
73490 cat conftest.err >&5
73491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73492 (exit $ac_status); } &&
73493 { ac_try='test -z "$ac_cxx_werror_flag"
73494 || test ! -s conftest.err'
73495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73496 (eval $ac_try) 2>&5
73497 ac_status=$?
73498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73499 (exit $ac_status); }; } &&
73500 { ac_try='test -s conftest.$ac_objext'
73501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73502 (eval $ac_try) 2>&5
73503 ac_status=$?
73504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73505 (exit $ac_status); }; }; then
73506 glibcxx_cv_func__sincosf_use=yes
73507 else
73508 echo "$as_me: failed program was:" >&5
73509 sed 's/^/| /' conftest.$ac_ext >&5
73511 glibcxx_cv_func__sincosf_use=no
73513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73514 ac_ext=c
73515 ac_cpp='$CPP $CPPFLAGS'
73516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73525 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73527 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73529 for ac_func in _sincosf
73531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73532 echo "$as_me:$LINENO: checking for $ac_func" >&5
73533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73534 if eval "test \"\${$as_ac_var+set}\" = set"; then
73535 echo $ECHO_N "(cached) $ECHO_C" >&6
73536 else
73537 if test x$gcc_no_link = xyes; then
73538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73540 { (exit 1); exit 1; }; }
73542 cat >conftest.$ac_ext <<_ACEOF
73543 /* confdefs.h. */
73544 _ACEOF
73545 cat confdefs.h >>conftest.$ac_ext
73546 cat >>conftest.$ac_ext <<_ACEOF
73547 /* end confdefs.h. */
73548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73550 #define $ac_func innocuous_$ac_func
73552 /* System header to define __stub macros and hopefully few prototypes,
73553 which can conflict with char $ac_func (); below.
73554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73555 <limits.h> exists even on freestanding compilers. */
73557 #ifdef __STDC__
73558 # include <limits.h>
73559 #else
73560 # include <assert.h>
73561 #endif
73563 #undef $ac_func
73565 /* Override any gcc2 internal prototype to avoid an error. */
73566 #ifdef __cplusplus
73567 extern "C"
73569 #endif
73570 /* We use char because int might match the return type of a gcc2
73571 builtin and then its argument prototype would still apply. */
73572 char $ac_func ();
73573 /* The GNU C library defines this for functions which it implements
73574 to always fail with ENOSYS. Some functions are actually named
73575 something starting with __ and the normal name is an alias. */
73576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73577 choke me
73578 #else
73579 char (*f) () = $ac_func;
73580 #endif
73581 #ifdef __cplusplus
73583 #endif
73586 main ()
73588 return f != $ac_func;
73590 return 0;
73592 _ACEOF
73593 rm -f conftest.$ac_objext conftest$ac_exeext
73594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73595 (eval $ac_link) 2>conftest.er1
73596 ac_status=$?
73597 grep -v '^ *+' conftest.er1 >conftest.err
73598 rm -f conftest.er1
73599 cat conftest.err >&5
73600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73601 (exit $ac_status); } &&
73602 { ac_try='test -z "$ac_c_werror_flag"
73603 || test ! -s conftest.err'
73604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73605 (eval $ac_try) 2>&5
73606 ac_status=$?
73607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73608 (exit $ac_status); }; } &&
73609 { ac_try='test -s conftest$ac_exeext'
73610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73611 (eval $ac_try) 2>&5
73612 ac_status=$?
73613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73614 (exit $ac_status); }; }; then
73615 eval "$as_ac_var=yes"
73616 else
73617 echo "$as_me: failed program was:" >&5
73618 sed 's/^/| /' conftest.$ac_ext >&5
73620 eval "$as_ac_var=no"
73622 rm -f conftest.err conftest.$ac_objext \
73623 conftest$ac_exeext conftest.$ac_ext
73625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73627 if test `eval echo '${'$as_ac_var'}'` = yes; then
73628 cat >>confdefs.h <<_ACEOF
73629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73630 _ACEOF
73633 done
73643 echo "$as_me:$LINENO: checking for finitef declaration" >&5
73644 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73645 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73646 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73647 echo $ECHO_N "(cached) $ECHO_C" >&6
73648 else
73652 ac_ext=cc
73653 ac_cpp='$CXXCPP $CPPFLAGS'
73654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73658 cat >conftest.$ac_ext <<_ACEOF
73659 /* confdefs.h. */
73660 _ACEOF
73661 cat confdefs.h >>conftest.$ac_ext
73662 cat >>conftest.$ac_ext <<_ACEOF
73663 /* end confdefs.h. */
73664 #include <math.h>
73665 #ifdef HAVE_IEEEFP_H
73666 #include <ieeefp.h>
73667 #endif
73670 main ()
73672 finitef(0);
73674 return 0;
73676 _ACEOF
73677 rm -f conftest.$ac_objext
73678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73679 (eval $ac_compile) 2>conftest.er1
73680 ac_status=$?
73681 grep -v '^ *+' conftest.er1 >conftest.err
73682 rm -f conftest.er1
73683 cat conftest.err >&5
73684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73685 (exit $ac_status); } &&
73686 { ac_try='test -z "$ac_cxx_werror_flag"
73687 || test ! -s conftest.err'
73688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73689 (eval $ac_try) 2>&5
73690 ac_status=$?
73691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73692 (exit $ac_status); }; } &&
73693 { ac_try='test -s conftest.$ac_objext'
73694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73695 (eval $ac_try) 2>&5
73696 ac_status=$?
73697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73698 (exit $ac_status); }; }; then
73699 glibcxx_cv_func_finitef_use=yes
73700 else
73701 echo "$as_me: failed program was:" >&5
73702 sed 's/^/| /' conftest.$ac_ext >&5
73704 glibcxx_cv_func_finitef_use=no
73706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73707 ac_ext=c
73708 ac_cpp='$CPP $CPPFLAGS'
73709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73718 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73720 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73722 for ac_func in finitef
73724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73725 echo "$as_me:$LINENO: checking for $ac_func" >&5
73726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73727 if eval "test \"\${$as_ac_var+set}\" = set"; then
73728 echo $ECHO_N "(cached) $ECHO_C" >&6
73729 else
73730 if test x$gcc_no_link = xyes; then
73731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73733 { (exit 1); exit 1; }; }
73735 cat >conftest.$ac_ext <<_ACEOF
73736 /* confdefs.h. */
73737 _ACEOF
73738 cat confdefs.h >>conftest.$ac_ext
73739 cat >>conftest.$ac_ext <<_ACEOF
73740 /* end confdefs.h. */
73741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73743 #define $ac_func innocuous_$ac_func
73745 /* System header to define __stub macros and hopefully few prototypes,
73746 which can conflict with char $ac_func (); below.
73747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73748 <limits.h> exists even on freestanding compilers. */
73750 #ifdef __STDC__
73751 # include <limits.h>
73752 #else
73753 # include <assert.h>
73754 #endif
73756 #undef $ac_func
73758 /* Override any gcc2 internal prototype to avoid an error. */
73759 #ifdef __cplusplus
73760 extern "C"
73762 #endif
73763 /* We use char because int might match the return type of a gcc2
73764 builtin and then its argument prototype would still apply. */
73765 char $ac_func ();
73766 /* The GNU C library defines this for functions which it implements
73767 to always fail with ENOSYS. Some functions are actually named
73768 something starting with __ and the normal name is an alias. */
73769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73770 choke me
73771 #else
73772 char (*f) () = $ac_func;
73773 #endif
73774 #ifdef __cplusplus
73776 #endif
73779 main ()
73781 return f != $ac_func;
73783 return 0;
73785 _ACEOF
73786 rm -f conftest.$ac_objext conftest$ac_exeext
73787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73788 (eval $ac_link) 2>conftest.er1
73789 ac_status=$?
73790 grep -v '^ *+' conftest.er1 >conftest.err
73791 rm -f conftest.er1
73792 cat conftest.err >&5
73793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73794 (exit $ac_status); } &&
73795 { ac_try='test -z "$ac_c_werror_flag"
73796 || test ! -s conftest.err'
73797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73798 (eval $ac_try) 2>&5
73799 ac_status=$?
73800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73801 (exit $ac_status); }; } &&
73802 { ac_try='test -s conftest$ac_exeext'
73803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73804 (eval $ac_try) 2>&5
73805 ac_status=$?
73806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73807 (exit $ac_status); }; }; then
73808 eval "$as_ac_var=yes"
73809 else
73810 echo "$as_me: failed program was:" >&5
73811 sed 's/^/| /' conftest.$ac_ext >&5
73813 eval "$as_ac_var=no"
73815 rm -f conftest.err conftest.$ac_objext \
73816 conftest$ac_exeext conftest.$ac_ext
73818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73820 if test `eval echo '${'$as_ac_var'}'` = yes; then
73821 cat >>confdefs.h <<_ACEOF
73822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73823 _ACEOF
73826 done
73828 else
73830 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
73831 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
73832 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
73833 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
73834 echo $ECHO_N "(cached) $ECHO_C" >&6
73835 else
73839 ac_ext=cc
73840 ac_cpp='$CXXCPP $CPPFLAGS'
73841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73845 cat >conftest.$ac_ext <<_ACEOF
73846 /* confdefs.h. */
73847 _ACEOF
73848 cat confdefs.h >>conftest.$ac_ext
73849 cat >>conftest.$ac_ext <<_ACEOF
73850 /* end confdefs.h. */
73851 #include <math.h>
73852 #ifdef HAVE_IEEEFP_H
73853 #include <ieeefp.h>
73854 #endif
73857 main ()
73859 _finitef(0);
73861 return 0;
73863 _ACEOF
73864 rm -f conftest.$ac_objext
73865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73866 (eval $ac_compile) 2>conftest.er1
73867 ac_status=$?
73868 grep -v '^ *+' conftest.er1 >conftest.err
73869 rm -f conftest.er1
73870 cat conftest.err >&5
73871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73872 (exit $ac_status); } &&
73873 { ac_try='test -z "$ac_cxx_werror_flag"
73874 || test ! -s conftest.err'
73875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73876 (eval $ac_try) 2>&5
73877 ac_status=$?
73878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73879 (exit $ac_status); }; } &&
73880 { ac_try='test -s conftest.$ac_objext'
73881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73882 (eval $ac_try) 2>&5
73883 ac_status=$?
73884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73885 (exit $ac_status); }; }; then
73886 glibcxx_cv_func__finitef_use=yes
73887 else
73888 echo "$as_me: failed program was:" >&5
73889 sed 's/^/| /' conftest.$ac_ext >&5
73891 glibcxx_cv_func__finitef_use=no
73893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73894 ac_ext=c
73895 ac_cpp='$CPP $CPPFLAGS'
73896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
73905 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
73907 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
73909 for ac_func in _finitef
73911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73912 echo "$as_me:$LINENO: checking for $ac_func" >&5
73913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73914 if eval "test \"\${$as_ac_var+set}\" = set"; then
73915 echo $ECHO_N "(cached) $ECHO_C" >&6
73916 else
73917 if test x$gcc_no_link = xyes; then
73918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73920 { (exit 1); exit 1; }; }
73922 cat >conftest.$ac_ext <<_ACEOF
73923 /* confdefs.h. */
73924 _ACEOF
73925 cat confdefs.h >>conftest.$ac_ext
73926 cat >>conftest.$ac_ext <<_ACEOF
73927 /* end confdefs.h. */
73928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73930 #define $ac_func innocuous_$ac_func
73932 /* System header to define __stub macros and hopefully few prototypes,
73933 which can conflict with char $ac_func (); below.
73934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73935 <limits.h> exists even on freestanding compilers. */
73937 #ifdef __STDC__
73938 # include <limits.h>
73939 #else
73940 # include <assert.h>
73941 #endif
73943 #undef $ac_func
73945 /* Override any gcc2 internal prototype to avoid an error. */
73946 #ifdef __cplusplus
73947 extern "C"
73949 #endif
73950 /* We use char because int might match the return type of a gcc2
73951 builtin and then its argument prototype would still apply. */
73952 char $ac_func ();
73953 /* The GNU C library defines this for functions which it implements
73954 to always fail with ENOSYS. Some functions are actually named
73955 something starting with __ and the normal name is an alias. */
73956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73957 choke me
73958 #else
73959 char (*f) () = $ac_func;
73960 #endif
73961 #ifdef __cplusplus
73963 #endif
73966 main ()
73968 return f != $ac_func;
73970 return 0;
73972 _ACEOF
73973 rm -f conftest.$ac_objext conftest$ac_exeext
73974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73975 (eval $ac_link) 2>conftest.er1
73976 ac_status=$?
73977 grep -v '^ *+' conftest.er1 >conftest.err
73978 rm -f conftest.er1
73979 cat conftest.err >&5
73980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73981 (exit $ac_status); } &&
73982 { ac_try='test -z "$ac_c_werror_flag"
73983 || test ! -s conftest.err'
73984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73985 (eval $ac_try) 2>&5
73986 ac_status=$?
73987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73988 (exit $ac_status); }; } &&
73989 { ac_try='test -s conftest$ac_exeext'
73990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73991 (eval $ac_try) 2>&5
73992 ac_status=$?
73993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73994 (exit $ac_status); }; }; then
73995 eval "$as_ac_var=yes"
73996 else
73997 echo "$as_me: failed program was:" >&5
73998 sed 's/^/| /' conftest.$ac_ext >&5
74000 eval "$as_ac_var=no"
74002 rm -f conftest.err conftest.$ac_objext \
74003 conftest$ac_exeext conftest.$ac_ext
74005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74007 if test `eval echo '${'$as_ac_var'}'` = yes; then
74008 cat >>confdefs.h <<_ACEOF
74009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74010 _ACEOF
74013 done
74023 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74024 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74025 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74026 echo $ECHO_N "(cached) $ECHO_C" >&6
74027 else
74031 ac_ext=cc
74032 ac_cpp='$CXXCPP $CPPFLAGS'
74033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74037 cat >conftest.$ac_ext <<_ACEOF
74038 /* confdefs.h. */
74039 _ACEOF
74040 cat confdefs.h >>conftest.$ac_ext
74041 cat >>conftest.$ac_ext <<_ACEOF
74042 /* end confdefs.h. */
74043 #include <math.h>
74045 main ()
74047 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74049 return 0;
74051 _ACEOF
74052 rm -f conftest.$ac_objext
74053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74054 (eval $ac_compile) 2>conftest.er1
74055 ac_status=$?
74056 grep -v '^ *+' conftest.er1 >conftest.err
74057 rm -f conftest.er1
74058 cat conftest.err >&5
74059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74060 (exit $ac_status); } &&
74061 { ac_try='test -z "$ac_cxx_werror_flag"
74062 || test ! -s conftest.err'
74063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74064 (eval $ac_try) 2>&5
74065 ac_status=$?
74066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74067 (exit $ac_status); }; } &&
74068 { ac_try='test -s conftest.$ac_objext'
74069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74070 (eval $ac_try) 2>&5
74071 ac_status=$?
74072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74073 (exit $ac_status); }; }; then
74074 glibcxx_cv_func_long_double_trig_use=yes
74075 else
74076 echo "$as_me: failed program was:" >&5
74077 sed 's/^/| /' conftest.$ac_ext >&5
74079 glibcxx_cv_func_long_double_trig_use=no
74081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74082 ac_ext=c
74083 ac_cpp='$CPP $CPPFLAGS'
74084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74091 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74092 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74102 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74105 echo "$as_me:$LINENO: checking for $ac_func" >&5
74106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74107 if eval "test \"\${$as_ac_var+set}\" = set"; then
74108 echo $ECHO_N "(cached) $ECHO_C" >&6
74109 else
74110 if test x$gcc_no_link = xyes; then
74111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74113 { (exit 1); exit 1; }; }
74115 cat >conftest.$ac_ext <<_ACEOF
74116 /* confdefs.h. */
74117 _ACEOF
74118 cat confdefs.h >>conftest.$ac_ext
74119 cat >>conftest.$ac_ext <<_ACEOF
74120 /* end confdefs.h. */
74121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74123 #define $ac_func innocuous_$ac_func
74125 /* System header to define __stub macros and hopefully few prototypes,
74126 which can conflict with char $ac_func (); below.
74127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74128 <limits.h> exists even on freestanding compilers. */
74130 #ifdef __STDC__
74131 # include <limits.h>
74132 #else
74133 # include <assert.h>
74134 #endif
74136 #undef $ac_func
74138 /* Override any gcc2 internal prototype to avoid an error. */
74139 #ifdef __cplusplus
74140 extern "C"
74142 #endif
74143 /* We use char because int might match the return type of a gcc2
74144 builtin and then its argument prototype would still apply. */
74145 char $ac_func ();
74146 /* The GNU C library defines this for functions which it implements
74147 to always fail with ENOSYS. Some functions are actually named
74148 something starting with __ and the normal name is an alias. */
74149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74150 choke me
74151 #else
74152 char (*f) () = $ac_func;
74153 #endif
74154 #ifdef __cplusplus
74156 #endif
74159 main ()
74161 return f != $ac_func;
74163 return 0;
74165 _ACEOF
74166 rm -f conftest.$ac_objext conftest$ac_exeext
74167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74168 (eval $ac_link) 2>conftest.er1
74169 ac_status=$?
74170 grep -v '^ *+' conftest.er1 >conftest.err
74171 rm -f conftest.er1
74172 cat conftest.err >&5
74173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74174 (exit $ac_status); } &&
74175 { ac_try='test -z "$ac_c_werror_flag"
74176 || test ! -s conftest.err'
74177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74178 (eval $ac_try) 2>&5
74179 ac_status=$?
74180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74181 (exit $ac_status); }; } &&
74182 { ac_try='test -s conftest$ac_exeext'
74183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74184 (eval $ac_try) 2>&5
74185 ac_status=$?
74186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74187 (exit $ac_status); }; }; then
74188 eval "$as_ac_var=yes"
74189 else
74190 echo "$as_me: failed program was:" >&5
74191 sed 's/^/| /' conftest.$ac_ext >&5
74193 eval "$as_ac_var=no"
74195 rm -f conftest.err conftest.$ac_objext \
74196 conftest$ac_exeext conftest.$ac_ext
74198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74200 if test `eval echo '${'$as_ac_var'}'` = yes; then
74201 cat >>confdefs.h <<_ACEOF
74202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74203 _ACEOF
74206 done
74208 else
74209 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74210 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74211 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74212 echo $ECHO_N "(cached) $ECHO_C" >&6
74213 else
74217 ac_ext=cc
74218 ac_cpp='$CXXCPP $CPPFLAGS'
74219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74223 cat >conftest.$ac_ext <<_ACEOF
74224 /* confdefs.h. */
74225 _ACEOF
74226 cat confdefs.h >>conftest.$ac_ext
74227 cat >>conftest.$ac_ext <<_ACEOF
74228 /* end confdefs.h. */
74229 #include <math.h>
74231 main ()
74233 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74235 return 0;
74237 _ACEOF
74238 rm -f conftest.$ac_objext
74239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74240 (eval $ac_compile) 2>conftest.er1
74241 ac_status=$?
74242 grep -v '^ *+' conftest.er1 >conftest.err
74243 rm -f conftest.er1
74244 cat conftest.err >&5
74245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74246 (exit $ac_status); } &&
74247 { ac_try='test -z "$ac_cxx_werror_flag"
74248 || test ! -s conftest.err'
74249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74250 (eval $ac_try) 2>&5
74251 ac_status=$?
74252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74253 (exit $ac_status); }; } &&
74254 { ac_try='test -s conftest.$ac_objext'
74255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74256 (eval $ac_try) 2>&5
74257 ac_status=$?
74258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74259 (exit $ac_status); }; }; then
74260 glibcxx_cv_func__long_double_trig_use=yes
74261 else
74262 echo "$as_me: failed program was:" >&5
74263 sed 's/^/| /' conftest.$ac_ext >&5
74265 glibcxx_cv_func__long_double_trig_use=no
74267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74268 ac_ext=c
74269 ac_cpp='$CPP $CPPFLAGS'
74270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74277 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74278 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74288 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74291 echo "$as_me:$LINENO: checking for $ac_func" >&5
74292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74293 if eval "test \"\${$as_ac_var+set}\" = set"; then
74294 echo $ECHO_N "(cached) $ECHO_C" >&6
74295 else
74296 if test x$gcc_no_link = xyes; then
74297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74299 { (exit 1); exit 1; }; }
74301 cat >conftest.$ac_ext <<_ACEOF
74302 /* confdefs.h. */
74303 _ACEOF
74304 cat confdefs.h >>conftest.$ac_ext
74305 cat >>conftest.$ac_ext <<_ACEOF
74306 /* end confdefs.h. */
74307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74309 #define $ac_func innocuous_$ac_func
74311 /* System header to define __stub macros and hopefully few prototypes,
74312 which can conflict with char $ac_func (); below.
74313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74314 <limits.h> exists even on freestanding compilers. */
74316 #ifdef __STDC__
74317 # include <limits.h>
74318 #else
74319 # include <assert.h>
74320 #endif
74322 #undef $ac_func
74324 /* Override any gcc2 internal prototype to avoid an error. */
74325 #ifdef __cplusplus
74326 extern "C"
74328 #endif
74329 /* We use char because int might match the return type of a gcc2
74330 builtin and then its argument prototype would still apply. */
74331 char $ac_func ();
74332 /* The GNU C library defines this for functions which it implements
74333 to always fail with ENOSYS. Some functions are actually named
74334 something starting with __ and the normal name is an alias. */
74335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74336 choke me
74337 #else
74338 char (*f) () = $ac_func;
74339 #endif
74340 #ifdef __cplusplus
74342 #endif
74345 main ()
74347 return f != $ac_func;
74349 return 0;
74351 _ACEOF
74352 rm -f conftest.$ac_objext conftest$ac_exeext
74353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74354 (eval $ac_link) 2>conftest.er1
74355 ac_status=$?
74356 grep -v '^ *+' conftest.er1 >conftest.err
74357 rm -f conftest.er1
74358 cat conftest.err >&5
74359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74360 (exit $ac_status); } &&
74361 { ac_try='test -z "$ac_c_werror_flag"
74362 || test ! -s conftest.err'
74363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74364 (eval $ac_try) 2>&5
74365 ac_status=$?
74366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367 (exit $ac_status); }; } &&
74368 { ac_try='test -s conftest$ac_exeext'
74369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74370 (eval $ac_try) 2>&5
74371 ac_status=$?
74372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74373 (exit $ac_status); }; }; then
74374 eval "$as_ac_var=yes"
74375 else
74376 echo "$as_me: failed program was:" >&5
74377 sed 's/^/| /' conftest.$ac_ext >&5
74379 eval "$as_ac_var=no"
74381 rm -f conftest.err conftest.$ac_objext \
74382 conftest$ac_exeext conftest.$ac_ext
74384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74386 if test `eval echo '${'$as_ac_var'}'` = yes; then
74387 cat >>confdefs.h <<_ACEOF
74388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74389 _ACEOF
74392 done
74410 echo "$as_me:$LINENO: checking for long double round functions" >&5
74411 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74412 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74413 echo $ECHO_N "(cached) $ECHO_C" >&6
74414 else
74418 ac_ext=cc
74419 ac_cpp='$CXXCPP $CPPFLAGS'
74420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74424 cat >conftest.$ac_ext <<_ACEOF
74425 /* confdefs.h. */
74426 _ACEOF
74427 cat confdefs.h >>conftest.$ac_ext
74428 cat >>conftest.$ac_ext <<_ACEOF
74429 /* end confdefs.h. */
74430 #include <math.h>
74432 main ()
74434 ceill (0); floorl (0);
74436 return 0;
74438 _ACEOF
74439 rm -f conftest.$ac_objext
74440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74441 (eval $ac_compile) 2>conftest.er1
74442 ac_status=$?
74443 grep -v '^ *+' conftest.er1 >conftest.err
74444 rm -f conftest.er1
74445 cat conftest.err >&5
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); } &&
74448 { ac_try='test -z "$ac_cxx_werror_flag"
74449 || test ! -s conftest.err'
74450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74451 (eval $ac_try) 2>&5
74452 ac_status=$?
74453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74454 (exit $ac_status); }; } &&
74455 { ac_try='test -s conftest.$ac_objext'
74456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74457 (eval $ac_try) 2>&5
74458 ac_status=$?
74459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74460 (exit $ac_status); }; }; then
74461 glibcxx_cv_func_long_double_round_use=yes
74462 else
74463 echo "$as_me: failed program was:" >&5
74464 sed 's/^/| /' conftest.$ac_ext >&5
74466 glibcxx_cv_func_long_double_round_use=no
74468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74469 ac_ext=c
74470 ac_cpp='$CPP $CPPFLAGS'
74471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74478 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74479 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74482 for ac_func in ceill floorl
74484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74485 echo "$as_me:$LINENO: checking for $ac_func" >&5
74486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74487 if eval "test \"\${$as_ac_var+set}\" = set"; then
74488 echo $ECHO_N "(cached) $ECHO_C" >&6
74489 else
74490 if test x$gcc_no_link = xyes; then
74491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74493 { (exit 1); exit 1; }; }
74495 cat >conftest.$ac_ext <<_ACEOF
74496 /* confdefs.h. */
74497 _ACEOF
74498 cat confdefs.h >>conftest.$ac_ext
74499 cat >>conftest.$ac_ext <<_ACEOF
74500 /* end confdefs.h. */
74501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74503 #define $ac_func innocuous_$ac_func
74505 /* System header to define __stub macros and hopefully few prototypes,
74506 which can conflict with char $ac_func (); below.
74507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74508 <limits.h> exists even on freestanding compilers. */
74510 #ifdef __STDC__
74511 # include <limits.h>
74512 #else
74513 # include <assert.h>
74514 #endif
74516 #undef $ac_func
74518 /* Override any gcc2 internal prototype to avoid an error. */
74519 #ifdef __cplusplus
74520 extern "C"
74522 #endif
74523 /* We use char because int might match the return type of a gcc2
74524 builtin and then its argument prototype would still apply. */
74525 char $ac_func ();
74526 /* The GNU C library defines this for functions which it implements
74527 to always fail with ENOSYS. Some functions are actually named
74528 something starting with __ and the normal name is an alias. */
74529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74530 choke me
74531 #else
74532 char (*f) () = $ac_func;
74533 #endif
74534 #ifdef __cplusplus
74536 #endif
74539 main ()
74541 return f != $ac_func;
74543 return 0;
74545 _ACEOF
74546 rm -f conftest.$ac_objext conftest$ac_exeext
74547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74548 (eval $ac_link) 2>conftest.er1
74549 ac_status=$?
74550 grep -v '^ *+' conftest.er1 >conftest.err
74551 rm -f conftest.er1
74552 cat conftest.err >&5
74553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74554 (exit $ac_status); } &&
74555 { ac_try='test -z "$ac_c_werror_flag"
74556 || test ! -s conftest.err'
74557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74558 (eval $ac_try) 2>&5
74559 ac_status=$?
74560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74561 (exit $ac_status); }; } &&
74562 { ac_try='test -s conftest$ac_exeext'
74563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74564 (eval $ac_try) 2>&5
74565 ac_status=$?
74566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74567 (exit $ac_status); }; }; then
74568 eval "$as_ac_var=yes"
74569 else
74570 echo "$as_me: failed program was:" >&5
74571 sed 's/^/| /' conftest.$ac_ext >&5
74573 eval "$as_ac_var=no"
74575 rm -f conftest.err conftest.$ac_objext \
74576 conftest$ac_exeext conftest.$ac_ext
74578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74580 if test `eval echo '${'$as_ac_var'}'` = yes; then
74581 cat >>confdefs.h <<_ACEOF
74582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74583 _ACEOF
74586 done
74588 else
74589 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74590 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74591 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74592 echo $ECHO_N "(cached) $ECHO_C" >&6
74593 else
74597 ac_ext=cc
74598 ac_cpp='$CXXCPP $CPPFLAGS'
74599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74603 cat >conftest.$ac_ext <<_ACEOF
74604 /* confdefs.h. */
74605 _ACEOF
74606 cat confdefs.h >>conftest.$ac_ext
74607 cat >>conftest.$ac_ext <<_ACEOF
74608 /* end confdefs.h. */
74609 #include <math.h>
74611 main ()
74613 _ceill (0); _floorl (0);
74615 return 0;
74617 _ACEOF
74618 rm -f conftest.$ac_objext
74619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74620 (eval $ac_compile) 2>conftest.er1
74621 ac_status=$?
74622 grep -v '^ *+' conftest.er1 >conftest.err
74623 rm -f conftest.er1
74624 cat conftest.err >&5
74625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74626 (exit $ac_status); } &&
74627 { ac_try='test -z "$ac_cxx_werror_flag"
74628 || test ! -s conftest.err'
74629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74630 (eval $ac_try) 2>&5
74631 ac_status=$?
74632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74633 (exit $ac_status); }; } &&
74634 { ac_try='test -s conftest.$ac_objext'
74635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74636 (eval $ac_try) 2>&5
74637 ac_status=$?
74638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74639 (exit $ac_status); }; }; then
74640 glibcxx_cv_func__long_double_round_use=yes
74641 else
74642 echo "$as_me: failed program was:" >&5
74643 sed 's/^/| /' conftest.$ac_ext >&5
74645 glibcxx_cv_func__long_double_round_use=no
74647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74648 ac_ext=c
74649 ac_cpp='$CPP $CPPFLAGS'
74650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74657 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74658 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74661 for ac_func in _ceill _floorl
74663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74664 echo "$as_me:$LINENO: checking for $ac_func" >&5
74665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74666 if eval "test \"\${$as_ac_var+set}\" = set"; then
74667 echo $ECHO_N "(cached) $ECHO_C" >&6
74668 else
74669 if test x$gcc_no_link = xyes; then
74670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74672 { (exit 1); exit 1; }; }
74674 cat >conftest.$ac_ext <<_ACEOF
74675 /* confdefs.h. */
74676 _ACEOF
74677 cat confdefs.h >>conftest.$ac_ext
74678 cat >>conftest.$ac_ext <<_ACEOF
74679 /* end confdefs.h. */
74680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74682 #define $ac_func innocuous_$ac_func
74684 /* System header to define __stub macros and hopefully few prototypes,
74685 which can conflict with char $ac_func (); below.
74686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74687 <limits.h> exists even on freestanding compilers. */
74689 #ifdef __STDC__
74690 # include <limits.h>
74691 #else
74692 # include <assert.h>
74693 #endif
74695 #undef $ac_func
74697 /* Override any gcc2 internal prototype to avoid an error. */
74698 #ifdef __cplusplus
74699 extern "C"
74701 #endif
74702 /* We use char because int might match the return type of a gcc2
74703 builtin and then its argument prototype would still apply. */
74704 char $ac_func ();
74705 /* The GNU C library defines this for functions which it implements
74706 to always fail with ENOSYS. Some functions are actually named
74707 something starting with __ and the normal name is an alias. */
74708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74709 choke me
74710 #else
74711 char (*f) () = $ac_func;
74712 #endif
74713 #ifdef __cplusplus
74715 #endif
74718 main ()
74720 return f != $ac_func;
74722 return 0;
74724 _ACEOF
74725 rm -f conftest.$ac_objext conftest$ac_exeext
74726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74727 (eval $ac_link) 2>conftest.er1
74728 ac_status=$?
74729 grep -v '^ *+' conftest.er1 >conftest.err
74730 rm -f conftest.er1
74731 cat conftest.err >&5
74732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74733 (exit $ac_status); } &&
74734 { ac_try='test -z "$ac_c_werror_flag"
74735 || test ! -s conftest.err'
74736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74737 (eval $ac_try) 2>&5
74738 ac_status=$?
74739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74740 (exit $ac_status); }; } &&
74741 { ac_try='test -s conftest$ac_exeext'
74742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74743 (eval $ac_try) 2>&5
74744 ac_status=$?
74745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74746 (exit $ac_status); }; }; then
74747 eval "$as_ac_var=yes"
74748 else
74749 echo "$as_me: failed program was:" >&5
74750 sed 's/^/| /' conftest.$ac_ext >&5
74752 eval "$as_ac_var=no"
74754 rm -f conftest.err conftest.$ac_objext \
74755 conftest$ac_exeext conftest.$ac_ext
74757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74759 if test `eval echo '${'$as_ac_var'}'` = yes; then
74760 cat >>confdefs.h <<_ACEOF
74761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74762 _ACEOF
74765 done
74777 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
74778 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
74779 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74780 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
74781 echo $ECHO_N "(cached) $ECHO_C" >&6
74782 else
74786 ac_ext=cc
74787 ac_cpp='$CXXCPP $CPPFLAGS'
74788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74792 cat >conftest.$ac_ext <<_ACEOF
74793 /* confdefs.h. */
74794 _ACEOF
74795 cat confdefs.h >>conftest.$ac_ext
74796 cat >>conftest.$ac_ext <<_ACEOF
74797 /* end confdefs.h. */
74798 #include <math.h>
74799 #ifdef HAVE_IEEEFP_H
74800 #include <ieeefp.h>
74801 #endif
74804 main ()
74806 isnanl(0);
74808 return 0;
74810 _ACEOF
74811 rm -f conftest.$ac_objext
74812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74813 (eval $ac_compile) 2>conftest.er1
74814 ac_status=$?
74815 grep -v '^ *+' conftest.er1 >conftest.err
74816 rm -f conftest.er1
74817 cat conftest.err >&5
74818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74819 (exit $ac_status); } &&
74820 { ac_try='test -z "$ac_cxx_werror_flag"
74821 || test ! -s conftest.err'
74822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74823 (eval $ac_try) 2>&5
74824 ac_status=$?
74825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74826 (exit $ac_status); }; } &&
74827 { ac_try='test -s conftest.$ac_objext'
74828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74829 (eval $ac_try) 2>&5
74830 ac_status=$?
74831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74832 (exit $ac_status); }; }; then
74833 glibcxx_cv_func_isnanl_use=yes
74834 else
74835 echo "$as_me: failed program was:" >&5
74836 sed 's/^/| /' conftest.$ac_ext >&5
74838 glibcxx_cv_func_isnanl_use=no
74840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74841 ac_ext=c
74842 ac_cpp='$CPP $CPPFLAGS'
74843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
74852 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
74854 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74856 for ac_func in isnanl
74858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74859 echo "$as_me:$LINENO: checking for $ac_func" >&5
74860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74861 if eval "test \"\${$as_ac_var+set}\" = set"; then
74862 echo $ECHO_N "(cached) $ECHO_C" >&6
74863 else
74864 if test x$gcc_no_link = xyes; then
74865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74867 { (exit 1); exit 1; }; }
74869 cat >conftest.$ac_ext <<_ACEOF
74870 /* confdefs.h. */
74871 _ACEOF
74872 cat confdefs.h >>conftest.$ac_ext
74873 cat >>conftest.$ac_ext <<_ACEOF
74874 /* end confdefs.h. */
74875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74877 #define $ac_func innocuous_$ac_func
74879 /* System header to define __stub macros and hopefully few prototypes,
74880 which can conflict with char $ac_func (); below.
74881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74882 <limits.h> exists even on freestanding compilers. */
74884 #ifdef __STDC__
74885 # include <limits.h>
74886 #else
74887 # include <assert.h>
74888 #endif
74890 #undef $ac_func
74892 /* Override any gcc2 internal prototype to avoid an error. */
74893 #ifdef __cplusplus
74894 extern "C"
74896 #endif
74897 /* We use char because int might match the return type of a gcc2
74898 builtin and then its argument prototype would still apply. */
74899 char $ac_func ();
74900 /* The GNU C library defines this for functions which it implements
74901 to always fail with ENOSYS. Some functions are actually named
74902 something starting with __ and the normal name is an alias. */
74903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74904 choke me
74905 #else
74906 char (*f) () = $ac_func;
74907 #endif
74908 #ifdef __cplusplus
74910 #endif
74913 main ()
74915 return f != $ac_func;
74917 return 0;
74919 _ACEOF
74920 rm -f conftest.$ac_objext conftest$ac_exeext
74921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74922 (eval $ac_link) 2>conftest.er1
74923 ac_status=$?
74924 grep -v '^ *+' conftest.er1 >conftest.err
74925 rm -f conftest.er1
74926 cat conftest.err >&5
74927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74928 (exit $ac_status); } &&
74929 { ac_try='test -z "$ac_c_werror_flag"
74930 || test ! -s conftest.err'
74931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74932 (eval $ac_try) 2>&5
74933 ac_status=$?
74934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74935 (exit $ac_status); }; } &&
74936 { ac_try='test -s conftest$ac_exeext'
74937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74938 (eval $ac_try) 2>&5
74939 ac_status=$?
74940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74941 (exit $ac_status); }; }; then
74942 eval "$as_ac_var=yes"
74943 else
74944 echo "$as_me: failed program was:" >&5
74945 sed 's/^/| /' conftest.$ac_ext >&5
74947 eval "$as_ac_var=no"
74949 rm -f conftest.err conftest.$ac_objext \
74950 conftest$ac_exeext conftest.$ac_ext
74952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74954 if test `eval echo '${'$as_ac_var'}'` = yes; then
74955 cat >>confdefs.h <<_ACEOF
74956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74957 _ACEOF
74960 done
74962 else
74964 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
74965 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
74966 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74967 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
74968 echo $ECHO_N "(cached) $ECHO_C" >&6
74969 else
74973 ac_ext=cc
74974 ac_cpp='$CXXCPP $CPPFLAGS'
74975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74979 cat >conftest.$ac_ext <<_ACEOF
74980 /* confdefs.h. */
74981 _ACEOF
74982 cat confdefs.h >>conftest.$ac_ext
74983 cat >>conftest.$ac_ext <<_ACEOF
74984 /* end confdefs.h. */
74985 #include <math.h>
74986 #ifdef HAVE_IEEEFP_H
74987 #include <ieeefp.h>
74988 #endif
74991 main ()
74993 _isnanl(0);
74995 return 0;
74997 _ACEOF
74998 rm -f conftest.$ac_objext
74999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75000 (eval $ac_compile) 2>conftest.er1
75001 ac_status=$?
75002 grep -v '^ *+' conftest.er1 >conftest.err
75003 rm -f conftest.er1
75004 cat conftest.err >&5
75005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75006 (exit $ac_status); } &&
75007 { ac_try='test -z "$ac_cxx_werror_flag"
75008 || test ! -s conftest.err'
75009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75010 (eval $ac_try) 2>&5
75011 ac_status=$?
75012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75013 (exit $ac_status); }; } &&
75014 { ac_try='test -s conftest.$ac_objext'
75015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75016 (eval $ac_try) 2>&5
75017 ac_status=$?
75018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75019 (exit $ac_status); }; }; then
75020 glibcxx_cv_func__isnanl_use=yes
75021 else
75022 echo "$as_me: failed program was:" >&5
75023 sed 's/^/| /' conftest.$ac_ext >&5
75025 glibcxx_cv_func__isnanl_use=no
75027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75028 ac_ext=c
75029 ac_cpp='$CPP $CPPFLAGS'
75030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75039 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75041 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75043 for ac_func in _isnanl
75045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75046 echo "$as_me:$LINENO: checking for $ac_func" >&5
75047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75048 if eval "test \"\${$as_ac_var+set}\" = set"; then
75049 echo $ECHO_N "(cached) $ECHO_C" >&6
75050 else
75051 if test x$gcc_no_link = xyes; then
75052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75054 { (exit 1); exit 1; }; }
75056 cat >conftest.$ac_ext <<_ACEOF
75057 /* confdefs.h. */
75058 _ACEOF
75059 cat confdefs.h >>conftest.$ac_ext
75060 cat >>conftest.$ac_ext <<_ACEOF
75061 /* end confdefs.h. */
75062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75064 #define $ac_func innocuous_$ac_func
75066 /* System header to define __stub macros and hopefully few prototypes,
75067 which can conflict with char $ac_func (); below.
75068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75069 <limits.h> exists even on freestanding compilers. */
75071 #ifdef __STDC__
75072 # include <limits.h>
75073 #else
75074 # include <assert.h>
75075 #endif
75077 #undef $ac_func
75079 /* Override any gcc2 internal prototype to avoid an error. */
75080 #ifdef __cplusplus
75081 extern "C"
75083 #endif
75084 /* We use char because int might match the return type of a gcc2
75085 builtin and then its argument prototype would still apply. */
75086 char $ac_func ();
75087 /* The GNU C library defines this for functions which it implements
75088 to always fail with ENOSYS. Some functions are actually named
75089 something starting with __ and the normal name is an alias. */
75090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75091 choke me
75092 #else
75093 char (*f) () = $ac_func;
75094 #endif
75095 #ifdef __cplusplus
75097 #endif
75100 main ()
75102 return f != $ac_func;
75104 return 0;
75106 _ACEOF
75107 rm -f conftest.$ac_objext conftest$ac_exeext
75108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75109 (eval $ac_link) 2>conftest.er1
75110 ac_status=$?
75111 grep -v '^ *+' conftest.er1 >conftest.err
75112 rm -f conftest.er1
75113 cat conftest.err >&5
75114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75115 (exit $ac_status); } &&
75116 { ac_try='test -z "$ac_c_werror_flag"
75117 || test ! -s conftest.err'
75118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75119 (eval $ac_try) 2>&5
75120 ac_status=$?
75121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75122 (exit $ac_status); }; } &&
75123 { ac_try='test -s conftest$ac_exeext'
75124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75125 (eval $ac_try) 2>&5
75126 ac_status=$?
75127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75128 (exit $ac_status); }; }; then
75129 eval "$as_ac_var=yes"
75130 else
75131 echo "$as_me: failed program was:" >&5
75132 sed 's/^/| /' conftest.$ac_ext >&5
75134 eval "$as_ac_var=no"
75136 rm -f conftest.err conftest.$ac_objext \
75137 conftest$ac_exeext conftest.$ac_ext
75139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75141 if test `eval echo '${'$as_ac_var'}'` = yes; then
75142 cat >>confdefs.h <<_ACEOF
75143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75144 _ACEOF
75147 done
75157 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75158 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75159 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75160 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75161 echo $ECHO_N "(cached) $ECHO_C" >&6
75162 else
75166 ac_ext=cc
75167 ac_cpp='$CXXCPP $CPPFLAGS'
75168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75172 cat >conftest.$ac_ext <<_ACEOF
75173 /* confdefs.h. */
75174 _ACEOF
75175 cat confdefs.h >>conftest.$ac_ext
75176 cat >>conftest.$ac_ext <<_ACEOF
75177 /* end confdefs.h. */
75178 #include <math.h>
75179 #ifdef HAVE_IEEEFP_H
75180 #include <ieeefp.h>
75181 #endif
75184 main ()
75186 isinfl(0);
75188 return 0;
75190 _ACEOF
75191 rm -f conftest.$ac_objext
75192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75193 (eval $ac_compile) 2>conftest.er1
75194 ac_status=$?
75195 grep -v '^ *+' conftest.er1 >conftest.err
75196 rm -f conftest.er1
75197 cat conftest.err >&5
75198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75199 (exit $ac_status); } &&
75200 { ac_try='test -z "$ac_cxx_werror_flag"
75201 || test ! -s conftest.err'
75202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75203 (eval $ac_try) 2>&5
75204 ac_status=$?
75205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75206 (exit $ac_status); }; } &&
75207 { ac_try='test -s conftest.$ac_objext'
75208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75209 (eval $ac_try) 2>&5
75210 ac_status=$?
75211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75212 (exit $ac_status); }; }; then
75213 glibcxx_cv_func_isinfl_use=yes
75214 else
75215 echo "$as_me: failed program was:" >&5
75216 sed 's/^/| /' conftest.$ac_ext >&5
75218 glibcxx_cv_func_isinfl_use=no
75220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75221 ac_ext=c
75222 ac_cpp='$CPP $CPPFLAGS'
75223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75232 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75234 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75236 for ac_func in isinfl
75238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75239 echo "$as_me:$LINENO: checking for $ac_func" >&5
75240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75241 if eval "test \"\${$as_ac_var+set}\" = set"; then
75242 echo $ECHO_N "(cached) $ECHO_C" >&6
75243 else
75244 if test x$gcc_no_link = xyes; then
75245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75247 { (exit 1); exit 1; }; }
75249 cat >conftest.$ac_ext <<_ACEOF
75250 /* confdefs.h. */
75251 _ACEOF
75252 cat confdefs.h >>conftest.$ac_ext
75253 cat >>conftest.$ac_ext <<_ACEOF
75254 /* end confdefs.h. */
75255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75257 #define $ac_func innocuous_$ac_func
75259 /* System header to define __stub macros and hopefully few prototypes,
75260 which can conflict with char $ac_func (); below.
75261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75262 <limits.h> exists even on freestanding compilers. */
75264 #ifdef __STDC__
75265 # include <limits.h>
75266 #else
75267 # include <assert.h>
75268 #endif
75270 #undef $ac_func
75272 /* Override any gcc2 internal prototype to avoid an error. */
75273 #ifdef __cplusplus
75274 extern "C"
75276 #endif
75277 /* We use char because int might match the return type of a gcc2
75278 builtin and then its argument prototype would still apply. */
75279 char $ac_func ();
75280 /* The GNU C library defines this for functions which it implements
75281 to always fail with ENOSYS. Some functions are actually named
75282 something starting with __ and the normal name is an alias. */
75283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75284 choke me
75285 #else
75286 char (*f) () = $ac_func;
75287 #endif
75288 #ifdef __cplusplus
75290 #endif
75293 main ()
75295 return f != $ac_func;
75297 return 0;
75299 _ACEOF
75300 rm -f conftest.$ac_objext conftest$ac_exeext
75301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75302 (eval $ac_link) 2>conftest.er1
75303 ac_status=$?
75304 grep -v '^ *+' conftest.er1 >conftest.err
75305 rm -f conftest.er1
75306 cat conftest.err >&5
75307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75308 (exit $ac_status); } &&
75309 { ac_try='test -z "$ac_c_werror_flag"
75310 || test ! -s conftest.err'
75311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75312 (eval $ac_try) 2>&5
75313 ac_status=$?
75314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75315 (exit $ac_status); }; } &&
75316 { ac_try='test -s conftest$ac_exeext'
75317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75318 (eval $ac_try) 2>&5
75319 ac_status=$?
75320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75321 (exit $ac_status); }; }; then
75322 eval "$as_ac_var=yes"
75323 else
75324 echo "$as_me: failed program was:" >&5
75325 sed 's/^/| /' conftest.$ac_ext >&5
75327 eval "$as_ac_var=no"
75329 rm -f conftest.err conftest.$ac_objext \
75330 conftest$ac_exeext conftest.$ac_ext
75332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75334 if test `eval echo '${'$as_ac_var'}'` = yes; then
75335 cat >>confdefs.h <<_ACEOF
75336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75337 _ACEOF
75340 done
75342 else
75344 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75345 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75346 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75347 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75348 echo $ECHO_N "(cached) $ECHO_C" >&6
75349 else
75353 ac_ext=cc
75354 ac_cpp='$CXXCPP $CPPFLAGS'
75355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75359 cat >conftest.$ac_ext <<_ACEOF
75360 /* confdefs.h. */
75361 _ACEOF
75362 cat confdefs.h >>conftest.$ac_ext
75363 cat >>conftest.$ac_ext <<_ACEOF
75364 /* end confdefs.h. */
75365 #include <math.h>
75366 #ifdef HAVE_IEEEFP_H
75367 #include <ieeefp.h>
75368 #endif
75371 main ()
75373 _isinfl(0);
75375 return 0;
75377 _ACEOF
75378 rm -f conftest.$ac_objext
75379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75380 (eval $ac_compile) 2>conftest.er1
75381 ac_status=$?
75382 grep -v '^ *+' conftest.er1 >conftest.err
75383 rm -f conftest.er1
75384 cat conftest.err >&5
75385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75386 (exit $ac_status); } &&
75387 { ac_try='test -z "$ac_cxx_werror_flag"
75388 || test ! -s conftest.err'
75389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75390 (eval $ac_try) 2>&5
75391 ac_status=$?
75392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75393 (exit $ac_status); }; } &&
75394 { ac_try='test -s conftest.$ac_objext'
75395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75396 (eval $ac_try) 2>&5
75397 ac_status=$?
75398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75399 (exit $ac_status); }; }; then
75400 glibcxx_cv_func__isinfl_use=yes
75401 else
75402 echo "$as_me: failed program was:" >&5
75403 sed 's/^/| /' conftest.$ac_ext >&5
75405 glibcxx_cv_func__isinfl_use=no
75407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75408 ac_ext=c
75409 ac_cpp='$CPP $CPPFLAGS'
75410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75419 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75421 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75423 for ac_func in _isinfl
75425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75426 echo "$as_me:$LINENO: checking for $ac_func" >&5
75427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75428 if eval "test \"\${$as_ac_var+set}\" = set"; then
75429 echo $ECHO_N "(cached) $ECHO_C" >&6
75430 else
75431 if test x$gcc_no_link = xyes; then
75432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75434 { (exit 1); exit 1; }; }
75436 cat >conftest.$ac_ext <<_ACEOF
75437 /* confdefs.h. */
75438 _ACEOF
75439 cat confdefs.h >>conftest.$ac_ext
75440 cat >>conftest.$ac_ext <<_ACEOF
75441 /* end confdefs.h. */
75442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75444 #define $ac_func innocuous_$ac_func
75446 /* System header to define __stub macros and hopefully few prototypes,
75447 which can conflict with char $ac_func (); below.
75448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75449 <limits.h> exists even on freestanding compilers. */
75451 #ifdef __STDC__
75452 # include <limits.h>
75453 #else
75454 # include <assert.h>
75455 #endif
75457 #undef $ac_func
75459 /* Override any gcc2 internal prototype to avoid an error. */
75460 #ifdef __cplusplus
75461 extern "C"
75463 #endif
75464 /* We use char because int might match the return type of a gcc2
75465 builtin and then its argument prototype would still apply. */
75466 char $ac_func ();
75467 /* The GNU C library defines this for functions which it implements
75468 to always fail with ENOSYS. Some functions are actually named
75469 something starting with __ and the normal name is an alias. */
75470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75471 choke me
75472 #else
75473 char (*f) () = $ac_func;
75474 #endif
75475 #ifdef __cplusplus
75477 #endif
75480 main ()
75482 return f != $ac_func;
75484 return 0;
75486 _ACEOF
75487 rm -f conftest.$ac_objext conftest$ac_exeext
75488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75489 (eval $ac_link) 2>conftest.er1
75490 ac_status=$?
75491 grep -v '^ *+' conftest.er1 >conftest.err
75492 rm -f conftest.er1
75493 cat conftest.err >&5
75494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75495 (exit $ac_status); } &&
75496 { ac_try='test -z "$ac_c_werror_flag"
75497 || test ! -s conftest.err'
75498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75499 (eval $ac_try) 2>&5
75500 ac_status=$?
75501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75502 (exit $ac_status); }; } &&
75503 { ac_try='test -s conftest$ac_exeext'
75504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75505 (eval $ac_try) 2>&5
75506 ac_status=$?
75507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75508 (exit $ac_status); }; }; then
75509 eval "$as_ac_var=yes"
75510 else
75511 echo "$as_me: failed program was:" >&5
75512 sed 's/^/| /' conftest.$ac_ext >&5
75514 eval "$as_ac_var=no"
75516 rm -f conftest.err conftest.$ac_objext \
75517 conftest$ac_exeext conftest.$ac_ext
75519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75521 if test `eval echo '${'$as_ac_var'}'` = yes; then
75522 cat >>confdefs.h <<_ACEOF
75523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75524 _ACEOF
75527 done
75537 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75538 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75539 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75540 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75541 echo $ECHO_N "(cached) $ECHO_C" >&6
75542 else
75546 ac_ext=cc
75547 ac_cpp='$CXXCPP $CPPFLAGS'
75548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75552 cat >conftest.$ac_ext <<_ACEOF
75553 /* confdefs.h. */
75554 _ACEOF
75555 cat confdefs.h >>conftest.$ac_ext
75556 cat >>conftest.$ac_ext <<_ACEOF
75557 /* end confdefs.h. */
75558 #include <math.h>
75560 main ()
75562 copysignl(0, 0);
75564 return 0;
75566 _ACEOF
75567 rm -f conftest.$ac_objext
75568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75569 (eval $ac_compile) 2>conftest.er1
75570 ac_status=$?
75571 grep -v '^ *+' conftest.er1 >conftest.err
75572 rm -f conftest.er1
75573 cat conftest.err >&5
75574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75575 (exit $ac_status); } &&
75576 { ac_try='test -z "$ac_cxx_werror_flag"
75577 || test ! -s conftest.err'
75578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75579 (eval $ac_try) 2>&5
75580 ac_status=$?
75581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75582 (exit $ac_status); }; } &&
75583 { ac_try='test -s conftest.$ac_objext'
75584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75585 (eval $ac_try) 2>&5
75586 ac_status=$?
75587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75588 (exit $ac_status); }; }; then
75589 glibcxx_cv_func_copysignl_use=yes
75590 else
75591 echo "$as_me: failed program was:" >&5
75592 sed 's/^/| /' conftest.$ac_ext >&5
75594 glibcxx_cv_func_copysignl_use=no
75596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75597 ac_ext=c
75598 ac_cpp='$CPP $CPPFLAGS'
75599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75608 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75610 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75612 for ac_func in copysignl
75614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75615 echo "$as_me:$LINENO: checking for $ac_func" >&5
75616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75617 if eval "test \"\${$as_ac_var+set}\" = set"; then
75618 echo $ECHO_N "(cached) $ECHO_C" >&6
75619 else
75620 if test x$gcc_no_link = xyes; then
75621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75623 { (exit 1); exit 1; }; }
75625 cat >conftest.$ac_ext <<_ACEOF
75626 /* confdefs.h. */
75627 _ACEOF
75628 cat confdefs.h >>conftest.$ac_ext
75629 cat >>conftest.$ac_ext <<_ACEOF
75630 /* end confdefs.h. */
75631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75633 #define $ac_func innocuous_$ac_func
75635 /* System header to define __stub macros and hopefully few prototypes,
75636 which can conflict with char $ac_func (); below.
75637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75638 <limits.h> exists even on freestanding compilers. */
75640 #ifdef __STDC__
75641 # include <limits.h>
75642 #else
75643 # include <assert.h>
75644 #endif
75646 #undef $ac_func
75648 /* Override any gcc2 internal prototype to avoid an error. */
75649 #ifdef __cplusplus
75650 extern "C"
75652 #endif
75653 /* We use char because int might match the return type of a gcc2
75654 builtin and then its argument prototype would still apply. */
75655 char $ac_func ();
75656 /* The GNU C library defines this for functions which it implements
75657 to always fail with ENOSYS. Some functions are actually named
75658 something starting with __ and the normal name is an alias. */
75659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75660 choke me
75661 #else
75662 char (*f) () = $ac_func;
75663 #endif
75664 #ifdef __cplusplus
75666 #endif
75669 main ()
75671 return f != $ac_func;
75673 return 0;
75675 _ACEOF
75676 rm -f conftest.$ac_objext conftest$ac_exeext
75677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75678 (eval $ac_link) 2>conftest.er1
75679 ac_status=$?
75680 grep -v '^ *+' conftest.er1 >conftest.err
75681 rm -f conftest.er1
75682 cat conftest.err >&5
75683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75684 (exit $ac_status); } &&
75685 { ac_try='test -z "$ac_c_werror_flag"
75686 || test ! -s conftest.err'
75687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75688 (eval $ac_try) 2>&5
75689 ac_status=$?
75690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75691 (exit $ac_status); }; } &&
75692 { ac_try='test -s conftest$ac_exeext'
75693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75694 (eval $ac_try) 2>&5
75695 ac_status=$?
75696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75697 (exit $ac_status); }; }; then
75698 eval "$as_ac_var=yes"
75699 else
75700 echo "$as_me: failed program was:" >&5
75701 sed 's/^/| /' conftest.$ac_ext >&5
75703 eval "$as_ac_var=no"
75705 rm -f conftest.err conftest.$ac_objext \
75706 conftest$ac_exeext conftest.$ac_ext
75708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75710 if test `eval echo '${'$as_ac_var'}'` = yes; then
75711 cat >>confdefs.h <<_ACEOF
75712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75713 _ACEOF
75716 done
75718 else
75720 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75721 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75722 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75723 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75724 echo $ECHO_N "(cached) $ECHO_C" >&6
75725 else
75729 ac_ext=cc
75730 ac_cpp='$CXXCPP $CPPFLAGS'
75731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75735 cat >conftest.$ac_ext <<_ACEOF
75736 /* confdefs.h. */
75737 _ACEOF
75738 cat confdefs.h >>conftest.$ac_ext
75739 cat >>conftest.$ac_ext <<_ACEOF
75740 /* end confdefs.h. */
75741 #include <math.h>
75743 main ()
75745 _copysignl(0, 0);
75747 return 0;
75749 _ACEOF
75750 rm -f conftest.$ac_objext
75751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75752 (eval $ac_compile) 2>conftest.er1
75753 ac_status=$?
75754 grep -v '^ *+' conftest.er1 >conftest.err
75755 rm -f conftest.er1
75756 cat conftest.err >&5
75757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75758 (exit $ac_status); } &&
75759 { ac_try='test -z "$ac_cxx_werror_flag"
75760 || test ! -s conftest.err'
75761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75762 (eval $ac_try) 2>&5
75763 ac_status=$?
75764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75765 (exit $ac_status); }; } &&
75766 { ac_try='test -s conftest.$ac_objext'
75767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75768 (eval $ac_try) 2>&5
75769 ac_status=$?
75770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75771 (exit $ac_status); }; }; then
75772 glibcxx_cv_func__copysignl_use=yes
75773 else
75774 echo "$as_me: failed program was:" >&5
75775 sed 's/^/| /' conftest.$ac_ext >&5
75777 glibcxx_cv_func__copysignl_use=no
75779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75780 ac_ext=c
75781 ac_cpp='$CPP $CPPFLAGS'
75782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
75791 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
75793 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
75795 for ac_func in _copysignl
75797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75798 echo "$as_me:$LINENO: checking for $ac_func" >&5
75799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75800 if eval "test \"\${$as_ac_var+set}\" = set"; then
75801 echo $ECHO_N "(cached) $ECHO_C" >&6
75802 else
75803 if test x$gcc_no_link = xyes; then
75804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75806 { (exit 1); exit 1; }; }
75808 cat >conftest.$ac_ext <<_ACEOF
75809 /* confdefs.h. */
75810 _ACEOF
75811 cat confdefs.h >>conftest.$ac_ext
75812 cat >>conftest.$ac_ext <<_ACEOF
75813 /* end confdefs.h. */
75814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75816 #define $ac_func innocuous_$ac_func
75818 /* System header to define __stub macros and hopefully few prototypes,
75819 which can conflict with char $ac_func (); below.
75820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75821 <limits.h> exists even on freestanding compilers. */
75823 #ifdef __STDC__
75824 # include <limits.h>
75825 #else
75826 # include <assert.h>
75827 #endif
75829 #undef $ac_func
75831 /* Override any gcc2 internal prototype to avoid an error. */
75832 #ifdef __cplusplus
75833 extern "C"
75835 #endif
75836 /* We use char because int might match the return type of a gcc2
75837 builtin and then its argument prototype would still apply. */
75838 char $ac_func ();
75839 /* The GNU C library defines this for functions which it implements
75840 to always fail with ENOSYS. Some functions are actually named
75841 something starting with __ and the normal name is an alias. */
75842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75843 choke me
75844 #else
75845 char (*f) () = $ac_func;
75846 #endif
75847 #ifdef __cplusplus
75849 #endif
75852 main ()
75854 return f != $ac_func;
75856 return 0;
75858 _ACEOF
75859 rm -f conftest.$ac_objext conftest$ac_exeext
75860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75861 (eval $ac_link) 2>conftest.er1
75862 ac_status=$?
75863 grep -v '^ *+' conftest.er1 >conftest.err
75864 rm -f conftest.er1
75865 cat conftest.err >&5
75866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75867 (exit $ac_status); } &&
75868 { ac_try='test -z "$ac_c_werror_flag"
75869 || test ! -s conftest.err'
75870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75871 (eval $ac_try) 2>&5
75872 ac_status=$?
75873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75874 (exit $ac_status); }; } &&
75875 { ac_try='test -s conftest$ac_exeext'
75876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75877 (eval $ac_try) 2>&5
75878 ac_status=$?
75879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75880 (exit $ac_status); }; }; then
75881 eval "$as_ac_var=yes"
75882 else
75883 echo "$as_me: failed program was:" >&5
75884 sed 's/^/| /' conftest.$ac_ext >&5
75886 eval "$as_ac_var=no"
75888 rm -f conftest.err conftest.$ac_objext \
75889 conftest$ac_exeext conftest.$ac_ext
75891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75893 if test `eval echo '${'$as_ac_var'}'` = yes; then
75894 cat >>confdefs.h <<_ACEOF
75895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75896 _ACEOF
75899 done
75909 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
75910 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
75911 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75912 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
75913 echo $ECHO_N "(cached) $ECHO_C" >&6
75914 else
75918 ac_ext=cc
75919 ac_cpp='$CXXCPP $CPPFLAGS'
75920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75924 cat >conftest.$ac_ext <<_ACEOF
75925 /* confdefs.h. */
75926 _ACEOF
75927 cat confdefs.h >>conftest.$ac_ext
75928 cat >>conftest.$ac_ext <<_ACEOF
75929 /* end confdefs.h. */
75930 #include <math.h>
75932 main ()
75934 atan2l(0, 0);
75936 return 0;
75938 _ACEOF
75939 rm -f conftest.$ac_objext
75940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75941 (eval $ac_compile) 2>conftest.er1
75942 ac_status=$?
75943 grep -v '^ *+' conftest.er1 >conftest.err
75944 rm -f conftest.er1
75945 cat conftest.err >&5
75946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75947 (exit $ac_status); } &&
75948 { ac_try='test -z "$ac_cxx_werror_flag"
75949 || test ! -s conftest.err'
75950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75951 (eval $ac_try) 2>&5
75952 ac_status=$?
75953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75954 (exit $ac_status); }; } &&
75955 { ac_try='test -s conftest.$ac_objext'
75956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75957 (eval $ac_try) 2>&5
75958 ac_status=$?
75959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75960 (exit $ac_status); }; }; then
75961 glibcxx_cv_func_atan2l_use=yes
75962 else
75963 echo "$as_me: failed program was:" >&5
75964 sed 's/^/| /' conftest.$ac_ext >&5
75966 glibcxx_cv_func_atan2l_use=no
75968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75969 ac_ext=c
75970 ac_cpp='$CPP $CPPFLAGS'
75971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
75980 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
75982 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75984 for ac_func in atan2l
75986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75987 echo "$as_me:$LINENO: checking for $ac_func" >&5
75988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75989 if eval "test \"\${$as_ac_var+set}\" = set"; then
75990 echo $ECHO_N "(cached) $ECHO_C" >&6
75991 else
75992 if test x$gcc_no_link = xyes; then
75993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75995 { (exit 1); exit 1; }; }
75997 cat >conftest.$ac_ext <<_ACEOF
75998 /* confdefs.h. */
75999 _ACEOF
76000 cat confdefs.h >>conftest.$ac_ext
76001 cat >>conftest.$ac_ext <<_ACEOF
76002 /* end confdefs.h. */
76003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76005 #define $ac_func innocuous_$ac_func
76007 /* System header to define __stub macros and hopefully few prototypes,
76008 which can conflict with char $ac_func (); below.
76009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76010 <limits.h> exists even on freestanding compilers. */
76012 #ifdef __STDC__
76013 # include <limits.h>
76014 #else
76015 # include <assert.h>
76016 #endif
76018 #undef $ac_func
76020 /* Override any gcc2 internal prototype to avoid an error. */
76021 #ifdef __cplusplus
76022 extern "C"
76024 #endif
76025 /* We use char because int might match the return type of a gcc2
76026 builtin and then its argument prototype would still apply. */
76027 char $ac_func ();
76028 /* The GNU C library defines this for functions which it implements
76029 to always fail with ENOSYS. Some functions are actually named
76030 something starting with __ and the normal name is an alias. */
76031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76032 choke me
76033 #else
76034 char (*f) () = $ac_func;
76035 #endif
76036 #ifdef __cplusplus
76038 #endif
76041 main ()
76043 return f != $ac_func;
76045 return 0;
76047 _ACEOF
76048 rm -f conftest.$ac_objext conftest$ac_exeext
76049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76050 (eval $ac_link) 2>conftest.er1
76051 ac_status=$?
76052 grep -v '^ *+' conftest.er1 >conftest.err
76053 rm -f conftest.er1
76054 cat conftest.err >&5
76055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76056 (exit $ac_status); } &&
76057 { ac_try='test -z "$ac_c_werror_flag"
76058 || test ! -s conftest.err'
76059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76060 (eval $ac_try) 2>&5
76061 ac_status=$?
76062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76063 (exit $ac_status); }; } &&
76064 { ac_try='test -s conftest$ac_exeext'
76065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76066 (eval $ac_try) 2>&5
76067 ac_status=$?
76068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76069 (exit $ac_status); }; }; then
76070 eval "$as_ac_var=yes"
76071 else
76072 echo "$as_me: failed program was:" >&5
76073 sed 's/^/| /' conftest.$ac_ext >&5
76075 eval "$as_ac_var=no"
76077 rm -f conftest.err conftest.$ac_objext \
76078 conftest$ac_exeext conftest.$ac_ext
76080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76082 if test `eval echo '${'$as_ac_var'}'` = yes; then
76083 cat >>confdefs.h <<_ACEOF
76084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76085 _ACEOF
76088 done
76090 else
76092 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76093 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76094 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76095 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76096 echo $ECHO_N "(cached) $ECHO_C" >&6
76097 else
76101 ac_ext=cc
76102 ac_cpp='$CXXCPP $CPPFLAGS'
76103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76107 cat >conftest.$ac_ext <<_ACEOF
76108 /* confdefs.h. */
76109 _ACEOF
76110 cat confdefs.h >>conftest.$ac_ext
76111 cat >>conftest.$ac_ext <<_ACEOF
76112 /* end confdefs.h. */
76113 #include <math.h>
76115 main ()
76117 _atan2l(0, 0);
76119 return 0;
76121 _ACEOF
76122 rm -f conftest.$ac_objext
76123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76124 (eval $ac_compile) 2>conftest.er1
76125 ac_status=$?
76126 grep -v '^ *+' conftest.er1 >conftest.err
76127 rm -f conftest.er1
76128 cat conftest.err >&5
76129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76130 (exit $ac_status); } &&
76131 { ac_try='test -z "$ac_cxx_werror_flag"
76132 || test ! -s conftest.err'
76133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76134 (eval $ac_try) 2>&5
76135 ac_status=$?
76136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76137 (exit $ac_status); }; } &&
76138 { ac_try='test -s conftest.$ac_objext'
76139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76140 (eval $ac_try) 2>&5
76141 ac_status=$?
76142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76143 (exit $ac_status); }; }; then
76144 glibcxx_cv_func__atan2l_use=yes
76145 else
76146 echo "$as_me: failed program was:" >&5
76147 sed 's/^/| /' conftest.$ac_ext >&5
76149 glibcxx_cv_func__atan2l_use=no
76151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76152 ac_ext=c
76153 ac_cpp='$CPP $CPPFLAGS'
76154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76163 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76165 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76167 for ac_func in _atan2l
76169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76170 echo "$as_me:$LINENO: checking for $ac_func" >&5
76171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76172 if eval "test \"\${$as_ac_var+set}\" = set"; then
76173 echo $ECHO_N "(cached) $ECHO_C" >&6
76174 else
76175 if test x$gcc_no_link = xyes; then
76176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76178 { (exit 1); exit 1; }; }
76180 cat >conftest.$ac_ext <<_ACEOF
76181 /* confdefs.h. */
76182 _ACEOF
76183 cat confdefs.h >>conftest.$ac_ext
76184 cat >>conftest.$ac_ext <<_ACEOF
76185 /* end confdefs.h. */
76186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76188 #define $ac_func innocuous_$ac_func
76190 /* System header to define __stub macros and hopefully few prototypes,
76191 which can conflict with char $ac_func (); below.
76192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76193 <limits.h> exists even on freestanding compilers. */
76195 #ifdef __STDC__
76196 # include <limits.h>
76197 #else
76198 # include <assert.h>
76199 #endif
76201 #undef $ac_func
76203 /* Override any gcc2 internal prototype to avoid an error. */
76204 #ifdef __cplusplus
76205 extern "C"
76207 #endif
76208 /* We use char because int might match the return type of a gcc2
76209 builtin and then its argument prototype would still apply. */
76210 char $ac_func ();
76211 /* The GNU C library defines this for functions which it implements
76212 to always fail with ENOSYS. Some functions are actually named
76213 something starting with __ and the normal name is an alias. */
76214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76215 choke me
76216 #else
76217 char (*f) () = $ac_func;
76218 #endif
76219 #ifdef __cplusplus
76221 #endif
76224 main ()
76226 return f != $ac_func;
76228 return 0;
76230 _ACEOF
76231 rm -f conftest.$ac_objext conftest$ac_exeext
76232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76233 (eval $ac_link) 2>conftest.er1
76234 ac_status=$?
76235 grep -v '^ *+' conftest.er1 >conftest.err
76236 rm -f conftest.er1
76237 cat conftest.err >&5
76238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76239 (exit $ac_status); } &&
76240 { ac_try='test -z "$ac_c_werror_flag"
76241 || test ! -s conftest.err'
76242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76243 (eval $ac_try) 2>&5
76244 ac_status=$?
76245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76246 (exit $ac_status); }; } &&
76247 { ac_try='test -s conftest$ac_exeext'
76248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76249 (eval $ac_try) 2>&5
76250 ac_status=$?
76251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76252 (exit $ac_status); }; }; then
76253 eval "$as_ac_var=yes"
76254 else
76255 echo "$as_me: failed program was:" >&5
76256 sed 's/^/| /' conftest.$ac_ext >&5
76258 eval "$as_ac_var=no"
76260 rm -f conftest.err conftest.$ac_objext \
76261 conftest$ac_exeext conftest.$ac_ext
76263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76265 if test `eval echo '${'$as_ac_var'}'` = yes; then
76266 cat >>confdefs.h <<_ACEOF
76267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76268 _ACEOF
76271 done
76281 echo "$as_me:$LINENO: checking for expl declaration" >&5
76282 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76283 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76284 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76285 echo $ECHO_N "(cached) $ECHO_C" >&6
76286 else
76290 ac_ext=cc
76291 ac_cpp='$CXXCPP $CPPFLAGS'
76292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76296 cat >conftest.$ac_ext <<_ACEOF
76297 /* confdefs.h. */
76298 _ACEOF
76299 cat confdefs.h >>conftest.$ac_ext
76300 cat >>conftest.$ac_ext <<_ACEOF
76301 /* end confdefs.h. */
76302 #include <math.h>
76303 #ifdef HAVE_IEEEFP_H
76304 #include <ieeefp.h>
76305 #endif
76308 main ()
76310 expl(0);
76312 return 0;
76314 _ACEOF
76315 rm -f conftest.$ac_objext
76316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76317 (eval $ac_compile) 2>conftest.er1
76318 ac_status=$?
76319 grep -v '^ *+' conftest.er1 >conftest.err
76320 rm -f conftest.er1
76321 cat conftest.err >&5
76322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76323 (exit $ac_status); } &&
76324 { ac_try='test -z "$ac_cxx_werror_flag"
76325 || test ! -s conftest.err'
76326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76327 (eval $ac_try) 2>&5
76328 ac_status=$?
76329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76330 (exit $ac_status); }; } &&
76331 { ac_try='test -s conftest.$ac_objext'
76332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76333 (eval $ac_try) 2>&5
76334 ac_status=$?
76335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76336 (exit $ac_status); }; }; then
76337 glibcxx_cv_func_expl_use=yes
76338 else
76339 echo "$as_me: failed program was:" >&5
76340 sed 's/^/| /' conftest.$ac_ext >&5
76342 glibcxx_cv_func_expl_use=no
76344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76345 ac_ext=c
76346 ac_cpp='$CPP $CPPFLAGS'
76347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76356 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76358 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76360 for ac_func in expl
76362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76363 echo "$as_me:$LINENO: checking for $ac_func" >&5
76364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76365 if eval "test \"\${$as_ac_var+set}\" = set"; then
76366 echo $ECHO_N "(cached) $ECHO_C" >&6
76367 else
76368 if test x$gcc_no_link = xyes; then
76369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76371 { (exit 1); exit 1; }; }
76373 cat >conftest.$ac_ext <<_ACEOF
76374 /* confdefs.h. */
76375 _ACEOF
76376 cat confdefs.h >>conftest.$ac_ext
76377 cat >>conftest.$ac_ext <<_ACEOF
76378 /* end confdefs.h. */
76379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76381 #define $ac_func innocuous_$ac_func
76383 /* System header to define __stub macros and hopefully few prototypes,
76384 which can conflict with char $ac_func (); below.
76385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76386 <limits.h> exists even on freestanding compilers. */
76388 #ifdef __STDC__
76389 # include <limits.h>
76390 #else
76391 # include <assert.h>
76392 #endif
76394 #undef $ac_func
76396 /* Override any gcc2 internal prototype to avoid an error. */
76397 #ifdef __cplusplus
76398 extern "C"
76400 #endif
76401 /* We use char because int might match the return type of a gcc2
76402 builtin and then its argument prototype would still apply. */
76403 char $ac_func ();
76404 /* The GNU C library defines this for functions which it implements
76405 to always fail with ENOSYS. Some functions are actually named
76406 something starting with __ and the normal name is an alias. */
76407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76408 choke me
76409 #else
76410 char (*f) () = $ac_func;
76411 #endif
76412 #ifdef __cplusplus
76414 #endif
76417 main ()
76419 return f != $ac_func;
76421 return 0;
76423 _ACEOF
76424 rm -f conftest.$ac_objext conftest$ac_exeext
76425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76426 (eval $ac_link) 2>conftest.er1
76427 ac_status=$?
76428 grep -v '^ *+' conftest.er1 >conftest.err
76429 rm -f conftest.er1
76430 cat conftest.err >&5
76431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76432 (exit $ac_status); } &&
76433 { ac_try='test -z "$ac_c_werror_flag"
76434 || test ! -s conftest.err'
76435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76436 (eval $ac_try) 2>&5
76437 ac_status=$?
76438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76439 (exit $ac_status); }; } &&
76440 { ac_try='test -s conftest$ac_exeext'
76441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76442 (eval $ac_try) 2>&5
76443 ac_status=$?
76444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76445 (exit $ac_status); }; }; then
76446 eval "$as_ac_var=yes"
76447 else
76448 echo "$as_me: failed program was:" >&5
76449 sed 's/^/| /' conftest.$ac_ext >&5
76451 eval "$as_ac_var=no"
76453 rm -f conftest.err conftest.$ac_objext \
76454 conftest$ac_exeext conftest.$ac_ext
76456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76458 if test `eval echo '${'$as_ac_var'}'` = yes; then
76459 cat >>confdefs.h <<_ACEOF
76460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76461 _ACEOF
76464 done
76466 else
76468 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76469 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76470 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76471 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76472 echo $ECHO_N "(cached) $ECHO_C" >&6
76473 else
76477 ac_ext=cc
76478 ac_cpp='$CXXCPP $CPPFLAGS'
76479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76483 cat >conftest.$ac_ext <<_ACEOF
76484 /* confdefs.h. */
76485 _ACEOF
76486 cat confdefs.h >>conftest.$ac_ext
76487 cat >>conftest.$ac_ext <<_ACEOF
76488 /* end confdefs.h. */
76489 #include <math.h>
76490 #ifdef HAVE_IEEEFP_H
76491 #include <ieeefp.h>
76492 #endif
76495 main ()
76497 _expl(0);
76499 return 0;
76501 _ACEOF
76502 rm -f conftest.$ac_objext
76503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76504 (eval $ac_compile) 2>conftest.er1
76505 ac_status=$?
76506 grep -v '^ *+' conftest.er1 >conftest.err
76507 rm -f conftest.er1
76508 cat conftest.err >&5
76509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76510 (exit $ac_status); } &&
76511 { ac_try='test -z "$ac_cxx_werror_flag"
76512 || test ! -s conftest.err'
76513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76514 (eval $ac_try) 2>&5
76515 ac_status=$?
76516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76517 (exit $ac_status); }; } &&
76518 { ac_try='test -s conftest.$ac_objext'
76519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76520 (eval $ac_try) 2>&5
76521 ac_status=$?
76522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76523 (exit $ac_status); }; }; then
76524 glibcxx_cv_func__expl_use=yes
76525 else
76526 echo "$as_me: failed program was:" >&5
76527 sed 's/^/| /' conftest.$ac_ext >&5
76529 glibcxx_cv_func__expl_use=no
76531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76532 ac_ext=c
76533 ac_cpp='$CPP $CPPFLAGS'
76534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76543 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76545 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76547 for ac_func in _expl
76549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76550 echo "$as_me:$LINENO: checking for $ac_func" >&5
76551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76552 if eval "test \"\${$as_ac_var+set}\" = set"; then
76553 echo $ECHO_N "(cached) $ECHO_C" >&6
76554 else
76555 if test x$gcc_no_link = xyes; then
76556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76558 { (exit 1); exit 1; }; }
76560 cat >conftest.$ac_ext <<_ACEOF
76561 /* confdefs.h. */
76562 _ACEOF
76563 cat confdefs.h >>conftest.$ac_ext
76564 cat >>conftest.$ac_ext <<_ACEOF
76565 /* end confdefs.h. */
76566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76568 #define $ac_func innocuous_$ac_func
76570 /* System header to define __stub macros and hopefully few prototypes,
76571 which can conflict with char $ac_func (); below.
76572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76573 <limits.h> exists even on freestanding compilers. */
76575 #ifdef __STDC__
76576 # include <limits.h>
76577 #else
76578 # include <assert.h>
76579 #endif
76581 #undef $ac_func
76583 /* Override any gcc2 internal prototype to avoid an error. */
76584 #ifdef __cplusplus
76585 extern "C"
76587 #endif
76588 /* We use char because int might match the return type of a gcc2
76589 builtin and then its argument prototype would still apply. */
76590 char $ac_func ();
76591 /* The GNU C library defines this for functions which it implements
76592 to always fail with ENOSYS. Some functions are actually named
76593 something starting with __ and the normal name is an alias. */
76594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76595 choke me
76596 #else
76597 char (*f) () = $ac_func;
76598 #endif
76599 #ifdef __cplusplus
76601 #endif
76604 main ()
76606 return f != $ac_func;
76608 return 0;
76610 _ACEOF
76611 rm -f conftest.$ac_objext conftest$ac_exeext
76612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76613 (eval $ac_link) 2>conftest.er1
76614 ac_status=$?
76615 grep -v '^ *+' conftest.er1 >conftest.err
76616 rm -f conftest.er1
76617 cat conftest.err >&5
76618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76619 (exit $ac_status); } &&
76620 { ac_try='test -z "$ac_c_werror_flag"
76621 || test ! -s conftest.err'
76622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76623 (eval $ac_try) 2>&5
76624 ac_status=$?
76625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76626 (exit $ac_status); }; } &&
76627 { ac_try='test -s conftest$ac_exeext'
76628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76629 (eval $ac_try) 2>&5
76630 ac_status=$?
76631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76632 (exit $ac_status); }; }; then
76633 eval "$as_ac_var=yes"
76634 else
76635 echo "$as_me: failed program was:" >&5
76636 sed 's/^/| /' conftest.$ac_ext >&5
76638 eval "$as_ac_var=no"
76640 rm -f conftest.err conftest.$ac_objext \
76641 conftest$ac_exeext conftest.$ac_ext
76643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76645 if test `eval echo '${'$as_ac_var'}'` = yes; then
76646 cat >>confdefs.h <<_ACEOF
76647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76648 _ACEOF
76651 done
76661 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76662 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76663 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76664 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76665 echo $ECHO_N "(cached) $ECHO_C" >&6
76666 else
76670 ac_ext=cc
76671 ac_cpp='$CXXCPP $CPPFLAGS'
76672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76676 cat >conftest.$ac_ext <<_ACEOF
76677 /* confdefs.h. */
76678 _ACEOF
76679 cat confdefs.h >>conftest.$ac_ext
76680 cat >>conftest.$ac_ext <<_ACEOF
76681 /* end confdefs.h. */
76682 #include <math.h>
76683 #ifdef HAVE_IEEEFP_H
76684 #include <ieeefp.h>
76685 #endif
76688 main ()
76690 fabsl(0);
76692 return 0;
76694 _ACEOF
76695 rm -f conftest.$ac_objext
76696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76697 (eval $ac_compile) 2>conftest.er1
76698 ac_status=$?
76699 grep -v '^ *+' conftest.er1 >conftest.err
76700 rm -f conftest.er1
76701 cat conftest.err >&5
76702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76703 (exit $ac_status); } &&
76704 { ac_try='test -z "$ac_cxx_werror_flag"
76705 || test ! -s conftest.err'
76706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76707 (eval $ac_try) 2>&5
76708 ac_status=$?
76709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76710 (exit $ac_status); }; } &&
76711 { ac_try='test -s conftest.$ac_objext'
76712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76713 (eval $ac_try) 2>&5
76714 ac_status=$?
76715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76716 (exit $ac_status); }; }; then
76717 glibcxx_cv_func_fabsl_use=yes
76718 else
76719 echo "$as_me: failed program was:" >&5
76720 sed 's/^/| /' conftest.$ac_ext >&5
76722 glibcxx_cv_func_fabsl_use=no
76724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76725 ac_ext=c
76726 ac_cpp='$CPP $CPPFLAGS'
76727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
76736 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
76738 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76740 for ac_func in fabsl
76742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76743 echo "$as_me:$LINENO: checking for $ac_func" >&5
76744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76745 if eval "test \"\${$as_ac_var+set}\" = set"; then
76746 echo $ECHO_N "(cached) $ECHO_C" >&6
76747 else
76748 if test x$gcc_no_link = xyes; then
76749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76751 { (exit 1); exit 1; }; }
76753 cat >conftest.$ac_ext <<_ACEOF
76754 /* confdefs.h. */
76755 _ACEOF
76756 cat confdefs.h >>conftest.$ac_ext
76757 cat >>conftest.$ac_ext <<_ACEOF
76758 /* end confdefs.h. */
76759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76761 #define $ac_func innocuous_$ac_func
76763 /* System header to define __stub macros and hopefully few prototypes,
76764 which can conflict with char $ac_func (); below.
76765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76766 <limits.h> exists even on freestanding compilers. */
76768 #ifdef __STDC__
76769 # include <limits.h>
76770 #else
76771 # include <assert.h>
76772 #endif
76774 #undef $ac_func
76776 /* Override any gcc2 internal prototype to avoid an error. */
76777 #ifdef __cplusplus
76778 extern "C"
76780 #endif
76781 /* We use char because int might match the return type of a gcc2
76782 builtin and then its argument prototype would still apply. */
76783 char $ac_func ();
76784 /* The GNU C library defines this for functions which it implements
76785 to always fail with ENOSYS. Some functions are actually named
76786 something starting with __ and the normal name is an alias. */
76787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76788 choke me
76789 #else
76790 char (*f) () = $ac_func;
76791 #endif
76792 #ifdef __cplusplus
76794 #endif
76797 main ()
76799 return f != $ac_func;
76801 return 0;
76803 _ACEOF
76804 rm -f conftest.$ac_objext conftest$ac_exeext
76805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76806 (eval $ac_link) 2>conftest.er1
76807 ac_status=$?
76808 grep -v '^ *+' conftest.er1 >conftest.err
76809 rm -f conftest.er1
76810 cat conftest.err >&5
76811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76812 (exit $ac_status); } &&
76813 { ac_try='test -z "$ac_c_werror_flag"
76814 || test ! -s conftest.err'
76815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76816 (eval $ac_try) 2>&5
76817 ac_status=$?
76818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76819 (exit $ac_status); }; } &&
76820 { ac_try='test -s conftest$ac_exeext'
76821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76822 (eval $ac_try) 2>&5
76823 ac_status=$?
76824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76825 (exit $ac_status); }; }; then
76826 eval "$as_ac_var=yes"
76827 else
76828 echo "$as_me: failed program was:" >&5
76829 sed 's/^/| /' conftest.$ac_ext >&5
76831 eval "$as_ac_var=no"
76833 rm -f conftest.err conftest.$ac_objext \
76834 conftest$ac_exeext conftest.$ac_ext
76836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76838 if test `eval echo '${'$as_ac_var'}'` = yes; then
76839 cat >>confdefs.h <<_ACEOF
76840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76841 _ACEOF
76844 done
76846 else
76848 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
76849 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
76850 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76851 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
76852 echo $ECHO_N "(cached) $ECHO_C" >&6
76853 else
76857 ac_ext=cc
76858 ac_cpp='$CXXCPP $CPPFLAGS'
76859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76863 cat >conftest.$ac_ext <<_ACEOF
76864 /* confdefs.h. */
76865 _ACEOF
76866 cat confdefs.h >>conftest.$ac_ext
76867 cat >>conftest.$ac_ext <<_ACEOF
76868 /* end confdefs.h. */
76869 #include <math.h>
76870 #ifdef HAVE_IEEEFP_H
76871 #include <ieeefp.h>
76872 #endif
76875 main ()
76877 _fabsl(0);
76879 return 0;
76881 _ACEOF
76882 rm -f conftest.$ac_objext
76883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76884 (eval $ac_compile) 2>conftest.er1
76885 ac_status=$?
76886 grep -v '^ *+' conftest.er1 >conftest.err
76887 rm -f conftest.er1
76888 cat conftest.err >&5
76889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76890 (exit $ac_status); } &&
76891 { ac_try='test -z "$ac_cxx_werror_flag"
76892 || test ! -s conftest.err'
76893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76894 (eval $ac_try) 2>&5
76895 ac_status=$?
76896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76897 (exit $ac_status); }; } &&
76898 { ac_try='test -s conftest.$ac_objext'
76899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76900 (eval $ac_try) 2>&5
76901 ac_status=$?
76902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76903 (exit $ac_status); }; }; then
76904 glibcxx_cv_func__fabsl_use=yes
76905 else
76906 echo "$as_me: failed program was:" >&5
76907 sed 's/^/| /' conftest.$ac_ext >&5
76909 glibcxx_cv_func__fabsl_use=no
76911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76912 ac_ext=c
76913 ac_cpp='$CPP $CPPFLAGS'
76914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
76923 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
76925 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76927 for ac_func in _fabsl
76929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76930 echo "$as_me:$LINENO: checking for $ac_func" >&5
76931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76932 if eval "test \"\${$as_ac_var+set}\" = set"; then
76933 echo $ECHO_N "(cached) $ECHO_C" >&6
76934 else
76935 if test x$gcc_no_link = xyes; then
76936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76938 { (exit 1); exit 1; }; }
76940 cat >conftest.$ac_ext <<_ACEOF
76941 /* confdefs.h. */
76942 _ACEOF
76943 cat confdefs.h >>conftest.$ac_ext
76944 cat >>conftest.$ac_ext <<_ACEOF
76945 /* end confdefs.h. */
76946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76948 #define $ac_func innocuous_$ac_func
76950 /* System header to define __stub macros and hopefully few prototypes,
76951 which can conflict with char $ac_func (); below.
76952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76953 <limits.h> exists even on freestanding compilers. */
76955 #ifdef __STDC__
76956 # include <limits.h>
76957 #else
76958 # include <assert.h>
76959 #endif
76961 #undef $ac_func
76963 /* Override any gcc2 internal prototype to avoid an error. */
76964 #ifdef __cplusplus
76965 extern "C"
76967 #endif
76968 /* We use char because int might match the return type of a gcc2
76969 builtin and then its argument prototype would still apply. */
76970 char $ac_func ();
76971 /* The GNU C library defines this for functions which it implements
76972 to always fail with ENOSYS. Some functions are actually named
76973 something starting with __ and the normal name is an alias. */
76974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76975 choke me
76976 #else
76977 char (*f) () = $ac_func;
76978 #endif
76979 #ifdef __cplusplus
76981 #endif
76984 main ()
76986 return f != $ac_func;
76988 return 0;
76990 _ACEOF
76991 rm -f conftest.$ac_objext conftest$ac_exeext
76992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76993 (eval $ac_link) 2>conftest.er1
76994 ac_status=$?
76995 grep -v '^ *+' conftest.er1 >conftest.err
76996 rm -f conftest.er1
76997 cat conftest.err >&5
76998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76999 (exit $ac_status); } &&
77000 { ac_try='test -z "$ac_c_werror_flag"
77001 || test ! -s conftest.err'
77002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77003 (eval $ac_try) 2>&5
77004 ac_status=$?
77005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77006 (exit $ac_status); }; } &&
77007 { ac_try='test -s conftest$ac_exeext'
77008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77009 (eval $ac_try) 2>&5
77010 ac_status=$?
77011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77012 (exit $ac_status); }; }; then
77013 eval "$as_ac_var=yes"
77014 else
77015 echo "$as_me: failed program was:" >&5
77016 sed 's/^/| /' conftest.$ac_ext >&5
77018 eval "$as_ac_var=no"
77020 rm -f conftest.err conftest.$ac_objext \
77021 conftest$ac_exeext conftest.$ac_ext
77023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77025 if test `eval echo '${'$as_ac_var'}'` = yes; then
77026 cat >>confdefs.h <<_ACEOF
77027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77028 _ACEOF
77031 done
77041 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77042 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77043 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77044 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77045 echo $ECHO_N "(cached) $ECHO_C" >&6
77046 else
77050 ac_ext=cc
77051 ac_cpp='$CXXCPP $CPPFLAGS'
77052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77056 cat >conftest.$ac_ext <<_ACEOF
77057 /* confdefs.h. */
77058 _ACEOF
77059 cat confdefs.h >>conftest.$ac_ext
77060 cat >>conftest.$ac_ext <<_ACEOF
77061 /* end confdefs.h. */
77062 #include <math.h>
77064 main ()
77066 fmodl(0, 0);
77068 return 0;
77070 _ACEOF
77071 rm -f conftest.$ac_objext
77072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77073 (eval $ac_compile) 2>conftest.er1
77074 ac_status=$?
77075 grep -v '^ *+' conftest.er1 >conftest.err
77076 rm -f conftest.er1
77077 cat conftest.err >&5
77078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77079 (exit $ac_status); } &&
77080 { ac_try='test -z "$ac_cxx_werror_flag"
77081 || test ! -s conftest.err'
77082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77083 (eval $ac_try) 2>&5
77084 ac_status=$?
77085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77086 (exit $ac_status); }; } &&
77087 { ac_try='test -s conftest.$ac_objext'
77088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77089 (eval $ac_try) 2>&5
77090 ac_status=$?
77091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77092 (exit $ac_status); }; }; then
77093 glibcxx_cv_func_fmodl_use=yes
77094 else
77095 echo "$as_me: failed program was:" >&5
77096 sed 's/^/| /' conftest.$ac_ext >&5
77098 glibcxx_cv_func_fmodl_use=no
77100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77101 ac_ext=c
77102 ac_cpp='$CPP $CPPFLAGS'
77103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77112 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77114 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77116 for ac_func in fmodl
77118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77119 echo "$as_me:$LINENO: checking for $ac_func" >&5
77120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77121 if eval "test \"\${$as_ac_var+set}\" = set"; then
77122 echo $ECHO_N "(cached) $ECHO_C" >&6
77123 else
77124 if test x$gcc_no_link = xyes; then
77125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77127 { (exit 1); exit 1; }; }
77129 cat >conftest.$ac_ext <<_ACEOF
77130 /* confdefs.h. */
77131 _ACEOF
77132 cat confdefs.h >>conftest.$ac_ext
77133 cat >>conftest.$ac_ext <<_ACEOF
77134 /* end confdefs.h. */
77135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77137 #define $ac_func innocuous_$ac_func
77139 /* System header to define __stub macros and hopefully few prototypes,
77140 which can conflict with char $ac_func (); below.
77141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77142 <limits.h> exists even on freestanding compilers. */
77144 #ifdef __STDC__
77145 # include <limits.h>
77146 #else
77147 # include <assert.h>
77148 #endif
77150 #undef $ac_func
77152 /* Override any gcc2 internal prototype to avoid an error. */
77153 #ifdef __cplusplus
77154 extern "C"
77156 #endif
77157 /* We use char because int might match the return type of a gcc2
77158 builtin and then its argument prototype would still apply. */
77159 char $ac_func ();
77160 /* The GNU C library defines this for functions which it implements
77161 to always fail with ENOSYS. Some functions are actually named
77162 something starting with __ and the normal name is an alias. */
77163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77164 choke me
77165 #else
77166 char (*f) () = $ac_func;
77167 #endif
77168 #ifdef __cplusplus
77170 #endif
77173 main ()
77175 return f != $ac_func;
77177 return 0;
77179 _ACEOF
77180 rm -f conftest.$ac_objext conftest$ac_exeext
77181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77182 (eval $ac_link) 2>conftest.er1
77183 ac_status=$?
77184 grep -v '^ *+' conftest.er1 >conftest.err
77185 rm -f conftest.er1
77186 cat conftest.err >&5
77187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77188 (exit $ac_status); } &&
77189 { ac_try='test -z "$ac_c_werror_flag"
77190 || test ! -s conftest.err'
77191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77192 (eval $ac_try) 2>&5
77193 ac_status=$?
77194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77195 (exit $ac_status); }; } &&
77196 { ac_try='test -s conftest$ac_exeext'
77197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77198 (eval $ac_try) 2>&5
77199 ac_status=$?
77200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77201 (exit $ac_status); }; }; then
77202 eval "$as_ac_var=yes"
77203 else
77204 echo "$as_me: failed program was:" >&5
77205 sed 's/^/| /' conftest.$ac_ext >&5
77207 eval "$as_ac_var=no"
77209 rm -f conftest.err conftest.$ac_objext \
77210 conftest$ac_exeext conftest.$ac_ext
77212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77214 if test `eval echo '${'$as_ac_var'}'` = yes; then
77215 cat >>confdefs.h <<_ACEOF
77216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77217 _ACEOF
77220 done
77222 else
77224 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77225 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77226 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77227 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77228 echo $ECHO_N "(cached) $ECHO_C" >&6
77229 else
77233 ac_ext=cc
77234 ac_cpp='$CXXCPP $CPPFLAGS'
77235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77239 cat >conftest.$ac_ext <<_ACEOF
77240 /* confdefs.h. */
77241 _ACEOF
77242 cat confdefs.h >>conftest.$ac_ext
77243 cat >>conftest.$ac_ext <<_ACEOF
77244 /* end confdefs.h. */
77245 #include <math.h>
77247 main ()
77249 _fmodl(0, 0);
77251 return 0;
77253 _ACEOF
77254 rm -f conftest.$ac_objext
77255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77256 (eval $ac_compile) 2>conftest.er1
77257 ac_status=$?
77258 grep -v '^ *+' conftest.er1 >conftest.err
77259 rm -f conftest.er1
77260 cat conftest.err >&5
77261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77262 (exit $ac_status); } &&
77263 { ac_try='test -z "$ac_cxx_werror_flag"
77264 || test ! -s conftest.err'
77265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77266 (eval $ac_try) 2>&5
77267 ac_status=$?
77268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77269 (exit $ac_status); }; } &&
77270 { ac_try='test -s conftest.$ac_objext'
77271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77272 (eval $ac_try) 2>&5
77273 ac_status=$?
77274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77275 (exit $ac_status); }; }; then
77276 glibcxx_cv_func__fmodl_use=yes
77277 else
77278 echo "$as_me: failed program was:" >&5
77279 sed 's/^/| /' conftest.$ac_ext >&5
77281 glibcxx_cv_func__fmodl_use=no
77283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77284 ac_ext=c
77285 ac_cpp='$CPP $CPPFLAGS'
77286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77295 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77297 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77299 for ac_func in _fmodl
77301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77302 echo "$as_me:$LINENO: checking for $ac_func" >&5
77303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77304 if eval "test \"\${$as_ac_var+set}\" = set"; then
77305 echo $ECHO_N "(cached) $ECHO_C" >&6
77306 else
77307 if test x$gcc_no_link = xyes; then
77308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77310 { (exit 1); exit 1; }; }
77312 cat >conftest.$ac_ext <<_ACEOF
77313 /* confdefs.h. */
77314 _ACEOF
77315 cat confdefs.h >>conftest.$ac_ext
77316 cat >>conftest.$ac_ext <<_ACEOF
77317 /* end confdefs.h. */
77318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77320 #define $ac_func innocuous_$ac_func
77322 /* System header to define __stub macros and hopefully few prototypes,
77323 which can conflict with char $ac_func (); below.
77324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77325 <limits.h> exists even on freestanding compilers. */
77327 #ifdef __STDC__
77328 # include <limits.h>
77329 #else
77330 # include <assert.h>
77331 #endif
77333 #undef $ac_func
77335 /* Override any gcc2 internal prototype to avoid an error. */
77336 #ifdef __cplusplus
77337 extern "C"
77339 #endif
77340 /* We use char because int might match the return type of a gcc2
77341 builtin and then its argument prototype would still apply. */
77342 char $ac_func ();
77343 /* The GNU C library defines this for functions which it implements
77344 to always fail with ENOSYS. Some functions are actually named
77345 something starting with __ and the normal name is an alias. */
77346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77347 choke me
77348 #else
77349 char (*f) () = $ac_func;
77350 #endif
77351 #ifdef __cplusplus
77353 #endif
77356 main ()
77358 return f != $ac_func;
77360 return 0;
77362 _ACEOF
77363 rm -f conftest.$ac_objext conftest$ac_exeext
77364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77365 (eval $ac_link) 2>conftest.er1
77366 ac_status=$?
77367 grep -v '^ *+' conftest.er1 >conftest.err
77368 rm -f conftest.er1
77369 cat conftest.err >&5
77370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77371 (exit $ac_status); } &&
77372 { ac_try='test -z "$ac_c_werror_flag"
77373 || test ! -s conftest.err'
77374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77375 (eval $ac_try) 2>&5
77376 ac_status=$?
77377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77378 (exit $ac_status); }; } &&
77379 { ac_try='test -s conftest$ac_exeext'
77380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77381 (eval $ac_try) 2>&5
77382 ac_status=$?
77383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77384 (exit $ac_status); }; }; then
77385 eval "$as_ac_var=yes"
77386 else
77387 echo "$as_me: failed program was:" >&5
77388 sed 's/^/| /' conftest.$ac_ext >&5
77390 eval "$as_ac_var=no"
77392 rm -f conftest.err conftest.$ac_objext \
77393 conftest$ac_exeext conftest.$ac_ext
77395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77397 if test `eval echo '${'$as_ac_var'}'` = yes; then
77398 cat >>confdefs.h <<_ACEOF
77399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77400 _ACEOF
77403 done
77413 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77414 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77415 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77416 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77417 echo $ECHO_N "(cached) $ECHO_C" >&6
77418 else
77422 ac_ext=cc
77423 ac_cpp='$CXXCPP $CPPFLAGS'
77424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77428 cat >conftest.$ac_ext <<_ACEOF
77429 /* confdefs.h. */
77430 _ACEOF
77431 cat confdefs.h >>conftest.$ac_ext
77432 cat >>conftest.$ac_ext <<_ACEOF
77433 /* end confdefs.h. */
77434 #include <math.h>
77436 main ()
77438 frexpl(0, 0);
77440 return 0;
77442 _ACEOF
77443 rm -f conftest.$ac_objext
77444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77445 (eval $ac_compile) 2>conftest.er1
77446 ac_status=$?
77447 grep -v '^ *+' conftest.er1 >conftest.err
77448 rm -f conftest.er1
77449 cat conftest.err >&5
77450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77451 (exit $ac_status); } &&
77452 { ac_try='test -z "$ac_cxx_werror_flag"
77453 || test ! -s conftest.err'
77454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77455 (eval $ac_try) 2>&5
77456 ac_status=$?
77457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77458 (exit $ac_status); }; } &&
77459 { ac_try='test -s conftest.$ac_objext'
77460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77461 (eval $ac_try) 2>&5
77462 ac_status=$?
77463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77464 (exit $ac_status); }; }; then
77465 glibcxx_cv_func_frexpl_use=yes
77466 else
77467 echo "$as_me: failed program was:" >&5
77468 sed 's/^/| /' conftest.$ac_ext >&5
77470 glibcxx_cv_func_frexpl_use=no
77472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77473 ac_ext=c
77474 ac_cpp='$CPP $CPPFLAGS'
77475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77484 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77486 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77488 for ac_func in frexpl
77490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77491 echo "$as_me:$LINENO: checking for $ac_func" >&5
77492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77493 if eval "test \"\${$as_ac_var+set}\" = set"; then
77494 echo $ECHO_N "(cached) $ECHO_C" >&6
77495 else
77496 if test x$gcc_no_link = xyes; then
77497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77499 { (exit 1); exit 1; }; }
77501 cat >conftest.$ac_ext <<_ACEOF
77502 /* confdefs.h. */
77503 _ACEOF
77504 cat confdefs.h >>conftest.$ac_ext
77505 cat >>conftest.$ac_ext <<_ACEOF
77506 /* end confdefs.h. */
77507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77509 #define $ac_func innocuous_$ac_func
77511 /* System header to define __stub macros and hopefully few prototypes,
77512 which can conflict with char $ac_func (); below.
77513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77514 <limits.h> exists even on freestanding compilers. */
77516 #ifdef __STDC__
77517 # include <limits.h>
77518 #else
77519 # include <assert.h>
77520 #endif
77522 #undef $ac_func
77524 /* Override any gcc2 internal prototype to avoid an error. */
77525 #ifdef __cplusplus
77526 extern "C"
77528 #endif
77529 /* We use char because int might match the return type of a gcc2
77530 builtin and then its argument prototype would still apply. */
77531 char $ac_func ();
77532 /* The GNU C library defines this for functions which it implements
77533 to always fail with ENOSYS. Some functions are actually named
77534 something starting with __ and the normal name is an alias. */
77535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77536 choke me
77537 #else
77538 char (*f) () = $ac_func;
77539 #endif
77540 #ifdef __cplusplus
77542 #endif
77545 main ()
77547 return f != $ac_func;
77549 return 0;
77551 _ACEOF
77552 rm -f conftest.$ac_objext conftest$ac_exeext
77553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77554 (eval $ac_link) 2>conftest.er1
77555 ac_status=$?
77556 grep -v '^ *+' conftest.er1 >conftest.err
77557 rm -f conftest.er1
77558 cat conftest.err >&5
77559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77560 (exit $ac_status); } &&
77561 { ac_try='test -z "$ac_c_werror_flag"
77562 || test ! -s conftest.err'
77563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77564 (eval $ac_try) 2>&5
77565 ac_status=$?
77566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77567 (exit $ac_status); }; } &&
77568 { ac_try='test -s conftest$ac_exeext'
77569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77570 (eval $ac_try) 2>&5
77571 ac_status=$?
77572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77573 (exit $ac_status); }; }; then
77574 eval "$as_ac_var=yes"
77575 else
77576 echo "$as_me: failed program was:" >&5
77577 sed 's/^/| /' conftest.$ac_ext >&5
77579 eval "$as_ac_var=no"
77581 rm -f conftest.err conftest.$ac_objext \
77582 conftest$ac_exeext conftest.$ac_ext
77584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77586 if test `eval echo '${'$as_ac_var'}'` = yes; then
77587 cat >>confdefs.h <<_ACEOF
77588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77589 _ACEOF
77592 done
77594 else
77596 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77597 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77598 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77599 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77600 echo $ECHO_N "(cached) $ECHO_C" >&6
77601 else
77605 ac_ext=cc
77606 ac_cpp='$CXXCPP $CPPFLAGS'
77607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77611 cat >conftest.$ac_ext <<_ACEOF
77612 /* confdefs.h. */
77613 _ACEOF
77614 cat confdefs.h >>conftest.$ac_ext
77615 cat >>conftest.$ac_ext <<_ACEOF
77616 /* end confdefs.h. */
77617 #include <math.h>
77619 main ()
77621 _frexpl(0, 0);
77623 return 0;
77625 _ACEOF
77626 rm -f conftest.$ac_objext
77627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77628 (eval $ac_compile) 2>conftest.er1
77629 ac_status=$?
77630 grep -v '^ *+' conftest.er1 >conftest.err
77631 rm -f conftest.er1
77632 cat conftest.err >&5
77633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77634 (exit $ac_status); } &&
77635 { ac_try='test -z "$ac_cxx_werror_flag"
77636 || test ! -s conftest.err'
77637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77638 (eval $ac_try) 2>&5
77639 ac_status=$?
77640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77641 (exit $ac_status); }; } &&
77642 { ac_try='test -s conftest.$ac_objext'
77643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77644 (eval $ac_try) 2>&5
77645 ac_status=$?
77646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77647 (exit $ac_status); }; }; then
77648 glibcxx_cv_func__frexpl_use=yes
77649 else
77650 echo "$as_me: failed program was:" >&5
77651 sed 's/^/| /' conftest.$ac_ext >&5
77653 glibcxx_cv_func__frexpl_use=no
77655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77656 ac_ext=c
77657 ac_cpp='$CPP $CPPFLAGS'
77658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77667 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77669 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77671 for ac_func in _frexpl
77673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77674 echo "$as_me:$LINENO: checking for $ac_func" >&5
77675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77676 if eval "test \"\${$as_ac_var+set}\" = set"; then
77677 echo $ECHO_N "(cached) $ECHO_C" >&6
77678 else
77679 if test x$gcc_no_link = xyes; then
77680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77682 { (exit 1); exit 1; }; }
77684 cat >conftest.$ac_ext <<_ACEOF
77685 /* confdefs.h. */
77686 _ACEOF
77687 cat confdefs.h >>conftest.$ac_ext
77688 cat >>conftest.$ac_ext <<_ACEOF
77689 /* end confdefs.h. */
77690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77692 #define $ac_func innocuous_$ac_func
77694 /* System header to define __stub macros and hopefully few prototypes,
77695 which can conflict with char $ac_func (); below.
77696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77697 <limits.h> exists even on freestanding compilers. */
77699 #ifdef __STDC__
77700 # include <limits.h>
77701 #else
77702 # include <assert.h>
77703 #endif
77705 #undef $ac_func
77707 /* Override any gcc2 internal prototype to avoid an error. */
77708 #ifdef __cplusplus
77709 extern "C"
77711 #endif
77712 /* We use char because int might match the return type of a gcc2
77713 builtin and then its argument prototype would still apply. */
77714 char $ac_func ();
77715 /* The GNU C library defines this for functions which it implements
77716 to always fail with ENOSYS. Some functions are actually named
77717 something starting with __ and the normal name is an alias. */
77718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77719 choke me
77720 #else
77721 char (*f) () = $ac_func;
77722 #endif
77723 #ifdef __cplusplus
77725 #endif
77728 main ()
77730 return f != $ac_func;
77732 return 0;
77734 _ACEOF
77735 rm -f conftest.$ac_objext conftest$ac_exeext
77736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77737 (eval $ac_link) 2>conftest.er1
77738 ac_status=$?
77739 grep -v '^ *+' conftest.er1 >conftest.err
77740 rm -f conftest.er1
77741 cat conftest.err >&5
77742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77743 (exit $ac_status); } &&
77744 { ac_try='test -z "$ac_c_werror_flag"
77745 || test ! -s conftest.err'
77746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77747 (eval $ac_try) 2>&5
77748 ac_status=$?
77749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77750 (exit $ac_status); }; } &&
77751 { ac_try='test -s conftest$ac_exeext'
77752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77753 (eval $ac_try) 2>&5
77754 ac_status=$?
77755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77756 (exit $ac_status); }; }; then
77757 eval "$as_ac_var=yes"
77758 else
77759 echo "$as_me: failed program was:" >&5
77760 sed 's/^/| /' conftest.$ac_ext >&5
77762 eval "$as_ac_var=no"
77764 rm -f conftest.err conftest.$ac_objext \
77765 conftest$ac_exeext conftest.$ac_ext
77767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77769 if test `eval echo '${'$as_ac_var'}'` = yes; then
77770 cat >>confdefs.h <<_ACEOF
77771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77772 _ACEOF
77775 done
77785 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
77786 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
77787 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77788 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
77789 echo $ECHO_N "(cached) $ECHO_C" >&6
77790 else
77794 ac_ext=cc
77795 ac_cpp='$CXXCPP $CPPFLAGS'
77796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77800 cat >conftest.$ac_ext <<_ACEOF
77801 /* confdefs.h. */
77802 _ACEOF
77803 cat confdefs.h >>conftest.$ac_ext
77804 cat >>conftest.$ac_ext <<_ACEOF
77805 /* end confdefs.h. */
77806 #include <math.h>
77808 main ()
77810 hypotl(0, 0);
77812 return 0;
77814 _ACEOF
77815 rm -f conftest.$ac_objext
77816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77817 (eval $ac_compile) 2>conftest.er1
77818 ac_status=$?
77819 grep -v '^ *+' conftest.er1 >conftest.err
77820 rm -f conftest.er1
77821 cat conftest.err >&5
77822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77823 (exit $ac_status); } &&
77824 { ac_try='test -z "$ac_cxx_werror_flag"
77825 || test ! -s conftest.err'
77826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77827 (eval $ac_try) 2>&5
77828 ac_status=$?
77829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77830 (exit $ac_status); }; } &&
77831 { ac_try='test -s conftest.$ac_objext'
77832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77833 (eval $ac_try) 2>&5
77834 ac_status=$?
77835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77836 (exit $ac_status); }; }; then
77837 glibcxx_cv_func_hypotl_use=yes
77838 else
77839 echo "$as_me: failed program was:" >&5
77840 sed 's/^/| /' conftest.$ac_ext >&5
77842 glibcxx_cv_func_hypotl_use=no
77844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77845 ac_ext=c
77846 ac_cpp='$CPP $CPPFLAGS'
77847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77855 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
77856 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
77858 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77860 for ac_func in hypotl
77862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77863 echo "$as_me:$LINENO: checking for $ac_func" >&5
77864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77865 if eval "test \"\${$as_ac_var+set}\" = set"; then
77866 echo $ECHO_N "(cached) $ECHO_C" >&6
77867 else
77868 if test x$gcc_no_link = xyes; then
77869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77871 { (exit 1); exit 1; }; }
77873 cat >conftest.$ac_ext <<_ACEOF
77874 /* confdefs.h. */
77875 _ACEOF
77876 cat confdefs.h >>conftest.$ac_ext
77877 cat >>conftest.$ac_ext <<_ACEOF
77878 /* end confdefs.h. */
77879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77881 #define $ac_func innocuous_$ac_func
77883 /* System header to define __stub macros and hopefully few prototypes,
77884 which can conflict with char $ac_func (); below.
77885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77886 <limits.h> exists even on freestanding compilers. */
77888 #ifdef __STDC__
77889 # include <limits.h>
77890 #else
77891 # include <assert.h>
77892 #endif
77894 #undef $ac_func
77896 /* Override any gcc2 internal prototype to avoid an error. */
77897 #ifdef __cplusplus
77898 extern "C"
77900 #endif
77901 /* We use char because int might match the return type of a gcc2
77902 builtin and then its argument prototype would still apply. */
77903 char $ac_func ();
77904 /* The GNU C library defines this for functions which it implements
77905 to always fail with ENOSYS. Some functions are actually named
77906 something starting with __ and the normal name is an alias. */
77907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77908 choke me
77909 #else
77910 char (*f) () = $ac_func;
77911 #endif
77912 #ifdef __cplusplus
77914 #endif
77917 main ()
77919 return f != $ac_func;
77921 return 0;
77923 _ACEOF
77924 rm -f conftest.$ac_objext conftest$ac_exeext
77925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77926 (eval $ac_link) 2>conftest.er1
77927 ac_status=$?
77928 grep -v '^ *+' conftest.er1 >conftest.err
77929 rm -f conftest.er1
77930 cat conftest.err >&5
77931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77932 (exit $ac_status); } &&
77933 { ac_try='test -z "$ac_c_werror_flag"
77934 || test ! -s conftest.err'
77935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77936 (eval $ac_try) 2>&5
77937 ac_status=$?
77938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77939 (exit $ac_status); }; } &&
77940 { ac_try='test -s conftest$ac_exeext'
77941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77942 (eval $ac_try) 2>&5
77943 ac_status=$?
77944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77945 (exit $ac_status); }; }; then
77946 eval "$as_ac_var=yes"
77947 else
77948 echo "$as_me: failed program was:" >&5
77949 sed 's/^/| /' conftest.$ac_ext >&5
77951 eval "$as_ac_var=no"
77953 rm -f conftest.err conftest.$ac_objext \
77954 conftest$ac_exeext conftest.$ac_ext
77956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77958 if test `eval echo '${'$as_ac_var'}'` = yes; then
77959 cat >>confdefs.h <<_ACEOF
77960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77961 _ACEOF
77964 done
77966 else
77968 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
77969 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
77970 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77971 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
77972 echo $ECHO_N "(cached) $ECHO_C" >&6
77973 else
77977 ac_ext=cc
77978 ac_cpp='$CXXCPP $CPPFLAGS'
77979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77983 cat >conftest.$ac_ext <<_ACEOF
77984 /* confdefs.h. */
77985 _ACEOF
77986 cat confdefs.h >>conftest.$ac_ext
77987 cat >>conftest.$ac_ext <<_ACEOF
77988 /* end confdefs.h. */
77989 #include <math.h>
77991 main ()
77993 _hypotl(0, 0);
77995 return 0;
77997 _ACEOF
77998 rm -f conftest.$ac_objext
77999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78000 (eval $ac_compile) 2>conftest.er1
78001 ac_status=$?
78002 grep -v '^ *+' conftest.er1 >conftest.err
78003 rm -f conftest.er1
78004 cat conftest.err >&5
78005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78006 (exit $ac_status); } &&
78007 { ac_try='test -z "$ac_cxx_werror_flag"
78008 || test ! -s conftest.err'
78009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78010 (eval $ac_try) 2>&5
78011 ac_status=$?
78012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78013 (exit $ac_status); }; } &&
78014 { ac_try='test -s conftest.$ac_objext'
78015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78016 (eval $ac_try) 2>&5
78017 ac_status=$?
78018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78019 (exit $ac_status); }; }; then
78020 glibcxx_cv_func__hypotl_use=yes
78021 else
78022 echo "$as_me: failed program was:" >&5
78023 sed 's/^/| /' conftest.$ac_ext >&5
78025 glibcxx_cv_func__hypotl_use=no
78027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78028 ac_ext=c
78029 ac_cpp='$CPP $CPPFLAGS'
78030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78039 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78041 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78043 for ac_func in _hypotl
78045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78046 echo "$as_me:$LINENO: checking for $ac_func" >&5
78047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78048 if eval "test \"\${$as_ac_var+set}\" = set"; then
78049 echo $ECHO_N "(cached) $ECHO_C" >&6
78050 else
78051 if test x$gcc_no_link = xyes; then
78052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78054 { (exit 1); exit 1; }; }
78056 cat >conftest.$ac_ext <<_ACEOF
78057 /* confdefs.h. */
78058 _ACEOF
78059 cat confdefs.h >>conftest.$ac_ext
78060 cat >>conftest.$ac_ext <<_ACEOF
78061 /* end confdefs.h. */
78062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78064 #define $ac_func innocuous_$ac_func
78066 /* System header to define __stub macros and hopefully few prototypes,
78067 which can conflict with char $ac_func (); below.
78068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78069 <limits.h> exists even on freestanding compilers. */
78071 #ifdef __STDC__
78072 # include <limits.h>
78073 #else
78074 # include <assert.h>
78075 #endif
78077 #undef $ac_func
78079 /* Override any gcc2 internal prototype to avoid an error. */
78080 #ifdef __cplusplus
78081 extern "C"
78083 #endif
78084 /* We use char because int might match the return type of a gcc2
78085 builtin and then its argument prototype would still apply. */
78086 char $ac_func ();
78087 /* The GNU C library defines this for functions which it implements
78088 to always fail with ENOSYS. Some functions are actually named
78089 something starting with __ and the normal name is an alias. */
78090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78091 choke me
78092 #else
78093 char (*f) () = $ac_func;
78094 #endif
78095 #ifdef __cplusplus
78097 #endif
78100 main ()
78102 return f != $ac_func;
78104 return 0;
78106 _ACEOF
78107 rm -f conftest.$ac_objext conftest$ac_exeext
78108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78109 (eval $ac_link) 2>conftest.er1
78110 ac_status=$?
78111 grep -v '^ *+' conftest.er1 >conftest.err
78112 rm -f conftest.er1
78113 cat conftest.err >&5
78114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78115 (exit $ac_status); } &&
78116 { ac_try='test -z "$ac_c_werror_flag"
78117 || test ! -s conftest.err'
78118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78119 (eval $ac_try) 2>&5
78120 ac_status=$?
78121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78122 (exit $ac_status); }; } &&
78123 { ac_try='test -s conftest$ac_exeext'
78124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78125 (eval $ac_try) 2>&5
78126 ac_status=$?
78127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78128 (exit $ac_status); }; }; then
78129 eval "$as_ac_var=yes"
78130 else
78131 echo "$as_me: failed program was:" >&5
78132 sed 's/^/| /' conftest.$ac_ext >&5
78134 eval "$as_ac_var=no"
78136 rm -f conftest.err conftest.$ac_objext \
78137 conftest$ac_exeext conftest.$ac_ext
78139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78141 if test `eval echo '${'$as_ac_var'}'` = yes; then
78142 cat >>confdefs.h <<_ACEOF
78143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78144 _ACEOF
78147 done
78157 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78158 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78159 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78160 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78161 echo $ECHO_N "(cached) $ECHO_C" >&6
78162 else
78166 ac_ext=cc
78167 ac_cpp='$CXXCPP $CPPFLAGS'
78168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78172 cat >conftest.$ac_ext <<_ACEOF
78173 /* confdefs.h. */
78174 _ACEOF
78175 cat confdefs.h >>conftest.$ac_ext
78176 cat >>conftest.$ac_ext <<_ACEOF
78177 /* end confdefs.h. */
78178 #include <math.h>
78180 main ()
78182 ldexpl(0, 0);
78184 return 0;
78186 _ACEOF
78187 rm -f conftest.$ac_objext
78188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78189 (eval $ac_compile) 2>conftest.er1
78190 ac_status=$?
78191 grep -v '^ *+' conftest.er1 >conftest.err
78192 rm -f conftest.er1
78193 cat conftest.err >&5
78194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78195 (exit $ac_status); } &&
78196 { ac_try='test -z "$ac_cxx_werror_flag"
78197 || test ! -s conftest.err'
78198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78199 (eval $ac_try) 2>&5
78200 ac_status=$?
78201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78202 (exit $ac_status); }; } &&
78203 { ac_try='test -s conftest.$ac_objext'
78204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78205 (eval $ac_try) 2>&5
78206 ac_status=$?
78207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78208 (exit $ac_status); }; }; then
78209 glibcxx_cv_func_ldexpl_use=yes
78210 else
78211 echo "$as_me: failed program was:" >&5
78212 sed 's/^/| /' conftest.$ac_ext >&5
78214 glibcxx_cv_func_ldexpl_use=no
78216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78217 ac_ext=c
78218 ac_cpp='$CPP $CPPFLAGS'
78219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78228 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78230 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78232 for ac_func in ldexpl
78234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78235 echo "$as_me:$LINENO: checking for $ac_func" >&5
78236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78237 if eval "test \"\${$as_ac_var+set}\" = set"; then
78238 echo $ECHO_N "(cached) $ECHO_C" >&6
78239 else
78240 if test x$gcc_no_link = xyes; then
78241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78243 { (exit 1); exit 1; }; }
78245 cat >conftest.$ac_ext <<_ACEOF
78246 /* confdefs.h. */
78247 _ACEOF
78248 cat confdefs.h >>conftest.$ac_ext
78249 cat >>conftest.$ac_ext <<_ACEOF
78250 /* end confdefs.h. */
78251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78253 #define $ac_func innocuous_$ac_func
78255 /* System header to define __stub macros and hopefully few prototypes,
78256 which can conflict with char $ac_func (); below.
78257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78258 <limits.h> exists even on freestanding compilers. */
78260 #ifdef __STDC__
78261 # include <limits.h>
78262 #else
78263 # include <assert.h>
78264 #endif
78266 #undef $ac_func
78268 /* Override any gcc2 internal prototype to avoid an error. */
78269 #ifdef __cplusplus
78270 extern "C"
78272 #endif
78273 /* We use char because int might match the return type of a gcc2
78274 builtin and then its argument prototype would still apply. */
78275 char $ac_func ();
78276 /* The GNU C library defines this for functions which it implements
78277 to always fail with ENOSYS. Some functions are actually named
78278 something starting with __ and the normal name is an alias. */
78279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78280 choke me
78281 #else
78282 char (*f) () = $ac_func;
78283 #endif
78284 #ifdef __cplusplus
78286 #endif
78289 main ()
78291 return f != $ac_func;
78293 return 0;
78295 _ACEOF
78296 rm -f conftest.$ac_objext conftest$ac_exeext
78297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78298 (eval $ac_link) 2>conftest.er1
78299 ac_status=$?
78300 grep -v '^ *+' conftest.er1 >conftest.err
78301 rm -f conftest.er1
78302 cat conftest.err >&5
78303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78304 (exit $ac_status); } &&
78305 { ac_try='test -z "$ac_c_werror_flag"
78306 || test ! -s conftest.err'
78307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78308 (eval $ac_try) 2>&5
78309 ac_status=$?
78310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78311 (exit $ac_status); }; } &&
78312 { ac_try='test -s conftest$ac_exeext'
78313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78314 (eval $ac_try) 2>&5
78315 ac_status=$?
78316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78317 (exit $ac_status); }; }; then
78318 eval "$as_ac_var=yes"
78319 else
78320 echo "$as_me: failed program was:" >&5
78321 sed 's/^/| /' conftest.$ac_ext >&5
78323 eval "$as_ac_var=no"
78325 rm -f conftest.err conftest.$ac_objext \
78326 conftest$ac_exeext conftest.$ac_ext
78328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78330 if test `eval echo '${'$as_ac_var'}'` = yes; then
78331 cat >>confdefs.h <<_ACEOF
78332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78333 _ACEOF
78336 done
78338 else
78340 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78341 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78342 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78343 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78344 echo $ECHO_N "(cached) $ECHO_C" >&6
78345 else
78349 ac_ext=cc
78350 ac_cpp='$CXXCPP $CPPFLAGS'
78351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78355 cat >conftest.$ac_ext <<_ACEOF
78356 /* confdefs.h. */
78357 _ACEOF
78358 cat confdefs.h >>conftest.$ac_ext
78359 cat >>conftest.$ac_ext <<_ACEOF
78360 /* end confdefs.h. */
78361 #include <math.h>
78363 main ()
78365 _ldexpl(0, 0);
78367 return 0;
78369 _ACEOF
78370 rm -f conftest.$ac_objext
78371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78372 (eval $ac_compile) 2>conftest.er1
78373 ac_status=$?
78374 grep -v '^ *+' conftest.er1 >conftest.err
78375 rm -f conftest.er1
78376 cat conftest.err >&5
78377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78378 (exit $ac_status); } &&
78379 { ac_try='test -z "$ac_cxx_werror_flag"
78380 || test ! -s conftest.err'
78381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78382 (eval $ac_try) 2>&5
78383 ac_status=$?
78384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78385 (exit $ac_status); }; } &&
78386 { ac_try='test -s conftest.$ac_objext'
78387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78388 (eval $ac_try) 2>&5
78389 ac_status=$?
78390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78391 (exit $ac_status); }; }; then
78392 glibcxx_cv_func__ldexpl_use=yes
78393 else
78394 echo "$as_me: failed program was:" >&5
78395 sed 's/^/| /' conftest.$ac_ext >&5
78397 glibcxx_cv_func__ldexpl_use=no
78399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78400 ac_ext=c
78401 ac_cpp='$CPP $CPPFLAGS'
78402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78411 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78413 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78415 for ac_func in _ldexpl
78417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78418 echo "$as_me:$LINENO: checking for $ac_func" >&5
78419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78420 if eval "test \"\${$as_ac_var+set}\" = set"; then
78421 echo $ECHO_N "(cached) $ECHO_C" >&6
78422 else
78423 if test x$gcc_no_link = xyes; then
78424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78426 { (exit 1); exit 1; }; }
78428 cat >conftest.$ac_ext <<_ACEOF
78429 /* confdefs.h. */
78430 _ACEOF
78431 cat confdefs.h >>conftest.$ac_ext
78432 cat >>conftest.$ac_ext <<_ACEOF
78433 /* end confdefs.h. */
78434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78436 #define $ac_func innocuous_$ac_func
78438 /* System header to define __stub macros and hopefully few prototypes,
78439 which can conflict with char $ac_func (); below.
78440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78441 <limits.h> exists even on freestanding compilers. */
78443 #ifdef __STDC__
78444 # include <limits.h>
78445 #else
78446 # include <assert.h>
78447 #endif
78449 #undef $ac_func
78451 /* Override any gcc2 internal prototype to avoid an error. */
78452 #ifdef __cplusplus
78453 extern "C"
78455 #endif
78456 /* We use char because int might match the return type of a gcc2
78457 builtin and then its argument prototype would still apply. */
78458 char $ac_func ();
78459 /* The GNU C library defines this for functions which it implements
78460 to always fail with ENOSYS. Some functions are actually named
78461 something starting with __ and the normal name is an alias. */
78462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78463 choke me
78464 #else
78465 char (*f) () = $ac_func;
78466 #endif
78467 #ifdef __cplusplus
78469 #endif
78472 main ()
78474 return f != $ac_func;
78476 return 0;
78478 _ACEOF
78479 rm -f conftest.$ac_objext conftest$ac_exeext
78480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78481 (eval $ac_link) 2>conftest.er1
78482 ac_status=$?
78483 grep -v '^ *+' conftest.er1 >conftest.err
78484 rm -f conftest.er1
78485 cat conftest.err >&5
78486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78487 (exit $ac_status); } &&
78488 { ac_try='test -z "$ac_c_werror_flag"
78489 || test ! -s conftest.err'
78490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78491 (eval $ac_try) 2>&5
78492 ac_status=$?
78493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78494 (exit $ac_status); }; } &&
78495 { ac_try='test -s conftest$ac_exeext'
78496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78497 (eval $ac_try) 2>&5
78498 ac_status=$?
78499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78500 (exit $ac_status); }; }; then
78501 eval "$as_ac_var=yes"
78502 else
78503 echo "$as_me: failed program was:" >&5
78504 sed 's/^/| /' conftest.$ac_ext >&5
78506 eval "$as_ac_var=no"
78508 rm -f conftest.err conftest.$ac_objext \
78509 conftest$ac_exeext conftest.$ac_ext
78511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78513 if test `eval echo '${'$as_ac_var'}'` = yes; then
78514 cat >>confdefs.h <<_ACEOF
78515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78516 _ACEOF
78519 done
78529 echo "$as_me:$LINENO: checking for logl declaration" >&5
78530 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78531 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78532 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78533 echo $ECHO_N "(cached) $ECHO_C" >&6
78534 else
78538 ac_ext=cc
78539 ac_cpp='$CXXCPP $CPPFLAGS'
78540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78544 cat >conftest.$ac_ext <<_ACEOF
78545 /* confdefs.h. */
78546 _ACEOF
78547 cat confdefs.h >>conftest.$ac_ext
78548 cat >>conftest.$ac_ext <<_ACEOF
78549 /* end confdefs.h. */
78550 #include <math.h>
78551 #ifdef HAVE_IEEEFP_H
78552 #include <ieeefp.h>
78553 #endif
78556 main ()
78558 logl(0);
78560 return 0;
78562 _ACEOF
78563 rm -f conftest.$ac_objext
78564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78565 (eval $ac_compile) 2>conftest.er1
78566 ac_status=$?
78567 grep -v '^ *+' conftest.er1 >conftest.err
78568 rm -f conftest.er1
78569 cat conftest.err >&5
78570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78571 (exit $ac_status); } &&
78572 { ac_try='test -z "$ac_cxx_werror_flag"
78573 || test ! -s conftest.err'
78574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78575 (eval $ac_try) 2>&5
78576 ac_status=$?
78577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78578 (exit $ac_status); }; } &&
78579 { ac_try='test -s conftest.$ac_objext'
78580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78581 (eval $ac_try) 2>&5
78582 ac_status=$?
78583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584 (exit $ac_status); }; }; then
78585 glibcxx_cv_func_logl_use=yes
78586 else
78587 echo "$as_me: failed program was:" >&5
78588 sed 's/^/| /' conftest.$ac_ext >&5
78590 glibcxx_cv_func_logl_use=no
78592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78593 ac_ext=c
78594 ac_cpp='$CPP $CPPFLAGS'
78595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78604 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78606 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78608 for ac_func in logl
78610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78611 echo "$as_me:$LINENO: checking for $ac_func" >&5
78612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78613 if eval "test \"\${$as_ac_var+set}\" = set"; then
78614 echo $ECHO_N "(cached) $ECHO_C" >&6
78615 else
78616 if test x$gcc_no_link = xyes; then
78617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78619 { (exit 1); exit 1; }; }
78621 cat >conftest.$ac_ext <<_ACEOF
78622 /* confdefs.h. */
78623 _ACEOF
78624 cat confdefs.h >>conftest.$ac_ext
78625 cat >>conftest.$ac_ext <<_ACEOF
78626 /* end confdefs.h. */
78627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78629 #define $ac_func innocuous_$ac_func
78631 /* System header to define __stub macros and hopefully few prototypes,
78632 which can conflict with char $ac_func (); below.
78633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78634 <limits.h> exists even on freestanding compilers. */
78636 #ifdef __STDC__
78637 # include <limits.h>
78638 #else
78639 # include <assert.h>
78640 #endif
78642 #undef $ac_func
78644 /* Override any gcc2 internal prototype to avoid an error. */
78645 #ifdef __cplusplus
78646 extern "C"
78648 #endif
78649 /* We use char because int might match the return type of a gcc2
78650 builtin and then its argument prototype would still apply. */
78651 char $ac_func ();
78652 /* The GNU C library defines this for functions which it implements
78653 to always fail with ENOSYS. Some functions are actually named
78654 something starting with __ and the normal name is an alias. */
78655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78656 choke me
78657 #else
78658 char (*f) () = $ac_func;
78659 #endif
78660 #ifdef __cplusplus
78662 #endif
78665 main ()
78667 return f != $ac_func;
78669 return 0;
78671 _ACEOF
78672 rm -f conftest.$ac_objext conftest$ac_exeext
78673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78674 (eval $ac_link) 2>conftest.er1
78675 ac_status=$?
78676 grep -v '^ *+' conftest.er1 >conftest.err
78677 rm -f conftest.er1
78678 cat conftest.err >&5
78679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78680 (exit $ac_status); } &&
78681 { ac_try='test -z "$ac_c_werror_flag"
78682 || test ! -s conftest.err'
78683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78684 (eval $ac_try) 2>&5
78685 ac_status=$?
78686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78687 (exit $ac_status); }; } &&
78688 { ac_try='test -s conftest$ac_exeext'
78689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78690 (eval $ac_try) 2>&5
78691 ac_status=$?
78692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78693 (exit $ac_status); }; }; then
78694 eval "$as_ac_var=yes"
78695 else
78696 echo "$as_me: failed program was:" >&5
78697 sed 's/^/| /' conftest.$ac_ext >&5
78699 eval "$as_ac_var=no"
78701 rm -f conftest.err conftest.$ac_objext \
78702 conftest$ac_exeext conftest.$ac_ext
78704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78706 if test `eval echo '${'$as_ac_var'}'` = yes; then
78707 cat >>confdefs.h <<_ACEOF
78708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78709 _ACEOF
78712 done
78714 else
78716 echo "$as_me:$LINENO: checking for _logl declaration" >&5
78717 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78718 if test x${glibcxx_cv_func__logl_use+set} != xset; then
78719 if test "${glibcxx_cv_func__logl_use+set}" = set; then
78720 echo $ECHO_N "(cached) $ECHO_C" >&6
78721 else
78725 ac_ext=cc
78726 ac_cpp='$CXXCPP $CPPFLAGS'
78727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78731 cat >conftest.$ac_ext <<_ACEOF
78732 /* confdefs.h. */
78733 _ACEOF
78734 cat confdefs.h >>conftest.$ac_ext
78735 cat >>conftest.$ac_ext <<_ACEOF
78736 /* end confdefs.h. */
78737 #include <math.h>
78738 #ifdef HAVE_IEEEFP_H
78739 #include <ieeefp.h>
78740 #endif
78743 main ()
78745 _logl(0);
78747 return 0;
78749 _ACEOF
78750 rm -f conftest.$ac_objext
78751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78752 (eval $ac_compile) 2>conftest.er1
78753 ac_status=$?
78754 grep -v '^ *+' conftest.er1 >conftest.err
78755 rm -f conftest.er1
78756 cat conftest.err >&5
78757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758 (exit $ac_status); } &&
78759 { ac_try='test -z "$ac_cxx_werror_flag"
78760 || test ! -s conftest.err'
78761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78762 (eval $ac_try) 2>&5
78763 ac_status=$?
78764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78765 (exit $ac_status); }; } &&
78766 { ac_try='test -s conftest.$ac_objext'
78767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78768 (eval $ac_try) 2>&5
78769 ac_status=$?
78770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78771 (exit $ac_status); }; }; then
78772 glibcxx_cv_func__logl_use=yes
78773 else
78774 echo "$as_me: failed program was:" >&5
78775 sed 's/^/| /' conftest.$ac_ext >&5
78777 glibcxx_cv_func__logl_use=no
78779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78780 ac_ext=c
78781 ac_cpp='$CPP $CPPFLAGS'
78782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
78791 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
78793 if test x$glibcxx_cv_func__logl_use = x"yes"; then
78795 for ac_func in _logl
78797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78798 echo "$as_me:$LINENO: checking for $ac_func" >&5
78799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78800 if eval "test \"\${$as_ac_var+set}\" = set"; then
78801 echo $ECHO_N "(cached) $ECHO_C" >&6
78802 else
78803 if test x$gcc_no_link = xyes; then
78804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78806 { (exit 1); exit 1; }; }
78808 cat >conftest.$ac_ext <<_ACEOF
78809 /* confdefs.h. */
78810 _ACEOF
78811 cat confdefs.h >>conftest.$ac_ext
78812 cat >>conftest.$ac_ext <<_ACEOF
78813 /* end confdefs.h. */
78814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78816 #define $ac_func innocuous_$ac_func
78818 /* System header to define __stub macros and hopefully few prototypes,
78819 which can conflict with char $ac_func (); below.
78820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78821 <limits.h> exists even on freestanding compilers. */
78823 #ifdef __STDC__
78824 # include <limits.h>
78825 #else
78826 # include <assert.h>
78827 #endif
78829 #undef $ac_func
78831 /* Override any gcc2 internal prototype to avoid an error. */
78832 #ifdef __cplusplus
78833 extern "C"
78835 #endif
78836 /* We use char because int might match the return type of a gcc2
78837 builtin and then its argument prototype would still apply. */
78838 char $ac_func ();
78839 /* The GNU C library defines this for functions which it implements
78840 to always fail with ENOSYS. Some functions are actually named
78841 something starting with __ and the normal name is an alias. */
78842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78843 choke me
78844 #else
78845 char (*f) () = $ac_func;
78846 #endif
78847 #ifdef __cplusplus
78849 #endif
78852 main ()
78854 return f != $ac_func;
78856 return 0;
78858 _ACEOF
78859 rm -f conftest.$ac_objext conftest$ac_exeext
78860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78861 (eval $ac_link) 2>conftest.er1
78862 ac_status=$?
78863 grep -v '^ *+' conftest.er1 >conftest.err
78864 rm -f conftest.er1
78865 cat conftest.err >&5
78866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78867 (exit $ac_status); } &&
78868 { ac_try='test -z "$ac_c_werror_flag"
78869 || test ! -s conftest.err'
78870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78871 (eval $ac_try) 2>&5
78872 ac_status=$?
78873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78874 (exit $ac_status); }; } &&
78875 { ac_try='test -s conftest$ac_exeext'
78876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78877 (eval $ac_try) 2>&5
78878 ac_status=$?
78879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78880 (exit $ac_status); }; }; then
78881 eval "$as_ac_var=yes"
78882 else
78883 echo "$as_me: failed program was:" >&5
78884 sed 's/^/| /' conftest.$ac_ext >&5
78886 eval "$as_ac_var=no"
78888 rm -f conftest.err conftest.$ac_objext \
78889 conftest$ac_exeext conftest.$ac_ext
78891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78893 if test `eval echo '${'$as_ac_var'}'` = yes; then
78894 cat >>confdefs.h <<_ACEOF
78895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78896 _ACEOF
78899 done
78909 echo "$as_me:$LINENO: checking for log10l declaration" >&5
78910 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
78911 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
78912 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
78913 echo $ECHO_N "(cached) $ECHO_C" >&6
78914 else
78918 ac_ext=cc
78919 ac_cpp='$CXXCPP $CPPFLAGS'
78920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78924 cat >conftest.$ac_ext <<_ACEOF
78925 /* confdefs.h. */
78926 _ACEOF
78927 cat confdefs.h >>conftest.$ac_ext
78928 cat >>conftest.$ac_ext <<_ACEOF
78929 /* end confdefs.h. */
78930 #include <math.h>
78931 #ifdef HAVE_IEEEFP_H
78932 #include <ieeefp.h>
78933 #endif
78936 main ()
78938 log10l(0);
78940 return 0;
78942 _ACEOF
78943 rm -f conftest.$ac_objext
78944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78945 (eval $ac_compile) 2>conftest.er1
78946 ac_status=$?
78947 grep -v '^ *+' conftest.er1 >conftest.err
78948 rm -f conftest.er1
78949 cat conftest.err >&5
78950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78951 (exit $ac_status); } &&
78952 { ac_try='test -z "$ac_cxx_werror_flag"
78953 || test ! -s conftest.err'
78954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78955 (eval $ac_try) 2>&5
78956 ac_status=$?
78957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78958 (exit $ac_status); }; } &&
78959 { ac_try='test -s conftest.$ac_objext'
78960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78961 (eval $ac_try) 2>&5
78962 ac_status=$?
78963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78964 (exit $ac_status); }; }; then
78965 glibcxx_cv_func_log10l_use=yes
78966 else
78967 echo "$as_me: failed program was:" >&5
78968 sed 's/^/| /' conftest.$ac_ext >&5
78970 glibcxx_cv_func_log10l_use=no
78972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78973 ac_ext=c
78974 ac_cpp='$CPP $CPPFLAGS'
78975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
78984 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
78986 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
78988 for ac_func in log10l
78990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78991 echo "$as_me:$LINENO: checking for $ac_func" >&5
78992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78993 if eval "test \"\${$as_ac_var+set}\" = set"; then
78994 echo $ECHO_N "(cached) $ECHO_C" >&6
78995 else
78996 if test x$gcc_no_link = xyes; then
78997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78999 { (exit 1); exit 1; }; }
79001 cat >conftest.$ac_ext <<_ACEOF
79002 /* confdefs.h. */
79003 _ACEOF
79004 cat confdefs.h >>conftest.$ac_ext
79005 cat >>conftest.$ac_ext <<_ACEOF
79006 /* end confdefs.h. */
79007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79009 #define $ac_func innocuous_$ac_func
79011 /* System header to define __stub macros and hopefully few prototypes,
79012 which can conflict with char $ac_func (); below.
79013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79014 <limits.h> exists even on freestanding compilers. */
79016 #ifdef __STDC__
79017 # include <limits.h>
79018 #else
79019 # include <assert.h>
79020 #endif
79022 #undef $ac_func
79024 /* Override any gcc2 internal prototype to avoid an error. */
79025 #ifdef __cplusplus
79026 extern "C"
79028 #endif
79029 /* We use char because int might match the return type of a gcc2
79030 builtin and then its argument prototype would still apply. */
79031 char $ac_func ();
79032 /* The GNU C library defines this for functions which it implements
79033 to always fail with ENOSYS. Some functions are actually named
79034 something starting with __ and the normal name is an alias. */
79035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79036 choke me
79037 #else
79038 char (*f) () = $ac_func;
79039 #endif
79040 #ifdef __cplusplus
79042 #endif
79045 main ()
79047 return f != $ac_func;
79049 return 0;
79051 _ACEOF
79052 rm -f conftest.$ac_objext conftest$ac_exeext
79053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79054 (eval $ac_link) 2>conftest.er1
79055 ac_status=$?
79056 grep -v '^ *+' conftest.er1 >conftest.err
79057 rm -f conftest.er1
79058 cat conftest.err >&5
79059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79060 (exit $ac_status); } &&
79061 { ac_try='test -z "$ac_c_werror_flag"
79062 || test ! -s conftest.err'
79063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79064 (eval $ac_try) 2>&5
79065 ac_status=$?
79066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79067 (exit $ac_status); }; } &&
79068 { ac_try='test -s conftest$ac_exeext'
79069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79070 (eval $ac_try) 2>&5
79071 ac_status=$?
79072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79073 (exit $ac_status); }; }; then
79074 eval "$as_ac_var=yes"
79075 else
79076 echo "$as_me: failed program was:" >&5
79077 sed 's/^/| /' conftest.$ac_ext >&5
79079 eval "$as_ac_var=no"
79081 rm -f conftest.err conftest.$ac_objext \
79082 conftest$ac_exeext conftest.$ac_ext
79084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79086 if test `eval echo '${'$as_ac_var'}'` = yes; then
79087 cat >>confdefs.h <<_ACEOF
79088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79089 _ACEOF
79092 done
79094 else
79096 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79097 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79098 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79099 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79100 echo $ECHO_N "(cached) $ECHO_C" >&6
79101 else
79105 ac_ext=cc
79106 ac_cpp='$CXXCPP $CPPFLAGS'
79107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79111 cat >conftest.$ac_ext <<_ACEOF
79112 /* confdefs.h. */
79113 _ACEOF
79114 cat confdefs.h >>conftest.$ac_ext
79115 cat >>conftest.$ac_ext <<_ACEOF
79116 /* end confdefs.h. */
79117 #include <math.h>
79118 #ifdef HAVE_IEEEFP_H
79119 #include <ieeefp.h>
79120 #endif
79123 main ()
79125 _log10l(0);
79127 return 0;
79129 _ACEOF
79130 rm -f conftest.$ac_objext
79131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79132 (eval $ac_compile) 2>conftest.er1
79133 ac_status=$?
79134 grep -v '^ *+' conftest.er1 >conftest.err
79135 rm -f conftest.er1
79136 cat conftest.err >&5
79137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79138 (exit $ac_status); } &&
79139 { ac_try='test -z "$ac_cxx_werror_flag"
79140 || test ! -s conftest.err'
79141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79142 (eval $ac_try) 2>&5
79143 ac_status=$?
79144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79145 (exit $ac_status); }; } &&
79146 { ac_try='test -s conftest.$ac_objext'
79147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79148 (eval $ac_try) 2>&5
79149 ac_status=$?
79150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79151 (exit $ac_status); }; }; then
79152 glibcxx_cv_func__log10l_use=yes
79153 else
79154 echo "$as_me: failed program was:" >&5
79155 sed 's/^/| /' conftest.$ac_ext >&5
79157 glibcxx_cv_func__log10l_use=no
79159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79160 ac_ext=c
79161 ac_cpp='$CPP $CPPFLAGS'
79162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79170 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79171 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79173 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79175 for ac_func in _log10l
79177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79178 echo "$as_me:$LINENO: checking for $ac_func" >&5
79179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79180 if eval "test \"\${$as_ac_var+set}\" = set"; then
79181 echo $ECHO_N "(cached) $ECHO_C" >&6
79182 else
79183 if test x$gcc_no_link = xyes; then
79184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79186 { (exit 1); exit 1; }; }
79188 cat >conftest.$ac_ext <<_ACEOF
79189 /* confdefs.h. */
79190 _ACEOF
79191 cat confdefs.h >>conftest.$ac_ext
79192 cat >>conftest.$ac_ext <<_ACEOF
79193 /* end confdefs.h. */
79194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79196 #define $ac_func innocuous_$ac_func
79198 /* System header to define __stub macros and hopefully few prototypes,
79199 which can conflict with char $ac_func (); below.
79200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79201 <limits.h> exists even on freestanding compilers. */
79203 #ifdef __STDC__
79204 # include <limits.h>
79205 #else
79206 # include <assert.h>
79207 #endif
79209 #undef $ac_func
79211 /* Override any gcc2 internal prototype to avoid an error. */
79212 #ifdef __cplusplus
79213 extern "C"
79215 #endif
79216 /* We use char because int might match the return type of a gcc2
79217 builtin and then its argument prototype would still apply. */
79218 char $ac_func ();
79219 /* The GNU C library defines this for functions which it implements
79220 to always fail with ENOSYS. Some functions are actually named
79221 something starting with __ and the normal name is an alias. */
79222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79223 choke me
79224 #else
79225 char (*f) () = $ac_func;
79226 #endif
79227 #ifdef __cplusplus
79229 #endif
79232 main ()
79234 return f != $ac_func;
79236 return 0;
79238 _ACEOF
79239 rm -f conftest.$ac_objext conftest$ac_exeext
79240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79241 (eval $ac_link) 2>conftest.er1
79242 ac_status=$?
79243 grep -v '^ *+' conftest.er1 >conftest.err
79244 rm -f conftest.er1
79245 cat conftest.err >&5
79246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79247 (exit $ac_status); } &&
79248 { ac_try='test -z "$ac_c_werror_flag"
79249 || test ! -s conftest.err'
79250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79251 (eval $ac_try) 2>&5
79252 ac_status=$?
79253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79254 (exit $ac_status); }; } &&
79255 { ac_try='test -s conftest$ac_exeext'
79256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79257 (eval $ac_try) 2>&5
79258 ac_status=$?
79259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79260 (exit $ac_status); }; }; then
79261 eval "$as_ac_var=yes"
79262 else
79263 echo "$as_me: failed program was:" >&5
79264 sed 's/^/| /' conftest.$ac_ext >&5
79266 eval "$as_ac_var=no"
79268 rm -f conftest.err conftest.$ac_objext \
79269 conftest$ac_exeext conftest.$ac_ext
79271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79273 if test `eval echo '${'$as_ac_var'}'` = yes; then
79274 cat >>confdefs.h <<_ACEOF
79275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79276 _ACEOF
79279 done
79289 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79290 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79291 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79292 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79293 echo $ECHO_N "(cached) $ECHO_C" >&6
79294 else
79298 ac_ext=cc
79299 ac_cpp='$CXXCPP $CPPFLAGS'
79300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79304 cat >conftest.$ac_ext <<_ACEOF
79305 /* confdefs.h. */
79306 _ACEOF
79307 cat confdefs.h >>conftest.$ac_ext
79308 cat >>conftest.$ac_ext <<_ACEOF
79309 /* end confdefs.h. */
79310 #include <math.h>
79312 main ()
79314 modfl(0, 0);
79316 return 0;
79318 _ACEOF
79319 rm -f conftest.$ac_objext
79320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79321 (eval $ac_compile) 2>conftest.er1
79322 ac_status=$?
79323 grep -v '^ *+' conftest.er1 >conftest.err
79324 rm -f conftest.er1
79325 cat conftest.err >&5
79326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79327 (exit $ac_status); } &&
79328 { ac_try='test -z "$ac_cxx_werror_flag"
79329 || test ! -s conftest.err'
79330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79331 (eval $ac_try) 2>&5
79332 ac_status=$?
79333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79334 (exit $ac_status); }; } &&
79335 { ac_try='test -s conftest.$ac_objext'
79336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79337 (eval $ac_try) 2>&5
79338 ac_status=$?
79339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79340 (exit $ac_status); }; }; then
79341 glibcxx_cv_func_modfl_use=yes
79342 else
79343 echo "$as_me: failed program was:" >&5
79344 sed 's/^/| /' conftest.$ac_ext >&5
79346 glibcxx_cv_func_modfl_use=no
79348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79349 ac_ext=c
79350 ac_cpp='$CPP $CPPFLAGS'
79351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79360 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79362 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79364 for ac_func in modfl
79366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79367 echo "$as_me:$LINENO: checking for $ac_func" >&5
79368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79369 if eval "test \"\${$as_ac_var+set}\" = set"; then
79370 echo $ECHO_N "(cached) $ECHO_C" >&6
79371 else
79372 if test x$gcc_no_link = xyes; then
79373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79375 { (exit 1); exit 1; }; }
79377 cat >conftest.$ac_ext <<_ACEOF
79378 /* confdefs.h. */
79379 _ACEOF
79380 cat confdefs.h >>conftest.$ac_ext
79381 cat >>conftest.$ac_ext <<_ACEOF
79382 /* end confdefs.h. */
79383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79385 #define $ac_func innocuous_$ac_func
79387 /* System header to define __stub macros and hopefully few prototypes,
79388 which can conflict with char $ac_func (); below.
79389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79390 <limits.h> exists even on freestanding compilers. */
79392 #ifdef __STDC__
79393 # include <limits.h>
79394 #else
79395 # include <assert.h>
79396 #endif
79398 #undef $ac_func
79400 /* Override any gcc2 internal prototype to avoid an error. */
79401 #ifdef __cplusplus
79402 extern "C"
79404 #endif
79405 /* We use char because int might match the return type of a gcc2
79406 builtin and then its argument prototype would still apply. */
79407 char $ac_func ();
79408 /* The GNU C library defines this for functions which it implements
79409 to always fail with ENOSYS. Some functions are actually named
79410 something starting with __ and the normal name is an alias. */
79411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79412 choke me
79413 #else
79414 char (*f) () = $ac_func;
79415 #endif
79416 #ifdef __cplusplus
79418 #endif
79421 main ()
79423 return f != $ac_func;
79425 return 0;
79427 _ACEOF
79428 rm -f conftest.$ac_objext conftest$ac_exeext
79429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79430 (eval $ac_link) 2>conftest.er1
79431 ac_status=$?
79432 grep -v '^ *+' conftest.er1 >conftest.err
79433 rm -f conftest.er1
79434 cat conftest.err >&5
79435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79436 (exit $ac_status); } &&
79437 { ac_try='test -z "$ac_c_werror_flag"
79438 || test ! -s conftest.err'
79439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79440 (eval $ac_try) 2>&5
79441 ac_status=$?
79442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79443 (exit $ac_status); }; } &&
79444 { ac_try='test -s conftest$ac_exeext'
79445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79446 (eval $ac_try) 2>&5
79447 ac_status=$?
79448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79449 (exit $ac_status); }; }; then
79450 eval "$as_ac_var=yes"
79451 else
79452 echo "$as_me: failed program was:" >&5
79453 sed 's/^/| /' conftest.$ac_ext >&5
79455 eval "$as_ac_var=no"
79457 rm -f conftest.err conftest.$ac_objext \
79458 conftest$ac_exeext conftest.$ac_ext
79460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79462 if test `eval echo '${'$as_ac_var'}'` = yes; then
79463 cat >>confdefs.h <<_ACEOF
79464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79465 _ACEOF
79468 done
79470 else
79472 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79473 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79474 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79475 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79476 echo $ECHO_N "(cached) $ECHO_C" >&6
79477 else
79481 ac_ext=cc
79482 ac_cpp='$CXXCPP $CPPFLAGS'
79483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79487 cat >conftest.$ac_ext <<_ACEOF
79488 /* confdefs.h. */
79489 _ACEOF
79490 cat confdefs.h >>conftest.$ac_ext
79491 cat >>conftest.$ac_ext <<_ACEOF
79492 /* end confdefs.h. */
79493 #include <math.h>
79495 main ()
79497 _modfl(0, 0);
79499 return 0;
79501 _ACEOF
79502 rm -f conftest.$ac_objext
79503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79504 (eval $ac_compile) 2>conftest.er1
79505 ac_status=$?
79506 grep -v '^ *+' conftest.er1 >conftest.err
79507 rm -f conftest.er1
79508 cat conftest.err >&5
79509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79510 (exit $ac_status); } &&
79511 { ac_try='test -z "$ac_cxx_werror_flag"
79512 || test ! -s conftest.err'
79513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79514 (eval $ac_try) 2>&5
79515 ac_status=$?
79516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79517 (exit $ac_status); }; } &&
79518 { ac_try='test -s conftest.$ac_objext'
79519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79520 (eval $ac_try) 2>&5
79521 ac_status=$?
79522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79523 (exit $ac_status); }; }; then
79524 glibcxx_cv_func__modfl_use=yes
79525 else
79526 echo "$as_me: failed program was:" >&5
79527 sed 's/^/| /' conftest.$ac_ext >&5
79529 glibcxx_cv_func__modfl_use=no
79531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79532 ac_ext=c
79533 ac_cpp='$CPP $CPPFLAGS'
79534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79543 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79545 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79547 for ac_func in _modfl
79549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79550 echo "$as_me:$LINENO: checking for $ac_func" >&5
79551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79552 if eval "test \"\${$as_ac_var+set}\" = set"; then
79553 echo $ECHO_N "(cached) $ECHO_C" >&6
79554 else
79555 if test x$gcc_no_link = xyes; then
79556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79558 { (exit 1); exit 1; }; }
79560 cat >conftest.$ac_ext <<_ACEOF
79561 /* confdefs.h. */
79562 _ACEOF
79563 cat confdefs.h >>conftest.$ac_ext
79564 cat >>conftest.$ac_ext <<_ACEOF
79565 /* end confdefs.h. */
79566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79568 #define $ac_func innocuous_$ac_func
79570 /* System header to define __stub macros and hopefully few prototypes,
79571 which can conflict with char $ac_func (); below.
79572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79573 <limits.h> exists even on freestanding compilers. */
79575 #ifdef __STDC__
79576 # include <limits.h>
79577 #else
79578 # include <assert.h>
79579 #endif
79581 #undef $ac_func
79583 /* Override any gcc2 internal prototype to avoid an error. */
79584 #ifdef __cplusplus
79585 extern "C"
79587 #endif
79588 /* We use char because int might match the return type of a gcc2
79589 builtin and then its argument prototype would still apply. */
79590 char $ac_func ();
79591 /* The GNU C library defines this for functions which it implements
79592 to always fail with ENOSYS. Some functions are actually named
79593 something starting with __ and the normal name is an alias. */
79594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79595 choke me
79596 #else
79597 char (*f) () = $ac_func;
79598 #endif
79599 #ifdef __cplusplus
79601 #endif
79604 main ()
79606 return f != $ac_func;
79608 return 0;
79610 _ACEOF
79611 rm -f conftest.$ac_objext conftest$ac_exeext
79612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79613 (eval $ac_link) 2>conftest.er1
79614 ac_status=$?
79615 grep -v '^ *+' conftest.er1 >conftest.err
79616 rm -f conftest.er1
79617 cat conftest.err >&5
79618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79619 (exit $ac_status); } &&
79620 { ac_try='test -z "$ac_c_werror_flag"
79621 || test ! -s conftest.err'
79622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79623 (eval $ac_try) 2>&5
79624 ac_status=$?
79625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79626 (exit $ac_status); }; } &&
79627 { ac_try='test -s conftest$ac_exeext'
79628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79629 (eval $ac_try) 2>&5
79630 ac_status=$?
79631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79632 (exit $ac_status); }; }; then
79633 eval "$as_ac_var=yes"
79634 else
79635 echo "$as_me: failed program was:" >&5
79636 sed 's/^/| /' conftest.$ac_ext >&5
79638 eval "$as_ac_var=no"
79640 rm -f conftest.err conftest.$ac_objext \
79641 conftest$ac_exeext conftest.$ac_ext
79643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79645 if test `eval echo '${'$as_ac_var'}'` = yes; then
79646 cat >>confdefs.h <<_ACEOF
79647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79648 _ACEOF
79651 done
79661 echo "$as_me:$LINENO: checking for powl declaration" >&5
79662 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79663 if test x${glibcxx_cv_func_powl_use+set} != xset; then
79664 if test "${glibcxx_cv_func_powl_use+set}" = set; then
79665 echo $ECHO_N "(cached) $ECHO_C" >&6
79666 else
79670 ac_ext=cc
79671 ac_cpp='$CXXCPP $CPPFLAGS'
79672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79676 cat >conftest.$ac_ext <<_ACEOF
79677 /* confdefs.h. */
79678 _ACEOF
79679 cat confdefs.h >>conftest.$ac_ext
79680 cat >>conftest.$ac_ext <<_ACEOF
79681 /* end confdefs.h. */
79682 #include <math.h>
79684 main ()
79686 powl(0, 0);
79688 return 0;
79690 _ACEOF
79691 rm -f conftest.$ac_objext
79692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79693 (eval $ac_compile) 2>conftest.er1
79694 ac_status=$?
79695 grep -v '^ *+' conftest.er1 >conftest.err
79696 rm -f conftest.er1
79697 cat conftest.err >&5
79698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79699 (exit $ac_status); } &&
79700 { ac_try='test -z "$ac_cxx_werror_flag"
79701 || test ! -s conftest.err'
79702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79703 (eval $ac_try) 2>&5
79704 ac_status=$?
79705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79706 (exit $ac_status); }; } &&
79707 { ac_try='test -s conftest.$ac_objext'
79708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79709 (eval $ac_try) 2>&5
79710 ac_status=$?
79711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79712 (exit $ac_status); }; }; then
79713 glibcxx_cv_func_powl_use=yes
79714 else
79715 echo "$as_me: failed program was:" >&5
79716 sed 's/^/| /' conftest.$ac_ext >&5
79718 glibcxx_cv_func_powl_use=no
79720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79721 ac_ext=c
79722 ac_cpp='$CPP $CPPFLAGS'
79723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
79732 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
79734 if test x$glibcxx_cv_func_powl_use = x"yes"; then
79736 for ac_func in powl
79738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79739 echo "$as_me:$LINENO: checking for $ac_func" >&5
79740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79741 if eval "test \"\${$as_ac_var+set}\" = set"; then
79742 echo $ECHO_N "(cached) $ECHO_C" >&6
79743 else
79744 if test x$gcc_no_link = xyes; then
79745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79747 { (exit 1); exit 1; }; }
79749 cat >conftest.$ac_ext <<_ACEOF
79750 /* confdefs.h. */
79751 _ACEOF
79752 cat confdefs.h >>conftest.$ac_ext
79753 cat >>conftest.$ac_ext <<_ACEOF
79754 /* end confdefs.h. */
79755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79757 #define $ac_func innocuous_$ac_func
79759 /* System header to define __stub macros and hopefully few prototypes,
79760 which can conflict with char $ac_func (); below.
79761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79762 <limits.h> exists even on freestanding compilers. */
79764 #ifdef __STDC__
79765 # include <limits.h>
79766 #else
79767 # include <assert.h>
79768 #endif
79770 #undef $ac_func
79772 /* Override any gcc2 internal prototype to avoid an error. */
79773 #ifdef __cplusplus
79774 extern "C"
79776 #endif
79777 /* We use char because int might match the return type of a gcc2
79778 builtin and then its argument prototype would still apply. */
79779 char $ac_func ();
79780 /* The GNU C library defines this for functions which it implements
79781 to always fail with ENOSYS. Some functions are actually named
79782 something starting with __ and the normal name is an alias. */
79783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79784 choke me
79785 #else
79786 char (*f) () = $ac_func;
79787 #endif
79788 #ifdef __cplusplus
79790 #endif
79793 main ()
79795 return f != $ac_func;
79797 return 0;
79799 _ACEOF
79800 rm -f conftest.$ac_objext conftest$ac_exeext
79801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79802 (eval $ac_link) 2>conftest.er1
79803 ac_status=$?
79804 grep -v '^ *+' conftest.er1 >conftest.err
79805 rm -f conftest.er1
79806 cat conftest.err >&5
79807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79808 (exit $ac_status); } &&
79809 { ac_try='test -z "$ac_c_werror_flag"
79810 || test ! -s conftest.err'
79811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79812 (eval $ac_try) 2>&5
79813 ac_status=$?
79814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79815 (exit $ac_status); }; } &&
79816 { ac_try='test -s conftest$ac_exeext'
79817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79818 (eval $ac_try) 2>&5
79819 ac_status=$?
79820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79821 (exit $ac_status); }; }; then
79822 eval "$as_ac_var=yes"
79823 else
79824 echo "$as_me: failed program was:" >&5
79825 sed 's/^/| /' conftest.$ac_ext >&5
79827 eval "$as_ac_var=no"
79829 rm -f conftest.err conftest.$ac_objext \
79830 conftest$ac_exeext conftest.$ac_ext
79832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79834 if test `eval echo '${'$as_ac_var'}'` = yes; then
79835 cat >>confdefs.h <<_ACEOF
79836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79837 _ACEOF
79840 done
79842 else
79844 echo "$as_me:$LINENO: checking for _powl declaration" >&5
79845 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
79846 if test x${glibcxx_cv_func__powl_use+set} != xset; then
79847 if test "${glibcxx_cv_func__powl_use+set}" = set; then
79848 echo $ECHO_N "(cached) $ECHO_C" >&6
79849 else
79853 ac_ext=cc
79854 ac_cpp='$CXXCPP $CPPFLAGS'
79855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79859 cat >conftest.$ac_ext <<_ACEOF
79860 /* confdefs.h. */
79861 _ACEOF
79862 cat confdefs.h >>conftest.$ac_ext
79863 cat >>conftest.$ac_ext <<_ACEOF
79864 /* end confdefs.h. */
79865 #include <math.h>
79867 main ()
79869 _powl(0, 0);
79871 return 0;
79873 _ACEOF
79874 rm -f conftest.$ac_objext
79875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79876 (eval $ac_compile) 2>conftest.er1
79877 ac_status=$?
79878 grep -v '^ *+' conftest.er1 >conftest.err
79879 rm -f conftest.er1
79880 cat conftest.err >&5
79881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79882 (exit $ac_status); } &&
79883 { ac_try='test -z "$ac_cxx_werror_flag"
79884 || test ! -s conftest.err'
79885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79886 (eval $ac_try) 2>&5
79887 ac_status=$?
79888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79889 (exit $ac_status); }; } &&
79890 { ac_try='test -s conftest.$ac_objext'
79891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79892 (eval $ac_try) 2>&5
79893 ac_status=$?
79894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79895 (exit $ac_status); }; }; then
79896 glibcxx_cv_func__powl_use=yes
79897 else
79898 echo "$as_me: failed program was:" >&5
79899 sed 's/^/| /' conftest.$ac_ext >&5
79901 glibcxx_cv_func__powl_use=no
79903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79904 ac_ext=c
79905 ac_cpp='$CPP $CPPFLAGS'
79906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
79915 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
79917 if test x$glibcxx_cv_func__powl_use = x"yes"; then
79919 for ac_func in _powl
79921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79922 echo "$as_me:$LINENO: checking for $ac_func" >&5
79923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79924 if eval "test \"\${$as_ac_var+set}\" = set"; then
79925 echo $ECHO_N "(cached) $ECHO_C" >&6
79926 else
79927 if test x$gcc_no_link = xyes; then
79928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79930 { (exit 1); exit 1; }; }
79932 cat >conftest.$ac_ext <<_ACEOF
79933 /* confdefs.h. */
79934 _ACEOF
79935 cat confdefs.h >>conftest.$ac_ext
79936 cat >>conftest.$ac_ext <<_ACEOF
79937 /* end confdefs.h. */
79938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79940 #define $ac_func innocuous_$ac_func
79942 /* System header to define __stub macros and hopefully few prototypes,
79943 which can conflict with char $ac_func (); below.
79944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79945 <limits.h> exists even on freestanding compilers. */
79947 #ifdef __STDC__
79948 # include <limits.h>
79949 #else
79950 # include <assert.h>
79951 #endif
79953 #undef $ac_func
79955 /* Override any gcc2 internal prototype to avoid an error. */
79956 #ifdef __cplusplus
79957 extern "C"
79959 #endif
79960 /* We use char because int might match the return type of a gcc2
79961 builtin and then its argument prototype would still apply. */
79962 char $ac_func ();
79963 /* The GNU C library defines this for functions which it implements
79964 to always fail with ENOSYS. Some functions are actually named
79965 something starting with __ and the normal name is an alias. */
79966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79967 choke me
79968 #else
79969 char (*f) () = $ac_func;
79970 #endif
79971 #ifdef __cplusplus
79973 #endif
79976 main ()
79978 return f != $ac_func;
79980 return 0;
79982 _ACEOF
79983 rm -f conftest.$ac_objext conftest$ac_exeext
79984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79985 (eval $ac_link) 2>conftest.er1
79986 ac_status=$?
79987 grep -v '^ *+' conftest.er1 >conftest.err
79988 rm -f conftest.er1
79989 cat conftest.err >&5
79990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79991 (exit $ac_status); } &&
79992 { ac_try='test -z "$ac_c_werror_flag"
79993 || test ! -s conftest.err'
79994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79995 (eval $ac_try) 2>&5
79996 ac_status=$?
79997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79998 (exit $ac_status); }; } &&
79999 { ac_try='test -s conftest$ac_exeext'
80000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80001 (eval $ac_try) 2>&5
80002 ac_status=$?
80003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80004 (exit $ac_status); }; }; then
80005 eval "$as_ac_var=yes"
80006 else
80007 echo "$as_me: failed program was:" >&5
80008 sed 's/^/| /' conftest.$ac_ext >&5
80010 eval "$as_ac_var=no"
80012 rm -f conftest.err conftest.$ac_objext \
80013 conftest$ac_exeext conftest.$ac_ext
80015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80017 if test `eval echo '${'$as_ac_var'}'` = yes; then
80018 cat >>confdefs.h <<_ACEOF
80019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80020 _ACEOF
80023 done
80033 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80034 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80035 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80036 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80037 echo $ECHO_N "(cached) $ECHO_C" >&6
80038 else
80042 ac_ext=cc
80043 ac_cpp='$CXXCPP $CPPFLAGS'
80044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80048 cat >conftest.$ac_ext <<_ACEOF
80049 /* confdefs.h. */
80050 _ACEOF
80051 cat confdefs.h >>conftest.$ac_ext
80052 cat >>conftest.$ac_ext <<_ACEOF
80053 /* end confdefs.h. */
80054 #include <math.h>
80055 #ifdef HAVE_IEEEFP_H
80056 #include <ieeefp.h>
80057 #endif
80060 main ()
80062 sqrtl(0);
80064 return 0;
80066 _ACEOF
80067 rm -f conftest.$ac_objext
80068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80069 (eval $ac_compile) 2>conftest.er1
80070 ac_status=$?
80071 grep -v '^ *+' conftest.er1 >conftest.err
80072 rm -f conftest.er1
80073 cat conftest.err >&5
80074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80075 (exit $ac_status); } &&
80076 { ac_try='test -z "$ac_cxx_werror_flag"
80077 || test ! -s conftest.err'
80078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80079 (eval $ac_try) 2>&5
80080 ac_status=$?
80081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80082 (exit $ac_status); }; } &&
80083 { ac_try='test -s conftest.$ac_objext'
80084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80085 (eval $ac_try) 2>&5
80086 ac_status=$?
80087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80088 (exit $ac_status); }; }; then
80089 glibcxx_cv_func_sqrtl_use=yes
80090 else
80091 echo "$as_me: failed program was:" >&5
80092 sed 's/^/| /' conftest.$ac_ext >&5
80094 glibcxx_cv_func_sqrtl_use=no
80096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80097 ac_ext=c
80098 ac_cpp='$CPP $CPPFLAGS'
80099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80108 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80110 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80112 for ac_func in sqrtl
80114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80115 echo "$as_me:$LINENO: checking for $ac_func" >&5
80116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80117 if eval "test \"\${$as_ac_var+set}\" = set"; then
80118 echo $ECHO_N "(cached) $ECHO_C" >&6
80119 else
80120 if test x$gcc_no_link = xyes; then
80121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80123 { (exit 1); exit 1; }; }
80125 cat >conftest.$ac_ext <<_ACEOF
80126 /* confdefs.h. */
80127 _ACEOF
80128 cat confdefs.h >>conftest.$ac_ext
80129 cat >>conftest.$ac_ext <<_ACEOF
80130 /* end confdefs.h. */
80131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80133 #define $ac_func innocuous_$ac_func
80135 /* System header to define __stub macros and hopefully few prototypes,
80136 which can conflict with char $ac_func (); below.
80137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80138 <limits.h> exists even on freestanding compilers. */
80140 #ifdef __STDC__
80141 # include <limits.h>
80142 #else
80143 # include <assert.h>
80144 #endif
80146 #undef $ac_func
80148 /* Override any gcc2 internal prototype to avoid an error. */
80149 #ifdef __cplusplus
80150 extern "C"
80152 #endif
80153 /* We use char because int might match the return type of a gcc2
80154 builtin and then its argument prototype would still apply. */
80155 char $ac_func ();
80156 /* The GNU C library defines this for functions which it implements
80157 to always fail with ENOSYS. Some functions are actually named
80158 something starting with __ and the normal name is an alias. */
80159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80160 choke me
80161 #else
80162 char (*f) () = $ac_func;
80163 #endif
80164 #ifdef __cplusplus
80166 #endif
80169 main ()
80171 return f != $ac_func;
80173 return 0;
80175 _ACEOF
80176 rm -f conftest.$ac_objext conftest$ac_exeext
80177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80178 (eval $ac_link) 2>conftest.er1
80179 ac_status=$?
80180 grep -v '^ *+' conftest.er1 >conftest.err
80181 rm -f conftest.er1
80182 cat conftest.err >&5
80183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80184 (exit $ac_status); } &&
80185 { ac_try='test -z "$ac_c_werror_flag"
80186 || test ! -s conftest.err'
80187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80188 (eval $ac_try) 2>&5
80189 ac_status=$?
80190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80191 (exit $ac_status); }; } &&
80192 { ac_try='test -s conftest$ac_exeext'
80193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80194 (eval $ac_try) 2>&5
80195 ac_status=$?
80196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80197 (exit $ac_status); }; }; then
80198 eval "$as_ac_var=yes"
80199 else
80200 echo "$as_me: failed program was:" >&5
80201 sed 's/^/| /' conftest.$ac_ext >&5
80203 eval "$as_ac_var=no"
80205 rm -f conftest.err conftest.$ac_objext \
80206 conftest$ac_exeext conftest.$ac_ext
80208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80210 if test `eval echo '${'$as_ac_var'}'` = yes; then
80211 cat >>confdefs.h <<_ACEOF
80212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80213 _ACEOF
80216 done
80218 else
80220 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80221 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80222 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80223 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80224 echo $ECHO_N "(cached) $ECHO_C" >&6
80225 else
80229 ac_ext=cc
80230 ac_cpp='$CXXCPP $CPPFLAGS'
80231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80235 cat >conftest.$ac_ext <<_ACEOF
80236 /* confdefs.h. */
80237 _ACEOF
80238 cat confdefs.h >>conftest.$ac_ext
80239 cat >>conftest.$ac_ext <<_ACEOF
80240 /* end confdefs.h. */
80241 #include <math.h>
80242 #ifdef HAVE_IEEEFP_H
80243 #include <ieeefp.h>
80244 #endif
80247 main ()
80249 _sqrtl(0);
80251 return 0;
80253 _ACEOF
80254 rm -f conftest.$ac_objext
80255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80256 (eval $ac_compile) 2>conftest.er1
80257 ac_status=$?
80258 grep -v '^ *+' conftest.er1 >conftest.err
80259 rm -f conftest.er1
80260 cat conftest.err >&5
80261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80262 (exit $ac_status); } &&
80263 { ac_try='test -z "$ac_cxx_werror_flag"
80264 || test ! -s conftest.err'
80265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80266 (eval $ac_try) 2>&5
80267 ac_status=$?
80268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80269 (exit $ac_status); }; } &&
80270 { ac_try='test -s conftest.$ac_objext'
80271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80272 (eval $ac_try) 2>&5
80273 ac_status=$?
80274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80275 (exit $ac_status); }; }; then
80276 glibcxx_cv_func__sqrtl_use=yes
80277 else
80278 echo "$as_me: failed program was:" >&5
80279 sed 's/^/| /' conftest.$ac_ext >&5
80281 glibcxx_cv_func__sqrtl_use=no
80283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80284 ac_ext=c
80285 ac_cpp='$CPP $CPPFLAGS'
80286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80295 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80297 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80299 for ac_func in _sqrtl
80301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80302 echo "$as_me:$LINENO: checking for $ac_func" >&5
80303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80304 if eval "test \"\${$as_ac_var+set}\" = set"; then
80305 echo $ECHO_N "(cached) $ECHO_C" >&6
80306 else
80307 if test x$gcc_no_link = xyes; then
80308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80310 { (exit 1); exit 1; }; }
80312 cat >conftest.$ac_ext <<_ACEOF
80313 /* confdefs.h. */
80314 _ACEOF
80315 cat confdefs.h >>conftest.$ac_ext
80316 cat >>conftest.$ac_ext <<_ACEOF
80317 /* end confdefs.h. */
80318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80320 #define $ac_func innocuous_$ac_func
80322 /* System header to define __stub macros and hopefully few prototypes,
80323 which can conflict with char $ac_func (); below.
80324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80325 <limits.h> exists even on freestanding compilers. */
80327 #ifdef __STDC__
80328 # include <limits.h>
80329 #else
80330 # include <assert.h>
80331 #endif
80333 #undef $ac_func
80335 /* Override any gcc2 internal prototype to avoid an error. */
80336 #ifdef __cplusplus
80337 extern "C"
80339 #endif
80340 /* We use char because int might match the return type of a gcc2
80341 builtin and then its argument prototype would still apply. */
80342 char $ac_func ();
80343 /* The GNU C library defines this for functions which it implements
80344 to always fail with ENOSYS. Some functions are actually named
80345 something starting with __ and the normal name is an alias. */
80346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80347 choke me
80348 #else
80349 char (*f) () = $ac_func;
80350 #endif
80351 #ifdef __cplusplus
80353 #endif
80356 main ()
80358 return f != $ac_func;
80360 return 0;
80362 _ACEOF
80363 rm -f conftest.$ac_objext conftest$ac_exeext
80364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80365 (eval $ac_link) 2>conftest.er1
80366 ac_status=$?
80367 grep -v '^ *+' conftest.er1 >conftest.err
80368 rm -f conftest.er1
80369 cat conftest.err >&5
80370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80371 (exit $ac_status); } &&
80372 { ac_try='test -z "$ac_c_werror_flag"
80373 || test ! -s conftest.err'
80374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80375 (eval $ac_try) 2>&5
80376 ac_status=$?
80377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80378 (exit $ac_status); }; } &&
80379 { ac_try='test -s conftest$ac_exeext'
80380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80381 (eval $ac_try) 2>&5
80382 ac_status=$?
80383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80384 (exit $ac_status); }; }; then
80385 eval "$as_ac_var=yes"
80386 else
80387 echo "$as_me: failed program was:" >&5
80388 sed 's/^/| /' conftest.$ac_ext >&5
80390 eval "$as_ac_var=no"
80392 rm -f conftest.err conftest.$ac_objext \
80393 conftest$ac_exeext conftest.$ac_ext
80395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80397 if test `eval echo '${'$as_ac_var'}'` = yes; then
80398 cat >>confdefs.h <<_ACEOF
80399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80400 _ACEOF
80403 done
80413 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80414 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80415 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80416 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80417 echo $ECHO_N "(cached) $ECHO_C" >&6
80418 else
80422 ac_ext=cc
80423 ac_cpp='$CXXCPP $CPPFLAGS'
80424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80428 cat >conftest.$ac_ext <<_ACEOF
80429 /* confdefs.h. */
80430 _ACEOF
80431 cat confdefs.h >>conftest.$ac_ext
80432 cat >>conftest.$ac_ext <<_ACEOF
80433 /* end confdefs.h. */
80434 #include <math.h>
80436 main ()
80438 sincosl(0, 0, 0);
80440 return 0;
80442 _ACEOF
80443 rm -f conftest.$ac_objext
80444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80445 (eval $ac_compile) 2>conftest.er1
80446 ac_status=$?
80447 grep -v '^ *+' conftest.er1 >conftest.err
80448 rm -f conftest.er1
80449 cat conftest.err >&5
80450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80451 (exit $ac_status); } &&
80452 { ac_try='test -z "$ac_cxx_werror_flag"
80453 || test ! -s conftest.err'
80454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80455 (eval $ac_try) 2>&5
80456 ac_status=$?
80457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80458 (exit $ac_status); }; } &&
80459 { ac_try='test -s conftest.$ac_objext'
80460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80461 (eval $ac_try) 2>&5
80462 ac_status=$?
80463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80464 (exit $ac_status); }; }; then
80465 glibcxx_cv_func_sincosl_use=yes
80466 else
80467 echo "$as_me: failed program was:" >&5
80468 sed 's/^/| /' conftest.$ac_ext >&5
80470 glibcxx_cv_func_sincosl_use=no
80472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80473 ac_ext=c
80474 ac_cpp='$CPP $CPPFLAGS'
80475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80484 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80486 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80488 for ac_func in sincosl
80490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80491 echo "$as_me:$LINENO: checking for $ac_func" >&5
80492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80493 if eval "test \"\${$as_ac_var+set}\" = set"; then
80494 echo $ECHO_N "(cached) $ECHO_C" >&6
80495 else
80496 if test x$gcc_no_link = xyes; then
80497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80499 { (exit 1); exit 1; }; }
80501 cat >conftest.$ac_ext <<_ACEOF
80502 /* confdefs.h. */
80503 _ACEOF
80504 cat confdefs.h >>conftest.$ac_ext
80505 cat >>conftest.$ac_ext <<_ACEOF
80506 /* end confdefs.h. */
80507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80509 #define $ac_func innocuous_$ac_func
80511 /* System header to define __stub macros and hopefully few prototypes,
80512 which can conflict with char $ac_func (); below.
80513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80514 <limits.h> exists even on freestanding compilers. */
80516 #ifdef __STDC__
80517 # include <limits.h>
80518 #else
80519 # include <assert.h>
80520 #endif
80522 #undef $ac_func
80524 /* Override any gcc2 internal prototype to avoid an error. */
80525 #ifdef __cplusplus
80526 extern "C"
80528 #endif
80529 /* We use char because int might match the return type of a gcc2
80530 builtin and then its argument prototype would still apply. */
80531 char $ac_func ();
80532 /* The GNU C library defines this for functions which it implements
80533 to always fail with ENOSYS. Some functions are actually named
80534 something starting with __ and the normal name is an alias. */
80535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80536 choke me
80537 #else
80538 char (*f) () = $ac_func;
80539 #endif
80540 #ifdef __cplusplus
80542 #endif
80545 main ()
80547 return f != $ac_func;
80549 return 0;
80551 _ACEOF
80552 rm -f conftest.$ac_objext conftest$ac_exeext
80553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80554 (eval $ac_link) 2>conftest.er1
80555 ac_status=$?
80556 grep -v '^ *+' conftest.er1 >conftest.err
80557 rm -f conftest.er1
80558 cat conftest.err >&5
80559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80560 (exit $ac_status); } &&
80561 { ac_try='test -z "$ac_c_werror_flag"
80562 || test ! -s conftest.err'
80563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80564 (eval $ac_try) 2>&5
80565 ac_status=$?
80566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80567 (exit $ac_status); }; } &&
80568 { ac_try='test -s conftest$ac_exeext'
80569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80570 (eval $ac_try) 2>&5
80571 ac_status=$?
80572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80573 (exit $ac_status); }; }; then
80574 eval "$as_ac_var=yes"
80575 else
80576 echo "$as_me: failed program was:" >&5
80577 sed 's/^/| /' conftest.$ac_ext >&5
80579 eval "$as_ac_var=no"
80581 rm -f conftest.err conftest.$ac_objext \
80582 conftest$ac_exeext conftest.$ac_ext
80584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80586 if test `eval echo '${'$as_ac_var'}'` = yes; then
80587 cat >>confdefs.h <<_ACEOF
80588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80589 _ACEOF
80592 done
80594 else
80596 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80597 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80598 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80599 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80600 echo $ECHO_N "(cached) $ECHO_C" >&6
80601 else
80605 ac_ext=cc
80606 ac_cpp='$CXXCPP $CPPFLAGS'
80607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80611 cat >conftest.$ac_ext <<_ACEOF
80612 /* confdefs.h. */
80613 _ACEOF
80614 cat confdefs.h >>conftest.$ac_ext
80615 cat >>conftest.$ac_ext <<_ACEOF
80616 /* end confdefs.h. */
80617 #include <math.h>
80619 main ()
80621 _sincosl(0, 0, 0);
80623 return 0;
80625 _ACEOF
80626 rm -f conftest.$ac_objext
80627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80628 (eval $ac_compile) 2>conftest.er1
80629 ac_status=$?
80630 grep -v '^ *+' conftest.er1 >conftest.err
80631 rm -f conftest.er1
80632 cat conftest.err >&5
80633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80634 (exit $ac_status); } &&
80635 { ac_try='test -z "$ac_cxx_werror_flag"
80636 || test ! -s conftest.err'
80637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80638 (eval $ac_try) 2>&5
80639 ac_status=$?
80640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80641 (exit $ac_status); }; } &&
80642 { ac_try='test -s conftest.$ac_objext'
80643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80644 (eval $ac_try) 2>&5
80645 ac_status=$?
80646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80647 (exit $ac_status); }; }; then
80648 glibcxx_cv_func__sincosl_use=yes
80649 else
80650 echo "$as_me: failed program was:" >&5
80651 sed 's/^/| /' conftest.$ac_ext >&5
80653 glibcxx_cv_func__sincosl_use=no
80655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80656 ac_ext=c
80657 ac_cpp='$CPP $CPPFLAGS'
80658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80667 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80669 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80671 for ac_func in _sincosl
80673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80674 echo "$as_me:$LINENO: checking for $ac_func" >&5
80675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80676 if eval "test \"\${$as_ac_var+set}\" = set"; then
80677 echo $ECHO_N "(cached) $ECHO_C" >&6
80678 else
80679 if test x$gcc_no_link = xyes; then
80680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80682 { (exit 1); exit 1; }; }
80684 cat >conftest.$ac_ext <<_ACEOF
80685 /* confdefs.h. */
80686 _ACEOF
80687 cat confdefs.h >>conftest.$ac_ext
80688 cat >>conftest.$ac_ext <<_ACEOF
80689 /* end confdefs.h. */
80690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80692 #define $ac_func innocuous_$ac_func
80694 /* System header to define __stub macros and hopefully few prototypes,
80695 which can conflict with char $ac_func (); below.
80696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80697 <limits.h> exists even on freestanding compilers. */
80699 #ifdef __STDC__
80700 # include <limits.h>
80701 #else
80702 # include <assert.h>
80703 #endif
80705 #undef $ac_func
80707 /* Override any gcc2 internal prototype to avoid an error. */
80708 #ifdef __cplusplus
80709 extern "C"
80711 #endif
80712 /* We use char because int might match the return type of a gcc2
80713 builtin and then its argument prototype would still apply. */
80714 char $ac_func ();
80715 /* The GNU C library defines this for functions which it implements
80716 to always fail with ENOSYS. Some functions are actually named
80717 something starting with __ and the normal name is an alias. */
80718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80719 choke me
80720 #else
80721 char (*f) () = $ac_func;
80722 #endif
80723 #ifdef __cplusplus
80725 #endif
80728 main ()
80730 return f != $ac_func;
80732 return 0;
80734 _ACEOF
80735 rm -f conftest.$ac_objext conftest$ac_exeext
80736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80737 (eval $ac_link) 2>conftest.er1
80738 ac_status=$?
80739 grep -v '^ *+' conftest.er1 >conftest.err
80740 rm -f conftest.er1
80741 cat conftest.err >&5
80742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80743 (exit $ac_status); } &&
80744 { ac_try='test -z "$ac_c_werror_flag"
80745 || test ! -s conftest.err'
80746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80747 (eval $ac_try) 2>&5
80748 ac_status=$?
80749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80750 (exit $ac_status); }; } &&
80751 { ac_try='test -s conftest$ac_exeext'
80752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80753 (eval $ac_try) 2>&5
80754 ac_status=$?
80755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80756 (exit $ac_status); }; }; then
80757 eval "$as_ac_var=yes"
80758 else
80759 echo "$as_me: failed program was:" >&5
80760 sed 's/^/| /' conftest.$ac_ext >&5
80762 eval "$as_ac_var=no"
80764 rm -f conftest.err conftest.$ac_objext \
80765 conftest$ac_exeext conftest.$ac_ext
80767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80769 if test `eval echo '${'$as_ac_var'}'` = yes; then
80770 cat >>confdefs.h <<_ACEOF
80771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80772 _ACEOF
80775 done
80785 echo "$as_me:$LINENO: checking for finitel declaration" >&5
80786 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
80787 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
80788 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
80789 echo $ECHO_N "(cached) $ECHO_C" >&6
80790 else
80794 ac_ext=cc
80795 ac_cpp='$CXXCPP $CPPFLAGS'
80796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80800 cat >conftest.$ac_ext <<_ACEOF
80801 /* confdefs.h. */
80802 _ACEOF
80803 cat confdefs.h >>conftest.$ac_ext
80804 cat >>conftest.$ac_ext <<_ACEOF
80805 /* end confdefs.h. */
80806 #include <math.h>
80807 #ifdef HAVE_IEEEFP_H
80808 #include <ieeefp.h>
80809 #endif
80812 main ()
80814 finitel(0);
80816 return 0;
80818 _ACEOF
80819 rm -f conftest.$ac_objext
80820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80821 (eval $ac_compile) 2>conftest.er1
80822 ac_status=$?
80823 grep -v '^ *+' conftest.er1 >conftest.err
80824 rm -f conftest.er1
80825 cat conftest.err >&5
80826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80827 (exit $ac_status); } &&
80828 { ac_try='test -z "$ac_cxx_werror_flag"
80829 || test ! -s conftest.err'
80830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80831 (eval $ac_try) 2>&5
80832 ac_status=$?
80833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80834 (exit $ac_status); }; } &&
80835 { ac_try='test -s conftest.$ac_objext'
80836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80837 (eval $ac_try) 2>&5
80838 ac_status=$?
80839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80840 (exit $ac_status); }; }; then
80841 glibcxx_cv_func_finitel_use=yes
80842 else
80843 echo "$as_me: failed program was:" >&5
80844 sed 's/^/| /' conftest.$ac_ext >&5
80846 glibcxx_cv_func_finitel_use=no
80848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80849 ac_ext=c
80850 ac_cpp='$CPP $CPPFLAGS'
80851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
80860 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
80862 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
80864 for ac_func in finitel
80866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80867 echo "$as_me:$LINENO: checking for $ac_func" >&5
80868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80869 if eval "test \"\${$as_ac_var+set}\" = set"; then
80870 echo $ECHO_N "(cached) $ECHO_C" >&6
80871 else
80872 if test x$gcc_no_link = xyes; then
80873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80875 { (exit 1); exit 1; }; }
80877 cat >conftest.$ac_ext <<_ACEOF
80878 /* confdefs.h. */
80879 _ACEOF
80880 cat confdefs.h >>conftest.$ac_ext
80881 cat >>conftest.$ac_ext <<_ACEOF
80882 /* end confdefs.h. */
80883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80885 #define $ac_func innocuous_$ac_func
80887 /* System header to define __stub macros and hopefully few prototypes,
80888 which can conflict with char $ac_func (); below.
80889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80890 <limits.h> exists even on freestanding compilers. */
80892 #ifdef __STDC__
80893 # include <limits.h>
80894 #else
80895 # include <assert.h>
80896 #endif
80898 #undef $ac_func
80900 /* Override any gcc2 internal prototype to avoid an error. */
80901 #ifdef __cplusplus
80902 extern "C"
80904 #endif
80905 /* We use char because int might match the return type of a gcc2
80906 builtin and then its argument prototype would still apply. */
80907 char $ac_func ();
80908 /* The GNU C library defines this for functions which it implements
80909 to always fail with ENOSYS. Some functions are actually named
80910 something starting with __ and the normal name is an alias. */
80911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80912 choke me
80913 #else
80914 char (*f) () = $ac_func;
80915 #endif
80916 #ifdef __cplusplus
80918 #endif
80921 main ()
80923 return f != $ac_func;
80925 return 0;
80927 _ACEOF
80928 rm -f conftest.$ac_objext conftest$ac_exeext
80929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80930 (eval $ac_link) 2>conftest.er1
80931 ac_status=$?
80932 grep -v '^ *+' conftest.er1 >conftest.err
80933 rm -f conftest.er1
80934 cat conftest.err >&5
80935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80936 (exit $ac_status); } &&
80937 { ac_try='test -z "$ac_c_werror_flag"
80938 || test ! -s conftest.err'
80939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80940 (eval $ac_try) 2>&5
80941 ac_status=$?
80942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80943 (exit $ac_status); }; } &&
80944 { ac_try='test -s conftest$ac_exeext'
80945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80946 (eval $ac_try) 2>&5
80947 ac_status=$?
80948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80949 (exit $ac_status); }; }; then
80950 eval "$as_ac_var=yes"
80951 else
80952 echo "$as_me: failed program was:" >&5
80953 sed 's/^/| /' conftest.$ac_ext >&5
80955 eval "$as_ac_var=no"
80957 rm -f conftest.err conftest.$ac_objext \
80958 conftest$ac_exeext conftest.$ac_ext
80960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80962 if test `eval echo '${'$as_ac_var'}'` = yes; then
80963 cat >>confdefs.h <<_ACEOF
80964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80965 _ACEOF
80968 done
80970 else
80972 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
80973 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
80974 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
80975 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
80976 echo $ECHO_N "(cached) $ECHO_C" >&6
80977 else
80981 ac_ext=cc
80982 ac_cpp='$CXXCPP $CPPFLAGS'
80983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80987 cat >conftest.$ac_ext <<_ACEOF
80988 /* confdefs.h. */
80989 _ACEOF
80990 cat confdefs.h >>conftest.$ac_ext
80991 cat >>conftest.$ac_ext <<_ACEOF
80992 /* end confdefs.h. */
80993 #include <math.h>
80994 #ifdef HAVE_IEEEFP_H
80995 #include <ieeefp.h>
80996 #endif
80999 main ()
81001 _finitel(0);
81003 return 0;
81005 _ACEOF
81006 rm -f conftest.$ac_objext
81007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81008 (eval $ac_compile) 2>conftest.er1
81009 ac_status=$?
81010 grep -v '^ *+' conftest.er1 >conftest.err
81011 rm -f conftest.er1
81012 cat conftest.err >&5
81013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81014 (exit $ac_status); } &&
81015 { ac_try='test -z "$ac_cxx_werror_flag"
81016 || test ! -s conftest.err'
81017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81018 (eval $ac_try) 2>&5
81019 ac_status=$?
81020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81021 (exit $ac_status); }; } &&
81022 { ac_try='test -s conftest.$ac_objext'
81023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81024 (eval $ac_try) 2>&5
81025 ac_status=$?
81026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81027 (exit $ac_status); }; }; then
81028 glibcxx_cv_func__finitel_use=yes
81029 else
81030 echo "$as_me: failed program was:" >&5
81031 sed 's/^/| /' conftest.$ac_ext >&5
81033 glibcxx_cv_func__finitel_use=no
81035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81036 ac_ext=c
81037 ac_cpp='$CPP $CPPFLAGS'
81038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81047 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81049 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81051 for ac_func in _finitel
81053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81054 echo "$as_me:$LINENO: checking for $ac_func" >&5
81055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81056 if eval "test \"\${$as_ac_var+set}\" = set"; then
81057 echo $ECHO_N "(cached) $ECHO_C" >&6
81058 else
81059 if test x$gcc_no_link = xyes; then
81060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81062 { (exit 1); exit 1; }; }
81064 cat >conftest.$ac_ext <<_ACEOF
81065 /* confdefs.h. */
81066 _ACEOF
81067 cat confdefs.h >>conftest.$ac_ext
81068 cat >>conftest.$ac_ext <<_ACEOF
81069 /* end confdefs.h. */
81070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81072 #define $ac_func innocuous_$ac_func
81074 /* System header to define __stub macros and hopefully few prototypes,
81075 which can conflict with char $ac_func (); below.
81076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81077 <limits.h> exists even on freestanding compilers. */
81079 #ifdef __STDC__
81080 # include <limits.h>
81081 #else
81082 # include <assert.h>
81083 #endif
81085 #undef $ac_func
81087 /* Override any gcc2 internal prototype to avoid an error. */
81088 #ifdef __cplusplus
81089 extern "C"
81091 #endif
81092 /* We use char because int might match the return type of a gcc2
81093 builtin and then its argument prototype would still apply. */
81094 char $ac_func ();
81095 /* The GNU C library defines this for functions which it implements
81096 to always fail with ENOSYS. Some functions are actually named
81097 something starting with __ and the normal name is an alias. */
81098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81099 choke me
81100 #else
81101 char (*f) () = $ac_func;
81102 #endif
81103 #ifdef __cplusplus
81105 #endif
81108 main ()
81110 return f != $ac_func;
81112 return 0;
81114 _ACEOF
81115 rm -f conftest.$ac_objext conftest$ac_exeext
81116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81117 (eval $ac_link) 2>conftest.er1
81118 ac_status=$?
81119 grep -v '^ *+' conftest.er1 >conftest.err
81120 rm -f conftest.er1
81121 cat conftest.err >&5
81122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81123 (exit $ac_status); } &&
81124 { ac_try='test -z "$ac_c_werror_flag"
81125 || test ! -s conftest.err'
81126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81127 (eval $ac_try) 2>&5
81128 ac_status=$?
81129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81130 (exit $ac_status); }; } &&
81131 { ac_try='test -s conftest$ac_exeext'
81132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81133 (eval $ac_try) 2>&5
81134 ac_status=$?
81135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81136 (exit $ac_status); }; }; then
81137 eval "$as_ac_var=yes"
81138 else
81139 echo "$as_me: failed program was:" >&5
81140 sed 's/^/| /' conftest.$ac_ext >&5
81142 eval "$as_ac_var=no"
81144 rm -f conftest.err conftest.$ac_objext \
81145 conftest$ac_exeext conftest.$ac_ext
81147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81149 if test `eval echo '${'$as_ac_var'}'` = yes; then
81150 cat >>confdefs.h <<_ACEOF
81151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81152 _ACEOF
81155 done
81164 LIBS="$ac_save_LIBS"
81165 CXXFLAGS="$ac_save_CXXFLAGS"
81169 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81170 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81171 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81172 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81173 echo $ECHO_N "(cached) $ECHO_C" >&6
81174 else
81178 ac_ext=cc
81179 ac_cpp='$CXXCPP $CPPFLAGS'
81180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81184 cat >conftest.$ac_ext <<_ACEOF
81185 /* confdefs.h. */
81186 _ACEOF
81187 cat confdefs.h >>conftest.$ac_ext
81188 cat >>conftest.$ac_ext <<_ACEOF
81189 /* end confdefs.h. */
81190 #include <math.h>
81192 main ()
81194 __builtin_abs(0);
81196 return 0;
81198 _ACEOF
81199 rm -f conftest.$ac_objext
81200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81201 (eval $ac_compile) 2>conftest.er1
81202 ac_status=$?
81203 grep -v '^ *+' conftest.er1 >conftest.err
81204 rm -f conftest.er1
81205 cat conftest.err >&5
81206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81207 (exit $ac_status); } &&
81208 { ac_try='test -z "$ac_cxx_werror_flag"
81209 || test ! -s conftest.err'
81210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81211 (eval $ac_try) 2>&5
81212 ac_status=$?
81213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81214 (exit $ac_status); }; } &&
81215 { ac_try='test -s conftest.$ac_objext'
81216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81217 (eval $ac_try) 2>&5
81218 ac_status=$?
81219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81220 (exit $ac_status); }; }; then
81221 glibcxx_cv_func___builtin_abs_use=yes
81222 else
81223 echo "$as_me: failed program was:" >&5
81224 sed 's/^/| /' conftest.$ac_ext >&5
81226 glibcxx_cv_func___builtin_abs_use=no
81228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81229 ac_ext=c
81230 ac_cpp='$CPP $CPPFLAGS'
81231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81239 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81240 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81241 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81242 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81243 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81244 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81245 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81246 echo $ECHO_N "(cached) $ECHO_C" >&6
81247 else
81249 if test x$gcc_no_link = xyes; then
81250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81252 { (exit 1); exit 1; }; }
81254 cat >conftest.$ac_ext <<_ACEOF
81255 /* confdefs.h. */
81256 _ACEOF
81257 cat confdefs.h >>conftest.$ac_ext
81258 cat >>conftest.$ac_ext <<_ACEOF
81259 /* end confdefs.h. */
81260 #include <math.h>
81262 main ()
81264 __builtin_abs(0);
81266 return 0;
81268 _ACEOF
81269 rm -f conftest.$ac_objext conftest$ac_exeext
81270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81271 (eval $ac_link) 2>conftest.er1
81272 ac_status=$?
81273 grep -v '^ *+' conftest.er1 >conftest.err
81274 rm -f conftest.er1
81275 cat conftest.err >&5
81276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81277 (exit $ac_status); } &&
81278 { ac_try='test -z "$ac_c_werror_flag"
81279 || test ! -s conftest.err'
81280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81281 (eval $ac_try) 2>&5
81282 ac_status=$?
81283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81284 (exit $ac_status); }; } &&
81285 { ac_try='test -s conftest$ac_exeext'
81286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81287 (eval $ac_try) 2>&5
81288 ac_status=$?
81289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81290 (exit $ac_status); }; }; then
81291 glibcxx_cv_func___builtin_abs_link=yes
81292 else
81293 echo "$as_me: failed program was:" >&5
81294 sed 's/^/| /' conftest.$ac_ext >&5
81296 glibcxx_cv_func___builtin_abs_link=no
81298 rm -f conftest.err conftest.$ac_objext \
81299 conftest$ac_exeext conftest.$ac_ext
81304 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81305 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81307 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81309 cat >>confdefs.h <<\_ACEOF
81310 #define HAVE___BUILTIN_ABS 1
81311 _ACEOF
81318 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81319 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81320 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81321 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81322 echo $ECHO_N "(cached) $ECHO_C" >&6
81323 else
81327 ac_ext=cc
81328 ac_cpp='$CXXCPP $CPPFLAGS'
81329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81333 cat >conftest.$ac_ext <<_ACEOF
81334 /* confdefs.h. */
81335 _ACEOF
81336 cat confdefs.h >>conftest.$ac_ext
81337 cat >>conftest.$ac_ext <<_ACEOF
81338 /* end confdefs.h. */
81339 #include <math.h>
81341 main ()
81343 __builtin_fabsf(0);
81345 return 0;
81347 _ACEOF
81348 rm -f conftest.$ac_objext
81349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81350 (eval $ac_compile) 2>conftest.er1
81351 ac_status=$?
81352 grep -v '^ *+' conftest.er1 >conftest.err
81353 rm -f conftest.er1
81354 cat conftest.err >&5
81355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81356 (exit $ac_status); } &&
81357 { ac_try='test -z "$ac_cxx_werror_flag"
81358 || test ! -s conftest.err'
81359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81360 (eval $ac_try) 2>&5
81361 ac_status=$?
81362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81363 (exit $ac_status); }; } &&
81364 { ac_try='test -s conftest.$ac_objext'
81365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81366 (eval $ac_try) 2>&5
81367 ac_status=$?
81368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81369 (exit $ac_status); }; }; then
81370 glibcxx_cv_func___builtin_fabsf_use=yes
81371 else
81372 echo "$as_me: failed program was:" >&5
81373 sed 's/^/| /' conftest.$ac_ext >&5
81375 glibcxx_cv_func___builtin_fabsf_use=no
81377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81378 ac_ext=c
81379 ac_cpp='$CPP $CPPFLAGS'
81380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81389 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81390 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81391 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81392 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81393 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81394 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81395 echo $ECHO_N "(cached) $ECHO_C" >&6
81396 else
81398 if test x$gcc_no_link = xyes; then
81399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81401 { (exit 1); exit 1; }; }
81403 cat >conftest.$ac_ext <<_ACEOF
81404 /* confdefs.h. */
81405 _ACEOF
81406 cat confdefs.h >>conftest.$ac_ext
81407 cat >>conftest.$ac_ext <<_ACEOF
81408 /* end confdefs.h. */
81409 #include <math.h>
81411 main ()
81413 __builtin_fabsf(0);
81415 return 0;
81417 _ACEOF
81418 rm -f conftest.$ac_objext conftest$ac_exeext
81419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81420 (eval $ac_link) 2>conftest.er1
81421 ac_status=$?
81422 grep -v '^ *+' conftest.er1 >conftest.err
81423 rm -f conftest.er1
81424 cat conftest.err >&5
81425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81426 (exit $ac_status); } &&
81427 { ac_try='test -z "$ac_c_werror_flag"
81428 || test ! -s conftest.err'
81429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81430 (eval $ac_try) 2>&5
81431 ac_status=$?
81432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81433 (exit $ac_status); }; } &&
81434 { ac_try='test -s conftest$ac_exeext'
81435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81436 (eval $ac_try) 2>&5
81437 ac_status=$?
81438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81439 (exit $ac_status); }; }; then
81440 glibcxx_cv_func___builtin_fabsf_link=yes
81441 else
81442 echo "$as_me: failed program was:" >&5
81443 sed 's/^/| /' conftest.$ac_ext >&5
81445 glibcxx_cv_func___builtin_fabsf_link=no
81447 rm -f conftest.err conftest.$ac_objext \
81448 conftest$ac_exeext conftest.$ac_ext
81453 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81454 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81456 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81458 cat >>confdefs.h <<\_ACEOF
81459 #define HAVE___BUILTIN_FABSF 1
81460 _ACEOF
81467 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81468 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81469 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81470 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81471 echo $ECHO_N "(cached) $ECHO_C" >&6
81472 else
81476 ac_ext=cc
81477 ac_cpp='$CXXCPP $CPPFLAGS'
81478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81482 cat >conftest.$ac_ext <<_ACEOF
81483 /* confdefs.h. */
81484 _ACEOF
81485 cat confdefs.h >>conftest.$ac_ext
81486 cat >>conftest.$ac_ext <<_ACEOF
81487 /* end confdefs.h. */
81488 #include <math.h>
81490 main ()
81492 __builtin_fabs(0);
81494 return 0;
81496 _ACEOF
81497 rm -f conftest.$ac_objext
81498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81499 (eval $ac_compile) 2>conftest.er1
81500 ac_status=$?
81501 grep -v '^ *+' conftest.er1 >conftest.err
81502 rm -f conftest.er1
81503 cat conftest.err >&5
81504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81505 (exit $ac_status); } &&
81506 { ac_try='test -z "$ac_cxx_werror_flag"
81507 || test ! -s conftest.err'
81508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81509 (eval $ac_try) 2>&5
81510 ac_status=$?
81511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81512 (exit $ac_status); }; } &&
81513 { ac_try='test -s conftest.$ac_objext'
81514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81515 (eval $ac_try) 2>&5
81516 ac_status=$?
81517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81518 (exit $ac_status); }; }; then
81519 glibcxx_cv_func___builtin_fabs_use=yes
81520 else
81521 echo "$as_me: failed program was:" >&5
81522 sed 's/^/| /' conftest.$ac_ext >&5
81524 glibcxx_cv_func___builtin_fabs_use=no
81526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81527 ac_ext=c
81528 ac_cpp='$CPP $CPPFLAGS'
81529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81538 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81539 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81540 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81541 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81542 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81543 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81544 echo $ECHO_N "(cached) $ECHO_C" >&6
81545 else
81547 if test x$gcc_no_link = xyes; then
81548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81550 { (exit 1); exit 1; }; }
81552 cat >conftest.$ac_ext <<_ACEOF
81553 /* confdefs.h. */
81554 _ACEOF
81555 cat confdefs.h >>conftest.$ac_ext
81556 cat >>conftest.$ac_ext <<_ACEOF
81557 /* end confdefs.h. */
81558 #include <math.h>
81560 main ()
81562 __builtin_fabs(0);
81564 return 0;
81566 _ACEOF
81567 rm -f conftest.$ac_objext conftest$ac_exeext
81568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81569 (eval $ac_link) 2>conftest.er1
81570 ac_status=$?
81571 grep -v '^ *+' conftest.er1 >conftest.err
81572 rm -f conftest.er1
81573 cat conftest.err >&5
81574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81575 (exit $ac_status); } &&
81576 { ac_try='test -z "$ac_c_werror_flag"
81577 || test ! -s conftest.err'
81578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81579 (eval $ac_try) 2>&5
81580 ac_status=$?
81581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81582 (exit $ac_status); }; } &&
81583 { ac_try='test -s conftest$ac_exeext'
81584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81585 (eval $ac_try) 2>&5
81586 ac_status=$?
81587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81588 (exit $ac_status); }; }; then
81589 glibcxx_cv_func___builtin_fabs_link=yes
81590 else
81591 echo "$as_me: failed program was:" >&5
81592 sed 's/^/| /' conftest.$ac_ext >&5
81594 glibcxx_cv_func___builtin_fabs_link=no
81596 rm -f conftest.err conftest.$ac_objext \
81597 conftest$ac_exeext conftest.$ac_ext
81602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81603 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81605 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81607 cat >>confdefs.h <<\_ACEOF
81608 #define HAVE___BUILTIN_FABS 1
81609 _ACEOF
81616 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81617 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81618 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81619 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81620 echo $ECHO_N "(cached) $ECHO_C" >&6
81621 else
81625 ac_ext=cc
81626 ac_cpp='$CXXCPP $CPPFLAGS'
81627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81631 cat >conftest.$ac_ext <<_ACEOF
81632 /* confdefs.h. */
81633 _ACEOF
81634 cat confdefs.h >>conftest.$ac_ext
81635 cat >>conftest.$ac_ext <<_ACEOF
81636 /* end confdefs.h. */
81637 #include <math.h>
81639 main ()
81641 __builtin_fabsl(0);
81643 return 0;
81645 _ACEOF
81646 rm -f conftest.$ac_objext
81647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81648 (eval $ac_compile) 2>conftest.er1
81649 ac_status=$?
81650 grep -v '^ *+' conftest.er1 >conftest.err
81651 rm -f conftest.er1
81652 cat conftest.err >&5
81653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81654 (exit $ac_status); } &&
81655 { ac_try='test -z "$ac_cxx_werror_flag"
81656 || test ! -s conftest.err'
81657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81658 (eval $ac_try) 2>&5
81659 ac_status=$?
81660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81661 (exit $ac_status); }; } &&
81662 { ac_try='test -s conftest.$ac_objext'
81663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81664 (eval $ac_try) 2>&5
81665 ac_status=$?
81666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81667 (exit $ac_status); }; }; then
81668 glibcxx_cv_func___builtin_fabsl_use=yes
81669 else
81670 echo "$as_me: failed program was:" >&5
81671 sed 's/^/| /' conftest.$ac_ext >&5
81673 glibcxx_cv_func___builtin_fabsl_use=no
81675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81676 ac_ext=c
81677 ac_cpp='$CPP $CPPFLAGS'
81678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81687 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81688 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81689 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81690 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81691 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81692 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81693 echo $ECHO_N "(cached) $ECHO_C" >&6
81694 else
81696 if test x$gcc_no_link = xyes; then
81697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81699 { (exit 1); exit 1; }; }
81701 cat >conftest.$ac_ext <<_ACEOF
81702 /* confdefs.h. */
81703 _ACEOF
81704 cat confdefs.h >>conftest.$ac_ext
81705 cat >>conftest.$ac_ext <<_ACEOF
81706 /* end confdefs.h. */
81707 #include <math.h>
81709 main ()
81711 __builtin_fabsl(0);
81713 return 0;
81715 _ACEOF
81716 rm -f conftest.$ac_objext conftest$ac_exeext
81717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81718 (eval $ac_link) 2>conftest.er1
81719 ac_status=$?
81720 grep -v '^ *+' conftest.er1 >conftest.err
81721 rm -f conftest.er1
81722 cat conftest.err >&5
81723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81724 (exit $ac_status); } &&
81725 { ac_try='test -z "$ac_c_werror_flag"
81726 || test ! -s conftest.err'
81727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81728 (eval $ac_try) 2>&5
81729 ac_status=$?
81730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81731 (exit $ac_status); }; } &&
81732 { ac_try='test -s conftest$ac_exeext'
81733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81734 (eval $ac_try) 2>&5
81735 ac_status=$?
81736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81737 (exit $ac_status); }; }; then
81738 glibcxx_cv_func___builtin_fabsl_link=yes
81739 else
81740 echo "$as_me: failed program was:" >&5
81741 sed 's/^/| /' conftest.$ac_ext >&5
81743 glibcxx_cv_func___builtin_fabsl_link=no
81745 rm -f conftest.err conftest.$ac_objext \
81746 conftest$ac_exeext conftest.$ac_ext
81751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
81752 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
81754 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
81756 cat >>confdefs.h <<\_ACEOF
81757 #define HAVE___BUILTIN_FABSL 1
81758 _ACEOF
81765 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
81766 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
81767 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
81768 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
81769 echo $ECHO_N "(cached) $ECHO_C" >&6
81770 else
81774 ac_ext=cc
81775 ac_cpp='$CXXCPP $CPPFLAGS'
81776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81780 cat >conftest.$ac_ext <<_ACEOF
81781 /* confdefs.h. */
81782 _ACEOF
81783 cat confdefs.h >>conftest.$ac_ext
81784 cat >>conftest.$ac_ext <<_ACEOF
81785 /* end confdefs.h. */
81786 #include <math.h>
81788 main ()
81790 __builtin_labs(0);
81792 return 0;
81794 _ACEOF
81795 rm -f conftest.$ac_objext
81796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81797 (eval $ac_compile) 2>conftest.er1
81798 ac_status=$?
81799 grep -v '^ *+' conftest.er1 >conftest.err
81800 rm -f conftest.er1
81801 cat conftest.err >&5
81802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81803 (exit $ac_status); } &&
81804 { ac_try='test -z "$ac_cxx_werror_flag"
81805 || test ! -s conftest.err'
81806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81807 (eval $ac_try) 2>&5
81808 ac_status=$?
81809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81810 (exit $ac_status); }; } &&
81811 { ac_try='test -s conftest.$ac_objext'
81812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81813 (eval $ac_try) 2>&5
81814 ac_status=$?
81815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81816 (exit $ac_status); }; }; then
81817 glibcxx_cv_func___builtin_labs_use=yes
81818 else
81819 echo "$as_me: failed program was:" >&5
81820 sed 's/^/| /' conftest.$ac_ext >&5
81822 glibcxx_cv_func___builtin_labs_use=no
81824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81825 ac_ext=c
81826 ac_cpp='$CPP $CPPFLAGS'
81827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
81836 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
81837 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
81838 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
81839 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
81840 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
81841 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
81842 echo $ECHO_N "(cached) $ECHO_C" >&6
81843 else
81845 if test x$gcc_no_link = xyes; then
81846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81848 { (exit 1); exit 1; }; }
81850 cat >conftest.$ac_ext <<_ACEOF
81851 /* confdefs.h. */
81852 _ACEOF
81853 cat confdefs.h >>conftest.$ac_ext
81854 cat >>conftest.$ac_ext <<_ACEOF
81855 /* end confdefs.h. */
81856 #include <math.h>
81858 main ()
81860 __builtin_labs(0);
81862 return 0;
81864 _ACEOF
81865 rm -f conftest.$ac_objext conftest$ac_exeext
81866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81867 (eval $ac_link) 2>conftest.er1
81868 ac_status=$?
81869 grep -v '^ *+' conftest.er1 >conftest.err
81870 rm -f conftest.er1
81871 cat conftest.err >&5
81872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81873 (exit $ac_status); } &&
81874 { ac_try='test -z "$ac_c_werror_flag"
81875 || test ! -s conftest.err'
81876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81877 (eval $ac_try) 2>&5
81878 ac_status=$?
81879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81880 (exit $ac_status); }; } &&
81881 { ac_try='test -s conftest$ac_exeext'
81882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81883 (eval $ac_try) 2>&5
81884 ac_status=$?
81885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81886 (exit $ac_status); }; }; then
81887 glibcxx_cv_func___builtin_labs_link=yes
81888 else
81889 echo "$as_me: failed program was:" >&5
81890 sed 's/^/| /' conftest.$ac_ext >&5
81892 glibcxx_cv_func___builtin_labs_link=no
81894 rm -f conftest.err conftest.$ac_objext \
81895 conftest$ac_exeext conftest.$ac_ext
81900 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
81901 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
81903 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
81905 cat >>confdefs.h <<\_ACEOF
81906 #define HAVE___BUILTIN_LABS 1
81907 _ACEOF
81915 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
81916 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
81917 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
81918 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
81919 echo $ECHO_N "(cached) $ECHO_C" >&6
81920 else
81924 ac_ext=cc
81925 ac_cpp='$CXXCPP $CPPFLAGS'
81926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81930 cat >conftest.$ac_ext <<_ACEOF
81931 /* confdefs.h. */
81932 _ACEOF
81933 cat confdefs.h >>conftest.$ac_ext
81934 cat >>conftest.$ac_ext <<_ACEOF
81935 /* end confdefs.h. */
81936 #include <math.h>
81938 main ()
81940 __builtin_sqrtf(0);
81942 return 0;
81944 _ACEOF
81945 rm -f conftest.$ac_objext
81946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81947 (eval $ac_compile) 2>conftest.er1
81948 ac_status=$?
81949 grep -v '^ *+' conftest.er1 >conftest.err
81950 rm -f conftest.er1
81951 cat conftest.err >&5
81952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81953 (exit $ac_status); } &&
81954 { ac_try='test -z "$ac_cxx_werror_flag"
81955 || test ! -s conftest.err'
81956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81957 (eval $ac_try) 2>&5
81958 ac_status=$?
81959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81960 (exit $ac_status); }; } &&
81961 { ac_try='test -s conftest.$ac_objext'
81962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81963 (eval $ac_try) 2>&5
81964 ac_status=$?
81965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81966 (exit $ac_status); }; }; then
81967 glibcxx_cv_func___builtin_sqrtf_use=yes
81968 else
81969 echo "$as_me: failed program was:" >&5
81970 sed 's/^/| /' conftest.$ac_ext >&5
81972 glibcxx_cv_func___builtin_sqrtf_use=no
81974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81975 ac_ext=c
81976 ac_cpp='$CPP $CPPFLAGS'
81977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
81986 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
81987 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
81988 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
81989 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
81990 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
81991 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
81992 echo $ECHO_N "(cached) $ECHO_C" >&6
81993 else
81995 if test x$gcc_no_link = xyes; then
81996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81998 { (exit 1); exit 1; }; }
82000 cat >conftest.$ac_ext <<_ACEOF
82001 /* confdefs.h. */
82002 _ACEOF
82003 cat confdefs.h >>conftest.$ac_ext
82004 cat >>conftest.$ac_ext <<_ACEOF
82005 /* end confdefs.h. */
82006 #include <math.h>
82008 main ()
82010 __builtin_sqrtf(0);
82012 return 0;
82014 _ACEOF
82015 rm -f conftest.$ac_objext conftest$ac_exeext
82016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82017 (eval $ac_link) 2>conftest.er1
82018 ac_status=$?
82019 grep -v '^ *+' conftest.er1 >conftest.err
82020 rm -f conftest.er1
82021 cat conftest.err >&5
82022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82023 (exit $ac_status); } &&
82024 { ac_try='test -z "$ac_c_werror_flag"
82025 || test ! -s conftest.err'
82026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82027 (eval $ac_try) 2>&5
82028 ac_status=$?
82029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82030 (exit $ac_status); }; } &&
82031 { ac_try='test -s conftest$ac_exeext'
82032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82033 (eval $ac_try) 2>&5
82034 ac_status=$?
82035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82036 (exit $ac_status); }; }; then
82037 glibcxx_cv_func___builtin_sqrtf_link=yes
82038 else
82039 echo "$as_me: failed program was:" >&5
82040 sed 's/^/| /' conftest.$ac_ext >&5
82042 glibcxx_cv_func___builtin_sqrtf_link=no
82044 rm -f conftest.err conftest.$ac_objext \
82045 conftest$ac_exeext conftest.$ac_ext
82050 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82051 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82053 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82055 cat >>confdefs.h <<\_ACEOF
82056 #define HAVE___BUILTIN_SQRTF 1
82057 _ACEOF
82064 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82065 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82066 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82067 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82068 echo $ECHO_N "(cached) $ECHO_C" >&6
82069 else
82073 ac_ext=cc
82074 ac_cpp='$CXXCPP $CPPFLAGS'
82075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82079 cat >conftest.$ac_ext <<_ACEOF
82080 /* confdefs.h. */
82081 _ACEOF
82082 cat confdefs.h >>conftest.$ac_ext
82083 cat >>conftest.$ac_ext <<_ACEOF
82084 /* end confdefs.h. */
82085 #include <math.h>
82087 main ()
82089 __builtin_sqrt(0);
82091 return 0;
82093 _ACEOF
82094 rm -f conftest.$ac_objext
82095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82096 (eval $ac_compile) 2>conftest.er1
82097 ac_status=$?
82098 grep -v '^ *+' conftest.er1 >conftest.err
82099 rm -f conftest.er1
82100 cat conftest.err >&5
82101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82102 (exit $ac_status); } &&
82103 { ac_try='test -z "$ac_cxx_werror_flag"
82104 || test ! -s conftest.err'
82105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82106 (eval $ac_try) 2>&5
82107 ac_status=$?
82108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82109 (exit $ac_status); }; } &&
82110 { ac_try='test -s conftest.$ac_objext'
82111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82112 (eval $ac_try) 2>&5
82113 ac_status=$?
82114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82115 (exit $ac_status); }; }; then
82116 glibcxx_cv_func___builtin_sqrt_use=yes
82117 else
82118 echo "$as_me: failed program was:" >&5
82119 sed 's/^/| /' conftest.$ac_ext >&5
82121 glibcxx_cv_func___builtin_sqrt_use=no
82123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82124 ac_ext=c
82125 ac_cpp='$CPP $CPPFLAGS'
82126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82136 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82137 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82138 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82139 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82140 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82141 echo $ECHO_N "(cached) $ECHO_C" >&6
82142 else
82144 if test x$gcc_no_link = xyes; then
82145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82147 { (exit 1); exit 1; }; }
82149 cat >conftest.$ac_ext <<_ACEOF
82150 /* confdefs.h. */
82151 _ACEOF
82152 cat confdefs.h >>conftest.$ac_ext
82153 cat >>conftest.$ac_ext <<_ACEOF
82154 /* end confdefs.h. */
82155 #include <math.h>
82157 main ()
82159 __builtin_sqrt(0);
82161 return 0;
82163 _ACEOF
82164 rm -f conftest.$ac_objext conftest$ac_exeext
82165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82166 (eval $ac_link) 2>conftest.er1
82167 ac_status=$?
82168 grep -v '^ *+' conftest.er1 >conftest.err
82169 rm -f conftest.er1
82170 cat conftest.err >&5
82171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82172 (exit $ac_status); } &&
82173 { ac_try='test -z "$ac_c_werror_flag"
82174 || test ! -s conftest.err'
82175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82176 (eval $ac_try) 2>&5
82177 ac_status=$?
82178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82179 (exit $ac_status); }; } &&
82180 { ac_try='test -s conftest$ac_exeext'
82181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82182 (eval $ac_try) 2>&5
82183 ac_status=$?
82184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82185 (exit $ac_status); }; }; then
82186 glibcxx_cv_func___builtin_sqrt_link=yes
82187 else
82188 echo "$as_me: failed program was:" >&5
82189 sed 's/^/| /' conftest.$ac_ext >&5
82191 glibcxx_cv_func___builtin_sqrt_link=no
82193 rm -f conftest.err conftest.$ac_objext \
82194 conftest$ac_exeext conftest.$ac_ext
82199 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82200 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82202 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82204 cat >>confdefs.h <<\_ACEOF
82205 #define HAVE___BUILTIN_SQRT 1
82206 _ACEOF
82213 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82214 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82215 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82216 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82217 echo $ECHO_N "(cached) $ECHO_C" >&6
82218 else
82222 ac_ext=cc
82223 ac_cpp='$CXXCPP $CPPFLAGS'
82224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82228 cat >conftest.$ac_ext <<_ACEOF
82229 /* confdefs.h. */
82230 _ACEOF
82231 cat confdefs.h >>conftest.$ac_ext
82232 cat >>conftest.$ac_ext <<_ACEOF
82233 /* end confdefs.h. */
82234 #include <math.h>
82236 main ()
82238 __builtin_sqrtl(0);
82240 return 0;
82242 _ACEOF
82243 rm -f conftest.$ac_objext
82244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82245 (eval $ac_compile) 2>conftest.er1
82246 ac_status=$?
82247 grep -v '^ *+' conftest.er1 >conftest.err
82248 rm -f conftest.er1
82249 cat conftest.err >&5
82250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82251 (exit $ac_status); } &&
82252 { ac_try='test -z "$ac_cxx_werror_flag"
82253 || test ! -s conftest.err'
82254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82255 (eval $ac_try) 2>&5
82256 ac_status=$?
82257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82258 (exit $ac_status); }; } &&
82259 { ac_try='test -s conftest.$ac_objext'
82260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82261 (eval $ac_try) 2>&5
82262 ac_status=$?
82263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82264 (exit $ac_status); }; }; then
82265 glibcxx_cv_func___builtin_sqrtl_use=yes
82266 else
82267 echo "$as_me: failed program was:" >&5
82268 sed 's/^/| /' conftest.$ac_ext >&5
82270 glibcxx_cv_func___builtin_sqrtl_use=no
82272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82273 ac_ext=c
82274 ac_cpp='$CPP $CPPFLAGS'
82275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82283 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82284 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82285 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82286 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82287 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82288 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82289 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82290 echo $ECHO_N "(cached) $ECHO_C" >&6
82291 else
82293 if test x$gcc_no_link = xyes; then
82294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82296 { (exit 1); exit 1; }; }
82298 cat >conftest.$ac_ext <<_ACEOF
82299 /* confdefs.h. */
82300 _ACEOF
82301 cat confdefs.h >>conftest.$ac_ext
82302 cat >>conftest.$ac_ext <<_ACEOF
82303 /* end confdefs.h. */
82304 #include <math.h>
82306 main ()
82308 __builtin_sqrtl(0);
82310 return 0;
82312 _ACEOF
82313 rm -f conftest.$ac_objext conftest$ac_exeext
82314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82315 (eval $ac_link) 2>conftest.er1
82316 ac_status=$?
82317 grep -v '^ *+' conftest.er1 >conftest.err
82318 rm -f conftest.er1
82319 cat conftest.err >&5
82320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82321 (exit $ac_status); } &&
82322 { ac_try='test -z "$ac_c_werror_flag"
82323 || test ! -s conftest.err'
82324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82325 (eval $ac_try) 2>&5
82326 ac_status=$?
82327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82328 (exit $ac_status); }; } &&
82329 { ac_try='test -s conftest$ac_exeext'
82330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82331 (eval $ac_try) 2>&5
82332 ac_status=$?
82333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82334 (exit $ac_status); }; }; then
82335 glibcxx_cv_func___builtin_sqrtl_link=yes
82336 else
82337 echo "$as_me: failed program was:" >&5
82338 sed 's/^/| /' conftest.$ac_ext >&5
82340 glibcxx_cv_func___builtin_sqrtl_link=no
82342 rm -f conftest.err conftest.$ac_objext \
82343 conftest$ac_exeext conftest.$ac_ext
82348 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82349 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82351 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82353 cat >>confdefs.h <<\_ACEOF
82354 #define HAVE___BUILTIN_SQRTL 1
82355 _ACEOF
82363 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82364 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82365 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82366 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82367 echo $ECHO_N "(cached) $ECHO_C" >&6
82368 else
82372 ac_ext=cc
82373 ac_cpp='$CXXCPP $CPPFLAGS'
82374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82378 cat >conftest.$ac_ext <<_ACEOF
82379 /* confdefs.h. */
82380 _ACEOF
82381 cat confdefs.h >>conftest.$ac_ext
82382 cat >>conftest.$ac_ext <<_ACEOF
82383 /* end confdefs.h. */
82384 #include <math.h>
82386 main ()
82388 __builtin_sinf(0);
82390 return 0;
82392 _ACEOF
82393 rm -f conftest.$ac_objext
82394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82395 (eval $ac_compile) 2>conftest.er1
82396 ac_status=$?
82397 grep -v '^ *+' conftest.er1 >conftest.err
82398 rm -f conftest.er1
82399 cat conftest.err >&5
82400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82401 (exit $ac_status); } &&
82402 { ac_try='test -z "$ac_cxx_werror_flag"
82403 || test ! -s conftest.err'
82404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82405 (eval $ac_try) 2>&5
82406 ac_status=$?
82407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82408 (exit $ac_status); }; } &&
82409 { ac_try='test -s conftest.$ac_objext'
82410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82411 (eval $ac_try) 2>&5
82412 ac_status=$?
82413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82414 (exit $ac_status); }; }; then
82415 glibcxx_cv_func___builtin_sinf_use=yes
82416 else
82417 echo "$as_me: failed program was:" >&5
82418 sed 's/^/| /' conftest.$ac_ext >&5
82420 glibcxx_cv_func___builtin_sinf_use=no
82422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82423 ac_ext=c
82424 ac_cpp='$CPP $CPPFLAGS'
82425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82433 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82434 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82435 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82436 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82437 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82438 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82439 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82440 echo $ECHO_N "(cached) $ECHO_C" >&6
82441 else
82443 if test x$gcc_no_link = xyes; then
82444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82446 { (exit 1); exit 1; }; }
82448 cat >conftest.$ac_ext <<_ACEOF
82449 /* confdefs.h. */
82450 _ACEOF
82451 cat confdefs.h >>conftest.$ac_ext
82452 cat >>conftest.$ac_ext <<_ACEOF
82453 /* end confdefs.h. */
82454 #include <math.h>
82456 main ()
82458 __builtin_sinf(0);
82460 return 0;
82462 _ACEOF
82463 rm -f conftest.$ac_objext conftest$ac_exeext
82464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82465 (eval $ac_link) 2>conftest.er1
82466 ac_status=$?
82467 grep -v '^ *+' conftest.er1 >conftest.err
82468 rm -f conftest.er1
82469 cat conftest.err >&5
82470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82471 (exit $ac_status); } &&
82472 { ac_try='test -z "$ac_c_werror_flag"
82473 || test ! -s conftest.err'
82474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82475 (eval $ac_try) 2>&5
82476 ac_status=$?
82477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82478 (exit $ac_status); }; } &&
82479 { ac_try='test -s conftest$ac_exeext'
82480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82481 (eval $ac_try) 2>&5
82482 ac_status=$?
82483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82484 (exit $ac_status); }; }; then
82485 glibcxx_cv_func___builtin_sinf_link=yes
82486 else
82487 echo "$as_me: failed program was:" >&5
82488 sed 's/^/| /' conftest.$ac_ext >&5
82490 glibcxx_cv_func___builtin_sinf_link=no
82492 rm -f conftest.err conftest.$ac_objext \
82493 conftest$ac_exeext conftest.$ac_ext
82498 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82499 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82501 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82503 cat >>confdefs.h <<\_ACEOF
82504 #define HAVE___BUILTIN_SINF 1
82505 _ACEOF
82512 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82513 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82514 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82515 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82516 echo $ECHO_N "(cached) $ECHO_C" >&6
82517 else
82521 ac_ext=cc
82522 ac_cpp='$CXXCPP $CPPFLAGS'
82523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82527 cat >conftest.$ac_ext <<_ACEOF
82528 /* confdefs.h. */
82529 _ACEOF
82530 cat confdefs.h >>conftest.$ac_ext
82531 cat >>conftest.$ac_ext <<_ACEOF
82532 /* end confdefs.h. */
82533 #include <math.h>
82535 main ()
82537 __builtin_sin(0);
82539 return 0;
82541 _ACEOF
82542 rm -f conftest.$ac_objext
82543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82544 (eval $ac_compile) 2>conftest.er1
82545 ac_status=$?
82546 grep -v '^ *+' conftest.er1 >conftest.err
82547 rm -f conftest.er1
82548 cat conftest.err >&5
82549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82550 (exit $ac_status); } &&
82551 { ac_try='test -z "$ac_cxx_werror_flag"
82552 || test ! -s conftest.err'
82553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82554 (eval $ac_try) 2>&5
82555 ac_status=$?
82556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82557 (exit $ac_status); }; } &&
82558 { ac_try='test -s conftest.$ac_objext'
82559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82560 (eval $ac_try) 2>&5
82561 ac_status=$?
82562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82563 (exit $ac_status); }; }; then
82564 glibcxx_cv_func___builtin_sin_use=yes
82565 else
82566 echo "$as_me: failed program was:" >&5
82567 sed 's/^/| /' conftest.$ac_ext >&5
82569 glibcxx_cv_func___builtin_sin_use=no
82571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82572 ac_ext=c
82573 ac_cpp='$CPP $CPPFLAGS'
82574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82582 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82583 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82584 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82585 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82586 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82587 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82588 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82589 echo $ECHO_N "(cached) $ECHO_C" >&6
82590 else
82592 if test x$gcc_no_link = xyes; then
82593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82595 { (exit 1); exit 1; }; }
82597 cat >conftest.$ac_ext <<_ACEOF
82598 /* confdefs.h. */
82599 _ACEOF
82600 cat confdefs.h >>conftest.$ac_ext
82601 cat >>conftest.$ac_ext <<_ACEOF
82602 /* end confdefs.h. */
82603 #include <math.h>
82605 main ()
82607 __builtin_sin(0);
82609 return 0;
82611 _ACEOF
82612 rm -f conftest.$ac_objext conftest$ac_exeext
82613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82614 (eval $ac_link) 2>conftest.er1
82615 ac_status=$?
82616 grep -v '^ *+' conftest.er1 >conftest.err
82617 rm -f conftest.er1
82618 cat conftest.err >&5
82619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82620 (exit $ac_status); } &&
82621 { ac_try='test -z "$ac_c_werror_flag"
82622 || test ! -s conftest.err'
82623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82624 (eval $ac_try) 2>&5
82625 ac_status=$?
82626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82627 (exit $ac_status); }; } &&
82628 { ac_try='test -s conftest$ac_exeext'
82629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82630 (eval $ac_try) 2>&5
82631 ac_status=$?
82632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82633 (exit $ac_status); }; }; then
82634 glibcxx_cv_func___builtin_sin_link=yes
82635 else
82636 echo "$as_me: failed program was:" >&5
82637 sed 's/^/| /' conftest.$ac_ext >&5
82639 glibcxx_cv_func___builtin_sin_link=no
82641 rm -f conftest.err conftest.$ac_objext \
82642 conftest$ac_exeext conftest.$ac_ext
82647 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82648 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82650 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82652 cat >>confdefs.h <<\_ACEOF
82653 #define HAVE___BUILTIN_SIN 1
82654 _ACEOF
82661 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82662 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82663 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82664 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82665 echo $ECHO_N "(cached) $ECHO_C" >&6
82666 else
82670 ac_ext=cc
82671 ac_cpp='$CXXCPP $CPPFLAGS'
82672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82676 cat >conftest.$ac_ext <<_ACEOF
82677 /* confdefs.h. */
82678 _ACEOF
82679 cat confdefs.h >>conftest.$ac_ext
82680 cat >>conftest.$ac_ext <<_ACEOF
82681 /* end confdefs.h. */
82682 #include <math.h>
82684 main ()
82686 __builtin_sinl(0);
82688 return 0;
82690 _ACEOF
82691 rm -f conftest.$ac_objext
82692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82693 (eval $ac_compile) 2>conftest.er1
82694 ac_status=$?
82695 grep -v '^ *+' conftest.er1 >conftest.err
82696 rm -f conftest.er1
82697 cat conftest.err >&5
82698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82699 (exit $ac_status); } &&
82700 { ac_try='test -z "$ac_cxx_werror_flag"
82701 || test ! -s conftest.err'
82702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82703 (eval $ac_try) 2>&5
82704 ac_status=$?
82705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82706 (exit $ac_status); }; } &&
82707 { ac_try='test -s conftest.$ac_objext'
82708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82709 (eval $ac_try) 2>&5
82710 ac_status=$?
82711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82712 (exit $ac_status); }; }; then
82713 glibcxx_cv_func___builtin_sinl_use=yes
82714 else
82715 echo "$as_me: failed program was:" >&5
82716 sed 's/^/| /' conftest.$ac_ext >&5
82718 glibcxx_cv_func___builtin_sinl_use=no
82720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82721 ac_ext=c
82722 ac_cpp='$CPP $CPPFLAGS'
82723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
82732 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
82733 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
82734 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
82735 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
82736 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
82737 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
82738 echo $ECHO_N "(cached) $ECHO_C" >&6
82739 else
82741 if test x$gcc_no_link = xyes; then
82742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82744 { (exit 1); exit 1; }; }
82746 cat >conftest.$ac_ext <<_ACEOF
82747 /* confdefs.h. */
82748 _ACEOF
82749 cat confdefs.h >>conftest.$ac_ext
82750 cat >>conftest.$ac_ext <<_ACEOF
82751 /* end confdefs.h. */
82752 #include <math.h>
82754 main ()
82756 __builtin_sinl(0);
82758 return 0;
82760 _ACEOF
82761 rm -f conftest.$ac_objext conftest$ac_exeext
82762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82763 (eval $ac_link) 2>conftest.er1
82764 ac_status=$?
82765 grep -v '^ *+' conftest.er1 >conftest.err
82766 rm -f conftest.er1
82767 cat conftest.err >&5
82768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82769 (exit $ac_status); } &&
82770 { ac_try='test -z "$ac_c_werror_flag"
82771 || test ! -s conftest.err'
82772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82773 (eval $ac_try) 2>&5
82774 ac_status=$?
82775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82776 (exit $ac_status); }; } &&
82777 { ac_try='test -s conftest$ac_exeext'
82778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82779 (eval $ac_try) 2>&5
82780 ac_status=$?
82781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82782 (exit $ac_status); }; }; then
82783 glibcxx_cv_func___builtin_sinl_link=yes
82784 else
82785 echo "$as_me: failed program was:" >&5
82786 sed 's/^/| /' conftest.$ac_ext >&5
82788 glibcxx_cv_func___builtin_sinl_link=no
82790 rm -f conftest.err conftest.$ac_objext \
82791 conftest$ac_exeext conftest.$ac_ext
82796 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
82797 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
82799 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
82801 cat >>confdefs.h <<\_ACEOF
82802 #define HAVE___BUILTIN_SINL 1
82803 _ACEOF
82811 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
82812 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
82813 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
82814 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
82815 echo $ECHO_N "(cached) $ECHO_C" >&6
82816 else
82820 ac_ext=cc
82821 ac_cpp='$CXXCPP $CPPFLAGS'
82822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82826 cat >conftest.$ac_ext <<_ACEOF
82827 /* confdefs.h. */
82828 _ACEOF
82829 cat confdefs.h >>conftest.$ac_ext
82830 cat >>conftest.$ac_ext <<_ACEOF
82831 /* end confdefs.h. */
82832 #include <math.h>
82834 main ()
82836 __builtin_cosf(0);
82838 return 0;
82840 _ACEOF
82841 rm -f conftest.$ac_objext
82842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82843 (eval $ac_compile) 2>conftest.er1
82844 ac_status=$?
82845 grep -v '^ *+' conftest.er1 >conftest.err
82846 rm -f conftest.er1
82847 cat conftest.err >&5
82848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82849 (exit $ac_status); } &&
82850 { ac_try='test -z "$ac_cxx_werror_flag"
82851 || test ! -s conftest.err'
82852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82853 (eval $ac_try) 2>&5
82854 ac_status=$?
82855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82856 (exit $ac_status); }; } &&
82857 { ac_try='test -s conftest.$ac_objext'
82858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82859 (eval $ac_try) 2>&5
82860 ac_status=$?
82861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82862 (exit $ac_status); }; }; then
82863 glibcxx_cv_func___builtin_cosf_use=yes
82864 else
82865 echo "$as_me: failed program was:" >&5
82866 sed 's/^/| /' conftest.$ac_ext >&5
82868 glibcxx_cv_func___builtin_cosf_use=no
82870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82871 ac_ext=c
82872 ac_cpp='$CPP $CPPFLAGS'
82873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82881 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
82882 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
82883 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
82884 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
82885 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
82886 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
82887 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
82888 echo $ECHO_N "(cached) $ECHO_C" >&6
82889 else
82891 if test x$gcc_no_link = xyes; then
82892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82894 { (exit 1); exit 1; }; }
82896 cat >conftest.$ac_ext <<_ACEOF
82897 /* confdefs.h. */
82898 _ACEOF
82899 cat confdefs.h >>conftest.$ac_ext
82900 cat >>conftest.$ac_ext <<_ACEOF
82901 /* end confdefs.h. */
82902 #include <math.h>
82904 main ()
82906 __builtin_cosf(0);
82908 return 0;
82910 _ACEOF
82911 rm -f conftest.$ac_objext conftest$ac_exeext
82912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82913 (eval $ac_link) 2>conftest.er1
82914 ac_status=$?
82915 grep -v '^ *+' conftest.er1 >conftest.err
82916 rm -f conftest.er1
82917 cat conftest.err >&5
82918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82919 (exit $ac_status); } &&
82920 { ac_try='test -z "$ac_c_werror_flag"
82921 || test ! -s conftest.err'
82922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82923 (eval $ac_try) 2>&5
82924 ac_status=$?
82925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82926 (exit $ac_status); }; } &&
82927 { ac_try='test -s conftest$ac_exeext'
82928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82929 (eval $ac_try) 2>&5
82930 ac_status=$?
82931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82932 (exit $ac_status); }; }; then
82933 glibcxx_cv_func___builtin_cosf_link=yes
82934 else
82935 echo "$as_me: failed program was:" >&5
82936 sed 's/^/| /' conftest.$ac_ext >&5
82938 glibcxx_cv_func___builtin_cosf_link=no
82940 rm -f conftest.err conftest.$ac_objext \
82941 conftest$ac_exeext conftest.$ac_ext
82946 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
82947 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
82949 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
82951 cat >>confdefs.h <<\_ACEOF
82952 #define HAVE___BUILTIN_COSF 1
82953 _ACEOF
82960 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
82961 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
82962 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
82963 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
82964 echo $ECHO_N "(cached) $ECHO_C" >&6
82965 else
82969 ac_ext=cc
82970 ac_cpp='$CXXCPP $CPPFLAGS'
82971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82975 cat >conftest.$ac_ext <<_ACEOF
82976 /* confdefs.h. */
82977 _ACEOF
82978 cat confdefs.h >>conftest.$ac_ext
82979 cat >>conftest.$ac_ext <<_ACEOF
82980 /* end confdefs.h. */
82981 #include <math.h>
82983 main ()
82985 __builtin_cos(0);
82987 return 0;
82989 _ACEOF
82990 rm -f conftest.$ac_objext
82991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82992 (eval $ac_compile) 2>conftest.er1
82993 ac_status=$?
82994 grep -v '^ *+' conftest.er1 >conftest.err
82995 rm -f conftest.er1
82996 cat conftest.err >&5
82997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82998 (exit $ac_status); } &&
82999 { ac_try='test -z "$ac_cxx_werror_flag"
83000 || test ! -s conftest.err'
83001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83002 (eval $ac_try) 2>&5
83003 ac_status=$?
83004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83005 (exit $ac_status); }; } &&
83006 { ac_try='test -s conftest.$ac_objext'
83007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83008 (eval $ac_try) 2>&5
83009 ac_status=$?
83010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83011 (exit $ac_status); }; }; then
83012 glibcxx_cv_func___builtin_cos_use=yes
83013 else
83014 echo "$as_me: failed program was:" >&5
83015 sed 's/^/| /' conftest.$ac_ext >&5
83017 glibcxx_cv_func___builtin_cos_use=no
83019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83020 ac_ext=c
83021 ac_cpp='$CPP $CPPFLAGS'
83022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83030 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83031 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83032 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83033 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83034 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83035 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83036 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83037 echo $ECHO_N "(cached) $ECHO_C" >&6
83038 else
83040 if test x$gcc_no_link = xyes; then
83041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83043 { (exit 1); exit 1; }; }
83045 cat >conftest.$ac_ext <<_ACEOF
83046 /* confdefs.h. */
83047 _ACEOF
83048 cat confdefs.h >>conftest.$ac_ext
83049 cat >>conftest.$ac_ext <<_ACEOF
83050 /* end confdefs.h. */
83051 #include <math.h>
83053 main ()
83055 __builtin_cos(0);
83057 return 0;
83059 _ACEOF
83060 rm -f conftest.$ac_objext conftest$ac_exeext
83061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83062 (eval $ac_link) 2>conftest.er1
83063 ac_status=$?
83064 grep -v '^ *+' conftest.er1 >conftest.err
83065 rm -f conftest.er1
83066 cat conftest.err >&5
83067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83068 (exit $ac_status); } &&
83069 { ac_try='test -z "$ac_c_werror_flag"
83070 || test ! -s conftest.err'
83071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83072 (eval $ac_try) 2>&5
83073 ac_status=$?
83074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83075 (exit $ac_status); }; } &&
83076 { ac_try='test -s conftest$ac_exeext'
83077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83078 (eval $ac_try) 2>&5
83079 ac_status=$?
83080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83081 (exit $ac_status); }; }; then
83082 glibcxx_cv_func___builtin_cos_link=yes
83083 else
83084 echo "$as_me: failed program was:" >&5
83085 sed 's/^/| /' conftest.$ac_ext >&5
83087 glibcxx_cv_func___builtin_cos_link=no
83089 rm -f conftest.err conftest.$ac_objext \
83090 conftest$ac_exeext conftest.$ac_ext
83095 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83096 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83098 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83100 cat >>confdefs.h <<\_ACEOF
83101 #define HAVE___BUILTIN_COS 1
83102 _ACEOF
83109 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83110 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83111 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83112 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83113 echo $ECHO_N "(cached) $ECHO_C" >&6
83114 else
83118 ac_ext=cc
83119 ac_cpp='$CXXCPP $CPPFLAGS'
83120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83124 cat >conftest.$ac_ext <<_ACEOF
83125 /* confdefs.h. */
83126 _ACEOF
83127 cat confdefs.h >>conftest.$ac_ext
83128 cat >>conftest.$ac_ext <<_ACEOF
83129 /* end confdefs.h. */
83130 #include <math.h>
83132 main ()
83134 __builtin_cosl(0);
83136 return 0;
83138 _ACEOF
83139 rm -f conftest.$ac_objext
83140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83141 (eval $ac_compile) 2>conftest.er1
83142 ac_status=$?
83143 grep -v '^ *+' conftest.er1 >conftest.err
83144 rm -f conftest.er1
83145 cat conftest.err >&5
83146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83147 (exit $ac_status); } &&
83148 { ac_try='test -z "$ac_cxx_werror_flag"
83149 || test ! -s conftest.err'
83150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83151 (eval $ac_try) 2>&5
83152 ac_status=$?
83153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83154 (exit $ac_status); }; } &&
83155 { ac_try='test -s conftest.$ac_objext'
83156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83157 (eval $ac_try) 2>&5
83158 ac_status=$?
83159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83160 (exit $ac_status); }; }; then
83161 glibcxx_cv_func___builtin_cosl_use=yes
83162 else
83163 echo "$as_me: failed program was:" >&5
83164 sed 's/^/| /' conftest.$ac_ext >&5
83166 glibcxx_cv_func___builtin_cosl_use=no
83168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83169 ac_ext=c
83170 ac_cpp='$CPP $CPPFLAGS'
83171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83179 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83180 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83181 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83182 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83183 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83184 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83185 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83186 echo $ECHO_N "(cached) $ECHO_C" >&6
83187 else
83189 if test x$gcc_no_link = xyes; then
83190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83192 { (exit 1); exit 1; }; }
83194 cat >conftest.$ac_ext <<_ACEOF
83195 /* confdefs.h. */
83196 _ACEOF
83197 cat confdefs.h >>conftest.$ac_ext
83198 cat >>conftest.$ac_ext <<_ACEOF
83199 /* end confdefs.h. */
83200 #include <math.h>
83202 main ()
83204 __builtin_cosl(0);
83206 return 0;
83208 _ACEOF
83209 rm -f conftest.$ac_objext conftest$ac_exeext
83210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83211 (eval $ac_link) 2>conftest.er1
83212 ac_status=$?
83213 grep -v '^ *+' conftest.er1 >conftest.err
83214 rm -f conftest.er1
83215 cat conftest.err >&5
83216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83217 (exit $ac_status); } &&
83218 { ac_try='test -z "$ac_c_werror_flag"
83219 || test ! -s conftest.err'
83220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83221 (eval $ac_try) 2>&5
83222 ac_status=$?
83223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83224 (exit $ac_status); }; } &&
83225 { ac_try='test -s conftest$ac_exeext'
83226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83227 (eval $ac_try) 2>&5
83228 ac_status=$?
83229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83230 (exit $ac_status); }; }; then
83231 glibcxx_cv_func___builtin_cosl_link=yes
83232 else
83233 echo "$as_me: failed program was:" >&5
83234 sed 's/^/| /' conftest.$ac_ext >&5
83236 glibcxx_cv_func___builtin_cosl_link=no
83238 rm -f conftest.err conftest.$ac_objext \
83239 conftest$ac_exeext conftest.$ac_ext
83244 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83245 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83247 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83249 cat >>confdefs.h <<\_ACEOF
83250 #define HAVE___BUILTIN_COSL 1
83251 _ACEOF
83260 echo "$as_me:$LINENO: checking for main in -lm" >&5
83261 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83262 if test "${ac_cv_lib_m_main+set}" = set; then
83263 echo $ECHO_N "(cached) $ECHO_C" >&6
83264 else
83265 ac_check_lib_save_LIBS=$LIBS
83266 LIBS="-lm $LIBS"
83267 if test x$gcc_no_link = xyes; then
83268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83270 { (exit 1); exit 1; }; }
83272 cat >conftest.$ac_ext <<_ACEOF
83273 /* confdefs.h. */
83274 _ACEOF
83275 cat confdefs.h >>conftest.$ac_ext
83276 cat >>conftest.$ac_ext <<_ACEOF
83277 /* end confdefs.h. */
83281 main ()
83283 main ();
83285 return 0;
83287 _ACEOF
83288 rm -f conftest.$ac_objext conftest$ac_exeext
83289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83290 (eval $ac_link) 2>conftest.er1
83291 ac_status=$?
83292 grep -v '^ *+' conftest.er1 >conftest.err
83293 rm -f conftest.er1
83294 cat conftest.err >&5
83295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83296 (exit $ac_status); } &&
83297 { ac_try='test -z "$ac_c_werror_flag"
83298 || test ! -s conftest.err'
83299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83300 (eval $ac_try) 2>&5
83301 ac_status=$?
83302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83303 (exit $ac_status); }; } &&
83304 { ac_try='test -s conftest$ac_exeext'
83305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83306 (eval $ac_try) 2>&5
83307 ac_status=$?
83308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309 (exit $ac_status); }; }; then
83310 ac_cv_lib_m_main=yes
83311 else
83312 echo "$as_me: failed program was:" >&5
83313 sed 's/^/| /' conftest.$ac_ext >&5
83315 ac_cv_lib_m_main=no
83317 rm -f conftest.err conftest.$ac_objext \
83318 conftest$ac_exeext conftest.$ac_ext
83319 LIBS=$ac_check_lib_save_LIBS
83321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83322 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83323 if test $ac_cv_lib_m_main = yes; then
83324 cat >>confdefs.h <<_ACEOF
83325 #define HAVE_LIBM 1
83326 _ACEOF
83328 LIBS="-lm $LIBS"
83333 for ac_func in copysignf
83335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83336 echo "$as_me:$LINENO: checking for $ac_func" >&5
83337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83338 if eval "test \"\${$as_ac_var+set}\" = set"; then
83339 echo $ECHO_N "(cached) $ECHO_C" >&6
83340 else
83341 if test x$gcc_no_link = xyes; then
83342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83344 { (exit 1); exit 1; }; }
83346 cat >conftest.$ac_ext <<_ACEOF
83347 /* confdefs.h. */
83348 _ACEOF
83349 cat confdefs.h >>conftest.$ac_ext
83350 cat >>conftest.$ac_ext <<_ACEOF
83351 /* end confdefs.h. */
83352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83354 #define $ac_func innocuous_$ac_func
83356 /* System header to define __stub macros and hopefully few prototypes,
83357 which can conflict with char $ac_func (); below.
83358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83359 <limits.h> exists even on freestanding compilers. */
83361 #ifdef __STDC__
83362 # include <limits.h>
83363 #else
83364 # include <assert.h>
83365 #endif
83367 #undef $ac_func
83369 /* Override any gcc2 internal prototype to avoid an error. */
83370 #ifdef __cplusplus
83371 extern "C"
83373 #endif
83374 /* We use char because int might match the return type of a gcc2
83375 builtin and then its argument prototype would still apply. */
83376 char $ac_func ();
83377 /* The GNU C library defines this for functions which it implements
83378 to always fail with ENOSYS. Some functions are actually named
83379 something starting with __ and the normal name is an alias. */
83380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83381 choke me
83382 #else
83383 char (*f) () = $ac_func;
83384 #endif
83385 #ifdef __cplusplus
83387 #endif
83390 main ()
83392 return f != $ac_func;
83394 return 0;
83396 _ACEOF
83397 rm -f conftest.$ac_objext conftest$ac_exeext
83398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83399 (eval $ac_link) 2>conftest.er1
83400 ac_status=$?
83401 grep -v '^ *+' conftest.er1 >conftest.err
83402 rm -f conftest.er1
83403 cat conftest.err >&5
83404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83405 (exit $ac_status); } &&
83406 { ac_try='test -z "$ac_c_werror_flag"
83407 || test ! -s conftest.err'
83408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83409 (eval $ac_try) 2>&5
83410 ac_status=$?
83411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83412 (exit $ac_status); }; } &&
83413 { ac_try='test -s conftest$ac_exeext'
83414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83415 (eval $ac_try) 2>&5
83416 ac_status=$?
83417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83418 (exit $ac_status); }; }; then
83419 eval "$as_ac_var=yes"
83420 else
83421 echo "$as_me: failed program was:" >&5
83422 sed 's/^/| /' conftest.$ac_ext >&5
83424 eval "$as_ac_var=no"
83426 rm -f conftest.err conftest.$ac_objext \
83427 conftest$ac_exeext conftest.$ac_ext
83429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83431 if test `eval echo '${'$as_ac_var'}'` = yes; then
83432 cat >>confdefs.h <<_ACEOF
83433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83434 _ACEOF
83436 else
83437 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83439 done
83443 for ac_func in __signbit
83445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83446 echo "$as_me:$LINENO: checking for $ac_func" >&5
83447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83448 if eval "test \"\${$as_ac_var+set}\" = set"; then
83449 echo $ECHO_N "(cached) $ECHO_C" >&6
83450 else
83451 if test x$gcc_no_link = xyes; then
83452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83454 { (exit 1); exit 1; }; }
83456 cat >conftest.$ac_ext <<_ACEOF
83457 /* confdefs.h. */
83458 _ACEOF
83459 cat confdefs.h >>conftest.$ac_ext
83460 cat >>conftest.$ac_ext <<_ACEOF
83461 /* end confdefs.h. */
83462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83464 #define $ac_func innocuous_$ac_func
83466 /* System header to define __stub macros and hopefully few prototypes,
83467 which can conflict with char $ac_func (); below.
83468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83469 <limits.h> exists even on freestanding compilers. */
83471 #ifdef __STDC__
83472 # include <limits.h>
83473 #else
83474 # include <assert.h>
83475 #endif
83477 #undef $ac_func
83479 /* Override any gcc2 internal prototype to avoid an error. */
83480 #ifdef __cplusplus
83481 extern "C"
83483 #endif
83484 /* We use char because int might match the return type of a gcc2
83485 builtin and then its argument prototype would still apply. */
83486 char $ac_func ();
83487 /* The GNU C library defines this for functions which it implements
83488 to always fail with ENOSYS. Some functions are actually named
83489 something starting with __ and the normal name is an alias. */
83490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83491 choke me
83492 #else
83493 char (*f) () = $ac_func;
83494 #endif
83495 #ifdef __cplusplus
83497 #endif
83500 main ()
83502 return f != $ac_func;
83504 return 0;
83506 _ACEOF
83507 rm -f conftest.$ac_objext conftest$ac_exeext
83508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83509 (eval $ac_link) 2>conftest.er1
83510 ac_status=$?
83511 grep -v '^ *+' conftest.er1 >conftest.err
83512 rm -f conftest.er1
83513 cat conftest.err >&5
83514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83515 (exit $ac_status); } &&
83516 { ac_try='test -z "$ac_c_werror_flag"
83517 || test ! -s conftest.err'
83518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83519 (eval $ac_try) 2>&5
83520 ac_status=$?
83521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83522 (exit $ac_status); }; } &&
83523 { ac_try='test -s conftest$ac_exeext'
83524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83525 (eval $ac_try) 2>&5
83526 ac_status=$?
83527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83528 (exit $ac_status); }; }; then
83529 eval "$as_ac_var=yes"
83530 else
83531 echo "$as_me: failed program was:" >&5
83532 sed 's/^/| /' conftest.$ac_ext >&5
83534 eval "$as_ac_var=no"
83536 rm -f conftest.err conftest.$ac_objext \
83537 conftest$ac_exeext conftest.$ac_ext
83539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83541 if test `eval echo '${'$as_ac_var'}'` = yes; then
83542 cat >>confdefs.h <<_ACEOF
83543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83544 _ACEOF
83546 else
83547 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83549 done
83553 for ac_func in __signbitf
83555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83556 echo "$as_me:$LINENO: checking for $ac_func" >&5
83557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83558 if eval "test \"\${$as_ac_var+set}\" = set"; then
83559 echo $ECHO_N "(cached) $ECHO_C" >&6
83560 else
83561 if test x$gcc_no_link = xyes; then
83562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83564 { (exit 1); exit 1; }; }
83566 cat >conftest.$ac_ext <<_ACEOF
83567 /* confdefs.h. */
83568 _ACEOF
83569 cat confdefs.h >>conftest.$ac_ext
83570 cat >>conftest.$ac_ext <<_ACEOF
83571 /* end confdefs.h. */
83572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83574 #define $ac_func innocuous_$ac_func
83576 /* System header to define __stub macros and hopefully few prototypes,
83577 which can conflict with char $ac_func (); below.
83578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83579 <limits.h> exists even on freestanding compilers. */
83581 #ifdef __STDC__
83582 # include <limits.h>
83583 #else
83584 # include <assert.h>
83585 #endif
83587 #undef $ac_func
83589 /* Override any gcc2 internal prototype to avoid an error. */
83590 #ifdef __cplusplus
83591 extern "C"
83593 #endif
83594 /* We use char because int might match the return type of a gcc2
83595 builtin and then its argument prototype would still apply. */
83596 char $ac_func ();
83597 /* The GNU C library defines this for functions which it implements
83598 to always fail with ENOSYS. Some functions are actually named
83599 something starting with __ and the normal name is an alias. */
83600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83601 choke me
83602 #else
83603 char (*f) () = $ac_func;
83604 #endif
83605 #ifdef __cplusplus
83607 #endif
83610 main ()
83612 return f != $ac_func;
83614 return 0;
83616 _ACEOF
83617 rm -f conftest.$ac_objext conftest$ac_exeext
83618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83619 (eval $ac_link) 2>conftest.er1
83620 ac_status=$?
83621 grep -v '^ *+' conftest.er1 >conftest.err
83622 rm -f conftest.er1
83623 cat conftest.err >&5
83624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83625 (exit $ac_status); } &&
83626 { ac_try='test -z "$ac_c_werror_flag"
83627 || test ! -s conftest.err'
83628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83629 (eval $ac_try) 2>&5
83630 ac_status=$?
83631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83632 (exit $ac_status); }; } &&
83633 { ac_try='test -s conftest$ac_exeext'
83634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83635 (eval $ac_try) 2>&5
83636 ac_status=$?
83637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83638 (exit $ac_status); }; }; then
83639 eval "$as_ac_var=yes"
83640 else
83641 echo "$as_me: failed program was:" >&5
83642 sed 's/^/| /' conftest.$ac_ext >&5
83644 eval "$as_ac_var=no"
83646 rm -f conftest.err conftest.$ac_objext \
83647 conftest$ac_exeext conftest.$ac_ext
83649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83651 if test `eval echo '${'$as_ac_var'}'` = yes; then
83652 cat >>confdefs.h <<_ACEOF
83653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83654 _ACEOF
83656 else
83657 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83659 done
83662 if test x$ac_cv_func_copysignl = x"yes"; then
83664 for ac_func in __signbitl
83666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83667 echo "$as_me:$LINENO: checking for $ac_func" >&5
83668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83669 if eval "test \"\${$as_ac_var+set}\" = set"; then
83670 echo $ECHO_N "(cached) $ECHO_C" >&6
83671 else
83672 if test x$gcc_no_link = xyes; then
83673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83675 { (exit 1); exit 1; }; }
83677 cat >conftest.$ac_ext <<_ACEOF
83678 /* confdefs.h. */
83679 _ACEOF
83680 cat confdefs.h >>conftest.$ac_ext
83681 cat >>conftest.$ac_ext <<_ACEOF
83682 /* end confdefs.h. */
83683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83685 #define $ac_func innocuous_$ac_func
83687 /* System header to define __stub macros and hopefully few prototypes,
83688 which can conflict with char $ac_func (); below.
83689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83690 <limits.h> exists even on freestanding compilers. */
83692 #ifdef __STDC__
83693 # include <limits.h>
83694 #else
83695 # include <assert.h>
83696 #endif
83698 #undef $ac_func
83700 /* Override any gcc2 internal prototype to avoid an error. */
83701 #ifdef __cplusplus
83702 extern "C"
83704 #endif
83705 /* We use char because int might match the return type of a gcc2
83706 builtin and then its argument prototype would still apply. */
83707 char $ac_func ();
83708 /* The GNU C library defines this for functions which it implements
83709 to always fail with ENOSYS. Some functions are actually named
83710 something starting with __ and the normal name is an alias. */
83711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83712 choke me
83713 #else
83714 char (*f) () = $ac_func;
83715 #endif
83716 #ifdef __cplusplus
83718 #endif
83721 main ()
83723 return f != $ac_func;
83725 return 0;
83727 _ACEOF
83728 rm -f conftest.$ac_objext conftest$ac_exeext
83729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83730 (eval $ac_link) 2>conftest.er1
83731 ac_status=$?
83732 grep -v '^ *+' conftest.er1 >conftest.err
83733 rm -f conftest.er1
83734 cat conftest.err >&5
83735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83736 (exit $ac_status); } &&
83737 { ac_try='test -z "$ac_c_werror_flag"
83738 || test ! -s conftest.err'
83739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83740 (eval $ac_try) 2>&5
83741 ac_status=$?
83742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83743 (exit $ac_status); }; } &&
83744 { ac_try='test -s conftest$ac_exeext'
83745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83746 (eval $ac_try) 2>&5
83747 ac_status=$?
83748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83749 (exit $ac_status); }; }; then
83750 eval "$as_ac_var=yes"
83751 else
83752 echo "$as_me: failed program was:" >&5
83753 sed 's/^/| /' conftest.$ac_ext >&5
83755 eval "$as_ac_var=no"
83757 rm -f conftest.err conftest.$ac_objext \
83758 conftest$ac_exeext conftest.$ac_ext
83760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83762 if test `eval echo '${'$as_ac_var'}'` = yes; then
83763 cat >>confdefs.h <<_ACEOF
83764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83765 _ACEOF
83767 else
83768 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83770 done
83774 # Used in libmath/Makefile.am.
83775 if test -n "$LIBMATHOBJS"; then
83776 need_libmath=yes
83781 ac_test_CXXFLAGS="${CXXFLAGS+set}"
83782 ac_save_CXXFLAGS="$CXXFLAGS"
83783 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83786 echo "$as_me:$LINENO: checking for strtold declaration" >&5
83787 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
83788 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
83789 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
83790 echo $ECHO_N "(cached) $ECHO_C" >&6
83791 else
83795 ac_ext=cc
83796 ac_cpp='$CXXCPP $CPPFLAGS'
83797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83801 cat >conftest.$ac_ext <<_ACEOF
83802 /* confdefs.h. */
83803 _ACEOF
83804 cat confdefs.h >>conftest.$ac_ext
83805 cat >>conftest.$ac_ext <<_ACEOF
83806 /* end confdefs.h. */
83807 #include <stdlib.h>
83809 main ()
83811 strtold(0, 0);
83813 return 0;
83815 _ACEOF
83816 rm -f conftest.$ac_objext
83817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83818 (eval $ac_compile) 2>conftest.er1
83819 ac_status=$?
83820 grep -v '^ *+' conftest.er1 >conftest.err
83821 rm -f conftest.er1
83822 cat conftest.err >&5
83823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83824 (exit $ac_status); } &&
83825 { ac_try='test -z "$ac_cxx_werror_flag"
83826 || test ! -s conftest.err'
83827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83828 (eval $ac_try) 2>&5
83829 ac_status=$?
83830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83831 (exit $ac_status); }; } &&
83832 { ac_try='test -s conftest.$ac_objext'
83833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83834 (eval $ac_try) 2>&5
83835 ac_status=$?
83836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83837 (exit $ac_status); }; }; then
83838 glibcxx_cv_func_strtold_use=yes
83839 else
83840 echo "$as_me: failed program was:" >&5
83841 sed 's/^/| /' conftest.$ac_ext >&5
83843 glibcxx_cv_func_strtold_use=no
83845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83846 ac_ext=c
83847 ac_cpp='$CPP $CPPFLAGS'
83848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
83857 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
83858 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
83860 for ac_func in strtold
83862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83863 echo "$as_me:$LINENO: checking for $ac_func" >&5
83864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83865 if eval "test \"\${$as_ac_var+set}\" = set"; then
83866 echo $ECHO_N "(cached) $ECHO_C" >&6
83867 else
83868 if test x$gcc_no_link = xyes; then
83869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83871 { (exit 1); exit 1; }; }
83873 cat >conftest.$ac_ext <<_ACEOF
83874 /* confdefs.h. */
83875 _ACEOF
83876 cat confdefs.h >>conftest.$ac_ext
83877 cat >>conftest.$ac_ext <<_ACEOF
83878 /* end confdefs.h. */
83879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83881 #define $ac_func innocuous_$ac_func
83883 /* System header to define __stub macros and hopefully few prototypes,
83884 which can conflict with char $ac_func (); below.
83885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83886 <limits.h> exists even on freestanding compilers. */
83888 #ifdef __STDC__
83889 # include <limits.h>
83890 #else
83891 # include <assert.h>
83892 #endif
83894 #undef $ac_func
83896 /* Override any gcc2 internal prototype to avoid an error. */
83897 #ifdef __cplusplus
83898 extern "C"
83900 #endif
83901 /* We use char because int might match the return type of a gcc2
83902 builtin and then its argument prototype would still apply. */
83903 char $ac_func ();
83904 /* The GNU C library defines this for functions which it implements
83905 to always fail with ENOSYS. Some functions are actually named
83906 something starting with __ and the normal name is an alias. */
83907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83908 choke me
83909 #else
83910 char (*f) () = $ac_func;
83911 #endif
83912 #ifdef __cplusplus
83914 #endif
83917 main ()
83919 return f != $ac_func;
83921 return 0;
83923 _ACEOF
83924 rm -f conftest.$ac_objext conftest$ac_exeext
83925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83926 (eval $ac_link) 2>conftest.er1
83927 ac_status=$?
83928 grep -v '^ *+' conftest.er1 >conftest.err
83929 rm -f conftest.er1
83930 cat conftest.err >&5
83931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83932 (exit $ac_status); } &&
83933 { ac_try='test -z "$ac_c_werror_flag"
83934 || test ! -s conftest.err'
83935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83936 (eval $ac_try) 2>&5
83937 ac_status=$?
83938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83939 (exit $ac_status); }; } &&
83940 { ac_try='test -s conftest$ac_exeext'
83941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83942 (eval $ac_try) 2>&5
83943 ac_status=$?
83944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83945 (exit $ac_status); }; }; then
83946 eval "$as_ac_var=yes"
83947 else
83948 echo "$as_me: failed program was:" >&5
83949 sed 's/^/| /' conftest.$ac_ext >&5
83951 eval "$as_ac_var=no"
83953 rm -f conftest.err conftest.$ac_objext \
83954 conftest$ac_exeext conftest.$ac_ext
83956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83958 if test `eval echo '${'$as_ac_var'}'` = yes; then
83959 cat >>confdefs.h <<_ACEOF
83960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83961 _ACEOF
83964 done
83972 echo "$as_me:$LINENO: checking for strtof declaration" >&5
83973 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
83974 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
83975 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
83976 echo $ECHO_N "(cached) $ECHO_C" >&6
83977 else
83981 ac_ext=cc
83982 ac_cpp='$CXXCPP $CPPFLAGS'
83983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83987 cat >conftest.$ac_ext <<_ACEOF
83988 /* confdefs.h. */
83989 _ACEOF
83990 cat confdefs.h >>conftest.$ac_ext
83991 cat >>conftest.$ac_ext <<_ACEOF
83992 /* end confdefs.h. */
83993 #include <stdlib.h>
83995 main ()
83997 strtof(0, 0);
83999 return 0;
84001 _ACEOF
84002 rm -f conftest.$ac_objext
84003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84004 (eval $ac_compile) 2>conftest.er1
84005 ac_status=$?
84006 grep -v '^ *+' conftest.er1 >conftest.err
84007 rm -f conftest.er1
84008 cat conftest.err >&5
84009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84010 (exit $ac_status); } &&
84011 { ac_try='test -z "$ac_cxx_werror_flag"
84012 || test ! -s conftest.err'
84013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84014 (eval $ac_try) 2>&5
84015 ac_status=$?
84016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84017 (exit $ac_status); }; } &&
84018 { ac_try='test -s conftest.$ac_objext'
84019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84020 (eval $ac_try) 2>&5
84021 ac_status=$?
84022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84023 (exit $ac_status); }; }; then
84024 glibcxx_cv_func_strtof_use=yes
84025 else
84026 echo "$as_me: failed program was:" >&5
84027 sed 's/^/| /' conftest.$ac_ext >&5
84029 glibcxx_cv_func_strtof_use=no
84031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84032 ac_ext=c
84033 ac_cpp='$CPP $CPPFLAGS'
84034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84043 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84044 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84046 for ac_func in strtof
84048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84049 echo "$as_me:$LINENO: checking for $ac_func" >&5
84050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84051 if eval "test \"\${$as_ac_var+set}\" = set"; then
84052 echo $ECHO_N "(cached) $ECHO_C" >&6
84053 else
84054 if test x$gcc_no_link = xyes; then
84055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84057 { (exit 1); exit 1; }; }
84059 cat >conftest.$ac_ext <<_ACEOF
84060 /* confdefs.h. */
84061 _ACEOF
84062 cat confdefs.h >>conftest.$ac_ext
84063 cat >>conftest.$ac_ext <<_ACEOF
84064 /* end confdefs.h. */
84065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84067 #define $ac_func innocuous_$ac_func
84069 /* System header to define __stub macros and hopefully few prototypes,
84070 which can conflict with char $ac_func (); below.
84071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84072 <limits.h> exists even on freestanding compilers. */
84074 #ifdef __STDC__
84075 # include <limits.h>
84076 #else
84077 # include <assert.h>
84078 #endif
84080 #undef $ac_func
84082 /* Override any gcc2 internal prototype to avoid an error. */
84083 #ifdef __cplusplus
84084 extern "C"
84086 #endif
84087 /* We use char because int might match the return type of a gcc2
84088 builtin and then its argument prototype would still apply. */
84089 char $ac_func ();
84090 /* The GNU C library defines this for functions which it implements
84091 to always fail with ENOSYS. Some functions are actually named
84092 something starting with __ and the normal name is an alias. */
84093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84094 choke me
84095 #else
84096 char (*f) () = $ac_func;
84097 #endif
84098 #ifdef __cplusplus
84100 #endif
84103 main ()
84105 return f != $ac_func;
84107 return 0;
84109 _ACEOF
84110 rm -f conftest.$ac_objext conftest$ac_exeext
84111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84112 (eval $ac_link) 2>conftest.er1
84113 ac_status=$?
84114 grep -v '^ *+' conftest.er1 >conftest.err
84115 rm -f conftest.er1
84116 cat conftest.err >&5
84117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84118 (exit $ac_status); } &&
84119 { ac_try='test -z "$ac_c_werror_flag"
84120 || test ! -s conftest.err'
84121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84122 (eval $ac_try) 2>&5
84123 ac_status=$?
84124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84125 (exit $ac_status); }; } &&
84126 { ac_try='test -s conftest$ac_exeext'
84127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84128 (eval $ac_try) 2>&5
84129 ac_status=$?
84130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84131 (exit $ac_status); }; }; then
84132 eval "$as_ac_var=yes"
84133 else
84134 echo "$as_me: failed program was:" >&5
84135 sed 's/^/| /' conftest.$ac_ext >&5
84137 eval "$as_ac_var=no"
84139 rm -f conftest.err conftest.$ac_objext \
84140 conftest$ac_exeext conftest.$ac_ext
84142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84144 if test `eval echo '${'$as_ac_var'}'` = yes; then
84145 cat >>confdefs.h <<_ACEOF
84146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84147 _ACEOF
84150 done
84158 CXXFLAGS="$ac_save_CXXFLAGS"
84161 # For showmanyc_helper().
84164 for ac_header in sys/ioctl.h sys/filio.h
84166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84168 echo "$as_me:$LINENO: checking for $ac_header" >&5
84169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84171 echo $ECHO_N "(cached) $ECHO_C" >&6
84173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84175 else
84176 # Is the header compilable?
84177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84179 cat >conftest.$ac_ext <<_ACEOF
84180 /* confdefs.h. */
84181 _ACEOF
84182 cat confdefs.h >>conftest.$ac_ext
84183 cat >>conftest.$ac_ext <<_ACEOF
84184 /* end confdefs.h. */
84185 $ac_includes_default
84186 #include <$ac_header>
84187 _ACEOF
84188 rm -f conftest.$ac_objext
84189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84190 (eval $ac_compile) 2>conftest.er1
84191 ac_status=$?
84192 grep -v '^ *+' conftest.er1 >conftest.err
84193 rm -f conftest.er1
84194 cat conftest.err >&5
84195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84196 (exit $ac_status); } &&
84197 { ac_try='test -z "$ac_c_werror_flag"
84198 || test ! -s conftest.err'
84199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84200 (eval $ac_try) 2>&5
84201 ac_status=$?
84202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84203 (exit $ac_status); }; } &&
84204 { ac_try='test -s conftest.$ac_objext'
84205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84206 (eval $ac_try) 2>&5
84207 ac_status=$?
84208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84209 (exit $ac_status); }; }; then
84210 ac_header_compiler=yes
84211 else
84212 echo "$as_me: failed program was:" >&5
84213 sed 's/^/| /' conftest.$ac_ext >&5
84215 ac_header_compiler=no
84217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84219 echo "${ECHO_T}$ac_header_compiler" >&6
84221 # Is the header present?
84222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84224 cat >conftest.$ac_ext <<_ACEOF
84225 /* confdefs.h. */
84226 _ACEOF
84227 cat confdefs.h >>conftest.$ac_ext
84228 cat >>conftest.$ac_ext <<_ACEOF
84229 /* end confdefs.h. */
84230 #include <$ac_header>
84231 _ACEOF
84232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84234 ac_status=$?
84235 grep -v '^ *+' conftest.er1 >conftest.err
84236 rm -f conftest.er1
84237 cat conftest.err >&5
84238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84239 (exit $ac_status); } >/dev/null; then
84240 if test -s conftest.err; then
84241 ac_cpp_err=$ac_c_preproc_warn_flag
84242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84243 else
84244 ac_cpp_err=
84246 else
84247 ac_cpp_err=yes
84249 if test -z "$ac_cpp_err"; then
84250 ac_header_preproc=yes
84251 else
84252 echo "$as_me: failed program was:" >&5
84253 sed 's/^/| /' conftest.$ac_ext >&5
84255 ac_header_preproc=no
84257 rm -f conftest.err conftest.$ac_ext
84258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84259 echo "${ECHO_T}$ac_header_preproc" >&6
84261 # So? What about this header?
84262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84263 yes:no: )
84264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84268 ac_header_preproc=yes
84270 no:yes:* )
84271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84284 cat <<\_ASBOX
84285 ## ----------------------------------------- ##
84286 ## Report this to the package-unused lists. ##
84287 ## ----------------------------------------- ##
84288 _ASBOX
84290 sed "s/^/$as_me: WARNING: /" >&2
84292 esac
84293 echo "$as_me:$LINENO: checking for $ac_header" >&5
84294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84296 echo $ECHO_N "(cached) $ECHO_C" >&6
84297 else
84298 eval "$as_ac_Header=\$ac_header_preproc"
84300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84305 cat >>confdefs.h <<_ACEOF
84306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84307 _ACEOF
84311 done
84314 echo "$as_me:$LINENO: checking for poll" >&5
84315 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84316 if test "${glibcxx_cv_POLL+set}" = set; then
84317 echo $ECHO_N "(cached) $ECHO_C" >&6
84318 else
84320 if test x$gcc_no_link = xyes; then
84321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84323 { (exit 1); exit 1; }; }
84325 cat >conftest.$ac_ext <<_ACEOF
84326 /* confdefs.h. */
84327 _ACEOF
84328 cat confdefs.h >>conftest.$ac_ext
84329 cat >>conftest.$ac_ext <<_ACEOF
84330 /* end confdefs.h. */
84331 #include <poll.h>
84333 main ()
84335 struct pollfd pfd[1];
84336 pfd[0].events = POLLIN;
84337 poll(pfd, 1, 0);
84339 return 0;
84341 _ACEOF
84342 rm -f conftest.$ac_objext conftest$ac_exeext
84343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84344 (eval $ac_link) 2>conftest.er1
84345 ac_status=$?
84346 grep -v '^ *+' conftest.er1 >conftest.err
84347 rm -f conftest.er1
84348 cat conftest.err >&5
84349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84350 (exit $ac_status); } &&
84351 { ac_try='test -z "$ac_c_werror_flag"
84352 || test ! -s conftest.err'
84353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84354 (eval $ac_try) 2>&5
84355 ac_status=$?
84356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84357 (exit $ac_status); }; } &&
84358 { ac_try='test -s conftest$ac_exeext'
84359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84360 (eval $ac_try) 2>&5
84361 ac_status=$?
84362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84363 (exit $ac_status); }; }; then
84364 glibcxx_cv_POLL=yes
84365 else
84366 echo "$as_me: failed program was:" >&5
84367 sed 's/^/| /' conftest.$ac_ext >&5
84369 glibcxx_cv_POLL=no
84371 rm -f conftest.err conftest.$ac_objext \
84372 conftest$ac_exeext conftest.$ac_ext
84376 if test $glibcxx_cv_POLL = yes; then
84378 cat >>confdefs.h <<\_ACEOF
84379 #define HAVE_POLL 1
84380 _ACEOF
84383 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84384 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84387 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84388 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84389 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84390 echo $ECHO_N "(cached) $ECHO_C" >&6
84391 else
84393 if test x$gcc_no_link = xyes; then
84394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84396 { (exit 1); exit 1; }; }
84398 cat >conftest.$ac_ext <<_ACEOF
84399 /* confdefs.h. */
84400 _ACEOF
84401 cat confdefs.h >>conftest.$ac_ext
84402 cat >>conftest.$ac_ext <<_ACEOF
84403 /* end confdefs.h. */
84404 #include <sys/stat.h>
84406 main ()
84408 struct stat buffer;
84409 fstat(0, &buffer);
84410 S_ISREG(buffer.st_mode);
84412 return 0;
84414 _ACEOF
84415 rm -f conftest.$ac_objext conftest$ac_exeext
84416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84417 (eval $ac_link) 2>conftest.er1
84418 ac_status=$?
84419 grep -v '^ *+' conftest.er1 >conftest.err
84420 rm -f conftest.er1
84421 cat conftest.err >&5
84422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84423 (exit $ac_status); } &&
84424 { ac_try='test -z "$ac_c_werror_flag"
84425 || test ! -s conftest.err'
84426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84427 (eval $ac_try) 2>&5
84428 ac_status=$?
84429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84430 (exit $ac_status); }; } &&
84431 { ac_try='test -s conftest$ac_exeext'
84432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84433 (eval $ac_try) 2>&5
84434 ac_status=$?
84435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84436 (exit $ac_status); }; }; then
84437 glibcxx_cv_S_ISREG=yes
84438 else
84439 echo "$as_me: failed program was:" >&5
84440 sed 's/^/| /' conftest.$ac_ext >&5
84442 glibcxx_cv_S_ISREG=no
84444 rm -f conftest.err conftest.$ac_objext \
84445 conftest$ac_exeext conftest.$ac_ext
84449 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84450 echo $ECHO_N "(cached) $ECHO_C" >&6
84451 else
84453 if test x$gcc_no_link = xyes; then
84454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84456 { (exit 1); exit 1; }; }
84458 cat >conftest.$ac_ext <<_ACEOF
84459 /* confdefs.h. */
84460 _ACEOF
84461 cat confdefs.h >>conftest.$ac_ext
84462 cat >>conftest.$ac_ext <<_ACEOF
84463 /* end confdefs.h. */
84464 #include <sys/stat.h>
84466 main ()
84468 struct stat buffer;
84469 fstat(0, &buffer);
84470 S_IFREG & buffer.st_mode;
84472 return 0;
84474 _ACEOF
84475 rm -f conftest.$ac_objext conftest$ac_exeext
84476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84477 (eval $ac_link) 2>conftest.er1
84478 ac_status=$?
84479 grep -v '^ *+' conftest.er1 >conftest.err
84480 rm -f conftest.er1
84481 cat conftest.err >&5
84482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84483 (exit $ac_status); } &&
84484 { ac_try='test -z "$ac_c_werror_flag"
84485 || test ! -s conftest.err'
84486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84487 (eval $ac_try) 2>&5
84488 ac_status=$?
84489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84490 (exit $ac_status); }; } &&
84491 { ac_try='test -s conftest$ac_exeext'
84492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84493 (eval $ac_try) 2>&5
84494 ac_status=$?
84495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84496 (exit $ac_status); }; }; then
84497 glibcxx_cv_S_IFREG=yes
84498 else
84499 echo "$as_me: failed program was:" >&5
84500 sed 's/^/| /' conftest.$ac_ext >&5
84502 glibcxx_cv_S_IFREG=no
84504 rm -f conftest.err conftest.$ac_objext \
84505 conftest$ac_exeext conftest.$ac_ext
84509 res=no
84510 if test $glibcxx_cv_S_ISREG = yes; then
84512 cat >>confdefs.h <<\_ACEOF
84513 #define HAVE_S_ISREG 1
84514 _ACEOF
84516 res=S_ISREG
84517 elif test $glibcxx_cv_S_IFREG = yes; then
84519 cat >>confdefs.h <<\_ACEOF
84520 #define HAVE_S_IFREG 1
84521 _ACEOF
84523 res=S_IFREG
84525 echo "$as_me:$LINENO: result: $res" >&5
84526 echo "${ECHO_T}$res" >&6
84529 # For xsputn_2().
84531 for ac_header in sys/uio.h
84533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84535 echo "$as_me:$LINENO: checking for $ac_header" >&5
84536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84538 echo $ECHO_N "(cached) $ECHO_C" >&6
84540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84542 else
84543 # Is the header compilable?
84544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84546 cat >conftest.$ac_ext <<_ACEOF
84547 /* confdefs.h. */
84548 _ACEOF
84549 cat confdefs.h >>conftest.$ac_ext
84550 cat >>conftest.$ac_ext <<_ACEOF
84551 /* end confdefs.h. */
84552 $ac_includes_default
84553 #include <$ac_header>
84554 _ACEOF
84555 rm -f conftest.$ac_objext
84556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84557 (eval $ac_compile) 2>conftest.er1
84558 ac_status=$?
84559 grep -v '^ *+' conftest.er1 >conftest.err
84560 rm -f conftest.er1
84561 cat conftest.err >&5
84562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84563 (exit $ac_status); } &&
84564 { ac_try='test -z "$ac_c_werror_flag"
84565 || test ! -s conftest.err'
84566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84567 (eval $ac_try) 2>&5
84568 ac_status=$?
84569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84570 (exit $ac_status); }; } &&
84571 { ac_try='test -s conftest.$ac_objext'
84572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84573 (eval $ac_try) 2>&5
84574 ac_status=$?
84575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84576 (exit $ac_status); }; }; then
84577 ac_header_compiler=yes
84578 else
84579 echo "$as_me: failed program was:" >&5
84580 sed 's/^/| /' conftest.$ac_ext >&5
84582 ac_header_compiler=no
84584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84586 echo "${ECHO_T}$ac_header_compiler" >&6
84588 # Is the header present?
84589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84591 cat >conftest.$ac_ext <<_ACEOF
84592 /* confdefs.h. */
84593 _ACEOF
84594 cat confdefs.h >>conftest.$ac_ext
84595 cat >>conftest.$ac_ext <<_ACEOF
84596 /* end confdefs.h. */
84597 #include <$ac_header>
84598 _ACEOF
84599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84601 ac_status=$?
84602 grep -v '^ *+' conftest.er1 >conftest.err
84603 rm -f conftest.er1
84604 cat conftest.err >&5
84605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84606 (exit $ac_status); } >/dev/null; then
84607 if test -s conftest.err; then
84608 ac_cpp_err=$ac_c_preproc_warn_flag
84609 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84610 else
84611 ac_cpp_err=
84613 else
84614 ac_cpp_err=yes
84616 if test -z "$ac_cpp_err"; then
84617 ac_header_preproc=yes
84618 else
84619 echo "$as_me: failed program was:" >&5
84620 sed 's/^/| /' conftest.$ac_ext >&5
84622 ac_header_preproc=no
84624 rm -f conftest.err conftest.$ac_ext
84625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84626 echo "${ECHO_T}$ac_header_preproc" >&6
84628 # So? What about this header?
84629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84630 yes:no: )
84631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84635 ac_header_preproc=yes
84637 no:yes:* )
84638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84642 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84644 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84651 cat <<\_ASBOX
84652 ## ----------------------------------------- ##
84653 ## Report this to the package-unused lists. ##
84654 ## ----------------------------------------- ##
84655 _ASBOX
84657 sed "s/^/$as_me: WARNING: /" >&2
84659 esac
84660 echo "$as_me:$LINENO: checking for $ac_header" >&5
84661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84663 echo $ECHO_N "(cached) $ECHO_C" >&6
84664 else
84665 eval "$as_ac_Header=\$ac_header_preproc"
84667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84672 cat >>confdefs.h <<_ACEOF
84673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84674 _ACEOF
84678 done
84681 echo "$as_me:$LINENO: checking for writev" >&5
84682 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84683 if test "${glibcxx_cv_WRITEV+set}" = set; then
84684 echo $ECHO_N "(cached) $ECHO_C" >&6
84685 else
84687 if test x$gcc_no_link = xyes; then
84688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84690 { (exit 1); exit 1; }; }
84692 cat >conftest.$ac_ext <<_ACEOF
84693 /* confdefs.h. */
84694 _ACEOF
84695 cat confdefs.h >>conftest.$ac_ext
84696 cat >>conftest.$ac_ext <<_ACEOF
84697 /* end confdefs.h. */
84698 #include <sys/uio.h>
84700 main ()
84702 struct iovec iov[2];
84703 writev(0, iov, 0);
84705 return 0;
84707 _ACEOF
84708 rm -f conftest.$ac_objext conftest$ac_exeext
84709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84710 (eval $ac_link) 2>conftest.er1
84711 ac_status=$?
84712 grep -v '^ *+' conftest.er1 >conftest.err
84713 rm -f conftest.er1
84714 cat conftest.err >&5
84715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84716 (exit $ac_status); } &&
84717 { ac_try='test -z "$ac_c_werror_flag"
84718 || test ! -s conftest.err'
84719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84720 (eval $ac_try) 2>&5
84721 ac_status=$?
84722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84723 (exit $ac_status); }; } &&
84724 { ac_try='test -s conftest$ac_exeext'
84725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84726 (eval $ac_try) 2>&5
84727 ac_status=$?
84728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84729 (exit $ac_status); }; }; then
84730 glibcxx_cv_WRITEV=yes
84731 else
84732 echo "$as_me: failed program was:" >&5
84733 sed 's/^/| /' conftest.$ac_ext >&5
84735 glibcxx_cv_WRITEV=no
84737 rm -f conftest.err conftest.$ac_objext \
84738 conftest$ac_exeext conftest.$ac_ext
84742 if test $glibcxx_cv_WRITEV = yes; then
84744 cat >>confdefs.h <<\_ACEOF
84745 #define HAVE_WRITEV 1
84746 _ACEOF
84749 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84750 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84753 cat >>confdefs.h <<\_ACEOF
84754 #define HAVE_LC_MESSAGES 1
84755 _ACEOF
84758 cat >conftest.$ac_ext <<_ACEOF
84759 /* confdefs.h. */
84760 _ACEOF
84761 cat confdefs.h >>conftest.$ac_ext
84762 cat >>conftest.$ac_ext <<_ACEOF
84763 /* end confdefs.h. */
84764 #include <setjmp.h>
84766 main ()
84768 sigjmp_buf env;
84769 while (! sigsetjmp (env, 1))
84770 siglongjmp (env, 1);
84773 return 0;
84775 _ACEOF
84776 rm -f conftest.$ac_objext
84777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84778 (eval $ac_compile) 2>conftest.er1
84779 ac_status=$?
84780 grep -v '^ *+' conftest.er1 >conftest.err
84781 rm -f conftest.er1
84782 cat conftest.err >&5
84783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84784 (exit $ac_status); } &&
84785 { ac_try='test -z "$ac_c_werror_flag"
84786 || test ! -s conftest.err'
84787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84788 (eval $ac_try) 2>&5
84789 ac_status=$?
84790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84791 (exit $ac_status); }; } &&
84792 { ac_try='test -s conftest.$ac_objext'
84793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84794 (eval $ac_try) 2>&5
84795 ac_status=$?
84796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84797 (exit $ac_status); }; }; then
84799 cat >>confdefs.h <<\_ACEOF
84800 #define HAVE_SIGSETJMP 1
84801 _ACEOF
84803 else
84804 echo "$as_me: failed program was:" >&5
84805 sed 's/^/| /' conftest.$ac_ext >&5
84808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84810 cat >>confdefs.h <<\_ACEOF
84811 #define HAVE_MMAP 1
84812 _ACEOF
84816 *djgpp)
84837 for ac_header in float.h ieeefp.h inttypes.h locale.h \
84838 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
84839 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
84840 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
84842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84844 echo "$as_me:$LINENO: checking for $ac_header" >&5
84845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84847 echo $ECHO_N "(cached) $ECHO_C" >&6
84849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84851 else
84852 # Is the header compilable?
84853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84855 cat >conftest.$ac_ext <<_ACEOF
84856 /* confdefs.h. */
84857 _ACEOF
84858 cat confdefs.h >>conftest.$ac_ext
84859 cat >>conftest.$ac_ext <<_ACEOF
84860 /* end confdefs.h. */
84861 $ac_includes_default
84862 #include <$ac_header>
84863 _ACEOF
84864 rm -f conftest.$ac_objext
84865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84866 (eval $ac_compile) 2>conftest.er1
84867 ac_status=$?
84868 grep -v '^ *+' conftest.er1 >conftest.err
84869 rm -f conftest.er1
84870 cat conftest.err >&5
84871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84872 (exit $ac_status); } &&
84873 { ac_try='test -z "$ac_c_werror_flag"
84874 || test ! -s conftest.err'
84875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84876 (eval $ac_try) 2>&5
84877 ac_status=$?
84878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84879 (exit $ac_status); }; } &&
84880 { ac_try='test -s conftest.$ac_objext'
84881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84882 (eval $ac_try) 2>&5
84883 ac_status=$?
84884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84885 (exit $ac_status); }; }; then
84886 ac_header_compiler=yes
84887 else
84888 echo "$as_me: failed program was:" >&5
84889 sed 's/^/| /' conftest.$ac_ext >&5
84891 ac_header_compiler=no
84893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84895 echo "${ECHO_T}$ac_header_compiler" >&6
84897 # Is the header present?
84898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84900 cat >conftest.$ac_ext <<_ACEOF
84901 /* confdefs.h. */
84902 _ACEOF
84903 cat confdefs.h >>conftest.$ac_ext
84904 cat >>conftest.$ac_ext <<_ACEOF
84905 /* end confdefs.h. */
84906 #include <$ac_header>
84907 _ACEOF
84908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84910 ac_status=$?
84911 grep -v '^ *+' conftest.er1 >conftest.err
84912 rm -f conftest.er1
84913 cat conftest.err >&5
84914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84915 (exit $ac_status); } >/dev/null; then
84916 if test -s conftest.err; then
84917 ac_cpp_err=$ac_c_preproc_warn_flag
84918 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84919 else
84920 ac_cpp_err=
84922 else
84923 ac_cpp_err=yes
84925 if test -z "$ac_cpp_err"; then
84926 ac_header_preproc=yes
84927 else
84928 echo "$as_me: failed program was:" >&5
84929 sed 's/^/| /' conftest.$ac_ext >&5
84931 ac_header_preproc=no
84933 rm -f conftest.err conftest.$ac_ext
84934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84935 echo "${ECHO_T}$ac_header_preproc" >&6
84937 # So? What about this header?
84938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84939 yes:no: )
84940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84944 ac_header_preproc=yes
84946 no:yes:* )
84947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84960 cat <<\_ASBOX
84961 ## ----------------------------------------- ##
84962 ## Report this to the package-unused lists. ##
84963 ## ----------------------------------------- ##
84964 _ASBOX
84966 sed "s/^/$as_me: WARNING: /" >&2
84968 esac
84969 echo "$as_me:$LINENO: checking for $ac_header" >&5
84970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84972 echo $ECHO_N "(cached) $ECHO_C" >&6
84973 else
84974 eval "$as_ac_Header=\$ac_header_preproc"
84976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84981 cat >>confdefs.h <<_ACEOF
84982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84983 _ACEOF
84987 done
84989 # GLIBCXX_CHECK_MATH_SUPPORT
84990 cat >>confdefs.h <<\_ACEOF
84991 #define HAVE_LIBM 1
84992 _ACEOF
84994 cat >>confdefs.h <<\_ACEOF
84995 #define HAVE_ISINF 1
84996 _ACEOF
84998 cat >>confdefs.h <<\_ACEOF
84999 #define HAVE_ISNAN 1
85000 _ACEOF
85002 cat >>confdefs.h <<\_ACEOF
85003 #define HAVE_FINITE 1
85004 _ACEOF
85006 cat >>confdefs.h <<\_ACEOF
85007 #define HAVE_COPYSIGN 1
85008 _ACEOF
85010 cat >>confdefs.h <<\_ACEOF
85011 #define HAVE_SINCOS 1
85012 _ACEOF
85014 cat >>confdefs.h <<\_ACEOF
85015 #define HAVE_HYPOT 1
85016 _ACEOF
85018 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85019 cat >>confdefs.h <<\_ACEOF
85020 #define HAVE___BUILTIN_ABS 1
85021 _ACEOF
85023 cat >>confdefs.h <<\_ACEOF
85024 #define HAVE___BUILTIN_FABSF 1
85025 _ACEOF
85027 cat >>confdefs.h <<\_ACEOF
85028 #define HAVE___BUILTIN_FABS 1
85029 _ACEOF
85031 cat >>confdefs.h <<\_ACEOF
85032 #define HAVE___BUILTIN_FABSL 1
85033 _ACEOF
85035 cat >>confdefs.h <<\_ACEOF
85036 #define HAVE___BUILTIN_LABS 1
85037 _ACEOF
85039 cat >>confdefs.h <<\_ACEOF
85040 #define HAVE___BUILTIN_SQRTF 1
85041 _ACEOF
85043 cat >>confdefs.h <<\_ACEOF
85044 #define HAVE___BUILTIN_SQRT 1
85045 _ACEOF
85047 cat >>confdefs.h <<\_ACEOF
85048 #define HAVE___BUILTIN_SQRTL 1
85049 _ACEOF
85051 cat >>confdefs.h <<\_ACEOF
85052 #define HAVE___BUILTIN_SINF 1
85053 _ACEOF
85055 cat >>confdefs.h <<\_ACEOF
85056 #define HAVE___BUILTIN_SIN 1
85057 _ACEOF
85059 cat >>confdefs.h <<\_ACEOF
85060 #define HAVE___BUILTIN_SINL 1
85061 _ACEOF
85063 cat >>confdefs.h <<\_ACEOF
85064 #define HAVE___BUILTIN_COSF 1
85065 _ACEOF
85067 cat >>confdefs.h <<\_ACEOF
85068 #define HAVE___BUILTIN_COS 1
85069 _ACEOF
85071 cat >>confdefs.h <<\_ACEOF
85072 #define HAVE___BUILTIN_COSL 1
85073 _ACEOF
85075 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85076 # GLIBCXX_CHECK_STDLIB_SUPPORT
85077 cat >>confdefs.h <<\_ACEOF
85078 #define HAVE_COPYSIGN 1
85079 _ACEOF
85081 cat >>confdefs.h <<\_ACEOF
85082 #define HAVE_COPYSIGNF 1
85083 _ACEOF
85085 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85086 cat >>confdefs.h <<\_ACEOF
85087 #define HAVE_S_ISREG 1
85088 _ACEOF
85090 cat >>confdefs.h <<\_ACEOF
85091 #define HAVE_S_IFREG 1
85092 _ACEOF
85094 cat >>confdefs.h <<\_ACEOF
85095 #define HAVE_WRITEV 1
85096 _ACEOF
85100 *-freebsd*)
85117 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85118 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85119 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85120 sys/time.h unistd.h
85122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85124 echo "$as_me:$LINENO: checking for $ac_header" >&5
85125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85127 echo $ECHO_N "(cached) $ECHO_C" >&6
85129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85131 else
85132 # Is the header compilable?
85133 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85134 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85135 cat >conftest.$ac_ext <<_ACEOF
85136 /* confdefs.h. */
85137 _ACEOF
85138 cat confdefs.h >>conftest.$ac_ext
85139 cat >>conftest.$ac_ext <<_ACEOF
85140 /* end confdefs.h. */
85141 $ac_includes_default
85142 #include <$ac_header>
85143 _ACEOF
85144 rm -f conftest.$ac_objext
85145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85146 (eval $ac_compile) 2>conftest.er1
85147 ac_status=$?
85148 grep -v '^ *+' conftest.er1 >conftest.err
85149 rm -f conftest.er1
85150 cat conftest.err >&5
85151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85152 (exit $ac_status); } &&
85153 { ac_try='test -z "$ac_c_werror_flag"
85154 || test ! -s conftest.err'
85155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85156 (eval $ac_try) 2>&5
85157 ac_status=$?
85158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85159 (exit $ac_status); }; } &&
85160 { ac_try='test -s conftest.$ac_objext'
85161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85162 (eval $ac_try) 2>&5
85163 ac_status=$?
85164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85165 (exit $ac_status); }; }; then
85166 ac_header_compiler=yes
85167 else
85168 echo "$as_me: failed program was:" >&5
85169 sed 's/^/| /' conftest.$ac_ext >&5
85171 ac_header_compiler=no
85173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85175 echo "${ECHO_T}$ac_header_compiler" >&6
85177 # Is the header present?
85178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85180 cat >conftest.$ac_ext <<_ACEOF
85181 /* confdefs.h. */
85182 _ACEOF
85183 cat confdefs.h >>conftest.$ac_ext
85184 cat >>conftest.$ac_ext <<_ACEOF
85185 /* end confdefs.h. */
85186 #include <$ac_header>
85187 _ACEOF
85188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85190 ac_status=$?
85191 grep -v '^ *+' conftest.er1 >conftest.err
85192 rm -f conftest.er1
85193 cat conftest.err >&5
85194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85195 (exit $ac_status); } >/dev/null; then
85196 if test -s conftest.err; then
85197 ac_cpp_err=$ac_c_preproc_warn_flag
85198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85199 else
85200 ac_cpp_err=
85202 else
85203 ac_cpp_err=yes
85205 if test -z "$ac_cpp_err"; then
85206 ac_header_preproc=yes
85207 else
85208 echo "$as_me: failed program was:" >&5
85209 sed 's/^/| /' conftest.$ac_ext >&5
85211 ac_header_preproc=no
85213 rm -f conftest.err conftest.$ac_ext
85214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85215 echo "${ECHO_T}$ac_header_preproc" >&6
85217 # So? What about this header?
85218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85219 yes:no: )
85220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85224 ac_header_preproc=yes
85226 no:yes:* )
85227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85240 cat <<\_ASBOX
85241 ## ----------------------------------------- ##
85242 ## Report this to the package-unused lists. ##
85243 ## ----------------------------------------- ##
85244 _ASBOX
85246 sed "s/^/$as_me: WARNING: /" >&2
85248 esac
85249 echo "$as_me:$LINENO: checking for $ac_header" >&5
85250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85252 echo $ECHO_N "(cached) $ECHO_C" >&6
85253 else
85254 eval "$as_ac_Header=\$ac_header_preproc"
85256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85261 cat >>confdefs.h <<_ACEOF
85262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85263 _ACEOF
85267 done
85269 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85272 # If we're not using GNU ld, then there's no point in even trying these
85273 # tests. Check for that first. We should have already tested for gld
85274 # by now (in libtool), but require it now just to be safe...
85275 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85276 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85280 # The name set by libtool depends on the version of libtool. Shame on us
85281 # for depending on an impl detail, but c'est la vie. Older versions used
85282 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85283 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85284 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85285 # set (hence we're using an older libtool), then set it.
85286 if test x${with_gnu_ld+set} != xset; then
85287 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85288 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85289 with_gnu_ld=no
85290 else
85291 with_gnu_ld=$ac_cv_prog_gnu_ld
85295 # Start by getting the version number. I think the libtool test already
85296 # does some of this, but throws away the result.
85297 if test x"$with_gnu_ld" = x"yes"; then
85298 echo "$as_me:$LINENO: checking for ld version" >&5
85299 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85301 ldver=`$LD --version 2>/dev/null | head -1 | \
85302 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85304 glibcxx_gnu_ld_version=`echo $ldver | \
85305 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85306 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85307 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85310 # Set --gc-sections.
85311 glibcxx_gcsections_min_ld=21602
85312 if test x"$with_gnu_ld" = x"yes" &&
85313 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85315 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85316 # NB: This flag only works reliably after 2.16.1. Configure tests
85317 # for this are difficult, so hard wire a value that should work.
85319 ac_test_CFLAGS="${CFLAGS+set}"
85320 ac_save_CFLAGS="$CFLAGS"
85321 CFLAGS='-Wl,--gc-sections'
85323 # Check for -Wl,--gc-sections
85324 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85325 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85326 if test x$gcc_no_link = xyes; then
85327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85329 { (exit 1); exit 1; }; }
85331 cat >conftest.$ac_ext <<_ACEOF
85332 /* confdefs.h. */
85333 _ACEOF
85334 cat confdefs.h >>conftest.$ac_ext
85335 cat >>conftest.$ac_ext <<_ACEOF
85336 /* end confdefs.h. */
85337 int one(void) { return 1; }
85338 int two(void) { return 2; }
85341 main ()
85343 two();
85345 return 0;
85347 _ACEOF
85348 rm -f conftest.$ac_objext conftest$ac_exeext
85349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85350 (eval $ac_link) 2>conftest.er1
85351 ac_status=$?
85352 grep -v '^ *+' conftest.er1 >conftest.err
85353 rm -f conftest.er1
85354 cat conftest.err >&5
85355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85356 (exit $ac_status); } &&
85357 { ac_try='test -z "$ac_c_werror_flag"
85358 || test ! -s conftest.err'
85359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85360 (eval $ac_try) 2>&5
85361 ac_status=$?
85362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85363 (exit $ac_status); }; } &&
85364 { ac_try='test -s conftest$ac_exeext'
85365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85366 (eval $ac_try) 2>&5
85367 ac_status=$?
85368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85369 (exit $ac_status); }; }; then
85370 ac_gcsections=yes
85371 else
85372 echo "$as_me: failed program was:" >&5
85373 sed 's/^/| /' conftest.$ac_ext >&5
85375 ac_gcsections=no
85377 rm -f conftest.err conftest.$ac_objext \
85378 conftest$ac_exeext conftest.$ac_ext
85379 if test "$ac_gcsections" = "yes"; then
85380 rm -f conftest.c
85381 touch conftest.c
85382 if $CC -c conftest.c; then
85383 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85384 grep "Warning: gc-sections option ignored" > /dev/null; then
85385 ac_gcsections=no
85388 rm -f conftest.c conftest.o conftest
85390 if test "$ac_gcsections" = "yes"; then
85391 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85393 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85394 echo "${ECHO_T}$ac_gcsections" >&6
85396 if test "$ac_test_CFLAGS" = set; then
85397 CFLAGS="$ac_save_CFLAGS"
85398 else
85399 # this is the suspicious part
85400 CFLAGS=''
85404 # Set -z,relro.
85405 # Note this is only for shared objects.
85406 ac_ld_relro=no
85407 if test x"$with_gnu_ld" = x"yes"; then
85408 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85409 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85410 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85411 if test -n "$cxx_z_relo"; then
85412 OPT_LDFLAGS="-Wl,-z,relro"
85413 ac_ld_relro=yes
85415 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85416 echo "${ECHO_T}$ac_ld_relro" >&6
85419 # Set linker optimization flags.
85420 if test x"$with_gnu_ld" = x"yes"; then
85421 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85429 echo "$as_me:$LINENO: checking for main in -lm" >&5
85430 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85431 if test "${ac_cv_lib_m_main+set}" = set; then
85432 echo $ECHO_N "(cached) $ECHO_C" >&6
85433 else
85434 ac_check_lib_save_LIBS=$LIBS
85435 LIBS="-lm $LIBS"
85436 if test x$gcc_no_link = xyes; then
85437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85439 { (exit 1); exit 1; }; }
85441 cat >conftest.$ac_ext <<_ACEOF
85442 /* confdefs.h. */
85443 _ACEOF
85444 cat confdefs.h >>conftest.$ac_ext
85445 cat >>conftest.$ac_ext <<_ACEOF
85446 /* end confdefs.h. */
85450 main ()
85452 main ();
85454 return 0;
85456 _ACEOF
85457 rm -f conftest.$ac_objext conftest$ac_exeext
85458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85459 (eval $ac_link) 2>conftest.er1
85460 ac_status=$?
85461 grep -v '^ *+' conftest.er1 >conftest.err
85462 rm -f conftest.er1
85463 cat conftest.err >&5
85464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85465 (exit $ac_status); } &&
85466 { ac_try='test -z "$ac_c_werror_flag"
85467 || test ! -s conftest.err'
85468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85469 (eval $ac_try) 2>&5
85470 ac_status=$?
85471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85472 (exit $ac_status); }; } &&
85473 { ac_try='test -s conftest$ac_exeext'
85474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85475 (eval $ac_try) 2>&5
85476 ac_status=$?
85477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85478 (exit $ac_status); }; }; then
85479 ac_cv_lib_m_main=yes
85480 else
85481 echo "$as_me: failed program was:" >&5
85482 sed 's/^/| /' conftest.$ac_ext >&5
85484 ac_cv_lib_m_main=no
85486 rm -f conftest.err conftest.$ac_objext \
85487 conftest$ac_exeext conftest.$ac_ext
85488 LIBS=$ac_check_lib_save_LIBS
85490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85491 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85492 if test $ac_cv_lib_m_main = yes; then
85493 cat >>confdefs.h <<_ACEOF
85494 #define HAVE_LIBM 1
85495 _ACEOF
85497 LIBS="-lm $LIBS"
85502 for ac_func in copysignf
85504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85505 echo "$as_me:$LINENO: checking for $ac_func" >&5
85506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85507 if eval "test \"\${$as_ac_var+set}\" = set"; then
85508 echo $ECHO_N "(cached) $ECHO_C" >&6
85509 else
85510 if test x$gcc_no_link = xyes; then
85511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85513 { (exit 1); exit 1; }; }
85515 cat >conftest.$ac_ext <<_ACEOF
85516 /* confdefs.h. */
85517 _ACEOF
85518 cat confdefs.h >>conftest.$ac_ext
85519 cat >>conftest.$ac_ext <<_ACEOF
85520 /* end confdefs.h. */
85521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85523 #define $ac_func innocuous_$ac_func
85525 /* System header to define __stub macros and hopefully few prototypes,
85526 which can conflict with char $ac_func (); below.
85527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85528 <limits.h> exists even on freestanding compilers. */
85530 #ifdef __STDC__
85531 # include <limits.h>
85532 #else
85533 # include <assert.h>
85534 #endif
85536 #undef $ac_func
85538 /* Override any gcc2 internal prototype to avoid an error. */
85539 #ifdef __cplusplus
85540 extern "C"
85542 #endif
85543 /* We use char because int might match the return type of a gcc2
85544 builtin and then its argument prototype would still apply. */
85545 char $ac_func ();
85546 /* The GNU C library defines this for functions which it implements
85547 to always fail with ENOSYS. Some functions are actually named
85548 something starting with __ and the normal name is an alias. */
85549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85550 choke me
85551 #else
85552 char (*f) () = $ac_func;
85553 #endif
85554 #ifdef __cplusplus
85556 #endif
85559 main ()
85561 return f != $ac_func;
85563 return 0;
85565 _ACEOF
85566 rm -f conftest.$ac_objext conftest$ac_exeext
85567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85568 (eval $ac_link) 2>conftest.er1
85569 ac_status=$?
85570 grep -v '^ *+' conftest.er1 >conftest.err
85571 rm -f conftest.er1
85572 cat conftest.err >&5
85573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85574 (exit $ac_status); } &&
85575 { ac_try='test -z "$ac_c_werror_flag"
85576 || test ! -s conftest.err'
85577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85578 (eval $ac_try) 2>&5
85579 ac_status=$?
85580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85581 (exit $ac_status); }; } &&
85582 { ac_try='test -s conftest$ac_exeext'
85583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85584 (eval $ac_try) 2>&5
85585 ac_status=$?
85586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85587 (exit $ac_status); }; }; then
85588 eval "$as_ac_var=yes"
85589 else
85590 echo "$as_me: failed program was:" >&5
85591 sed 's/^/| /' conftest.$ac_ext >&5
85593 eval "$as_ac_var=no"
85595 rm -f conftest.err conftest.$ac_objext \
85596 conftest$ac_exeext conftest.$ac_ext
85598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85600 if test `eval echo '${'$as_ac_var'}'` = yes; then
85601 cat >>confdefs.h <<_ACEOF
85602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85603 _ACEOF
85605 else
85606 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85608 done
85612 for ac_func in __signbit
85614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85615 echo "$as_me:$LINENO: checking for $ac_func" >&5
85616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85617 if eval "test \"\${$as_ac_var+set}\" = set"; then
85618 echo $ECHO_N "(cached) $ECHO_C" >&6
85619 else
85620 if test x$gcc_no_link = xyes; then
85621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85623 { (exit 1); exit 1; }; }
85625 cat >conftest.$ac_ext <<_ACEOF
85626 /* confdefs.h. */
85627 _ACEOF
85628 cat confdefs.h >>conftest.$ac_ext
85629 cat >>conftest.$ac_ext <<_ACEOF
85630 /* end confdefs.h. */
85631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85633 #define $ac_func innocuous_$ac_func
85635 /* System header to define __stub macros and hopefully few prototypes,
85636 which can conflict with char $ac_func (); below.
85637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85638 <limits.h> exists even on freestanding compilers. */
85640 #ifdef __STDC__
85641 # include <limits.h>
85642 #else
85643 # include <assert.h>
85644 #endif
85646 #undef $ac_func
85648 /* Override any gcc2 internal prototype to avoid an error. */
85649 #ifdef __cplusplus
85650 extern "C"
85652 #endif
85653 /* We use char because int might match the return type of a gcc2
85654 builtin and then its argument prototype would still apply. */
85655 char $ac_func ();
85656 /* The GNU C library defines this for functions which it implements
85657 to always fail with ENOSYS. Some functions are actually named
85658 something starting with __ and the normal name is an alias. */
85659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85660 choke me
85661 #else
85662 char (*f) () = $ac_func;
85663 #endif
85664 #ifdef __cplusplus
85666 #endif
85669 main ()
85671 return f != $ac_func;
85673 return 0;
85675 _ACEOF
85676 rm -f conftest.$ac_objext conftest$ac_exeext
85677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85678 (eval $ac_link) 2>conftest.er1
85679 ac_status=$?
85680 grep -v '^ *+' conftest.er1 >conftest.err
85681 rm -f conftest.er1
85682 cat conftest.err >&5
85683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85684 (exit $ac_status); } &&
85685 { ac_try='test -z "$ac_c_werror_flag"
85686 || test ! -s conftest.err'
85687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85688 (eval $ac_try) 2>&5
85689 ac_status=$?
85690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85691 (exit $ac_status); }; } &&
85692 { ac_try='test -s conftest$ac_exeext'
85693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85694 (eval $ac_try) 2>&5
85695 ac_status=$?
85696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85697 (exit $ac_status); }; }; then
85698 eval "$as_ac_var=yes"
85699 else
85700 echo "$as_me: failed program was:" >&5
85701 sed 's/^/| /' conftest.$ac_ext >&5
85703 eval "$as_ac_var=no"
85705 rm -f conftest.err conftest.$ac_objext \
85706 conftest$ac_exeext conftest.$ac_ext
85708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85710 if test `eval echo '${'$as_ac_var'}'` = yes; then
85711 cat >>confdefs.h <<_ACEOF
85712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85713 _ACEOF
85715 else
85716 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85718 done
85722 for ac_func in __signbitf
85724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85725 echo "$as_me:$LINENO: checking for $ac_func" >&5
85726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85727 if eval "test \"\${$as_ac_var+set}\" = set"; then
85728 echo $ECHO_N "(cached) $ECHO_C" >&6
85729 else
85730 if test x$gcc_no_link = xyes; then
85731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85733 { (exit 1); exit 1; }; }
85735 cat >conftest.$ac_ext <<_ACEOF
85736 /* confdefs.h. */
85737 _ACEOF
85738 cat confdefs.h >>conftest.$ac_ext
85739 cat >>conftest.$ac_ext <<_ACEOF
85740 /* end confdefs.h. */
85741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85743 #define $ac_func innocuous_$ac_func
85745 /* System header to define __stub macros and hopefully few prototypes,
85746 which can conflict with char $ac_func (); below.
85747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85748 <limits.h> exists even on freestanding compilers. */
85750 #ifdef __STDC__
85751 # include <limits.h>
85752 #else
85753 # include <assert.h>
85754 #endif
85756 #undef $ac_func
85758 /* Override any gcc2 internal prototype to avoid an error. */
85759 #ifdef __cplusplus
85760 extern "C"
85762 #endif
85763 /* We use char because int might match the return type of a gcc2
85764 builtin and then its argument prototype would still apply. */
85765 char $ac_func ();
85766 /* The GNU C library defines this for functions which it implements
85767 to always fail with ENOSYS. Some functions are actually named
85768 something starting with __ and the normal name is an alias. */
85769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85770 choke me
85771 #else
85772 char (*f) () = $ac_func;
85773 #endif
85774 #ifdef __cplusplus
85776 #endif
85779 main ()
85781 return f != $ac_func;
85783 return 0;
85785 _ACEOF
85786 rm -f conftest.$ac_objext conftest$ac_exeext
85787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85788 (eval $ac_link) 2>conftest.er1
85789 ac_status=$?
85790 grep -v '^ *+' conftest.er1 >conftest.err
85791 rm -f conftest.er1
85792 cat conftest.err >&5
85793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85794 (exit $ac_status); } &&
85795 { ac_try='test -z "$ac_c_werror_flag"
85796 || test ! -s conftest.err'
85797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85798 (eval $ac_try) 2>&5
85799 ac_status=$?
85800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85801 (exit $ac_status); }; } &&
85802 { ac_try='test -s conftest$ac_exeext'
85803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85804 (eval $ac_try) 2>&5
85805 ac_status=$?
85806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85807 (exit $ac_status); }; }; then
85808 eval "$as_ac_var=yes"
85809 else
85810 echo "$as_me: failed program was:" >&5
85811 sed 's/^/| /' conftest.$ac_ext >&5
85813 eval "$as_ac_var=no"
85815 rm -f conftest.err conftest.$ac_objext \
85816 conftest$ac_exeext conftest.$ac_ext
85818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85820 if test `eval echo '${'$as_ac_var'}'` = yes; then
85821 cat >>confdefs.h <<_ACEOF
85822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85823 _ACEOF
85825 else
85826 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85828 done
85831 if test x$ac_cv_func_copysignl = x"yes"; then
85833 for ac_func in __signbitl
85835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85836 echo "$as_me:$LINENO: checking for $ac_func" >&5
85837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85838 if eval "test \"\${$as_ac_var+set}\" = set"; then
85839 echo $ECHO_N "(cached) $ECHO_C" >&6
85840 else
85841 if test x$gcc_no_link = xyes; then
85842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85844 { (exit 1); exit 1; }; }
85846 cat >conftest.$ac_ext <<_ACEOF
85847 /* confdefs.h. */
85848 _ACEOF
85849 cat confdefs.h >>conftest.$ac_ext
85850 cat >>conftest.$ac_ext <<_ACEOF
85851 /* end confdefs.h. */
85852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85854 #define $ac_func innocuous_$ac_func
85856 /* System header to define __stub macros and hopefully few prototypes,
85857 which can conflict with char $ac_func (); below.
85858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85859 <limits.h> exists even on freestanding compilers. */
85861 #ifdef __STDC__
85862 # include <limits.h>
85863 #else
85864 # include <assert.h>
85865 #endif
85867 #undef $ac_func
85869 /* Override any gcc2 internal prototype to avoid an error. */
85870 #ifdef __cplusplus
85871 extern "C"
85873 #endif
85874 /* We use char because int might match the return type of a gcc2
85875 builtin and then its argument prototype would still apply. */
85876 char $ac_func ();
85877 /* The GNU C library defines this for functions which it implements
85878 to always fail with ENOSYS. Some functions are actually named
85879 something starting with __ and the normal name is an alias. */
85880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85881 choke me
85882 #else
85883 char (*f) () = $ac_func;
85884 #endif
85885 #ifdef __cplusplus
85887 #endif
85890 main ()
85892 return f != $ac_func;
85894 return 0;
85896 _ACEOF
85897 rm -f conftest.$ac_objext conftest$ac_exeext
85898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85899 (eval $ac_link) 2>conftest.er1
85900 ac_status=$?
85901 grep -v '^ *+' conftest.er1 >conftest.err
85902 rm -f conftest.er1
85903 cat conftest.err >&5
85904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85905 (exit $ac_status); } &&
85906 { ac_try='test -z "$ac_c_werror_flag"
85907 || test ! -s conftest.err'
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); }; } &&
85913 { ac_try='test -s conftest$ac_exeext'
85914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85915 (eval $ac_try) 2>&5
85916 ac_status=$?
85917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918 (exit $ac_status); }; }; then
85919 eval "$as_ac_var=yes"
85920 else
85921 echo "$as_me: failed program was:" >&5
85922 sed 's/^/| /' conftest.$ac_ext >&5
85924 eval "$as_ac_var=no"
85926 rm -f conftest.err conftest.$ac_objext \
85927 conftest$ac_exeext conftest.$ac_ext
85929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85931 if test `eval echo '${'$as_ac_var'}'` = yes; then
85932 cat >>confdefs.h <<_ACEOF
85933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85934 _ACEOF
85936 else
85937 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85939 done
85943 # Used in libmath/Makefile.am.
85944 if test -n "$LIBMATHOBJS"; then
85945 need_libmath=yes
85949 cat >>confdefs.h <<\_ACEOF
85950 #define HAVE_LC_MESSAGES 1
85951 _ACEOF
85953 cat >>confdefs.h <<\_ACEOF
85954 #define HAVE_GETPAGESIZE 1
85955 _ACEOF
85957 cat >>confdefs.h <<\_ACEOF
85958 #define HAVE_SETENV 1
85959 _ACEOF
85961 cat >>confdefs.h <<\_ACEOF
85962 #define HAVE_SIGSETJMP 1
85963 _ACEOF
85965 cat >>confdefs.h <<\_ACEOF
85966 #define HAVE_COPYSIGN 1
85967 _ACEOF
85969 cat >>confdefs.h <<\_ACEOF
85970 #define HAVE_COPYSIGNF 1
85971 _ACEOF
85973 cat >>confdefs.h <<\_ACEOF
85974 #define HAVE_FINITEF 1
85975 _ACEOF
85977 cat >>confdefs.h <<\_ACEOF
85978 #define HAVE_FINITE 1
85979 _ACEOF
85981 cat >>confdefs.h <<\_ACEOF
85982 #define HAVE_FREXPF 1
85983 _ACEOF
85985 cat >>confdefs.h <<\_ACEOF
85986 #define HAVE_HYPOT 1
85987 _ACEOF
85989 cat >>confdefs.h <<\_ACEOF
85990 #define HAVE_HYPOTF 1
85991 _ACEOF
85993 cat >>confdefs.h <<\_ACEOF
85994 #define HAVE_ISINF 1
85995 _ACEOF
85997 cat >>confdefs.h <<\_ACEOF
85998 #define HAVE_ISNAN 1
85999 _ACEOF
86001 cat >>confdefs.h <<\_ACEOF
86002 #define HAVE_ISNANF 1
86003 _ACEOF
86006 cat >>confdefs.h <<\_ACEOF
86007 #define HAVE_MMAP 1
86008 _ACEOF
86010 cat >>confdefs.h <<\_ACEOF
86011 #define HAVE_ACOSF 1
86012 _ACEOF
86014 cat >>confdefs.h <<\_ACEOF
86015 #define HAVE_ASINF 1
86016 _ACEOF
86018 cat >>confdefs.h <<\_ACEOF
86019 #define HAVE_ATAN2F 1
86020 _ACEOF
86022 cat >>confdefs.h <<\_ACEOF
86023 #define HAVE_ATANF 1
86024 _ACEOF
86026 cat >>confdefs.h <<\_ACEOF
86027 #define HAVE_CEILF 1
86028 _ACEOF
86030 cat >>confdefs.h <<\_ACEOF
86031 #define HAVE_COPYSIGN 1
86032 _ACEOF
86034 cat >>confdefs.h <<\_ACEOF
86035 #define HAVE_COPYSIGNF 1
86036 _ACEOF
86038 cat >>confdefs.h <<\_ACEOF
86039 #define HAVE_COSF 1
86040 _ACEOF
86042 cat >>confdefs.h <<\_ACEOF
86043 #define HAVE_COSHF 1
86044 _ACEOF
86046 cat >>confdefs.h <<\_ACEOF
86047 #define HAVE_EXPF 1
86048 _ACEOF
86050 cat >>confdefs.h <<\_ACEOF
86051 #define HAVE_FABSF 1
86052 _ACEOF
86054 cat >>confdefs.h <<\_ACEOF
86055 #define HAVE_FLOORF 1
86056 _ACEOF
86058 cat >>confdefs.h <<\_ACEOF
86059 #define HAVE_FMODF 1
86060 _ACEOF
86062 cat >>confdefs.h <<\_ACEOF
86063 #define HAVE_FREXPF 1
86064 _ACEOF
86066 cat >>confdefs.h <<\_ACEOF
86067 #define HAVE_LDEXPF 1
86068 _ACEOF
86070 cat >>confdefs.h <<\_ACEOF
86071 #define HAVE_LOG10F 1
86072 _ACEOF
86074 cat >>confdefs.h <<\_ACEOF
86075 #define HAVE_LOGF 1
86076 _ACEOF
86078 cat >>confdefs.h <<\_ACEOF
86079 #define HAVE_MODFF 1
86080 _ACEOF
86082 cat >>confdefs.h <<\_ACEOF
86083 #define HAVE_POWF 1
86084 _ACEOF
86086 cat >>confdefs.h <<\_ACEOF
86087 #define HAVE_SINF 1
86088 _ACEOF
86090 cat >>confdefs.h <<\_ACEOF
86091 #define HAVE_SINHF 1
86092 _ACEOF
86094 cat >>confdefs.h <<\_ACEOF
86095 #define HAVE_SQRTF 1
86096 _ACEOF
86098 cat >>confdefs.h <<\_ACEOF
86099 #define HAVE_TANF 1
86100 _ACEOF
86102 cat >>confdefs.h <<\_ACEOF
86103 #define HAVE_TANHF 1
86104 _ACEOF
86106 if test x"long_double_math_on_this_cpu" = x"yes"; then
86107 cat >>confdefs.h <<\_ACEOF
86108 #define HAVE_FINITEL 1
86109 _ACEOF
86111 cat >>confdefs.h <<\_ACEOF
86112 #define HAVE_ISINFL 1
86113 _ACEOF
86115 cat >>confdefs.h <<\_ACEOF
86116 #define HAVE_ISNANL 1
86117 _ACEOF
86121 *-hpux*)
86134 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86135 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86136 fp.h locale.h float.h inttypes.h
86138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86140 echo "$as_me:$LINENO: checking for $ac_header" >&5
86141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86143 echo $ECHO_N "(cached) $ECHO_C" >&6
86145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86147 else
86148 # Is the header compilable?
86149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86151 cat >conftest.$ac_ext <<_ACEOF
86152 /* confdefs.h. */
86153 _ACEOF
86154 cat confdefs.h >>conftest.$ac_ext
86155 cat >>conftest.$ac_ext <<_ACEOF
86156 /* end confdefs.h. */
86157 $ac_includes_default
86158 #include <$ac_header>
86159 _ACEOF
86160 rm -f conftest.$ac_objext
86161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86162 (eval $ac_compile) 2>conftest.er1
86163 ac_status=$?
86164 grep -v '^ *+' conftest.er1 >conftest.err
86165 rm -f conftest.er1
86166 cat conftest.err >&5
86167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86168 (exit $ac_status); } &&
86169 { ac_try='test -z "$ac_c_werror_flag"
86170 || test ! -s conftest.err'
86171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86172 (eval $ac_try) 2>&5
86173 ac_status=$?
86174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86175 (exit $ac_status); }; } &&
86176 { ac_try='test -s conftest.$ac_objext'
86177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86178 (eval $ac_try) 2>&5
86179 ac_status=$?
86180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86181 (exit $ac_status); }; }; then
86182 ac_header_compiler=yes
86183 else
86184 echo "$as_me: failed program was:" >&5
86185 sed 's/^/| /' conftest.$ac_ext >&5
86187 ac_header_compiler=no
86189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86191 echo "${ECHO_T}$ac_header_compiler" >&6
86193 # Is the header present?
86194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86196 cat >conftest.$ac_ext <<_ACEOF
86197 /* confdefs.h. */
86198 _ACEOF
86199 cat confdefs.h >>conftest.$ac_ext
86200 cat >>conftest.$ac_ext <<_ACEOF
86201 /* end confdefs.h. */
86202 #include <$ac_header>
86203 _ACEOF
86204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86206 ac_status=$?
86207 grep -v '^ *+' conftest.er1 >conftest.err
86208 rm -f conftest.er1
86209 cat conftest.err >&5
86210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86211 (exit $ac_status); } >/dev/null; then
86212 if test -s conftest.err; then
86213 ac_cpp_err=$ac_c_preproc_warn_flag
86214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86215 else
86216 ac_cpp_err=
86218 else
86219 ac_cpp_err=yes
86221 if test -z "$ac_cpp_err"; then
86222 ac_header_preproc=yes
86223 else
86224 echo "$as_me: failed program was:" >&5
86225 sed 's/^/| /' conftest.$ac_ext >&5
86227 ac_header_preproc=no
86229 rm -f conftest.err conftest.$ac_ext
86230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86231 echo "${ECHO_T}$ac_header_preproc" >&6
86233 # So? What about this header?
86234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86235 yes:no: )
86236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86240 ac_header_preproc=yes
86242 no:yes:* )
86243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86256 cat <<\_ASBOX
86257 ## ----------------------------------------- ##
86258 ## Report this to the package-unused lists. ##
86259 ## ----------------------------------------- ##
86260 _ASBOX
86262 sed "s/^/$as_me: WARNING: /" >&2
86264 esac
86265 echo "$as_me:$LINENO: checking for $ac_header" >&5
86266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86268 echo $ECHO_N "(cached) $ECHO_C" >&6
86269 else
86270 eval "$as_ac_Header=\$ac_header_preproc"
86272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86277 cat >>confdefs.h <<_ACEOF
86278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86279 _ACEOF
86283 done
86285 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86288 # If we're not using GNU ld, then there's no point in even trying these
86289 # tests. Check for that first. We should have already tested for gld
86290 # by now (in libtool), but require it now just to be safe...
86291 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86292 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86296 # The name set by libtool depends on the version of libtool. Shame on us
86297 # for depending on an impl detail, but c'est la vie. Older versions used
86298 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86299 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86300 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86301 # set (hence we're using an older libtool), then set it.
86302 if test x${with_gnu_ld+set} != xset; then
86303 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86304 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86305 with_gnu_ld=no
86306 else
86307 with_gnu_ld=$ac_cv_prog_gnu_ld
86311 # Start by getting the version number. I think the libtool test already
86312 # does some of this, but throws away the result.
86313 if test x"$with_gnu_ld" = x"yes"; then
86314 echo "$as_me:$LINENO: checking for ld version" >&5
86315 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86317 ldver=`$LD --version 2>/dev/null | head -1 | \
86318 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86320 glibcxx_gnu_ld_version=`echo $ldver | \
86321 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86322 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86323 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86326 # Set --gc-sections.
86327 glibcxx_gcsections_min_ld=21602
86328 if test x"$with_gnu_ld" = x"yes" &&
86329 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86331 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86332 # NB: This flag only works reliably after 2.16.1. Configure tests
86333 # for this are difficult, so hard wire a value that should work.
86335 ac_test_CFLAGS="${CFLAGS+set}"
86336 ac_save_CFLAGS="$CFLAGS"
86337 CFLAGS='-Wl,--gc-sections'
86339 # Check for -Wl,--gc-sections
86340 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86341 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86342 if test x$gcc_no_link = xyes; then
86343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86345 { (exit 1); exit 1; }; }
86347 cat >conftest.$ac_ext <<_ACEOF
86348 /* confdefs.h. */
86349 _ACEOF
86350 cat confdefs.h >>conftest.$ac_ext
86351 cat >>conftest.$ac_ext <<_ACEOF
86352 /* end confdefs.h. */
86353 int one(void) { return 1; }
86354 int two(void) { return 2; }
86357 main ()
86359 two();
86361 return 0;
86363 _ACEOF
86364 rm -f conftest.$ac_objext conftest$ac_exeext
86365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86366 (eval $ac_link) 2>conftest.er1
86367 ac_status=$?
86368 grep -v '^ *+' conftest.er1 >conftest.err
86369 rm -f conftest.er1
86370 cat conftest.err >&5
86371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86372 (exit $ac_status); } &&
86373 { ac_try='test -z "$ac_c_werror_flag"
86374 || test ! -s conftest.err'
86375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86376 (eval $ac_try) 2>&5
86377 ac_status=$?
86378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86379 (exit $ac_status); }; } &&
86380 { ac_try='test -s conftest$ac_exeext'
86381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86382 (eval $ac_try) 2>&5
86383 ac_status=$?
86384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86385 (exit $ac_status); }; }; then
86386 ac_gcsections=yes
86387 else
86388 echo "$as_me: failed program was:" >&5
86389 sed 's/^/| /' conftest.$ac_ext >&5
86391 ac_gcsections=no
86393 rm -f conftest.err conftest.$ac_objext \
86394 conftest$ac_exeext conftest.$ac_ext
86395 if test "$ac_gcsections" = "yes"; then
86396 rm -f conftest.c
86397 touch conftest.c
86398 if $CC -c conftest.c; then
86399 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86400 grep "Warning: gc-sections option ignored" > /dev/null; then
86401 ac_gcsections=no
86404 rm -f conftest.c conftest.o conftest
86406 if test "$ac_gcsections" = "yes"; then
86407 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86409 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86410 echo "${ECHO_T}$ac_gcsections" >&6
86412 if test "$ac_test_CFLAGS" = set; then
86413 CFLAGS="$ac_save_CFLAGS"
86414 else
86415 # this is the suspicious part
86416 CFLAGS=''
86420 # Set -z,relro.
86421 # Note this is only for shared objects.
86422 ac_ld_relro=no
86423 if test x"$with_gnu_ld" = x"yes"; then
86424 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86425 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86426 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86427 if test -n "$cxx_z_relo"; then
86428 OPT_LDFLAGS="-Wl,-z,relro"
86429 ac_ld_relro=yes
86431 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86432 echo "${ECHO_T}$ac_ld_relro" >&6
86435 # Set linker optimization flags.
86436 if test x"$with_gnu_ld" = x"yes"; then
86437 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86445 echo "$as_me:$LINENO: checking for main in -lm" >&5
86446 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86447 if test "${ac_cv_lib_m_main+set}" = set; then
86448 echo $ECHO_N "(cached) $ECHO_C" >&6
86449 else
86450 ac_check_lib_save_LIBS=$LIBS
86451 LIBS="-lm $LIBS"
86452 if test x$gcc_no_link = xyes; then
86453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86455 { (exit 1); exit 1; }; }
86457 cat >conftest.$ac_ext <<_ACEOF
86458 /* confdefs.h. */
86459 _ACEOF
86460 cat confdefs.h >>conftest.$ac_ext
86461 cat >>conftest.$ac_ext <<_ACEOF
86462 /* end confdefs.h. */
86466 main ()
86468 main ();
86470 return 0;
86472 _ACEOF
86473 rm -f conftest.$ac_objext conftest$ac_exeext
86474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86475 (eval $ac_link) 2>conftest.er1
86476 ac_status=$?
86477 grep -v '^ *+' conftest.er1 >conftest.err
86478 rm -f conftest.er1
86479 cat conftest.err >&5
86480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86481 (exit $ac_status); } &&
86482 { ac_try='test -z "$ac_c_werror_flag"
86483 || test ! -s conftest.err'
86484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86485 (eval $ac_try) 2>&5
86486 ac_status=$?
86487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86488 (exit $ac_status); }; } &&
86489 { ac_try='test -s conftest$ac_exeext'
86490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86491 (eval $ac_try) 2>&5
86492 ac_status=$?
86493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86494 (exit $ac_status); }; }; then
86495 ac_cv_lib_m_main=yes
86496 else
86497 echo "$as_me: failed program was:" >&5
86498 sed 's/^/| /' conftest.$ac_ext >&5
86500 ac_cv_lib_m_main=no
86502 rm -f conftest.err conftest.$ac_objext \
86503 conftest$ac_exeext conftest.$ac_ext
86504 LIBS=$ac_check_lib_save_LIBS
86506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86507 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86508 if test $ac_cv_lib_m_main = yes; then
86509 cat >>confdefs.h <<_ACEOF
86510 #define HAVE_LIBM 1
86511 _ACEOF
86513 LIBS="-lm $LIBS"
86518 for ac_func in copysignf
86520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86521 echo "$as_me:$LINENO: checking for $ac_func" >&5
86522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86523 if eval "test \"\${$as_ac_var+set}\" = set"; then
86524 echo $ECHO_N "(cached) $ECHO_C" >&6
86525 else
86526 if test x$gcc_no_link = xyes; then
86527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86529 { (exit 1); exit 1; }; }
86531 cat >conftest.$ac_ext <<_ACEOF
86532 /* confdefs.h. */
86533 _ACEOF
86534 cat confdefs.h >>conftest.$ac_ext
86535 cat >>conftest.$ac_ext <<_ACEOF
86536 /* end confdefs.h. */
86537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86539 #define $ac_func innocuous_$ac_func
86541 /* System header to define __stub macros and hopefully few prototypes,
86542 which can conflict with char $ac_func (); below.
86543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86544 <limits.h> exists even on freestanding compilers. */
86546 #ifdef __STDC__
86547 # include <limits.h>
86548 #else
86549 # include <assert.h>
86550 #endif
86552 #undef $ac_func
86554 /* Override any gcc2 internal prototype to avoid an error. */
86555 #ifdef __cplusplus
86556 extern "C"
86558 #endif
86559 /* We use char because int might match the return type of a gcc2
86560 builtin and then its argument prototype would still apply. */
86561 char $ac_func ();
86562 /* The GNU C library defines this for functions which it implements
86563 to always fail with ENOSYS. Some functions are actually named
86564 something starting with __ and the normal name is an alias. */
86565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86566 choke me
86567 #else
86568 char (*f) () = $ac_func;
86569 #endif
86570 #ifdef __cplusplus
86572 #endif
86575 main ()
86577 return f != $ac_func;
86579 return 0;
86581 _ACEOF
86582 rm -f conftest.$ac_objext conftest$ac_exeext
86583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86584 (eval $ac_link) 2>conftest.er1
86585 ac_status=$?
86586 grep -v '^ *+' conftest.er1 >conftest.err
86587 rm -f conftest.er1
86588 cat conftest.err >&5
86589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86590 (exit $ac_status); } &&
86591 { ac_try='test -z "$ac_c_werror_flag"
86592 || test ! -s conftest.err'
86593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86594 (eval $ac_try) 2>&5
86595 ac_status=$?
86596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86597 (exit $ac_status); }; } &&
86598 { ac_try='test -s conftest$ac_exeext'
86599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86600 (eval $ac_try) 2>&5
86601 ac_status=$?
86602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86603 (exit $ac_status); }; }; then
86604 eval "$as_ac_var=yes"
86605 else
86606 echo "$as_me: failed program was:" >&5
86607 sed 's/^/| /' conftest.$ac_ext >&5
86609 eval "$as_ac_var=no"
86611 rm -f conftest.err conftest.$ac_objext \
86612 conftest$ac_exeext conftest.$ac_ext
86614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86616 if test `eval echo '${'$as_ac_var'}'` = yes; then
86617 cat >>confdefs.h <<_ACEOF
86618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86619 _ACEOF
86621 else
86622 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86624 done
86628 for ac_func in __signbit
86630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86631 echo "$as_me:$LINENO: checking for $ac_func" >&5
86632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86633 if eval "test \"\${$as_ac_var+set}\" = set"; then
86634 echo $ECHO_N "(cached) $ECHO_C" >&6
86635 else
86636 if test x$gcc_no_link = xyes; then
86637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86639 { (exit 1); exit 1; }; }
86641 cat >conftest.$ac_ext <<_ACEOF
86642 /* confdefs.h. */
86643 _ACEOF
86644 cat confdefs.h >>conftest.$ac_ext
86645 cat >>conftest.$ac_ext <<_ACEOF
86646 /* end confdefs.h. */
86647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86649 #define $ac_func innocuous_$ac_func
86651 /* System header to define __stub macros and hopefully few prototypes,
86652 which can conflict with char $ac_func (); below.
86653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86654 <limits.h> exists even on freestanding compilers. */
86656 #ifdef __STDC__
86657 # include <limits.h>
86658 #else
86659 # include <assert.h>
86660 #endif
86662 #undef $ac_func
86664 /* Override any gcc2 internal prototype to avoid an error. */
86665 #ifdef __cplusplus
86666 extern "C"
86668 #endif
86669 /* We use char because int might match the return type of a gcc2
86670 builtin and then its argument prototype would still apply. */
86671 char $ac_func ();
86672 /* The GNU C library defines this for functions which it implements
86673 to always fail with ENOSYS. Some functions are actually named
86674 something starting with __ and the normal name is an alias. */
86675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86676 choke me
86677 #else
86678 char (*f) () = $ac_func;
86679 #endif
86680 #ifdef __cplusplus
86682 #endif
86685 main ()
86687 return f != $ac_func;
86689 return 0;
86691 _ACEOF
86692 rm -f conftest.$ac_objext conftest$ac_exeext
86693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86694 (eval $ac_link) 2>conftest.er1
86695 ac_status=$?
86696 grep -v '^ *+' conftest.er1 >conftest.err
86697 rm -f conftest.er1
86698 cat conftest.err >&5
86699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86700 (exit $ac_status); } &&
86701 { ac_try='test -z "$ac_c_werror_flag"
86702 || test ! -s conftest.err'
86703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86704 (eval $ac_try) 2>&5
86705 ac_status=$?
86706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86707 (exit $ac_status); }; } &&
86708 { ac_try='test -s conftest$ac_exeext'
86709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86710 (eval $ac_try) 2>&5
86711 ac_status=$?
86712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86713 (exit $ac_status); }; }; then
86714 eval "$as_ac_var=yes"
86715 else
86716 echo "$as_me: failed program was:" >&5
86717 sed 's/^/| /' conftest.$ac_ext >&5
86719 eval "$as_ac_var=no"
86721 rm -f conftest.err conftest.$ac_objext \
86722 conftest$ac_exeext conftest.$ac_ext
86724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86726 if test `eval echo '${'$as_ac_var'}'` = yes; then
86727 cat >>confdefs.h <<_ACEOF
86728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86729 _ACEOF
86731 else
86732 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86734 done
86738 for ac_func in __signbitf
86740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86741 echo "$as_me:$LINENO: checking for $ac_func" >&5
86742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86743 if eval "test \"\${$as_ac_var+set}\" = set"; then
86744 echo $ECHO_N "(cached) $ECHO_C" >&6
86745 else
86746 if test x$gcc_no_link = xyes; then
86747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86749 { (exit 1); exit 1; }; }
86751 cat >conftest.$ac_ext <<_ACEOF
86752 /* confdefs.h. */
86753 _ACEOF
86754 cat confdefs.h >>conftest.$ac_ext
86755 cat >>conftest.$ac_ext <<_ACEOF
86756 /* end confdefs.h. */
86757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86759 #define $ac_func innocuous_$ac_func
86761 /* System header to define __stub macros and hopefully few prototypes,
86762 which can conflict with char $ac_func (); below.
86763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86764 <limits.h> exists even on freestanding compilers. */
86766 #ifdef __STDC__
86767 # include <limits.h>
86768 #else
86769 # include <assert.h>
86770 #endif
86772 #undef $ac_func
86774 /* Override any gcc2 internal prototype to avoid an error. */
86775 #ifdef __cplusplus
86776 extern "C"
86778 #endif
86779 /* We use char because int might match the return type of a gcc2
86780 builtin and then its argument prototype would still apply. */
86781 char $ac_func ();
86782 /* The GNU C library defines this for functions which it implements
86783 to always fail with ENOSYS. Some functions are actually named
86784 something starting with __ and the normal name is an alias. */
86785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86786 choke me
86787 #else
86788 char (*f) () = $ac_func;
86789 #endif
86790 #ifdef __cplusplus
86792 #endif
86795 main ()
86797 return f != $ac_func;
86799 return 0;
86801 _ACEOF
86802 rm -f conftest.$ac_objext conftest$ac_exeext
86803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86804 (eval $ac_link) 2>conftest.er1
86805 ac_status=$?
86806 grep -v '^ *+' conftest.er1 >conftest.err
86807 rm -f conftest.er1
86808 cat conftest.err >&5
86809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86810 (exit $ac_status); } &&
86811 { ac_try='test -z "$ac_c_werror_flag"
86812 || test ! -s conftest.err'
86813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86814 (eval $ac_try) 2>&5
86815 ac_status=$?
86816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86817 (exit $ac_status); }; } &&
86818 { ac_try='test -s conftest$ac_exeext'
86819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86820 (eval $ac_try) 2>&5
86821 ac_status=$?
86822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86823 (exit $ac_status); }; }; then
86824 eval "$as_ac_var=yes"
86825 else
86826 echo "$as_me: failed program was:" >&5
86827 sed 's/^/| /' conftest.$ac_ext >&5
86829 eval "$as_ac_var=no"
86831 rm -f conftest.err conftest.$ac_objext \
86832 conftest$ac_exeext conftest.$ac_ext
86834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86836 if test `eval echo '${'$as_ac_var'}'` = yes; then
86837 cat >>confdefs.h <<_ACEOF
86838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86839 _ACEOF
86841 else
86842 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86844 done
86847 if test x$ac_cv_func_copysignl = x"yes"; then
86849 for ac_func in __signbitl
86851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86852 echo "$as_me:$LINENO: checking for $ac_func" >&5
86853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86854 if eval "test \"\${$as_ac_var+set}\" = set"; then
86855 echo $ECHO_N "(cached) $ECHO_C" >&6
86856 else
86857 if test x$gcc_no_link = xyes; then
86858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86860 { (exit 1); exit 1; }; }
86862 cat >conftest.$ac_ext <<_ACEOF
86863 /* confdefs.h. */
86864 _ACEOF
86865 cat confdefs.h >>conftest.$ac_ext
86866 cat >>conftest.$ac_ext <<_ACEOF
86867 /* end confdefs.h. */
86868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86870 #define $ac_func innocuous_$ac_func
86872 /* System header to define __stub macros and hopefully few prototypes,
86873 which can conflict with char $ac_func (); below.
86874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86875 <limits.h> exists even on freestanding compilers. */
86877 #ifdef __STDC__
86878 # include <limits.h>
86879 #else
86880 # include <assert.h>
86881 #endif
86883 #undef $ac_func
86885 /* Override any gcc2 internal prototype to avoid an error. */
86886 #ifdef __cplusplus
86887 extern "C"
86889 #endif
86890 /* We use char because int might match the return type of a gcc2
86891 builtin and then its argument prototype would still apply. */
86892 char $ac_func ();
86893 /* The GNU C library defines this for functions which it implements
86894 to always fail with ENOSYS. Some functions are actually named
86895 something starting with __ and the normal name is an alias. */
86896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86897 choke me
86898 #else
86899 char (*f) () = $ac_func;
86900 #endif
86901 #ifdef __cplusplus
86903 #endif
86906 main ()
86908 return f != $ac_func;
86910 return 0;
86912 _ACEOF
86913 rm -f conftest.$ac_objext conftest$ac_exeext
86914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86915 (eval $ac_link) 2>conftest.er1
86916 ac_status=$?
86917 grep -v '^ *+' conftest.er1 >conftest.err
86918 rm -f conftest.er1
86919 cat conftest.err >&5
86920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86921 (exit $ac_status); } &&
86922 { ac_try='test -z "$ac_c_werror_flag"
86923 || test ! -s conftest.err'
86924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86925 (eval $ac_try) 2>&5
86926 ac_status=$?
86927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86928 (exit $ac_status); }; } &&
86929 { ac_try='test -s conftest$ac_exeext'
86930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86931 (eval $ac_try) 2>&5
86932 ac_status=$?
86933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86934 (exit $ac_status); }; }; then
86935 eval "$as_ac_var=yes"
86936 else
86937 echo "$as_me: failed program was:" >&5
86938 sed 's/^/| /' conftest.$ac_ext >&5
86940 eval "$as_ac_var=no"
86942 rm -f conftest.err conftest.$ac_objext \
86943 conftest$ac_exeext conftest.$ac_ext
86945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86947 if test `eval echo '${'$as_ac_var'}'` = yes; then
86948 cat >>confdefs.h <<_ACEOF
86949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86950 _ACEOF
86952 else
86953 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86955 done
86959 # Used in libmath/Makefile.am.
86960 if test -n "$LIBMATHOBJS"; then
86961 need_libmath=yes
86965 cat >>confdefs.h <<\_ACEOF
86966 #define HAVE_COPYSIGN 1
86967 _ACEOF
86969 cat >>confdefs.h <<\_ACEOF
86970 #define HAVE_COPYSIGNF 1
86971 _ACEOF
86973 cat >>confdefs.h <<\_ACEOF
86974 #define HAVE_FREXPF 1
86975 _ACEOF
86977 cat >>confdefs.h <<\_ACEOF
86978 #define HAVE_HYPOT 1
86979 _ACEOF
86981 case "$target" in
86982 *-hpux10*)
86983 cat >>confdefs.h <<\_ACEOF
86984 #define HAVE_FINITE 1
86985 _ACEOF
86987 cat >>confdefs.h <<\_ACEOF
86988 #define HAVE_FINITEF 1
86989 _ACEOF
86991 cat >>confdefs.h <<\_ACEOF
86992 #define HAVE_ISINF 1
86993 _ACEOF
86995 cat >>confdefs.h <<\_ACEOF
86996 #define HAVE_ISINFF 1
86997 _ACEOF
86999 cat >>confdefs.h <<\_ACEOF
87000 #define HAVE_ISNAN 1
87001 _ACEOF
87003 cat >>confdefs.h <<\_ACEOF
87004 #define HAVE_ISNANF 1
87005 _ACEOF
87008 esac
87010 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87026 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87027 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87028 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
87030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87032 echo "$as_me:$LINENO: checking for $ac_header" >&5
87033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87035 echo $ECHO_N "(cached) $ECHO_C" >&6
87037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87039 else
87040 # Is the header compilable?
87041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87043 cat >conftest.$ac_ext <<_ACEOF
87044 /* confdefs.h. */
87045 _ACEOF
87046 cat confdefs.h >>conftest.$ac_ext
87047 cat >>conftest.$ac_ext <<_ACEOF
87048 /* end confdefs.h. */
87049 $ac_includes_default
87050 #include <$ac_header>
87051 _ACEOF
87052 rm -f conftest.$ac_objext
87053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87054 (eval $ac_compile) 2>conftest.er1
87055 ac_status=$?
87056 grep -v '^ *+' conftest.er1 >conftest.err
87057 rm -f conftest.er1
87058 cat conftest.err >&5
87059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87060 (exit $ac_status); } &&
87061 { ac_try='test -z "$ac_c_werror_flag"
87062 || test ! -s conftest.err'
87063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87064 (eval $ac_try) 2>&5
87065 ac_status=$?
87066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87067 (exit $ac_status); }; } &&
87068 { ac_try='test -s conftest.$ac_objext'
87069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87070 (eval $ac_try) 2>&5
87071 ac_status=$?
87072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87073 (exit $ac_status); }; }; then
87074 ac_header_compiler=yes
87075 else
87076 echo "$as_me: failed program was:" >&5
87077 sed 's/^/| /' conftest.$ac_ext >&5
87079 ac_header_compiler=no
87081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87083 echo "${ECHO_T}$ac_header_compiler" >&6
87085 # Is the header present?
87086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87088 cat >conftest.$ac_ext <<_ACEOF
87089 /* confdefs.h. */
87090 _ACEOF
87091 cat confdefs.h >>conftest.$ac_ext
87092 cat >>conftest.$ac_ext <<_ACEOF
87093 /* end confdefs.h. */
87094 #include <$ac_header>
87095 _ACEOF
87096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87098 ac_status=$?
87099 grep -v '^ *+' conftest.er1 >conftest.err
87100 rm -f conftest.er1
87101 cat conftest.err >&5
87102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87103 (exit $ac_status); } >/dev/null; then
87104 if test -s conftest.err; then
87105 ac_cpp_err=$ac_c_preproc_warn_flag
87106 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87107 else
87108 ac_cpp_err=
87110 else
87111 ac_cpp_err=yes
87113 if test -z "$ac_cpp_err"; then
87114 ac_header_preproc=yes
87115 else
87116 echo "$as_me: failed program was:" >&5
87117 sed 's/^/| /' conftest.$ac_ext >&5
87119 ac_header_preproc=no
87121 rm -f conftest.err conftest.$ac_ext
87122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87123 echo "${ECHO_T}$ac_header_preproc" >&6
87125 # So? What about this header?
87126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87127 yes:no: )
87128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87132 ac_header_preproc=yes
87134 no:yes:* )
87135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87148 cat <<\_ASBOX
87149 ## ----------------------------------------- ##
87150 ## Report this to the package-unused lists. ##
87151 ## ----------------------------------------- ##
87152 _ASBOX
87154 sed "s/^/$as_me: WARNING: /" >&2
87156 esac
87157 echo "$as_me:$LINENO: checking for $ac_header" >&5
87158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87160 echo $ECHO_N "(cached) $ECHO_C" >&6
87161 else
87162 eval "$as_ac_Header=\$ac_header_preproc"
87164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87169 cat >>confdefs.h <<_ACEOF
87170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87171 _ACEOF
87175 done
87177 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87180 # All these tests are for C++; save the language and the compiler flags.
87181 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87182 # found in GLIBCXX_CONFIGURE.
87185 ac_ext=cc
87186 ac_cpp='$CXXCPP $CPPFLAGS'
87187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87191 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87192 ac_save_CXXFLAGS="$CXXFLAGS"
87194 # Check for maintainer-mode bits.
87195 if test x"$USE_MAINTAINER_MODE" = xno; then
87196 WERROR=''
87197 else
87198 WERROR='-Werror'
87201 # Check for -ffunction-sections -fdata-sections
87202 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87203 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87204 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87205 cat >conftest.$ac_ext <<_ACEOF
87206 /* confdefs.h. */
87207 _ACEOF
87208 cat confdefs.h >>conftest.$ac_ext
87209 cat >>conftest.$ac_ext <<_ACEOF
87210 /* end confdefs.h. */
87211 int foo; void bar() { };
87213 main ()
87217 return 0;
87219 _ACEOF
87220 rm -f conftest.$ac_objext
87221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87222 (eval $ac_compile) 2>conftest.er1
87223 ac_status=$?
87224 grep -v '^ *+' conftest.er1 >conftest.err
87225 rm -f conftest.er1
87226 cat conftest.err >&5
87227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87228 (exit $ac_status); } &&
87229 { ac_try='test -z "$ac_cxx_werror_flag"
87230 || test ! -s conftest.err'
87231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87232 (eval $ac_try) 2>&5
87233 ac_status=$?
87234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87235 (exit $ac_status); }; } &&
87236 { ac_try='test -s conftest.$ac_objext'
87237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87238 (eval $ac_try) 2>&5
87239 ac_status=$?
87240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87241 (exit $ac_status); }; }; then
87242 ac_fdsections=yes
87243 else
87244 echo "$as_me: failed program was:" >&5
87245 sed 's/^/| /' conftest.$ac_ext >&5
87247 ac_fdsections=no
87249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87250 if test "$ac_test_CXXFLAGS" = set; then
87251 CXXFLAGS="$ac_save_CXXFLAGS"
87252 else
87253 # this is the suspicious part
87254 CXXFLAGS=''
87256 if test x"$ac_fdsections" = x"yes"; then
87257 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87259 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87260 echo "${ECHO_T}$ac_fdsections" >&6
87262 ac_ext=c
87263 ac_cpp='$CPP $CPPFLAGS'
87264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87272 # If we're not using GNU ld, then there's no point in even trying these
87273 # tests. Check for that first. We should have already tested for gld
87274 # by now (in libtool), but require it now just to be safe...
87275 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87276 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87280 # The name set by libtool depends on the version of libtool. Shame on us
87281 # for depending on an impl detail, but c'est la vie. Older versions used
87282 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87283 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87284 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87285 # set (hence we're using an older libtool), then set it.
87286 if test x${with_gnu_ld+set} != xset; then
87287 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87288 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87289 with_gnu_ld=no
87290 else
87291 with_gnu_ld=$ac_cv_prog_gnu_ld
87295 # Start by getting the version number. I think the libtool test already
87296 # does some of this, but throws away the result.
87297 if test x"$with_gnu_ld" = x"yes"; then
87298 echo "$as_me:$LINENO: checking for ld version" >&5
87299 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87301 ldver=`$LD --version 2>/dev/null | head -1 | \
87302 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87304 glibcxx_gnu_ld_version=`echo $ldver | \
87305 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87306 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87307 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87310 # Set --gc-sections.
87311 glibcxx_gcsections_min_ld=21602
87312 if test x"$with_gnu_ld" = x"yes" &&
87313 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87315 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87316 # NB: This flag only works reliably after 2.16.1. Configure tests
87317 # for this are difficult, so hard wire a value that should work.
87319 ac_test_CFLAGS="${CFLAGS+set}"
87320 ac_save_CFLAGS="$CFLAGS"
87321 CFLAGS='-Wl,--gc-sections'
87323 # Check for -Wl,--gc-sections
87324 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87325 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87326 if test x$gcc_no_link = xyes; then
87327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87329 { (exit 1); exit 1; }; }
87331 cat >conftest.$ac_ext <<_ACEOF
87332 /* confdefs.h. */
87333 _ACEOF
87334 cat confdefs.h >>conftest.$ac_ext
87335 cat >>conftest.$ac_ext <<_ACEOF
87336 /* end confdefs.h. */
87337 int one(void) { return 1; }
87338 int two(void) { return 2; }
87341 main ()
87343 two();
87345 return 0;
87347 _ACEOF
87348 rm -f conftest.$ac_objext conftest$ac_exeext
87349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87350 (eval $ac_link) 2>conftest.er1
87351 ac_status=$?
87352 grep -v '^ *+' conftest.er1 >conftest.err
87353 rm -f conftest.er1
87354 cat conftest.err >&5
87355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87356 (exit $ac_status); } &&
87357 { ac_try='test -z "$ac_c_werror_flag"
87358 || test ! -s conftest.err'
87359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87360 (eval $ac_try) 2>&5
87361 ac_status=$?
87362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87363 (exit $ac_status); }; } &&
87364 { ac_try='test -s conftest$ac_exeext'
87365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87366 (eval $ac_try) 2>&5
87367 ac_status=$?
87368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87369 (exit $ac_status); }; }; then
87370 ac_gcsections=yes
87371 else
87372 echo "$as_me: failed program was:" >&5
87373 sed 's/^/| /' conftest.$ac_ext >&5
87375 ac_gcsections=no
87377 rm -f conftest.err conftest.$ac_objext \
87378 conftest$ac_exeext conftest.$ac_ext
87379 if test "$ac_gcsections" = "yes"; then
87380 rm -f conftest.c
87381 touch conftest.c
87382 if $CC -c conftest.c; then
87383 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87384 grep "Warning: gc-sections option ignored" > /dev/null; then
87385 ac_gcsections=no
87388 rm -f conftest.c conftest.o conftest
87390 if test "$ac_gcsections" = "yes"; then
87391 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87393 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87394 echo "${ECHO_T}$ac_gcsections" >&6
87396 if test "$ac_test_CFLAGS" = set; then
87397 CFLAGS="$ac_save_CFLAGS"
87398 else
87399 # this is the suspicious part
87400 CFLAGS=''
87404 # Set -z,relro.
87405 # Note this is only for shared objects.
87406 ac_ld_relro=no
87407 if test x"$with_gnu_ld" = x"yes"; then
87408 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87409 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87410 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87411 if test -n "$cxx_z_relo"; then
87412 OPT_LDFLAGS="-Wl,-z,relro"
87413 ac_ld_relro=yes
87415 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87416 echo "${ECHO_T}$ac_ld_relro" >&6
87419 # Set linker optimization flags.
87420 if test x"$with_gnu_ld" = x"yes"; then
87421 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87428 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87429 ac_save_CXXFLAGS="$CXXFLAGS"
87430 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87432 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87433 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87434 if test "${ac_cv_lib_m_sin+set}" = set; then
87435 echo $ECHO_N "(cached) $ECHO_C" >&6
87436 else
87437 ac_check_lib_save_LIBS=$LIBS
87438 LIBS="-lm $LIBS"
87439 if test x$gcc_no_link = xyes; then
87440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87442 { (exit 1); exit 1; }; }
87444 cat >conftest.$ac_ext <<_ACEOF
87445 /* confdefs.h. */
87446 _ACEOF
87447 cat confdefs.h >>conftest.$ac_ext
87448 cat >>conftest.$ac_ext <<_ACEOF
87449 /* end confdefs.h. */
87451 /* Override any gcc2 internal prototype to avoid an error. */
87452 #ifdef __cplusplus
87453 extern "C"
87454 #endif
87455 /* We use char because int might match the return type of a gcc2
87456 builtin and then its argument prototype would still apply. */
87457 char sin ();
87459 main ()
87461 sin ();
87463 return 0;
87465 _ACEOF
87466 rm -f conftest.$ac_objext conftest$ac_exeext
87467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87468 (eval $ac_link) 2>conftest.er1
87469 ac_status=$?
87470 grep -v '^ *+' conftest.er1 >conftest.err
87471 rm -f conftest.er1
87472 cat conftest.err >&5
87473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87474 (exit $ac_status); } &&
87475 { ac_try='test -z "$ac_c_werror_flag"
87476 || test ! -s conftest.err'
87477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87478 (eval $ac_try) 2>&5
87479 ac_status=$?
87480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87481 (exit $ac_status); }; } &&
87482 { ac_try='test -s conftest$ac_exeext'
87483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87484 (eval $ac_try) 2>&5
87485 ac_status=$?
87486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87487 (exit $ac_status); }; }; then
87488 ac_cv_lib_m_sin=yes
87489 else
87490 echo "$as_me: failed program was:" >&5
87491 sed 's/^/| /' conftest.$ac_ext >&5
87493 ac_cv_lib_m_sin=no
87495 rm -f conftest.err conftest.$ac_objext \
87496 conftest$ac_exeext conftest.$ac_ext
87497 LIBS=$ac_check_lib_save_LIBS
87499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87500 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87501 if test $ac_cv_lib_m_sin = yes; then
87502 libm="-lm"
87505 ac_save_LIBS="$LIBS"
87506 LIBS="$LIBS $libm"
87510 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87511 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87512 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87513 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87514 echo $ECHO_N "(cached) $ECHO_C" >&6
87515 else
87519 ac_ext=cc
87520 ac_cpp='$CXXCPP $CPPFLAGS'
87521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87525 cat >conftest.$ac_ext <<_ACEOF
87526 /* confdefs.h. */
87527 _ACEOF
87528 cat confdefs.h >>conftest.$ac_ext
87529 cat >>conftest.$ac_ext <<_ACEOF
87530 /* end confdefs.h. */
87531 #include <math.h>
87532 #ifdef HAVE_IEEEFP_H
87533 #include <ieeefp.h>
87534 #endif
87537 main ()
87539 isinf(0);
87541 return 0;
87543 _ACEOF
87544 rm -f conftest.$ac_objext
87545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87546 (eval $ac_compile) 2>conftest.er1
87547 ac_status=$?
87548 grep -v '^ *+' conftest.er1 >conftest.err
87549 rm -f conftest.er1
87550 cat conftest.err >&5
87551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87552 (exit $ac_status); } &&
87553 { ac_try='test -z "$ac_cxx_werror_flag"
87554 || test ! -s conftest.err'
87555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87556 (eval $ac_try) 2>&5
87557 ac_status=$?
87558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87559 (exit $ac_status); }; } &&
87560 { ac_try='test -s conftest.$ac_objext'
87561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87562 (eval $ac_try) 2>&5
87563 ac_status=$?
87564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87565 (exit $ac_status); }; }; then
87566 glibcxx_cv_func_isinf_use=yes
87567 else
87568 echo "$as_me: failed program was:" >&5
87569 sed 's/^/| /' conftest.$ac_ext >&5
87571 glibcxx_cv_func_isinf_use=no
87573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87574 ac_ext=c
87575 ac_cpp='$CPP $CPPFLAGS'
87576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87585 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87587 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87589 for ac_func in isinf
87591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87592 echo "$as_me:$LINENO: checking for $ac_func" >&5
87593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87594 if eval "test \"\${$as_ac_var+set}\" = set"; then
87595 echo $ECHO_N "(cached) $ECHO_C" >&6
87596 else
87597 if test x$gcc_no_link = xyes; then
87598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87600 { (exit 1); exit 1; }; }
87602 cat >conftest.$ac_ext <<_ACEOF
87603 /* confdefs.h. */
87604 _ACEOF
87605 cat confdefs.h >>conftest.$ac_ext
87606 cat >>conftest.$ac_ext <<_ACEOF
87607 /* end confdefs.h. */
87608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87610 #define $ac_func innocuous_$ac_func
87612 /* System header to define __stub macros and hopefully few prototypes,
87613 which can conflict with char $ac_func (); below.
87614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87615 <limits.h> exists even on freestanding compilers. */
87617 #ifdef __STDC__
87618 # include <limits.h>
87619 #else
87620 # include <assert.h>
87621 #endif
87623 #undef $ac_func
87625 /* Override any gcc2 internal prototype to avoid an error. */
87626 #ifdef __cplusplus
87627 extern "C"
87629 #endif
87630 /* We use char because int might match the return type of a gcc2
87631 builtin and then its argument prototype would still apply. */
87632 char $ac_func ();
87633 /* The GNU C library defines this for functions which it implements
87634 to always fail with ENOSYS. Some functions are actually named
87635 something starting with __ and the normal name is an alias. */
87636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87637 choke me
87638 #else
87639 char (*f) () = $ac_func;
87640 #endif
87641 #ifdef __cplusplus
87643 #endif
87646 main ()
87648 return f != $ac_func;
87650 return 0;
87652 _ACEOF
87653 rm -f conftest.$ac_objext conftest$ac_exeext
87654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87655 (eval $ac_link) 2>conftest.er1
87656 ac_status=$?
87657 grep -v '^ *+' conftest.er1 >conftest.err
87658 rm -f conftest.er1
87659 cat conftest.err >&5
87660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87661 (exit $ac_status); } &&
87662 { ac_try='test -z "$ac_c_werror_flag"
87663 || test ! -s conftest.err'
87664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87665 (eval $ac_try) 2>&5
87666 ac_status=$?
87667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87668 (exit $ac_status); }; } &&
87669 { ac_try='test -s conftest$ac_exeext'
87670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87671 (eval $ac_try) 2>&5
87672 ac_status=$?
87673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87674 (exit $ac_status); }; }; then
87675 eval "$as_ac_var=yes"
87676 else
87677 echo "$as_me: failed program was:" >&5
87678 sed 's/^/| /' conftest.$ac_ext >&5
87680 eval "$as_ac_var=no"
87682 rm -f conftest.err conftest.$ac_objext \
87683 conftest$ac_exeext conftest.$ac_ext
87685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87687 if test `eval echo '${'$as_ac_var'}'` = yes; then
87688 cat >>confdefs.h <<_ACEOF
87689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87690 _ACEOF
87693 done
87695 else
87697 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87698 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87699 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87700 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87701 echo $ECHO_N "(cached) $ECHO_C" >&6
87702 else
87706 ac_ext=cc
87707 ac_cpp='$CXXCPP $CPPFLAGS'
87708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87712 cat >conftest.$ac_ext <<_ACEOF
87713 /* confdefs.h. */
87714 _ACEOF
87715 cat confdefs.h >>conftest.$ac_ext
87716 cat >>conftest.$ac_ext <<_ACEOF
87717 /* end confdefs.h. */
87718 #include <math.h>
87719 #ifdef HAVE_IEEEFP_H
87720 #include <ieeefp.h>
87721 #endif
87724 main ()
87726 _isinf(0);
87728 return 0;
87730 _ACEOF
87731 rm -f conftest.$ac_objext
87732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87733 (eval $ac_compile) 2>conftest.er1
87734 ac_status=$?
87735 grep -v '^ *+' conftest.er1 >conftest.err
87736 rm -f conftest.er1
87737 cat conftest.err >&5
87738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87739 (exit $ac_status); } &&
87740 { ac_try='test -z "$ac_cxx_werror_flag"
87741 || test ! -s conftest.err'
87742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87743 (eval $ac_try) 2>&5
87744 ac_status=$?
87745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746 (exit $ac_status); }; } &&
87747 { ac_try='test -s conftest.$ac_objext'
87748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87749 (eval $ac_try) 2>&5
87750 ac_status=$?
87751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87752 (exit $ac_status); }; }; then
87753 glibcxx_cv_func__isinf_use=yes
87754 else
87755 echo "$as_me: failed program was:" >&5
87756 sed 's/^/| /' conftest.$ac_ext >&5
87758 glibcxx_cv_func__isinf_use=no
87760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87761 ac_ext=c
87762 ac_cpp='$CPP $CPPFLAGS'
87763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87771 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
87772 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
87774 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
87776 for ac_func in _isinf
87778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87779 echo "$as_me:$LINENO: checking for $ac_func" >&5
87780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87781 if eval "test \"\${$as_ac_var+set}\" = set"; then
87782 echo $ECHO_N "(cached) $ECHO_C" >&6
87783 else
87784 if test x$gcc_no_link = xyes; then
87785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87787 { (exit 1); exit 1; }; }
87789 cat >conftest.$ac_ext <<_ACEOF
87790 /* confdefs.h. */
87791 _ACEOF
87792 cat confdefs.h >>conftest.$ac_ext
87793 cat >>conftest.$ac_ext <<_ACEOF
87794 /* end confdefs.h. */
87795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87797 #define $ac_func innocuous_$ac_func
87799 /* System header to define __stub macros and hopefully few prototypes,
87800 which can conflict with char $ac_func (); below.
87801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87802 <limits.h> exists even on freestanding compilers. */
87804 #ifdef __STDC__
87805 # include <limits.h>
87806 #else
87807 # include <assert.h>
87808 #endif
87810 #undef $ac_func
87812 /* Override any gcc2 internal prototype to avoid an error. */
87813 #ifdef __cplusplus
87814 extern "C"
87816 #endif
87817 /* We use char because int might match the return type of a gcc2
87818 builtin and then its argument prototype would still apply. */
87819 char $ac_func ();
87820 /* The GNU C library defines this for functions which it implements
87821 to always fail with ENOSYS. Some functions are actually named
87822 something starting with __ and the normal name is an alias. */
87823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87824 choke me
87825 #else
87826 char (*f) () = $ac_func;
87827 #endif
87828 #ifdef __cplusplus
87830 #endif
87833 main ()
87835 return f != $ac_func;
87837 return 0;
87839 _ACEOF
87840 rm -f conftest.$ac_objext conftest$ac_exeext
87841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87842 (eval $ac_link) 2>conftest.er1
87843 ac_status=$?
87844 grep -v '^ *+' conftest.er1 >conftest.err
87845 rm -f conftest.er1
87846 cat conftest.err >&5
87847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87848 (exit $ac_status); } &&
87849 { ac_try='test -z "$ac_c_werror_flag"
87850 || test ! -s conftest.err'
87851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87852 (eval $ac_try) 2>&5
87853 ac_status=$?
87854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87855 (exit $ac_status); }; } &&
87856 { ac_try='test -s conftest$ac_exeext'
87857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87858 (eval $ac_try) 2>&5
87859 ac_status=$?
87860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87861 (exit $ac_status); }; }; then
87862 eval "$as_ac_var=yes"
87863 else
87864 echo "$as_me: failed program was:" >&5
87865 sed 's/^/| /' conftest.$ac_ext >&5
87867 eval "$as_ac_var=no"
87869 rm -f conftest.err conftest.$ac_objext \
87870 conftest$ac_exeext conftest.$ac_ext
87872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87874 if test `eval echo '${'$as_ac_var'}'` = yes; then
87875 cat >>confdefs.h <<_ACEOF
87876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87877 _ACEOF
87880 done
87890 echo "$as_me:$LINENO: checking for isnan declaration" >&5
87891 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
87892 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
87893 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
87894 echo $ECHO_N "(cached) $ECHO_C" >&6
87895 else
87899 ac_ext=cc
87900 ac_cpp='$CXXCPP $CPPFLAGS'
87901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87905 cat >conftest.$ac_ext <<_ACEOF
87906 /* confdefs.h. */
87907 _ACEOF
87908 cat confdefs.h >>conftest.$ac_ext
87909 cat >>conftest.$ac_ext <<_ACEOF
87910 /* end confdefs.h. */
87911 #include <math.h>
87912 #ifdef HAVE_IEEEFP_H
87913 #include <ieeefp.h>
87914 #endif
87917 main ()
87919 isnan(0);
87921 return 0;
87923 _ACEOF
87924 rm -f conftest.$ac_objext
87925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87926 (eval $ac_compile) 2>conftest.er1
87927 ac_status=$?
87928 grep -v '^ *+' conftest.er1 >conftest.err
87929 rm -f conftest.er1
87930 cat conftest.err >&5
87931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87932 (exit $ac_status); } &&
87933 { ac_try='test -z "$ac_cxx_werror_flag"
87934 || test ! -s conftest.err'
87935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87936 (eval $ac_try) 2>&5
87937 ac_status=$?
87938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87939 (exit $ac_status); }; } &&
87940 { ac_try='test -s conftest.$ac_objext'
87941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87942 (eval $ac_try) 2>&5
87943 ac_status=$?
87944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87945 (exit $ac_status); }; }; then
87946 glibcxx_cv_func_isnan_use=yes
87947 else
87948 echo "$as_me: failed program was:" >&5
87949 sed 's/^/| /' conftest.$ac_ext >&5
87951 glibcxx_cv_func_isnan_use=no
87953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87954 ac_ext=c
87955 ac_cpp='$CPP $CPPFLAGS'
87956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
87965 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
87967 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
87969 for ac_func in isnan
87971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87972 echo "$as_me:$LINENO: checking for $ac_func" >&5
87973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87974 if eval "test \"\${$as_ac_var+set}\" = set"; then
87975 echo $ECHO_N "(cached) $ECHO_C" >&6
87976 else
87977 if test x$gcc_no_link = xyes; then
87978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87980 { (exit 1); exit 1; }; }
87982 cat >conftest.$ac_ext <<_ACEOF
87983 /* confdefs.h. */
87984 _ACEOF
87985 cat confdefs.h >>conftest.$ac_ext
87986 cat >>conftest.$ac_ext <<_ACEOF
87987 /* end confdefs.h. */
87988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87990 #define $ac_func innocuous_$ac_func
87992 /* System header to define __stub macros and hopefully few prototypes,
87993 which can conflict with char $ac_func (); below.
87994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87995 <limits.h> exists even on freestanding compilers. */
87997 #ifdef __STDC__
87998 # include <limits.h>
87999 #else
88000 # include <assert.h>
88001 #endif
88003 #undef $ac_func
88005 /* Override any gcc2 internal prototype to avoid an error. */
88006 #ifdef __cplusplus
88007 extern "C"
88009 #endif
88010 /* We use char because int might match the return type of a gcc2
88011 builtin and then its argument prototype would still apply. */
88012 char $ac_func ();
88013 /* The GNU C library defines this for functions which it implements
88014 to always fail with ENOSYS. Some functions are actually named
88015 something starting with __ and the normal name is an alias. */
88016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88017 choke me
88018 #else
88019 char (*f) () = $ac_func;
88020 #endif
88021 #ifdef __cplusplus
88023 #endif
88026 main ()
88028 return f != $ac_func;
88030 return 0;
88032 _ACEOF
88033 rm -f conftest.$ac_objext conftest$ac_exeext
88034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88035 (eval $ac_link) 2>conftest.er1
88036 ac_status=$?
88037 grep -v '^ *+' conftest.er1 >conftest.err
88038 rm -f conftest.er1
88039 cat conftest.err >&5
88040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88041 (exit $ac_status); } &&
88042 { ac_try='test -z "$ac_c_werror_flag"
88043 || test ! -s conftest.err'
88044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88045 (eval $ac_try) 2>&5
88046 ac_status=$?
88047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88048 (exit $ac_status); }; } &&
88049 { ac_try='test -s conftest$ac_exeext'
88050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88051 (eval $ac_try) 2>&5
88052 ac_status=$?
88053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88054 (exit $ac_status); }; }; then
88055 eval "$as_ac_var=yes"
88056 else
88057 echo "$as_me: failed program was:" >&5
88058 sed 's/^/| /' conftest.$ac_ext >&5
88060 eval "$as_ac_var=no"
88062 rm -f conftest.err conftest.$ac_objext \
88063 conftest$ac_exeext conftest.$ac_ext
88065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88067 if test `eval echo '${'$as_ac_var'}'` = yes; then
88068 cat >>confdefs.h <<_ACEOF
88069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88070 _ACEOF
88073 done
88075 else
88077 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88078 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88079 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88080 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88081 echo $ECHO_N "(cached) $ECHO_C" >&6
88082 else
88086 ac_ext=cc
88087 ac_cpp='$CXXCPP $CPPFLAGS'
88088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88092 cat >conftest.$ac_ext <<_ACEOF
88093 /* confdefs.h. */
88094 _ACEOF
88095 cat confdefs.h >>conftest.$ac_ext
88096 cat >>conftest.$ac_ext <<_ACEOF
88097 /* end confdefs.h. */
88098 #include <math.h>
88099 #ifdef HAVE_IEEEFP_H
88100 #include <ieeefp.h>
88101 #endif
88104 main ()
88106 _isnan(0);
88108 return 0;
88110 _ACEOF
88111 rm -f conftest.$ac_objext
88112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88113 (eval $ac_compile) 2>conftest.er1
88114 ac_status=$?
88115 grep -v '^ *+' conftest.er1 >conftest.err
88116 rm -f conftest.er1
88117 cat conftest.err >&5
88118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88119 (exit $ac_status); } &&
88120 { ac_try='test -z "$ac_cxx_werror_flag"
88121 || test ! -s conftest.err'
88122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88123 (eval $ac_try) 2>&5
88124 ac_status=$?
88125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88126 (exit $ac_status); }; } &&
88127 { ac_try='test -s conftest.$ac_objext'
88128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88129 (eval $ac_try) 2>&5
88130 ac_status=$?
88131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88132 (exit $ac_status); }; }; then
88133 glibcxx_cv_func__isnan_use=yes
88134 else
88135 echo "$as_me: failed program was:" >&5
88136 sed 's/^/| /' conftest.$ac_ext >&5
88138 glibcxx_cv_func__isnan_use=no
88140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88141 ac_ext=c
88142 ac_cpp='$CPP $CPPFLAGS'
88143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88151 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88152 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88154 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88156 for ac_func in _isnan
88158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88159 echo "$as_me:$LINENO: checking for $ac_func" >&5
88160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88161 if eval "test \"\${$as_ac_var+set}\" = set"; then
88162 echo $ECHO_N "(cached) $ECHO_C" >&6
88163 else
88164 if test x$gcc_no_link = xyes; then
88165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88167 { (exit 1); exit 1; }; }
88169 cat >conftest.$ac_ext <<_ACEOF
88170 /* confdefs.h. */
88171 _ACEOF
88172 cat confdefs.h >>conftest.$ac_ext
88173 cat >>conftest.$ac_ext <<_ACEOF
88174 /* end confdefs.h. */
88175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88177 #define $ac_func innocuous_$ac_func
88179 /* System header to define __stub macros and hopefully few prototypes,
88180 which can conflict with char $ac_func (); below.
88181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88182 <limits.h> exists even on freestanding compilers. */
88184 #ifdef __STDC__
88185 # include <limits.h>
88186 #else
88187 # include <assert.h>
88188 #endif
88190 #undef $ac_func
88192 /* Override any gcc2 internal prototype to avoid an error. */
88193 #ifdef __cplusplus
88194 extern "C"
88196 #endif
88197 /* We use char because int might match the return type of a gcc2
88198 builtin and then its argument prototype would still apply. */
88199 char $ac_func ();
88200 /* The GNU C library defines this for functions which it implements
88201 to always fail with ENOSYS. Some functions are actually named
88202 something starting with __ and the normal name is an alias. */
88203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88204 choke me
88205 #else
88206 char (*f) () = $ac_func;
88207 #endif
88208 #ifdef __cplusplus
88210 #endif
88213 main ()
88215 return f != $ac_func;
88217 return 0;
88219 _ACEOF
88220 rm -f conftest.$ac_objext conftest$ac_exeext
88221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88222 (eval $ac_link) 2>conftest.er1
88223 ac_status=$?
88224 grep -v '^ *+' conftest.er1 >conftest.err
88225 rm -f conftest.er1
88226 cat conftest.err >&5
88227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88228 (exit $ac_status); } &&
88229 { ac_try='test -z "$ac_c_werror_flag"
88230 || test ! -s conftest.err'
88231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88232 (eval $ac_try) 2>&5
88233 ac_status=$?
88234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88235 (exit $ac_status); }; } &&
88236 { ac_try='test -s conftest$ac_exeext'
88237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88238 (eval $ac_try) 2>&5
88239 ac_status=$?
88240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241 (exit $ac_status); }; }; then
88242 eval "$as_ac_var=yes"
88243 else
88244 echo "$as_me: failed program was:" >&5
88245 sed 's/^/| /' conftest.$ac_ext >&5
88247 eval "$as_ac_var=no"
88249 rm -f conftest.err conftest.$ac_objext \
88250 conftest$ac_exeext conftest.$ac_ext
88252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88254 if test `eval echo '${'$as_ac_var'}'` = yes; then
88255 cat >>confdefs.h <<_ACEOF
88256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88257 _ACEOF
88260 done
88270 echo "$as_me:$LINENO: checking for finite declaration" >&5
88271 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88272 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88273 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88274 echo $ECHO_N "(cached) $ECHO_C" >&6
88275 else
88279 ac_ext=cc
88280 ac_cpp='$CXXCPP $CPPFLAGS'
88281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88285 cat >conftest.$ac_ext <<_ACEOF
88286 /* confdefs.h. */
88287 _ACEOF
88288 cat confdefs.h >>conftest.$ac_ext
88289 cat >>conftest.$ac_ext <<_ACEOF
88290 /* end confdefs.h. */
88291 #include <math.h>
88292 #ifdef HAVE_IEEEFP_H
88293 #include <ieeefp.h>
88294 #endif
88297 main ()
88299 finite(0);
88301 return 0;
88303 _ACEOF
88304 rm -f conftest.$ac_objext
88305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88306 (eval $ac_compile) 2>conftest.er1
88307 ac_status=$?
88308 grep -v '^ *+' conftest.er1 >conftest.err
88309 rm -f conftest.er1
88310 cat conftest.err >&5
88311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88312 (exit $ac_status); } &&
88313 { ac_try='test -z "$ac_cxx_werror_flag"
88314 || test ! -s conftest.err'
88315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88316 (eval $ac_try) 2>&5
88317 ac_status=$?
88318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88319 (exit $ac_status); }; } &&
88320 { ac_try='test -s conftest.$ac_objext'
88321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88322 (eval $ac_try) 2>&5
88323 ac_status=$?
88324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88325 (exit $ac_status); }; }; then
88326 glibcxx_cv_func_finite_use=yes
88327 else
88328 echo "$as_me: failed program was:" >&5
88329 sed 's/^/| /' conftest.$ac_ext >&5
88331 glibcxx_cv_func_finite_use=no
88333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88334 ac_ext=c
88335 ac_cpp='$CPP $CPPFLAGS'
88336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88345 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88347 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88349 for ac_func in finite
88351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88352 echo "$as_me:$LINENO: checking for $ac_func" >&5
88353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88354 if eval "test \"\${$as_ac_var+set}\" = set"; then
88355 echo $ECHO_N "(cached) $ECHO_C" >&6
88356 else
88357 if test x$gcc_no_link = xyes; then
88358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88360 { (exit 1); exit 1; }; }
88362 cat >conftest.$ac_ext <<_ACEOF
88363 /* confdefs.h. */
88364 _ACEOF
88365 cat confdefs.h >>conftest.$ac_ext
88366 cat >>conftest.$ac_ext <<_ACEOF
88367 /* end confdefs.h. */
88368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88370 #define $ac_func innocuous_$ac_func
88372 /* System header to define __stub macros and hopefully few prototypes,
88373 which can conflict with char $ac_func (); below.
88374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88375 <limits.h> exists even on freestanding compilers. */
88377 #ifdef __STDC__
88378 # include <limits.h>
88379 #else
88380 # include <assert.h>
88381 #endif
88383 #undef $ac_func
88385 /* Override any gcc2 internal prototype to avoid an error. */
88386 #ifdef __cplusplus
88387 extern "C"
88389 #endif
88390 /* We use char because int might match the return type of a gcc2
88391 builtin and then its argument prototype would still apply. */
88392 char $ac_func ();
88393 /* The GNU C library defines this for functions which it implements
88394 to always fail with ENOSYS. Some functions are actually named
88395 something starting with __ and the normal name is an alias. */
88396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88397 choke me
88398 #else
88399 char (*f) () = $ac_func;
88400 #endif
88401 #ifdef __cplusplus
88403 #endif
88406 main ()
88408 return f != $ac_func;
88410 return 0;
88412 _ACEOF
88413 rm -f conftest.$ac_objext conftest$ac_exeext
88414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88415 (eval $ac_link) 2>conftest.er1
88416 ac_status=$?
88417 grep -v '^ *+' conftest.er1 >conftest.err
88418 rm -f conftest.er1
88419 cat conftest.err >&5
88420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88421 (exit $ac_status); } &&
88422 { ac_try='test -z "$ac_c_werror_flag"
88423 || test ! -s conftest.err'
88424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88425 (eval $ac_try) 2>&5
88426 ac_status=$?
88427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88428 (exit $ac_status); }; } &&
88429 { ac_try='test -s conftest$ac_exeext'
88430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88431 (eval $ac_try) 2>&5
88432 ac_status=$?
88433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88434 (exit $ac_status); }; }; then
88435 eval "$as_ac_var=yes"
88436 else
88437 echo "$as_me: failed program was:" >&5
88438 sed 's/^/| /' conftest.$ac_ext >&5
88440 eval "$as_ac_var=no"
88442 rm -f conftest.err conftest.$ac_objext \
88443 conftest$ac_exeext conftest.$ac_ext
88445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88447 if test `eval echo '${'$as_ac_var'}'` = yes; then
88448 cat >>confdefs.h <<_ACEOF
88449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88450 _ACEOF
88453 done
88455 else
88457 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88458 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88459 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88460 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88461 echo $ECHO_N "(cached) $ECHO_C" >&6
88462 else
88466 ac_ext=cc
88467 ac_cpp='$CXXCPP $CPPFLAGS'
88468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88472 cat >conftest.$ac_ext <<_ACEOF
88473 /* confdefs.h. */
88474 _ACEOF
88475 cat confdefs.h >>conftest.$ac_ext
88476 cat >>conftest.$ac_ext <<_ACEOF
88477 /* end confdefs.h. */
88478 #include <math.h>
88479 #ifdef HAVE_IEEEFP_H
88480 #include <ieeefp.h>
88481 #endif
88484 main ()
88486 _finite(0);
88488 return 0;
88490 _ACEOF
88491 rm -f conftest.$ac_objext
88492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88493 (eval $ac_compile) 2>conftest.er1
88494 ac_status=$?
88495 grep -v '^ *+' conftest.er1 >conftest.err
88496 rm -f conftest.er1
88497 cat conftest.err >&5
88498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88499 (exit $ac_status); } &&
88500 { ac_try='test -z "$ac_cxx_werror_flag"
88501 || test ! -s conftest.err'
88502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88503 (eval $ac_try) 2>&5
88504 ac_status=$?
88505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88506 (exit $ac_status); }; } &&
88507 { ac_try='test -s conftest.$ac_objext'
88508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88509 (eval $ac_try) 2>&5
88510 ac_status=$?
88511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88512 (exit $ac_status); }; }; then
88513 glibcxx_cv_func__finite_use=yes
88514 else
88515 echo "$as_me: failed program was:" >&5
88516 sed 's/^/| /' conftest.$ac_ext >&5
88518 glibcxx_cv_func__finite_use=no
88520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88521 ac_ext=c
88522 ac_cpp='$CPP $CPPFLAGS'
88523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88532 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88534 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88536 for ac_func in _finite
88538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88539 echo "$as_me:$LINENO: checking for $ac_func" >&5
88540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88541 if eval "test \"\${$as_ac_var+set}\" = set"; then
88542 echo $ECHO_N "(cached) $ECHO_C" >&6
88543 else
88544 if test x$gcc_no_link = xyes; then
88545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88547 { (exit 1); exit 1; }; }
88549 cat >conftest.$ac_ext <<_ACEOF
88550 /* confdefs.h. */
88551 _ACEOF
88552 cat confdefs.h >>conftest.$ac_ext
88553 cat >>conftest.$ac_ext <<_ACEOF
88554 /* end confdefs.h. */
88555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88557 #define $ac_func innocuous_$ac_func
88559 /* System header to define __stub macros and hopefully few prototypes,
88560 which can conflict with char $ac_func (); below.
88561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88562 <limits.h> exists even on freestanding compilers. */
88564 #ifdef __STDC__
88565 # include <limits.h>
88566 #else
88567 # include <assert.h>
88568 #endif
88570 #undef $ac_func
88572 /* Override any gcc2 internal prototype to avoid an error. */
88573 #ifdef __cplusplus
88574 extern "C"
88576 #endif
88577 /* We use char because int might match the return type of a gcc2
88578 builtin and then its argument prototype would still apply. */
88579 char $ac_func ();
88580 /* The GNU C library defines this for functions which it implements
88581 to always fail with ENOSYS. Some functions are actually named
88582 something starting with __ and the normal name is an alias. */
88583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88584 choke me
88585 #else
88586 char (*f) () = $ac_func;
88587 #endif
88588 #ifdef __cplusplus
88590 #endif
88593 main ()
88595 return f != $ac_func;
88597 return 0;
88599 _ACEOF
88600 rm -f conftest.$ac_objext conftest$ac_exeext
88601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88602 (eval $ac_link) 2>conftest.er1
88603 ac_status=$?
88604 grep -v '^ *+' conftest.er1 >conftest.err
88605 rm -f conftest.er1
88606 cat conftest.err >&5
88607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88608 (exit $ac_status); } &&
88609 { ac_try='test -z "$ac_c_werror_flag"
88610 || test ! -s conftest.err'
88611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88612 (eval $ac_try) 2>&5
88613 ac_status=$?
88614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88615 (exit $ac_status); }; } &&
88616 { ac_try='test -s conftest$ac_exeext'
88617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88618 (eval $ac_try) 2>&5
88619 ac_status=$?
88620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88621 (exit $ac_status); }; }; then
88622 eval "$as_ac_var=yes"
88623 else
88624 echo "$as_me: failed program was:" >&5
88625 sed 's/^/| /' conftest.$ac_ext >&5
88627 eval "$as_ac_var=no"
88629 rm -f conftest.err conftest.$ac_objext \
88630 conftest$ac_exeext conftest.$ac_ext
88632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88634 if test `eval echo '${'$as_ac_var'}'` = yes; then
88635 cat >>confdefs.h <<_ACEOF
88636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88637 _ACEOF
88640 done
88650 echo "$as_me:$LINENO: checking for copysign declaration" >&5
88651 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
88652 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
88653 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
88654 echo $ECHO_N "(cached) $ECHO_C" >&6
88655 else
88659 ac_ext=cc
88660 ac_cpp='$CXXCPP $CPPFLAGS'
88661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88665 cat >conftest.$ac_ext <<_ACEOF
88666 /* confdefs.h. */
88667 _ACEOF
88668 cat confdefs.h >>conftest.$ac_ext
88669 cat >>conftest.$ac_ext <<_ACEOF
88670 /* end confdefs.h. */
88671 #include <math.h>
88673 main ()
88675 copysign(0, 0);
88677 return 0;
88679 _ACEOF
88680 rm -f conftest.$ac_objext
88681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88682 (eval $ac_compile) 2>conftest.er1
88683 ac_status=$?
88684 grep -v '^ *+' conftest.er1 >conftest.err
88685 rm -f conftest.er1
88686 cat conftest.err >&5
88687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88688 (exit $ac_status); } &&
88689 { ac_try='test -z "$ac_cxx_werror_flag"
88690 || test ! -s conftest.err'
88691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88692 (eval $ac_try) 2>&5
88693 ac_status=$?
88694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88695 (exit $ac_status); }; } &&
88696 { ac_try='test -s conftest.$ac_objext'
88697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88698 (eval $ac_try) 2>&5
88699 ac_status=$?
88700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88701 (exit $ac_status); }; }; then
88702 glibcxx_cv_func_copysign_use=yes
88703 else
88704 echo "$as_me: failed program was:" >&5
88705 sed 's/^/| /' conftest.$ac_ext >&5
88707 glibcxx_cv_func_copysign_use=no
88709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88710 ac_ext=c
88711 ac_cpp='$CPP $CPPFLAGS'
88712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88721 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88723 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88725 for ac_func in copysign
88727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88728 echo "$as_me:$LINENO: checking for $ac_func" >&5
88729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88730 if eval "test \"\${$as_ac_var+set}\" = set"; then
88731 echo $ECHO_N "(cached) $ECHO_C" >&6
88732 else
88733 if test x$gcc_no_link = xyes; then
88734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88736 { (exit 1); exit 1; }; }
88738 cat >conftest.$ac_ext <<_ACEOF
88739 /* confdefs.h. */
88740 _ACEOF
88741 cat confdefs.h >>conftest.$ac_ext
88742 cat >>conftest.$ac_ext <<_ACEOF
88743 /* end confdefs.h. */
88744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88746 #define $ac_func innocuous_$ac_func
88748 /* System header to define __stub macros and hopefully few prototypes,
88749 which can conflict with char $ac_func (); below.
88750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88751 <limits.h> exists even on freestanding compilers. */
88753 #ifdef __STDC__
88754 # include <limits.h>
88755 #else
88756 # include <assert.h>
88757 #endif
88759 #undef $ac_func
88761 /* Override any gcc2 internal prototype to avoid an error. */
88762 #ifdef __cplusplus
88763 extern "C"
88765 #endif
88766 /* We use char because int might match the return type of a gcc2
88767 builtin and then its argument prototype would still apply. */
88768 char $ac_func ();
88769 /* The GNU C library defines this for functions which it implements
88770 to always fail with ENOSYS. Some functions are actually named
88771 something starting with __ and the normal name is an alias. */
88772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88773 choke me
88774 #else
88775 char (*f) () = $ac_func;
88776 #endif
88777 #ifdef __cplusplus
88779 #endif
88782 main ()
88784 return f != $ac_func;
88786 return 0;
88788 _ACEOF
88789 rm -f conftest.$ac_objext conftest$ac_exeext
88790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88791 (eval $ac_link) 2>conftest.er1
88792 ac_status=$?
88793 grep -v '^ *+' conftest.er1 >conftest.err
88794 rm -f conftest.er1
88795 cat conftest.err >&5
88796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88797 (exit $ac_status); } &&
88798 { ac_try='test -z "$ac_c_werror_flag"
88799 || test ! -s conftest.err'
88800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88801 (eval $ac_try) 2>&5
88802 ac_status=$?
88803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88804 (exit $ac_status); }; } &&
88805 { ac_try='test -s conftest$ac_exeext'
88806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88807 (eval $ac_try) 2>&5
88808 ac_status=$?
88809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88810 (exit $ac_status); }; }; then
88811 eval "$as_ac_var=yes"
88812 else
88813 echo "$as_me: failed program was:" >&5
88814 sed 's/^/| /' conftest.$ac_ext >&5
88816 eval "$as_ac_var=no"
88818 rm -f conftest.err conftest.$ac_objext \
88819 conftest$ac_exeext conftest.$ac_ext
88821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88823 if test `eval echo '${'$as_ac_var'}'` = yes; then
88824 cat >>confdefs.h <<_ACEOF
88825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88826 _ACEOF
88829 done
88831 else
88833 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
88834 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
88835 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
88836 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
88837 echo $ECHO_N "(cached) $ECHO_C" >&6
88838 else
88842 ac_ext=cc
88843 ac_cpp='$CXXCPP $CPPFLAGS'
88844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88848 cat >conftest.$ac_ext <<_ACEOF
88849 /* confdefs.h. */
88850 _ACEOF
88851 cat confdefs.h >>conftest.$ac_ext
88852 cat >>conftest.$ac_ext <<_ACEOF
88853 /* end confdefs.h. */
88854 #include <math.h>
88856 main ()
88858 _copysign(0, 0);
88860 return 0;
88862 _ACEOF
88863 rm -f conftest.$ac_objext
88864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88865 (eval $ac_compile) 2>conftest.er1
88866 ac_status=$?
88867 grep -v '^ *+' conftest.er1 >conftest.err
88868 rm -f conftest.er1
88869 cat conftest.err >&5
88870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88871 (exit $ac_status); } &&
88872 { ac_try='test -z "$ac_cxx_werror_flag"
88873 || test ! -s conftest.err'
88874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88875 (eval $ac_try) 2>&5
88876 ac_status=$?
88877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88878 (exit $ac_status); }; } &&
88879 { ac_try='test -s conftest.$ac_objext'
88880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88881 (eval $ac_try) 2>&5
88882 ac_status=$?
88883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88884 (exit $ac_status); }; }; then
88885 glibcxx_cv_func__copysign_use=yes
88886 else
88887 echo "$as_me: failed program was:" >&5
88888 sed 's/^/| /' conftest.$ac_ext >&5
88890 glibcxx_cv_func__copysign_use=no
88892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88893 ac_ext=c
88894 ac_cpp='$CPP $CPPFLAGS'
88895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88903 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
88904 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
88906 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
88908 for ac_func in _copysign
88910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88911 echo "$as_me:$LINENO: checking for $ac_func" >&5
88912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88913 if eval "test \"\${$as_ac_var+set}\" = set"; then
88914 echo $ECHO_N "(cached) $ECHO_C" >&6
88915 else
88916 if test x$gcc_no_link = xyes; then
88917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88919 { (exit 1); exit 1; }; }
88921 cat >conftest.$ac_ext <<_ACEOF
88922 /* confdefs.h. */
88923 _ACEOF
88924 cat confdefs.h >>conftest.$ac_ext
88925 cat >>conftest.$ac_ext <<_ACEOF
88926 /* end confdefs.h. */
88927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88929 #define $ac_func innocuous_$ac_func
88931 /* System header to define __stub macros and hopefully few prototypes,
88932 which can conflict with char $ac_func (); below.
88933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88934 <limits.h> exists even on freestanding compilers. */
88936 #ifdef __STDC__
88937 # include <limits.h>
88938 #else
88939 # include <assert.h>
88940 #endif
88942 #undef $ac_func
88944 /* Override any gcc2 internal prototype to avoid an error. */
88945 #ifdef __cplusplus
88946 extern "C"
88948 #endif
88949 /* We use char because int might match the return type of a gcc2
88950 builtin and then its argument prototype would still apply. */
88951 char $ac_func ();
88952 /* The GNU C library defines this for functions which it implements
88953 to always fail with ENOSYS. Some functions are actually named
88954 something starting with __ and the normal name is an alias. */
88955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88956 choke me
88957 #else
88958 char (*f) () = $ac_func;
88959 #endif
88960 #ifdef __cplusplus
88962 #endif
88965 main ()
88967 return f != $ac_func;
88969 return 0;
88971 _ACEOF
88972 rm -f conftest.$ac_objext conftest$ac_exeext
88973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88974 (eval $ac_link) 2>conftest.er1
88975 ac_status=$?
88976 grep -v '^ *+' conftest.er1 >conftest.err
88977 rm -f conftest.er1
88978 cat conftest.err >&5
88979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88980 (exit $ac_status); } &&
88981 { ac_try='test -z "$ac_c_werror_flag"
88982 || test ! -s conftest.err'
88983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88984 (eval $ac_try) 2>&5
88985 ac_status=$?
88986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88987 (exit $ac_status); }; } &&
88988 { ac_try='test -s conftest$ac_exeext'
88989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88990 (eval $ac_try) 2>&5
88991 ac_status=$?
88992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88993 (exit $ac_status); }; }; then
88994 eval "$as_ac_var=yes"
88995 else
88996 echo "$as_me: failed program was:" >&5
88997 sed 's/^/| /' conftest.$ac_ext >&5
88999 eval "$as_ac_var=no"
89001 rm -f conftest.err conftest.$ac_objext \
89002 conftest$ac_exeext conftest.$ac_ext
89004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89006 if test `eval echo '${'$as_ac_var'}'` = yes; then
89007 cat >>confdefs.h <<_ACEOF
89008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89009 _ACEOF
89012 done
89022 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89023 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89024 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89025 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89026 echo $ECHO_N "(cached) $ECHO_C" >&6
89027 else
89031 ac_ext=cc
89032 ac_cpp='$CXXCPP $CPPFLAGS'
89033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89037 cat >conftest.$ac_ext <<_ACEOF
89038 /* confdefs.h. */
89039 _ACEOF
89040 cat confdefs.h >>conftest.$ac_ext
89041 cat >>conftest.$ac_ext <<_ACEOF
89042 /* end confdefs.h. */
89043 #include <math.h>
89045 main ()
89047 sincos(0, 0, 0);
89049 return 0;
89051 _ACEOF
89052 rm -f conftest.$ac_objext
89053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89054 (eval $ac_compile) 2>conftest.er1
89055 ac_status=$?
89056 grep -v '^ *+' conftest.er1 >conftest.err
89057 rm -f conftest.er1
89058 cat conftest.err >&5
89059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89060 (exit $ac_status); } &&
89061 { ac_try='test -z "$ac_cxx_werror_flag"
89062 || test ! -s conftest.err'
89063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89064 (eval $ac_try) 2>&5
89065 ac_status=$?
89066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89067 (exit $ac_status); }; } &&
89068 { ac_try='test -s conftest.$ac_objext'
89069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89070 (eval $ac_try) 2>&5
89071 ac_status=$?
89072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89073 (exit $ac_status); }; }; then
89074 glibcxx_cv_func_sincos_use=yes
89075 else
89076 echo "$as_me: failed program was:" >&5
89077 sed 's/^/| /' conftest.$ac_ext >&5
89079 glibcxx_cv_func_sincos_use=no
89081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89082 ac_ext=c
89083 ac_cpp='$CPP $CPPFLAGS'
89084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89093 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89095 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89097 for ac_func in sincos
89099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89100 echo "$as_me:$LINENO: checking for $ac_func" >&5
89101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89102 if eval "test \"\${$as_ac_var+set}\" = set"; then
89103 echo $ECHO_N "(cached) $ECHO_C" >&6
89104 else
89105 if test x$gcc_no_link = xyes; then
89106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89108 { (exit 1); exit 1; }; }
89110 cat >conftest.$ac_ext <<_ACEOF
89111 /* confdefs.h. */
89112 _ACEOF
89113 cat confdefs.h >>conftest.$ac_ext
89114 cat >>conftest.$ac_ext <<_ACEOF
89115 /* end confdefs.h. */
89116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89118 #define $ac_func innocuous_$ac_func
89120 /* System header to define __stub macros and hopefully few prototypes,
89121 which can conflict with char $ac_func (); below.
89122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89123 <limits.h> exists even on freestanding compilers. */
89125 #ifdef __STDC__
89126 # include <limits.h>
89127 #else
89128 # include <assert.h>
89129 #endif
89131 #undef $ac_func
89133 /* Override any gcc2 internal prototype to avoid an error. */
89134 #ifdef __cplusplus
89135 extern "C"
89137 #endif
89138 /* We use char because int might match the return type of a gcc2
89139 builtin and then its argument prototype would still apply. */
89140 char $ac_func ();
89141 /* The GNU C library defines this for functions which it implements
89142 to always fail with ENOSYS. Some functions are actually named
89143 something starting with __ and the normal name is an alias. */
89144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89145 choke me
89146 #else
89147 char (*f) () = $ac_func;
89148 #endif
89149 #ifdef __cplusplus
89151 #endif
89154 main ()
89156 return f != $ac_func;
89158 return 0;
89160 _ACEOF
89161 rm -f conftest.$ac_objext conftest$ac_exeext
89162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89163 (eval $ac_link) 2>conftest.er1
89164 ac_status=$?
89165 grep -v '^ *+' conftest.er1 >conftest.err
89166 rm -f conftest.er1
89167 cat conftest.err >&5
89168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89169 (exit $ac_status); } &&
89170 { ac_try='test -z "$ac_c_werror_flag"
89171 || test ! -s conftest.err'
89172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89173 (eval $ac_try) 2>&5
89174 ac_status=$?
89175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89176 (exit $ac_status); }; } &&
89177 { ac_try='test -s conftest$ac_exeext'
89178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89179 (eval $ac_try) 2>&5
89180 ac_status=$?
89181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89182 (exit $ac_status); }; }; then
89183 eval "$as_ac_var=yes"
89184 else
89185 echo "$as_me: failed program was:" >&5
89186 sed 's/^/| /' conftest.$ac_ext >&5
89188 eval "$as_ac_var=no"
89190 rm -f conftest.err conftest.$ac_objext \
89191 conftest$ac_exeext conftest.$ac_ext
89193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89195 if test `eval echo '${'$as_ac_var'}'` = yes; then
89196 cat >>confdefs.h <<_ACEOF
89197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89198 _ACEOF
89201 done
89203 else
89205 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89206 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89207 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89208 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89209 echo $ECHO_N "(cached) $ECHO_C" >&6
89210 else
89214 ac_ext=cc
89215 ac_cpp='$CXXCPP $CPPFLAGS'
89216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89220 cat >conftest.$ac_ext <<_ACEOF
89221 /* confdefs.h. */
89222 _ACEOF
89223 cat confdefs.h >>conftest.$ac_ext
89224 cat >>conftest.$ac_ext <<_ACEOF
89225 /* end confdefs.h. */
89226 #include <math.h>
89228 main ()
89230 _sincos(0, 0, 0);
89232 return 0;
89234 _ACEOF
89235 rm -f conftest.$ac_objext
89236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89237 (eval $ac_compile) 2>conftest.er1
89238 ac_status=$?
89239 grep -v '^ *+' conftest.er1 >conftest.err
89240 rm -f conftest.er1
89241 cat conftest.err >&5
89242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89243 (exit $ac_status); } &&
89244 { ac_try='test -z "$ac_cxx_werror_flag"
89245 || test ! -s conftest.err'
89246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89247 (eval $ac_try) 2>&5
89248 ac_status=$?
89249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89250 (exit $ac_status); }; } &&
89251 { ac_try='test -s conftest.$ac_objext'
89252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89253 (eval $ac_try) 2>&5
89254 ac_status=$?
89255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89256 (exit $ac_status); }; }; then
89257 glibcxx_cv_func__sincos_use=yes
89258 else
89259 echo "$as_me: failed program was:" >&5
89260 sed 's/^/| /' conftest.$ac_ext >&5
89262 glibcxx_cv_func__sincos_use=no
89264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89265 ac_ext=c
89266 ac_cpp='$CPP $CPPFLAGS'
89267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89275 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89276 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89278 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89280 for ac_func in _sincos
89282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89283 echo "$as_me:$LINENO: checking for $ac_func" >&5
89284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89285 if eval "test \"\${$as_ac_var+set}\" = set"; then
89286 echo $ECHO_N "(cached) $ECHO_C" >&6
89287 else
89288 if test x$gcc_no_link = xyes; then
89289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89291 { (exit 1); exit 1; }; }
89293 cat >conftest.$ac_ext <<_ACEOF
89294 /* confdefs.h. */
89295 _ACEOF
89296 cat confdefs.h >>conftest.$ac_ext
89297 cat >>conftest.$ac_ext <<_ACEOF
89298 /* end confdefs.h. */
89299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89301 #define $ac_func innocuous_$ac_func
89303 /* System header to define __stub macros and hopefully few prototypes,
89304 which can conflict with char $ac_func (); below.
89305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89306 <limits.h> exists even on freestanding compilers. */
89308 #ifdef __STDC__
89309 # include <limits.h>
89310 #else
89311 # include <assert.h>
89312 #endif
89314 #undef $ac_func
89316 /* Override any gcc2 internal prototype to avoid an error. */
89317 #ifdef __cplusplus
89318 extern "C"
89320 #endif
89321 /* We use char because int might match the return type of a gcc2
89322 builtin and then its argument prototype would still apply. */
89323 char $ac_func ();
89324 /* The GNU C library defines this for functions which it implements
89325 to always fail with ENOSYS. Some functions are actually named
89326 something starting with __ and the normal name is an alias. */
89327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89328 choke me
89329 #else
89330 char (*f) () = $ac_func;
89331 #endif
89332 #ifdef __cplusplus
89334 #endif
89337 main ()
89339 return f != $ac_func;
89341 return 0;
89343 _ACEOF
89344 rm -f conftest.$ac_objext conftest$ac_exeext
89345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89346 (eval $ac_link) 2>conftest.er1
89347 ac_status=$?
89348 grep -v '^ *+' conftest.er1 >conftest.err
89349 rm -f conftest.er1
89350 cat conftest.err >&5
89351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89352 (exit $ac_status); } &&
89353 { ac_try='test -z "$ac_c_werror_flag"
89354 || test ! -s conftest.err'
89355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89356 (eval $ac_try) 2>&5
89357 ac_status=$?
89358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89359 (exit $ac_status); }; } &&
89360 { ac_try='test -s conftest$ac_exeext'
89361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89362 (eval $ac_try) 2>&5
89363 ac_status=$?
89364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89365 (exit $ac_status); }; }; then
89366 eval "$as_ac_var=yes"
89367 else
89368 echo "$as_me: failed program was:" >&5
89369 sed 's/^/| /' conftest.$ac_ext >&5
89371 eval "$as_ac_var=no"
89373 rm -f conftest.err conftest.$ac_objext \
89374 conftest$ac_exeext conftest.$ac_ext
89376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89378 if test `eval echo '${'$as_ac_var'}'` = yes; then
89379 cat >>confdefs.h <<_ACEOF
89380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89381 _ACEOF
89384 done
89394 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89395 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89396 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89397 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89398 echo $ECHO_N "(cached) $ECHO_C" >&6
89399 else
89403 ac_ext=cc
89404 ac_cpp='$CXXCPP $CPPFLAGS'
89405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89409 cat >conftest.$ac_ext <<_ACEOF
89410 /* confdefs.h. */
89411 _ACEOF
89412 cat confdefs.h >>conftest.$ac_ext
89413 cat >>conftest.$ac_ext <<_ACEOF
89414 /* end confdefs.h. */
89415 #include <math.h>
89416 #ifdef HAVE_IEEEFP_H
89417 #include <ieeefp.h>
89418 #endif
89421 main ()
89423 fpclass(0);
89425 return 0;
89427 _ACEOF
89428 rm -f conftest.$ac_objext
89429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89430 (eval $ac_compile) 2>conftest.er1
89431 ac_status=$?
89432 grep -v '^ *+' conftest.er1 >conftest.err
89433 rm -f conftest.er1
89434 cat conftest.err >&5
89435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89436 (exit $ac_status); } &&
89437 { ac_try='test -z "$ac_cxx_werror_flag"
89438 || test ! -s conftest.err'
89439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89440 (eval $ac_try) 2>&5
89441 ac_status=$?
89442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89443 (exit $ac_status); }; } &&
89444 { ac_try='test -s conftest.$ac_objext'
89445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89446 (eval $ac_try) 2>&5
89447 ac_status=$?
89448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89449 (exit $ac_status); }; }; then
89450 glibcxx_cv_func_fpclass_use=yes
89451 else
89452 echo "$as_me: failed program was:" >&5
89453 sed 's/^/| /' conftest.$ac_ext >&5
89455 glibcxx_cv_func_fpclass_use=no
89457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89458 ac_ext=c
89459 ac_cpp='$CPP $CPPFLAGS'
89460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89469 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89471 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89473 for ac_func in fpclass
89475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89476 echo "$as_me:$LINENO: checking for $ac_func" >&5
89477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89478 if eval "test \"\${$as_ac_var+set}\" = set"; then
89479 echo $ECHO_N "(cached) $ECHO_C" >&6
89480 else
89481 if test x$gcc_no_link = xyes; then
89482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89484 { (exit 1); exit 1; }; }
89486 cat >conftest.$ac_ext <<_ACEOF
89487 /* confdefs.h. */
89488 _ACEOF
89489 cat confdefs.h >>conftest.$ac_ext
89490 cat >>conftest.$ac_ext <<_ACEOF
89491 /* end confdefs.h. */
89492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89494 #define $ac_func innocuous_$ac_func
89496 /* System header to define __stub macros and hopefully few prototypes,
89497 which can conflict with char $ac_func (); below.
89498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89499 <limits.h> exists even on freestanding compilers. */
89501 #ifdef __STDC__
89502 # include <limits.h>
89503 #else
89504 # include <assert.h>
89505 #endif
89507 #undef $ac_func
89509 /* Override any gcc2 internal prototype to avoid an error. */
89510 #ifdef __cplusplus
89511 extern "C"
89513 #endif
89514 /* We use char because int might match the return type of a gcc2
89515 builtin and then its argument prototype would still apply. */
89516 char $ac_func ();
89517 /* The GNU C library defines this for functions which it implements
89518 to always fail with ENOSYS. Some functions are actually named
89519 something starting with __ and the normal name is an alias. */
89520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89521 choke me
89522 #else
89523 char (*f) () = $ac_func;
89524 #endif
89525 #ifdef __cplusplus
89527 #endif
89530 main ()
89532 return f != $ac_func;
89534 return 0;
89536 _ACEOF
89537 rm -f conftest.$ac_objext conftest$ac_exeext
89538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89539 (eval $ac_link) 2>conftest.er1
89540 ac_status=$?
89541 grep -v '^ *+' conftest.er1 >conftest.err
89542 rm -f conftest.er1
89543 cat conftest.err >&5
89544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89545 (exit $ac_status); } &&
89546 { ac_try='test -z "$ac_c_werror_flag"
89547 || test ! -s conftest.err'
89548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89549 (eval $ac_try) 2>&5
89550 ac_status=$?
89551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89552 (exit $ac_status); }; } &&
89553 { ac_try='test -s conftest$ac_exeext'
89554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89555 (eval $ac_try) 2>&5
89556 ac_status=$?
89557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89558 (exit $ac_status); }; }; then
89559 eval "$as_ac_var=yes"
89560 else
89561 echo "$as_me: failed program was:" >&5
89562 sed 's/^/| /' conftest.$ac_ext >&5
89564 eval "$as_ac_var=no"
89566 rm -f conftest.err conftest.$ac_objext \
89567 conftest$ac_exeext conftest.$ac_ext
89569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89571 if test `eval echo '${'$as_ac_var'}'` = yes; then
89572 cat >>confdefs.h <<_ACEOF
89573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89574 _ACEOF
89577 done
89579 else
89581 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89582 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89583 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89584 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89585 echo $ECHO_N "(cached) $ECHO_C" >&6
89586 else
89590 ac_ext=cc
89591 ac_cpp='$CXXCPP $CPPFLAGS'
89592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89596 cat >conftest.$ac_ext <<_ACEOF
89597 /* confdefs.h. */
89598 _ACEOF
89599 cat confdefs.h >>conftest.$ac_ext
89600 cat >>conftest.$ac_ext <<_ACEOF
89601 /* end confdefs.h. */
89602 #include <math.h>
89603 #ifdef HAVE_IEEEFP_H
89604 #include <ieeefp.h>
89605 #endif
89608 main ()
89610 _fpclass(0);
89612 return 0;
89614 _ACEOF
89615 rm -f conftest.$ac_objext
89616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89617 (eval $ac_compile) 2>conftest.er1
89618 ac_status=$?
89619 grep -v '^ *+' conftest.er1 >conftest.err
89620 rm -f conftest.er1
89621 cat conftest.err >&5
89622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89623 (exit $ac_status); } &&
89624 { ac_try='test -z "$ac_cxx_werror_flag"
89625 || test ! -s conftest.err'
89626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89627 (eval $ac_try) 2>&5
89628 ac_status=$?
89629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89630 (exit $ac_status); }; } &&
89631 { ac_try='test -s conftest.$ac_objext'
89632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89633 (eval $ac_try) 2>&5
89634 ac_status=$?
89635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89636 (exit $ac_status); }; }; then
89637 glibcxx_cv_func__fpclass_use=yes
89638 else
89639 echo "$as_me: failed program was:" >&5
89640 sed 's/^/| /' conftest.$ac_ext >&5
89642 glibcxx_cv_func__fpclass_use=no
89644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89645 ac_ext=c
89646 ac_cpp='$CPP $CPPFLAGS'
89647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
89656 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
89658 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
89660 for ac_func in _fpclass
89662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89663 echo "$as_me:$LINENO: checking for $ac_func" >&5
89664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89665 if eval "test \"\${$as_ac_var+set}\" = set"; then
89666 echo $ECHO_N "(cached) $ECHO_C" >&6
89667 else
89668 if test x$gcc_no_link = xyes; then
89669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89671 { (exit 1); exit 1; }; }
89673 cat >conftest.$ac_ext <<_ACEOF
89674 /* confdefs.h. */
89675 _ACEOF
89676 cat confdefs.h >>conftest.$ac_ext
89677 cat >>conftest.$ac_ext <<_ACEOF
89678 /* end confdefs.h. */
89679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89681 #define $ac_func innocuous_$ac_func
89683 /* System header to define __stub macros and hopefully few prototypes,
89684 which can conflict with char $ac_func (); below.
89685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89686 <limits.h> exists even on freestanding compilers. */
89688 #ifdef __STDC__
89689 # include <limits.h>
89690 #else
89691 # include <assert.h>
89692 #endif
89694 #undef $ac_func
89696 /* Override any gcc2 internal prototype to avoid an error. */
89697 #ifdef __cplusplus
89698 extern "C"
89700 #endif
89701 /* We use char because int might match the return type of a gcc2
89702 builtin and then its argument prototype would still apply. */
89703 char $ac_func ();
89704 /* The GNU C library defines this for functions which it implements
89705 to always fail with ENOSYS. Some functions are actually named
89706 something starting with __ and the normal name is an alias. */
89707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89708 choke me
89709 #else
89710 char (*f) () = $ac_func;
89711 #endif
89712 #ifdef __cplusplus
89714 #endif
89717 main ()
89719 return f != $ac_func;
89721 return 0;
89723 _ACEOF
89724 rm -f conftest.$ac_objext conftest$ac_exeext
89725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89726 (eval $ac_link) 2>conftest.er1
89727 ac_status=$?
89728 grep -v '^ *+' conftest.er1 >conftest.err
89729 rm -f conftest.er1
89730 cat conftest.err >&5
89731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89732 (exit $ac_status); } &&
89733 { ac_try='test -z "$ac_c_werror_flag"
89734 || test ! -s conftest.err'
89735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89736 (eval $ac_try) 2>&5
89737 ac_status=$?
89738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89739 (exit $ac_status); }; } &&
89740 { ac_try='test -s conftest$ac_exeext'
89741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89742 (eval $ac_try) 2>&5
89743 ac_status=$?
89744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89745 (exit $ac_status); }; }; then
89746 eval "$as_ac_var=yes"
89747 else
89748 echo "$as_me: failed program was:" >&5
89749 sed 's/^/| /' conftest.$ac_ext >&5
89751 eval "$as_ac_var=no"
89753 rm -f conftest.err conftest.$ac_objext \
89754 conftest$ac_exeext conftest.$ac_ext
89756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89758 if test `eval echo '${'$as_ac_var'}'` = yes; then
89759 cat >>confdefs.h <<_ACEOF
89760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89761 _ACEOF
89764 done
89774 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
89775 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
89776 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
89777 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
89778 echo $ECHO_N "(cached) $ECHO_C" >&6
89779 else
89783 ac_ext=cc
89784 ac_cpp='$CXXCPP $CPPFLAGS'
89785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89789 cat >conftest.$ac_ext <<_ACEOF
89790 /* confdefs.h. */
89791 _ACEOF
89792 cat confdefs.h >>conftest.$ac_ext
89793 cat >>conftest.$ac_ext <<_ACEOF
89794 /* end confdefs.h. */
89795 #include <math.h>
89796 #ifdef HAVE_IEEEFP_H
89797 #include <ieeefp.h>
89798 #endif
89801 main ()
89803 qfpclass(0);
89805 return 0;
89807 _ACEOF
89808 rm -f conftest.$ac_objext
89809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89810 (eval $ac_compile) 2>conftest.er1
89811 ac_status=$?
89812 grep -v '^ *+' conftest.er1 >conftest.err
89813 rm -f conftest.er1
89814 cat conftest.err >&5
89815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89816 (exit $ac_status); } &&
89817 { ac_try='test -z "$ac_cxx_werror_flag"
89818 || test ! -s conftest.err'
89819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89820 (eval $ac_try) 2>&5
89821 ac_status=$?
89822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89823 (exit $ac_status); }; } &&
89824 { ac_try='test -s conftest.$ac_objext'
89825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89826 (eval $ac_try) 2>&5
89827 ac_status=$?
89828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89829 (exit $ac_status); }; }; then
89830 glibcxx_cv_func_qfpclass_use=yes
89831 else
89832 echo "$as_me: failed program was:" >&5
89833 sed 's/^/| /' conftest.$ac_ext >&5
89835 glibcxx_cv_func_qfpclass_use=no
89837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89838 ac_ext=c
89839 ac_cpp='$CPP $CPPFLAGS'
89840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
89849 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
89851 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
89853 for ac_func in qfpclass
89855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89856 echo "$as_me:$LINENO: checking for $ac_func" >&5
89857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89858 if eval "test \"\${$as_ac_var+set}\" = set"; then
89859 echo $ECHO_N "(cached) $ECHO_C" >&6
89860 else
89861 if test x$gcc_no_link = xyes; then
89862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89864 { (exit 1); exit 1; }; }
89866 cat >conftest.$ac_ext <<_ACEOF
89867 /* confdefs.h. */
89868 _ACEOF
89869 cat confdefs.h >>conftest.$ac_ext
89870 cat >>conftest.$ac_ext <<_ACEOF
89871 /* end confdefs.h. */
89872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89874 #define $ac_func innocuous_$ac_func
89876 /* System header to define __stub macros and hopefully few prototypes,
89877 which can conflict with char $ac_func (); below.
89878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89879 <limits.h> exists even on freestanding compilers. */
89881 #ifdef __STDC__
89882 # include <limits.h>
89883 #else
89884 # include <assert.h>
89885 #endif
89887 #undef $ac_func
89889 /* Override any gcc2 internal prototype to avoid an error. */
89890 #ifdef __cplusplus
89891 extern "C"
89893 #endif
89894 /* We use char because int might match the return type of a gcc2
89895 builtin and then its argument prototype would still apply. */
89896 char $ac_func ();
89897 /* The GNU C library defines this for functions which it implements
89898 to always fail with ENOSYS. Some functions are actually named
89899 something starting with __ and the normal name is an alias. */
89900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89901 choke me
89902 #else
89903 char (*f) () = $ac_func;
89904 #endif
89905 #ifdef __cplusplus
89907 #endif
89910 main ()
89912 return f != $ac_func;
89914 return 0;
89916 _ACEOF
89917 rm -f conftest.$ac_objext conftest$ac_exeext
89918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89919 (eval $ac_link) 2>conftest.er1
89920 ac_status=$?
89921 grep -v '^ *+' conftest.er1 >conftest.err
89922 rm -f conftest.er1
89923 cat conftest.err >&5
89924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89925 (exit $ac_status); } &&
89926 { ac_try='test -z "$ac_c_werror_flag"
89927 || test ! -s conftest.err'
89928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89929 (eval $ac_try) 2>&5
89930 ac_status=$?
89931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89932 (exit $ac_status); }; } &&
89933 { ac_try='test -s conftest$ac_exeext'
89934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89935 (eval $ac_try) 2>&5
89936 ac_status=$?
89937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89938 (exit $ac_status); }; }; then
89939 eval "$as_ac_var=yes"
89940 else
89941 echo "$as_me: failed program was:" >&5
89942 sed 's/^/| /' conftest.$ac_ext >&5
89944 eval "$as_ac_var=no"
89946 rm -f conftest.err conftest.$ac_objext \
89947 conftest$ac_exeext conftest.$ac_ext
89949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89951 if test `eval echo '${'$as_ac_var'}'` = yes; then
89952 cat >>confdefs.h <<_ACEOF
89953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89954 _ACEOF
89957 done
89959 else
89961 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
89962 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
89963 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
89964 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
89965 echo $ECHO_N "(cached) $ECHO_C" >&6
89966 else
89970 ac_ext=cc
89971 ac_cpp='$CXXCPP $CPPFLAGS'
89972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89976 cat >conftest.$ac_ext <<_ACEOF
89977 /* confdefs.h. */
89978 _ACEOF
89979 cat confdefs.h >>conftest.$ac_ext
89980 cat >>conftest.$ac_ext <<_ACEOF
89981 /* end confdefs.h. */
89982 #include <math.h>
89983 #ifdef HAVE_IEEEFP_H
89984 #include <ieeefp.h>
89985 #endif
89988 main ()
89990 _qfpclass(0);
89992 return 0;
89994 _ACEOF
89995 rm -f conftest.$ac_objext
89996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89997 (eval $ac_compile) 2>conftest.er1
89998 ac_status=$?
89999 grep -v '^ *+' conftest.er1 >conftest.err
90000 rm -f conftest.er1
90001 cat conftest.err >&5
90002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90003 (exit $ac_status); } &&
90004 { ac_try='test -z "$ac_cxx_werror_flag"
90005 || test ! -s conftest.err'
90006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90007 (eval $ac_try) 2>&5
90008 ac_status=$?
90009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90010 (exit $ac_status); }; } &&
90011 { ac_try='test -s conftest.$ac_objext'
90012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90013 (eval $ac_try) 2>&5
90014 ac_status=$?
90015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90016 (exit $ac_status); }; }; then
90017 glibcxx_cv_func__qfpclass_use=yes
90018 else
90019 echo "$as_me: failed program was:" >&5
90020 sed 's/^/| /' conftest.$ac_ext >&5
90022 glibcxx_cv_func__qfpclass_use=no
90024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90025 ac_ext=c
90026 ac_cpp='$CPP $CPPFLAGS'
90027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90036 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90038 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90040 for ac_func in _qfpclass
90042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90043 echo "$as_me:$LINENO: checking for $ac_func" >&5
90044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90045 if eval "test \"\${$as_ac_var+set}\" = set"; then
90046 echo $ECHO_N "(cached) $ECHO_C" >&6
90047 else
90048 if test x$gcc_no_link = xyes; then
90049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90051 { (exit 1); exit 1; }; }
90053 cat >conftest.$ac_ext <<_ACEOF
90054 /* confdefs.h. */
90055 _ACEOF
90056 cat confdefs.h >>conftest.$ac_ext
90057 cat >>conftest.$ac_ext <<_ACEOF
90058 /* end confdefs.h. */
90059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90061 #define $ac_func innocuous_$ac_func
90063 /* System header to define __stub macros and hopefully few prototypes,
90064 which can conflict with char $ac_func (); below.
90065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90066 <limits.h> exists even on freestanding compilers. */
90068 #ifdef __STDC__
90069 # include <limits.h>
90070 #else
90071 # include <assert.h>
90072 #endif
90074 #undef $ac_func
90076 /* Override any gcc2 internal prototype to avoid an error. */
90077 #ifdef __cplusplus
90078 extern "C"
90080 #endif
90081 /* We use char because int might match the return type of a gcc2
90082 builtin and then its argument prototype would still apply. */
90083 char $ac_func ();
90084 /* The GNU C library defines this for functions which it implements
90085 to always fail with ENOSYS. Some functions are actually named
90086 something starting with __ and the normal name is an alias. */
90087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90088 choke me
90089 #else
90090 char (*f) () = $ac_func;
90091 #endif
90092 #ifdef __cplusplus
90094 #endif
90097 main ()
90099 return f != $ac_func;
90101 return 0;
90103 _ACEOF
90104 rm -f conftest.$ac_objext conftest$ac_exeext
90105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90106 (eval $ac_link) 2>conftest.er1
90107 ac_status=$?
90108 grep -v '^ *+' conftest.er1 >conftest.err
90109 rm -f conftest.er1
90110 cat conftest.err >&5
90111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90112 (exit $ac_status); } &&
90113 { ac_try='test -z "$ac_c_werror_flag"
90114 || test ! -s conftest.err'
90115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90116 (eval $ac_try) 2>&5
90117 ac_status=$?
90118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90119 (exit $ac_status); }; } &&
90120 { ac_try='test -s conftest$ac_exeext'
90121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90122 (eval $ac_try) 2>&5
90123 ac_status=$?
90124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90125 (exit $ac_status); }; }; then
90126 eval "$as_ac_var=yes"
90127 else
90128 echo "$as_me: failed program was:" >&5
90129 sed 's/^/| /' conftest.$ac_ext >&5
90131 eval "$as_ac_var=no"
90133 rm -f conftest.err conftest.$ac_objext \
90134 conftest$ac_exeext conftest.$ac_ext
90136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90138 if test `eval echo '${'$as_ac_var'}'` = yes; then
90139 cat >>confdefs.h <<_ACEOF
90140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90141 _ACEOF
90144 done
90154 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90155 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90156 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90157 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90158 echo $ECHO_N "(cached) $ECHO_C" >&6
90159 else
90163 ac_ext=cc
90164 ac_cpp='$CXXCPP $CPPFLAGS'
90165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90169 cat >conftest.$ac_ext <<_ACEOF
90170 /* confdefs.h. */
90171 _ACEOF
90172 cat confdefs.h >>conftest.$ac_ext
90173 cat >>conftest.$ac_ext <<_ACEOF
90174 /* end confdefs.h. */
90175 #include <math.h>
90177 main ()
90179 hypot(0, 0);
90181 return 0;
90183 _ACEOF
90184 rm -f conftest.$ac_objext
90185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90186 (eval $ac_compile) 2>conftest.er1
90187 ac_status=$?
90188 grep -v '^ *+' conftest.er1 >conftest.err
90189 rm -f conftest.er1
90190 cat conftest.err >&5
90191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90192 (exit $ac_status); } &&
90193 { ac_try='test -z "$ac_cxx_werror_flag"
90194 || test ! -s conftest.err'
90195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90196 (eval $ac_try) 2>&5
90197 ac_status=$?
90198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90199 (exit $ac_status); }; } &&
90200 { ac_try='test -s conftest.$ac_objext'
90201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90202 (eval $ac_try) 2>&5
90203 ac_status=$?
90204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90205 (exit $ac_status); }; }; then
90206 glibcxx_cv_func_hypot_use=yes
90207 else
90208 echo "$as_me: failed program was:" >&5
90209 sed 's/^/| /' conftest.$ac_ext >&5
90211 glibcxx_cv_func_hypot_use=no
90213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90214 ac_ext=c
90215 ac_cpp='$CPP $CPPFLAGS'
90216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90225 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90227 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90229 for ac_func in hypot
90231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90232 echo "$as_me:$LINENO: checking for $ac_func" >&5
90233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90234 if eval "test \"\${$as_ac_var+set}\" = set"; then
90235 echo $ECHO_N "(cached) $ECHO_C" >&6
90236 else
90237 if test x$gcc_no_link = xyes; then
90238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90240 { (exit 1); exit 1; }; }
90242 cat >conftest.$ac_ext <<_ACEOF
90243 /* confdefs.h. */
90244 _ACEOF
90245 cat confdefs.h >>conftest.$ac_ext
90246 cat >>conftest.$ac_ext <<_ACEOF
90247 /* end confdefs.h. */
90248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90250 #define $ac_func innocuous_$ac_func
90252 /* System header to define __stub macros and hopefully few prototypes,
90253 which can conflict with char $ac_func (); below.
90254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90255 <limits.h> exists even on freestanding compilers. */
90257 #ifdef __STDC__
90258 # include <limits.h>
90259 #else
90260 # include <assert.h>
90261 #endif
90263 #undef $ac_func
90265 /* Override any gcc2 internal prototype to avoid an error. */
90266 #ifdef __cplusplus
90267 extern "C"
90269 #endif
90270 /* We use char because int might match the return type of a gcc2
90271 builtin and then its argument prototype would still apply. */
90272 char $ac_func ();
90273 /* The GNU C library defines this for functions which it implements
90274 to always fail with ENOSYS. Some functions are actually named
90275 something starting with __ and the normal name is an alias. */
90276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90277 choke me
90278 #else
90279 char (*f) () = $ac_func;
90280 #endif
90281 #ifdef __cplusplus
90283 #endif
90286 main ()
90288 return f != $ac_func;
90290 return 0;
90292 _ACEOF
90293 rm -f conftest.$ac_objext conftest$ac_exeext
90294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90295 (eval $ac_link) 2>conftest.er1
90296 ac_status=$?
90297 grep -v '^ *+' conftest.er1 >conftest.err
90298 rm -f conftest.er1
90299 cat conftest.err >&5
90300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90301 (exit $ac_status); } &&
90302 { ac_try='test -z "$ac_c_werror_flag"
90303 || test ! -s conftest.err'
90304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90305 (eval $ac_try) 2>&5
90306 ac_status=$?
90307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90308 (exit $ac_status); }; } &&
90309 { ac_try='test -s conftest$ac_exeext'
90310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90311 (eval $ac_try) 2>&5
90312 ac_status=$?
90313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90314 (exit $ac_status); }; }; then
90315 eval "$as_ac_var=yes"
90316 else
90317 echo "$as_me: failed program was:" >&5
90318 sed 's/^/| /' conftest.$ac_ext >&5
90320 eval "$as_ac_var=no"
90322 rm -f conftest.err conftest.$ac_objext \
90323 conftest$ac_exeext conftest.$ac_ext
90325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90327 if test `eval echo '${'$as_ac_var'}'` = yes; then
90328 cat >>confdefs.h <<_ACEOF
90329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90330 _ACEOF
90333 done
90335 else
90337 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90338 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90339 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90340 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90341 echo $ECHO_N "(cached) $ECHO_C" >&6
90342 else
90346 ac_ext=cc
90347 ac_cpp='$CXXCPP $CPPFLAGS'
90348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90352 cat >conftest.$ac_ext <<_ACEOF
90353 /* confdefs.h. */
90354 _ACEOF
90355 cat confdefs.h >>conftest.$ac_ext
90356 cat >>conftest.$ac_ext <<_ACEOF
90357 /* end confdefs.h. */
90358 #include <math.h>
90360 main ()
90362 _hypot(0, 0);
90364 return 0;
90366 _ACEOF
90367 rm -f conftest.$ac_objext
90368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90369 (eval $ac_compile) 2>conftest.er1
90370 ac_status=$?
90371 grep -v '^ *+' conftest.er1 >conftest.err
90372 rm -f conftest.er1
90373 cat conftest.err >&5
90374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90375 (exit $ac_status); } &&
90376 { ac_try='test -z "$ac_cxx_werror_flag"
90377 || test ! -s conftest.err'
90378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90379 (eval $ac_try) 2>&5
90380 ac_status=$?
90381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90382 (exit $ac_status); }; } &&
90383 { ac_try='test -s conftest.$ac_objext'
90384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90385 (eval $ac_try) 2>&5
90386 ac_status=$?
90387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90388 (exit $ac_status); }; }; then
90389 glibcxx_cv_func__hypot_use=yes
90390 else
90391 echo "$as_me: failed program was:" >&5
90392 sed 's/^/| /' conftest.$ac_ext >&5
90394 glibcxx_cv_func__hypot_use=no
90396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90397 ac_ext=c
90398 ac_cpp='$CPP $CPPFLAGS'
90399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90408 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90410 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90412 for ac_func in _hypot
90414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90415 echo "$as_me:$LINENO: checking for $ac_func" >&5
90416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90417 if eval "test \"\${$as_ac_var+set}\" = set"; then
90418 echo $ECHO_N "(cached) $ECHO_C" >&6
90419 else
90420 if test x$gcc_no_link = xyes; then
90421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90423 { (exit 1); exit 1; }; }
90425 cat >conftest.$ac_ext <<_ACEOF
90426 /* confdefs.h. */
90427 _ACEOF
90428 cat confdefs.h >>conftest.$ac_ext
90429 cat >>conftest.$ac_ext <<_ACEOF
90430 /* end confdefs.h. */
90431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90433 #define $ac_func innocuous_$ac_func
90435 /* System header to define __stub macros and hopefully few prototypes,
90436 which can conflict with char $ac_func (); below.
90437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90438 <limits.h> exists even on freestanding compilers. */
90440 #ifdef __STDC__
90441 # include <limits.h>
90442 #else
90443 # include <assert.h>
90444 #endif
90446 #undef $ac_func
90448 /* Override any gcc2 internal prototype to avoid an error. */
90449 #ifdef __cplusplus
90450 extern "C"
90452 #endif
90453 /* We use char because int might match the return type of a gcc2
90454 builtin and then its argument prototype would still apply. */
90455 char $ac_func ();
90456 /* The GNU C library defines this for functions which it implements
90457 to always fail with ENOSYS. Some functions are actually named
90458 something starting with __ and the normal name is an alias. */
90459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90460 choke me
90461 #else
90462 char (*f) () = $ac_func;
90463 #endif
90464 #ifdef __cplusplus
90466 #endif
90469 main ()
90471 return f != $ac_func;
90473 return 0;
90475 _ACEOF
90476 rm -f conftest.$ac_objext conftest$ac_exeext
90477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90478 (eval $ac_link) 2>conftest.er1
90479 ac_status=$?
90480 grep -v '^ *+' conftest.er1 >conftest.err
90481 rm -f conftest.er1
90482 cat conftest.err >&5
90483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90484 (exit $ac_status); } &&
90485 { ac_try='test -z "$ac_c_werror_flag"
90486 || test ! -s conftest.err'
90487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90488 (eval $ac_try) 2>&5
90489 ac_status=$?
90490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90491 (exit $ac_status); }; } &&
90492 { ac_try='test -s conftest$ac_exeext'
90493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90494 (eval $ac_try) 2>&5
90495 ac_status=$?
90496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90497 (exit $ac_status); }; }; then
90498 eval "$as_ac_var=yes"
90499 else
90500 echo "$as_me: failed program was:" >&5
90501 sed 's/^/| /' conftest.$ac_ext >&5
90503 eval "$as_ac_var=no"
90505 rm -f conftest.err conftest.$ac_objext \
90506 conftest$ac_exeext conftest.$ac_ext
90508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90510 if test `eval echo '${'$as_ac_var'}'` = yes; then
90511 cat >>confdefs.h <<_ACEOF
90512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90513 _ACEOF
90516 done
90526 echo "$as_me:$LINENO: checking for float trig functions" >&5
90527 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90528 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90529 echo $ECHO_N "(cached) $ECHO_C" >&6
90530 else
90534 ac_ext=cc
90535 ac_cpp='$CXXCPP $CPPFLAGS'
90536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90540 cat >conftest.$ac_ext <<_ACEOF
90541 /* confdefs.h. */
90542 _ACEOF
90543 cat confdefs.h >>conftest.$ac_ext
90544 cat >>conftest.$ac_ext <<_ACEOF
90545 /* end confdefs.h. */
90546 #include <math.h>
90548 main ()
90550 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90552 return 0;
90554 _ACEOF
90555 rm -f conftest.$ac_objext
90556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90557 (eval $ac_compile) 2>conftest.er1
90558 ac_status=$?
90559 grep -v '^ *+' conftest.er1 >conftest.err
90560 rm -f conftest.er1
90561 cat conftest.err >&5
90562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90563 (exit $ac_status); } &&
90564 { ac_try='test -z "$ac_cxx_werror_flag"
90565 || test ! -s conftest.err'
90566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90567 (eval $ac_try) 2>&5
90568 ac_status=$?
90569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90570 (exit $ac_status); }; } &&
90571 { ac_try='test -s conftest.$ac_objext'
90572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90573 (eval $ac_try) 2>&5
90574 ac_status=$?
90575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90576 (exit $ac_status); }; }; then
90577 glibcxx_cv_func_float_trig_use=yes
90578 else
90579 echo "$as_me: failed program was:" >&5
90580 sed 's/^/| /' conftest.$ac_ext >&5
90582 glibcxx_cv_func_float_trig_use=no
90584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90585 ac_ext=c
90586 ac_cpp='$CPP $CPPFLAGS'
90587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90594 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90595 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90605 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90608 echo "$as_me:$LINENO: checking for $ac_func" >&5
90609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90610 if eval "test \"\${$as_ac_var+set}\" = set"; then
90611 echo $ECHO_N "(cached) $ECHO_C" >&6
90612 else
90613 if test x$gcc_no_link = xyes; then
90614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90616 { (exit 1); exit 1; }; }
90618 cat >conftest.$ac_ext <<_ACEOF
90619 /* confdefs.h. */
90620 _ACEOF
90621 cat confdefs.h >>conftest.$ac_ext
90622 cat >>conftest.$ac_ext <<_ACEOF
90623 /* end confdefs.h. */
90624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90626 #define $ac_func innocuous_$ac_func
90628 /* System header to define __stub macros and hopefully few prototypes,
90629 which can conflict with char $ac_func (); below.
90630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90631 <limits.h> exists even on freestanding compilers. */
90633 #ifdef __STDC__
90634 # include <limits.h>
90635 #else
90636 # include <assert.h>
90637 #endif
90639 #undef $ac_func
90641 /* Override any gcc2 internal prototype to avoid an error. */
90642 #ifdef __cplusplus
90643 extern "C"
90645 #endif
90646 /* We use char because int might match the return type of a gcc2
90647 builtin and then its argument prototype would still apply. */
90648 char $ac_func ();
90649 /* The GNU C library defines this for functions which it implements
90650 to always fail with ENOSYS. Some functions are actually named
90651 something starting with __ and the normal name is an alias. */
90652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90653 choke me
90654 #else
90655 char (*f) () = $ac_func;
90656 #endif
90657 #ifdef __cplusplus
90659 #endif
90662 main ()
90664 return f != $ac_func;
90666 return 0;
90668 _ACEOF
90669 rm -f conftest.$ac_objext conftest$ac_exeext
90670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90671 (eval $ac_link) 2>conftest.er1
90672 ac_status=$?
90673 grep -v '^ *+' conftest.er1 >conftest.err
90674 rm -f conftest.er1
90675 cat conftest.err >&5
90676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90677 (exit $ac_status); } &&
90678 { ac_try='test -z "$ac_c_werror_flag"
90679 || test ! -s conftest.err'
90680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90681 (eval $ac_try) 2>&5
90682 ac_status=$?
90683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90684 (exit $ac_status); }; } &&
90685 { ac_try='test -s conftest$ac_exeext'
90686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90687 (eval $ac_try) 2>&5
90688 ac_status=$?
90689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90690 (exit $ac_status); }; }; then
90691 eval "$as_ac_var=yes"
90692 else
90693 echo "$as_me: failed program was:" >&5
90694 sed 's/^/| /' conftest.$ac_ext >&5
90696 eval "$as_ac_var=no"
90698 rm -f conftest.err conftest.$ac_objext \
90699 conftest$ac_exeext conftest.$ac_ext
90701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90703 if test `eval echo '${'$as_ac_var'}'` = yes; then
90704 cat >>confdefs.h <<_ACEOF
90705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90706 _ACEOF
90709 done
90711 else
90712 echo "$as_me:$LINENO: checking for _float trig functions" >&5
90713 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90714 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90715 echo $ECHO_N "(cached) $ECHO_C" >&6
90716 else
90720 ac_ext=cc
90721 ac_cpp='$CXXCPP $CPPFLAGS'
90722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90726 cat >conftest.$ac_ext <<_ACEOF
90727 /* confdefs.h. */
90728 _ACEOF
90729 cat confdefs.h >>conftest.$ac_ext
90730 cat >>conftest.$ac_ext <<_ACEOF
90731 /* end confdefs.h. */
90732 #include <math.h>
90734 main ()
90736 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
90738 return 0;
90740 _ACEOF
90741 rm -f conftest.$ac_objext
90742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90743 (eval $ac_compile) 2>conftest.er1
90744 ac_status=$?
90745 grep -v '^ *+' conftest.er1 >conftest.err
90746 rm -f conftest.er1
90747 cat conftest.err >&5
90748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90749 (exit $ac_status); } &&
90750 { ac_try='test -z "$ac_cxx_werror_flag"
90751 || test ! -s conftest.err'
90752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90753 (eval $ac_try) 2>&5
90754 ac_status=$?
90755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90756 (exit $ac_status); }; } &&
90757 { ac_try='test -s conftest.$ac_objext'
90758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90759 (eval $ac_try) 2>&5
90760 ac_status=$?
90761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762 (exit $ac_status); }; }; then
90763 glibcxx_cv_func__float_trig_use=yes
90764 else
90765 echo "$as_me: failed program was:" >&5
90766 sed 's/^/| /' conftest.$ac_ext >&5
90768 glibcxx_cv_func__float_trig_use=no
90770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90771 ac_ext=c
90772 ac_cpp='$CPP $CPPFLAGS'
90773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90779 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
90780 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
90781 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
90791 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
90793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90794 echo "$as_me:$LINENO: checking for $ac_func" >&5
90795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90796 if eval "test \"\${$as_ac_var+set}\" = set"; then
90797 echo $ECHO_N "(cached) $ECHO_C" >&6
90798 else
90799 if test x$gcc_no_link = xyes; then
90800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90802 { (exit 1); exit 1; }; }
90804 cat >conftest.$ac_ext <<_ACEOF
90805 /* confdefs.h. */
90806 _ACEOF
90807 cat confdefs.h >>conftest.$ac_ext
90808 cat >>conftest.$ac_ext <<_ACEOF
90809 /* end confdefs.h. */
90810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90812 #define $ac_func innocuous_$ac_func
90814 /* System header to define __stub macros and hopefully few prototypes,
90815 which can conflict with char $ac_func (); below.
90816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90817 <limits.h> exists even on freestanding compilers. */
90819 #ifdef __STDC__
90820 # include <limits.h>
90821 #else
90822 # include <assert.h>
90823 #endif
90825 #undef $ac_func
90827 /* Override any gcc2 internal prototype to avoid an error. */
90828 #ifdef __cplusplus
90829 extern "C"
90831 #endif
90832 /* We use char because int might match the return type of a gcc2
90833 builtin and then its argument prototype would still apply. */
90834 char $ac_func ();
90835 /* The GNU C library defines this for functions which it implements
90836 to always fail with ENOSYS. Some functions are actually named
90837 something starting with __ and the normal name is an alias. */
90838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90839 choke me
90840 #else
90841 char (*f) () = $ac_func;
90842 #endif
90843 #ifdef __cplusplus
90845 #endif
90848 main ()
90850 return f != $ac_func;
90852 return 0;
90854 _ACEOF
90855 rm -f conftest.$ac_objext conftest$ac_exeext
90856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90857 (eval $ac_link) 2>conftest.er1
90858 ac_status=$?
90859 grep -v '^ *+' conftest.er1 >conftest.err
90860 rm -f conftest.er1
90861 cat conftest.err >&5
90862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90863 (exit $ac_status); } &&
90864 { ac_try='test -z "$ac_c_werror_flag"
90865 || test ! -s conftest.err'
90866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90867 (eval $ac_try) 2>&5
90868 ac_status=$?
90869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90870 (exit $ac_status); }; } &&
90871 { ac_try='test -s conftest$ac_exeext'
90872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90873 (eval $ac_try) 2>&5
90874 ac_status=$?
90875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90876 (exit $ac_status); }; }; then
90877 eval "$as_ac_var=yes"
90878 else
90879 echo "$as_me: failed program was:" >&5
90880 sed 's/^/| /' conftest.$ac_ext >&5
90882 eval "$as_ac_var=no"
90884 rm -f conftest.err conftest.$ac_objext \
90885 conftest$ac_exeext conftest.$ac_ext
90887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90889 if test `eval echo '${'$as_ac_var'}'` = yes; then
90890 cat >>confdefs.h <<_ACEOF
90891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90892 _ACEOF
90895 done
90913 echo "$as_me:$LINENO: checking for float round functions" >&5
90914 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
90915 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
90916 echo $ECHO_N "(cached) $ECHO_C" >&6
90917 else
90921 ac_ext=cc
90922 ac_cpp='$CXXCPP $CPPFLAGS'
90923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90927 cat >conftest.$ac_ext <<_ACEOF
90928 /* confdefs.h. */
90929 _ACEOF
90930 cat confdefs.h >>conftest.$ac_ext
90931 cat >>conftest.$ac_ext <<_ACEOF
90932 /* end confdefs.h. */
90933 #include <math.h>
90935 main ()
90937 ceilf (0); floorf (0);
90939 return 0;
90941 _ACEOF
90942 rm -f conftest.$ac_objext
90943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90944 (eval $ac_compile) 2>conftest.er1
90945 ac_status=$?
90946 grep -v '^ *+' conftest.er1 >conftest.err
90947 rm -f conftest.er1
90948 cat conftest.err >&5
90949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90950 (exit $ac_status); } &&
90951 { ac_try='test -z "$ac_cxx_werror_flag"
90952 || test ! -s conftest.err'
90953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90954 (eval $ac_try) 2>&5
90955 ac_status=$?
90956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90957 (exit $ac_status); }; } &&
90958 { ac_try='test -s conftest.$ac_objext'
90959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90960 (eval $ac_try) 2>&5
90961 ac_status=$?
90962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90963 (exit $ac_status); }; }; then
90964 glibcxx_cv_func_float_round_use=yes
90965 else
90966 echo "$as_me: failed program was:" >&5
90967 sed 's/^/| /' conftest.$ac_ext >&5
90969 glibcxx_cv_func_float_round_use=no
90971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90972 ac_ext=c
90973 ac_cpp='$CPP $CPPFLAGS'
90974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
90981 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
90982 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
90985 for ac_func in ceilf floorf
90987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90988 echo "$as_me:$LINENO: checking for $ac_func" >&5
90989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90990 if eval "test \"\${$as_ac_var+set}\" = set"; then
90991 echo $ECHO_N "(cached) $ECHO_C" >&6
90992 else
90993 if test x$gcc_no_link = xyes; then
90994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90996 { (exit 1); exit 1; }; }
90998 cat >conftest.$ac_ext <<_ACEOF
90999 /* confdefs.h. */
91000 _ACEOF
91001 cat confdefs.h >>conftest.$ac_ext
91002 cat >>conftest.$ac_ext <<_ACEOF
91003 /* end confdefs.h. */
91004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91006 #define $ac_func innocuous_$ac_func
91008 /* System header to define __stub macros and hopefully few prototypes,
91009 which can conflict with char $ac_func (); below.
91010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91011 <limits.h> exists even on freestanding compilers. */
91013 #ifdef __STDC__
91014 # include <limits.h>
91015 #else
91016 # include <assert.h>
91017 #endif
91019 #undef $ac_func
91021 /* Override any gcc2 internal prototype to avoid an error. */
91022 #ifdef __cplusplus
91023 extern "C"
91025 #endif
91026 /* We use char because int might match the return type of a gcc2
91027 builtin and then its argument prototype would still apply. */
91028 char $ac_func ();
91029 /* The GNU C library defines this for functions which it implements
91030 to always fail with ENOSYS. Some functions are actually named
91031 something starting with __ and the normal name is an alias. */
91032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91033 choke me
91034 #else
91035 char (*f) () = $ac_func;
91036 #endif
91037 #ifdef __cplusplus
91039 #endif
91042 main ()
91044 return f != $ac_func;
91046 return 0;
91048 _ACEOF
91049 rm -f conftest.$ac_objext conftest$ac_exeext
91050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91051 (eval $ac_link) 2>conftest.er1
91052 ac_status=$?
91053 grep -v '^ *+' conftest.er1 >conftest.err
91054 rm -f conftest.er1
91055 cat conftest.err >&5
91056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91057 (exit $ac_status); } &&
91058 { ac_try='test -z "$ac_c_werror_flag"
91059 || test ! -s conftest.err'
91060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91061 (eval $ac_try) 2>&5
91062 ac_status=$?
91063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91064 (exit $ac_status); }; } &&
91065 { ac_try='test -s conftest$ac_exeext'
91066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91067 (eval $ac_try) 2>&5
91068 ac_status=$?
91069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91070 (exit $ac_status); }; }; then
91071 eval "$as_ac_var=yes"
91072 else
91073 echo "$as_me: failed program was:" >&5
91074 sed 's/^/| /' conftest.$ac_ext >&5
91076 eval "$as_ac_var=no"
91078 rm -f conftest.err conftest.$ac_objext \
91079 conftest$ac_exeext conftest.$ac_ext
91081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91083 if test `eval echo '${'$as_ac_var'}'` = yes; then
91084 cat >>confdefs.h <<_ACEOF
91085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91086 _ACEOF
91089 done
91091 else
91092 echo "$as_me:$LINENO: checking for _float round functions" >&5
91093 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91094 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91095 echo $ECHO_N "(cached) $ECHO_C" >&6
91096 else
91100 ac_ext=cc
91101 ac_cpp='$CXXCPP $CPPFLAGS'
91102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91106 cat >conftest.$ac_ext <<_ACEOF
91107 /* confdefs.h. */
91108 _ACEOF
91109 cat confdefs.h >>conftest.$ac_ext
91110 cat >>conftest.$ac_ext <<_ACEOF
91111 /* end confdefs.h. */
91112 #include <math.h>
91114 main ()
91116 _ceilf (0); _floorf (0);
91118 return 0;
91120 _ACEOF
91121 rm -f conftest.$ac_objext
91122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91123 (eval $ac_compile) 2>conftest.er1
91124 ac_status=$?
91125 grep -v '^ *+' conftest.er1 >conftest.err
91126 rm -f conftest.er1
91127 cat conftest.err >&5
91128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91129 (exit $ac_status); } &&
91130 { ac_try='test -z "$ac_cxx_werror_flag"
91131 || test ! -s conftest.err'
91132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91133 (eval $ac_try) 2>&5
91134 ac_status=$?
91135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91136 (exit $ac_status); }; } &&
91137 { ac_try='test -s conftest.$ac_objext'
91138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91139 (eval $ac_try) 2>&5
91140 ac_status=$?
91141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91142 (exit $ac_status); }; }; then
91143 glibcxx_cv_func__float_round_use=yes
91144 else
91145 echo "$as_me: failed program was:" >&5
91146 sed 's/^/| /' conftest.$ac_ext >&5
91148 glibcxx_cv_func__float_round_use=no
91150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91151 ac_ext=c
91152 ac_cpp='$CPP $CPPFLAGS'
91153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91160 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91161 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91164 for ac_func in _ceilf _floorf
91166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91167 echo "$as_me:$LINENO: checking for $ac_func" >&5
91168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91169 if eval "test \"\${$as_ac_var+set}\" = set"; then
91170 echo $ECHO_N "(cached) $ECHO_C" >&6
91171 else
91172 if test x$gcc_no_link = xyes; then
91173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91175 { (exit 1); exit 1; }; }
91177 cat >conftest.$ac_ext <<_ACEOF
91178 /* confdefs.h. */
91179 _ACEOF
91180 cat confdefs.h >>conftest.$ac_ext
91181 cat >>conftest.$ac_ext <<_ACEOF
91182 /* end confdefs.h. */
91183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91185 #define $ac_func innocuous_$ac_func
91187 /* System header to define __stub macros and hopefully few prototypes,
91188 which can conflict with char $ac_func (); below.
91189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91190 <limits.h> exists even on freestanding compilers. */
91192 #ifdef __STDC__
91193 # include <limits.h>
91194 #else
91195 # include <assert.h>
91196 #endif
91198 #undef $ac_func
91200 /* Override any gcc2 internal prototype to avoid an error. */
91201 #ifdef __cplusplus
91202 extern "C"
91204 #endif
91205 /* We use char because int might match the return type of a gcc2
91206 builtin and then its argument prototype would still apply. */
91207 char $ac_func ();
91208 /* The GNU C library defines this for functions which it implements
91209 to always fail with ENOSYS. Some functions are actually named
91210 something starting with __ and the normal name is an alias. */
91211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91212 choke me
91213 #else
91214 char (*f) () = $ac_func;
91215 #endif
91216 #ifdef __cplusplus
91218 #endif
91221 main ()
91223 return f != $ac_func;
91225 return 0;
91227 _ACEOF
91228 rm -f conftest.$ac_objext conftest$ac_exeext
91229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91230 (eval $ac_link) 2>conftest.er1
91231 ac_status=$?
91232 grep -v '^ *+' conftest.er1 >conftest.err
91233 rm -f conftest.er1
91234 cat conftest.err >&5
91235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91236 (exit $ac_status); } &&
91237 { ac_try='test -z "$ac_c_werror_flag"
91238 || test ! -s conftest.err'
91239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91240 (eval $ac_try) 2>&5
91241 ac_status=$?
91242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91243 (exit $ac_status); }; } &&
91244 { ac_try='test -s conftest$ac_exeext'
91245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91246 (eval $ac_try) 2>&5
91247 ac_status=$?
91248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91249 (exit $ac_status); }; }; then
91250 eval "$as_ac_var=yes"
91251 else
91252 echo "$as_me: failed program was:" >&5
91253 sed 's/^/| /' conftest.$ac_ext >&5
91255 eval "$as_ac_var=no"
91257 rm -f conftest.err conftest.$ac_objext \
91258 conftest$ac_exeext conftest.$ac_ext
91260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91262 if test `eval echo '${'$as_ac_var'}'` = yes; then
91263 cat >>confdefs.h <<_ACEOF
91264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91265 _ACEOF
91268 done
91280 echo "$as_me:$LINENO: checking for expf declaration" >&5
91281 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91282 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91283 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91284 echo $ECHO_N "(cached) $ECHO_C" >&6
91285 else
91289 ac_ext=cc
91290 ac_cpp='$CXXCPP $CPPFLAGS'
91291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91295 cat >conftest.$ac_ext <<_ACEOF
91296 /* confdefs.h. */
91297 _ACEOF
91298 cat confdefs.h >>conftest.$ac_ext
91299 cat >>conftest.$ac_ext <<_ACEOF
91300 /* end confdefs.h. */
91301 #include <math.h>
91302 #ifdef HAVE_IEEEFP_H
91303 #include <ieeefp.h>
91304 #endif
91307 main ()
91309 expf(0);
91311 return 0;
91313 _ACEOF
91314 rm -f conftest.$ac_objext
91315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91316 (eval $ac_compile) 2>conftest.er1
91317 ac_status=$?
91318 grep -v '^ *+' conftest.er1 >conftest.err
91319 rm -f conftest.er1
91320 cat conftest.err >&5
91321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91322 (exit $ac_status); } &&
91323 { ac_try='test -z "$ac_cxx_werror_flag"
91324 || test ! -s conftest.err'
91325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91326 (eval $ac_try) 2>&5
91327 ac_status=$?
91328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91329 (exit $ac_status); }; } &&
91330 { ac_try='test -s conftest.$ac_objext'
91331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91332 (eval $ac_try) 2>&5
91333 ac_status=$?
91334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91335 (exit $ac_status); }; }; then
91336 glibcxx_cv_func_expf_use=yes
91337 else
91338 echo "$as_me: failed program was:" >&5
91339 sed 's/^/| /' conftest.$ac_ext >&5
91341 glibcxx_cv_func_expf_use=no
91343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91344 ac_ext=c
91345 ac_cpp='$CPP $CPPFLAGS'
91346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91355 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91357 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91359 for ac_func in expf
91361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91362 echo "$as_me:$LINENO: checking for $ac_func" >&5
91363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91364 if eval "test \"\${$as_ac_var+set}\" = set"; then
91365 echo $ECHO_N "(cached) $ECHO_C" >&6
91366 else
91367 if test x$gcc_no_link = xyes; then
91368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91370 { (exit 1); exit 1; }; }
91372 cat >conftest.$ac_ext <<_ACEOF
91373 /* confdefs.h. */
91374 _ACEOF
91375 cat confdefs.h >>conftest.$ac_ext
91376 cat >>conftest.$ac_ext <<_ACEOF
91377 /* end confdefs.h. */
91378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91380 #define $ac_func innocuous_$ac_func
91382 /* System header to define __stub macros and hopefully few prototypes,
91383 which can conflict with char $ac_func (); below.
91384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91385 <limits.h> exists even on freestanding compilers. */
91387 #ifdef __STDC__
91388 # include <limits.h>
91389 #else
91390 # include <assert.h>
91391 #endif
91393 #undef $ac_func
91395 /* Override any gcc2 internal prototype to avoid an error. */
91396 #ifdef __cplusplus
91397 extern "C"
91399 #endif
91400 /* We use char because int might match the return type of a gcc2
91401 builtin and then its argument prototype would still apply. */
91402 char $ac_func ();
91403 /* The GNU C library defines this for functions which it implements
91404 to always fail with ENOSYS. Some functions are actually named
91405 something starting with __ and the normal name is an alias. */
91406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91407 choke me
91408 #else
91409 char (*f) () = $ac_func;
91410 #endif
91411 #ifdef __cplusplus
91413 #endif
91416 main ()
91418 return f != $ac_func;
91420 return 0;
91422 _ACEOF
91423 rm -f conftest.$ac_objext conftest$ac_exeext
91424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91425 (eval $ac_link) 2>conftest.er1
91426 ac_status=$?
91427 grep -v '^ *+' conftest.er1 >conftest.err
91428 rm -f conftest.er1
91429 cat conftest.err >&5
91430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91431 (exit $ac_status); } &&
91432 { ac_try='test -z "$ac_c_werror_flag"
91433 || test ! -s conftest.err'
91434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91435 (eval $ac_try) 2>&5
91436 ac_status=$?
91437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91438 (exit $ac_status); }; } &&
91439 { ac_try='test -s conftest$ac_exeext'
91440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91441 (eval $ac_try) 2>&5
91442 ac_status=$?
91443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91444 (exit $ac_status); }; }; then
91445 eval "$as_ac_var=yes"
91446 else
91447 echo "$as_me: failed program was:" >&5
91448 sed 's/^/| /' conftest.$ac_ext >&5
91450 eval "$as_ac_var=no"
91452 rm -f conftest.err conftest.$ac_objext \
91453 conftest$ac_exeext conftest.$ac_ext
91455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91457 if test `eval echo '${'$as_ac_var'}'` = yes; then
91458 cat >>confdefs.h <<_ACEOF
91459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91460 _ACEOF
91463 done
91465 else
91467 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91468 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91469 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91470 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91471 echo $ECHO_N "(cached) $ECHO_C" >&6
91472 else
91476 ac_ext=cc
91477 ac_cpp='$CXXCPP $CPPFLAGS'
91478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91482 cat >conftest.$ac_ext <<_ACEOF
91483 /* confdefs.h. */
91484 _ACEOF
91485 cat confdefs.h >>conftest.$ac_ext
91486 cat >>conftest.$ac_ext <<_ACEOF
91487 /* end confdefs.h. */
91488 #include <math.h>
91489 #ifdef HAVE_IEEEFP_H
91490 #include <ieeefp.h>
91491 #endif
91494 main ()
91496 _expf(0);
91498 return 0;
91500 _ACEOF
91501 rm -f conftest.$ac_objext
91502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91503 (eval $ac_compile) 2>conftest.er1
91504 ac_status=$?
91505 grep -v '^ *+' conftest.er1 >conftest.err
91506 rm -f conftest.er1
91507 cat conftest.err >&5
91508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91509 (exit $ac_status); } &&
91510 { ac_try='test -z "$ac_cxx_werror_flag"
91511 || test ! -s conftest.err'
91512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91513 (eval $ac_try) 2>&5
91514 ac_status=$?
91515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91516 (exit $ac_status); }; } &&
91517 { ac_try='test -s conftest.$ac_objext'
91518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91519 (eval $ac_try) 2>&5
91520 ac_status=$?
91521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91522 (exit $ac_status); }; }; then
91523 glibcxx_cv_func__expf_use=yes
91524 else
91525 echo "$as_me: failed program was:" >&5
91526 sed 's/^/| /' conftest.$ac_ext >&5
91528 glibcxx_cv_func__expf_use=no
91530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91531 ac_ext=c
91532 ac_cpp='$CPP $CPPFLAGS'
91533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91542 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91544 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91546 for ac_func in _expf
91548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91549 echo "$as_me:$LINENO: checking for $ac_func" >&5
91550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91551 if eval "test \"\${$as_ac_var+set}\" = set"; then
91552 echo $ECHO_N "(cached) $ECHO_C" >&6
91553 else
91554 if test x$gcc_no_link = xyes; then
91555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91557 { (exit 1); exit 1; }; }
91559 cat >conftest.$ac_ext <<_ACEOF
91560 /* confdefs.h. */
91561 _ACEOF
91562 cat confdefs.h >>conftest.$ac_ext
91563 cat >>conftest.$ac_ext <<_ACEOF
91564 /* end confdefs.h. */
91565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91567 #define $ac_func innocuous_$ac_func
91569 /* System header to define __stub macros and hopefully few prototypes,
91570 which can conflict with char $ac_func (); below.
91571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91572 <limits.h> exists even on freestanding compilers. */
91574 #ifdef __STDC__
91575 # include <limits.h>
91576 #else
91577 # include <assert.h>
91578 #endif
91580 #undef $ac_func
91582 /* Override any gcc2 internal prototype to avoid an error. */
91583 #ifdef __cplusplus
91584 extern "C"
91586 #endif
91587 /* We use char because int might match the return type of a gcc2
91588 builtin and then its argument prototype would still apply. */
91589 char $ac_func ();
91590 /* The GNU C library defines this for functions which it implements
91591 to always fail with ENOSYS. Some functions are actually named
91592 something starting with __ and the normal name is an alias. */
91593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91594 choke me
91595 #else
91596 char (*f) () = $ac_func;
91597 #endif
91598 #ifdef __cplusplus
91600 #endif
91603 main ()
91605 return f != $ac_func;
91607 return 0;
91609 _ACEOF
91610 rm -f conftest.$ac_objext conftest$ac_exeext
91611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91612 (eval $ac_link) 2>conftest.er1
91613 ac_status=$?
91614 grep -v '^ *+' conftest.er1 >conftest.err
91615 rm -f conftest.er1
91616 cat conftest.err >&5
91617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91618 (exit $ac_status); } &&
91619 { ac_try='test -z "$ac_c_werror_flag"
91620 || test ! -s conftest.err'
91621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91622 (eval $ac_try) 2>&5
91623 ac_status=$?
91624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91625 (exit $ac_status); }; } &&
91626 { ac_try='test -s conftest$ac_exeext'
91627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91628 (eval $ac_try) 2>&5
91629 ac_status=$?
91630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91631 (exit $ac_status); }; }; then
91632 eval "$as_ac_var=yes"
91633 else
91634 echo "$as_me: failed program was:" >&5
91635 sed 's/^/| /' conftest.$ac_ext >&5
91637 eval "$as_ac_var=no"
91639 rm -f conftest.err conftest.$ac_objext \
91640 conftest$ac_exeext conftest.$ac_ext
91642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91644 if test `eval echo '${'$as_ac_var'}'` = yes; then
91645 cat >>confdefs.h <<_ACEOF
91646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91647 _ACEOF
91650 done
91660 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
91661 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
91662 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
91663 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
91664 echo $ECHO_N "(cached) $ECHO_C" >&6
91665 else
91669 ac_ext=cc
91670 ac_cpp='$CXXCPP $CPPFLAGS'
91671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91675 cat >conftest.$ac_ext <<_ACEOF
91676 /* confdefs.h. */
91677 _ACEOF
91678 cat confdefs.h >>conftest.$ac_ext
91679 cat >>conftest.$ac_ext <<_ACEOF
91680 /* end confdefs.h. */
91681 #include <math.h>
91682 #ifdef HAVE_IEEEFP_H
91683 #include <ieeefp.h>
91684 #endif
91687 main ()
91689 isnanf(0);
91691 return 0;
91693 _ACEOF
91694 rm -f conftest.$ac_objext
91695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91696 (eval $ac_compile) 2>conftest.er1
91697 ac_status=$?
91698 grep -v '^ *+' conftest.er1 >conftest.err
91699 rm -f conftest.er1
91700 cat conftest.err >&5
91701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91702 (exit $ac_status); } &&
91703 { ac_try='test -z "$ac_cxx_werror_flag"
91704 || test ! -s conftest.err'
91705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91706 (eval $ac_try) 2>&5
91707 ac_status=$?
91708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91709 (exit $ac_status); }; } &&
91710 { ac_try='test -s conftest.$ac_objext'
91711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91712 (eval $ac_try) 2>&5
91713 ac_status=$?
91714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91715 (exit $ac_status); }; }; then
91716 glibcxx_cv_func_isnanf_use=yes
91717 else
91718 echo "$as_me: failed program was:" >&5
91719 sed 's/^/| /' conftest.$ac_ext >&5
91721 glibcxx_cv_func_isnanf_use=no
91723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91724 ac_ext=c
91725 ac_cpp='$CPP $CPPFLAGS'
91726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
91735 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
91737 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
91739 for ac_func in isnanf
91741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91742 echo "$as_me:$LINENO: checking for $ac_func" >&5
91743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91744 if eval "test \"\${$as_ac_var+set}\" = set"; then
91745 echo $ECHO_N "(cached) $ECHO_C" >&6
91746 else
91747 if test x$gcc_no_link = xyes; then
91748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91750 { (exit 1); exit 1; }; }
91752 cat >conftest.$ac_ext <<_ACEOF
91753 /* confdefs.h. */
91754 _ACEOF
91755 cat confdefs.h >>conftest.$ac_ext
91756 cat >>conftest.$ac_ext <<_ACEOF
91757 /* end confdefs.h. */
91758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91760 #define $ac_func innocuous_$ac_func
91762 /* System header to define __stub macros and hopefully few prototypes,
91763 which can conflict with char $ac_func (); below.
91764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91765 <limits.h> exists even on freestanding compilers. */
91767 #ifdef __STDC__
91768 # include <limits.h>
91769 #else
91770 # include <assert.h>
91771 #endif
91773 #undef $ac_func
91775 /* Override any gcc2 internal prototype to avoid an error. */
91776 #ifdef __cplusplus
91777 extern "C"
91779 #endif
91780 /* We use char because int might match the return type of a gcc2
91781 builtin and then its argument prototype would still apply. */
91782 char $ac_func ();
91783 /* The GNU C library defines this for functions which it implements
91784 to always fail with ENOSYS. Some functions are actually named
91785 something starting with __ and the normal name is an alias. */
91786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91787 choke me
91788 #else
91789 char (*f) () = $ac_func;
91790 #endif
91791 #ifdef __cplusplus
91793 #endif
91796 main ()
91798 return f != $ac_func;
91800 return 0;
91802 _ACEOF
91803 rm -f conftest.$ac_objext conftest$ac_exeext
91804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91805 (eval $ac_link) 2>conftest.er1
91806 ac_status=$?
91807 grep -v '^ *+' conftest.er1 >conftest.err
91808 rm -f conftest.er1
91809 cat conftest.err >&5
91810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91811 (exit $ac_status); } &&
91812 { ac_try='test -z "$ac_c_werror_flag"
91813 || test ! -s conftest.err'
91814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91815 (eval $ac_try) 2>&5
91816 ac_status=$?
91817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91818 (exit $ac_status); }; } &&
91819 { ac_try='test -s conftest$ac_exeext'
91820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91821 (eval $ac_try) 2>&5
91822 ac_status=$?
91823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91824 (exit $ac_status); }; }; then
91825 eval "$as_ac_var=yes"
91826 else
91827 echo "$as_me: failed program was:" >&5
91828 sed 's/^/| /' conftest.$ac_ext >&5
91830 eval "$as_ac_var=no"
91832 rm -f conftest.err conftest.$ac_objext \
91833 conftest$ac_exeext conftest.$ac_ext
91835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91837 if test `eval echo '${'$as_ac_var'}'` = yes; then
91838 cat >>confdefs.h <<_ACEOF
91839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91840 _ACEOF
91843 done
91845 else
91847 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
91848 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
91849 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
91850 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
91851 echo $ECHO_N "(cached) $ECHO_C" >&6
91852 else
91856 ac_ext=cc
91857 ac_cpp='$CXXCPP $CPPFLAGS'
91858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91862 cat >conftest.$ac_ext <<_ACEOF
91863 /* confdefs.h. */
91864 _ACEOF
91865 cat confdefs.h >>conftest.$ac_ext
91866 cat >>conftest.$ac_ext <<_ACEOF
91867 /* end confdefs.h. */
91868 #include <math.h>
91869 #ifdef HAVE_IEEEFP_H
91870 #include <ieeefp.h>
91871 #endif
91874 main ()
91876 _isnanf(0);
91878 return 0;
91880 _ACEOF
91881 rm -f conftest.$ac_objext
91882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91883 (eval $ac_compile) 2>conftest.er1
91884 ac_status=$?
91885 grep -v '^ *+' conftest.er1 >conftest.err
91886 rm -f conftest.er1
91887 cat conftest.err >&5
91888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91889 (exit $ac_status); } &&
91890 { ac_try='test -z "$ac_cxx_werror_flag"
91891 || test ! -s conftest.err'
91892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91893 (eval $ac_try) 2>&5
91894 ac_status=$?
91895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91896 (exit $ac_status); }; } &&
91897 { ac_try='test -s conftest.$ac_objext'
91898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91899 (eval $ac_try) 2>&5
91900 ac_status=$?
91901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91902 (exit $ac_status); }; }; then
91903 glibcxx_cv_func__isnanf_use=yes
91904 else
91905 echo "$as_me: failed program was:" >&5
91906 sed 's/^/| /' conftest.$ac_ext >&5
91908 glibcxx_cv_func__isnanf_use=no
91910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91911 ac_ext=c
91912 ac_cpp='$CPP $CPPFLAGS'
91913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
91922 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
91924 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
91926 for ac_func in _isnanf
91928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91929 echo "$as_me:$LINENO: checking for $ac_func" >&5
91930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91931 if eval "test \"\${$as_ac_var+set}\" = set"; then
91932 echo $ECHO_N "(cached) $ECHO_C" >&6
91933 else
91934 if test x$gcc_no_link = xyes; then
91935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91937 { (exit 1); exit 1; }; }
91939 cat >conftest.$ac_ext <<_ACEOF
91940 /* confdefs.h. */
91941 _ACEOF
91942 cat confdefs.h >>conftest.$ac_ext
91943 cat >>conftest.$ac_ext <<_ACEOF
91944 /* end confdefs.h. */
91945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91947 #define $ac_func innocuous_$ac_func
91949 /* System header to define __stub macros and hopefully few prototypes,
91950 which can conflict with char $ac_func (); below.
91951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91952 <limits.h> exists even on freestanding compilers. */
91954 #ifdef __STDC__
91955 # include <limits.h>
91956 #else
91957 # include <assert.h>
91958 #endif
91960 #undef $ac_func
91962 /* Override any gcc2 internal prototype to avoid an error. */
91963 #ifdef __cplusplus
91964 extern "C"
91966 #endif
91967 /* We use char because int might match the return type of a gcc2
91968 builtin and then its argument prototype would still apply. */
91969 char $ac_func ();
91970 /* The GNU C library defines this for functions which it implements
91971 to always fail with ENOSYS. Some functions are actually named
91972 something starting with __ and the normal name is an alias. */
91973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91974 choke me
91975 #else
91976 char (*f) () = $ac_func;
91977 #endif
91978 #ifdef __cplusplus
91980 #endif
91983 main ()
91985 return f != $ac_func;
91987 return 0;
91989 _ACEOF
91990 rm -f conftest.$ac_objext conftest$ac_exeext
91991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91992 (eval $ac_link) 2>conftest.er1
91993 ac_status=$?
91994 grep -v '^ *+' conftest.er1 >conftest.err
91995 rm -f conftest.er1
91996 cat conftest.err >&5
91997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91998 (exit $ac_status); } &&
91999 { ac_try='test -z "$ac_c_werror_flag"
92000 || test ! -s conftest.err'
92001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92002 (eval $ac_try) 2>&5
92003 ac_status=$?
92004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92005 (exit $ac_status); }; } &&
92006 { ac_try='test -s conftest$ac_exeext'
92007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92008 (eval $ac_try) 2>&5
92009 ac_status=$?
92010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92011 (exit $ac_status); }; }; then
92012 eval "$as_ac_var=yes"
92013 else
92014 echo "$as_me: failed program was:" >&5
92015 sed 's/^/| /' conftest.$ac_ext >&5
92017 eval "$as_ac_var=no"
92019 rm -f conftest.err conftest.$ac_objext \
92020 conftest$ac_exeext conftest.$ac_ext
92022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92024 if test `eval echo '${'$as_ac_var'}'` = yes; then
92025 cat >>confdefs.h <<_ACEOF
92026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92027 _ACEOF
92030 done
92040 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92041 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92042 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92043 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92044 echo $ECHO_N "(cached) $ECHO_C" >&6
92045 else
92049 ac_ext=cc
92050 ac_cpp='$CXXCPP $CPPFLAGS'
92051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92055 cat >conftest.$ac_ext <<_ACEOF
92056 /* confdefs.h. */
92057 _ACEOF
92058 cat confdefs.h >>conftest.$ac_ext
92059 cat >>conftest.$ac_ext <<_ACEOF
92060 /* end confdefs.h. */
92061 #include <math.h>
92062 #ifdef HAVE_IEEEFP_H
92063 #include <ieeefp.h>
92064 #endif
92067 main ()
92069 isinff(0);
92071 return 0;
92073 _ACEOF
92074 rm -f conftest.$ac_objext
92075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92076 (eval $ac_compile) 2>conftest.er1
92077 ac_status=$?
92078 grep -v '^ *+' conftest.er1 >conftest.err
92079 rm -f conftest.er1
92080 cat conftest.err >&5
92081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92082 (exit $ac_status); } &&
92083 { ac_try='test -z "$ac_cxx_werror_flag"
92084 || test ! -s conftest.err'
92085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92086 (eval $ac_try) 2>&5
92087 ac_status=$?
92088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92089 (exit $ac_status); }; } &&
92090 { ac_try='test -s conftest.$ac_objext'
92091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92092 (eval $ac_try) 2>&5
92093 ac_status=$?
92094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92095 (exit $ac_status); }; }; then
92096 glibcxx_cv_func_isinff_use=yes
92097 else
92098 echo "$as_me: failed program was:" >&5
92099 sed 's/^/| /' conftest.$ac_ext >&5
92101 glibcxx_cv_func_isinff_use=no
92103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92104 ac_ext=c
92105 ac_cpp='$CPP $CPPFLAGS'
92106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92115 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92117 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92119 for ac_func in isinff
92121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92122 echo "$as_me:$LINENO: checking for $ac_func" >&5
92123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92124 if eval "test \"\${$as_ac_var+set}\" = set"; then
92125 echo $ECHO_N "(cached) $ECHO_C" >&6
92126 else
92127 if test x$gcc_no_link = xyes; then
92128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92130 { (exit 1); exit 1; }; }
92132 cat >conftest.$ac_ext <<_ACEOF
92133 /* confdefs.h. */
92134 _ACEOF
92135 cat confdefs.h >>conftest.$ac_ext
92136 cat >>conftest.$ac_ext <<_ACEOF
92137 /* end confdefs.h. */
92138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92140 #define $ac_func innocuous_$ac_func
92142 /* System header to define __stub macros and hopefully few prototypes,
92143 which can conflict with char $ac_func (); below.
92144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92145 <limits.h> exists even on freestanding compilers. */
92147 #ifdef __STDC__
92148 # include <limits.h>
92149 #else
92150 # include <assert.h>
92151 #endif
92153 #undef $ac_func
92155 /* Override any gcc2 internal prototype to avoid an error. */
92156 #ifdef __cplusplus
92157 extern "C"
92159 #endif
92160 /* We use char because int might match the return type of a gcc2
92161 builtin and then its argument prototype would still apply. */
92162 char $ac_func ();
92163 /* The GNU C library defines this for functions which it implements
92164 to always fail with ENOSYS. Some functions are actually named
92165 something starting with __ and the normal name is an alias. */
92166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92167 choke me
92168 #else
92169 char (*f) () = $ac_func;
92170 #endif
92171 #ifdef __cplusplus
92173 #endif
92176 main ()
92178 return f != $ac_func;
92180 return 0;
92182 _ACEOF
92183 rm -f conftest.$ac_objext conftest$ac_exeext
92184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92185 (eval $ac_link) 2>conftest.er1
92186 ac_status=$?
92187 grep -v '^ *+' conftest.er1 >conftest.err
92188 rm -f conftest.er1
92189 cat conftest.err >&5
92190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92191 (exit $ac_status); } &&
92192 { ac_try='test -z "$ac_c_werror_flag"
92193 || test ! -s conftest.err'
92194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92195 (eval $ac_try) 2>&5
92196 ac_status=$?
92197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92198 (exit $ac_status); }; } &&
92199 { ac_try='test -s conftest$ac_exeext'
92200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92201 (eval $ac_try) 2>&5
92202 ac_status=$?
92203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92204 (exit $ac_status); }; }; then
92205 eval "$as_ac_var=yes"
92206 else
92207 echo "$as_me: failed program was:" >&5
92208 sed 's/^/| /' conftest.$ac_ext >&5
92210 eval "$as_ac_var=no"
92212 rm -f conftest.err conftest.$ac_objext \
92213 conftest$ac_exeext conftest.$ac_ext
92215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92217 if test `eval echo '${'$as_ac_var'}'` = yes; then
92218 cat >>confdefs.h <<_ACEOF
92219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92220 _ACEOF
92223 done
92225 else
92227 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92228 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92229 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92230 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92231 echo $ECHO_N "(cached) $ECHO_C" >&6
92232 else
92236 ac_ext=cc
92237 ac_cpp='$CXXCPP $CPPFLAGS'
92238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92242 cat >conftest.$ac_ext <<_ACEOF
92243 /* confdefs.h. */
92244 _ACEOF
92245 cat confdefs.h >>conftest.$ac_ext
92246 cat >>conftest.$ac_ext <<_ACEOF
92247 /* end confdefs.h. */
92248 #include <math.h>
92249 #ifdef HAVE_IEEEFP_H
92250 #include <ieeefp.h>
92251 #endif
92254 main ()
92256 _isinff(0);
92258 return 0;
92260 _ACEOF
92261 rm -f conftest.$ac_objext
92262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92263 (eval $ac_compile) 2>conftest.er1
92264 ac_status=$?
92265 grep -v '^ *+' conftest.er1 >conftest.err
92266 rm -f conftest.er1
92267 cat conftest.err >&5
92268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92269 (exit $ac_status); } &&
92270 { ac_try='test -z "$ac_cxx_werror_flag"
92271 || test ! -s conftest.err'
92272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92273 (eval $ac_try) 2>&5
92274 ac_status=$?
92275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92276 (exit $ac_status); }; } &&
92277 { ac_try='test -s conftest.$ac_objext'
92278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92279 (eval $ac_try) 2>&5
92280 ac_status=$?
92281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92282 (exit $ac_status); }; }; then
92283 glibcxx_cv_func__isinff_use=yes
92284 else
92285 echo "$as_me: failed program was:" >&5
92286 sed 's/^/| /' conftest.$ac_ext >&5
92288 glibcxx_cv_func__isinff_use=no
92290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92291 ac_ext=c
92292 ac_cpp='$CPP $CPPFLAGS'
92293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92302 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92304 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92306 for ac_func in _isinff
92308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92309 echo "$as_me:$LINENO: checking for $ac_func" >&5
92310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92311 if eval "test \"\${$as_ac_var+set}\" = set"; then
92312 echo $ECHO_N "(cached) $ECHO_C" >&6
92313 else
92314 if test x$gcc_no_link = xyes; then
92315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92317 { (exit 1); exit 1; }; }
92319 cat >conftest.$ac_ext <<_ACEOF
92320 /* confdefs.h. */
92321 _ACEOF
92322 cat confdefs.h >>conftest.$ac_ext
92323 cat >>conftest.$ac_ext <<_ACEOF
92324 /* end confdefs.h. */
92325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92327 #define $ac_func innocuous_$ac_func
92329 /* System header to define __stub macros and hopefully few prototypes,
92330 which can conflict with char $ac_func (); below.
92331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92332 <limits.h> exists even on freestanding compilers. */
92334 #ifdef __STDC__
92335 # include <limits.h>
92336 #else
92337 # include <assert.h>
92338 #endif
92340 #undef $ac_func
92342 /* Override any gcc2 internal prototype to avoid an error. */
92343 #ifdef __cplusplus
92344 extern "C"
92346 #endif
92347 /* We use char because int might match the return type of a gcc2
92348 builtin and then its argument prototype would still apply. */
92349 char $ac_func ();
92350 /* The GNU C library defines this for functions which it implements
92351 to always fail with ENOSYS. Some functions are actually named
92352 something starting with __ and the normal name is an alias. */
92353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92354 choke me
92355 #else
92356 char (*f) () = $ac_func;
92357 #endif
92358 #ifdef __cplusplus
92360 #endif
92363 main ()
92365 return f != $ac_func;
92367 return 0;
92369 _ACEOF
92370 rm -f conftest.$ac_objext conftest$ac_exeext
92371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92372 (eval $ac_link) 2>conftest.er1
92373 ac_status=$?
92374 grep -v '^ *+' conftest.er1 >conftest.err
92375 rm -f conftest.er1
92376 cat conftest.err >&5
92377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92378 (exit $ac_status); } &&
92379 { ac_try='test -z "$ac_c_werror_flag"
92380 || test ! -s conftest.err'
92381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92382 (eval $ac_try) 2>&5
92383 ac_status=$?
92384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92385 (exit $ac_status); }; } &&
92386 { ac_try='test -s conftest$ac_exeext'
92387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92388 (eval $ac_try) 2>&5
92389 ac_status=$?
92390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92391 (exit $ac_status); }; }; then
92392 eval "$as_ac_var=yes"
92393 else
92394 echo "$as_me: failed program was:" >&5
92395 sed 's/^/| /' conftest.$ac_ext >&5
92397 eval "$as_ac_var=no"
92399 rm -f conftest.err conftest.$ac_objext \
92400 conftest$ac_exeext conftest.$ac_ext
92402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92404 if test `eval echo '${'$as_ac_var'}'` = yes; then
92405 cat >>confdefs.h <<_ACEOF
92406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92407 _ACEOF
92410 done
92420 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92421 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92422 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92423 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92424 echo $ECHO_N "(cached) $ECHO_C" >&6
92425 else
92429 ac_ext=cc
92430 ac_cpp='$CXXCPP $CPPFLAGS'
92431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92435 cat >conftest.$ac_ext <<_ACEOF
92436 /* confdefs.h. */
92437 _ACEOF
92438 cat confdefs.h >>conftest.$ac_ext
92439 cat >>conftest.$ac_ext <<_ACEOF
92440 /* end confdefs.h. */
92441 #include <math.h>
92443 main ()
92445 atan2f(0, 0);
92447 return 0;
92449 _ACEOF
92450 rm -f conftest.$ac_objext
92451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92452 (eval $ac_compile) 2>conftest.er1
92453 ac_status=$?
92454 grep -v '^ *+' conftest.er1 >conftest.err
92455 rm -f conftest.er1
92456 cat conftest.err >&5
92457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92458 (exit $ac_status); } &&
92459 { ac_try='test -z "$ac_cxx_werror_flag"
92460 || test ! -s conftest.err'
92461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92462 (eval $ac_try) 2>&5
92463 ac_status=$?
92464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92465 (exit $ac_status); }; } &&
92466 { ac_try='test -s conftest.$ac_objext'
92467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92468 (eval $ac_try) 2>&5
92469 ac_status=$?
92470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92471 (exit $ac_status); }; }; then
92472 glibcxx_cv_func_atan2f_use=yes
92473 else
92474 echo "$as_me: failed program was:" >&5
92475 sed 's/^/| /' conftest.$ac_ext >&5
92477 glibcxx_cv_func_atan2f_use=no
92479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92480 ac_ext=c
92481 ac_cpp='$CPP $CPPFLAGS'
92482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92491 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92493 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92495 for ac_func in atan2f
92497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92498 echo "$as_me:$LINENO: checking for $ac_func" >&5
92499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92500 if eval "test \"\${$as_ac_var+set}\" = set"; then
92501 echo $ECHO_N "(cached) $ECHO_C" >&6
92502 else
92503 if test x$gcc_no_link = xyes; then
92504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92506 { (exit 1); exit 1; }; }
92508 cat >conftest.$ac_ext <<_ACEOF
92509 /* confdefs.h. */
92510 _ACEOF
92511 cat confdefs.h >>conftest.$ac_ext
92512 cat >>conftest.$ac_ext <<_ACEOF
92513 /* end confdefs.h. */
92514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92516 #define $ac_func innocuous_$ac_func
92518 /* System header to define __stub macros and hopefully few prototypes,
92519 which can conflict with char $ac_func (); below.
92520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92521 <limits.h> exists even on freestanding compilers. */
92523 #ifdef __STDC__
92524 # include <limits.h>
92525 #else
92526 # include <assert.h>
92527 #endif
92529 #undef $ac_func
92531 /* Override any gcc2 internal prototype to avoid an error. */
92532 #ifdef __cplusplus
92533 extern "C"
92535 #endif
92536 /* We use char because int might match the return type of a gcc2
92537 builtin and then its argument prototype would still apply. */
92538 char $ac_func ();
92539 /* The GNU C library defines this for functions which it implements
92540 to always fail with ENOSYS. Some functions are actually named
92541 something starting with __ and the normal name is an alias. */
92542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92543 choke me
92544 #else
92545 char (*f) () = $ac_func;
92546 #endif
92547 #ifdef __cplusplus
92549 #endif
92552 main ()
92554 return f != $ac_func;
92556 return 0;
92558 _ACEOF
92559 rm -f conftest.$ac_objext conftest$ac_exeext
92560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92561 (eval $ac_link) 2>conftest.er1
92562 ac_status=$?
92563 grep -v '^ *+' conftest.er1 >conftest.err
92564 rm -f conftest.er1
92565 cat conftest.err >&5
92566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92567 (exit $ac_status); } &&
92568 { ac_try='test -z "$ac_c_werror_flag"
92569 || test ! -s conftest.err'
92570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92571 (eval $ac_try) 2>&5
92572 ac_status=$?
92573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92574 (exit $ac_status); }; } &&
92575 { ac_try='test -s conftest$ac_exeext'
92576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92577 (eval $ac_try) 2>&5
92578 ac_status=$?
92579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92580 (exit $ac_status); }; }; then
92581 eval "$as_ac_var=yes"
92582 else
92583 echo "$as_me: failed program was:" >&5
92584 sed 's/^/| /' conftest.$ac_ext >&5
92586 eval "$as_ac_var=no"
92588 rm -f conftest.err conftest.$ac_objext \
92589 conftest$ac_exeext conftest.$ac_ext
92591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92593 if test `eval echo '${'$as_ac_var'}'` = yes; then
92594 cat >>confdefs.h <<_ACEOF
92595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92596 _ACEOF
92599 done
92601 else
92603 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92604 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92605 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92606 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92607 echo $ECHO_N "(cached) $ECHO_C" >&6
92608 else
92612 ac_ext=cc
92613 ac_cpp='$CXXCPP $CPPFLAGS'
92614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92618 cat >conftest.$ac_ext <<_ACEOF
92619 /* confdefs.h. */
92620 _ACEOF
92621 cat confdefs.h >>conftest.$ac_ext
92622 cat >>conftest.$ac_ext <<_ACEOF
92623 /* end confdefs.h. */
92624 #include <math.h>
92626 main ()
92628 _atan2f(0, 0);
92630 return 0;
92632 _ACEOF
92633 rm -f conftest.$ac_objext
92634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92635 (eval $ac_compile) 2>conftest.er1
92636 ac_status=$?
92637 grep -v '^ *+' conftest.er1 >conftest.err
92638 rm -f conftest.er1
92639 cat conftest.err >&5
92640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92641 (exit $ac_status); } &&
92642 { ac_try='test -z "$ac_cxx_werror_flag"
92643 || test ! -s conftest.err'
92644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92645 (eval $ac_try) 2>&5
92646 ac_status=$?
92647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92648 (exit $ac_status); }; } &&
92649 { ac_try='test -s conftest.$ac_objext'
92650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92651 (eval $ac_try) 2>&5
92652 ac_status=$?
92653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92654 (exit $ac_status); }; }; then
92655 glibcxx_cv_func__atan2f_use=yes
92656 else
92657 echo "$as_me: failed program was:" >&5
92658 sed 's/^/| /' conftest.$ac_ext >&5
92660 glibcxx_cv_func__atan2f_use=no
92662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92663 ac_ext=c
92664 ac_cpp='$CPP $CPPFLAGS'
92665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
92674 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
92676 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
92678 for ac_func in _atan2f
92680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92681 echo "$as_me:$LINENO: checking for $ac_func" >&5
92682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92683 if eval "test \"\${$as_ac_var+set}\" = set"; then
92684 echo $ECHO_N "(cached) $ECHO_C" >&6
92685 else
92686 if test x$gcc_no_link = xyes; then
92687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92689 { (exit 1); exit 1; }; }
92691 cat >conftest.$ac_ext <<_ACEOF
92692 /* confdefs.h. */
92693 _ACEOF
92694 cat confdefs.h >>conftest.$ac_ext
92695 cat >>conftest.$ac_ext <<_ACEOF
92696 /* end confdefs.h. */
92697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92699 #define $ac_func innocuous_$ac_func
92701 /* System header to define __stub macros and hopefully few prototypes,
92702 which can conflict with char $ac_func (); below.
92703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92704 <limits.h> exists even on freestanding compilers. */
92706 #ifdef __STDC__
92707 # include <limits.h>
92708 #else
92709 # include <assert.h>
92710 #endif
92712 #undef $ac_func
92714 /* Override any gcc2 internal prototype to avoid an error. */
92715 #ifdef __cplusplus
92716 extern "C"
92718 #endif
92719 /* We use char because int might match the return type of a gcc2
92720 builtin and then its argument prototype would still apply. */
92721 char $ac_func ();
92722 /* The GNU C library defines this for functions which it implements
92723 to always fail with ENOSYS. Some functions are actually named
92724 something starting with __ and the normal name is an alias. */
92725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92726 choke me
92727 #else
92728 char (*f) () = $ac_func;
92729 #endif
92730 #ifdef __cplusplus
92732 #endif
92735 main ()
92737 return f != $ac_func;
92739 return 0;
92741 _ACEOF
92742 rm -f conftest.$ac_objext conftest$ac_exeext
92743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92744 (eval $ac_link) 2>conftest.er1
92745 ac_status=$?
92746 grep -v '^ *+' conftest.er1 >conftest.err
92747 rm -f conftest.er1
92748 cat conftest.err >&5
92749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92750 (exit $ac_status); } &&
92751 { ac_try='test -z "$ac_c_werror_flag"
92752 || test ! -s conftest.err'
92753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92754 (eval $ac_try) 2>&5
92755 ac_status=$?
92756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92757 (exit $ac_status); }; } &&
92758 { ac_try='test -s conftest$ac_exeext'
92759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92760 (eval $ac_try) 2>&5
92761 ac_status=$?
92762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92763 (exit $ac_status); }; }; then
92764 eval "$as_ac_var=yes"
92765 else
92766 echo "$as_me: failed program was:" >&5
92767 sed 's/^/| /' conftest.$ac_ext >&5
92769 eval "$as_ac_var=no"
92771 rm -f conftest.err conftest.$ac_objext \
92772 conftest$ac_exeext conftest.$ac_ext
92774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92776 if test `eval echo '${'$as_ac_var'}'` = yes; then
92777 cat >>confdefs.h <<_ACEOF
92778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92779 _ACEOF
92782 done
92792 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
92793 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
92794 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
92795 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
92796 echo $ECHO_N "(cached) $ECHO_C" >&6
92797 else
92801 ac_ext=cc
92802 ac_cpp='$CXXCPP $CPPFLAGS'
92803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92807 cat >conftest.$ac_ext <<_ACEOF
92808 /* confdefs.h. */
92809 _ACEOF
92810 cat confdefs.h >>conftest.$ac_ext
92811 cat >>conftest.$ac_ext <<_ACEOF
92812 /* end confdefs.h. */
92813 #include <math.h>
92814 #ifdef HAVE_IEEEFP_H
92815 #include <ieeefp.h>
92816 #endif
92819 main ()
92821 fabsf(0);
92823 return 0;
92825 _ACEOF
92826 rm -f conftest.$ac_objext
92827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92828 (eval $ac_compile) 2>conftest.er1
92829 ac_status=$?
92830 grep -v '^ *+' conftest.er1 >conftest.err
92831 rm -f conftest.er1
92832 cat conftest.err >&5
92833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92834 (exit $ac_status); } &&
92835 { ac_try='test -z "$ac_cxx_werror_flag"
92836 || test ! -s conftest.err'
92837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92838 (eval $ac_try) 2>&5
92839 ac_status=$?
92840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92841 (exit $ac_status); }; } &&
92842 { ac_try='test -s conftest.$ac_objext'
92843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92844 (eval $ac_try) 2>&5
92845 ac_status=$?
92846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92847 (exit $ac_status); }; }; then
92848 glibcxx_cv_func_fabsf_use=yes
92849 else
92850 echo "$as_me: failed program was:" >&5
92851 sed 's/^/| /' conftest.$ac_ext >&5
92853 glibcxx_cv_func_fabsf_use=no
92855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92856 ac_ext=c
92857 ac_cpp='$CPP $CPPFLAGS'
92858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
92867 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
92869 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
92871 for ac_func in fabsf
92873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92874 echo "$as_me:$LINENO: checking for $ac_func" >&5
92875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92876 if eval "test \"\${$as_ac_var+set}\" = set"; then
92877 echo $ECHO_N "(cached) $ECHO_C" >&6
92878 else
92879 if test x$gcc_no_link = xyes; then
92880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92882 { (exit 1); exit 1; }; }
92884 cat >conftest.$ac_ext <<_ACEOF
92885 /* confdefs.h. */
92886 _ACEOF
92887 cat confdefs.h >>conftest.$ac_ext
92888 cat >>conftest.$ac_ext <<_ACEOF
92889 /* end confdefs.h. */
92890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92892 #define $ac_func innocuous_$ac_func
92894 /* System header to define __stub macros and hopefully few prototypes,
92895 which can conflict with char $ac_func (); below.
92896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92897 <limits.h> exists even on freestanding compilers. */
92899 #ifdef __STDC__
92900 # include <limits.h>
92901 #else
92902 # include <assert.h>
92903 #endif
92905 #undef $ac_func
92907 /* Override any gcc2 internal prototype to avoid an error. */
92908 #ifdef __cplusplus
92909 extern "C"
92911 #endif
92912 /* We use char because int might match the return type of a gcc2
92913 builtin and then its argument prototype would still apply. */
92914 char $ac_func ();
92915 /* The GNU C library defines this for functions which it implements
92916 to always fail with ENOSYS. Some functions are actually named
92917 something starting with __ and the normal name is an alias. */
92918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92919 choke me
92920 #else
92921 char (*f) () = $ac_func;
92922 #endif
92923 #ifdef __cplusplus
92925 #endif
92928 main ()
92930 return f != $ac_func;
92932 return 0;
92934 _ACEOF
92935 rm -f conftest.$ac_objext conftest$ac_exeext
92936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92937 (eval $ac_link) 2>conftest.er1
92938 ac_status=$?
92939 grep -v '^ *+' conftest.er1 >conftest.err
92940 rm -f conftest.er1
92941 cat conftest.err >&5
92942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92943 (exit $ac_status); } &&
92944 { ac_try='test -z "$ac_c_werror_flag"
92945 || test ! -s conftest.err'
92946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92947 (eval $ac_try) 2>&5
92948 ac_status=$?
92949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92950 (exit $ac_status); }; } &&
92951 { ac_try='test -s conftest$ac_exeext'
92952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92953 (eval $ac_try) 2>&5
92954 ac_status=$?
92955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92956 (exit $ac_status); }; }; then
92957 eval "$as_ac_var=yes"
92958 else
92959 echo "$as_me: failed program was:" >&5
92960 sed 's/^/| /' conftest.$ac_ext >&5
92962 eval "$as_ac_var=no"
92964 rm -f conftest.err conftest.$ac_objext \
92965 conftest$ac_exeext conftest.$ac_ext
92967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92969 if test `eval echo '${'$as_ac_var'}'` = yes; then
92970 cat >>confdefs.h <<_ACEOF
92971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92972 _ACEOF
92975 done
92977 else
92979 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
92980 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
92981 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
92982 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
92983 echo $ECHO_N "(cached) $ECHO_C" >&6
92984 else
92988 ac_ext=cc
92989 ac_cpp='$CXXCPP $CPPFLAGS'
92990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92994 cat >conftest.$ac_ext <<_ACEOF
92995 /* confdefs.h. */
92996 _ACEOF
92997 cat confdefs.h >>conftest.$ac_ext
92998 cat >>conftest.$ac_ext <<_ACEOF
92999 /* end confdefs.h. */
93000 #include <math.h>
93001 #ifdef HAVE_IEEEFP_H
93002 #include <ieeefp.h>
93003 #endif
93006 main ()
93008 _fabsf(0);
93010 return 0;
93012 _ACEOF
93013 rm -f conftest.$ac_objext
93014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93015 (eval $ac_compile) 2>conftest.er1
93016 ac_status=$?
93017 grep -v '^ *+' conftest.er1 >conftest.err
93018 rm -f conftest.er1
93019 cat conftest.err >&5
93020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93021 (exit $ac_status); } &&
93022 { ac_try='test -z "$ac_cxx_werror_flag"
93023 || test ! -s conftest.err'
93024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93025 (eval $ac_try) 2>&5
93026 ac_status=$?
93027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93028 (exit $ac_status); }; } &&
93029 { ac_try='test -s conftest.$ac_objext'
93030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93031 (eval $ac_try) 2>&5
93032 ac_status=$?
93033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93034 (exit $ac_status); }; }; then
93035 glibcxx_cv_func__fabsf_use=yes
93036 else
93037 echo "$as_me: failed program was:" >&5
93038 sed 's/^/| /' conftest.$ac_ext >&5
93040 glibcxx_cv_func__fabsf_use=no
93042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93043 ac_ext=c
93044 ac_cpp='$CPP $CPPFLAGS'
93045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93054 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93056 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93058 for ac_func in _fabsf
93060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93061 echo "$as_me:$LINENO: checking for $ac_func" >&5
93062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93063 if eval "test \"\${$as_ac_var+set}\" = set"; then
93064 echo $ECHO_N "(cached) $ECHO_C" >&6
93065 else
93066 if test x$gcc_no_link = xyes; then
93067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93069 { (exit 1); exit 1; }; }
93071 cat >conftest.$ac_ext <<_ACEOF
93072 /* confdefs.h. */
93073 _ACEOF
93074 cat confdefs.h >>conftest.$ac_ext
93075 cat >>conftest.$ac_ext <<_ACEOF
93076 /* end confdefs.h. */
93077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93079 #define $ac_func innocuous_$ac_func
93081 /* System header to define __stub macros and hopefully few prototypes,
93082 which can conflict with char $ac_func (); below.
93083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93084 <limits.h> exists even on freestanding compilers. */
93086 #ifdef __STDC__
93087 # include <limits.h>
93088 #else
93089 # include <assert.h>
93090 #endif
93092 #undef $ac_func
93094 /* Override any gcc2 internal prototype to avoid an error. */
93095 #ifdef __cplusplus
93096 extern "C"
93098 #endif
93099 /* We use char because int might match the return type of a gcc2
93100 builtin and then its argument prototype would still apply. */
93101 char $ac_func ();
93102 /* The GNU C library defines this for functions which it implements
93103 to always fail with ENOSYS. Some functions are actually named
93104 something starting with __ and the normal name is an alias. */
93105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93106 choke me
93107 #else
93108 char (*f) () = $ac_func;
93109 #endif
93110 #ifdef __cplusplus
93112 #endif
93115 main ()
93117 return f != $ac_func;
93119 return 0;
93121 _ACEOF
93122 rm -f conftest.$ac_objext conftest$ac_exeext
93123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93124 (eval $ac_link) 2>conftest.er1
93125 ac_status=$?
93126 grep -v '^ *+' conftest.er1 >conftest.err
93127 rm -f conftest.er1
93128 cat conftest.err >&5
93129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93130 (exit $ac_status); } &&
93131 { ac_try='test -z "$ac_c_werror_flag"
93132 || test ! -s conftest.err'
93133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93134 (eval $ac_try) 2>&5
93135 ac_status=$?
93136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93137 (exit $ac_status); }; } &&
93138 { ac_try='test -s conftest$ac_exeext'
93139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93140 (eval $ac_try) 2>&5
93141 ac_status=$?
93142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93143 (exit $ac_status); }; }; then
93144 eval "$as_ac_var=yes"
93145 else
93146 echo "$as_me: failed program was:" >&5
93147 sed 's/^/| /' conftest.$ac_ext >&5
93149 eval "$as_ac_var=no"
93151 rm -f conftest.err conftest.$ac_objext \
93152 conftest$ac_exeext conftest.$ac_ext
93154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93156 if test `eval echo '${'$as_ac_var'}'` = yes; then
93157 cat >>confdefs.h <<_ACEOF
93158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93159 _ACEOF
93162 done
93172 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93173 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93174 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93175 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93176 echo $ECHO_N "(cached) $ECHO_C" >&6
93177 else
93181 ac_ext=cc
93182 ac_cpp='$CXXCPP $CPPFLAGS'
93183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93187 cat >conftest.$ac_ext <<_ACEOF
93188 /* confdefs.h. */
93189 _ACEOF
93190 cat confdefs.h >>conftest.$ac_ext
93191 cat >>conftest.$ac_ext <<_ACEOF
93192 /* end confdefs.h. */
93193 #include <math.h>
93195 main ()
93197 fmodf(0, 0);
93199 return 0;
93201 _ACEOF
93202 rm -f conftest.$ac_objext
93203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93204 (eval $ac_compile) 2>conftest.er1
93205 ac_status=$?
93206 grep -v '^ *+' conftest.er1 >conftest.err
93207 rm -f conftest.er1
93208 cat conftest.err >&5
93209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93210 (exit $ac_status); } &&
93211 { ac_try='test -z "$ac_cxx_werror_flag"
93212 || test ! -s conftest.err'
93213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93214 (eval $ac_try) 2>&5
93215 ac_status=$?
93216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93217 (exit $ac_status); }; } &&
93218 { ac_try='test -s conftest.$ac_objext'
93219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93220 (eval $ac_try) 2>&5
93221 ac_status=$?
93222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93223 (exit $ac_status); }; }; then
93224 glibcxx_cv_func_fmodf_use=yes
93225 else
93226 echo "$as_me: failed program was:" >&5
93227 sed 's/^/| /' conftest.$ac_ext >&5
93229 glibcxx_cv_func_fmodf_use=no
93231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93232 ac_ext=c
93233 ac_cpp='$CPP $CPPFLAGS'
93234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93243 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93245 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93247 for ac_func in fmodf
93249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93250 echo "$as_me:$LINENO: checking for $ac_func" >&5
93251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93252 if eval "test \"\${$as_ac_var+set}\" = set"; then
93253 echo $ECHO_N "(cached) $ECHO_C" >&6
93254 else
93255 if test x$gcc_no_link = xyes; then
93256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93258 { (exit 1); exit 1; }; }
93260 cat >conftest.$ac_ext <<_ACEOF
93261 /* confdefs.h. */
93262 _ACEOF
93263 cat confdefs.h >>conftest.$ac_ext
93264 cat >>conftest.$ac_ext <<_ACEOF
93265 /* end confdefs.h. */
93266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93268 #define $ac_func innocuous_$ac_func
93270 /* System header to define __stub macros and hopefully few prototypes,
93271 which can conflict with char $ac_func (); below.
93272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93273 <limits.h> exists even on freestanding compilers. */
93275 #ifdef __STDC__
93276 # include <limits.h>
93277 #else
93278 # include <assert.h>
93279 #endif
93281 #undef $ac_func
93283 /* Override any gcc2 internal prototype to avoid an error. */
93284 #ifdef __cplusplus
93285 extern "C"
93287 #endif
93288 /* We use char because int might match the return type of a gcc2
93289 builtin and then its argument prototype would still apply. */
93290 char $ac_func ();
93291 /* The GNU C library defines this for functions which it implements
93292 to always fail with ENOSYS. Some functions are actually named
93293 something starting with __ and the normal name is an alias. */
93294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93295 choke me
93296 #else
93297 char (*f) () = $ac_func;
93298 #endif
93299 #ifdef __cplusplus
93301 #endif
93304 main ()
93306 return f != $ac_func;
93308 return 0;
93310 _ACEOF
93311 rm -f conftest.$ac_objext conftest$ac_exeext
93312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93313 (eval $ac_link) 2>conftest.er1
93314 ac_status=$?
93315 grep -v '^ *+' conftest.er1 >conftest.err
93316 rm -f conftest.er1
93317 cat conftest.err >&5
93318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93319 (exit $ac_status); } &&
93320 { ac_try='test -z "$ac_c_werror_flag"
93321 || test ! -s conftest.err'
93322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93323 (eval $ac_try) 2>&5
93324 ac_status=$?
93325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93326 (exit $ac_status); }; } &&
93327 { ac_try='test -s conftest$ac_exeext'
93328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93329 (eval $ac_try) 2>&5
93330 ac_status=$?
93331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93332 (exit $ac_status); }; }; then
93333 eval "$as_ac_var=yes"
93334 else
93335 echo "$as_me: failed program was:" >&5
93336 sed 's/^/| /' conftest.$ac_ext >&5
93338 eval "$as_ac_var=no"
93340 rm -f conftest.err conftest.$ac_objext \
93341 conftest$ac_exeext conftest.$ac_ext
93343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93345 if test `eval echo '${'$as_ac_var'}'` = yes; then
93346 cat >>confdefs.h <<_ACEOF
93347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93348 _ACEOF
93351 done
93353 else
93355 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93356 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93357 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93358 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93359 echo $ECHO_N "(cached) $ECHO_C" >&6
93360 else
93364 ac_ext=cc
93365 ac_cpp='$CXXCPP $CPPFLAGS'
93366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93370 cat >conftest.$ac_ext <<_ACEOF
93371 /* confdefs.h. */
93372 _ACEOF
93373 cat confdefs.h >>conftest.$ac_ext
93374 cat >>conftest.$ac_ext <<_ACEOF
93375 /* end confdefs.h. */
93376 #include <math.h>
93378 main ()
93380 _fmodf(0, 0);
93382 return 0;
93384 _ACEOF
93385 rm -f conftest.$ac_objext
93386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93387 (eval $ac_compile) 2>conftest.er1
93388 ac_status=$?
93389 grep -v '^ *+' conftest.er1 >conftest.err
93390 rm -f conftest.er1
93391 cat conftest.err >&5
93392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93393 (exit $ac_status); } &&
93394 { ac_try='test -z "$ac_cxx_werror_flag"
93395 || test ! -s conftest.err'
93396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93397 (eval $ac_try) 2>&5
93398 ac_status=$?
93399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93400 (exit $ac_status); }; } &&
93401 { ac_try='test -s conftest.$ac_objext'
93402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93403 (eval $ac_try) 2>&5
93404 ac_status=$?
93405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93406 (exit $ac_status); }; }; then
93407 glibcxx_cv_func__fmodf_use=yes
93408 else
93409 echo "$as_me: failed program was:" >&5
93410 sed 's/^/| /' conftest.$ac_ext >&5
93412 glibcxx_cv_func__fmodf_use=no
93414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93415 ac_ext=c
93416 ac_cpp='$CPP $CPPFLAGS'
93417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93426 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93428 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93430 for ac_func in _fmodf
93432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93433 echo "$as_me:$LINENO: checking for $ac_func" >&5
93434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93435 if eval "test \"\${$as_ac_var+set}\" = set"; then
93436 echo $ECHO_N "(cached) $ECHO_C" >&6
93437 else
93438 if test x$gcc_no_link = xyes; then
93439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93441 { (exit 1); exit 1; }; }
93443 cat >conftest.$ac_ext <<_ACEOF
93444 /* confdefs.h. */
93445 _ACEOF
93446 cat confdefs.h >>conftest.$ac_ext
93447 cat >>conftest.$ac_ext <<_ACEOF
93448 /* end confdefs.h. */
93449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93451 #define $ac_func innocuous_$ac_func
93453 /* System header to define __stub macros and hopefully few prototypes,
93454 which can conflict with char $ac_func (); below.
93455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93456 <limits.h> exists even on freestanding compilers. */
93458 #ifdef __STDC__
93459 # include <limits.h>
93460 #else
93461 # include <assert.h>
93462 #endif
93464 #undef $ac_func
93466 /* Override any gcc2 internal prototype to avoid an error. */
93467 #ifdef __cplusplus
93468 extern "C"
93470 #endif
93471 /* We use char because int might match the return type of a gcc2
93472 builtin and then its argument prototype would still apply. */
93473 char $ac_func ();
93474 /* The GNU C library defines this for functions which it implements
93475 to always fail with ENOSYS. Some functions are actually named
93476 something starting with __ and the normal name is an alias. */
93477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93478 choke me
93479 #else
93480 char (*f) () = $ac_func;
93481 #endif
93482 #ifdef __cplusplus
93484 #endif
93487 main ()
93489 return f != $ac_func;
93491 return 0;
93493 _ACEOF
93494 rm -f conftest.$ac_objext conftest$ac_exeext
93495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93496 (eval $ac_link) 2>conftest.er1
93497 ac_status=$?
93498 grep -v '^ *+' conftest.er1 >conftest.err
93499 rm -f conftest.er1
93500 cat conftest.err >&5
93501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93502 (exit $ac_status); } &&
93503 { ac_try='test -z "$ac_c_werror_flag"
93504 || test ! -s conftest.err'
93505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93506 (eval $ac_try) 2>&5
93507 ac_status=$?
93508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93509 (exit $ac_status); }; } &&
93510 { ac_try='test -s conftest$ac_exeext'
93511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93512 (eval $ac_try) 2>&5
93513 ac_status=$?
93514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93515 (exit $ac_status); }; }; then
93516 eval "$as_ac_var=yes"
93517 else
93518 echo "$as_me: failed program was:" >&5
93519 sed 's/^/| /' conftest.$ac_ext >&5
93521 eval "$as_ac_var=no"
93523 rm -f conftest.err conftest.$ac_objext \
93524 conftest$ac_exeext conftest.$ac_ext
93526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93528 if test `eval echo '${'$as_ac_var'}'` = yes; then
93529 cat >>confdefs.h <<_ACEOF
93530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93531 _ACEOF
93534 done
93544 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93545 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93546 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93547 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93548 echo $ECHO_N "(cached) $ECHO_C" >&6
93549 else
93553 ac_ext=cc
93554 ac_cpp='$CXXCPP $CPPFLAGS'
93555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93559 cat >conftest.$ac_ext <<_ACEOF
93560 /* confdefs.h. */
93561 _ACEOF
93562 cat confdefs.h >>conftest.$ac_ext
93563 cat >>conftest.$ac_ext <<_ACEOF
93564 /* end confdefs.h. */
93565 #include <math.h>
93567 main ()
93569 frexpf(0, 0);
93571 return 0;
93573 _ACEOF
93574 rm -f conftest.$ac_objext
93575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93576 (eval $ac_compile) 2>conftest.er1
93577 ac_status=$?
93578 grep -v '^ *+' conftest.er1 >conftest.err
93579 rm -f conftest.er1
93580 cat conftest.err >&5
93581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93582 (exit $ac_status); } &&
93583 { ac_try='test -z "$ac_cxx_werror_flag"
93584 || test ! -s conftest.err'
93585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93586 (eval $ac_try) 2>&5
93587 ac_status=$?
93588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93589 (exit $ac_status); }; } &&
93590 { ac_try='test -s conftest.$ac_objext'
93591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93592 (eval $ac_try) 2>&5
93593 ac_status=$?
93594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93595 (exit $ac_status); }; }; then
93596 glibcxx_cv_func_frexpf_use=yes
93597 else
93598 echo "$as_me: failed program was:" >&5
93599 sed 's/^/| /' conftest.$ac_ext >&5
93601 glibcxx_cv_func_frexpf_use=no
93603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93604 ac_ext=c
93605 ac_cpp='$CPP $CPPFLAGS'
93606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93614 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93615 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93617 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93619 for ac_func in frexpf
93621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93622 echo "$as_me:$LINENO: checking for $ac_func" >&5
93623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93624 if eval "test \"\${$as_ac_var+set}\" = set"; then
93625 echo $ECHO_N "(cached) $ECHO_C" >&6
93626 else
93627 if test x$gcc_no_link = xyes; then
93628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93630 { (exit 1); exit 1; }; }
93632 cat >conftest.$ac_ext <<_ACEOF
93633 /* confdefs.h. */
93634 _ACEOF
93635 cat confdefs.h >>conftest.$ac_ext
93636 cat >>conftest.$ac_ext <<_ACEOF
93637 /* end confdefs.h. */
93638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93640 #define $ac_func innocuous_$ac_func
93642 /* System header to define __stub macros and hopefully few prototypes,
93643 which can conflict with char $ac_func (); below.
93644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93645 <limits.h> exists even on freestanding compilers. */
93647 #ifdef __STDC__
93648 # include <limits.h>
93649 #else
93650 # include <assert.h>
93651 #endif
93653 #undef $ac_func
93655 /* Override any gcc2 internal prototype to avoid an error. */
93656 #ifdef __cplusplus
93657 extern "C"
93659 #endif
93660 /* We use char because int might match the return type of a gcc2
93661 builtin and then its argument prototype would still apply. */
93662 char $ac_func ();
93663 /* The GNU C library defines this for functions which it implements
93664 to always fail with ENOSYS. Some functions are actually named
93665 something starting with __ and the normal name is an alias. */
93666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93667 choke me
93668 #else
93669 char (*f) () = $ac_func;
93670 #endif
93671 #ifdef __cplusplus
93673 #endif
93676 main ()
93678 return f != $ac_func;
93680 return 0;
93682 _ACEOF
93683 rm -f conftest.$ac_objext conftest$ac_exeext
93684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93685 (eval $ac_link) 2>conftest.er1
93686 ac_status=$?
93687 grep -v '^ *+' conftest.er1 >conftest.err
93688 rm -f conftest.er1
93689 cat conftest.err >&5
93690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93691 (exit $ac_status); } &&
93692 { ac_try='test -z "$ac_c_werror_flag"
93693 || test ! -s conftest.err'
93694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93695 (eval $ac_try) 2>&5
93696 ac_status=$?
93697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93698 (exit $ac_status); }; } &&
93699 { ac_try='test -s conftest$ac_exeext'
93700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93701 (eval $ac_try) 2>&5
93702 ac_status=$?
93703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93704 (exit $ac_status); }; }; then
93705 eval "$as_ac_var=yes"
93706 else
93707 echo "$as_me: failed program was:" >&5
93708 sed 's/^/| /' conftest.$ac_ext >&5
93710 eval "$as_ac_var=no"
93712 rm -f conftest.err conftest.$ac_objext \
93713 conftest$ac_exeext conftest.$ac_ext
93715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93717 if test `eval echo '${'$as_ac_var'}'` = yes; then
93718 cat >>confdefs.h <<_ACEOF
93719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93720 _ACEOF
93723 done
93725 else
93727 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
93728 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
93729 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
93730 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
93731 echo $ECHO_N "(cached) $ECHO_C" >&6
93732 else
93736 ac_ext=cc
93737 ac_cpp='$CXXCPP $CPPFLAGS'
93738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93742 cat >conftest.$ac_ext <<_ACEOF
93743 /* confdefs.h. */
93744 _ACEOF
93745 cat confdefs.h >>conftest.$ac_ext
93746 cat >>conftest.$ac_ext <<_ACEOF
93747 /* end confdefs.h. */
93748 #include <math.h>
93750 main ()
93752 _frexpf(0, 0);
93754 return 0;
93756 _ACEOF
93757 rm -f conftest.$ac_objext
93758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93759 (eval $ac_compile) 2>conftest.er1
93760 ac_status=$?
93761 grep -v '^ *+' conftest.er1 >conftest.err
93762 rm -f conftest.er1
93763 cat conftest.err >&5
93764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93765 (exit $ac_status); } &&
93766 { ac_try='test -z "$ac_cxx_werror_flag"
93767 || test ! -s conftest.err'
93768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93769 (eval $ac_try) 2>&5
93770 ac_status=$?
93771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93772 (exit $ac_status); }; } &&
93773 { ac_try='test -s conftest.$ac_objext'
93774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93775 (eval $ac_try) 2>&5
93776 ac_status=$?
93777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93778 (exit $ac_status); }; }; then
93779 glibcxx_cv_func__frexpf_use=yes
93780 else
93781 echo "$as_me: failed program was:" >&5
93782 sed 's/^/| /' conftest.$ac_ext >&5
93784 glibcxx_cv_func__frexpf_use=no
93786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93787 ac_ext=c
93788 ac_cpp='$CPP $CPPFLAGS'
93789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93797 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
93798 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
93800 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
93802 for ac_func in _frexpf
93804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93805 echo "$as_me:$LINENO: checking for $ac_func" >&5
93806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93807 if eval "test \"\${$as_ac_var+set}\" = set"; then
93808 echo $ECHO_N "(cached) $ECHO_C" >&6
93809 else
93810 if test x$gcc_no_link = xyes; then
93811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93813 { (exit 1); exit 1; }; }
93815 cat >conftest.$ac_ext <<_ACEOF
93816 /* confdefs.h. */
93817 _ACEOF
93818 cat confdefs.h >>conftest.$ac_ext
93819 cat >>conftest.$ac_ext <<_ACEOF
93820 /* end confdefs.h. */
93821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93823 #define $ac_func innocuous_$ac_func
93825 /* System header to define __stub macros and hopefully few prototypes,
93826 which can conflict with char $ac_func (); below.
93827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93828 <limits.h> exists even on freestanding compilers. */
93830 #ifdef __STDC__
93831 # include <limits.h>
93832 #else
93833 # include <assert.h>
93834 #endif
93836 #undef $ac_func
93838 /* Override any gcc2 internal prototype to avoid an error. */
93839 #ifdef __cplusplus
93840 extern "C"
93842 #endif
93843 /* We use char because int might match the return type of a gcc2
93844 builtin and then its argument prototype would still apply. */
93845 char $ac_func ();
93846 /* The GNU C library defines this for functions which it implements
93847 to always fail with ENOSYS. Some functions are actually named
93848 something starting with __ and the normal name is an alias. */
93849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93850 choke me
93851 #else
93852 char (*f) () = $ac_func;
93853 #endif
93854 #ifdef __cplusplus
93856 #endif
93859 main ()
93861 return f != $ac_func;
93863 return 0;
93865 _ACEOF
93866 rm -f conftest.$ac_objext conftest$ac_exeext
93867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93868 (eval $ac_link) 2>conftest.er1
93869 ac_status=$?
93870 grep -v '^ *+' conftest.er1 >conftest.err
93871 rm -f conftest.er1
93872 cat conftest.err >&5
93873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93874 (exit $ac_status); } &&
93875 { ac_try='test -z "$ac_c_werror_flag"
93876 || test ! -s conftest.err'
93877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93878 (eval $ac_try) 2>&5
93879 ac_status=$?
93880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93881 (exit $ac_status); }; } &&
93882 { ac_try='test -s conftest$ac_exeext'
93883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93884 (eval $ac_try) 2>&5
93885 ac_status=$?
93886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93887 (exit $ac_status); }; }; then
93888 eval "$as_ac_var=yes"
93889 else
93890 echo "$as_me: failed program was:" >&5
93891 sed 's/^/| /' conftest.$ac_ext >&5
93893 eval "$as_ac_var=no"
93895 rm -f conftest.err conftest.$ac_objext \
93896 conftest$ac_exeext conftest.$ac_ext
93898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93900 if test `eval echo '${'$as_ac_var'}'` = yes; then
93901 cat >>confdefs.h <<_ACEOF
93902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93903 _ACEOF
93906 done
93916 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
93917 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
93918 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
93919 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
93920 echo $ECHO_N "(cached) $ECHO_C" >&6
93921 else
93925 ac_ext=cc
93926 ac_cpp='$CXXCPP $CPPFLAGS'
93927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93931 cat >conftest.$ac_ext <<_ACEOF
93932 /* confdefs.h. */
93933 _ACEOF
93934 cat confdefs.h >>conftest.$ac_ext
93935 cat >>conftest.$ac_ext <<_ACEOF
93936 /* end confdefs.h. */
93937 #include <math.h>
93939 main ()
93941 hypotf(0, 0);
93943 return 0;
93945 _ACEOF
93946 rm -f conftest.$ac_objext
93947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93948 (eval $ac_compile) 2>conftest.er1
93949 ac_status=$?
93950 grep -v '^ *+' conftest.er1 >conftest.err
93951 rm -f conftest.er1
93952 cat conftest.err >&5
93953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93954 (exit $ac_status); } &&
93955 { ac_try='test -z "$ac_cxx_werror_flag"
93956 || test ! -s conftest.err'
93957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93958 (eval $ac_try) 2>&5
93959 ac_status=$?
93960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93961 (exit $ac_status); }; } &&
93962 { ac_try='test -s conftest.$ac_objext'
93963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93964 (eval $ac_try) 2>&5
93965 ac_status=$?
93966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93967 (exit $ac_status); }; }; then
93968 glibcxx_cv_func_hypotf_use=yes
93969 else
93970 echo "$as_me: failed program was:" >&5
93971 sed 's/^/| /' conftest.$ac_ext >&5
93973 glibcxx_cv_func_hypotf_use=no
93975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93976 ac_ext=c
93977 ac_cpp='$CPP $CPPFLAGS'
93978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93986 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
93987 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
93989 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
93991 for ac_func in hypotf
93993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93994 echo "$as_me:$LINENO: checking for $ac_func" >&5
93995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93996 if eval "test \"\${$as_ac_var+set}\" = set"; then
93997 echo $ECHO_N "(cached) $ECHO_C" >&6
93998 else
93999 if test x$gcc_no_link = xyes; then
94000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94002 { (exit 1); exit 1; }; }
94004 cat >conftest.$ac_ext <<_ACEOF
94005 /* confdefs.h. */
94006 _ACEOF
94007 cat confdefs.h >>conftest.$ac_ext
94008 cat >>conftest.$ac_ext <<_ACEOF
94009 /* end confdefs.h. */
94010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94012 #define $ac_func innocuous_$ac_func
94014 /* System header to define __stub macros and hopefully few prototypes,
94015 which can conflict with char $ac_func (); below.
94016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94017 <limits.h> exists even on freestanding compilers. */
94019 #ifdef __STDC__
94020 # include <limits.h>
94021 #else
94022 # include <assert.h>
94023 #endif
94025 #undef $ac_func
94027 /* Override any gcc2 internal prototype to avoid an error. */
94028 #ifdef __cplusplus
94029 extern "C"
94031 #endif
94032 /* We use char because int might match the return type of a gcc2
94033 builtin and then its argument prototype would still apply. */
94034 char $ac_func ();
94035 /* The GNU C library defines this for functions which it implements
94036 to always fail with ENOSYS. Some functions are actually named
94037 something starting with __ and the normal name is an alias. */
94038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94039 choke me
94040 #else
94041 char (*f) () = $ac_func;
94042 #endif
94043 #ifdef __cplusplus
94045 #endif
94048 main ()
94050 return f != $ac_func;
94052 return 0;
94054 _ACEOF
94055 rm -f conftest.$ac_objext conftest$ac_exeext
94056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94057 (eval $ac_link) 2>conftest.er1
94058 ac_status=$?
94059 grep -v '^ *+' conftest.er1 >conftest.err
94060 rm -f conftest.er1
94061 cat conftest.err >&5
94062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94063 (exit $ac_status); } &&
94064 { ac_try='test -z "$ac_c_werror_flag"
94065 || test ! -s conftest.err'
94066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94067 (eval $ac_try) 2>&5
94068 ac_status=$?
94069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94070 (exit $ac_status); }; } &&
94071 { ac_try='test -s conftest$ac_exeext'
94072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94073 (eval $ac_try) 2>&5
94074 ac_status=$?
94075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94076 (exit $ac_status); }; }; then
94077 eval "$as_ac_var=yes"
94078 else
94079 echo "$as_me: failed program was:" >&5
94080 sed 's/^/| /' conftest.$ac_ext >&5
94082 eval "$as_ac_var=no"
94084 rm -f conftest.err conftest.$ac_objext \
94085 conftest$ac_exeext conftest.$ac_ext
94087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94089 if test `eval echo '${'$as_ac_var'}'` = yes; then
94090 cat >>confdefs.h <<_ACEOF
94091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94092 _ACEOF
94095 done
94097 else
94099 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94100 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94101 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94102 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94103 echo $ECHO_N "(cached) $ECHO_C" >&6
94104 else
94108 ac_ext=cc
94109 ac_cpp='$CXXCPP $CPPFLAGS'
94110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94114 cat >conftest.$ac_ext <<_ACEOF
94115 /* confdefs.h. */
94116 _ACEOF
94117 cat confdefs.h >>conftest.$ac_ext
94118 cat >>conftest.$ac_ext <<_ACEOF
94119 /* end confdefs.h. */
94120 #include <math.h>
94122 main ()
94124 _hypotf(0, 0);
94126 return 0;
94128 _ACEOF
94129 rm -f conftest.$ac_objext
94130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94131 (eval $ac_compile) 2>conftest.er1
94132 ac_status=$?
94133 grep -v '^ *+' conftest.er1 >conftest.err
94134 rm -f conftest.er1
94135 cat conftest.err >&5
94136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94137 (exit $ac_status); } &&
94138 { ac_try='test -z "$ac_cxx_werror_flag"
94139 || test ! -s conftest.err'
94140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94141 (eval $ac_try) 2>&5
94142 ac_status=$?
94143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94144 (exit $ac_status); }; } &&
94145 { ac_try='test -s conftest.$ac_objext'
94146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94147 (eval $ac_try) 2>&5
94148 ac_status=$?
94149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94150 (exit $ac_status); }; }; then
94151 glibcxx_cv_func__hypotf_use=yes
94152 else
94153 echo "$as_me: failed program was:" >&5
94154 sed 's/^/| /' conftest.$ac_ext >&5
94156 glibcxx_cv_func__hypotf_use=no
94158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94159 ac_ext=c
94160 ac_cpp='$CPP $CPPFLAGS'
94161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94170 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94172 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94174 for ac_func in _hypotf
94176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94177 echo "$as_me:$LINENO: checking for $ac_func" >&5
94178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94179 if eval "test \"\${$as_ac_var+set}\" = set"; then
94180 echo $ECHO_N "(cached) $ECHO_C" >&6
94181 else
94182 if test x$gcc_no_link = xyes; then
94183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94185 { (exit 1); exit 1; }; }
94187 cat >conftest.$ac_ext <<_ACEOF
94188 /* confdefs.h. */
94189 _ACEOF
94190 cat confdefs.h >>conftest.$ac_ext
94191 cat >>conftest.$ac_ext <<_ACEOF
94192 /* end confdefs.h. */
94193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94195 #define $ac_func innocuous_$ac_func
94197 /* System header to define __stub macros and hopefully few prototypes,
94198 which can conflict with char $ac_func (); below.
94199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94200 <limits.h> exists even on freestanding compilers. */
94202 #ifdef __STDC__
94203 # include <limits.h>
94204 #else
94205 # include <assert.h>
94206 #endif
94208 #undef $ac_func
94210 /* Override any gcc2 internal prototype to avoid an error. */
94211 #ifdef __cplusplus
94212 extern "C"
94214 #endif
94215 /* We use char because int might match the return type of a gcc2
94216 builtin and then its argument prototype would still apply. */
94217 char $ac_func ();
94218 /* The GNU C library defines this for functions which it implements
94219 to always fail with ENOSYS. Some functions are actually named
94220 something starting with __ and the normal name is an alias. */
94221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94222 choke me
94223 #else
94224 char (*f) () = $ac_func;
94225 #endif
94226 #ifdef __cplusplus
94228 #endif
94231 main ()
94233 return f != $ac_func;
94235 return 0;
94237 _ACEOF
94238 rm -f conftest.$ac_objext conftest$ac_exeext
94239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94240 (eval $ac_link) 2>conftest.er1
94241 ac_status=$?
94242 grep -v '^ *+' conftest.er1 >conftest.err
94243 rm -f conftest.er1
94244 cat conftest.err >&5
94245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94246 (exit $ac_status); } &&
94247 { ac_try='test -z "$ac_c_werror_flag"
94248 || test ! -s conftest.err'
94249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94250 (eval $ac_try) 2>&5
94251 ac_status=$?
94252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94253 (exit $ac_status); }; } &&
94254 { ac_try='test -s conftest$ac_exeext'
94255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94256 (eval $ac_try) 2>&5
94257 ac_status=$?
94258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94259 (exit $ac_status); }; }; then
94260 eval "$as_ac_var=yes"
94261 else
94262 echo "$as_me: failed program was:" >&5
94263 sed 's/^/| /' conftest.$ac_ext >&5
94265 eval "$as_ac_var=no"
94267 rm -f conftest.err conftest.$ac_objext \
94268 conftest$ac_exeext conftest.$ac_ext
94270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94272 if test `eval echo '${'$as_ac_var'}'` = yes; then
94273 cat >>confdefs.h <<_ACEOF
94274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94275 _ACEOF
94278 done
94288 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94289 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94290 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94291 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94292 echo $ECHO_N "(cached) $ECHO_C" >&6
94293 else
94297 ac_ext=cc
94298 ac_cpp='$CXXCPP $CPPFLAGS'
94299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94303 cat >conftest.$ac_ext <<_ACEOF
94304 /* confdefs.h. */
94305 _ACEOF
94306 cat confdefs.h >>conftest.$ac_ext
94307 cat >>conftest.$ac_ext <<_ACEOF
94308 /* end confdefs.h. */
94309 #include <math.h>
94311 main ()
94313 ldexpf(0, 0);
94315 return 0;
94317 _ACEOF
94318 rm -f conftest.$ac_objext
94319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94320 (eval $ac_compile) 2>conftest.er1
94321 ac_status=$?
94322 grep -v '^ *+' conftest.er1 >conftest.err
94323 rm -f conftest.er1
94324 cat conftest.err >&5
94325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94326 (exit $ac_status); } &&
94327 { ac_try='test -z "$ac_cxx_werror_flag"
94328 || test ! -s conftest.err'
94329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94330 (eval $ac_try) 2>&5
94331 ac_status=$?
94332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94333 (exit $ac_status); }; } &&
94334 { ac_try='test -s conftest.$ac_objext'
94335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94336 (eval $ac_try) 2>&5
94337 ac_status=$?
94338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94339 (exit $ac_status); }; }; then
94340 glibcxx_cv_func_ldexpf_use=yes
94341 else
94342 echo "$as_me: failed program was:" >&5
94343 sed 's/^/| /' conftest.$ac_ext >&5
94345 glibcxx_cv_func_ldexpf_use=no
94347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94348 ac_ext=c
94349 ac_cpp='$CPP $CPPFLAGS'
94350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94358 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94359 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94361 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94363 for ac_func in ldexpf
94365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94366 echo "$as_me:$LINENO: checking for $ac_func" >&5
94367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94368 if eval "test \"\${$as_ac_var+set}\" = set"; then
94369 echo $ECHO_N "(cached) $ECHO_C" >&6
94370 else
94371 if test x$gcc_no_link = xyes; then
94372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94374 { (exit 1); exit 1; }; }
94376 cat >conftest.$ac_ext <<_ACEOF
94377 /* confdefs.h. */
94378 _ACEOF
94379 cat confdefs.h >>conftest.$ac_ext
94380 cat >>conftest.$ac_ext <<_ACEOF
94381 /* end confdefs.h. */
94382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94384 #define $ac_func innocuous_$ac_func
94386 /* System header to define __stub macros and hopefully few prototypes,
94387 which can conflict with char $ac_func (); below.
94388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94389 <limits.h> exists even on freestanding compilers. */
94391 #ifdef __STDC__
94392 # include <limits.h>
94393 #else
94394 # include <assert.h>
94395 #endif
94397 #undef $ac_func
94399 /* Override any gcc2 internal prototype to avoid an error. */
94400 #ifdef __cplusplus
94401 extern "C"
94403 #endif
94404 /* We use char because int might match the return type of a gcc2
94405 builtin and then its argument prototype would still apply. */
94406 char $ac_func ();
94407 /* The GNU C library defines this for functions which it implements
94408 to always fail with ENOSYS. Some functions are actually named
94409 something starting with __ and the normal name is an alias. */
94410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94411 choke me
94412 #else
94413 char (*f) () = $ac_func;
94414 #endif
94415 #ifdef __cplusplus
94417 #endif
94420 main ()
94422 return f != $ac_func;
94424 return 0;
94426 _ACEOF
94427 rm -f conftest.$ac_objext conftest$ac_exeext
94428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94429 (eval $ac_link) 2>conftest.er1
94430 ac_status=$?
94431 grep -v '^ *+' conftest.er1 >conftest.err
94432 rm -f conftest.er1
94433 cat conftest.err >&5
94434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94435 (exit $ac_status); } &&
94436 { ac_try='test -z "$ac_c_werror_flag"
94437 || test ! -s conftest.err'
94438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94439 (eval $ac_try) 2>&5
94440 ac_status=$?
94441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94442 (exit $ac_status); }; } &&
94443 { ac_try='test -s conftest$ac_exeext'
94444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94445 (eval $ac_try) 2>&5
94446 ac_status=$?
94447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94448 (exit $ac_status); }; }; then
94449 eval "$as_ac_var=yes"
94450 else
94451 echo "$as_me: failed program was:" >&5
94452 sed 's/^/| /' conftest.$ac_ext >&5
94454 eval "$as_ac_var=no"
94456 rm -f conftest.err conftest.$ac_objext \
94457 conftest$ac_exeext conftest.$ac_ext
94459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94461 if test `eval echo '${'$as_ac_var'}'` = yes; then
94462 cat >>confdefs.h <<_ACEOF
94463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94464 _ACEOF
94467 done
94469 else
94471 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94472 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94473 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94474 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94475 echo $ECHO_N "(cached) $ECHO_C" >&6
94476 else
94480 ac_ext=cc
94481 ac_cpp='$CXXCPP $CPPFLAGS'
94482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94486 cat >conftest.$ac_ext <<_ACEOF
94487 /* confdefs.h. */
94488 _ACEOF
94489 cat confdefs.h >>conftest.$ac_ext
94490 cat >>conftest.$ac_ext <<_ACEOF
94491 /* end confdefs.h. */
94492 #include <math.h>
94494 main ()
94496 _ldexpf(0, 0);
94498 return 0;
94500 _ACEOF
94501 rm -f conftest.$ac_objext
94502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94503 (eval $ac_compile) 2>conftest.er1
94504 ac_status=$?
94505 grep -v '^ *+' conftest.er1 >conftest.err
94506 rm -f conftest.er1
94507 cat conftest.err >&5
94508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94509 (exit $ac_status); } &&
94510 { ac_try='test -z "$ac_cxx_werror_flag"
94511 || test ! -s conftest.err'
94512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94513 (eval $ac_try) 2>&5
94514 ac_status=$?
94515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94516 (exit $ac_status); }; } &&
94517 { ac_try='test -s conftest.$ac_objext'
94518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94519 (eval $ac_try) 2>&5
94520 ac_status=$?
94521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94522 (exit $ac_status); }; }; then
94523 glibcxx_cv_func__ldexpf_use=yes
94524 else
94525 echo "$as_me: failed program was:" >&5
94526 sed 's/^/| /' conftest.$ac_ext >&5
94528 glibcxx_cv_func__ldexpf_use=no
94530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94531 ac_ext=c
94532 ac_cpp='$CPP $CPPFLAGS'
94533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94542 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94544 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94546 for ac_func in _ldexpf
94548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94549 echo "$as_me:$LINENO: checking for $ac_func" >&5
94550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94551 if eval "test \"\${$as_ac_var+set}\" = set"; then
94552 echo $ECHO_N "(cached) $ECHO_C" >&6
94553 else
94554 if test x$gcc_no_link = xyes; then
94555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94557 { (exit 1); exit 1; }; }
94559 cat >conftest.$ac_ext <<_ACEOF
94560 /* confdefs.h. */
94561 _ACEOF
94562 cat confdefs.h >>conftest.$ac_ext
94563 cat >>conftest.$ac_ext <<_ACEOF
94564 /* end confdefs.h. */
94565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94567 #define $ac_func innocuous_$ac_func
94569 /* System header to define __stub macros and hopefully few prototypes,
94570 which can conflict with char $ac_func (); below.
94571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94572 <limits.h> exists even on freestanding compilers. */
94574 #ifdef __STDC__
94575 # include <limits.h>
94576 #else
94577 # include <assert.h>
94578 #endif
94580 #undef $ac_func
94582 /* Override any gcc2 internal prototype to avoid an error. */
94583 #ifdef __cplusplus
94584 extern "C"
94586 #endif
94587 /* We use char because int might match the return type of a gcc2
94588 builtin and then its argument prototype would still apply. */
94589 char $ac_func ();
94590 /* The GNU C library defines this for functions which it implements
94591 to always fail with ENOSYS. Some functions are actually named
94592 something starting with __ and the normal name is an alias. */
94593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94594 choke me
94595 #else
94596 char (*f) () = $ac_func;
94597 #endif
94598 #ifdef __cplusplus
94600 #endif
94603 main ()
94605 return f != $ac_func;
94607 return 0;
94609 _ACEOF
94610 rm -f conftest.$ac_objext conftest$ac_exeext
94611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94612 (eval $ac_link) 2>conftest.er1
94613 ac_status=$?
94614 grep -v '^ *+' conftest.er1 >conftest.err
94615 rm -f conftest.er1
94616 cat conftest.err >&5
94617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94618 (exit $ac_status); } &&
94619 { ac_try='test -z "$ac_c_werror_flag"
94620 || test ! -s conftest.err'
94621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94622 (eval $ac_try) 2>&5
94623 ac_status=$?
94624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94625 (exit $ac_status); }; } &&
94626 { ac_try='test -s conftest$ac_exeext'
94627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94628 (eval $ac_try) 2>&5
94629 ac_status=$?
94630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94631 (exit $ac_status); }; }; then
94632 eval "$as_ac_var=yes"
94633 else
94634 echo "$as_me: failed program was:" >&5
94635 sed 's/^/| /' conftest.$ac_ext >&5
94637 eval "$as_ac_var=no"
94639 rm -f conftest.err conftest.$ac_objext \
94640 conftest$ac_exeext conftest.$ac_ext
94642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94644 if test `eval echo '${'$as_ac_var'}'` = yes; then
94645 cat >>confdefs.h <<_ACEOF
94646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94647 _ACEOF
94650 done
94660 echo "$as_me:$LINENO: checking for logf declaration" >&5
94661 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
94662 if test x${glibcxx_cv_func_logf_use+set} != xset; then
94663 if test "${glibcxx_cv_func_logf_use+set}" = set; then
94664 echo $ECHO_N "(cached) $ECHO_C" >&6
94665 else
94669 ac_ext=cc
94670 ac_cpp='$CXXCPP $CPPFLAGS'
94671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94675 cat >conftest.$ac_ext <<_ACEOF
94676 /* confdefs.h. */
94677 _ACEOF
94678 cat confdefs.h >>conftest.$ac_ext
94679 cat >>conftest.$ac_ext <<_ACEOF
94680 /* end confdefs.h. */
94681 #include <math.h>
94682 #ifdef HAVE_IEEEFP_H
94683 #include <ieeefp.h>
94684 #endif
94687 main ()
94689 logf(0);
94691 return 0;
94693 _ACEOF
94694 rm -f conftest.$ac_objext
94695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94696 (eval $ac_compile) 2>conftest.er1
94697 ac_status=$?
94698 grep -v '^ *+' conftest.er1 >conftest.err
94699 rm -f conftest.er1
94700 cat conftest.err >&5
94701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94702 (exit $ac_status); } &&
94703 { ac_try='test -z "$ac_cxx_werror_flag"
94704 || test ! -s conftest.err'
94705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94706 (eval $ac_try) 2>&5
94707 ac_status=$?
94708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94709 (exit $ac_status); }; } &&
94710 { ac_try='test -s conftest.$ac_objext'
94711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94712 (eval $ac_try) 2>&5
94713 ac_status=$?
94714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94715 (exit $ac_status); }; }; then
94716 glibcxx_cv_func_logf_use=yes
94717 else
94718 echo "$as_me: failed program was:" >&5
94719 sed 's/^/| /' conftest.$ac_ext >&5
94721 glibcxx_cv_func_logf_use=no
94723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94724 ac_ext=c
94725 ac_cpp='$CPP $CPPFLAGS'
94726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
94735 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
94737 if test x$glibcxx_cv_func_logf_use = x"yes"; then
94739 for ac_func in logf
94741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94742 echo "$as_me:$LINENO: checking for $ac_func" >&5
94743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94744 if eval "test \"\${$as_ac_var+set}\" = set"; then
94745 echo $ECHO_N "(cached) $ECHO_C" >&6
94746 else
94747 if test x$gcc_no_link = xyes; then
94748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94750 { (exit 1); exit 1; }; }
94752 cat >conftest.$ac_ext <<_ACEOF
94753 /* confdefs.h. */
94754 _ACEOF
94755 cat confdefs.h >>conftest.$ac_ext
94756 cat >>conftest.$ac_ext <<_ACEOF
94757 /* end confdefs.h. */
94758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94760 #define $ac_func innocuous_$ac_func
94762 /* System header to define __stub macros and hopefully few prototypes,
94763 which can conflict with char $ac_func (); below.
94764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94765 <limits.h> exists even on freestanding compilers. */
94767 #ifdef __STDC__
94768 # include <limits.h>
94769 #else
94770 # include <assert.h>
94771 #endif
94773 #undef $ac_func
94775 /* Override any gcc2 internal prototype to avoid an error. */
94776 #ifdef __cplusplus
94777 extern "C"
94779 #endif
94780 /* We use char because int might match the return type of a gcc2
94781 builtin and then its argument prototype would still apply. */
94782 char $ac_func ();
94783 /* The GNU C library defines this for functions which it implements
94784 to always fail with ENOSYS. Some functions are actually named
94785 something starting with __ and the normal name is an alias. */
94786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94787 choke me
94788 #else
94789 char (*f) () = $ac_func;
94790 #endif
94791 #ifdef __cplusplus
94793 #endif
94796 main ()
94798 return f != $ac_func;
94800 return 0;
94802 _ACEOF
94803 rm -f conftest.$ac_objext conftest$ac_exeext
94804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94805 (eval $ac_link) 2>conftest.er1
94806 ac_status=$?
94807 grep -v '^ *+' conftest.er1 >conftest.err
94808 rm -f conftest.er1
94809 cat conftest.err >&5
94810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94811 (exit $ac_status); } &&
94812 { ac_try='test -z "$ac_c_werror_flag"
94813 || test ! -s conftest.err'
94814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94815 (eval $ac_try) 2>&5
94816 ac_status=$?
94817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94818 (exit $ac_status); }; } &&
94819 { ac_try='test -s conftest$ac_exeext'
94820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94821 (eval $ac_try) 2>&5
94822 ac_status=$?
94823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94824 (exit $ac_status); }; }; then
94825 eval "$as_ac_var=yes"
94826 else
94827 echo "$as_me: failed program was:" >&5
94828 sed 's/^/| /' conftest.$ac_ext >&5
94830 eval "$as_ac_var=no"
94832 rm -f conftest.err conftest.$ac_objext \
94833 conftest$ac_exeext conftest.$ac_ext
94835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94837 if test `eval echo '${'$as_ac_var'}'` = yes; then
94838 cat >>confdefs.h <<_ACEOF
94839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94840 _ACEOF
94843 done
94845 else
94847 echo "$as_me:$LINENO: checking for _logf declaration" >&5
94848 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
94849 if test x${glibcxx_cv_func__logf_use+set} != xset; then
94850 if test "${glibcxx_cv_func__logf_use+set}" = set; then
94851 echo $ECHO_N "(cached) $ECHO_C" >&6
94852 else
94856 ac_ext=cc
94857 ac_cpp='$CXXCPP $CPPFLAGS'
94858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94862 cat >conftest.$ac_ext <<_ACEOF
94863 /* confdefs.h. */
94864 _ACEOF
94865 cat confdefs.h >>conftest.$ac_ext
94866 cat >>conftest.$ac_ext <<_ACEOF
94867 /* end confdefs.h. */
94868 #include <math.h>
94869 #ifdef HAVE_IEEEFP_H
94870 #include <ieeefp.h>
94871 #endif
94874 main ()
94876 _logf(0);
94878 return 0;
94880 _ACEOF
94881 rm -f conftest.$ac_objext
94882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94883 (eval $ac_compile) 2>conftest.er1
94884 ac_status=$?
94885 grep -v '^ *+' conftest.er1 >conftest.err
94886 rm -f conftest.er1
94887 cat conftest.err >&5
94888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94889 (exit $ac_status); } &&
94890 { ac_try='test -z "$ac_cxx_werror_flag"
94891 || test ! -s conftest.err'
94892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94893 (eval $ac_try) 2>&5
94894 ac_status=$?
94895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94896 (exit $ac_status); }; } &&
94897 { ac_try='test -s conftest.$ac_objext'
94898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94899 (eval $ac_try) 2>&5
94900 ac_status=$?
94901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94902 (exit $ac_status); }; }; then
94903 glibcxx_cv_func__logf_use=yes
94904 else
94905 echo "$as_me: failed program was:" >&5
94906 sed 's/^/| /' conftest.$ac_ext >&5
94908 glibcxx_cv_func__logf_use=no
94910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94911 ac_ext=c
94912 ac_cpp='$CPP $CPPFLAGS'
94913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
94922 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
94924 if test x$glibcxx_cv_func__logf_use = x"yes"; then
94926 for ac_func in _logf
94928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94929 echo "$as_me:$LINENO: checking for $ac_func" >&5
94930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94931 if eval "test \"\${$as_ac_var+set}\" = set"; then
94932 echo $ECHO_N "(cached) $ECHO_C" >&6
94933 else
94934 if test x$gcc_no_link = xyes; then
94935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94937 { (exit 1); exit 1; }; }
94939 cat >conftest.$ac_ext <<_ACEOF
94940 /* confdefs.h. */
94941 _ACEOF
94942 cat confdefs.h >>conftest.$ac_ext
94943 cat >>conftest.$ac_ext <<_ACEOF
94944 /* end confdefs.h. */
94945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94947 #define $ac_func innocuous_$ac_func
94949 /* System header to define __stub macros and hopefully few prototypes,
94950 which can conflict with char $ac_func (); below.
94951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94952 <limits.h> exists even on freestanding compilers. */
94954 #ifdef __STDC__
94955 # include <limits.h>
94956 #else
94957 # include <assert.h>
94958 #endif
94960 #undef $ac_func
94962 /* Override any gcc2 internal prototype to avoid an error. */
94963 #ifdef __cplusplus
94964 extern "C"
94966 #endif
94967 /* We use char because int might match the return type of a gcc2
94968 builtin and then its argument prototype would still apply. */
94969 char $ac_func ();
94970 /* The GNU C library defines this for functions which it implements
94971 to always fail with ENOSYS. Some functions are actually named
94972 something starting with __ and the normal name is an alias. */
94973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94974 choke me
94975 #else
94976 char (*f) () = $ac_func;
94977 #endif
94978 #ifdef __cplusplus
94980 #endif
94983 main ()
94985 return f != $ac_func;
94987 return 0;
94989 _ACEOF
94990 rm -f conftest.$ac_objext conftest$ac_exeext
94991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94992 (eval $ac_link) 2>conftest.er1
94993 ac_status=$?
94994 grep -v '^ *+' conftest.er1 >conftest.err
94995 rm -f conftest.er1
94996 cat conftest.err >&5
94997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94998 (exit $ac_status); } &&
94999 { ac_try='test -z "$ac_c_werror_flag"
95000 || test ! -s conftest.err'
95001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95002 (eval $ac_try) 2>&5
95003 ac_status=$?
95004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95005 (exit $ac_status); }; } &&
95006 { ac_try='test -s conftest$ac_exeext'
95007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95008 (eval $ac_try) 2>&5
95009 ac_status=$?
95010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95011 (exit $ac_status); }; }; then
95012 eval "$as_ac_var=yes"
95013 else
95014 echo "$as_me: failed program was:" >&5
95015 sed 's/^/| /' conftest.$ac_ext >&5
95017 eval "$as_ac_var=no"
95019 rm -f conftest.err conftest.$ac_objext \
95020 conftest$ac_exeext conftest.$ac_ext
95022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95024 if test `eval echo '${'$as_ac_var'}'` = yes; then
95025 cat >>confdefs.h <<_ACEOF
95026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95027 _ACEOF
95030 done
95040 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95041 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95042 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95043 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95044 echo $ECHO_N "(cached) $ECHO_C" >&6
95045 else
95049 ac_ext=cc
95050 ac_cpp='$CXXCPP $CPPFLAGS'
95051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95055 cat >conftest.$ac_ext <<_ACEOF
95056 /* confdefs.h. */
95057 _ACEOF
95058 cat confdefs.h >>conftest.$ac_ext
95059 cat >>conftest.$ac_ext <<_ACEOF
95060 /* end confdefs.h. */
95061 #include <math.h>
95062 #ifdef HAVE_IEEEFP_H
95063 #include <ieeefp.h>
95064 #endif
95067 main ()
95069 log10f(0);
95071 return 0;
95073 _ACEOF
95074 rm -f conftest.$ac_objext
95075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95076 (eval $ac_compile) 2>conftest.er1
95077 ac_status=$?
95078 grep -v '^ *+' conftest.er1 >conftest.err
95079 rm -f conftest.er1
95080 cat conftest.err >&5
95081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95082 (exit $ac_status); } &&
95083 { ac_try='test -z "$ac_cxx_werror_flag"
95084 || test ! -s conftest.err'
95085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95086 (eval $ac_try) 2>&5
95087 ac_status=$?
95088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95089 (exit $ac_status); }; } &&
95090 { ac_try='test -s conftest.$ac_objext'
95091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95092 (eval $ac_try) 2>&5
95093 ac_status=$?
95094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95095 (exit $ac_status); }; }; then
95096 glibcxx_cv_func_log10f_use=yes
95097 else
95098 echo "$as_me: failed program was:" >&5
95099 sed 's/^/| /' conftest.$ac_ext >&5
95101 glibcxx_cv_func_log10f_use=no
95103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95104 ac_ext=c
95105 ac_cpp='$CPP $CPPFLAGS'
95106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95115 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95117 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95119 for ac_func in log10f
95121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95122 echo "$as_me:$LINENO: checking for $ac_func" >&5
95123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95124 if eval "test \"\${$as_ac_var+set}\" = set"; then
95125 echo $ECHO_N "(cached) $ECHO_C" >&6
95126 else
95127 if test x$gcc_no_link = xyes; then
95128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95130 { (exit 1); exit 1; }; }
95132 cat >conftest.$ac_ext <<_ACEOF
95133 /* confdefs.h. */
95134 _ACEOF
95135 cat confdefs.h >>conftest.$ac_ext
95136 cat >>conftest.$ac_ext <<_ACEOF
95137 /* end confdefs.h. */
95138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95140 #define $ac_func innocuous_$ac_func
95142 /* System header to define __stub macros and hopefully few prototypes,
95143 which can conflict with char $ac_func (); below.
95144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95145 <limits.h> exists even on freestanding compilers. */
95147 #ifdef __STDC__
95148 # include <limits.h>
95149 #else
95150 # include <assert.h>
95151 #endif
95153 #undef $ac_func
95155 /* Override any gcc2 internal prototype to avoid an error. */
95156 #ifdef __cplusplus
95157 extern "C"
95159 #endif
95160 /* We use char because int might match the return type of a gcc2
95161 builtin and then its argument prototype would still apply. */
95162 char $ac_func ();
95163 /* The GNU C library defines this for functions which it implements
95164 to always fail with ENOSYS. Some functions are actually named
95165 something starting with __ and the normal name is an alias. */
95166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95167 choke me
95168 #else
95169 char (*f) () = $ac_func;
95170 #endif
95171 #ifdef __cplusplus
95173 #endif
95176 main ()
95178 return f != $ac_func;
95180 return 0;
95182 _ACEOF
95183 rm -f conftest.$ac_objext conftest$ac_exeext
95184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95185 (eval $ac_link) 2>conftest.er1
95186 ac_status=$?
95187 grep -v '^ *+' conftest.er1 >conftest.err
95188 rm -f conftest.er1
95189 cat conftest.err >&5
95190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95191 (exit $ac_status); } &&
95192 { ac_try='test -z "$ac_c_werror_flag"
95193 || test ! -s conftest.err'
95194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95195 (eval $ac_try) 2>&5
95196 ac_status=$?
95197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95198 (exit $ac_status); }; } &&
95199 { ac_try='test -s conftest$ac_exeext'
95200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95201 (eval $ac_try) 2>&5
95202 ac_status=$?
95203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95204 (exit $ac_status); }; }; then
95205 eval "$as_ac_var=yes"
95206 else
95207 echo "$as_me: failed program was:" >&5
95208 sed 's/^/| /' conftest.$ac_ext >&5
95210 eval "$as_ac_var=no"
95212 rm -f conftest.err conftest.$ac_objext \
95213 conftest$ac_exeext conftest.$ac_ext
95215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95217 if test `eval echo '${'$as_ac_var'}'` = yes; then
95218 cat >>confdefs.h <<_ACEOF
95219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95220 _ACEOF
95223 done
95225 else
95227 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95228 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95229 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95230 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95231 echo $ECHO_N "(cached) $ECHO_C" >&6
95232 else
95236 ac_ext=cc
95237 ac_cpp='$CXXCPP $CPPFLAGS'
95238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95242 cat >conftest.$ac_ext <<_ACEOF
95243 /* confdefs.h. */
95244 _ACEOF
95245 cat confdefs.h >>conftest.$ac_ext
95246 cat >>conftest.$ac_ext <<_ACEOF
95247 /* end confdefs.h. */
95248 #include <math.h>
95249 #ifdef HAVE_IEEEFP_H
95250 #include <ieeefp.h>
95251 #endif
95254 main ()
95256 _log10f(0);
95258 return 0;
95260 _ACEOF
95261 rm -f conftest.$ac_objext
95262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95263 (eval $ac_compile) 2>conftest.er1
95264 ac_status=$?
95265 grep -v '^ *+' conftest.er1 >conftest.err
95266 rm -f conftest.er1
95267 cat conftest.err >&5
95268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95269 (exit $ac_status); } &&
95270 { ac_try='test -z "$ac_cxx_werror_flag"
95271 || test ! -s conftest.err'
95272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95273 (eval $ac_try) 2>&5
95274 ac_status=$?
95275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95276 (exit $ac_status); }; } &&
95277 { ac_try='test -s conftest.$ac_objext'
95278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95279 (eval $ac_try) 2>&5
95280 ac_status=$?
95281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95282 (exit $ac_status); }; }; then
95283 glibcxx_cv_func__log10f_use=yes
95284 else
95285 echo "$as_me: failed program was:" >&5
95286 sed 's/^/| /' conftest.$ac_ext >&5
95288 glibcxx_cv_func__log10f_use=no
95290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95291 ac_ext=c
95292 ac_cpp='$CPP $CPPFLAGS'
95293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95302 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95304 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95306 for ac_func in _log10f
95308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95309 echo "$as_me:$LINENO: checking for $ac_func" >&5
95310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95311 if eval "test \"\${$as_ac_var+set}\" = set"; then
95312 echo $ECHO_N "(cached) $ECHO_C" >&6
95313 else
95314 if test x$gcc_no_link = xyes; then
95315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95317 { (exit 1); exit 1; }; }
95319 cat >conftest.$ac_ext <<_ACEOF
95320 /* confdefs.h. */
95321 _ACEOF
95322 cat confdefs.h >>conftest.$ac_ext
95323 cat >>conftest.$ac_ext <<_ACEOF
95324 /* end confdefs.h. */
95325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95327 #define $ac_func innocuous_$ac_func
95329 /* System header to define __stub macros and hopefully few prototypes,
95330 which can conflict with char $ac_func (); below.
95331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95332 <limits.h> exists even on freestanding compilers. */
95334 #ifdef __STDC__
95335 # include <limits.h>
95336 #else
95337 # include <assert.h>
95338 #endif
95340 #undef $ac_func
95342 /* Override any gcc2 internal prototype to avoid an error. */
95343 #ifdef __cplusplus
95344 extern "C"
95346 #endif
95347 /* We use char because int might match the return type of a gcc2
95348 builtin and then its argument prototype would still apply. */
95349 char $ac_func ();
95350 /* The GNU C library defines this for functions which it implements
95351 to always fail with ENOSYS. Some functions are actually named
95352 something starting with __ and the normal name is an alias. */
95353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95354 choke me
95355 #else
95356 char (*f) () = $ac_func;
95357 #endif
95358 #ifdef __cplusplus
95360 #endif
95363 main ()
95365 return f != $ac_func;
95367 return 0;
95369 _ACEOF
95370 rm -f conftest.$ac_objext conftest$ac_exeext
95371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95372 (eval $ac_link) 2>conftest.er1
95373 ac_status=$?
95374 grep -v '^ *+' conftest.er1 >conftest.err
95375 rm -f conftest.er1
95376 cat conftest.err >&5
95377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95378 (exit $ac_status); } &&
95379 { ac_try='test -z "$ac_c_werror_flag"
95380 || test ! -s conftest.err'
95381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95382 (eval $ac_try) 2>&5
95383 ac_status=$?
95384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95385 (exit $ac_status); }; } &&
95386 { ac_try='test -s conftest$ac_exeext'
95387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95388 (eval $ac_try) 2>&5
95389 ac_status=$?
95390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95391 (exit $ac_status); }; }; then
95392 eval "$as_ac_var=yes"
95393 else
95394 echo "$as_me: failed program was:" >&5
95395 sed 's/^/| /' conftest.$ac_ext >&5
95397 eval "$as_ac_var=no"
95399 rm -f conftest.err conftest.$ac_objext \
95400 conftest$ac_exeext conftest.$ac_ext
95402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95404 if test `eval echo '${'$as_ac_var'}'` = yes; then
95405 cat >>confdefs.h <<_ACEOF
95406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95407 _ACEOF
95410 done
95420 echo "$as_me:$LINENO: checking for modff declaration" >&5
95421 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95422 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95423 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95424 echo $ECHO_N "(cached) $ECHO_C" >&6
95425 else
95429 ac_ext=cc
95430 ac_cpp='$CXXCPP $CPPFLAGS'
95431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95435 cat >conftest.$ac_ext <<_ACEOF
95436 /* confdefs.h. */
95437 _ACEOF
95438 cat confdefs.h >>conftest.$ac_ext
95439 cat >>conftest.$ac_ext <<_ACEOF
95440 /* end confdefs.h. */
95441 #include <math.h>
95443 main ()
95445 modff(0, 0);
95447 return 0;
95449 _ACEOF
95450 rm -f conftest.$ac_objext
95451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95452 (eval $ac_compile) 2>conftest.er1
95453 ac_status=$?
95454 grep -v '^ *+' conftest.er1 >conftest.err
95455 rm -f conftest.er1
95456 cat conftest.err >&5
95457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95458 (exit $ac_status); } &&
95459 { ac_try='test -z "$ac_cxx_werror_flag"
95460 || test ! -s conftest.err'
95461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95462 (eval $ac_try) 2>&5
95463 ac_status=$?
95464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95465 (exit $ac_status); }; } &&
95466 { ac_try='test -s conftest.$ac_objext'
95467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95468 (eval $ac_try) 2>&5
95469 ac_status=$?
95470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95471 (exit $ac_status); }; }; then
95472 glibcxx_cv_func_modff_use=yes
95473 else
95474 echo "$as_me: failed program was:" >&5
95475 sed 's/^/| /' conftest.$ac_ext >&5
95477 glibcxx_cv_func_modff_use=no
95479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95480 ac_ext=c
95481 ac_cpp='$CPP $CPPFLAGS'
95482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95491 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95493 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95495 for ac_func in modff
95497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95498 echo "$as_me:$LINENO: checking for $ac_func" >&5
95499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95500 if eval "test \"\${$as_ac_var+set}\" = set"; then
95501 echo $ECHO_N "(cached) $ECHO_C" >&6
95502 else
95503 if test x$gcc_no_link = xyes; then
95504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95506 { (exit 1); exit 1; }; }
95508 cat >conftest.$ac_ext <<_ACEOF
95509 /* confdefs.h. */
95510 _ACEOF
95511 cat confdefs.h >>conftest.$ac_ext
95512 cat >>conftest.$ac_ext <<_ACEOF
95513 /* end confdefs.h. */
95514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95516 #define $ac_func innocuous_$ac_func
95518 /* System header to define __stub macros and hopefully few prototypes,
95519 which can conflict with char $ac_func (); below.
95520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95521 <limits.h> exists even on freestanding compilers. */
95523 #ifdef __STDC__
95524 # include <limits.h>
95525 #else
95526 # include <assert.h>
95527 #endif
95529 #undef $ac_func
95531 /* Override any gcc2 internal prototype to avoid an error. */
95532 #ifdef __cplusplus
95533 extern "C"
95535 #endif
95536 /* We use char because int might match the return type of a gcc2
95537 builtin and then its argument prototype would still apply. */
95538 char $ac_func ();
95539 /* The GNU C library defines this for functions which it implements
95540 to always fail with ENOSYS. Some functions are actually named
95541 something starting with __ and the normal name is an alias. */
95542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95543 choke me
95544 #else
95545 char (*f) () = $ac_func;
95546 #endif
95547 #ifdef __cplusplus
95549 #endif
95552 main ()
95554 return f != $ac_func;
95556 return 0;
95558 _ACEOF
95559 rm -f conftest.$ac_objext conftest$ac_exeext
95560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95561 (eval $ac_link) 2>conftest.er1
95562 ac_status=$?
95563 grep -v '^ *+' conftest.er1 >conftest.err
95564 rm -f conftest.er1
95565 cat conftest.err >&5
95566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95567 (exit $ac_status); } &&
95568 { ac_try='test -z "$ac_c_werror_flag"
95569 || test ! -s conftest.err'
95570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95571 (eval $ac_try) 2>&5
95572 ac_status=$?
95573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95574 (exit $ac_status); }; } &&
95575 { ac_try='test -s conftest$ac_exeext'
95576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95577 (eval $ac_try) 2>&5
95578 ac_status=$?
95579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95580 (exit $ac_status); }; }; then
95581 eval "$as_ac_var=yes"
95582 else
95583 echo "$as_me: failed program was:" >&5
95584 sed 's/^/| /' conftest.$ac_ext >&5
95586 eval "$as_ac_var=no"
95588 rm -f conftest.err conftest.$ac_objext \
95589 conftest$ac_exeext conftest.$ac_ext
95591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95593 if test `eval echo '${'$as_ac_var'}'` = yes; then
95594 cat >>confdefs.h <<_ACEOF
95595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95596 _ACEOF
95599 done
95601 else
95603 echo "$as_me:$LINENO: checking for _modff declaration" >&5
95604 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95605 if test x${glibcxx_cv_func__modff_use+set} != xset; then
95606 if test "${glibcxx_cv_func__modff_use+set}" = set; then
95607 echo $ECHO_N "(cached) $ECHO_C" >&6
95608 else
95612 ac_ext=cc
95613 ac_cpp='$CXXCPP $CPPFLAGS'
95614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95618 cat >conftest.$ac_ext <<_ACEOF
95619 /* confdefs.h. */
95620 _ACEOF
95621 cat confdefs.h >>conftest.$ac_ext
95622 cat >>conftest.$ac_ext <<_ACEOF
95623 /* end confdefs.h. */
95624 #include <math.h>
95626 main ()
95628 _modff(0, 0);
95630 return 0;
95632 _ACEOF
95633 rm -f conftest.$ac_objext
95634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95635 (eval $ac_compile) 2>conftest.er1
95636 ac_status=$?
95637 grep -v '^ *+' conftest.er1 >conftest.err
95638 rm -f conftest.er1
95639 cat conftest.err >&5
95640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95641 (exit $ac_status); } &&
95642 { ac_try='test -z "$ac_cxx_werror_flag"
95643 || test ! -s conftest.err'
95644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95645 (eval $ac_try) 2>&5
95646 ac_status=$?
95647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95648 (exit $ac_status); }; } &&
95649 { ac_try='test -s conftest.$ac_objext'
95650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95651 (eval $ac_try) 2>&5
95652 ac_status=$?
95653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95654 (exit $ac_status); }; }; then
95655 glibcxx_cv_func__modff_use=yes
95656 else
95657 echo "$as_me: failed program was:" >&5
95658 sed 's/^/| /' conftest.$ac_ext >&5
95660 glibcxx_cv_func__modff_use=no
95662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95663 ac_ext=c
95664 ac_cpp='$CPP $CPPFLAGS'
95665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
95674 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
95676 if test x$glibcxx_cv_func__modff_use = x"yes"; then
95678 for ac_func in _modff
95680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95681 echo "$as_me:$LINENO: checking for $ac_func" >&5
95682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95683 if eval "test \"\${$as_ac_var+set}\" = set"; then
95684 echo $ECHO_N "(cached) $ECHO_C" >&6
95685 else
95686 if test x$gcc_no_link = xyes; then
95687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95689 { (exit 1); exit 1; }; }
95691 cat >conftest.$ac_ext <<_ACEOF
95692 /* confdefs.h. */
95693 _ACEOF
95694 cat confdefs.h >>conftest.$ac_ext
95695 cat >>conftest.$ac_ext <<_ACEOF
95696 /* end confdefs.h. */
95697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95699 #define $ac_func innocuous_$ac_func
95701 /* System header to define __stub macros and hopefully few prototypes,
95702 which can conflict with char $ac_func (); below.
95703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95704 <limits.h> exists even on freestanding compilers. */
95706 #ifdef __STDC__
95707 # include <limits.h>
95708 #else
95709 # include <assert.h>
95710 #endif
95712 #undef $ac_func
95714 /* Override any gcc2 internal prototype to avoid an error. */
95715 #ifdef __cplusplus
95716 extern "C"
95718 #endif
95719 /* We use char because int might match the return type of a gcc2
95720 builtin and then its argument prototype would still apply. */
95721 char $ac_func ();
95722 /* The GNU C library defines this for functions which it implements
95723 to always fail with ENOSYS. Some functions are actually named
95724 something starting with __ and the normal name is an alias. */
95725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95726 choke me
95727 #else
95728 char (*f) () = $ac_func;
95729 #endif
95730 #ifdef __cplusplus
95732 #endif
95735 main ()
95737 return f != $ac_func;
95739 return 0;
95741 _ACEOF
95742 rm -f conftest.$ac_objext conftest$ac_exeext
95743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95744 (eval $ac_link) 2>conftest.er1
95745 ac_status=$?
95746 grep -v '^ *+' conftest.er1 >conftest.err
95747 rm -f conftest.er1
95748 cat conftest.err >&5
95749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95750 (exit $ac_status); } &&
95751 { ac_try='test -z "$ac_c_werror_flag"
95752 || test ! -s conftest.err'
95753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95754 (eval $ac_try) 2>&5
95755 ac_status=$?
95756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95757 (exit $ac_status); }; } &&
95758 { ac_try='test -s conftest$ac_exeext'
95759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95760 (eval $ac_try) 2>&5
95761 ac_status=$?
95762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95763 (exit $ac_status); }; }; then
95764 eval "$as_ac_var=yes"
95765 else
95766 echo "$as_me: failed program was:" >&5
95767 sed 's/^/| /' conftest.$ac_ext >&5
95769 eval "$as_ac_var=no"
95771 rm -f conftest.err conftest.$ac_objext \
95772 conftest$ac_exeext conftest.$ac_ext
95774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95776 if test `eval echo '${'$as_ac_var'}'` = yes; then
95777 cat >>confdefs.h <<_ACEOF
95778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95779 _ACEOF
95782 done
95792 echo "$as_me:$LINENO: checking for modf declaration" >&5
95793 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
95794 if test x${glibcxx_cv_func_modf_use+set} != xset; then
95795 if test "${glibcxx_cv_func_modf_use+set}" = set; then
95796 echo $ECHO_N "(cached) $ECHO_C" >&6
95797 else
95801 ac_ext=cc
95802 ac_cpp='$CXXCPP $CPPFLAGS'
95803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95807 cat >conftest.$ac_ext <<_ACEOF
95808 /* confdefs.h. */
95809 _ACEOF
95810 cat confdefs.h >>conftest.$ac_ext
95811 cat >>conftest.$ac_ext <<_ACEOF
95812 /* end confdefs.h. */
95813 #include <math.h>
95815 main ()
95817 modf(0, 0);
95819 return 0;
95821 _ACEOF
95822 rm -f conftest.$ac_objext
95823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95824 (eval $ac_compile) 2>conftest.er1
95825 ac_status=$?
95826 grep -v '^ *+' conftest.er1 >conftest.err
95827 rm -f conftest.er1
95828 cat conftest.err >&5
95829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95830 (exit $ac_status); } &&
95831 { ac_try='test -z "$ac_cxx_werror_flag"
95832 || test ! -s conftest.err'
95833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95834 (eval $ac_try) 2>&5
95835 ac_status=$?
95836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95837 (exit $ac_status); }; } &&
95838 { ac_try='test -s conftest.$ac_objext'
95839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95840 (eval $ac_try) 2>&5
95841 ac_status=$?
95842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95843 (exit $ac_status); }; }; then
95844 glibcxx_cv_func_modf_use=yes
95845 else
95846 echo "$as_me: failed program was:" >&5
95847 sed 's/^/| /' conftest.$ac_ext >&5
95849 glibcxx_cv_func_modf_use=no
95851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95852 ac_ext=c
95853 ac_cpp='$CPP $CPPFLAGS'
95854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
95863 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
95865 if test x$glibcxx_cv_func_modf_use = x"yes"; then
95867 for ac_func in modf
95869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95870 echo "$as_me:$LINENO: checking for $ac_func" >&5
95871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95872 if eval "test \"\${$as_ac_var+set}\" = set"; then
95873 echo $ECHO_N "(cached) $ECHO_C" >&6
95874 else
95875 if test x$gcc_no_link = xyes; then
95876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95878 { (exit 1); exit 1; }; }
95880 cat >conftest.$ac_ext <<_ACEOF
95881 /* confdefs.h. */
95882 _ACEOF
95883 cat confdefs.h >>conftest.$ac_ext
95884 cat >>conftest.$ac_ext <<_ACEOF
95885 /* end confdefs.h. */
95886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95888 #define $ac_func innocuous_$ac_func
95890 /* System header to define __stub macros and hopefully few prototypes,
95891 which can conflict with char $ac_func (); below.
95892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95893 <limits.h> exists even on freestanding compilers. */
95895 #ifdef __STDC__
95896 # include <limits.h>
95897 #else
95898 # include <assert.h>
95899 #endif
95901 #undef $ac_func
95903 /* Override any gcc2 internal prototype to avoid an error. */
95904 #ifdef __cplusplus
95905 extern "C"
95907 #endif
95908 /* We use char because int might match the return type of a gcc2
95909 builtin and then its argument prototype would still apply. */
95910 char $ac_func ();
95911 /* The GNU C library defines this for functions which it implements
95912 to always fail with ENOSYS. Some functions are actually named
95913 something starting with __ and the normal name is an alias. */
95914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95915 choke me
95916 #else
95917 char (*f) () = $ac_func;
95918 #endif
95919 #ifdef __cplusplus
95921 #endif
95924 main ()
95926 return f != $ac_func;
95928 return 0;
95930 _ACEOF
95931 rm -f conftest.$ac_objext conftest$ac_exeext
95932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95933 (eval $ac_link) 2>conftest.er1
95934 ac_status=$?
95935 grep -v '^ *+' conftest.er1 >conftest.err
95936 rm -f conftest.er1
95937 cat conftest.err >&5
95938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95939 (exit $ac_status); } &&
95940 { ac_try='test -z "$ac_c_werror_flag"
95941 || test ! -s conftest.err'
95942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95943 (eval $ac_try) 2>&5
95944 ac_status=$?
95945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95946 (exit $ac_status); }; } &&
95947 { ac_try='test -s conftest$ac_exeext'
95948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95949 (eval $ac_try) 2>&5
95950 ac_status=$?
95951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95952 (exit $ac_status); }; }; then
95953 eval "$as_ac_var=yes"
95954 else
95955 echo "$as_me: failed program was:" >&5
95956 sed 's/^/| /' conftest.$ac_ext >&5
95958 eval "$as_ac_var=no"
95960 rm -f conftest.err conftest.$ac_objext \
95961 conftest$ac_exeext conftest.$ac_ext
95963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95965 if test `eval echo '${'$as_ac_var'}'` = yes; then
95966 cat >>confdefs.h <<_ACEOF
95967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95968 _ACEOF
95971 done
95973 else
95975 echo "$as_me:$LINENO: checking for _modf declaration" >&5
95976 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
95977 if test x${glibcxx_cv_func__modf_use+set} != xset; then
95978 if test "${glibcxx_cv_func__modf_use+set}" = set; then
95979 echo $ECHO_N "(cached) $ECHO_C" >&6
95980 else
95984 ac_ext=cc
95985 ac_cpp='$CXXCPP $CPPFLAGS'
95986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95990 cat >conftest.$ac_ext <<_ACEOF
95991 /* confdefs.h. */
95992 _ACEOF
95993 cat confdefs.h >>conftest.$ac_ext
95994 cat >>conftest.$ac_ext <<_ACEOF
95995 /* end confdefs.h. */
95996 #include <math.h>
95998 main ()
96000 _modf(0, 0);
96002 return 0;
96004 _ACEOF
96005 rm -f conftest.$ac_objext
96006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96007 (eval $ac_compile) 2>conftest.er1
96008 ac_status=$?
96009 grep -v '^ *+' conftest.er1 >conftest.err
96010 rm -f conftest.er1
96011 cat conftest.err >&5
96012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96013 (exit $ac_status); } &&
96014 { ac_try='test -z "$ac_cxx_werror_flag"
96015 || test ! -s conftest.err'
96016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96017 (eval $ac_try) 2>&5
96018 ac_status=$?
96019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96020 (exit $ac_status); }; } &&
96021 { ac_try='test -s conftest.$ac_objext'
96022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96023 (eval $ac_try) 2>&5
96024 ac_status=$?
96025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96026 (exit $ac_status); }; }; then
96027 glibcxx_cv_func__modf_use=yes
96028 else
96029 echo "$as_me: failed program was:" >&5
96030 sed 's/^/| /' conftest.$ac_ext >&5
96032 glibcxx_cv_func__modf_use=no
96034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96035 ac_ext=c
96036 ac_cpp='$CPP $CPPFLAGS'
96037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96046 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96048 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96050 for ac_func in _modf
96052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96053 echo "$as_me:$LINENO: checking for $ac_func" >&5
96054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96055 if eval "test \"\${$as_ac_var+set}\" = set"; then
96056 echo $ECHO_N "(cached) $ECHO_C" >&6
96057 else
96058 if test x$gcc_no_link = xyes; then
96059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96061 { (exit 1); exit 1; }; }
96063 cat >conftest.$ac_ext <<_ACEOF
96064 /* confdefs.h. */
96065 _ACEOF
96066 cat confdefs.h >>conftest.$ac_ext
96067 cat >>conftest.$ac_ext <<_ACEOF
96068 /* end confdefs.h. */
96069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96071 #define $ac_func innocuous_$ac_func
96073 /* System header to define __stub macros and hopefully few prototypes,
96074 which can conflict with char $ac_func (); below.
96075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96076 <limits.h> exists even on freestanding compilers. */
96078 #ifdef __STDC__
96079 # include <limits.h>
96080 #else
96081 # include <assert.h>
96082 #endif
96084 #undef $ac_func
96086 /* Override any gcc2 internal prototype to avoid an error. */
96087 #ifdef __cplusplus
96088 extern "C"
96090 #endif
96091 /* We use char because int might match the return type of a gcc2
96092 builtin and then its argument prototype would still apply. */
96093 char $ac_func ();
96094 /* The GNU C library defines this for functions which it implements
96095 to always fail with ENOSYS. Some functions are actually named
96096 something starting with __ and the normal name is an alias. */
96097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96098 choke me
96099 #else
96100 char (*f) () = $ac_func;
96101 #endif
96102 #ifdef __cplusplus
96104 #endif
96107 main ()
96109 return f != $ac_func;
96111 return 0;
96113 _ACEOF
96114 rm -f conftest.$ac_objext conftest$ac_exeext
96115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96116 (eval $ac_link) 2>conftest.er1
96117 ac_status=$?
96118 grep -v '^ *+' conftest.er1 >conftest.err
96119 rm -f conftest.er1
96120 cat conftest.err >&5
96121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96122 (exit $ac_status); } &&
96123 { ac_try='test -z "$ac_c_werror_flag"
96124 || test ! -s conftest.err'
96125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96126 (eval $ac_try) 2>&5
96127 ac_status=$?
96128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96129 (exit $ac_status); }; } &&
96130 { ac_try='test -s conftest$ac_exeext'
96131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96132 (eval $ac_try) 2>&5
96133 ac_status=$?
96134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96135 (exit $ac_status); }; }; then
96136 eval "$as_ac_var=yes"
96137 else
96138 echo "$as_me: failed program was:" >&5
96139 sed 's/^/| /' conftest.$ac_ext >&5
96141 eval "$as_ac_var=no"
96143 rm -f conftest.err conftest.$ac_objext \
96144 conftest$ac_exeext conftest.$ac_ext
96146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96148 if test `eval echo '${'$as_ac_var'}'` = yes; then
96149 cat >>confdefs.h <<_ACEOF
96150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96151 _ACEOF
96154 done
96164 echo "$as_me:$LINENO: checking for powf declaration" >&5
96165 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96166 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96167 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96168 echo $ECHO_N "(cached) $ECHO_C" >&6
96169 else
96173 ac_ext=cc
96174 ac_cpp='$CXXCPP $CPPFLAGS'
96175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96179 cat >conftest.$ac_ext <<_ACEOF
96180 /* confdefs.h. */
96181 _ACEOF
96182 cat confdefs.h >>conftest.$ac_ext
96183 cat >>conftest.$ac_ext <<_ACEOF
96184 /* end confdefs.h. */
96185 #include <math.h>
96187 main ()
96189 powf(0, 0);
96191 return 0;
96193 _ACEOF
96194 rm -f conftest.$ac_objext
96195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96196 (eval $ac_compile) 2>conftest.er1
96197 ac_status=$?
96198 grep -v '^ *+' conftest.er1 >conftest.err
96199 rm -f conftest.er1
96200 cat conftest.err >&5
96201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96202 (exit $ac_status); } &&
96203 { ac_try='test -z "$ac_cxx_werror_flag"
96204 || test ! -s conftest.err'
96205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96206 (eval $ac_try) 2>&5
96207 ac_status=$?
96208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96209 (exit $ac_status); }; } &&
96210 { ac_try='test -s conftest.$ac_objext'
96211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96212 (eval $ac_try) 2>&5
96213 ac_status=$?
96214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96215 (exit $ac_status); }; }; then
96216 glibcxx_cv_func_powf_use=yes
96217 else
96218 echo "$as_me: failed program was:" >&5
96219 sed 's/^/| /' conftest.$ac_ext >&5
96221 glibcxx_cv_func_powf_use=no
96223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96224 ac_ext=c
96225 ac_cpp='$CPP $CPPFLAGS'
96226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96235 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96237 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96239 for ac_func in powf
96241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96242 echo "$as_me:$LINENO: checking for $ac_func" >&5
96243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96244 if eval "test \"\${$as_ac_var+set}\" = set"; then
96245 echo $ECHO_N "(cached) $ECHO_C" >&6
96246 else
96247 if test x$gcc_no_link = xyes; then
96248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96250 { (exit 1); exit 1; }; }
96252 cat >conftest.$ac_ext <<_ACEOF
96253 /* confdefs.h. */
96254 _ACEOF
96255 cat confdefs.h >>conftest.$ac_ext
96256 cat >>conftest.$ac_ext <<_ACEOF
96257 /* end confdefs.h. */
96258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96260 #define $ac_func innocuous_$ac_func
96262 /* System header to define __stub macros and hopefully few prototypes,
96263 which can conflict with char $ac_func (); below.
96264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96265 <limits.h> exists even on freestanding compilers. */
96267 #ifdef __STDC__
96268 # include <limits.h>
96269 #else
96270 # include <assert.h>
96271 #endif
96273 #undef $ac_func
96275 /* Override any gcc2 internal prototype to avoid an error. */
96276 #ifdef __cplusplus
96277 extern "C"
96279 #endif
96280 /* We use char because int might match the return type of a gcc2
96281 builtin and then its argument prototype would still apply. */
96282 char $ac_func ();
96283 /* The GNU C library defines this for functions which it implements
96284 to always fail with ENOSYS. Some functions are actually named
96285 something starting with __ and the normal name is an alias. */
96286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96287 choke me
96288 #else
96289 char (*f) () = $ac_func;
96290 #endif
96291 #ifdef __cplusplus
96293 #endif
96296 main ()
96298 return f != $ac_func;
96300 return 0;
96302 _ACEOF
96303 rm -f conftest.$ac_objext conftest$ac_exeext
96304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96305 (eval $ac_link) 2>conftest.er1
96306 ac_status=$?
96307 grep -v '^ *+' conftest.er1 >conftest.err
96308 rm -f conftest.er1
96309 cat conftest.err >&5
96310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96311 (exit $ac_status); } &&
96312 { ac_try='test -z "$ac_c_werror_flag"
96313 || test ! -s conftest.err'
96314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96315 (eval $ac_try) 2>&5
96316 ac_status=$?
96317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96318 (exit $ac_status); }; } &&
96319 { ac_try='test -s conftest$ac_exeext'
96320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96321 (eval $ac_try) 2>&5
96322 ac_status=$?
96323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96324 (exit $ac_status); }; }; then
96325 eval "$as_ac_var=yes"
96326 else
96327 echo "$as_me: failed program was:" >&5
96328 sed 's/^/| /' conftest.$ac_ext >&5
96330 eval "$as_ac_var=no"
96332 rm -f conftest.err conftest.$ac_objext \
96333 conftest$ac_exeext conftest.$ac_ext
96335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96337 if test `eval echo '${'$as_ac_var'}'` = yes; then
96338 cat >>confdefs.h <<_ACEOF
96339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96340 _ACEOF
96343 done
96345 else
96347 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96348 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96349 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96350 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96351 echo $ECHO_N "(cached) $ECHO_C" >&6
96352 else
96356 ac_ext=cc
96357 ac_cpp='$CXXCPP $CPPFLAGS'
96358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96362 cat >conftest.$ac_ext <<_ACEOF
96363 /* confdefs.h. */
96364 _ACEOF
96365 cat confdefs.h >>conftest.$ac_ext
96366 cat >>conftest.$ac_ext <<_ACEOF
96367 /* end confdefs.h. */
96368 #include <math.h>
96370 main ()
96372 _powf(0, 0);
96374 return 0;
96376 _ACEOF
96377 rm -f conftest.$ac_objext
96378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96379 (eval $ac_compile) 2>conftest.er1
96380 ac_status=$?
96381 grep -v '^ *+' conftest.er1 >conftest.err
96382 rm -f conftest.er1
96383 cat conftest.err >&5
96384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96385 (exit $ac_status); } &&
96386 { ac_try='test -z "$ac_cxx_werror_flag"
96387 || test ! -s conftest.err'
96388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96389 (eval $ac_try) 2>&5
96390 ac_status=$?
96391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96392 (exit $ac_status); }; } &&
96393 { ac_try='test -s conftest.$ac_objext'
96394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96395 (eval $ac_try) 2>&5
96396 ac_status=$?
96397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96398 (exit $ac_status); }; }; then
96399 glibcxx_cv_func__powf_use=yes
96400 else
96401 echo "$as_me: failed program was:" >&5
96402 sed 's/^/| /' conftest.$ac_ext >&5
96404 glibcxx_cv_func__powf_use=no
96406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96407 ac_ext=c
96408 ac_cpp='$CPP $CPPFLAGS'
96409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96418 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96420 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96422 for ac_func in _powf
96424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96425 echo "$as_me:$LINENO: checking for $ac_func" >&5
96426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96427 if eval "test \"\${$as_ac_var+set}\" = set"; then
96428 echo $ECHO_N "(cached) $ECHO_C" >&6
96429 else
96430 if test x$gcc_no_link = xyes; then
96431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96433 { (exit 1); exit 1; }; }
96435 cat >conftest.$ac_ext <<_ACEOF
96436 /* confdefs.h. */
96437 _ACEOF
96438 cat confdefs.h >>conftest.$ac_ext
96439 cat >>conftest.$ac_ext <<_ACEOF
96440 /* end confdefs.h. */
96441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96443 #define $ac_func innocuous_$ac_func
96445 /* System header to define __stub macros and hopefully few prototypes,
96446 which can conflict with char $ac_func (); below.
96447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96448 <limits.h> exists even on freestanding compilers. */
96450 #ifdef __STDC__
96451 # include <limits.h>
96452 #else
96453 # include <assert.h>
96454 #endif
96456 #undef $ac_func
96458 /* Override any gcc2 internal prototype to avoid an error. */
96459 #ifdef __cplusplus
96460 extern "C"
96462 #endif
96463 /* We use char because int might match the return type of a gcc2
96464 builtin and then its argument prototype would still apply. */
96465 char $ac_func ();
96466 /* The GNU C library defines this for functions which it implements
96467 to always fail with ENOSYS. Some functions are actually named
96468 something starting with __ and the normal name is an alias. */
96469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96470 choke me
96471 #else
96472 char (*f) () = $ac_func;
96473 #endif
96474 #ifdef __cplusplus
96476 #endif
96479 main ()
96481 return f != $ac_func;
96483 return 0;
96485 _ACEOF
96486 rm -f conftest.$ac_objext conftest$ac_exeext
96487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96488 (eval $ac_link) 2>conftest.er1
96489 ac_status=$?
96490 grep -v '^ *+' conftest.er1 >conftest.err
96491 rm -f conftest.er1
96492 cat conftest.err >&5
96493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96494 (exit $ac_status); } &&
96495 { ac_try='test -z "$ac_c_werror_flag"
96496 || test ! -s conftest.err'
96497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96498 (eval $ac_try) 2>&5
96499 ac_status=$?
96500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96501 (exit $ac_status); }; } &&
96502 { ac_try='test -s conftest$ac_exeext'
96503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96504 (eval $ac_try) 2>&5
96505 ac_status=$?
96506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96507 (exit $ac_status); }; }; then
96508 eval "$as_ac_var=yes"
96509 else
96510 echo "$as_me: failed program was:" >&5
96511 sed 's/^/| /' conftest.$ac_ext >&5
96513 eval "$as_ac_var=no"
96515 rm -f conftest.err conftest.$ac_objext \
96516 conftest$ac_exeext conftest.$ac_ext
96518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96520 if test `eval echo '${'$as_ac_var'}'` = yes; then
96521 cat >>confdefs.h <<_ACEOF
96522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96523 _ACEOF
96526 done
96536 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96537 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96538 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96539 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96540 echo $ECHO_N "(cached) $ECHO_C" >&6
96541 else
96545 ac_ext=cc
96546 ac_cpp='$CXXCPP $CPPFLAGS'
96547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96551 cat >conftest.$ac_ext <<_ACEOF
96552 /* confdefs.h. */
96553 _ACEOF
96554 cat confdefs.h >>conftest.$ac_ext
96555 cat >>conftest.$ac_ext <<_ACEOF
96556 /* end confdefs.h. */
96557 #include <math.h>
96558 #ifdef HAVE_IEEEFP_H
96559 #include <ieeefp.h>
96560 #endif
96563 main ()
96565 sqrtf(0);
96567 return 0;
96569 _ACEOF
96570 rm -f conftest.$ac_objext
96571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96572 (eval $ac_compile) 2>conftest.er1
96573 ac_status=$?
96574 grep -v '^ *+' conftest.er1 >conftest.err
96575 rm -f conftest.er1
96576 cat conftest.err >&5
96577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96578 (exit $ac_status); } &&
96579 { ac_try='test -z "$ac_cxx_werror_flag"
96580 || test ! -s conftest.err'
96581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96582 (eval $ac_try) 2>&5
96583 ac_status=$?
96584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96585 (exit $ac_status); }; } &&
96586 { ac_try='test -s conftest.$ac_objext'
96587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96588 (eval $ac_try) 2>&5
96589 ac_status=$?
96590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96591 (exit $ac_status); }; }; then
96592 glibcxx_cv_func_sqrtf_use=yes
96593 else
96594 echo "$as_me: failed program was:" >&5
96595 sed 's/^/| /' conftest.$ac_ext >&5
96597 glibcxx_cv_func_sqrtf_use=no
96599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96600 ac_ext=c
96601 ac_cpp='$CPP $CPPFLAGS'
96602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96610 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96611 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96613 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96615 for ac_func in sqrtf
96617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96618 echo "$as_me:$LINENO: checking for $ac_func" >&5
96619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96620 if eval "test \"\${$as_ac_var+set}\" = set"; then
96621 echo $ECHO_N "(cached) $ECHO_C" >&6
96622 else
96623 if test x$gcc_no_link = xyes; then
96624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96626 { (exit 1); exit 1; }; }
96628 cat >conftest.$ac_ext <<_ACEOF
96629 /* confdefs.h. */
96630 _ACEOF
96631 cat confdefs.h >>conftest.$ac_ext
96632 cat >>conftest.$ac_ext <<_ACEOF
96633 /* end confdefs.h. */
96634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96636 #define $ac_func innocuous_$ac_func
96638 /* System header to define __stub macros and hopefully few prototypes,
96639 which can conflict with char $ac_func (); below.
96640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96641 <limits.h> exists even on freestanding compilers. */
96643 #ifdef __STDC__
96644 # include <limits.h>
96645 #else
96646 # include <assert.h>
96647 #endif
96649 #undef $ac_func
96651 /* Override any gcc2 internal prototype to avoid an error. */
96652 #ifdef __cplusplus
96653 extern "C"
96655 #endif
96656 /* We use char because int might match the return type of a gcc2
96657 builtin and then its argument prototype would still apply. */
96658 char $ac_func ();
96659 /* The GNU C library defines this for functions which it implements
96660 to always fail with ENOSYS. Some functions are actually named
96661 something starting with __ and the normal name is an alias. */
96662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96663 choke me
96664 #else
96665 char (*f) () = $ac_func;
96666 #endif
96667 #ifdef __cplusplus
96669 #endif
96672 main ()
96674 return f != $ac_func;
96676 return 0;
96678 _ACEOF
96679 rm -f conftest.$ac_objext conftest$ac_exeext
96680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96681 (eval $ac_link) 2>conftest.er1
96682 ac_status=$?
96683 grep -v '^ *+' conftest.er1 >conftest.err
96684 rm -f conftest.er1
96685 cat conftest.err >&5
96686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96687 (exit $ac_status); } &&
96688 { ac_try='test -z "$ac_c_werror_flag"
96689 || test ! -s conftest.err'
96690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96691 (eval $ac_try) 2>&5
96692 ac_status=$?
96693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96694 (exit $ac_status); }; } &&
96695 { ac_try='test -s conftest$ac_exeext'
96696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96697 (eval $ac_try) 2>&5
96698 ac_status=$?
96699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96700 (exit $ac_status); }; }; then
96701 eval "$as_ac_var=yes"
96702 else
96703 echo "$as_me: failed program was:" >&5
96704 sed 's/^/| /' conftest.$ac_ext >&5
96706 eval "$as_ac_var=no"
96708 rm -f conftest.err conftest.$ac_objext \
96709 conftest$ac_exeext conftest.$ac_ext
96711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96713 if test `eval echo '${'$as_ac_var'}'` = yes; then
96714 cat >>confdefs.h <<_ACEOF
96715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96716 _ACEOF
96719 done
96721 else
96723 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96724 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96725 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96726 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96727 echo $ECHO_N "(cached) $ECHO_C" >&6
96728 else
96732 ac_ext=cc
96733 ac_cpp='$CXXCPP $CPPFLAGS'
96734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96738 cat >conftest.$ac_ext <<_ACEOF
96739 /* confdefs.h. */
96740 _ACEOF
96741 cat confdefs.h >>conftest.$ac_ext
96742 cat >>conftest.$ac_ext <<_ACEOF
96743 /* end confdefs.h. */
96744 #include <math.h>
96745 #ifdef HAVE_IEEEFP_H
96746 #include <ieeefp.h>
96747 #endif
96750 main ()
96752 _sqrtf(0);
96754 return 0;
96756 _ACEOF
96757 rm -f conftest.$ac_objext
96758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96759 (eval $ac_compile) 2>conftest.er1
96760 ac_status=$?
96761 grep -v '^ *+' conftest.er1 >conftest.err
96762 rm -f conftest.er1
96763 cat conftest.err >&5
96764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96765 (exit $ac_status); } &&
96766 { ac_try='test -z "$ac_cxx_werror_flag"
96767 || test ! -s conftest.err'
96768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96769 (eval $ac_try) 2>&5
96770 ac_status=$?
96771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96772 (exit $ac_status); }; } &&
96773 { ac_try='test -s conftest.$ac_objext'
96774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96775 (eval $ac_try) 2>&5
96776 ac_status=$?
96777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96778 (exit $ac_status); }; }; then
96779 glibcxx_cv_func__sqrtf_use=yes
96780 else
96781 echo "$as_me: failed program was:" >&5
96782 sed 's/^/| /' conftest.$ac_ext >&5
96784 glibcxx_cv_func__sqrtf_use=no
96786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96787 ac_ext=c
96788 ac_cpp='$CPP $CPPFLAGS'
96789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96797 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
96798 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
96800 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
96802 for ac_func in _sqrtf
96804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96805 echo "$as_me:$LINENO: checking for $ac_func" >&5
96806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96807 if eval "test \"\${$as_ac_var+set}\" = set"; then
96808 echo $ECHO_N "(cached) $ECHO_C" >&6
96809 else
96810 if test x$gcc_no_link = xyes; then
96811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96813 { (exit 1); exit 1; }; }
96815 cat >conftest.$ac_ext <<_ACEOF
96816 /* confdefs.h. */
96817 _ACEOF
96818 cat confdefs.h >>conftest.$ac_ext
96819 cat >>conftest.$ac_ext <<_ACEOF
96820 /* end confdefs.h. */
96821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96823 #define $ac_func innocuous_$ac_func
96825 /* System header to define __stub macros and hopefully few prototypes,
96826 which can conflict with char $ac_func (); below.
96827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96828 <limits.h> exists even on freestanding compilers. */
96830 #ifdef __STDC__
96831 # include <limits.h>
96832 #else
96833 # include <assert.h>
96834 #endif
96836 #undef $ac_func
96838 /* Override any gcc2 internal prototype to avoid an error. */
96839 #ifdef __cplusplus
96840 extern "C"
96842 #endif
96843 /* We use char because int might match the return type of a gcc2
96844 builtin and then its argument prototype would still apply. */
96845 char $ac_func ();
96846 /* The GNU C library defines this for functions which it implements
96847 to always fail with ENOSYS. Some functions are actually named
96848 something starting with __ and the normal name is an alias. */
96849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96850 choke me
96851 #else
96852 char (*f) () = $ac_func;
96853 #endif
96854 #ifdef __cplusplus
96856 #endif
96859 main ()
96861 return f != $ac_func;
96863 return 0;
96865 _ACEOF
96866 rm -f conftest.$ac_objext conftest$ac_exeext
96867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96868 (eval $ac_link) 2>conftest.er1
96869 ac_status=$?
96870 grep -v '^ *+' conftest.er1 >conftest.err
96871 rm -f conftest.er1
96872 cat conftest.err >&5
96873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96874 (exit $ac_status); } &&
96875 { ac_try='test -z "$ac_c_werror_flag"
96876 || test ! -s conftest.err'
96877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96878 (eval $ac_try) 2>&5
96879 ac_status=$?
96880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96881 (exit $ac_status); }; } &&
96882 { ac_try='test -s conftest$ac_exeext'
96883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96884 (eval $ac_try) 2>&5
96885 ac_status=$?
96886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96887 (exit $ac_status); }; }; then
96888 eval "$as_ac_var=yes"
96889 else
96890 echo "$as_me: failed program was:" >&5
96891 sed 's/^/| /' conftest.$ac_ext >&5
96893 eval "$as_ac_var=no"
96895 rm -f conftest.err conftest.$ac_objext \
96896 conftest$ac_exeext conftest.$ac_ext
96898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96900 if test `eval echo '${'$as_ac_var'}'` = yes; then
96901 cat >>confdefs.h <<_ACEOF
96902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96903 _ACEOF
96906 done
96916 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
96917 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
96918 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
96919 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
96920 echo $ECHO_N "(cached) $ECHO_C" >&6
96921 else
96925 ac_ext=cc
96926 ac_cpp='$CXXCPP $CPPFLAGS'
96927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96931 cat >conftest.$ac_ext <<_ACEOF
96932 /* confdefs.h. */
96933 _ACEOF
96934 cat confdefs.h >>conftest.$ac_ext
96935 cat >>conftest.$ac_ext <<_ACEOF
96936 /* end confdefs.h. */
96937 #include <math.h>
96939 main ()
96941 sincosf(0, 0, 0);
96943 return 0;
96945 _ACEOF
96946 rm -f conftest.$ac_objext
96947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96948 (eval $ac_compile) 2>conftest.er1
96949 ac_status=$?
96950 grep -v '^ *+' conftest.er1 >conftest.err
96951 rm -f conftest.er1
96952 cat conftest.err >&5
96953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96954 (exit $ac_status); } &&
96955 { ac_try='test -z "$ac_cxx_werror_flag"
96956 || test ! -s conftest.err'
96957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96958 (eval $ac_try) 2>&5
96959 ac_status=$?
96960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96961 (exit $ac_status); }; } &&
96962 { ac_try='test -s conftest.$ac_objext'
96963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96964 (eval $ac_try) 2>&5
96965 ac_status=$?
96966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96967 (exit $ac_status); }; }; then
96968 glibcxx_cv_func_sincosf_use=yes
96969 else
96970 echo "$as_me: failed program was:" >&5
96971 sed 's/^/| /' conftest.$ac_ext >&5
96973 glibcxx_cv_func_sincosf_use=no
96975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96976 ac_ext=c
96977 ac_cpp='$CPP $CPPFLAGS'
96978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96986 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
96987 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
96989 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
96991 for ac_func in sincosf
96993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96994 echo "$as_me:$LINENO: checking for $ac_func" >&5
96995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96996 if eval "test \"\${$as_ac_var+set}\" = set"; then
96997 echo $ECHO_N "(cached) $ECHO_C" >&6
96998 else
96999 if test x$gcc_no_link = xyes; then
97000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97002 { (exit 1); exit 1; }; }
97004 cat >conftest.$ac_ext <<_ACEOF
97005 /* confdefs.h. */
97006 _ACEOF
97007 cat confdefs.h >>conftest.$ac_ext
97008 cat >>conftest.$ac_ext <<_ACEOF
97009 /* end confdefs.h. */
97010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97012 #define $ac_func innocuous_$ac_func
97014 /* System header to define __stub macros and hopefully few prototypes,
97015 which can conflict with char $ac_func (); below.
97016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97017 <limits.h> exists even on freestanding compilers. */
97019 #ifdef __STDC__
97020 # include <limits.h>
97021 #else
97022 # include <assert.h>
97023 #endif
97025 #undef $ac_func
97027 /* Override any gcc2 internal prototype to avoid an error. */
97028 #ifdef __cplusplus
97029 extern "C"
97031 #endif
97032 /* We use char because int might match the return type of a gcc2
97033 builtin and then its argument prototype would still apply. */
97034 char $ac_func ();
97035 /* The GNU C library defines this for functions which it implements
97036 to always fail with ENOSYS. Some functions are actually named
97037 something starting with __ and the normal name is an alias. */
97038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97039 choke me
97040 #else
97041 char (*f) () = $ac_func;
97042 #endif
97043 #ifdef __cplusplus
97045 #endif
97048 main ()
97050 return f != $ac_func;
97052 return 0;
97054 _ACEOF
97055 rm -f conftest.$ac_objext conftest$ac_exeext
97056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97057 (eval $ac_link) 2>conftest.er1
97058 ac_status=$?
97059 grep -v '^ *+' conftest.er1 >conftest.err
97060 rm -f conftest.er1
97061 cat conftest.err >&5
97062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97063 (exit $ac_status); } &&
97064 { ac_try='test -z "$ac_c_werror_flag"
97065 || test ! -s conftest.err'
97066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97067 (eval $ac_try) 2>&5
97068 ac_status=$?
97069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97070 (exit $ac_status); }; } &&
97071 { ac_try='test -s conftest$ac_exeext'
97072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97073 (eval $ac_try) 2>&5
97074 ac_status=$?
97075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97076 (exit $ac_status); }; }; then
97077 eval "$as_ac_var=yes"
97078 else
97079 echo "$as_me: failed program was:" >&5
97080 sed 's/^/| /' conftest.$ac_ext >&5
97082 eval "$as_ac_var=no"
97084 rm -f conftest.err conftest.$ac_objext \
97085 conftest$ac_exeext conftest.$ac_ext
97087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97089 if test `eval echo '${'$as_ac_var'}'` = yes; then
97090 cat >>confdefs.h <<_ACEOF
97091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97092 _ACEOF
97095 done
97097 else
97099 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97100 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97101 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97102 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97103 echo $ECHO_N "(cached) $ECHO_C" >&6
97104 else
97108 ac_ext=cc
97109 ac_cpp='$CXXCPP $CPPFLAGS'
97110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97114 cat >conftest.$ac_ext <<_ACEOF
97115 /* confdefs.h. */
97116 _ACEOF
97117 cat confdefs.h >>conftest.$ac_ext
97118 cat >>conftest.$ac_ext <<_ACEOF
97119 /* end confdefs.h. */
97120 #include <math.h>
97122 main ()
97124 _sincosf(0, 0, 0);
97126 return 0;
97128 _ACEOF
97129 rm -f conftest.$ac_objext
97130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97131 (eval $ac_compile) 2>conftest.er1
97132 ac_status=$?
97133 grep -v '^ *+' conftest.er1 >conftest.err
97134 rm -f conftest.er1
97135 cat conftest.err >&5
97136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97137 (exit $ac_status); } &&
97138 { ac_try='test -z "$ac_cxx_werror_flag"
97139 || test ! -s conftest.err'
97140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97141 (eval $ac_try) 2>&5
97142 ac_status=$?
97143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97144 (exit $ac_status); }; } &&
97145 { ac_try='test -s conftest.$ac_objext'
97146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97147 (eval $ac_try) 2>&5
97148 ac_status=$?
97149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97150 (exit $ac_status); }; }; then
97151 glibcxx_cv_func__sincosf_use=yes
97152 else
97153 echo "$as_me: failed program was:" >&5
97154 sed 's/^/| /' conftest.$ac_ext >&5
97156 glibcxx_cv_func__sincosf_use=no
97158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97159 ac_ext=c
97160 ac_cpp='$CPP $CPPFLAGS'
97161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97170 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97172 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97174 for ac_func in _sincosf
97176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97177 echo "$as_me:$LINENO: checking for $ac_func" >&5
97178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97179 if eval "test \"\${$as_ac_var+set}\" = set"; then
97180 echo $ECHO_N "(cached) $ECHO_C" >&6
97181 else
97182 if test x$gcc_no_link = xyes; then
97183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97185 { (exit 1); exit 1; }; }
97187 cat >conftest.$ac_ext <<_ACEOF
97188 /* confdefs.h. */
97189 _ACEOF
97190 cat confdefs.h >>conftest.$ac_ext
97191 cat >>conftest.$ac_ext <<_ACEOF
97192 /* end confdefs.h. */
97193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97195 #define $ac_func innocuous_$ac_func
97197 /* System header to define __stub macros and hopefully few prototypes,
97198 which can conflict with char $ac_func (); below.
97199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97200 <limits.h> exists even on freestanding compilers. */
97202 #ifdef __STDC__
97203 # include <limits.h>
97204 #else
97205 # include <assert.h>
97206 #endif
97208 #undef $ac_func
97210 /* Override any gcc2 internal prototype to avoid an error. */
97211 #ifdef __cplusplus
97212 extern "C"
97214 #endif
97215 /* We use char because int might match the return type of a gcc2
97216 builtin and then its argument prototype would still apply. */
97217 char $ac_func ();
97218 /* The GNU C library defines this for functions which it implements
97219 to always fail with ENOSYS. Some functions are actually named
97220 something starting with __ and the normal name is an alias. */
97221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97222 choke me
97223 #else
97224 char (*f) () = $ac_func;
97225 #endif
97226 #ifdef __cplusplus
97228 #endif
97231 main ()
97233 return f != $ac_func;
97235 return 0;
97237 _ACEOF
97238 rm -f conftest.$ac_objext conftest$ac_exeext
97239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97240 (eval $ac_link) 2>conftest.er1
97241 ac_status=$?
97242 grep -v '^ *+' conftest.er1 >conftest.err
97243 rm -f conftest.er1
97244 cat conftest.err >&5
97245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97246 (exit $ac_status); } &&
97247 { ac_try='test -z "$ac_c_werror_flag"
97248 || test ! -s conftest.err'
97249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97250 (eval $ac_try) 2>&5
97251 ac_status=$?
97252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97253 (exit $ac_status); }; } &&
97254 { ac_try='test -s conftest$ac_exeext'
97255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97256 (eval $ac_try) 2>&5
97257 ac_status=$?
97258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97259 (exit $ac_status); }; }; then
97260 eval "$as_ac_var=yes"
97261 else
97262 echo "$as_me: failed program was:" >&5
97263 sed 's/^/| /' conftest.$ac_ext >&5
97265 eval "$as_ac_var=no"
97267 rm -f conftest.err conftest.$ac_objext \
97268 conftest$ac_exeext conftest.$ac_ext
97270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97272 if test `eval echo '${'$as_ac_var'}'` = yes; then
97273 cat >>confdefs.h <<_ACEOF
97274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97275 _ACEOF
97278 done
97288 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97289 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97290 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97291 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97292 echo $ECHO_N "(cached) $ECHO_C" >&6
97293 else
97297 ac_ext=cc
97298 ac_cpp='$CXXCPP $CPPFLAGS'
97299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97303 cat >conftest.$ac_ext <<_ACEOF
97304 /* confdefs.h. */
97305 _ACEOF
97306 cat confdefs.h >>conftest.$ac_ext
97307 cat >>conftest.$ac_ext <<_ACEOF
97308 /* end confdefs.h. */
97309 #include <math.h>
97310 #ifdef HAVE_IEEEFP_H
97311 #include <ieeefp.h>
97312 #endif
97315 main ()
97317 finitef(0);
97319 return 0;
97321 _ACEOF
97322 rm -f conftest.$ac_objext
97323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97324 (eval $ac_compile) 2>conftest.er1
97325 ac_status=$?
97326 grep -v '^ *+' conftest.er1 >conftest.err
97327 rm -f conftest.er1
97328 cat conftest.err >&5
97329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97330 (exit $ac_status); } &&
97331 { ac_try='test -z "$ac_cxx_werror_flag"
97332 || test ! -s conftest.err'
97333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97334 (eval $ac_try) 2>&5
97335 ac_status=$?
97336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97337 (exit $ac_status); }; } &&
97338 { ac_try='test -s conftest.$ac_objext'
97339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97340 (eval $ac_try) 2>&5
97341 ac_status=$?
97342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97343 (exit $ac_status); }; }; then
97344 glibcxx_cv_func_finitef_use=yes
97345 else
97346 echo "$as_me: failed program was:" >&5
97347 sed 's/^/| /' conftest.$ac_ext >&5
97349 glibcxx_cv_func_finitef_use=no
97351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97352 ac_ext=c
97353 ac_cpp='$CPP $CPPFLAGS'
97354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97363 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97365 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97367 for ac_func in finitef
97369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97370 echo "$as_me:$LINENO: checking for $ac_func" >&5
97371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97372 if eval "test \"\${$as_ac_var+set}\" = set"; then
97373 echo $ECHO_N "(cached) $ECHO_C" >&6
97374 else
97375 if test x$gcc_no_link = xyes; then
97376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97378 { (exit 1); exit 1; }; }
97380 cat >conftest.$ac_ext <<_ACEOF
97381 /* confdefs.h. */
97382 _ACEOF
97383 cat confdefs.h >>conftest.$ac_ext
97384 cat >>conftest.$ac_ext <<_ACEOF
97385 /* end confdefs.h. */
97386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97388 #define $ac_func innocuous_$ac_func
97390 /* System header to define __stub macros and hopefully few prototypes,
97391 which can conflict with char $ac_func (); below.
97392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97393 <limits.h> exists even on freestanding compilers. */
97395 #ifdef __STDC__
97396 # include <limits.h>
97397 #else
97398 # include <assert.h>
97399 #endif
97401 #undef $ac_func
97403 /* Override any gcc2 internal prototype to avoid an error. */
97404 #ifdef __cplusplus
97405 extern "C"
97407 #endif
97408 /* We use char because int might match the return type of a gcc2
97409 builtin and then its argument prototype would still apply. */
97410 char $ac_func ();
97411 /* The GNU C library defines this for functions which it implements
97412 to always fail with ENOSYS. Some functions are actually named
97413 something starting with __ and the normal name is an alias. */
97414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97415 choke me
97416 #else
97417 char (*f) () = $ac_func;
97418 #endif
97419 #ifdef __cplusplus
97421 #endif
97424 main ()
97426 return f != $ac_func;
97428 return 0;
97430 _ACEOF
97431 rm -f conftest.$ac_objext conftest$ac_exeext
97432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97433 (eval $ac_link) 2>conftest.er1
97434 ac_status=$?
97435 grep -v '^ *+' conftest.er1 >conftest.err
97436 rm -f conftest.er1
97437 cat conftest.err >&5
97438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97439 (exit $ac_status); } &&
97440 { ac_try='test -z "$ac_c_werror_flag"
97441 || test ! -s conftest.err'
97442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97443 (eval $ac_try) 2>&5
97444 ac_status=$?
97445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97446 (exit $ac_status); }; } &&
97447 { ac_try='test -s conftest$ac_exeext'
97448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97449 (eval $ac_try) 2>&5
97450 ac_status=$?
97451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97452 (exit $ac_status); }; }; then
97453 eval "$as_ac_var=yes"
97454 else
97455 echo "$as_me: failed program was:" >&5
97456 sed 's/^/| /' conftest.$ac_ext >&5
97458 eval "$as_ac_var=no"
97460 rm -f conftest.err conftest.$ac_objext \
97461 conftest$ac_exeext conftest.$ac_ext
97463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97465 if test `eval echo '${'$as_ac_var'}'` = yes; then
97466 cat >>confdefs.h <<_ACEOF
97467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97468 _ACEOF
97471 done
97473 else
97475 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97476 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97477 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97478 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97479 echo $ECHO_N "(cached) $ECHO_C" >&6
97480 else
97484 ac_ext=cc
97485 ac_cpp='$CXXCPP $CPPFLAGS'
97486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97490 cat >conftest.$ac_ext <<_ACEOF
97491 /* confdefs.h. */
97492 _ACEOF
97493 cat confdefs.h >>conftest.$ac_ext
97494 cat >>conftest.$ac_ext <<_ACEOF
97495 /* end confdefs.h. */
97496 #include <math.h>
97497 #ifdef HAVE_IEEEFP_H
97498 #include <ieeefp.h>
97499 #endif
97502 main ()
97504 _finitef(0);
97506 return 0;
97508 _ACEOF
97509 rm -f conftest.$ac_objext
97510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97511 (eval $ac_compile) 2>conftest.er1
97512 ac_status=$?
97513 grep -v '^ *+' conftest.er1 >conftest.err
97514 rm -f conftest.er1
97515 cat conftest.err >&5
97516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97517 (exit $ac_status); } &&
97518 { ac_try='test -z "$ac_cxx_werror_flag"
97519 || test ! -s conftest.err'
97520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97521 (eval $ac_try) 2>&5
97522 ac_status=$?
97523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97524 (exit $ac_status); }; } &&
97525 { ac_try='test -s conftest.$ac_objext'
97526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97527 (eval $ac_try) 2>&5
97528 ac_status=$?
97529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97530 (exit $ac_status); }; }; then
97531 glibcxx_cv_func__finitef_use=yes
97532 else
97533 echo "$as_me: failed program was:" >&5
97534 sed 's/^/| /' conftest.$ac_ext >&5
97536 glibcxx_cv_func__finitef_use=no
97538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97539 ac_ext=c
97540 ac_cpp='$CPP $CPPFLAGS'
97541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97550 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97552 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97554 for ac_func in _finitef
97556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97557 echo "$as_me:$LINENO: checking for $ac_func" >&5
97558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97559 if eval "test \"\${$as_ac_var+set}\" = set"; then
97560 echo $ECHO_N "(cached) $ECHO_C" >&6
97561 else
97562 if test x$gcc_no_link = xyes; then
97563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97565 { (exit 1); exit 1; }; }
97567 cat >conftest.$ac_ext <<_ACEOF
97568 /* confdefs.h. */
97569 _ACEOF
97570 cat confdefs.h >>conftest.$ac_ext
97571 cat >>conftest.$ac_ext <<_ACEOF
97572 /* end confdefs.h. */
97573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97575 #define $ac_func innocuous_$ac_func
97577 /* System header to define __stub macros and hopefully few prototypes,
97578 which can conflict with char $ac_func (); below.
97579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97580 <limits.h> exists even on freestanding compilers. */
97582 #ifdef __STDC__
97583 # include <limits.h>
97584 #else
97585 # include <assert.h>
97586 #endif
97588 #undef $ac_func
97590 /* Override any gcc2 internal prototype to avoid an error. */
97591 #ifdef __cplusplus
97592 extern "C"
97594 #endif
97595 /* We use char because int might match the return type of a gcc2
97596 builtin and then its argument prototype would still apply. */
97597 char $ac_func ();
97598 /* The GNU C library defines this for functions which it implements
97599 to always fail with ENOSYS. Some functions are actually named
97600 something starting with __ and the normal name is an alias. */
97601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97602 choke me
97603 #else
97604 char (*f) () = $ac_func;
97605 #endif
97606 #ifdef __cplusplus
97608 #endif
97611 main ()
97613 return f != $ac_func;
97615 return 0;
97617 _ACEOF
97618 rm -f conftest.$ac_objext conftest$ac_exeext
97619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97620 (eval $ac_link) 2>conftest.er1
97621 ac_status=$?
97622 grep -v '^ *+' conftest.er1 >conftest.err
97623 rm -f conftest.er1
97624 cat conftest.err >&5
97625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97626 (exit $ac_status); } &&
97627 { ac_try='test -z "$ac_c_werror_flag"
97628 || test ! -s conftest.err'
97629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97630 (eval $ac_try) 2>&5
97631 ac_status=$?
97632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97633 (exit $ac_status); }; } &&
97634 { ac_try='test -s conftest$ac_exeext'
97635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97636 (eval $ac_try) 2>&5
97637 ac_status=$?
97638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97639 (exit $ac_status); }; }; then
97640 eval "$as_ac_var=yes"
97641 else
97642 echo "$as_me: failed program was:" >&5
97643 sed 's/^/| /' conftest.$ac_ext >&5
97645 eval "$as_ac_var=no"
97647 rm -f conftest.err conftest.$ac_objext \
97648 conftest$ac_exeext conftest.$ac_ext
97650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97652 if test `eval echo '${'$as_ac_var'}'` = yes; then
97653 cat >>confdefs.h <<_ACEOF
97654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97655 _ACEOF
97658 done
97668 echo "$as_me:$LINENO: checking for long double trig functions" >&5
97669 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
97670 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
97671 echo $ECHO_N "(cached) $ECHO_C" >&6
97672 else
97676 ac_ext=cc
97677 ac_cpp='$CXXCPP $CPPFLAGS'
97678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97682 cat >conftest.$ac_ext <<_ACEOF
97683 /* confdefs.h. */
97684 _ACEOF
97685 cat confdefs.h >>conftest.$ac_ext
97686 cat >>conftest.$ac_ext <<_ACEOF
97687 /* end confdefs.h. */
97688 #include <math.h>
97690 main ()
97692 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97694 return 0;
97696 _ACEOF
97697 rm -f conftest.$ac_objext
97698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97699 (eval $ac_compile) 2>conftest.er1
97700 ac_status=$?
97701 grep -v '^ *+' conftest.er1 >conftest.err
97702 rm -f conftest.er1
97703 cat conftest.err >&5
97704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97705 (exit $ac_status); } &&
97706 { ac_try='test -z "$ac_cxx_werror_flag"
97707 || test ! -s conftest.err'
97708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97709 (eval $ac_try) 2>&5
97710 ac_status=$?
97711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97712 (exit $ac_status); }; } &&
97713 { ac_try='test -s conftest.$ac_objext'
97714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97715 (eval $ac_try) 2>&5
97716 ac_status=$?
97717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97718 (exit $ac_status); }; }; then
97719 glibcxx_cv_func_long_double_trig_use=yes
97720 else
97721 echo "$as_me: failed program was:" >&5
97722 sed 's/^/| /' conftest.$ac_ext >&5
97724 glibcxx_cv_func_long_double_trig_use=no
97726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97727 ac_ext=c
97728 ac_cpp='$CPP $CPPFLAGS'
97729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
97736 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
97737 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
97747 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
97749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97750 echo "$as_me:$LINENO: checking for $ac_func" >&5
97751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97752 if eval "test \"\${$as_ac_var+set}\" = set"; then
97753 echo $ECHO_N "(cached) $ECHO_C" >&6
97754 else
97755 if test x$gcc_no_link = xyes; then
97756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97758 { (exit 1); exit 1; }; }
97760 cat >conftest.$ac_ext <<_ACEOF
97761 /* confdefs.h. */
97762 _ACEOF
97763 cat confdefs.h >>conftest.$ac_ext
97764 cat >>conftest.$ac_ext <<_ACEOF
97765 /* end confdefs.h. */
97766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97768 #define $ac_func innocuous_$ac_func
97770 /* System header to define __stub macros and hopefully few prototypes,
97771 which can conflict with char $ac_func (); below.
97772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97773 <limits.h> exists even on freestanding compilers. */
97775 #ifdef __STDC__
97776 # include <limits.h>
97777 #else
97778 # include <assert.h>
97779 #endif
97781 #undef $ac_func
97783 /* Override any gcc2 internal prototype to avoid an error. */
97784 #ifdef __cplusplus
97785 extern "C"
97787 #endif
97788 /* We use char because int might match the return type of a gcc2
97789 builtin and then its argument prototype would still apply. */
97790 char $ac_func ();
97791 /* The GNU C library defines this for functions which it implements
97792 to always fail with ENOSYS. Some functions are actually named
97793 something starting with __ and the normal name is an alias. */
97794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97795 choke me
97796 #else
97797 char (*f) () = $ac_func;
97798 #endif
97799 #ifdef __cplusplus
97801 #endif
97804 main ()
97806 return f != $ac_func;
97808 return 0;
97810 _ACEOF
97811 rm -f conftest.$ac_objext conftest$ac_exeext
97812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97813 (eval $ac_link) 2>conftest.er1
97814 ac_status=$?
97815 grep -v '^ *+' conftest.er1 >conftest.err
97816 rm -f conftest.er1
97817 cat conftest.err >&5
97818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97819 (exit $ac_status); } &&
97820 { ac_try='test -z "$ac_c_werror_flag"
97821 || test ! -s conftest.err'
97822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97823 (eval $ac_try) 2>&5
97824 ac_status=$?
97825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97826 (exit $ac_status); }; } &&
97827 { ac_try='test -s conftest$ac_exeext'
97828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97829 (eval $ac_try) 2>&5
97830 ac_status=$?
97831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97832 (exit $ac_status); }; }; then
97833 eval "$as_ac_var=yes"
97834 else
97835 echo "$as_me: failed program was:" >&5
97836 sed 's/^/| /' conftest.$ac_ext >&5
97838 eval "$as_ac_var=no"
97840 rm -f conftest.err conftest.$ac_objext \
97841 conftest$ac_exeext conftest.$ac_ext
97843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97845 if test `eval echo '${'$as_ac_var'}'` = yes; then
97846 cat >>confdefs.h <<_ACEOF
97847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97848 _ACEOF
97851 done
97853 else
97854 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
97855 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
97856 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
97857 echo $ECHO_N "(cached) $ECHO_C" >&6
97858 else
97862 ac_ext=cc
97863 ac_cpp='$CXXCPP $CPPFLAGS'
97864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97868 cat >conftest.$ac_ext <<_ACEOF
97869 /* confdefs.h. */
97870 _ACEOF
97871 cat confdefs.h >>conftest.$ac_ext
97872 cat >>conftest.$ac_ext <<_ACEOF
97873 /* end confdefs.h. */
97874 #include <math.h>
97876 main ()
97878 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
97880 return 0;
97882 _ACEOF
97883 rm -f conftest.$ac_objext
97884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97885 (eval $ac_compile) 2>conftest.er1
97886 ac_status=$?
97887 grep -v '^ *+' conftest.er1 >conftest.err
97888 rm -f conftest.er1
97889 cat conftest.err >&5
97890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97891 (exit $ac_status); } &&
97892 { ac_try='test -z "$ac_cxx_werror_flag"
97893 || test ! -s conftest.err'
97894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97895 (eval $ac_try) 2>&5
97896 ac_status=$?
97897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97898 (exit $ac_status); }; } &&
97899 { ac_try='test -s conftest.$ac_objext'
97900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97901 (eval $ac_try) 2>&5
97902 ac_status=$?
97903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97904 (exit $ac_status); }; }; then
97905 glibcxx_cv_func__long_double_trig_use=yes
97906 else
97907 echo "$as_me: failed program was:" >&5
97908 sed 's/^/| /' conftest.$ac_ext >&5
97910 glibcxx_cv_func__long_double_trig_use=no
97912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97913 ac_ext=c
97914 ac_cpp='$CPP $CPPFLAGS'
97915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
97922 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
97923 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
97933 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
97935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97936 echo "$as_me:$LINENO: checking for $ac_func" >&5
97937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97938 if eval "test \"\${$as_ac_var+set}\" = set"; then
97939 echo $ECHO_N "(cached) $ECHO_C" >&6
97940 else
97941 if test x$gcc_no_link = xyes; then
97942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97944 { (exit 1); exit 1; }; }
97946 cat >conftest.$ac_ext <<_ACEOF
97947 /* confdefs.h. */
97948 _ACEOF
97949 cat confdefs.h >>conftest.$ac_ext
97950 cat >>conftest.$ac_ext <<_ACEOF
97951 /* end confdefs.h. */
97952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97954 #define $ac_func innocuous_$ac_func
97956 /* System header to define __stub macros and hopefully few prototypes,
97957 which can conflict with char $ac_func (); below.
97958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97959 <limits.h> exists even on freestanding compilers. */
97961 #ifdef __STDC__
97962 # include <limits.h>
97963 #else
97964 # include <assert.h>
97965 #endif
97967 #undef $ac_func
97969 /* Override any gcc2 internal prototype to avoid an error. */
97970 #ifdef __cplusplus
97971 extern "C"
97973 #endif
97974 /* We use char because int might match the return type of a gcc2
97975 builtin and then its argument prototype would still apply. */
97976 char $ac_func ();
97977 /* The GNU C library defines this for functions which it implements
97978 to always fail with ENOSYS. Some functions are actually named
97979 something starting with __ and the normal name is an alias. */
97980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97981 choke me
97982 #else
97983 char (*f) () = $ac_func;
97984 #endif
97985 #ifdef __cplusplus
97987 #endif
97990 main ()
97992 return f != $ac_func;
97994 return 0;
97996 _ACEOF
97997 rm -f conftest.$ac_objext conftest$ac_exeext
97998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97999 (eval $ac_link) 2>conftest.er1
98000 ac_status=$?
98001 grep -v '^ *+' conftest.er1 >conftest.err
98002 rm -f conftest.er1
98003 cat conftest.err >&5
98004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98005 (exit $ac_status); } &&
98006 { ac_try='test -z "$ac_c_werror_flag"
98007 || test ! -s conftest.err'
98008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98009 (eval $ac_try) 2>&5
98010 ac_status=$?
98011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98012 (exit $ac_status); }; } &&
98013 { ac_try='test -s conftest$ac_exeext'
98014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98015 (eval $ac_try) 2>&5
98016 ac_status=$?
98017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98018 (exit $ac_status); }; }; then
98019 eval "$as_ac_var=yes"
98020 else
98021 echo "$as_me: failed program was:" >&5
98022 sed 's/^/| /' conftest.$ac_ext >&5
98024 eval "$as_ac_var=no"
98026 rm -f conftest.err conftest.$ac_objext \
98027 conftest$ac_exeext conftest.$ac_ext
98029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98031 if test `eval echo '${'$as_ac_var'}'` = yes; then
98032 cat >>confdefs.h <<_ACEOF
98033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98034 _ACEOF
98037 done
98055 echo "$as_me:$LINENO: checking for long double round functions" >&5
98056 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98057 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98058 echo $ECHO_N "(cached) $ECHO_C" >&6
98059 else
98063 ac_ext=cc
98064 ac_cpp='$CXXCPP $CPPFLAGS'
98065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98069 cat >conftest.$ac_ext <<_ACEOF
98070 /* confdefs.h. */
98071 _ACEOF
98072 cat confdefs.h >>conftest.$ac_ext
98073 cat >>conftest.$ac_ext <<_ACEOF
98074 /* end confdefs.h. */
98075 #include <math.h>
98077 main ()
98079 ceill (0); floorl (0);
98081 return 0;
98083 _ACEOF
98084 rm -f conftest.$ac_objext
98085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98086 (eval $ac_compile) 2>conftest.er1
98087 ac_status=$?
98088 grep -v '^ *+' conftest.er1 >conftest.err
98089 rm -f conftest.er1
98090 cat conftest.err >&5
98091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98092 (exit $ac_status); } &&
98093 { ac_try='test -z "$ac_cxx_werror_flag"
98094 || test ! -s conftest.err'
98095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98096 (eval $ac_try) 2>&5
98097 ac_status=$?
98098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98099 (exit $ac_status); }; } &&
98100 { ac_try='test -s conftest.$ac_objext'
98101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98102 (eval $ac_try) 2>&5
98103 ac_status=$?
98104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98105 (exit $ac_status); }; }; then
98106 glibcxx_cv_func_long_double_round_use=yes
98107 else
98108 echo "$as_me: failed program was:" >&5
98109 sed 's/^/| /' conftest.$ac_ext >&5
98111 glibcxx_cv_func_long_double_round_use=no
98113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98114 ac_ext=c
98115 ac_cpp='$CPP $CPPFLAGS'
98116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98123 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98124 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98127 for ac_func in ceill floorl
98129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98130 echo "$as_me:$LINENO: checking for $ac_func" >&5
98131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98132 if eval "test \"\${$as_ac_var+set}\" = set"; then
98133 echo $ECHO_N "(cached) $ECHO_C" >&6
98134 else
98135 if test x$gcc_no_link = xyes; then
98136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98138 { (exit 1); exit 1; }; }
98140 cat >conftest.$ac_ext <<_ACEOF
98141 /* confdefs.h. */
98142 _ACEOF
98143 cat confdefs.h >>conftest.$ac_ext
98144 cat >>conftest.$ac_ext <<_ACEOF
98145 /* end confdefs.h. */
98146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98148 #define $ac_func innocuous_$ac_func
98150 /* System header to define __stub macros and hopefully few prototypes,
98151 which can conflict with char $ac_func (); below.
98152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98153 <limits.h> exists even on freestanding compilers. */
98155 #ifdef __STDC__
98156 # include <limits.h>
98157 #else
98158 # include <assert.h>
98159 #endif
98161 #undef $ac_func
98163 /* Override any gcc2 internal prototype to avoid an error. */
98164 #ifdef __cplusplus
98165 extern "C"
98167 #endif
98168 /* We use char because int might match the return type of a gcc2
98169 builtin and then its argument prototype would still apply. */
98170 char $ac_func ();
98171 /* The GNU C library defines this for functions which it implements
98172 to always fail with ENOSYS. Some functions are actually named
98173 something starting with __ and the normal name is an alias. */
98174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98175 choke me
98176 #else
98177 char (*f) () = $ac_func;
98178 #endif
98179 #ifdef __cplusplus
98181 #endif
98184 main ()
98186 return f != $ac_func;
98188 return 0;
98190 _ACEOF
98191 rm -f conftest.$ac_objext conftest$ac_exeext
98192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98193 (eval $ac_link) 2>conftest.er1
98194 ac_status=$?
98195 grep -v '^ *+' conftest.er1 >conftest.err
98196 rm -f conftest.er1
98197 cat conftest.err >&5
98198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98199 (exit $ac_status); } &&
98200 { ac_try='test -z "$ac_c_werror_flag"
98201 || test ! -s conftest.err'
98202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98203 (eval $ac_try) 2>&5
98204 ac_status=$?
98205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98206 (exit $ac_status); }; } &&
98207 { ac_try='test -s conftest$ac_exeext'
98208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98209 (eval $ac_try) 2>&5
98210 ac_status=$?
98211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98212 (exit $ac_status); }; }; then
98213 eval "$as_ac_var=yes"
98214 else
98215 echo "$as_me: failed program was:" >&5
98216 sed 's/^/| /' conftest.$ac_ext >&5
98218 eval "$as_ac_var=no"
98220 rm -f conftest.err conftest.$ac_objext \
98221 conftest$ac_exeext conftest.$ac_ext
98223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98225 if test `eval echo '${'$as_ac_var'}'` = yes; then
98226 cat >>confdefs.h <<_ACEOF
98227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98228 _ACEOF
98231 done
98233 else
98234 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98235 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98236 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98237 echo $ECHO_N "(cached) $ECHO_C" >&6
98238 else
98242 ac_ext=cc
98243 ac_cpp='$CXXCPP $CPPFLAGS'
98244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98248 cat >conftest.$ac_ext <<_ACEOF
98249 /* confdefs.h. */
98250 _ACEOF
98251 cat confdefs.h >>conftest.$ac_ext
98252 cat >>conftest.$ac_ext <<_ACEOF
98253 /* end confdefs.h. */
98254 #include <math.h>
98256 main ()
98258 _ceill (0); _floorl (0);
98260 return 0;
98262 _ACEOF
98263 rm -f conftest.$ac_objext
98264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98265 (eval $ac_compile) 2>conftest.er1
98266 ac_status=$?
98267 grep -v '^ *+' conftest.er1 >conftest.err
98268 rm -f conftest.er1
98269 cat conftest.err >&5
98270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98271 (exit $ac_status); } &&
98272 { ac_try='test -z "$ac_cxx_werror_flag"
98273 || test ! -s conftest.err'
98274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98275 (eval $ac_try) 2>&5
98276 ac_status=$?
98277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98278 (exit $ac_status); }; } &&
98279 { ac_try='test -s conftest.$ac_objext'
98280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98281 (eval $ac_try) 2>&5
98282 ac_status=$?
98283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98284 (exit $ac_status); }; }; then
98285 glibcxx_cv_func__long_double_round_use=yes
98286 else
98287 echo "$as_me: failed program was:" >&5
98288 sed 's/^/| /' conftest.$ac_ext >&5
98290 glibcxx_cv_func__long_double_round_use=no
98292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98293 ac_ext=c
98294 ac_cpp='$CPP $CPPFLAGS'
98295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98302 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98303 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98306 for ac_func in _ceill _floorl
98308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98309 echo "$as_me:$LINENO: checking for $ac_func" >&5
98310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98311 if eval "test \"\${$as_ac_var+set}\" = set"; then
98312 echo $ECHO_N "(cached) $ECHO_C" >&6
98313 else
98314 if test x$gcc_no_link = xyes; then
98315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98317 { (exit 1); exit 1; }; }
98319 cat >conftest.$ac_ext <<_ACEOF
98320 /* confdefs.h. */
98321 _ACEOF
98322 cat confdefs.h >>conftest.$ac_ext
98323 cat >>conftest.$ac_ext <<_ACEOF
98324 /* end confdefs.h. */
98325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98327 #define $ac_func innocuous_$ac_func
98329 /* System header to define __stub macros and hopefully few prototypes,
98330 which can conflict with char $ac_func (); below.
98331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98332 <limits.h> exists even on freestanding compilers. */
98334 #ifdef __STDC__
98335 # include <limits.h>
98336 #else
98337 # include <assert.h>
98338 #endif
98340 #undef $ac_func
98342 /* Override any gcc2 internal prototype to avoid an error. */
98343 #ifdef __cplusplus
98344 extern "C"
98346 #endif
98347 /* We use char because int might match the return type of a gcc2
98348 builtin and then its argument prototype would still apply. */
98349 char $ac_func ();
98350 /* The GNU C library defines this for functions which it implements
98351 to always fail with ENOSYS. Some functions are actually named
98352 something starting with __ and the normal name is an alias. */
98353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98354 choke me
98355 #else
98356 char (*f) () = $ac_func;
98357 #endif
98358 #ifdef __cplusplus
98360 #endif
98363 main ()
98365 return f != $ac_func;
98367 return 0;
98369 _ACEOF
98370 rm -f conftest.$ac_objext conftest$ac_exeext
98371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98372 (eval $ac_link) 2>conftest.er1
98373 ac_status=$?
98374 grep -v '^ *+' conftest.er1 >conftest.err
98375 rm -f conftest.er1
98376 cat conftest.err >&5
98377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98378 (exit $ac_status); } &&
98379 { ac_try='test -z "$ac_c_werror_flag"
98380 || test ! -s conftest.err'
98381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98382 (eval $ac_try) 2>&5
98383 ac_status=$?
98384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98385 (exit $ac_status); }; } &&
98386 { ac_try='test -s conftest$ac_exeext'
98387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98388 (eval $ac_try) 2>&5
98389 ac_status=$?
98390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98391 (exit $ac_status); }; }; then
98392 eval "$as_ac_var=yes"
98393 else
98394 echo "$as_me: failed program was:" >&5
98395 sed 's/^/| /' conftest.$ac_ext >&5
98397 eval "$as_ac_var=no"
98399 rm -f conftest.err conftest.$ac_objext \
98400 conftest$ac_exeext conftest.$ac_ext
98402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98404 if test `eval echo '${'$as_ac_var'}'` = yes; then
98405 cat >>confdefs.h <<_ACEOF
98406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98407 _ACEOF
98410 done
98422 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98423 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98424 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98425 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98426 echo $ECHO_N "(cached) $ECHO_C" >&6
98427 else
98431 ac_ext=cc
98432 ac_cpp='$CXXCPP $CPPFLAGS'
98433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98437 cat >conftest.$ac_ext <<_ACEOF
98438 /* confdefs.h. */
98439 _ACEOF
98440 cat confdefs.h >>conftest.$ac_ext
98441 cat >>conftest.$ac_ext <<_ACEOF
98442 /* end confdefs.h. */
98443 #include <math.h>
98444 #ifdef HAVE_IEEEFP_H
98445 #include <ieeefp.h>
98446 #endif
98449 main ()
98451 isnanl(0);
98453 return 0;
98455 _ACEOF
98456 rm -f conftest.$ac_objext
98457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98458 (eval $ac_compile) 2>conftest.er1
98459 ac_status=$?
98460 grep -v '^ *+' conftest.er1 >conftest.err
98461 rm -f conftest.er1
98462 cat conftest.err >&5
98463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98464 (exit $ac_status); } &&
98465 { ac_try='test -z "$ac_cxx_werror_flag"
98466 || test ! -s conftest.err'
98467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98468 (eval $ac_try) 2>&5
98469 ac_status=$?
98470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98471 (exit $ac_status); }; } &&
98472 { ac_try='test -s conftest.$ac_objext'
98473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98474 (eval $ac_try) 2>&5
98475 ac_status=$?
98476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98477 (exit $ac_status); }; }; then
98478 glibcxx_cv_func_isnanl_use=yes
98479 else
98480 echo "$as_me: failed program was:" >&5
98481 sed 's/^/| /' conftest.$ac_ext >&5
98483 glibcxx_cv_func_isnanl_use=no
98485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98486 ac_ext=c
98487 ac_cpp='$CPP $CPPFLAGS'
98488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98497 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98499 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98501 for ac_func in isnanl
98503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98504 echo "$as_me:$LINENO: checking for $ac_func" >&5
98505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98506 if eval "test \"\${$as_ac_var+set}\" = set"; then
98507 echo $ECHO_N "(cached) $ECHO_C" >&6
98508 else
98509 if test x$gcc_no_link = xyes; then
98510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98512 { (exit 1); exit 1; }; }
98514 cat >conftest.$ac_ext <<_ACEOF
98515 /* confdefs.h. */
98516 _ACEOF
98517 cat confdefs.h >>conftest.$ac_ext
98518 cat >>conftest.$ac_ext <<_ACEOF
98519 /* end confdefs.h. */
98520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98522 #define $ac_func innocuous_$ac_func
98524 /* System header to define __stub macros and hopefully few prototypes,
98525 which can conflict with char $ac_func (); below.
98526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98527 <limits.h> exists even on freestanding compilers. */
98529 #ifdef __STDC__
98530 # include <limits.h>
98531 #else
98532 # include <assert.h>
98533 #endif
98535 #undef $ac_func
98537 /* Override any gcc2 internal prototype to avoid an error. */
98538 #ifdef __cplusplus
98539 extern "C"
98541 #endif
98542 /* We use char because int might match the return type of a gcc2
98543 builtin and then its argument prototype would still apply. */
98544 char $ac_func ();
98545 /* The GNU C library defines this for functions which it implements
98546 to always fail with ENOSYS. Some functions are actually named
98547 something starting with __ and the normal name is an alias. */
98548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98549 choke me
98550 #else
98551 char (*f) () = $ac_func;
98552 #endif
98553 #ifdef __cplusplus
98555 #endif
98558 main ()
98560 return f != $ac_func;
98562 return 0;
98564 _ACEOF
98565 rm -f conftest.$ac_objext conftest$ac_exeext
98566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98567 (eval $ac_link) 2>conftest.er1
98568 ac_status=$?
98569 grep -v '^ *+' conftest.er1 >conftest.err
98570 rm -f conftest.er1
98571 cat conftest.err >&5
98572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98573 (exit $ac_status); } &&
98574 { ac_try='test -z "$ac_c_werror_flag"
98575 || test ! -s conftest.err'
98576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98577 (eval $ac_try) 2>&5
98578 ac_status=$?
98579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98580 (exit $ac_status); }; } &&
98581 { ac_try='test -s conftest$ac_exeext'
98582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98583 (eval $ac_try) 2>&5
98584 ac_status=$?
98585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98586 (exit $ac_status); }; }; then
98587 eval "$as_ac_var=yes"
98588 else
98589 echo "$as_me: failed program was:" >&5
98590 sed 's/^/| /' conftest.$ac_ext >&5
98592 eval "$as_ac_var=no"
98594 rm -f conftest.err conftest.$ac_objext \
98595 conftest$ac_exeext conftest.$ac_ext
98597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98599 if test `eval echo '${'$as_ac_var'}'` = yes; then
98600 cat >>confdefs.h <<_ACEOF
98601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98602 _ACEOF
98605 done
98607 else
98609 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98610 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98611 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98612 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98613 echo $ECHO_N "(cached) $ECHO_C" >&6
98614 else
98618 ac_ext=cc
98619 ac_cpp='$CXXCPP $CPPFLAGS'
98620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98624 cat >conftest.$ac_ext <<_ACEOF
98625 /* confdefs.h. */
98626 _ACEOF
98627 cat confdefs.h >>conftest.$ac_ext
98628 cat >>conftest.$ac_ext <<_ACEOF
98629 /* end confdefs.h. */
98630 #include <math.h>
98631 #ifdef HAVE_IEEEFP_H
98632 #include <ieeefp.h>
98633 #endif
98636 main ()
98638 _isnanl(0);
98640 return 0;
98642 _ACEOF
98643 rm -f conftest.$ac_objext
98644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98645 (eval $ac_compile) 2>conftest.er1
98646 ac_status=$?
98647 grep -v '^ *+' conftest.er1 >conftest.err
98648 rm -f conftest.er1
98649 cat conftest.err >&5
98650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98651 (exit $ac_status); } &&
98652 { ac_try='test -z "$ac_cxx_werror_flag"
98653 || test ! -s conftest.err'
98654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98655 (eval $ac_try) 2>&5
98656 ac_status=$?
98657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98658 (exit $ac_status); }; } &&
98659 { ac_try='test -s conftest.$ac_objext'
98660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98661 (eval $ac_try) 2>&5
98662 ac_status=$?
98663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98664 (exit $ac_status); }; }; then
98665 glibcxx_cv_func__isnanl_use=yes
98666 else
98667 echo "$as_me: failed program was:" >&5
98668 sed 's/^/| /' conftest.$ac_ext >&5
98670 glibcxx_cv_func__isnanl_use=no
98672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98673 ac_ext=c
98674 ac_cpp='$CPP $CPPFLAGS'
98675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
98684 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
98686 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98688 for ac_func in _isnanl
98690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98691 echo "$as_me:$LINENO: checking for $ac_func" >&5
98692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98693 if eval "test \"\${$as_ac_var+set}\" = set"; then
98694 echo $ECHO_N "(cached) $ECHO_C" >&6
98695 else
98696 if test x$gcc_no_link = xyes; then
98697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98699 { (exit 1); exit 1; }; }
98701 cat >conftest.$ac_ext <<_ACEOF
98702 /* confdefs.h. */
98703 _ACEOF
98704 cat confdefs.h >>conftest.$ac_ext
98705 cat >>conftest.$ac_ext <<_ACEOF
98706 /* end confdefs.h. */
98707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98709 #define $ac_func innocuous_$ac_func
98711 /* System header to define __stub macros and hopefully few prototypes,
98712 which can conflict with char $ac_func (); below.
98713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98714 <limits.h> exists even on freestanding compilers. */
98716 #ifdef __STDC__
98717 # include <limits.h>
98718 #else
98719 # include <assert.h>
98720 #endif
98722 #undef $ac_func
98724 /* Override any gcc2 internal prototype to avoid an error. */
98725 #ifdef __cplusplus
98726 extern "C"
98728 #endif
98729 /* We use char because int might match the return type of a gcc2
98730 builtin and then its argument prototype would still apply. */
98731 char $ac_func ();
98732 /* The GNU C library defines this for functions which it implements
98733 to always fail with ENOSYS. Some functions are actually named
98734 something starting with __ and the normal name is an alias. */
98735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98736 choke me
98737 #else
98738 char (*f) () = $ac_func;
98739 #endif
98740 #ifdef __cplusplus
98742 #endif
98745 main ()
98747 return f != $ac_func;
98749 return 0;
98751 _ACEOF
98752 rm -f conftest.$ac_objext conftest$ac_exeext
98753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98754 (eval $ac_link) 2>conftest.er1
98755 ac_status=$?
98756 grep -v '^ *+' conftest.er1 >conftest.err
98757 rm -f conftest.er1
98758 cat conftest.err >&5
98759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98760 (exit $ac_status); } &&
98761 { ac_try='test -z "$ac_c_werror_flag"
98762 || test ! -s conftest.err'
98763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98764 (eval $ac_try) 2>&5
98765 ac_status=$?
98766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98767 (exit $ac_status); }; } &&
98768 { ac_try='test -s conftest$ac_exeext'
98769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98770 (eval $ac_try) 2>&5
98771 ac_status=$?
98772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98773 (exit $ac_status); }; }; then
98774 eval "$as_ac_var=yes"
98775 else
98776 echo "$as_me: failed program was:" >&5
98777 sed 's/^/| /' conftest.$ac_ext >&5
98779 eval "$as_ac_var=no"
98781 rm -f conftest.err conftest.$ac_objext \
98782 conftest$ac_exeext conftest.$ac_ext
98784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98786 if test `eval echo '${'$as_ac_var'}'` = yes; then
98787 cat >>confdefs.h <<_ACEOF
98788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98789 _ACEOF
98792 done
98802 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
98803 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
98804 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
98805 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
98806 echo $ECHO_N "(cached) $ECHO_C" >&6
98807 else
98811 ac_ext=cc
98812 ac_cpp='$CXXCPP $CPPFLAGS'
98813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98817 cat >conftest.$ac_ext <<_ACEOF
98818 /* confdefs.h. */
98819 _ACEOF
98820 cat confdefs.h >>conftest.$ac_ext
98821 cat >>conftest.$ac_ext <<_ACEOF
98822 /* end confdefs.h. */
98823 #include <math.h>
98824 #ifdef HAVE_IEEEFP_H
98825 #include <ieeefp.h>
98826 #endif
98829 main ()
98831 isinfl(0);
98833 return 0;
98835 _ACEOF
98836 rm -f conftest.$ac_objext
98837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98838 (eval $ac_compile) 2>conftest.er1
98839 ac_status=$?
98840 grep -v '^ *+' conftest.er1 >conftest.err
98841 rm -f conftest.er1
98842 cat conftest.err >&5
98843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98844 (exit $ac_status); } &&
98845 { ac_try='test -z "$ac_cxx_werror_flag"
98846 || test ! -s conftest.err'
98847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98848 (eval $ac_try) 2>&5
98849 ac_status=$?
98850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98851 (exit $ac_status); }; } &&
98852 { ac_try='test -s conftest.$ac_objext'
98853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98854 (eval $ac_try) 2>&5
98855 ac_status=$?
98856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98857 (exit $ac_status); }; }; then
98858 glibcxx_cv_func_isinfl_use=yes
98859 else
98860 echo "$as_me: failed program was:" >&5
98861 sed 's/^/| /' conftest.$ac_ext >&5
98863 glibcxx_cv_func_isinfl_use=no
98865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98866 ac_ext=c
98867 ac_cpp='$CPP $CPPFLAGS'
98868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
98877 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
98879 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
98881 for ac_func in isinfl
98883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98884 echo "$as_me:$LINENO: checking for $ac_func" >&5
98885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98886 if eval "test \"\${$as_ac_var+set}\" = set"; then
98887 echo $ECHO_N "(cached) $ECHO_C" >&6
98888 else
98889 if test x$gcc_no_link = xyes; then
98890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98892 { (exit 1); exit 1; }; }
98894 cat >conftest.$ac_ext <<_ACEOF
98895 /* confdefs.h. */
98896 _ACEOF
98897 cat confdefs.h >>conftest.$ac_ext
98898 cat >>conftest.$ac_ext <<_ACEOF
98899 /* end confdefs.h. */
98900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98902 #define $ac_func innocuous_$ac_func
98904 /* System header to define __stub macros and hopefully few prototypes,
98905 which can conflict with char $ac_func (); below.
98906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98907 <limits.h> exists even on freestanding compilers. */
98909 #ifdef __STDC__
98910 # include <limits.h>
98911 #else
98912 # include <assert.h>
98913 #endif
98915 #undef $ac_func
98917 /* Override any gcc2 internal prototype to avoid an error. */
98918 #ifdef __cplusplus
98919 extern "C"
98921 #endif
98922 /* We use char because int might match the return type of a gcc2
98923 builtin and then its argument prototype would still apply. */
98924 char $ac_func ();
98925 /* The GNU C library defines this for functions which it implements
98926 to always fail with ENOSYS. Some functions are actually named
98927 something starting with __ and the normal name is an alias. */
98928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98929 choke me
98930 #else
98931 char (*f) () = $ac_func;
98932 #endif
98933 #ifdef __cplusplus
98935 #endif
98938 main ()
98940 return f != $ac_func;
98942 return 0;
98944 _ACEOF
98945 rm -f conftest.$ac_objext conftest$ac_exeext
98946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98947 (eval $ac_link) 2>conftest.er1
98948 ac_status=$?
98949 grep -v '^ *+' conftest.er1 >conftest.err
98950 rm -f conftest.er1
98951 cat conftest.err >&5
98952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98953 (exit $ac_status); } &&
98954 { ac_try='test -z "$ac_c_werror_flag"
98955 || test ! -s conftest.err'
98956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98957 (eval $ac_try) 2>&5
98958 ac_status=$?
98959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98960 (exit $ac_status); }; } &&
98961 { ac_try='test -s conftest$ac_exeext'
98962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98963 (eval $ac_try) 2>&5
98964 ac_status=$?
98965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98966 (exit $ac_status); }; }; then
98967 eval "$as_ac_var=yes"
98968 else
98969 echo "$as_me: failed program was:" >&5
98970 sed 's/^/| /' conftest.$ac_ext >&5
98972 eval "$as_ac_var=no"
98974 rm -f conftest.err conftest.$ac_objext \
98975 conftest$ac_exeext conftest.$ac_ext
98977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98979 if test `eval echo '${'$as_ac_var'}'` = yes; then
98980 cat >>confdefs.h <<_ACEOF
98981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98982 _ACEOF
98985 done
98987 else
98989 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
98990 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
98991 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
98992 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
98993 echo $ECHO_N "(cached) $ECHO_C" >&6
98994 else
98998 ac_ext=cc
98999 ac_cpp='$CXXCPP $CPPFLAGS'
99000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99004 cat >conftest.$ac_ext <<_ACEOF
99005 /* confdefs.h. */
99006 _ACEOF
99007 cat confdefs.h >>conftest.$ac_ext
99008 cat >>conftest.$ac_ext <<_ACEOF
99009 /* end confdefs.h. */
99010 #include <math.h>
99011 #ifdef HAVE_IEEEFP_H
99012 #include <ieeefp.h>
99013 #endif
99016 main ()
99018 _isinfl(0);
99020 return 0;
99022 _ACEOF
99023 rm -f conftest.$ac_objext
99024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99025 (eval $ac_compile) 2>conftest.er1
99026 ac_status=$?
99027 grep -v '^ *+' conftest.er1 >conftest.err
99028 rm -f conftest.er1
99029 cat conftest.err >&5
99030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99031 (exit $ac_status); } &&
99032 { ac_try='test -z "$ac_cxx_werror_flag"
99033 || test ! -s conftest.err'
99034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99035 (eval $ac_try) 2>&5
99036 ac_status=$?
99037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99038 (exit $ac_status); }; } &&
99039 { ac_try='test -s conftest.$ac_objext'
99040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99041 (eval $ac_try) 2>&5
99042 ac_status=$?
99043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99044 (exit $ac_status); }; }; then
99045 glibcxx_cv_func__isinfl_use=yes
99046 else
99047 echo "$as_me: failed program was:" >&5
99048 sed 's/^/| /' conftest.$ac_ext >&5
99050 glibcxx_cv_func__isinfl_use=no
99052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99053 ac_ext=c
99054 ac_cpp='$CPP $CPPFLAGS'
99055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99064 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99066 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99068 for ac_func in _isinfl
99070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99071 echo "$as_me:$LINENO: checking for $ac_func" >&5
99072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99073 if eval "test \"\${$as_ac_var+set}\" = set"; then
99074 echo $ECHO_N "(cached) $ECHO_C" >&6
99075 else
99076 if test x$gcc_no_link = xyes; then
99077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99079 { (exit 1); exit 1; }; }
99081 cat >conftest.$ac_ext <<_ACEOF
99082 /* confdefs.h. */
99083 _ACEOF
99084 cat confdefs.h >>conftest.$ac_ext
99085 cat >>conftest.$ac_ext <<_ACEOF
99086 /* end confdefs.h. */
99087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99089 #define $ac_func innocuous_$ac_func
99091 /* System header to define __stub macros and hopefully few prototypes,
99092 which can conflict with char $ac_func (); below.
99093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99094 <limits.h> exists even on freestanding compilers. */
99096 #ifdef __STDC__
99097 # include <limits.h>
99098 #else
99099 # include <assert.h>
99100 #endif
99102 #undef $ac_func
99104 /* Override any gcc2 internal prototype to avoid an error. */
99105 #ifdef __cplusplus
99106 extern "C"
99108 #endif
99109 /* We use char because int might match the return type of a gcc2
99110 builtin and then its argument prototype would still apply. */
99111 char $ac_func ();
99112 /* The GNU C library defines this for functions which it implements
99113 to always fail with ENOSYS. Some functions are actually named
99114 something starting with __ and the normal name is an alias. */
99115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99116 choke me
99117 #else
99118 char (*f) () = $ac_func;
99119 #endif
99120 #ifdef __cplusplus
99122 #endif
99125 main ()
99127 return f != $ac_func;
99129 return 0;
99131 _ACEOF
99132 rm -f conftest.$ac_objext conftest$ac_exeext
99133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99134 (eval $ac_link) 2>conftest.er1
99135 ac_status=$?
99136 grep -v '^ *+' conftest.er1 >conftest.err
99137 rm -f conftest.er1
99138 cat conftest.err >&5
99139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99140 (exit $ac_status); } &&
99141 { ac_try='test -z "$ac_c_werror_flag"
99142 || test ! -s conftest.err'
99143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99144 (eval $ac_try) 2>&5
99145 ac_status=$?
99146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99147 (exit $ac_status); }; } &&
99148 { ac_try='test -s conftest$ac_exeext'
99149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99150 (eval $ac_try) 2>&5
99151 ac_status=$?
99152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99153 (exit $ac_status); }; }; then
99154 eval "$as_ac_var=yes"
99155 else
99156 echo "$as_me: failed program was:" >&5
99157 sed 's/^/| /' conftest.$ac_ext >&5
99159 eval "$as_ac_var=no"
99161 rm -f conftest.err conftest.$ac_objext \
99162 conftest$ac_exeext conftest.$ac_ext
99164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99166 if test `eval echo '${'$as_ac_var'}'` = yes; then
99167 cat >>confdefs.h <<_ACEOF
99168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99169 _ACEOF
99172 done
99182 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99183 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99184 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99185 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99186 echo $ECHO_N "(cached) $ECHO_C" >&6
99187 else
99191 ac_ext=cc
99192 ac_cpp='$CXXCPP $CPPFLAGS'
99193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99197 cat >conftest.$ac_ext <<_ACEOF
99198 /* confdefs.h. */
99199 _ACEOF
99200 cat confdefs.h >>conftest.$ac_ext
99201 cat >>conftest.$ac_ext <<_ACEOF
99202 /* end confdefs.h. */
99203 #include <math.h>
99205 main ()
99207 copysignl(0, 0);
99209 return 0;
99211 _ACEOF
99212 rm -f conftest.$ac_objext
99213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99214 (eval $ac_compile) 2>conftest.er1
99215 ac_status=$?
99216 grep -v '^ *+' conftest.er1 >conftest.err
99217 rm -f conftest.er1
99218 cat conftest.err >&5
99219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99220 (exit $ac_status); } &&
99221 { ac_try='test -z "$ac_cxx_werror_flag"
99222 || test ! -s conftest.err'
99223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99224 (eval $ac_try) 2>&5
99225 ac_status=$?
99226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99227 (exit $ac_status); }; } &&
99228 { ac_try='test -s conftest.$ac_objext'
99229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99230 (eval $ac_try) 2>&5
99231 ac_status=$?
99232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99233 (exit $ac_status); }; }; then
99234 glibcxx_cv_func_copysignl_use=yes
99235 else
99236 echo "$as_me: failed program was:" >&5
99237 sed 's/^/| /' conftest.$ac_ext >&5
99239 glibcxx_cv_func_copysignl_use=no
99241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99242 ac_ext=c
99243 ac_cpp='$CPP $CPPFLAGS'
99244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99253 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99255 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99257 for ac_func in copysignl
99259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99260 echo "$as_me:$LINENO: checking for $ac_func" >&5
99261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99262 if eval "test \"\${$as_ac_var+set}\" = set"; then
99263 echo $ECHO_N "(cached) $ECHO_C" >&6
99264 else
99265 if test x$gcc_no_link = xyes; then
99266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99268 { (exit 1); exit 1; }; }
99270 cat >conftest.$ac_ext <<_ACEOF
99271 /* confdefs.h. */
99272 _ACEOF
99273 cat confdefs.h >>conftest.$ac_ext
99274 cat >>conftest.$ac_ext <<_ACEOF
99275 /* end confdefs.h. */
99276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99278 #define $ac_func innocuous_$ac_func
99280 /* System header to define __stub macros and hopefully few prototypes,
99281 which can conflict with char $ac_func (); below.
99282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99283 <limits.h> exists even on freestanding compilers. */
99285 #ifdef __STDC__
99286 # include <limits.h>
99287 #else
99288 # include <assert.h>
99289 #endif
99291 #undef $ac_func
99293 /* Override any gcc2 internal prototype to avoid an error. */
99294 #ifdef __cplusplus
99295 extern "C"
99297 #endif
99298 /* We use char because int might match the return type of a gcc2
99299 builtin and then its argument prototype would still apply. */
99300 char $ac_func ();
99301 /* The GNU C library defines this for functions which it implements
99302 to always fail with ENOSYS. Some functions are actually named
99303 something starting with __ and the normal name is an alias. */
99304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99305 choke me
99306 #else
99307 char (*f) () = $ac_func;
99308 #endif
99309 #ifdef __cplusplus
99311 #endif
99314 main ()
99316 return f != $ac_func;
99318 return 0;
99320 _ACEOF
99321 rm -f conftest.$ac_objext conftest$ac_exeext
99322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99323 (eval $ac_link) 2>conftest.er1
99324 ac_status=$?
99325 grep -v '^ *+' conftest.er1 >conftest.err
99326 rm -f conftest.er1
99327 cat conftest.err >&5
99328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99329 (exit $ac_status); } &&
99330 { ac_try='test -z "$ac_c_werror_flag"
99331 || test ! -s conftest.err'
99332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99333 (eval $ac_try) 2>&5
99334 ac_status=$?
99335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99336 (exit $ac_status); }; } &&
99337 { ac_try='test -s conftest$ac_exeext'
99338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99339 (eval $ac_try) 2>&5
99340 ac_status=$?
99341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99342 (exit $ac_status); }; }; then
99343 eval "$as_ac_var=yes"
99344 else
99345 echo "$as_me: failed program was:" >&5
99346 sed 's/^/| /' conftest.$ac_ext >&5
99348 eval "$as_ac_var=no"
99350 rm -f conftest.err conftest.$ac_objext \
99351 conftest$ac_exeext conftest.$ac_ext
99353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99355 if test `eval echo '${'$as_ac_var'}'` = yes; then
99356 cat >>confdefs.h <<_ACEOF
99357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99358 _ACEOF
99361 done
99363 else
99365 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99366 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99367 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99368 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99369 echo $ECHO_N "(cached) $ECHO_C" >&6
99370 else
99374 ac_ext=cc
99375 ac_cpp='$CXXCPP $CPPFLAGS'
99376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99380 cat >conftest.$ac_ext <<_ACEOF
99381 /* confdefs.h. */
99382 _ACEOF
99383 cat confdefs.h >>conftest.$ac_ext
99384 cat >>conftest.$ac_ext <<_ACEOF
99385 /* end confdefs.h. */
99386 #include <math.h>
99388 main ()
99390 _copysignl(0, 0);
99392 return 0;
99394 _ACEOF
99395 rm -f conftest.$ac_objext
99396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99397 (eval $ac_compile) 2>conftest.er1
99398 ac_status=$?
99399 grep -v '^ *+' conftest.er1 >conftest.err
99400 rm -f conftest.er1
99401 cat conftest.err >&5
99402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99403 (exit $ac_status); } &&
99404 { ac_try='test -z "$ac_cxx_werror_flag"
99405 || test ! -s conftest.err'
99406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99407 (eval $ac_try) 2>&5
99408 ac_status=$?
99409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99410 (exit $ac_status); }; } &&
99411 { ac_try='test -s conftest.$ac_objext'
99412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99413 (eval $ac_try) 2>&5
99414 ac_status=$?
99415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99416 (exit $ac_status); }; }; then
99417 glibcxx_cv_func__copysignl_use=yes
99418 else
99419 echo "$as_me: failed program was:" >&5
99420 sed 's/^/| /' conftest.$ac_ext >&5
99422 glibcxx_cv_func__copysignl_use=no
99424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99425 ac_ext=c
99426 ac_cpp='$CPP $CPPFLAGS'
99427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99435 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99436 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99438 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99440 for ac_func in _copysignl
99442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99443 echo "$as_me:$LINENO: checking for $ac_func" >&5
99444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99445 if eval "test \"\${$as_ac_var+set}\" = set"; then
99446 echo $ECHO_N "(cached) $ECHO_C" >&6
99447 else
99448 if test x$gcc_no_link = xyes; then
99449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99451 { (exit 1); exit 1; }; }
99453 cat >conftest.$ac_ext <<_ACEOF
99454 /* confdefs.h. */
99455 _ACEOF
99456 cat confdefs.h >>conftest.$ac_ext
99457 cat >>conftest.$ac_ext <<_ACEOF
99458 /* end confdefs.h. */
99459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99461 #define $ac_func innocuous_$ac_func
99463 /* System header to define __stub macros and hopefully few prototypes,
99464 which can conflict with char $ac_func (); below.
99465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99466 <limits.h> exists even on freestanding compilers. */
99468 #ifdef __STDC__
99469 # include <limits.h>
99470 #else
99471 # include <assert.h>
99472 #endif
99474 #undef $ac_func
99476 /* Override any gcc2 internal prototype to avoid an error. */
99477 #ifdef __cplusplus
99478 extern "C"
99480 #endif
99481 /* We use char because int might match the return type of a gcc2
99482 builtin and then its argument prototype would still apply. */
99483 char $ac_func ();
99484 /* The GNU C library defines this for functions which it implements
99485 to always fail with ENOSYS. Some functions are actually named
99486 something starting with __ and the normal name is an alias. */
99487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99488 choke me
99489 #else
99490 char (*f) () = $ac_func;
99491 #endif
99492 #ifdef __cplusplus
99494 #endif
99497 main ()
99499 return f != $ac_func;
99501 return 0;
99503 _ACEOF
99504 rm -f conftest.$ac_objext conftest$ac_exeext
99505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99506 (eval $ac_link) 2>conftest.er1
99507 ac_status=$?
99508 grep -v '^ *+' conftest.er1 >conftest.err
99509 rm -f conftest.er1
99510 cat conftest.err >&5
99511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99512 (exit $ac_status); } &&
99513 { ac_try='test -z "$ac_c_werror_flag"
99514 || test ! -s conftest.err'
99515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99516 (eval $ac_try) 2>&5
99517 ac_status=$?
99518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99519 (exit $ac_status); }; } &&
99520 { ac_try='test -s conftest$ac_exeext'
99521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99522 (eval $ac_try) 2>&5
99523 ac_status=$?
99524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99525 (exit $ac_status); }; }; then
99526 eval "$as_ac_var=yes"
99527 else
99528 echo "$as_me: failed program was:" >&5
99529 sed 's/^/| /' conftest.$ac_ext >&5
99531 eval "$as_ac_var=no"
99533 rm -f conftest.err conftest.$ac_objext \
99534 conftest$ac_exeext conftest.$ac_ext
99536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99538 if test `eval echo '${'$as_ac_var'}'` = yes; then
99539 cat >>confdefs.h <<_ACEOF
99540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99541 _ACEOF
99544 done
99554 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99555 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99556 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99557 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99558 echo $ECHO_N "(cached) $ECHO_C" >&6
99559 else
99563 ac_ext=cc
99564 ac_cpp='$CXXCPP $CPPFLAGS'
99565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99569 cat >conftest.$ac_ext <<_ACEOF
99570 /* confdefs.h. */
99571 _ACEOF
99572 cat confdefs.h >>conftest.$ac_ext
99573 cat >>conftest.$ac_ext <<_ACEOF
99574 /* end confdefs.h. */
99575 #include <math.h>
99577 main ()
99579 atan2l(0, 0);
99581 return 0;
99583 _ACEOF
99584 rm -f conftest.$ac_objext
99585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99586 (eval $ac_compile) 2>conftest.er1
99587 ac_status=$?
99588 grep -v '^ *+' conftest.er1 >conftest.err
99589 rm -f conftest.er1
99590 cat conftest.err >&5
99591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99592 (exit $ac_status); } &&
99593 { ac_try='test -z "$ac_cxx_werror_flag"
99594 || test ! -s conftest.err'
99595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99596 (eval $ac_try) 2>&5
99597 ac_status=$?
99598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99599 (exit $ac_status); }; } &&
99600 { ac_try='test -s conftest.$ac_objext'
99601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99602 (eval $ac_try) 2>&5
99603 ac_status=$?
99604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99605 (exit $ac_status); }; }; then
99606 glibcxx_cv_func_atan2l_use=yes
99607 else
99608 echo "$as_me: failed program was:" >&5
99609 sed 's/^/| /' conftest.$ac_ext >&5
99611 glibcxx_cv_func_atan2l_use=no
99613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99614 ac_ext=c
99615 ac_cpp='$CPP $CPPFLAGS'
99616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99625 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99627 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99629 for ac_func in atan2l
99631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99632 echo "$as_me:$LINENO: checking for $ac_func" >&5
99633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99634 if eval "test \"\${$as_ac_var+set}\" = set"; then
99635 echo $ECHO_N "(cached) $ECHO_C" >&6
99636 else
99637 if test x$gcc_no_link = xyes; then
99638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99640 { (exit 1); exit 1; }; }
99642 cat >conftest.$ac_ext <<_ACEOF
99643 /* confdefs.h. */
99644 _ACEOF
99645 cat confdefs.h >>conftest.$ac_ext
99646 cat >>conftest.$ac_ext <<_ACEOF
99647 /* end confdefs.h. */
99648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99650 #define $ac_func innocuous_$ac_func
99652 /* System header to define __stub macros and hopefully few prototypes,
99653 which can conflict with char $ac_func (); below.
99654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99655 <limits.h> exists even on freestanding compilers. */
99657 #ifdef __STDC__
99658 # include <limits.h>
99659 #else
99660 # include <assert.h>
99661 #endif
99663 #undef $ac_func
99665 /* Override any gcc2 internal prototype to avoid an error. */
99666 #ifdef __cplusplus
99667 extern "C"
99669 #endif
99670 /* We use char because int might match the return type of a gcc2
99671 builtin and then its argument prototype would still apply. */
99672 char $ac_func ();
99673 /* The GNU C library defines this for functions which it implements
99674 to always fail with ENOSYS. Some functions are actually named
99675 something starting with __ and the normal name is an alias. */
99676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99677 choke me
99678 #else
99679 char (*f) () = $ac_func;
99680 #endif
99681 #ifdef __cplusplus
99683 #endif
99686 main ()
99688 return f != $ac_func;
99690 return 0;
99692 _ACEOF
99693 rm -f conftest.$ac_objext conftest$ac_exeext
99694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99695 (eval $ac_link) 2>conftest.er1
99696 ac_status=$?
99697 grep -v '^ *+' conftest.er1 >conftest.err
99698 rm -f conftest.er1
99699 cat conftest.err >&5
99700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99701 (exit $ac_status); } &&
99702 { ac_try='test -z "$ac_c_werror_flag"
99703 || test ! -s conftest.err'
99704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99705 (eval $ac_try) 2>&5
99706 ac_status=$?
99707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99708 (exit $ac_status); }; } &&
99709 { ac_try='test -s conftest$ac_exeext'
99710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99711 (eval $ac_try) 2>&5
99712 ac_status=$?
99713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99714 (exit $ac_status); }; }; then
99715 eval "$as_ac_var=yes"
99716 else
99717 echo "$as_me: failed program was:" >&5
99718 sed 's/^/| /' conftest.$ac_ext >&5
99720 eval "$as_ac_var=no"
99722 rm -f conftest.err conftest.$ac_objext \
99723 conftest$ac_exeext conftest.$ac_ext
99725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99727 if test `eval echo '${'$as_ac_var'}'` = yes; then
99728 cat >>confdefs.h <<_ACEOF
99729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99730 _ACEOF
99733 done
99735 else
99737 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
99738 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
99739 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
99740 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
99741 echo $ECHO_N "(cached) $ECHO_C" >&6
99742 else
99746 ac_ext=cc
99747 ac_cpp='$CXXCPP $CPPFLAGS'
99748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99752 cat >conftest.$ac_ext <<_ACEOF
99753 /* confdefs.h. */
99754 _ACEOF
99755 cat confdefs.h >>conftest.$ac_ext
99756 cat >>conftest.$ac_ext <<_ACEOF
99757 /* end confdefs.h. */
99758 #include <math.h>
99760 main ()
99762 _atan2l(0, 0);
99764 return 0;
99766 _ACEOF
99767 rm -f conftest.$ac_objext
99768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99769 (eval $ac_compile) 2>conftest.er1
99770 ac_status=$?
99771 grep -v '^ *+' conftest.er1 >conftest.err
99772 rm -f conftest.er1
99773 cat conftest.err >&5
99774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99775 (exit $ac_status); } &&
99776 { ac_try='test -z "$ac_cxx_werror_flag"
99777 || test ! -s conftest.err'
99778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99779 (eval $ac_try) 2>&5
99780 ac_status=$?
99781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99782 (exit $ac_status); }; } &&
99783 { ac_try='test -s conftest.$ac_objext'
99784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99785 (eval $ac_try) 2>&5
99786 ac_status=$?
99787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99788 (exit $ac_status); }; }; then
99789 glibcxx_cv_func__atan2l_use=yes
99790 else
99791 echo "$as_me: failed program was:" >&5
99792 sed 's/^/| /' conftest.$ac_ext >&5
99794 glibcxx_cv_func__atan2l_use=no
99796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99797 ac_ext=c
99798 ac_cpp='$CPP $CPPFLAGS'
99799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
99808 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
99810 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
99812 for ac_func in _atan2l
99814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99815 echo "$as_me:$LINENO: checking for $ac_func" >&5
99816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99817 if eval "test \"\${$as_ac_var+set}\" = set"; then
99818 echo $ECHO_N "(cached) $ECHO_C" >&6
99819 else
99820 if test x$gcc_no_link = xyes; then
99821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99823 { (exit 1); exit 1; }; }
99825 cat >conftest.$ac_ext <<_ACEOF
99826 /* confdefs.h. */
99827 _ACEOF
99828 cat confdefs.h >>conftest.$ac_ext
99829 cat >>conftest.$ac_ext <<_ACEOF
99830 /* end confdefs.h. */
99831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99833 #define $ac_func innocuous_$ac_func
99835 /* System header to define __stub macros and hopefully few prototypes,
99836 which can conflict with char $ac_func (); below.
99837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99838 <limits.h> exists even on freestanding compilers. */
99840 #ifdef __STDC__
99841 # include <limits.h>
99842 #else
99843 # include <assert.h>
99844 #endif
99846 #undef $ac_func
99848 /* Override any gcc2 internal prototype to avoid an error. */
99849 #ifdef __cplusplus
99850 extern "C"
99852 #endif
99853 /* We use char because int might match the return type of a gcc2
99854 builtin and then its argument prototype would still apply. */
99855 char $ac_func ();
99856 /* The GNU C library defines this for functions which it implements
99857 to always fail with ENOSYS. Some functions are actually named
99858 something starting with __ and the normal name is an alias. */
99859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99860 choke me
99861 #else
99862 char (*f) () = $ac_func;
99863 #endif
99864 #ifdef __cplusplus
99866 #endif
99869 main ()
99871 return f != $ac_func;
99873 return 0;
99875 _ACEOF
99876 rm -f conftest.$ac_objext conftest$ac_exeext
99877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99878 (eval $ac_link) 2>conftest.er1
99879 ac_status=$?
99880 grep -v '^ *+' conftest.er1 >conftest.err
99881 rm -f conftest.er1
99882 cat conftest.err >&5
99883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99884 (exit $ac_status); } &&
99885 { ac_try='test -z "$ac_c_werror_flag"
99886 || test ! -s conftest.err'
99887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99888 (eval $ac_try) 2>&5
99889 ac_status=$?
99890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99891 (exit $ac_status); }; } &&
99892 { ac_try='test -s conftest$ac_exeext'
99893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99894 (eval $ac_try) 2>&5
99895 ac_status=$?
99896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99897 (exit $ac_status); }; }; then
99898 eval "$as_ac_var=yes"
99899 else
99900 echo "$as_me: failed program was:" >&5
99901 sed 's/^/| /' conftest.$ac_ext >&5
99903 eval "$as_ac_var=no"
99905 rm -f conftest.err conftest.$ac_objext \
99906 conftest$ac_exeext conftest.$ac_ext
99908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99910 if test `eval echo '${'$as_ac_var'}'` = yes; then
99911 cat >>confdefs.h <<_ACEOF
99912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99913 _ACEOF
99916 done
99926 echo "$as_me:$LINENO: checking for expl declaration" >&5
99927 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
99928 if test x${glibcxx_cv_func_expl_use+set} != xset; then
99929 if test "${glibcxx_cv_func_expl_use+set}" = set; then
99930 echo $ECHO_N "(cached) $ECHO_C" >&6
99931 else
99935 ac_ext=cc
99936 ac_cpp='$CXXCPP $CPPFLAGS'
99937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99941 cat >conftest.$ac_ext <<_ACEOF
99942 /* confdefs.h. */
99943 _ACEOF
99944 cat confdefs.h >>conftest.$ac_ext
99945 cat >>conftest.$ac_ext <<_ACEOF
99946 /* end confdefs.h. */
99947 #include <math.h>
99948 #ifdef HAVE_IEEEFP_H
99949 #include <ieeefp.h>
99950 #endif
99953 main ()
99955 expl(0);
99957 return 0;
99959 _ACEOF
99960 rm -f conftest.$ac_objext
99961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99962 (eval $ac_compile) 2>conftest.er1
99963 ac_status=$?
99964 grep -v '^ *+' conftest.er1 >conftest.err
99965 rm -f conftest.er1
99966 cat conftest.err >&5
99967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99968 (exit $ac_status); } &&
99969 { ac_try='test -z "$ac_cxx_werror_flag"
99970 || test ! -s conftest.err'
99971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99972 (eval $ac_try) 2>&5
99973 ac_status=$?
99974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99975 (exit $ac_status); }; } &&
99976 { ac_try='test -s conftest.$ac_objext'
99977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99978 (eval $ac_try) 2>&5
99979 ac_status=$?
99980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99981 (exit $ac_status); }; }; then
99982 glibcxx_cv_func_expl_use=yes
99983 else
99984 echo "$as_me: failed program was:" >&5
99985 sed 's/^/| /' conftest.$ac_ext >&5
99987 glibcxx_cv_func_expl_use=no
99989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99990 ac_ext=c
99991 ac_cpp='$CPP $CPPFLAGS'
99992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100001 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100003 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100005 for ac_func in expl
100007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100008 echo "$as_me:$LINENO: checking for $ac_func" >&5
100009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100010 if eval "test \"\${$as_ac_var+set}\" = set"; then
100011 echo $ECHO_N "(cached) $ECHO_C" >&6
100013 if test x$gcc_no_link = xyes; then
100014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100016 { (exit 1); exit 1; }; }
100018 cat >conftest.$ac_ext <<_ACEOF
100019 /* confdefs.h. */
100020 _ACEOF
100021 cat confdefs.h >>conftest.$ac_ext
100022 cat >>conftest.$ac_ext <<_ACEOF
100023 /* end confdefs.h. */
100024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100026 #define $ac_func innocuous_$ac_func
100028 /* System header to define __stub macros and hopefully few prototypes,
100029 which can conflict with char $ac_func (); below.
100030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100031 <limits.h> exists even on freestanding compilers. */
100033 #ifdef __STDC__
100034 # include <limits.h>
100035 #else
100036 # include <assert.h>
100037 #endif
100039 #undef $ac_func
100041 /* Override any gcc2 internal prototype to avoid an error. */
100042 #ifdef __cplusplus
100043 extern "C"
100045 #endif
100046 /* We use char because int might match the return type of a gcc2
100047 builtin and then its argument prototype would still apply. */
100048 char $ac_func ();
100049 /* The GNU C library defines this for functions which it implements
100050 to always fail with ENOSYS. Some functions are actually named
100051 something starting with __ and the normal name is an alias. */
100052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100053 choke me
100054 #else
100055 char (*f) () = $ac_func;
100056 #endif
100057 #ifdef __cplusplus
100059 #endif
100062 main ()
100064 return f != $ac_func;
100066 return 0;
100068 _ACEOF
100069 rm -f conftest.$ac_objext conftest$ac_exeext
100070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100071 (eval $ac_link) 2>conftest.er1
100072 ac_status=$?
100073 grep -v '^ *+' conftest.er1 >conftest.err
100074 rm -f conftest.er1
100075 cat conftest.err >&5
100076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100077 (exit $ac_status); } &&
100078 { ac_try='test -z "$ac_c_werror_flag"
100079 || test ! -s conftest.err'
100080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100081 (eval $ac_try) 2>&5
100082 ac_status=$?
100083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100084 (exit $ac_status); }; } &&
100085 { ac_try='test -s conftest$ac_exeext'
100086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100087 (eval $ac_try) 2>&5
100088 ac_status=$?
100089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100090 (exit $ac_status); }; }; then
100091 eval "$as_ac_var=yes"
100093 echo "$as_me: failed program was:" >&5
100094 sed 's/^/| /' conftest.$ac_ext >&5
100096 eval "$as_ac_var=no"
100098 rm -f conftest.err conftest.$ac_objext \
100099 conftest$ac_exeext conftest.$ac_ext
100101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100103 if test `eval echo '${'$as_ac_var'}'` = yes; then
100104 cat >>confdefs.h <<_ACEOF
100105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100106 _ACEOF
100113 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100114 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100115 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100116 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100117 echo $ECHO_N "(cached) $ECHO_C" >&6
100122 ac_ext=cc
100123 ac_cpp='$CXXCPP $CPPFLAGS'
100124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100128 cat >conftest.$ac_ext <<_ACEOF
100129 /* confdefs.h. */
100130 _ACEOF
100131 cat confdefs.h >>conftest.$ac_ext
100132 cat >>conftest.$ac_ext <<_ACEOF
100133 /* end confdefs.h. */
100134 #include <math.h>
100135 #ifdef HAVE_IEEEFP_H
100136 #include <ieeefp.h>
100137 #endif
100140 main ()
100142 _expl(0);
100144 return 0;
100146 _ACEOF
100147 rm -f conftest.$ac_objext
100148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100149 (eval $ac_compile) 2>conftest.er1
100150 ac_status=$?
100151 grep -v '^ *+' conftest.er1 >conftest.err
100152 rm -f conftest.er1
100153 cat conftest.err >&5
100154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100155 (exit $ac_status); } &&
100156 { ac_try='test -z "$ac_cxx_werror_flag"
100157 || test ! -s conftest.err'
100158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100159 (eval $ac_try) 2>&5
100160 ac_status=$?
100161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100162 (exit $ac_status); }; } &&
100163 { ac_try='test -s conftest.$ac_objext'
100164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100165 (eval $ac_try) 2>&5
100166 ac_status=$?
100167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100168 (exit $ac_status); }; }; then
100169 glibcxx_cv_func__expl_use=yes
100171 echo "$as_me: failed program was:" >&5
100172 sed 's/^/| /' conftest.$ac_ext >&5
100174 glibcxx_cv_func__expl_use=no
100176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100177 ac_ext=c
100178 ac_cpp='$CPP $CPPFLAGS'
100179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100188 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100190 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100192 for ac_func in _expl
100194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100195 echo "$as_me:$LINENO: checking for $ac_func" >&5
100196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100197 if eval "test \"\${$as_ac_var+set}\" = set"; then
100198 echo $ECHO_N "(cached) $ECHO_C" >&6
100200 if test x$gcc_no_link = xyes; then
100201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100203 { (exit 1); exit 1; }; }
100205 cat >conftest.$ac_ext <<_ACEOF
100206 /* confdefs.h. */
100207 _ACEOF
100208 cat confdefs.h >>conftest.$ac_ext
100209 cat >>conftest.$ac_ext <<_ACEOF
100210 /* end confdefs.h. */
100211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100213 #define $ac_func innocuous_$ac_func
100215 /* System header to define __stub macros and hopefully few prototypes,
100216 which can conflict with char $ac_func (); below.
100217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100218 <limits.h> exists even on freestanding compilers. */
100220 #ifdef __STDC__
100221 # include <limits.h>
100222 #else
100223 # include <assert.h>
100224 #endif
100226 #undef $ac_func
100228 /* Override any gcc2 internal prototype to avoid an error. */
100229 #ifdef __cplusplus
100230 extern "C"
100232 #endif
100233 /* We use char because int might match the return type of a gcc2
100234 builtin and then its argument prototype would still apply. */
100235 char $ac_func ();
100236 /* The GNU C library defines this for functions which it implements
100237 to always fail with ENOSYS. Some functions are actually named
100238 something starting with __ and the normal name is an alias. */
100239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100240 choke me
100241 #else
100242 char (*f) () = $ac_func;
100243 #endif
100244 #ifdef __cplusplus
100246 #endif
100249 main ()
100251 return f != $ac_func;
100253 return 0;
100255 _ACEOF
100256 rm -f conftest.$ac_objext conftest$ac_exeext
100257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100258 (eval $ac_link) 2>conftest.er1
100259 ac_status=$?
100260 grep -v '^ *+' conftest.er1 >conftest.err
100261 rm -f conftest.er1
100262 cat conftest.err >&5
100263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100264 (exit $ac_status); } &&
100265 { ac_try='test -z "$ac_c_werror_flag"
100266 || test ! -s conftest.err'
100267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100268 (eval $ac_try) 2>&5
100269 ac_status=$?
100270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100271 (exit $ac_status); }; } &&
100272 { ac_try='test -s conftest$ac_exeext'
100273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100274 (eval $ac_try) 2>&5
100275 ac_status=$?
100276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100277 (exit $ac_status); }; }; then
100278 eval "$as_ac_var=yes"
100280 echo "$as_me: failed program was:" >&5
100281 sed 's/^/| /' conftest.$ac_ext >&5
100283 eval "$as_ac_var=no"
100285 rm -f conftest.err conftest.$ac_objext \
100286 conftest$ac_exeext conftest.$ac_ext
100288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100290 if test `eval echo '${'$as_ac_var'}'` = yes; then
100291 cat >>confdefs.h <<_ACEOF
100292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100293 _ACEOF
100306 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100307 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100308 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100309 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100310 echo $ECHO_N "(cached) $ECHO_C" >&6
100315 ac_ext=cc
100316 ac_cpp='$CXXCPP $CPPFLAGS'
100317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100321 cat >conftest.$ac_ext <<_ACEOF
100322 /* confdefs.h. */
100323 _ACEOF
100324 cat confdefs.h >>conftest.$ac_ext
100325 cat >>conftest.$ac_ext <<_ACEOF
100326 /* end confdefs.h. */
100327 #include <math.h>
100328 #ifdef HAVE_IEEEFP_H
100329 #include <ieeefp.h>
100330 #endif
100333 main ()
100335 fabsl(0);
100337 return 0;
100339 _ACEOF
100340 rm -f conftest.$ac_objext
100341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100342 (eval $ac_compile) 2>conftest.er1
100343 ac_status=$?
100344 grep -v '^ *+' conftest.er1 >conftest.err
100345 rm -f conftest.er1
100346 cat conftest.err >&5
100347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100348 (exit $ac_status); } &&
100349 { ac_try='test -z "$ac_cxx_werror_flag"
100350 || test ! -s conftest.err'
100351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100352 (eval $ac_try) 2>&5
100353 ac_status=$?
100354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100355 (exit $ac_status); }; } &&
100356 { ac_try='test -s conftest.$ac_objext'
100357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100358 (eval $ac_try) 2>&5
100359 ac_status=$?
100360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100361 (exit $ac_status); }; }; then
100362 glibcxx_cv_func_fabsl_use=yes
100364 echo "$as_me: failed program was:" >&5
100365 sed 's/^/| /' conftest.$ac_ext >&5
100367 glibcxx_cv_func_fabsl_use=no
100369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100370 ac_ext=c
100371 ac_cpp='$CPP $CPPFLAGS'
100372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100381 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100383 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100385 for ac_func in fabsl
100387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100388 echo "$as_me:$LINENO: checking for $ac_func" >&5
100389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100390 if eval "test \"\${$as_ac_var+set}\" = set"; then
100391 echo $ECHO_N "(cached) $ECHO_C" >&6
100393 if test x$gcc_no_link = xyes; then
100394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100396 { (exit 1); exit 1; }; }
100398 cat >conftest.$ac_ext <<_ACEOF
100399 /* confdefs.h. */
100400 _ACEOF
100401 cat confdefs.h >>conftest.$ac_ext
100402 cat >>conftest.$ac_ext <<_ACEOF
100403 /* end confdefs.h. */
100404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100406 #define $ac_func innocuous_$ac_func
100408 /* System header to define __stub macros and hopefully few prototypes,
100409 which can conflict with char $ac_func (); below.
100410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100411 <limits.h> exists even on freestanding compilers. */
100413 #ifdef __STDC__
100414 # include <limits.h>
100415 #else
100416 # include <assert.h>
100417 #endif
100419 #undef $ac_func
100421 /* Override any gcc2 internal prototype to avoid an error. */
100422 #ifdef __cplusplus
100423 extern "C"
100425 #endif
100426 /* We use char because int might match the return type of a gcc2
100427 builtin and then its argument prototype would still apply. */
100428 char $ac_func ();
100429 /* The GNU C library defines this for functions which it implements
100430 to always fail with ENOSYS. Some functions are actually named
100431 something starting with __ and the normal name is an alias. */
100432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100433 choke me
100434 #else
100435 char (*f) () = $ac_func;
100436 #endif
100437 #ifdef __cplusplus
100439 #endif
100442 main ()
100444 return f != $ac_func;
100446 return 0;
100448 _ACEOF
100449 rm -f conftest.$ac_objext conftest$ac_exeext
100450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100451 (eval $ac_link) 2>conftest.er1
100452 ac_status=$?
100453 grep -v '^ *+' conftest.er1 >conftest.err
100454 rm -f conftest.er1
100455 cat conftest.err >&5
100456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100457 (exit $ac_status); } &&
100458 { ac_try='test -z "$ac_c_werror_flag"
100459 || test ! -s conftest.err'
100460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100461 (eval $ac_try) 2>&5
100462 ac_status=$?
100463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100464 (exit $ac_status); }; } &&
100465 { ac_try='test -s conftest$ac_exeext'
100466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100467 (eval $ac_try) 2>&5
100468 ac_status=$?
100469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100470 (exit $ac_status); }; }; then
100471 eval "$as_ac_var=yes"
100473 echo "$as_me: failed program was:" >&5
100474 sed 's/^/| /' conftest.$ac_ext >&5
100476 eval "$as_ac_var=no"
100478 rm -f conftest.err conftest.$ac_objext \
100479 conftest$ac_exeext conftest.$ac_ext
100481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100483 if test `eval echo '${'$as_ac_var'}'` = yes; then
100484 cat >>confdefs.h <<_ACEOF
100485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100486 _ACEOF
100493 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100494 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100495 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100496 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100497 echo $ECHO_N "(cached) $ECHO_C" >&6
100502 ac_ext=cc
100503 ac_cpp='$CXXCPP $CPPFLAGS'
100504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100508 cat >conftest.$ac_ext <<_ACEOF
100509 /* confdefs.h. */
100510 _ACEOF
100511 cat confdefs.h >>conftest.$ac_ext
100512 cat >>conftest.$ac_ext <<_ACEOF
100513 /* end confdefs.h. */
100514 #include <math.h>
100515 #ifdef HAVE_IEEEFP_H
100516 #include <ieeefp.h>
100517 #endif
100520 main ()
100522 _fabsl(0);
100524 return 0;
100526 _ACEOF
100527 rm -f conftest.$ac_objext
100528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100529 (eval $ac_compile) 2>conftest.er1
100530 ac_status=$?
100531 grep -v '^ *+' conftest.er1 >conftest.err
100532 rm -f conftest.er1
100533 cat conftest.err >&5
100534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100535 (exit $ac_status); } &&
100536 { ac_try='test -z "$ac_cxx_werror_flag"
100537 || test ! -s conftest.err'
100538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100539 (eval $ac_try) 2>&5
100540 ac_status=$?
100541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100542 (exit $ac_status); }; } &&
100543 { ac_try='test -s conftest.$ac_objext'
100544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100545 (eval $ac_try) 2>&5
100546 ac_status=$?
100547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100548 (exit $ac_status); }; }; then
100549 glibcxx_cv_func__fabsl_use=yes
100551 echo "$as_me: failed program was:" >&5
100552 sed 's/^/| /' conftest.$ac_ext >&5
100554 glibcxx_cv_func__fabsl_use=no
100556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100557 ac_ext=c
100558 ac_cpp='$CPP $CPPFLAGS'
100559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100568 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100570 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100572 for ac_func in _fabsl
100574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100575 echo "$as_me:$LINENO: checking for $ac_func" >&5
100576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100577 if eval "test \"\${$as_ac_var+set}\" = set"; then
100578 echo $ECHO_N "(cached) $ECHO_C" >&6
100580 if test x$gcc_no_link = xyes; then
100581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100583 { (exit 1); exit 1; }; }
100585 cat >conftest.$ac_ext <<_ACEOF
100586 /* confdefs.h. */
100587 _ACEOF
100588 cat confdefs.h >>conftest.$ac_ext
100589 cat >>conftest.$ac_ext <<_ACEOF
100590 /* end confdefs.h. */
100591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100593 #define $ac_func innocuous_$ac_func
100595 /* System header to define __stub macros and hopefully few prototypes,
100596 which can conflict with char $ac_func (); below.
100597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100598 <limits.h> exists even on freestanding compilers. */
100600 #ifdef __STDC__
100601 # include <limits.h>
100602 #else
100603 # include <assert.h>
100604 #endif
100606 #undef $ac_func
100608 /* Override any gcc2 internal prototype to avoid an error. */
100609 #ifdef __cplusplus
100610 extern "C"
100612 #endif
100613 /* We use char because int might match the return type of a gcc2
100614 builtin and then its argument prototype would still apply. */
100615 char $ac_func ();
100616 /* The GNU C library defines this for functions which it implements
100617 to always fail with ENOSYS. Some functions are actually named
100618 something starting with __ and the normal name is an alias. */
100619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100620 choke me
100621 #else
100622 char (*f) () = $ac_func;
100623 #endif
100624 #ifdef __cplusplus
100626 #endif
100629 main ()
100631 return f != $ac_func;
100633 return 0;
100635 _ACEOF
100636 rm -f conftest.$ac_objext conftest$ac_exeext
100637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100638 (eval $ac_link) 2>conftest.er1
100639 ac_status=$?
100640 grep -v '^ *+' conftest.er1 >conftest.err
100641 rm -f conftest.er1
100642 cat conftest.err >&5
100643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100644 (exit $ac_status); } &&
100645 { ac_try='test -z "$ac_c_werror_flag"
100646 || test ! -s conftest.err'
100647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100648 (eval $ac_try) 2>&5
100649 ac_status=$?
100650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100651 (exit $ac_status); }; } &&
100652 { ac_try='test -s conftest$ac_exeext'
100653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100654 (eval $ac_try) 2>&5
100655 ac_status=$?
100656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100657 (exit $ac_status); }; }; then
100658 eval "$as_ac_var=yes"
100660 echo "$as_me: failed program was:" >&5
100661 sed 's/^/| /' conftest.$ac_ext >&5
100663 eval "$as_ac_var=no"
100665 rm -f conftest.err conftest.$ac_objext \
100666 conftest$ac_exeext conftest.$ac_ext
100668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100670 if test `eval echo '${'$as_ac_var'}'` = yes; then
100671 cat >>confdefs.h <<_ACEOF
100672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100673 _ACEOF
100686 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100687 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100688 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100689 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100690 echo $ECHO_N "(cached) $ECHO_C" >&6
100695 ac_ext=cc
100696 ac_cpp='$CXXCPP $CPPFLAGS'
100697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100701 cat >conftest.$ac_ext <<_ACEOF
100702 /* confdefs.h. */
100703 _ACEOF
100704 cat confdefs.h >>conftest.$ac_ext
100705 cat >>conftest.$ac_ext <<_ACEOF
100706 /* end confdefs.h. */
100707 #include <math.h>
100709 main ()
100711 fmodl(0, 0);
100713 return 0;
100715 _ACEOF
100716 rm -f conftest.$ac_objext
100717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100718 (eval $ac_compile) 2>conftest.er1
100719 ac_status=$?
100720 grep -v '^ *+' conftest.er1 >conftest.err
100721 rm -f conftest.er1
100722 cat conftest.err >&5
100723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100724 (exit $ac_status); } &&
100725 { ac_try='test -z "$ac_cxx_werror_flag"
100726 || test ! -s conftest.err'
100727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100728 (eval $ac_try) 2>&5
100729 ac_status=$?
100730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100731 (exit $ac_status); }; } &&
100732 { ac_try='test -s conftest.$ac_objext'
100733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100734 (eval $ac_try) 2>&5
100735 ac_status=$?
100736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100737 (exit $ac_status); }; }; then
100738 glibcxx_cv_func_fmodl_use=yes
100740 echo "$as_me: failed program was:" >&5
100741 sed 's/^/| /' conftest.$ac_ext >&5
100743 glibcxx_cv_func_fmodl_use=no
100745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100746 ac_ext=c
100747 ac_cpp='$CPP $CPPFLAGS'
100748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
100757 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
100759 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
100761 for ac_func in fmodl
100763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100764 echo "$as_me:$LINENO: checking for $ac_func" >&5
100765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100766 if eval "test \"\${$as_ac_var+set}\" = set"; then
100767 echo $ECHO_N "(cached) $ECHO_C" >&6
100769 if test x$gcc_no_link = xyes; then
100770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100772 { (exit 1); exit 1; }; }
100774 cat >conftest.$ac_ext <<_ACEOF
100775 /* confdefs.h. */
100776 _ACEOF
100777 cat confdefs.h >>conftest.$ac_ext
100778 cat >>conftest.$ac_ext <<_ACEOF
100779 /* end confdefs.h. */
100780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100782 #define $ac_func innocuous_$ac_func
100784 /* System header to define __stub macros and hopefully few prototypes,
100785 which can conflict with char $ac_func (); below.
100786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100787 <limits.h> exists even on freestanding compilers. */
100789 #ifdef __STDC__
100790 # include <limits.h>
100791 #else
100792 # include <assert.h>
100793 #endif
100795 #undef $ac_func
100797 /* Override any gcc2 internal prototype to avoid an error. */
100798 #ifdef __cplusplus
100799 extern "C"
100801 #endif
100802 /* We use char because int might match the return type of a gcc2
100803 builtin and then its argument prototype would still apply. */
100804 char $ac_func ();
100805 /* The GNU C library defines this for functions which it implements
100806 to always fail with ENOSYS. Some functions are actually named
100807 something starting with __ and the normal name is an alias. */
100808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100809 choke me
100810 #else
100811 char (*f) () = $ac_func;
100812 #endif
100813 #ifdef __cplusplus
100815 #endif
100818 main ()
100820 return f != $ac_func;
100822 return 0;
100824 _ACEOF
100825 rm -f conftest.$ac_objext conftest$ac_exeext
100826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100827 (eval $ac_link) 2>conftest.er1
100828 ac_status=$?
100829 grep -v '^ *+' conftest.er1 >conftest.err
100830 rm -f conftest.er1
100831 cat conftest.err >&5
100832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100833 (exit $ac_status); } &&
100834 { ac_try='test -z "$ac_c_werror_flag"
100835 || test ! -s conftest.err'
100836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100837 (eval $ac_try) 2>&5
100838 ac_status=$?
100839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100840 (exit $ac_status); }; } &&
100841 { ac_try='test -s conftest$ac_exeext'
100842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100843 (eval $ac_try) 2>&5
100844 ac_status=$?
100845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100846 (exit $ac_status); }; }; then
100847 eval "$as_ac_var=yes"
100849 echo "$as_me: failed program was:" >&5
100850 sed 's/^/| /' conftest.$ac_ext >&5
100852 eval "$as_ac_var=no"
100854 rm -f conftest.err conftest.$ac_objext \
100855 conftest$ac_exeext conftest.$ac_ext
100857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100859 if test `eval echo '${'$as_ac_var'}'` = yes; then
100860 cat >>confdefs.h <<_ACEOF
100861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100862 _ACEOF
100869 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
100870 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
100871 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
100872 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
100873 echo $ECHO_N "(cached) $ECHO_C" >&6
100878 ac_ext=cc
100879 ac_cpp='$CXXCPP $CPPFLAGS'
100880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100884 cat >conftest.$ac_ext <<_ACEOF
100885 /* confdefs.h. */
100886 _ACEOF
100887 cat confdefs.h >>conftest.$ac_ext
100888 cat >>conftest.$ac_ext <<_ACEOF
100889 /* end confdefs.h. */
100890 #include <math.h>
100892 main ()
100894 _fmodl(0, 0);
100896 return 0;
100898 _ACEOF
100899 rm -f conftest.$ac_objext
100900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100901 (eval $ac_compile) 2>conftest.er1
100902 ac_status=$?
100903 grep -v '^ *+' conftest.er1 >conftest.err
100904 rm -f conftest.er1
100905 cat conftest.err >&5
100906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100907 (exit $ac_status); } &&
100908 { ac_try='test -z "$ac_cxx_werror_flag"
100909 || test ! -s conftest.err'
100910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100911 (eval $ac_try) 2>&5
100912 ac_status=$?
100913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100914 (exit $ac_status); }; } &&
100915 { ac_try='test -s conftest.$ac_objext'
100916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100917 (eval $ac_try) 2>&5
100918 ac_status=$?
100919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100920 (exit $ac_status); }; }; then
100921 glibcxx_cv_func__fmodl_use=yes
100923 echo "$as_me: failed program was:" >&5
100924 sed 's/^/| /' conftest.$ac_ext >&5
100926 glibcxx_cv_func__fmodl_use=no
100928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100929 ac_ext=c
100930 ac_cpp='$CPP $CPPFLAGS'
100931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
100940 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
100942 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
100944 for ac_func in _fmodl
100946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100947 echo "$as_me:$LINENO: checking for $ac_func" >&5
100948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100949 if eval "test \"\${$as_ac_var+set}\" = set"; then
100950 echo $ECHO_N "(cached) $ECHO_C" >&6
100952 if test x$gcc_no_link = xyes; then
100953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100955 { (exit 1); exit 1; }; }
100957 cat >conftest.$ac_ext <<_ACEOF
100958 /* confdefs.h. */
100959 _ACEOF
100960 cat confdefs.h >>conftest.$ac_ext
100961 cat >>conftest.$ac_ext <<_ACEOF
100962 /* end confdefs.h. */
100963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100965 #define $ac_func innocuous_$ac_func
100967 /* System header to define __stub macros and hopefully few prototypes,
100968 which can conflict with char $ac_func (); below.
100969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100970 <limits.h> exists even on freestanding compilers. */
100972 #ifdef __STDC__
100973 # include <limits.h>
100974 #else
100975 # include <assert.h>
100976 #endif
100978 #undef $ac_func
100980 /* Override any gcc2 internal prototype to avoid an error. */
100981 #ifdef __cplusplus
100982 extern "C"
100984 #endif
100985 /* We use char because int might match the return type of a gcc2
100986 builtin and then its argument prototype would still apply. */
100987 char $ac_func ();
100988 /* The GNU C library defines this for functions which it implements
100989 to always fail with ENOSYS. Some functions are actually named
100990 something starting with __ and the normal name is an alias. */
100991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100992 choke me
100993 #else
100994 char (*f) () = $ac_func;
100995 #endif
100996 #ifdef __cplusplus
100998 #endif
101001 main ()
101003 return f != $ac_func;
101005 return 0;
101007 _ACEOF
101008 rm -f conftest.$ac_objext conftest$ac_exeext
101009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101010 (eval $ac_link) 2>conftest.er1
101011 ac_status=$?
101012 grep -v '^ *+' conftest.er1 >conftest.err
101013 rm -f conftest.er1
101014 cat conftest.err >&5
101015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101016 (exit $ac_status); } &&
101017 { ac_try='test -z "$ac_c_werror_flag"
101018 || test ! -s conftest.err'
101019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101020 (eval $ac_try) 2>&5
101021 ac_status=$?
101022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101023 (exit $ac_status); }; } &&
101024 { ac_try='test -s conftest$ac_exeext'
101025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101026 (eval $ac_try) 2>&5
101027 ac_status=$?
101028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101029 (exit $ac_status); }; }; then
101030 eval "$as_ac_var=yes"
101032 echo "$as_me: failed program was:" >&5
101033 sed 's/^/| /' conftest.$ac_ext >&5
101035 eval "$as_ac_var=no"
101037 rm -f conftest.err conftest.$ac_objext \
101038 conftest$ac_exeext conftest.$ac_ext
101040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101042 if test `eval echo '${'$as_ac_var'}'` = yes; then
101043 cat >>confdefs.h <<_ACEOF
101044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101045 _ACEOF
101058 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101059 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101060 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101061 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101062 echo $ECHO_N "(cached) $ECHO_C" >&6
101067 ac_ext=cc
101068 ac_cpp='$CXXCPP $CPPFLAGS'
101069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101073 cat >conftest.$ac_ext <<_ACEOF
101074 /* confdefs.h. */
101075 _ACEOF
101076 cat confdefs.h >>conftest.$ac_ext
101077 cat >>conftest.$ac_ext <<_ACEOF
101078 /* end confdefs.h. */
101079 #include <math.h>
101081 main ()
101083 frexpl(0, 0);
101085 return 0;
101087 _ACEOF
101088 rm -f conftest.$ac_objext
101089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101090 (eval $ac_compile) 2>conftest.er1
101091 ac_status=$?
101092 grep -v '^ *+' conftest.er1 >conftest.err
101093 rm -f conftest.er1
101094 cat conftest.err >&5
101095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101096 (exit $ac_status); } &&
101097 { ac_try='test -z "$ac_cxx_werror_flag"
101098 || test ! -s conftest.err'
101099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101100 (eval $ac_try) 2>&5
101101 ac_status=$?
101102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101103 (exit $ac_status); }; } &&
101104 { ac_try='test -s conftest.$ac_objext'
101105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101106 (eval $ac_try) 2>&5
101107 ac_status=$?
101108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101109 (exit $ac_status); }; }; then
101110 glibcxx_cv_func_frexpl_use=yes
101112 echo "$as_me: failed program was:" >&5
101113 sed 's/^/| /' conftest.$ac_ext >&5
101115 glibcxx_cv_func_frexpl_use=no
101117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101118 ac_ext=c
101119 ac_cpp='$CPP $CPPFLAGS'
101120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101129 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101131 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101133 for ac_func in frexpl
101135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101136 echo "$as_me:$LINENO: checking for $ac_func" >&5
101137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101138 if eval "test \"\${$as_ac_var+set}\" = set"; then
101139 echo $ECHO_N "(cached) $ECHO_C" >&6
101141 if test x$gcc_no_link = xyes; then
101142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101144 { (exit 1); exit 1; }; }
101146 cat >conftest.$ac_ext <<_ACEOF
101147 /* confdefs.h. */
101148 _ACEOF
101149 cat confdefs.h >>conftest.$ac_ext
101150 cat >>conftest.$ac_ext <<_ACEOF
101151 /* end confdefs.h. */
101152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101154 #define $ac_func innocuous_$ac_func
101156 /* System header to define __stub macros and hopefully few prototypes,
101157 which can conflict with char $ac_func (); below.
101158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101159 <limits.h> exists even on freestanding compilers. */
101161 #ifdef __STDC__
101162 # include <limits.h>
101163 #else
101164 # include <assert.h>
101165 #endif
101167 #undef $ac_func
101169 /* Override any gcc2 internal prototype to avoid an error. */
101170 #ifdef __cplusplus
101171 extern "C"
101173 #endif
101174 /* We use char because int might match the return type of a gcc2
101175 builtin and then its argument prototype would still apply. */
101176 char $ac_func ();
101177 /* The GNU C library defines this for functions which it implements
101178 to always fail with ENOSYS. Some functions are actually named
101179 something starting with __ and the normal name is an alias. */
101180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101181 choke me
101182 #else
101183 char (*f) () = $ac_func;
101184 #endif
101185 #ifdef __cplusplus
101187 #endif
101190 main ()
101192 return f != $ac_func;
101194 return 0;
101196 _ACEOF
101197 rm -f conftest.$ac_objext conftest$ac_exeext
101198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101199 (eval $ac_link) 2>conftest.er1
101200 ac_status=$?
101201 grep -v '^ *+' conftest.er1 >conftest.err
101202 rm -f conftest.er1
101203 cat conftest.err >&5
101204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101205 (exit $ac_status); } &&
101206 { ac_try='test -z "$ac_c_werror_flag"
101207 || test ! -s conftest.err'
101208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101209 (eval $ac_try) 2>&5
101210 ac_status=$?
101211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101212 (exit $ac_status); }; } &&
101213 { ac_try='test -s conftest$ac_exeext'
101214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101215 (eval $ac_try) 2>&5
101216 ac_status=$?
101217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101218 (exit $ac_status); }; }; then
101219 eval "$as_ac_var=yes"
101221 echo "$as_me: failed program was:" >&5
101222 sed 's/^/| /' conftest.$ac_ext >&5
101224 eval "$as_ac_var=no"
101226 rm -f conftest.err conftest.$ac_objext \
101227 conftest$ac_exeext conftest.$ac_ext
101229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101231 if test `eval echo '${'$as_ac_var'}'` = yes; then
101232 cat >>confdefs.h <<_ACEOF
101233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101234 _ACEOF
101241 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101242 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101243 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101244 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101245 echo $ECHO_N "(cached) $ECHO_C" >&6
101250 ac_ext=cc
101251 ac_cpp='$CXXCPP $CPPFLAGS'
101252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101256 cat >conftest.$ac_ext <<_ACEOF
101257 /* confdefs.h. */
101258 _ACEOF
101259 cat confdefs.h >>conftest.$ac_ext
101260 cat >>conftest.$ac_ext <<_ACEOF
101261 /* end confdefs.h. */
101262 #include <math.h>
101264 main ()
101266 _frexpl(0, 0);
101268 return 0;
101270 _ACEOF
101271 rm -f conftest.$ac_objext
101272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101273 (eval $ac_compile) 2>conftest.er1
101274 ac_status=$?
101275 grep -v '^ *+' conftest.er1 >conftest.err
101276 rm -f conftest.er1
101277 cat conftest.err >&5
101278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101279 (exit $ac_status); } &&
101280 { ac_try='test -z "$ac_cxx_werror_flag"
101281 || test ! -s conftest.err'
101282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101283 (eval $ac_try) 2>&5
101284 ac_status=$?
101285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101286 (exit $ac_status); }; } &&
101287 { ac_try='test -s conftest.$ac_objext'
101288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101289 (eval $ac_try) 2>&5
101290 ac_status=$?
101291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101292 (exit $ac_status); }; }; then
101293 glibcxx_cv_func__frexpl_use=yes
101295 echo "$as_me: failed program was:" >&5
101296 sed 's/^/| /' conftest.$ac_ext >&5
101298 glibcxx_cv_func__frexpl_use=no
101300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101301 ac_ext=c
101302 ac_cpp='$CPP $CPPFLAGS'
101303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101312 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101314 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101316 for ac_func in _frexpl
101318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101319 echo "$as_me:$LINENO: checking for $ac_func" >&5
101320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101321 if eval "test \"\${$as_ac_var+set}\" = set"; then
101322 echo $ECHO_N "(cached) $ECHO_C" >&6
101324 if test x$gcc_no_link = xyes; then
101325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101327 { (exit 1); exit 1; }; }
101329 cat >conftest.$ac_ext <<_ACEOF
101330 /* confdefs.h. */
101331 _ACEOF
101332 cat confdefs.h >>conftest.$ac_ext
101333 cat >>conftest.$ac_ext <<_ACEOF
101334 /* end confdefs.h. */
101335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101337 #define $ac_func innocuous_$ac_func
101339 /* System header to define __stub macros and hopefully few prototypes,
101340 which can conflict with char $ac_func (); below.
101341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101342 <limits.h> exists even on freestanding compilers. */
101344 #ifdef __STDC__
101345 # include <limits.h>
101346 #else
101347 # include <assert.h>
101348 #endif
101350 #undef $ac_func
101352 /* Override any gcc2 internal prototype to avoid an error. */
101353 #ifdef __cplusplus
101354 extern "C"
101356 #endif
101357 /* We use char because int might match the return type of a gcc2
101358 builtin and then its argument prototype would still apply. */
101359 char $ac_func ();
101360 /* The GNU C library defines this for functions which it implements
101361 to always fail with ENOSYS. Some functions are actually named
101362 something starting with __ and the normal name is an alias. */
101363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101364 choke me
101365 #else
101366 char (*f) () = $ac_func;
101367 #endif
101368 #ifdef __cplusplus
101370 #endif
101373 main ()
101375 return f != $ac_func;
101377 return 0;
101379 _ACEOF
101380 rm -f conftest.$ac_objext conftest$ac_exeext
101381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101382 (eval $ac_link) 2>conftest.er1
101383 ac_status=$?
101384 grep -v '^ *+' conftest.er1 >conftest.err
101385 rm -f conftest.er1
101386 cat conftest.err >&5
101387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101388 (exit $ac_status); } &&
101389 { ac_try='test -z "$ac_c_werror_flag"
101390 || test ! -s conftest.err'
101391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101392 (eval $ac_try) 2>&5
101393 ac_status=$?
101394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101395 (exit $ac_status); }; } &&
101396 { ac_try='test -s conftest$ac_exeext'
101397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101398 (eval $ac_try) 2>&5
101399 ac_status=$?
101400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101401 (exit $ac_status); }; }; then
101402 eval "$as_ac_var=yes"
101404 echo "$as_me: failed program was:" >&5
101405 sed 's/^/| /' conftest.$ac_ext >&5
101407 eval "$as_ac_var=no"
101409 rm -f conftest.err conftest.$ac_objext \
101410 conftest$ac_exeext conftest.$ac_ext
101412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101414 if test `eval echo '${'$as_ac_var'}'` = yes; then
101415 cat >>confdefs.h <<_ACEOF
101416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101417 _ACEOF
101430 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101431 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101432 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101433 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101434 echo $ECHO_N "(cached) $ECHO_C" >&6
101439 ac_ext=cc
101440 ac_cpp='$CXXCPP $CPPFLAGS'
101441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101445 cat >conftest.$ac_ext <<_ACEOF
101446 /* confdefs.h. */
101447 _ACEOF
101448 cat confdefs.h >>conftest.$ac_ext
101449 cat >>conftest.$ac_ext <<_ACEOF
101450 /* end confdefs.h. */
101451 #include <math.h>
101453 main ()
101455 hypotl(0, 0);
101457 return 0;
101459 _ACEOF
101460 rm -f conftest.$ac_objext
101461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101462 (eval $ac_compile) 2>conftest.er1
101463 ac_status=$?
101464 grep -v '^ *+' conftest.er1 >conftest.err
101465 rm -f conftest.er1
101466 cat conftest.err >&5
101467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101468 (exit $ac_status); } &&
101469 { ac_try='test -z "$ac_cxx_werror_flag"
101470 || test ! -s conftest.err'
101471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101472 (eval $ac_try) 2>&5
101473 ac_status=$?
101474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101475 (exit $ac_status); }; } &&
101476 { ac_try='test -s conftest.$ac_objext'
101477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101478 (eval $ac_try) 2>&5
101479 ac_status=$?
101480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101481 (exit $ac_status); }; }; then
101482 glibcxx_cv_func_hypotl_use=yes
101484 echo "$as_me: failed program was:" >&5
101485 sed 's/^/| /' conftest.$ac_ext >&5
101487 glibcxx_cv_func_hypotl_use=no
101489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101490 ac_ext=c
101491 ac_cpp='$CPP $CPPFLAGS'
101492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101500 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101501 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101503 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101505 for ac_func in hypotl
101507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101508 echo "$as_me:$LINENO: checking for $ac_func" >&5
101509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101510 if eval "test \"\${$as_ac_var+set}\" = set"; then
101511 echo $ECHO_N "(cached) $ECHO_C" >&6
101513 if test x$gcc_no_link = xyes; then
101514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101516 { (exit 1); exit 1; }; }
101518 cat >conftest.$ac_ext <<_ACEOF
101519 /* confdefs.h. */
101520 _ACEOF
101521 cat confdefs.h >>conftest.$ac_ext
101522 cat >>conftest.$ac_ext <<_ACEOF
101523 /* end confdefs.h. */
101524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101526 #define $ac_func innocuous_$ac_func
101528 /* System header to define __stub macros and hopefully few prototypes,
101529 which can conflict with char $ac_func (); below.
101530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101531 <limits.h> exists even on freestanding compilers. */
101533 #ifdef __STDC__
101534 # include <limits.h>
101535 #else
101536 # include <assert.h>
101537 #endif
101539 #undef $ac_func
101541 /* Override any gcc2 internal prototype to avoid an error. */
101542 #ifdef __cplusplus
101543 extern "C"
101545 #endif
101546 /* We use char because int might match the return type of a gcc2
101547 builtin and then its argument prototype would still apply. */
101548 char $ac_func ();
101549 /* The GNU C library defines this for functions which it implements
101550 to always fail with ENOSYS. Some functions are actually named
101551 something starting with __ and the normal name is an alias. */
101552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101553 choke me
101554 #else
101555 char (*f) () = $ac_func;
101556 #endif
101557 #ifdef __cplusplus
101559 #endif
101562 main ()
101564 return f != $ac_func;
101566 return 0;
101568 _ACEOF
101569 rm -f conftest.$ac_objext conftest$ac_exeext
101570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101571 (eval $ac_link) 2>conftest.er1
101572 ac_status=$?
101573 grep -v '^ *+' conftest.er1 >conftest.err
101574 rm -f conftest.er1
101575 cat conftest.err >&5
101576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101577 (exit $ac_status); } &&
101578 { ac_try='test -z "$ac_c_werror_flag"
101579 || test ! -s conftest.err'
101580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101581 (eval $ac_try) 2>&5
101582 ac_status=$?
101583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101584 (exit $ac_status); }; } &&
101585 { ac_try='test -s conftest$ac_exeext'
101586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101587 (eval $ac_try) 2>&5
101588 ac_status=$?
101589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101590 (exit $ac_status); }; }; then
101591 eval "$as_ac_var=yes"
101593 echo "$as_me: failed program was:" >&5
101594 sed 's/^/| /' conftest.$ac_ext >&5
101596 eval "$as_ac_var=no"
101598 rm -f conftest.err conftest.$ac_objext \
101599 conftest$ac_exeext conftest.$ac_ext
101601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101603 if test `eval echo '${'$as_ac_var'}'` = yes; then
101604 cat >>confdefs.h <<_ACEOF
101605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101606 _ACEOF
101613 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101614 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101615 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101616 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101617 echo $ECHO_N "(cached) $ECHO_C" >&6
101622 ac_ext=cc
101623 ac_cpp='$CXXCPP $CPPFLAGS'
101624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101628 cat >conftest.$ac_ext <<_ACEOF
101629 /* confdefs.h. */
101630 _ACEOF
101631 cat confdefs.h >>conftest.$ac_ext
101632 cat >>conftest.$ac_ext <<_ACEOF
101633 /* end confdefs.h. */
101634 #include <math.h>
101636 main ()
101638 _hypotl(0, 0);
101640 return 0;
101642 _ACEOF
101643 rm -f conftest.$ac_objext
101644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101645 (eval $ac_compile) 2>conftest.er1
101646 ac_status=$?
101647 grep -v '^ *+' conftest.er1 >conftest.err
101648 rm -f conftest.er1
101649 cat conftest.err >&5
101650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101651 (exit $ac_status); } &&
101652 { ac_try='test -z "$ac_cxx_werror_flag"
101653 || test ! -s conftest.err'
101654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101655 (eval $ac_try) 2>&5
101656 ac_status=$?
101657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101658 (exit $ac_status); }; } &&
101659 { ac_try='test -s conftest.$ac_objext'
101660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101661 (eval $ac_try) 2>&5
101662 ac_status=$?
101663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101664 (exit $ac_status); }; }; then
101665 glibcxx_cv_func__hypotl_use=yes
101667 echo "$as_me: failed program was:" >&5
101668 sed 's/^/| /' conftest.$ac_ext >&5
101670 glibcxx_cv_func__hypotl_use=no
101672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101673 ac_ext=c
101674 ac_cpp='$CPP $CPPFLAGS'
101675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
101684 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
101686 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101688 for ac_func in _hypotl
101690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101691 echo "$as_me:$LINENO: checking for $ac_func" >&5
101692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101693 if eval "test \"\${$as_ac_var+set}\" = set"; then
101694 echo $ECHO_N "(cached) $ECHO_C" >&6
101696 if test x$gcc_no_link = xyes; then
101697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101699 { (exit 1); exit 1; }; }
101701 cat >conftest.$ac_ext <<_ACEOF
101702 /* confdefs.h. */
101703 _ACEOF
101704 cat confdefs.h >>conftest.$ac_ext
101705 cat >>conftest.$ac_ext <<_ACEOF
101706 /* end confdefs.h. */
101707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101709 #define $ac_func innocuous_$ac_func
101711 /* System header to define __stub macros and hopefully few prototypes,
101712 which can conflict with char $ac_func (); below.
101713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101714 <limits.h> exists even on freestanding compilers. */
101716 #ifdef __STDC__
101717 # include <limits.h>
101718 #else
101719 # include <assert.h>
101720 #endif
101722 #undef $ac_func
101724 /* Override any gcc2 internal prototype to avoid an error. */
101725 #ifdef __cplusplus
101726 extern "C"
101728 #endif
101729 /* We use char because int might match the return type of a gcc2
101730 builtin and then its argument prototype would still apply. */
101731 char $ac_func ();
101732 /* The GNU C library defines this for functions which it implements
101733 to always fail with ENOSYS. Some functions are actually named
101734 something starting with __ and the normal name is an alias. */
101735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101736 choke me
101737 #else
101738 char (*f) () = $ac_func;
101739 #endif
101740 #ifdef __cplusplus
101742 #endif
101745 main ()
101747 return f != $ac_func;
101749 return 0;
101751 _ACEOF
101752 rm -f conftest.$ac_objext conftest$ac_exeext
101753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101754 (eval $ac_link) 2>conftest.er1
101755 ac_status=$?
101756 grep -v '^ *+' conftest.er1 >conftest.err
101757 rm -f conftest.er1
101758 cat conftest.err >&5
101759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101760 (exit $ac_status); } &&
101761 { ac_try='test -z "$ac_c_werror_flag"
101762 || test ! -s conftest.err'
101763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101764 (eval $ac_try) 2>&5
101765 ac_status=$?
101766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101767 (exit $ac_status); }; } &&
101768 { ac_try='test -s conftest$ac_exeext'
101769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101770 (eval $ac_try) 2>&5
101771 ac_status=$?
101772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101773 (exit $ac_status); }; }; then
101774 eval "$as_ac_var=yes"
101776 echo "$as_me: failed program was:" >&5
101777 sed 's/^/| /' conftest.$ac_ext >&5
101779 eval "$as_ac_var=no"
101781 rm -f conftest.err conftest.$ac_objext \
101782 conftest$ac_exeext conftest.$ac_ext
101784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101786 if test `eval echo '${'$as_ac_var'}'` = yes; then
101787 cat >>confdefs.h <<_ACEOF
101788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101789 _ACEOF
101802 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
101803 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
101804 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
101805 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
101806 echo $ECHO_N "(cached) $ECHO_C" >&6
101811 ac_ext=cc
101812 ac_cpp='$CXXCPP $CPPFLAGS'
101813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101817 cat >conftest.$ac_ext <<_ACEOF
101818 /* confdefs.h. */
101819 _ACEOF
101820 cat confdefs.h >>conftest.$ac_ext
101821 cat >>conftest.$ac_ext <<_ACEOF
101822 /* end confdefs.h. */
101823 #include <math.h>
101825 main ()
101827 ldexpl(0, 0);
101829 return 0;
101831 _ACEOF
101832 rm -f conftest.$ac_objext
101833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101834 (eval $ac_compile) 2>conftest.er1
101835 ac_status=$?
101836 grep -v '^ *+' conftest.er1 >conftest.err
101837 rm -f conftest.er1
101838 cat conftest.err >&5
101839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101840 (exit $ac_status); } &&
101841 { ac_try='test -z "$ac_cxx_werror_flag"
101842 || test ! -s conftest.err'
101843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101844 (eval $ac_try) 2>&5
101845 ac_status=$?
101846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101847 (exit $ac_status); }; } &&
101848 { ac_try='test -s conftest.$ac_objext'
101849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101850 (eval $ac_try) 2>&5
101851 ac_status=$?
101852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101853 (exit $ac_status); }; }; then
101854 glibcxx_cv_func_ldexpl_use=yes
101856 echo "$as_me: failed program was:" >&5
101857 sed 's/^/| /' conftest.$ac_ext >&5
101859 glibcxx_cv_func_ldexpl_use=no
101861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101862 ac_ext=c
101863 ac_cpp='$CPP $CPPFLAGS'
101864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
101873 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
101875 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
101877 for ac_func in ldexpl
101879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101880 echo "$as_me:$LINENO: checking for $ac_func" >&5
101881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101882 if eval "test \"\${$as_ac_var+set}\" = set"; then
101883 echo $ECHO_N "(cached) $ECHO_C" >&6
101885 if test x$gcc_no_link = xyes; then
101886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101888 { (exit 1); exit 1; }; }
101890 cat >conftest.$ac_ext <<_ACEOF
101891 /* confdefs.h. */
101892 _ACEOF
101893 cat confdefs.h >>conftest.$ac_ext
101894 cat >>conftest.$ac_ext <<_ACEOF
101895 /* end confdefs.h. */
101896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101898 #define $ac_func innocuous_$ac_func
101900 /* System header to define __stub macros and hopefully few prototypes,
101901 which can conflict with char $ac_func (); below.
101902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101903 <limits.h> exists even on freestanding compilers. */
101905 #ifdef __STDC__
101906 # include <limits.h>
101907 #else
101908 # include <assert.h>
101909 #endif
101911 #undef $ac_func
101913 /* Override any gcc2 internal prototype to avoid an error. */
101914 #ifdef __cplusplus
101915 extern "C"
101917 #endif
101918 /* We use char because int might match the return type of a gcc2
101919 builtin and then its argument prototype would still apply. */
101920 char $ac_func ();
101921 /* The GNU C library defines this for functions which it implements
101922 to always fail with ENOSYS. Some functions are actually named
101923 something starting with __ and the normal name is an alias. */
101924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101925 choke me
101926 #else
101927 char (*f) () = $ac_func;
101928 #endif
101929 #ifdef __cplusplus
101931 #endif
101934 main ()
101936 return f != $ac_func;
101938 return 0;
101940 _ACEOF
101941 rm -f conftest.$ac_objext conftest$ac_exeext
101942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101943 (eval $ac_link) 2>conftest.er1
101944 ac_status=$?
101945 grep -v '^ *+' conftest.er1 >conftest.err
101946 rm -f conftest.er1
101947 cat conftest.err >&5
101948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101949 (exit $ac_status); } &&
101950 { ac_try='test -z "$ac_c_werror_flag"
101951 || test ! -s conftest.err'
101952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101953 (eval $ac_try) 2>&5
101954 ac_status=$?
101955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101956 (exit $ac_status); }; } &&
101957 { ac_try='test -s conftest$ac_exeext'
101958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101959 (eval $ac_try) 2>&5
101960 ac_status=$?
101961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101962 (exit $ac_status); }; }; then
101963 eval "$as_ac_var=yes"
101965 echo "$as_me: failed program was:" >&5
101966 sed 's/^/| /' conftest.$ac_ext >&5
101968 eval "$as_ac_var=no"
101970 rm -f conftest.err conftest.$ac_objext \
101971 conftest$ac_exeext conftest.$ac_ext
101973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101975 if test `eval echo '${'$as_ac_var'}'` = yes; then
101976 cat >>confdefs.h <<_ACEOF
101977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101978 _ACEOF
101985 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
101986 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
101987 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
101988 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
101989 echo $ECHO_N "(cached) $ECHO_C" >&6
101994 ac_ext=cc
101995 ac_cpp='$CXXCPP $CPPFLAGS'
101996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102000 cat >conftest.$ac_ext <<_ACEOF
102001 /* confdefs.h. */
102002 _ACEOF
102003 cat confdefs.h >>conftest.$ac_ext
102004 cat >>conftest.$ac_ext <<_ACEOF
102005 /* end confdefs.h. */
102006 #include <math.h>
102008 main ()
102010 _ldexpl(0, 0);
102012 return 0;
102014 _ACEOF
102015 rm -f conftest.$ac_objext
102016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102017 (eval $ac_compile) 2>conftest.er1
102018 ac_status=$?
102019 grep -v '^ *+' conftest.er1 >conftest.err
102020 rm -f conftest.er1
102021 cat conftest.err >&5
102022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102023 (exit $ac_status); } &&
102024 { ac_try='test -z "$ac_cxx_werror_flag"
102025 || test ! -s conftest.err'
102026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102027 (eval $ac_try) 2>&5
102028 ac_status=$?
102029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102030 (exit $ac_status); }; } &&
102031 { ac_try='test -s conftest.$ac_objext'
102032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102033 (eval $ac_try) 2>&5
102034 ac_status=$?
102035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102036 (exit $ac_status); }; }; then
102037 glibcxx_cv_func__ldexpl_use=yes
102039 echo "$as_me: failed program was:" >&5
102040 sed 's/^/| /' conftest.$ac_ext >&5
102042 glibcxx_cv_func__ldexpl_use=no
102044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102045 ac_ext=c
102046 ac_cpp='$CPP $CPPFLAGS'
102047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102056 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102058 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102060 for ac_func in _ldexpl
102062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102063 echo "$as_me:$LINENO: checking for $ac_func" >&5
102064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102065 if eval "test \"\${$as_ac_var+set}\" = set"; then
102066 echo $ECHO_N "(cached) $ECHO_C" >&6
102068 if test x$gcc_no_link = xyes; then
102069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102071 { (exit 1); exit 1; }; }
102073 cat >conftest.$ac_ext <<_ACEOF
102074 /* confdefs.h. */
102075 _ACEOF
102076 cat confdefs.h >>conftest.$ac_ext
102077 cat >>conftest.$ac_ext <<_ACEOF
102078 /* end confdefs.h. */
102079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102081 #define $ac_func innocuous_$ac_func
102083 /* System header to define __stub macros and hopefully few prototypes,
102084 which can conflict with char $ac_func (); below.
102085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102086 <limits.h> exists even on freestanding compilers. */
102088 #ifdef __STDC__
102089 # include <limits.h>
102090 #else
102091 # include <assert.h>
102092 #endif
102094 #undef $ac_func
102096 /* Override any gcc2 internal prototype to avoid an error. */
102097 #ifdef __cplusplus
102098 extern "C"
102100 #endif
102101 /* We use char because int might match the return type of a gcc2
102102 builtin and then its argument prototype would still apply. */
102103 char $ac_func ();
102104 /* The GNU C library defines this for functions which it implements
102105 to always fail with ENOSYS. Some functions are actually named
102106 something starting with __ and the normal name is an alias. */
102107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102108 choke me
102109 #else
102110 char (*f) () = $ac_func;
102111 #endif
102112 #ifdef __cplusplus
102114 #endif
102117 main ()
102119 return f != $ac_func;
102121 return 0;
102123 _ACEOF
102124 rm -f conftest.$ac_objext conftest$ac_exeext
102125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102126 (eval $ac_link) 2>conftest.er1
102127 ac_status=$?
102128 grep -v '^ *+' conftest.er1 >conftest.err
102129 rm -f conftest.er1
102130 cat conftest.err >&5
102131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102132 (exit $ac_status); } &&
102133 { ac_try='test -z "$ac_c_werror_flag"
102134 || test ! -s conftest.err'
102135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102136 (eval $ac_try) 2>&5
102137 ac_status=$?
102138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102139 (exit $ac_status); }; } &&
102140 { ac_try='test -s conftest$ac_exeext'
102141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102142 (eval $ac_try) 2>&5
102143 ac_status=$?
102144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102145 (exit $ac_status); }; }; then
102146 eval "$as_ac_var=yes"
102148 echo "$as_me: failed program was:" >&5
102149 sed 's/^/| /' conftest.$ac_ext >&5
102151 eval "$as_ac_var=no"
102153 rm -f conftest.err conftest.$ac_objext \
102154 conftest$ac_exeext conftest.$ac_ext
102156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102158 if test `eval echo '${'$as_ac_var'}'` = yes; then
102159 cat >>confdefs.h <<_ACEOF
102160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102161 _ACEOF
102174 echo "$as_me:$LINENO: checking for logl declaration" >&5
102175 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102176 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102177 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102178 echo $ECHO_N "(cached) $ECHO_C" >&6
102183 ac_ext=cc
102184 ac_cpp='$CXXCPP $CPPFLAGS'
102185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102189 cat >conftest.$ac_ext <<_ACEOF
102190 /* confdefs.h. */
102191 _ACEOF
102192 cat confdefs.h >>conftest.$ac_ext
102193 cat >>conftest.$ac_ext <<_ACEOF
102194 /* end confdefs.h. */
102195 #include <math.h>
102196 #ifdef HAVE_IEEEFP_H
102197 #include <ieeefp.h>
102198 #endif
102201 main ()
102203 logl(0);
102205 return 0;
102207 _ACEOF
102208 rm -f conftest.$ac_objext
102209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102210 (eval $ac_compile) 2>conftest.er1
102211 ac_status=$?
102212 grep -v '^ *+' conftest.er1 >conftest.err
102213 rm -f conftest.er1
102214 cat conftest.err >&5
102215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102216 (exit $ac_status); } &&
102217 { ac_try='test -z "$ac_cxx_werror_flag"
102218 || test ! -s conftest.err'
102219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102220 (eval $ac_try) 2>&5
102221 ac_status=$?
102222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102223 (exit $ac_status); }; } &&
102224 { ac_try='test -s conftest.$ac_objext'
102225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102226 (eval $ac_try) 2>&5
102227 ac_status=$?
102228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102229 (exit $ac_status); }; }; then
102230 glibcxx_cv_func_logl_use=yes
102232 echo "$as_me: failed program was:" >&5
102233 sed 's/^/| /' conftest.$ac_ext >&5
102235 glibcxx_cv_func_logl_use=no
102237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102238 ac_ext=c
102239 ac_cpp='$CPP $CPPFLAGS'
102240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102249 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102251 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102253 for ac_func in logl
102255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102256 echo "$as_me:$LINENO: checking for $ac_func" >&5
102257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102258 if eval "test \"\${$as_ac_var+set}\" = set"; then
102259 echo $ECHO_N "(cached) $ECHO_C" >&6
102261 if test x$gcc_no_link = xyes; then
102262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102264 { (exit 1); exit 1; }; }
102266 cat >conftest.$ac_ext <<_ACEOF
102267 /* confdefs.h. */
102268 _ACEOF
102269 cat confdefs.h >>conftest.$ac_ext
102270 cat >>conftest.$ac_ext <<_ACEOF
102271 /* end confdefs.h. */
102272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102274 #define $ac_func innocuous_$ac_func
102276 /* System header to define __stub macros and hopefully few prototypes,
102277 which can conflict with char $ac_func (); below.
102278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102279 <limits.h> exists even on freestanding compilers. */
102281 #ifdef __STDC__
102282 # include <limits.h>
102283 #else
102284 # include <assert.h>
102285 #endif
102287 #undef $ac_func
102289 /* Override any gcc2 internal prototype to avoid an error. */
102290 #ifdef __cplusplus
102291 extern "C"
102293 #endif
102294 /* We use char because int might match the return type of a gcc2
102295 builtin and then its argument prototype would still apply. */
102296 char $ac_func ();
102297 /* The GNU C library defines this for functions which it implements
102298 to always fail with ENOSYS. Some functions are actually named
102299 something starting with __ and the normal name is an alias. */
102300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102301 choke me
102302 #else
102303 char (*f) () = $ac_func;
102304 #endif
102305 #ifdef __cplusplus
102307 #endif
102310 main ()
102312 return f != $ac_func;
102314 return 0;
102316 _ACEOF
102317 rm -f conftest.$ac_objext conftest$ac_exeext
102318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102319 (eval $ac_link) 2>conftest.er1
102320 ac_status=$?
102321 grep -v '^ *+' conftest.er1 >conftest.err
102322 rm -f conftest.er1
102323 cat conftest.err >&5
102324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102325 (exit $ac_status); } &&
102326 { ac_try='test -z "$ac_c_werror_flag"
102327 || test ! -s conftest.err'
102328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102329 (eval $ac_try) 2>&5
102330 ac_status=$?
102331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102332 (exit $ac_status); }; } &&
102333 { ac_try='test -s conftest$ac_exeext'
102334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102335 (eval $ac_try) 2>&5
102336 ac_status=$?
102337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102338 (exit $ac_status); }; }; then
102339 eval "$as_ac_var=yes"
102341 echo "$as_me: failed program was:" >&5
102342 sed 's/^/| /' conftest.$ac_ext >&5
102344 eval "$as_ac_var=no"
102346 rm -f conftest.err conftest.$ac_objext \
102347 conftest$ac_exeext conftest.$ac_ext
102349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102351 if test `eval echo '${'$as_ac_var'}'` = yes; then
102352 cat >>confdefs.h <<_ACEOF
102353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102354 _ACEOF
102361 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102362 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102363 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102364 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102365 echo $ECHO_N "(cached) $ECHO_C" >&6
102370 ac_ext=cc
102371 ac_cpp='$CXXCPP $CPPFLAGS'
102372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102376 cat >conftest.$ac_ext <<_ACEOF
102377 /* confdefs.h. */
102378 _ACEOF
102379 cat confdefs.h >>conftest.$ac_ext
102380 cat >>conftest.$ac_ext <<_ACEOF
102381 /* end confdefs.h. */
102382 #include <math.h>
102383 #ifdef HAVE_IEEEFP_H
102384 #include <ieeefp.h>
102385 #endif
102388 main ()
102390 _logl(0);
102392 return 0;
102394 _ACEOF
102395 rm -f conftest.$ac_objext
102396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102397 (eval $ac_compile) 2>conftest.er1
102398 ac_status=$?
102399 grep -v '^ *+' conftest.er1 >conftest.err
102400 rm -f conftest.er1
102401 cat conftest.err >&5
102402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102403 (exit $ac_status); } &&
102404 { ac_try='test -z "$ac_cxx_werror_flag"
102405 || test ! -s conftest.err'
102406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102407 (eval $ac_try) 2>&5
102408 ac_status=$?
102409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102410 (exit $ac_status); }; } &&
102411 { ac_try='test -s conftest.$ac_objext'
102412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102413 (eval $ac_try) 2>&5
102414 ac_status=$?
102415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102416 (exit $ac_status); }; }; then
102417 glibcxx_cv_func__logl_use=yes
102419 echo "$as_me: failed program was:" >&5
102420 sed 's/^/| /' conftest.$ac_ext >&5
102422 glibcxx_cv_func__logl_use=no
102424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102425 ac_ext=c
102426 ac_cpp='$CPP $CPPFLAGS'
102427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102435 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102436 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102438 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102440 for ac_func in _logl
102442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102443 echo "$as_me:$LINENO: checking for $ac_func" >&5
102444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102445 if eval "test \"\${$as_ac_var+set}\" = set"; then
102446 echo $ECHO_N "(cached) $ECHO_C" >&6
102448 if test x$gcc_no_link = xyes; then
102449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102451 { (exit 1); exit 1; }; }
102453 cat >conftest.$ac_ext <<_ACEOF
102454 /* confdefs.h. */
102455 _ACEOF
102456 cat confdefs.h >>conftest.$ac_ext
102457 cat >>conftest.$ac_ext <<_ACEOF
102458 /* end confdefs.h. */
102459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102461 #define $ac_func innocuous_$ac_func
102463 /* System header to define __stub macros and hopefully few prototypes,
102464 which can conflict with char $ac_func (); below.
102465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102466 <limits.h> exists even on freestanding compilers. */
102468 #ifdef __STDC__
102469 # include <limits.h>
102470 #else
102471 # include <assert.h>
102472 #endif
102474 #undef $ac_func
102476 /* Override any gcc2 internal prototype to avoid an error. */
102477 #ifdef __cplusplus
102478 extern "C"
102480 #endif
102481 /* We use char because int might match the return type of a gcc2
102482 builtin and then its argument prototype would still apply. */
102483 char $ac_func ();
102484 /* The GNU C library defines this for functions which it implements
102485 to always fail with ENOSYS. Some functions are actually named
102486 something starting with __ and the normal name is an alias. */
102487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102488 choke me
102489 #else
102490 char (*f) () = $ac_func;
102491 #endif
102492 #ifdef __cplusplus
102494 #endif
102497 main ()
102499 return f != $ac_func;
102501 return 0;
102503 _ACEOF
102504 rm -f conftest.$ac_objext conftest$ac_exeext
102505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102506 (eval $ac_link) 2>conftest.er1
102507 ac_status=$?
102508 grep -v '^ *+' conftest.er1 >conftest.err
102509 rm -f conftest.er1
102510 cat conftest.err >&5
102511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102512 (exit $ac_status); } &&
102513 { ac_try='test -z "$ac_c_werror_flag"
102514 || test ! -s conftest.err'
102515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102516 (eval $ac_try) 2>&5
102517 ac_status=$?
102518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102519 (exit $ac_status); }; } &&
102520 { ac_try='test -s conftest$ac_exeext'
102521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102522 (eval $ac_try) 2>&5
102523 ac_status=$?
102524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102525 (exit $ac_status); }; }; then
102526 eval "$as_ac_var=yes"
102528 echo "$as_me: failed program was:" >&5
102529 sed 's/^/| /' conftest.$ac_ext >&5
102531 eval "$as_ac_var=no"
102533 rm -f conftest.err conftest.$ac_objext \
102534 conftest$ac_exeext conftest.$ac_ext
102536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102538 if test `eval echo '${'$as_ac_var'}'` = yes; then
102539 cat >>confdefs.h <<_ACEOF
102540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102541 _ACEOF
102554 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102555 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102556 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102557 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102558 echo $ECHO_N "(cached) $ECHO_C" >&6
102563 ac_ext=cc
102564 ac_cpp='$CXXCPP $CPPFLAGS'
102565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102569 cat >conftest.$ac_ext <<_ACEOF
102570 /* confdefs.h. */
102571 _ACEOF
102572 cat confdefs.h >>conftest.$ac_ext
102573 cat >>conftest.$ac_ext <<_ACEOF
102574 /* end confdefs.h. */
102575 #include <math.h>
102576 #ifdef HAVE_IEEEFP_H
102577 #include <ieeefp.h>
102578 #endif
102581 main ()
102583 log10l(0);
102585 return 0;
102587 _ACEOF
102588 rm -f conftest.$ac_objext
102589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102590 (eval $ac_compile) 2>conftest.er1
102591 ac_status=$?
102592 grep -v '^ *+' conftest.er1 >conftest.err
102593 rm -f conftest.er1
102594 cat conftest.err >&5
102595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102596 (exit $ac_status); } &&
102597 { ac_try='test -z "$ac_cxx_werror_flag"
102598 || test ! -s conftest.err'
102599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102600 (eval $ac_try) 2>&5
102601 ac_status=$?
102602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102603 (exit $ac_status); }; } &&
102604 { ac_try='test -s conftest.$ac_objext'
102605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102606 (eval $ac_try) 2>&5
102607 ac_status=$?
102608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102609 (exit $ac_status); }; }; then
102610 glibcxx_cv_func_log10l_use=yes
102612 echo "$as_me: failed program was:" >&5
102613 sed 's/^/| /' conftest.$ac_ext >&5
102615 glibcxx_cv_func_log10l_use=no
102617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102618 ac_ext=c
102619 ac_cpp='$CPP $CPPFLAGS'
102620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102629 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102631 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102633 for ac_func in log10l
102635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102636 echo "$as_me:$LINENO: checking for $ac_func" >&5
102637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102638 if eval "test \"\${$as_ac_var+set}\" = set"; then
102639 echo $ECHO_N "(cached) $ECHO_C" >&6
102641 if test x$gcc_no_link = xyes; then
102642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102644 { (exit 1); exit 1; }; }
102646 cat >conftest.$ac_ext <<_ACEOF
102647 /* confdefs.h. */
102648 _ACEOF
102649 cat confdefs.h >>conftest.$ac_ext
102650 cat >>conftest.$ac_ext <<_ACEOF
102651 /* end confdefs.h. */
102652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102654 #define $ac_func innocuous_$ac_func
102656 /* System header to define __stub macros and hopefully few prototypes,
102657 which can conflict with char $ac_func (); below.
102658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102659 <limits.h> exists even on freestanding compilers. */
102661 #ifdef __STDC__
102662 # include <limits.h>
102663 #else
102664 # include <assert.h>
102665 #endif
102667 #undef $ac_func
102669 /* Override any gcc2 internal prototype to avoid an error. */
102670 #ifdef __cplusplus
102671 extern "C"
102673 #endif
102674 /* We use char because int might match the return type of a gcc2
102675 builtin and then its argument prototype would still apply. */
102676 char $ac_func ();
102677 /* The GNU C library defines this for functions which it implements
102678 to always fail with ENOSYS. Some functions are actually named
102679 something starting with __ and the normal name is an alias. */
102680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102681 choke me
102682 #else
102683 char (*f) () = $ac_func;
102684 #endif
102685 #ifdef __cplusplus
102687 #endif
102690 main ()
102692 return f != $ac_func;
102694 return 0;
102696 _ACEOF
102697 rm -f conftest.$ac_objext conftest$ac_exeext
102698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102699 (eval $ac_link) 2>conftest.er1
102700 ac_status=$?
102701 grep -v '^ *+' conftest.er1 >conftest.err
102702 rm -f conftest.er1
102703 cat conftest.err >&5
102704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102705 (exit $ac_status); } &&
102706 { ac_try='test -z "$ac_c_werror_flag"
102707 || test ! -s conftest.err'
102708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102709 (eval $ac_try) 2>&5
102710 ac_status=$?
102711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102712 (exit $ac_status); }; } &&
102713 { ac_try='test -s conftest$ac_exeext'
102714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102715 (eval $ac_try) 2>&5
102716 ac_status=$?
102717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102718 (exit $ac_status); }; }; then
102719 eval "$as_ac_var=yes"
102721 echo "$as_me: failed program was:" >&5
102722 sed 's/^/| /' conftest.$ac_ext >&5
102724 eval "$as_ac_var=no"
102726 rm -f conftest.err conftest.$ac_objext \
102727 conftest$ac_exeext conftest.$ac_ext
102729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102731 if test `eval echo '${'$as_ac_var'}'` = yes; then
102732 cat >>confdefs.h <<_ACEOF
102733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102734 _ACEOF
102741 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
102742 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
102743 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
102744 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
102745 echo $ECHO_N "(cached) $ECHO_C" >&6
102750 ac_ext=cc
102751 ac_cpp='$CXXCPP $CPPFLAGS'
102752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102756 cat >conftest.$ac_ext <<_ACEOF
102757 /* confdefs.h. */
102758 _ACEOF
102759 cat confdefs.h >>conftest.$ac_ext
102760 cat >>conftest.$ac_ext <<_ACEOF
102761 /* end confdefs.h. */
102762 #include <math.h>
102763 #ifdef HAVE_IEEEFP_H
102764 #include <ieeefp.h>
102765 #endif
102768 main ()
102770 _log10l(0);
102772 return 0;
102774 _ACEOF
102775 rm -f conftest.$ac_objext
102776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102777 (eval $ac_compile) 2>conftest.er1
102778 ac_status=$?
102779 grep -v '^ *+' conftest.er1 >conftest.err
102780 rm -f conftest.er1
102781 cat conftest.err >&5
102782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102783 (exit $ac_status); } &&
102784 { ac_try='test -z "$ac_cxx_werror_flag"
102785 || test ! -s conftest.err'
102786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102787 (eval $ac_try) 2>&5
102788 ac_status=$?
102789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102790 (exit $ac_status); }; } &&
102791 { ac_try='test -s conftest.$ac_objext'
102792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102793 (eval $ac_try) 2>&5
102794 ac_status=$?
102795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102796 (exit $ac_status); }; }; then
102797 glibcxx_cv_func__log10l_use=yes
102799 echo "$as_me: failed program was:" >&5
102800 sed 's/^/| /' conftest.$ac_ext >&5
102802 glibcxx_cv_func__log10l_use=no
102804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102805 ac_ext=c
102806 ac_cpp='$CPP $CPPFLAGS'
102807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
102816 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
102818 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
102820 for ac_func in _log10l
102822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102823 echo "$as_me:$LINENO: checking for $ac_func" >&5
102824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102825 if eval "test \"\${$as_ac_var+set}\" = set"; then
102826 echo $ECHO_N "(cached) $ECHO_C" >&6
102828 if test x$gcc_no_link = xyes; then
102829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102831 { (exit 1); exit 1; }; }
102833 cat >conftest.$ac_ext <<_ACEOF
102834 /* confdefs.h. */
102835 _ACEOF
102836 cat confdefs.h >>conftest.$ac_ext
102837 cat >>conftest.$ac_ext <<_ACEOF
102838 /* end confdefs.h. */
102839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102841 #define $ac_func innocuous_$ac_func
102843 /* System header to define __stub macros and hopefully few prototypes,
102844 which can conflict with char $ac_func (); below.
102845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102846 <limits.h> exists even on freestanding compilers. */
102848 #ifdef __STDC__
102849 # include <limits.h>
102850 #else
102851 # include <assert.h>
102852 #endif
102854 #undef $ac_func
102856 /* Override any gcc2 internal prototype to avoid an error. */
102857 #ifdef __cplusplus
102858 extern "C"
102860 #endif
102861 /* We use char because int might match the return type of a gcc2
102862 builtin and then its argument prototype would still apply. */
102863 char $ac_func ();
102864 /* The GNU C library defines this for functions which it implements
102865 to always fail with ENOSYS. Some functions are actually named
102866 something starting with __ and the normal name is an alias. */
102867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102868 choke me
102869 #else
102870 char (*f) () = $ac_func;
102871 #endif
102872 #ifdef __cplusplus
102874 #endif
102877 main ()
102879 return f != $ac_func;
102881 return 0;
102883 _ACEOF
102884 rm -f conftest.$ac_objext conftest$ac_exeext
102885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102886 (eval $ac_link) 2>conftest.er1
102887 ac_status=$?
102888 grep -v '^ *+' conftest.er1 >conftest.err
102889 rm -f conftest.er1
102890 cat conftest.err >&5
102891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102892 (exit $ac_status); } &&
102893 { ac_try='test -z "$ac_c_werror_flag"
102894 || test ! -s conftest.err'
102895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102896 (eval $ac_try) 2>&5
102897 ac_status=$?
102898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102899 (exit $ac_status); }; } &&
102900 { ac_try='test -s conftest$ac_exeext'
102901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102902 (eval $ac_try) 2>&5
102903 ac_status=$?
102904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102905 (exit $ac_status); }; }; then
102906 eval "$as_ac_var=yes"
102908 echo "$as_me: failed program was:" >&5
102909 sed 's/^/| /' conftest.$ac_ext >&5
102911 eval "$as_ac_var=no"
102913 rm -f conftest.err conftest.$ac_objext \
102914 conftest$ac_exeext conftest.$ac_ext
102916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102918 if test `eval echo '${'$as_ac_var'}'` = yes; then
102919 cat >>confdefs.h <<_ACEOF
102920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102921 _ACEOF
102934 echo "$as_me:$LINENO: checking for modfl declaration" >&5
102935 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
102936 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
102937 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
102938 echo $ECHO_N "(cached) $ECHO_C" >&6
102943 ac_ext=cc
102944 ac_cpp='$CXXCPP $CPPFLAGS'
102945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102949 cat >conftest.$ac_ext <<_ACEOF
102950 /* confdefs.h. */
102951 _ACEOF
102952 cat confdefs.h >>conftest.$ac_ext
102953 cat >>conftest.$ac_ext <<_ACEOF
102954 /* end confdefs.h. */
102955 #include <math.h>
102957 main ()
102959 modfl(0, 0);
102961 return 0;
102963 _ACEOF
102964 rm -f conftest.$ac_objext
102965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102966 (eval $ac_compile) 2>conftest.er1
102967 ac_status=$?
102968 grep -v '^ *+' conftest.er1 >conftest.err
102969 rm -f conftest.er1
102970 cat conftest.err >&5
102971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102972 (exit $ac_status); } &&
102973 { ac_try='test -z "$ac_cxx_werror_flag"
102974 || test ! -s conftest.err'
102975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102976 (eval $ac_try) 2>&5
102977 ac_status=$?
102978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102979 (exit $ac_status); }; } &&
102980 { ac_try='test -s conftest.$ac_objext'
102981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102982 (eval $ac_try) 2>&5
102983 ac_status=$?
102984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102985 (exit $ac_status); }; }; then
102986 glibcxx_cv_func_modfl_use=yes
102988 echo "$as_me: failed program was:" >&5
102989 sed 's/^/| /' conftest.$ac_ext >&5
102991 glibcxx_cv_func_modfl_use=no
102993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102994 ac_ext=c
102995 ac_cpp='$CPP $CPPFLAGS'
102996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103005 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103007 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103009 for ac_func in modfl
103011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103012 echo "$as_me:$LINENO: checking for $ac_func" >&5
103013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103014 if eval "test \"\${$as_ac_var+set}\" = set"; then
103015 echo $ECHO_N "(cached) $ECHO_C" >&6
103017 if test x$gcc_no_link = xyes; then
103018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103020 { (exit 1); exit 1; }; }
103022 cat >conftest.$ac_ext <<_ACEOF
103023 /* confdefs.h. */
103024 _ACEOF
103025 cat confdefs.h >>conftest.$ac_ext
103026 cat >>conftest.$ac_ext <<_ACEOF
103027 /* end confdefs.h. */
103028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103030 #define $ac_func innocuous_$ac_func
103032 /* System header to define __stub macros and hopefully few prototypes,
103033 which can conflict with char $ac_func (); below.
103034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103035 <limits.h> exists even on freestanding compilers. */
103037 #ifdef __STDC__
103038 # include <limits.h>
103039 #else
103040 # include <assert.h>
103041 #endif
103043 #undef $ac_func
103045 /* Override any gcc2 internal prototype to avoid an error. */
103046 #ifdef __cplusplus
103047 extern "C"
103049 #endif
103050 /* We use char because int might match the return type of a gcc2
103051 builtin and then its argument prototype would still apply. */
103052 char $ac_func ();
103053 /* The GNU C library defines this for functions which it implements
103054 to always fail with ENOSYS. Some functions are actually named
103055 something starting with __ and the normal name is an alias. */
103056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103057 choke me
103058 #else
103059 char (*f) () = $ac_func;
103060 #endif
103061 #ifdef __cplusplus
103063 #endif
103066 main ()
103068 return f != $ac_func;
103070 return 0;
103072 _ACEOF
103073 rm -f conftest.$ac_objext conftest$ac_exeext
103074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103075 (eval $ac_link) 2>conftest.er1
103076 ac_status=$?
103077 grep -v '^ *+' conftest.er1 >conftest.err
103078 rm -f conftest.er1
103079 cat conftest.err >&5
103080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103081 (exit $ac_status); } &&
103082 { ac_try='test -z "$ac_c_werror_flag"
103083 || test ! -s conftest.err'
103084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103085 (eval $ac_try) 2>&5
103086 ac_status=$?
103087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103088 (exit $ac_status); }; } &&
103089 { ac_try='test -s conftest$ac_exeext'
103090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103091 (eval $ac_try) 2>&5
103092 ac_status=$?
103093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103094 (exit $ac_status); }; }; then
103095 eval "$as_ac_var=yes"
103097 echo "$as_me: failed program was:" >&5
103098 sed 's/^/| /' conftest.$ac_ext >&5
103100 eval "$as_ac_var=no"
103102 rm -f conftest.err conftest.$ac_objext \
103103 conftest$ac_exeext conftest.$ac_ext
103105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103107 if test `eval echo '${'$as_ac_var'}'` = yes; then
103108 cat >>confdefs.h <<_ACEOF
103109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103110 _ACEOF
103117 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103118 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103119 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103120 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103121 echo $ECHO_N "(cached) $ECHO_C" >&6
103126 ac_ext=cc
103127 ac_cpp='$CXXCPP $CPPFLAGS'
103128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103132 cat >conftest.$ac_ext <<_ACEOF
103133 /* confdefs.h. */
103134 _ACEOF
103135 cat confdefs.h >>conftest.$ac_ext
103136 cat >>conftest.$ac_ext <<_ACEOF
103137 /* end confdefs.h. */
103138 #include <math.h>
103140 main ()
103142 _modfl(0, 0);
103144 return 0;
103146 _ACEOF
103147 rm -f conftest.$ac_objext
103148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103149 (eval $ac_compile) 2>conftest.er1
103150 ac_status=$?
103151 grep -v '^ *+' conftest.er1 >conftest.err
103152 rm -f conftest.er1
103153 cat conftest.err >&5
103154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103155 (exit $ac_status); } &&
103156 { ac_try='test -z "$ac_cxx_werror_flag"
103157 || test ! -s conftest.err'
103158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103159 (eval $ac_try) 2>&5
103160 ac_status=$?
103161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103162 (exit $ac_status); }; } &&
103163 { ac_try='test -s conftest.$ac_objext'
103164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103165 (eval $ac_try) 2>&5
103166 ac_status=$?
103167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103168 (exit $ac_status); }; }; then
103169 glibcxx_cv_func__modfl_use=yes
103171 echo "$as_me: failed program was:" >&5
103172 sed 's/^/| /' conftest.$ac_ext >&5
103174 glibcxx_cv_func__modfl_use=no
103176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103177 ac_ext=c
103178 ac_cpp='$CPP $CPPFLAGS'
103179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103188 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103190 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103192 for ac_func in _modfl
103194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103195 echo "$as_me:$LINENO: checking for $ac_func" >&5
103196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103197 if eval "test \"\${$as_ac_var+set}\" = set"; then
103198 echo $ECHO_N "(cached) $ECHO_C" >&6
103200 if test x$gcc_no_link = xyes; then
103201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103203 { (exit 1); exit 1; }; }
103205 cat >conftest.$ac_ext <<_ACEOF
103206 /* confdefs.h. */
103207 _ACEOF
103208 cat confdefs.h >>conftest.$ac_ext
103209 cat >>conftest.$ac_ext <<_ACEOF
103210 /* end confdefs.h. */
103211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103213 #define $ac_func innocuous_$ac_func
103215 /* System header to define __stub macros and hopefully few prototypes,
103216 which can conflict with char $ac_func (); below.
103217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103218 <limits.h> exists even on freestanding compilers. */
103220 #ifdef __STDC__
103221 # include <limits.h>
103222 #else
103223 # include <assert.h>
103224 #endif
103226 #undef $ac_func
103228 /* Override any gcc2 internal prototype to avoid an error. */
103229 #ifdef __cplusplus
103230 extern "C"
103232 #endif
103233 /* We use char because int might match the return type of a gcc2
103234 builtin and then its argument prototype would still apply. */
103235 char $ac_func ();
103236 /* The GNU C library defines this for functions which it implements
103237 to always fail with ENOSYS. Some functions are actually named
103238 something starting with __ and the normal name is an alias. */
103239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103240 choke me
103241 #else
103242 char (*f) () = $ac_func;
103243 #endif
103244 #ifdef __cplusplus
103246 #endif
103249 main ()
103251 return f != $ac_func;
103253 return 0;
103255 _ACEOF
103256 rm -f conftest.$ac_objext conftest$ac_exeext
103257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103258 (eval $ac_link) 2>conftest.er1
103259 ac_status=$?
103260 grep -v '^ *+' conftest.er1 >conftest.err
103261 rm -f conftest.er1
103262 cat conftest.err >&5
103263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103264 (exit $ac_status); } &&
103265 { ac_try='test -z "$ac_c_werror_flag"
103266 || test ! -s conftest.err'
103267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103268 (eval $ac_try) 2>&5
103269 ac_status=$?
103270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103271 (exit $ac_status); }; } &&
103272 { ac_try='test -s conftest$ac_exeext'
103273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103274 (eval $ac_try) 2>&5
103275 ac_status=$?
103276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103277 (exit $ac_status); }; }; then
103278 eval "$as_ac_var=yes"
103280 echo "$as_me: failed program was:" >&5
103281 sed 's/^/| /' conftest.$ac_ext >&5
103283 eval "$as_ac_var=no"
103285 rm -f conftest.err conftest.$ac_objext \
103286 conftest$ac_exeext conftest.$ac_ext
103288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103290 if test `eval echo '${'$as_ac_var'}'` = yes; then
103291 cat >>confdefs.h <<_ACEOF
103292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103293 _ACEOF
103306 echo "$as_me:$LINENO: checking for powl declaration" >&5
103307 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103309 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103310 echo $ECHO_N "(cached) $ECHO_C" >&6
103315 ac_ext=cc
103316 ac_cpp='$CXXCPP $CPPFLAGS'
103317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103321 cat >conftest.$ac_ext <<_ACEOF
103322 /* confdefs.h. */
103323 _ACEOF
103324 cat confdefs.h >>conftest.$ac_ext
103325 cat >>conftest.$ac_ext <<_ACEOF
103326 /* end confdefs.h. */
103327 #include <math.h>
103329 main ()
103331 powl(0, 0);
103333 return 0;
103335 _ACEOF
103336 rm -f conftest.$ac_objext
103337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103338 (eval $ac_compile) 2>conftest.er1
103339 ac_status=$?
103340 grep -v '^ *+' conftest.er1 >conftest.err
103341 rm -f conftest.er1
103342 cat conftest.err >&5
103343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103344 (exit $ac_status); } &&
103345 { ac_try='test -z "$ac_cxx_werror_flag"
103346 || test ! -s conftest.err'
103347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103348 (eval $ac_try) 2>&5
103349 ac_status=$?
103350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103351 (exit $ac_status); }; } &&
103352 { ac_try='test -s conftest.$ac_objext'
103353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103354 (eval $ac_try) 2>&5
103355 ac_status=$?
103356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103357 (exit $ac_status); }; }; then
103358 glibcxx_cv_func_powl_use=yes
103360 echo "$as_me: failed program was:" >&5
103361 sed 's/^/| /' conftest.$ac_ext >&5
103363 glibcxx_cv_func_powl_use=no
103365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103366 ac_ext=c
103367 ac_cpp='$CPP $CPPFLAGS'
103368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103377 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103379 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103381 for ac_func in powl
103383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103384 echo "$as_me:$LINENO: checking for $ac_func" >&5
103385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103386 if eval "test \"\${$as_ac_var+set}\" = set"; then
103387 echo $ECHO_N "(cached) $ECHO_C" >&6
103389 if test x$gcc_no_link = xyes; then
103390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103392 { (exit 1); exit 1; }; }
103394 cat >conftest.$ac_ext <<_ACEOF
103395 /* confdefs.h. */
103396 _ACEOF
103397 cat confdefs.h >>conftest.$ac_ext
103398 cat >>conftest.$ac_ext <<_ACEOF
103399 /* end confdefs.h. */
103400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103402 #define $ac_func innocuous_$ac_func
103404 /* System header to define __stub macros and hopefully few prototypes,
103405 which can conflict with char $ac_func (); below.
103406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103407 <limits.h> exists even on freestanding compilers. */
103409 #ifdef __STDC__
103410 # include <limits.h>
103411 #else
103412 # include <assert.h>
103413 #endif
103415 #undef $ac_func
103417 /* Override any gcc2 internal prototype to avoid an error. */
103418 #ifdef __cplusplus
103419 extern "C"
103421 #endif
103422 /* We use char because int might match the return type of a gcc2
103423 builtin and then its argument prototype would still apply. */
103424 char $ac_func ();
103425 /* The GNU C library defines this for functions which it implements
103426 to always fail with ENOSYS. Some functions are actually named
103427 something starting with __ and the normal name is an alias. */
103428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103429 choke me
103430 #else
103431 char (*f) () = $ac_func;
103432 #endif
103433 #ifdef __cplusplus
103435 #endif
103438 main ()
103440 return f != $ac_func;
103442 return 0;
103444 _ACEOF
103445 rm -f conftest.$ac_objext conftest$ac_exeext
103446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103447 (eval $ac_link) 2>conftest.er1
103448 ac_status=$?
103449 grep -v '^ *+' conftest.er1 >conftest.err
103450 rm -f conftest.er1
103451 cat conftest.err >&5
103452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103453 (exit $ac_status); } &&
103454 { ac_try='test -z "$ac_c_werror_flag"
103455 || test ! -s conftest.err'
103456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103457 (eval $ac_try) 2>&5
103458 ac_status=$?
103459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103460 (exit $ac_status); }; } &&
103461 { ac_try='test -s conftest$ac_exeext'
103462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103463 (eval $ac_try) 2>&5
103464 ac_status=$?
103465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103466 (exit $ac_status); }; }; then
103467 eval "$as_ac_var=yes"
103469 echo "$as_me: failed program was:" >&5
103470 sed 's/^/| /' conftest.$ac_ext >&5
103472 eval "$as_ac_var=no"
103474 rm -f conftest.err conftest.$ac_objext \
103475 conftest$ac_exeext conftest.$ac_ext
103477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103479 if test `eval echo '${'$as_ac_var'}'` = yes; then
103480 cat >>confdefs.h <<_ACEOF
103481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103482 _ACEOF
103489 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103490 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103491 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103492 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103493 echo $ECHO_N "(cached) $ECHO_C" >&6
103498 ac_ext=cc
103499 ac_cpp='$CXXCPP $CPPFLAGS'
103500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103504 cat >conftest.$ac_ext <<_ACEOF
103505 /* confdefs.h. */
103506 _ACEOF
103507 cat confdefs.h >>conftest.$ac_ext
103508 cat >>conftest.$ac_ext <<_ACEOF
103509 /* end confdefs.h. */
103510 #include <math.h>
103512 main ()
103514 _powl(0, 0);
103516 return 0;
103518 _ACEOF
103519 rm -f conftest.$ac_objext
103520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103521 (eval $ac_compile) 2>conftest.er1
103522 ac_status=$?
103523 grep -v '^ *+' conftest.er1 >conftest.err
103524 rm -f conftest.er1
103525 cat conftest.err >&5
103526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103527 (exit $ac_status); } &&
103528 { ac_try='test -z "$ac_cxx_werror_flag"
103529 || test ! -s conftest.err'
103530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103531 (eval $ac_try) 2>&5
103532 ac_status=$?
103533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103534 (exit $ac_status); }; } &&
103535 { ac_try='test -s conftest.$ac_objext'
103536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103537 (eval $ac_try) 2>&5
103538 ac_status=$?
103539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103540 (exit $ac_status); }; }; then
103541 glibcxx_cv_func__powl_use=yes
103543 echo "$as_me: failed program was:" >&5
103544 sed 's/^/| /' conftest.$ac_ext >&5
103546 glibcxx_cv_func__powl_use=no
103548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103549 ac_ext=c
103550 ac_cpp='$CPP $CPPFLAGS'
103551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103560 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103562 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103564 for ac_func in _powl
103566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103567 echo "$as_me:$LINENO: checking for $ac_func" >&5
103568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103569 if eval "test \"\${$as_ac_var+set}\" = set"; then
103570 echo $ECHO_N "(cached) $ECHO_C" >&6
103572 if test x$gcc_no_link = xyes; then
103573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103575 { (exit 1); exit 1; }; }
103577 cat >conftest.$ac_ext <<_ACEOF
103578 /* confdefs.h. */
103579 _ACEOF
103580 cat confdefs.h >>conftest.$ac_ext
103581 cat >>conftest.$ac_ext <<_ACEOF
103582 /* end confdefs.h. */
103583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103585 #define $ac_func innocuous_$ac_func
103587 /* System header to define __stub macros and hopefully few prototypes,
103588 which can conflict with char $ac_func (); below.
103589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103590 <limits.h> exists even on freestanding compilers. */
103592 #ifdef __STDC__
103593 # include <limits.h>
103594 #else
103595 # include <assert.h>
103596 #endif
103598 #undef $ac_func
103600 /* Override any gcc2 internal prototype to avoid an error. */
103601 #ifdef __cplusplus
103602 extern "C"
103604 #endif
103605 /* We use char because int might match the return type of a gcc2
103606 builtin and then its argument prototype would still apply. */
103607 char $ac_func ();
103608 /* The GNU C library defines this for functions which it implements
103609 to always fail with ENOSYS. Some functions are actually named
103610 something starting with __ and the normal name is an alias. */
103611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103612 choke me
103613 #else
103614 char (*f) () = $ac_func;
103615 #endif
103616 #ifdef __cplusplus
103618 #endif
103621 main ()
103623 return f != $ac_func;
103625 return 0;
103627 _ACEOF
103628 rm -f conftest.$ac_objext conftest$ac_exeext
103629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103630 (eval $ac_link) 2>conftest.er1
103631 ac_status=$?
103632 grep -v '^ *+' conftest.er1 >conftest.err
103633 rm -f conftest.er1
103634 cat conftest.err >&5
103635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103636 (exit $ac_status); } &&
103637 { ac_try='test -z "$ac_c_werror_flag"
103638 || test ! -s conftest.err'
103639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103640 (eval $ac_try) 2>&5
103641 ac_status=$?
103642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103643 (exit $ac_status); }; } &&
103644 { ac_try='test -s conftest$ac_exeext'
103645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103646 (eval $ac_try) 2>&5
103647 ac_status=$?
103648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103649 (exit $ac_status); }; }; then
103650 eval "$as_ac_var=yes"
103652 echo "$as_me: failed program was:" >&5
103653 sed 's/^/| /' conftest.$ac_ext >&5
103655 eval "$as_ac_var=no"
103657 rm -f conftest.err conftest.$ac_objext \
103658 conftest$ac_exeext conftest.$ac_ext
103660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103662 if test `eval echo '${'$as_ac_var'}'` = yes; then
103663 cat >>confdefs.h <<_ACEOF
103664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103665 _ACEOF
103678 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
103679 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
103680 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
103681 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
103682 echo $ECHO_N "(cached) $ECHO_C" >&6
103687 ac_ext=cc
103688 ac_cpp='$CXXCPP $CPPFLAGS'
103689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103693 cat >conftest.$ac_ext <<_ACEOF
103694 /* confdefs.h. */
103695 _ACEOF
103696 cat confdefs.h >>conftest.$ac_ext
103697 cat >>conftest.$ac_ext <<_ACEOF
103698 /* end confdefs.h. */
103699 #include <math.h>
103700 #ifdef HAVE_IEEEFP_H
103701 #include <ieeefp.h>
103702 #endif
103705 main ()
103707 sqrtl(0);
103709 return 0;
103711 _ACEOF
103712 rm -f conftest.$ac_objext
103713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103714 (eval $ac_compile) 2>conftest.er1
103715 ac_status=$?
103716 grep -v '^ *+' conftest.er1 >conftest.err
103717 rm -f conftest.er1
103718 cat conftest.err >&5
103719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103720 (exit $ac_status); } &&
103721 { ac_try='test -z "$ac_cxx_werror_flag"
103722 || test ! -s conftest.err'
103723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103724 (eval $ac_try) 2>&5
103725 ac_status=$?
103726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103727 (exit $ac_status); }; } &&
103728 { ac_try='test -s conftest.$ac_objext'
103729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103730 (eval $ac_try) 2>&5
103731 ac_status=$?
103732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103733 (exit $ac_status); }; }; then
103734 glibcxx_cv_func_sqrtl_use=yes
103736 echo "$as_me: failed program was:" >&5
103737 sed 's/^/| /' conftest.$ac_ext >&5
103739 glibcxx_cv_func_sqrtl_use=no
103741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103742 ac_ext=c
103743 ac_cpp='$CPP $CPPFLAGS'
103744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
103753 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
103755 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
103757 for ac_func in sqrtl
103759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103760 echo "$as_me:$LINENO: checking for $ac_func" >&5
103761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103762 if eval "test \"\${$as_ac_var+set}\" = set"; then
103763 echo $ECHO_N "(cached) $ECHO_C" >&6
103765 if test x$gcc_no_link = xyes; then
103766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103768 { (exit 1); exit 1; }; }
103770 cat >conftest.$ac_ext <<_ACEOF
103771 /* confdefs.h. */
103772 _ACEOF
103773 cat confdefs.h >>conftest.$ac_ext
103774 cat >>conftest.$ac_ext <<_ACEOF
103775 /* end confdefs.h. */
103776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103778 #define $ac_func innocuous_$ac_func
103780 /* System header to define __stub macros and hopefully few prototypes,
103781 which can conflict with char $ac_func (); below.
103782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103783 <limits.h> exists even on freestanding compilers. */
103785 #ifdef __STDC__
103786 # include <limits.h>
103787 #else
103788 # include <assert.h>
103789 #endif
103791 #undef $ac_func
103793 /* Override any gcc2 internal prototype to avoid an error. */
103794 #ifdef __cplusplus
103795 extern "C"
103797 #endif
103798 /* We use char because int might match the return type of a gcc2
103799 builtin and then its argument prototype would still apply. */
103800 char $ac_func ();
103801 /* The GNU C library defines this for functions which it implements
103802 to always fail with ENOSYS. Some functions are actually named
103803 something starting with __ and the normal name is an alias. */
103804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103805 choke me
103806 #else
103807 char (*f) () = $ac_func;
103808 #endif
103809 #ifdef __cplusplus
103811 #endif
103814 main ()
103816 return f != $ac_func;
103818 return 0;
103820 _ACEOF
103821 rm -f conftest.$ac_objext conftest$ac_exeext
103822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103823 (eval $ac_link) 2>conftest.er1
103824 ac_status=$?
103825 grep -v '^ *+' conftest.er1 >conftest.err
103826 rm -f conftest.er1
103827 cat conftest.err >&5
103828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103829 (exit $ac_status); } &&
103830 { ac_try='test -z "$ac_c_werror_flag"
103831 || test ! -s conftest.err'
103832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103833 (eval $ac_try) 2>&5
103834 ac_status=$?
103835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103836 (exit $ac_status); }; } &&
103837 { ac_try='test -s conftest$ac_exeext'
103838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103839 (eval $ac_try) 2>&5
103840 ac_status=$?
103841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103842 (exit $ac_status); }; }; then
103843 eval "$as_ac_var=yes"
103845 echo "$as_me: failed program was:" >&5
103846 sed 's/^/| /' conftest.$ac_ext >&5
103848 eval "$as_ac_var=no"
103850 rm -f conftest.err conftest.$ac_objext \
103851 conftest$ac_exeext conftest.$ac_ext
103853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103855 if test `eval echo '${'$as_ac_var'}'` = yes; then
103856 cat >>confdefs.h <<_ACEOF
103857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103858 _ACEOF
103865 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
103866 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
103867 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
103868 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
103869 echo $ECHO_N "(cached) $ECHO_C" >&6
103874 ac_ext=cc
103875 ac_cpp='$CXXCPP $CPPFLAGS'
103876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103880 cat >conftest.$ac_ext <<_ACEOF
103881 /* confdefs.h. */
103882 _ACEOF
103883 cat confdefs.h >>conftest.$ac_ext
103884 cat >>conftest.$ac_ext <<_ACEOF
103885 /* end confdefs.h. */
103886 #include <math.h>
103887 #ifdef HAVE_IEEEFP_H
103888 #include <ieeefp.h>
103889 #endif
103892 main ()
103894 _sqrtl(0);
103896 return 0;
103898 _ACEOF
103899 rm -f conftest.$ac_objext
103900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103901 (eval $ac_compile) 2>conftest.er1
103902 ac_status=$?
103903 grep -v '^ *+' conftest.er1 >conftest.err
103904 rm -f conftest.er1
103905 cat conftest.err >&5
103906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103907 (exit $ac_status); } &&
103908 { ac_try='test -z "$ac_cxx_werror_flag"
103909 || test ! -s conftest.err'
103910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103911 (eval $ac_try) 2>&5
103912 ac_status=$?
103913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103914 (exit $ac_status); }; } &&
103915 { ac_try='test -s conftest.$ac_objext'
103916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103917 (eval $ac_try) 2>&5
103918 ac_status=$?
103919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103920 (exit $ac_status); }; }; then
103921 glibcxx_cv_func__sqrtl_use=yes
103923 echo "$as_me: failed program was:" >&5
103924 sed 's/^/| /' conftest.$ac_ext >&5
103926 glibcxx_cv_func__sqrtl_use=no
103928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103929 ac_ext=c
103930 ac_cpp='$CPP $CPPFLAGS'
103931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
103940 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
103942 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
103944 for ac_func in _sqrtl
103946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103947 echo "$as_me:$LINENO: checking for $ac_func" >&5
103948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103949 if eval "test \"\${$as_ac_var+set}\" = set"; then
103950 echo $ECHO_N "(cached) $ECHO_C" >&6
103952 if test x$gcc_no_link = xyes; then
103953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103955 { (exit 1); exit 1; }; }
103957 cat >conftest.$ac_ext <<_ACEOF
103958 /* confdefs.h. */
103959 _ACEOF
103960 cat confdefs.h >>conftest.$ac_ext
103961 cat >>conftest.$ac_ext <<_ACEOF
103962 /* end confdefs.h. */
103963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103965 #define $ac_func innocuous_$ac_func
103967 /* System header to define __stub macros and hopefully few prototypes,
103968 which can conflict with char $ac_func (); below.
103969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103970 <limits.h> exists even on freestanding compilers. */
103972 #ifdef __STDC__
103973 # include <limits.h>
103974 #else
103975 # include <assert.h>
103976 #endif
103978 #undef $ac_func
103980 /* Override any gcc2 internal prototype to avoid an error. */
103981 #ifdef __cplusplus
103982 extern "C"
103984 #endif
103985 /* We use char because int might match the return type of a gcc2
103986 builtin and then its argument prototype would still apply. */
103987 char $ac_func ();
103988 /* The GNU C library defines this for functions which it implements
103989 to always fail with ENOSYS. Some functions are actually named
103990 something starting with __ and the normal name is an alias. */
103991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103992 choke me
103993 #else
103994 char (*f) () = $ac_func;
103995 #endif
103996 #ifdef __cplusplus
103998 #endif
104001 main ()
104003 return f != $ac_func;
104005 return 0;
104007 _ACEOF
104008 rm -f conftest.$ac_objext conftest$ac_exeext
104009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104010 (eval $ac_link) 2>conftest.er1
104011 ac_status=$?
104012 grep -v '^ *+' conftest.er1 >conftest.err
104013 rm -f conftest.er1
104014 cat conftest.err >&5
104015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104016 (exit $ac_status); } &&
104017 { ac_try='test -z "$ac_c_werror_flag"
104018 || test ! -s conftest.err'
104019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104020 (eval $ac_try) 2>&5
104021 ac_status=$?
104022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104023 (exit $ac_status); }; } &&
104024 { ac_try='test -s conftest$ac_exeext'
104025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104026 (eval $ac_try) 2>&5
104027 ac_status=$?
104028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104029 (exit $ac_status); }; }; then
104030 eval "$as_ac_var=yes"
104032 echo "$as_me: failed program was:" >&5
104033 sed 's/^/| /' conftest.$ac_ext >&5
104035 eval "$as_ac_var=no"
104037 rm -f conftest.err conftest.$ac_objext \
104038 conftest$ac_exeext conftest.$ac_ext
104040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104042 if test `eval echo '${'$as_ac_var'}'` = yes; then
104043 cat >>confdefs.h <<_ACEOF
104044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104045 _ACEOF
104058 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104059 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104060 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104061 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104062 echo $ECHO_N "(cached) $ECHO_C" >&6
104067 ac_ext=cc
104068 ac_cpp='$CXXCPP $CPPFLAGS'
104069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104073 cat >conftest.$ac_ext <<_ACEOF
104074 /* confdefs.h. */
104075 _ACEOF
104076 cat confdefs.h >>conftest.$ac_ext
104077 cat >>conftest.$ac_ext <<_ACEOF
104078 /* end confdefs.h. */
104079 #include <math.h>
104081 main ()
104083 sincosl(0, 0, 0);
104085 return 0;
104087 _ACEOF
104088 rm -f conftest.$ac_objext
104089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104090 (eval $ac_compile) 2>conftest.er1
104091 ac_status=$?
104092 grep -v '^ *+' conftest.er1 >conftest.err
104093 rm -f conftest.er1
104094 cat conftest.err >&5
104095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104096 (exit $ac_status); } &&
104097 { ac_try='test -z "$ac_cxx_werror_flag"
104098 || test ! -s conftest.err'
104099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104100 (eval $ac_try) 2>&5
104101 ac_status=$?
104102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104103 (exit $ac_status); }; } &&
104104 { ac_try='test -s conftest.$ac_objext'
104105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104106 (eval $ac_try) 2>&5
104107 ac_status=$?
104108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104109 (exit $ac_status); }; }; then
104110 glibcxx_cv_func_sincosl_use=yes
104112 echo "$as_me: failed program was:" >&5
104113 sed 's/^/| /' conftest.$ac_ext >&5
104115 glibcxx_cv_func_sincosl_use=no
104117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104118 ac_ext=c
104119 ac_cpp='$CPP $CPPFLAGS'
104120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104129 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104131 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104133 for ac_func in sincosl
104135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104136 echo "$as_me:$LINENO: checking for $ac_func" >&5
104137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104138 if eval "test \"\${$as_ac_var+set}\" = set"; then
104139 echo $ECHO_N "(cached) $ECHO_C" >&6
104141 if test x$gcc_no_link = xyes; then
104142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104144 { (exit 1); exit 1; }; }
104146 cat >conftest.$ac_ext <<_ACEOF
104147 /* confdefs.h. */
104148 _ACEOF
104149 cat confdefs.h >>conftest.$ac_ext
104150 cat >>conftest.$ac_ext <<_ACEOF
104151 /* end confdefs.h. */
104152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104154 #define $ac_func innocuous_$ac_func
104156 /* System header to define __stub macros and hopefully few prototypes,
104157 which can conflict with char $ac_func (); below.
104158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104159 <limits.h> exists even on freestanding compilers. */
104161 #ifdef __STDC__
104162 # include <limits.h>
104163 #else
104164 # include <assert.h>
104165 #endif
104167 #undef $ac_func
104169 /* Override any gcc2 internal prototype to avoid an error. */
104170 #ifdef __cplusplus
104171 extern "C"
104173 #endif
104174 /* We use char because int might match the return type of a gcc2
104175 builtin and then its argument prototype would still apply. */
104176 char $ac_func ();
104177 /* The GNU C library defines this for functions which it implements
104178 to always fail with ENOSYS. Some functions are actually named
104179 something starting with __ and the normal name is an alias. */
104180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104181 choke me
104182 #else
104183 char (*f) () = $ac_func;
104184 #endif
104185 #ifdef __cplusplus
104187 #endif
104190 main ()
104192 return f != $ac_func;
104194 return 0;
104196 _ACEOF
104197 rm -f conftest.$ac_objext conftest$ac_exeext
104198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104199 (eval $ac_link) 2>conftest.er1
104200 ac_status=$?
104201 grep -v '^ *+' conftest.er1 >conftest.err
104202 rm -f conftest.er1
104203 cat conftest.err >&5
104204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104205 (exit $ac_status); } &&
104206 { ac_try='test -z "$ac_c_werror_flag"
104207 || test ! -s conftest.err'
104208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104209 (eval $ac_try) 2>&5
104210 ac_status=$?
104211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104212 (exit $ac_status); }; } &&
104213 { ac_try='test -s conftest$ac_exeext'
104214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104215 (eval $ac_try) 2>&5
104216 ac_status=$?
104217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104218 (exit $ac_status); }; }; then
104219 eval "$as_ac_var=yes"
104221 echo "$as_me: failed program was:" >&5
104222 sed 's/^/| /' conftest.$ac_ext >&5
104224 eval "$as_ac_var=no"
104226 rm -f conftest.err conftest.$ac_objext \
104227 conftest$ac_exeext conftest.$ac_ext
104229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104231 if test `eval echo '${'$as_ac_var'}'` = yes; then
104232 cat >>confdefs.h <<_ACEOF
104233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104234 _ACEOF
104241 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104242 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104243 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104244 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104245 echo $ECHO_N "(cached) $ECHO_C" >&6
104250 ac_ext=cc
104251 ac_cpp='$CXXCPP $CPPFLAGS'
104252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104256 cat >conftest.$ac_ext <<_ACEOF
104257 /* confdefs.h. */
104258 _ACEOF
104259 cat confdefs.h >>conftest.$ac_ext
104260 cat >>conftest.$ac_ext <<_ACEOF
104261 /* end confdefs.h. */
104262 #include <math.h>
104264 main ()
104266 _sincosl(0, 0, 0);
104268 return 0;
104270 _ACEOF
104271 rm -f conftest.$ac_objext
104272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104273 (eval $ac_compile) 2>conftest.er1
104274 ac_status=$?
104275 grep -v '^ *+' conftest.er1 >conftest.err
104276 rm -f conftest.er1
104277 cat conftest.err >&5
104278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104279 (exit $ac_status); } &&
104280 { ac_try='test -z "$ac_cxx_werror_flag"
104281 || test ! -s conftest.err'
104282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104283 (eval $ac_try) 2>&5
104284 ac_status=$?
104285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104286 (exit $ac_status); }; } &&
104287 { ac_try='test -s conftest.$ac_objext'
104288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104289 (eval $ac_try) 2>&5
104290 ac_status=$?
104291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104292 (exit $ac_status); }; }; then
104293 glibcxx_cv_func__sincosl_use=yes
104295 echo "$as_me: failed program was:" >&5
104296 sed 's/^/| /' conftest.$ac_ext >&5
104298 glibcxx_cv_func__sincosl_use=no
104300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104301 ac_ext=c
104302 ac_cpp='$CPP $CPPFLAGS'
104303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104312 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104314 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104316 for ac_func in _sincosl
104318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104319 echo "$as_me:$LINENO: checking for $ac_func" >&5
104320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104321 if eval "test \"\${$as_ac_var+set}\" = set"; then
104322 echo $ECHO_N "(cached) $ECHO_C" >&6
104324 if test x$gcc_no_link = xyes; then
104325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104327 { (exit 1); exit 1; }; }
104329 cat >conftest.$ac_ext <<_ACEOF
104330 /* confdefs.h. */
104331 _ACEOF
104332 cat confdefs.h >>conftest.$ac_ext
104333 cat >>conftest.$ac_ext <<_ACEOF
104334 /* end confdefs.h. */
104335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104337 #define $ac_func innocuous_$ac_func
104339 /* System header to define __stub macros and hopefully few prototypes,
104340 which can conflict with char $ac_func (); below.
104341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104342 <limits.h> exists even on freestanding compilers. */
104344 #ifdef __STDC__
104345 # include <limits.h>
104346 #else
104347 # include <assert.h>
104348 #endif
104350 #undef $ac_func
104352 /* Override any gcc2 internal prototype to avoid an error. */
104353 #ifdef __cplusplus
104354 extern "C"
104356 #endif
104357 /* We use char because int might match the return type of a gcc2
104358 builtin and then its argument prototype would still apply. */
104359 char $ac_func ();
104360 /* The GNU C library defines this for functions which it implements
104361 to always fail with ENOSYS. Some functions are actually named
104362 something starting with __ and the normal name is an alias. */
104363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104364 choke me
104365 #else
104366 char (*f) () = $ac_func;
104367 #endif
104368 #ifdef __cplusplus
104370 #endif
104373 main ()
104375 return f != $ac_func;
104377 return 0;
104379 _ACEOF
104380 rm -f conftest.$ac_objext conftest$ac_exeext
104381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104382 (eval $ac_link) 2>conftest.er1
104383 ac_status=$?
104384 grep -v '^ *+' conftest.er1 >conftest.err
104385 rm -f conftest.er1
104386 cat conftest.err >&5
104387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104388 (exit $ac_status); } &&
104389 { ac_try='test -z "$ac_c_werror_flag"
104390 || test ! -s conftest.err'
104391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104392 (eval $ac_try) 2>&5
104393 ac_status=$?
104394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104395 (exit $ac_status); }; } &&
104396 { ac_try='test -s conftest$ac_exeext'
104397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104398 (eval $ac_try) 2>&5
104399 ac_status=$?
104400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104401 (exit $ac_status); }; }; then
104402 eval "$as_ac_var=yes"
104404 echo "$as_me: failed program was:" >&5
104405 sed 's/^/| /' conftest.$ac_ext >&5
104407 eval "$as_ac_var=no"
104409 rm -f conftest.err conftest.$ac_objext \
104410 conftest$ac_exeext conftest.$ac_ext
104412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104414 if test `eval echo '${'$as_ac_var'}'` = yes; then
104415 cat >>confdefs.h <<_ACEOF
104416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104417 _ACEOF
104430 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104431 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104432 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104433 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104434 echo $ECHO_N "(cached) $ECHO_C" >&6
104439 ac_ext=cc
104440 ac_cpp='$CXXCPP $CPPFLAGS'
104441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104445 cat >conftest.$ac_ext <<_ACEOF
104446 /* confdefs.h. */
104447 _ACEOF
104448 cat confdefs.h >>conftest.$ac_ext
104449 cat >>conftest.$ac_ext <<_ACEOF
104450 /* end confdefs.h. */
104451 #include <math.h>
104452 #ifdef HAVE_IEEEFP_H
104453 #include <ieeefp.h>
104454 #endif
104457 main ()
104459 finitel(0);
104461 return 0;
104463 _ACEOF
104464 rm -f conftest.$ac_objext
104465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104466 (eval $ac_compile) 2>conftest.er1
104467 ac_status=$?
104468 grep -v '^ *+' conftest.er1 >conftest.err
104469 rm -f conftest.er1
104470 cat conftest.err >&5
104471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104472 (exit $ac_status); } &&
104473 { ac_try='test -z "$ac_cxx_werror_flag"
104474 || test ! -s conftest.err'
104475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104476 (eval $ac_try) 2>&5
104477 ac_status=$?
104478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104479 (exit $ac_status); }; } &&
104480 { ac_try='test -s conftest.$ac_objext'
104481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104482 (eval $ac_try) 2>&5
104483 ac_status=$?
104484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104485 (exit $ac_status); }; }; then
104486 glibcxx_cv_func_finitel_use=yes
104488 echo "$as_me: failed program was:" >&5
104489 sed 's/^/| /' conftest.$ac_ext >&5
104491 glibcxx_cv_func_finitel_use=no
104493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104494 ac_ext=c
104495 ac_cpp='$CPP $CPPFLAGS'
104496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104505 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104507 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104509 for ac_func in finitel
104511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104512 echo "$as_me:$LINENO: checking for $ac_func" >&5
104513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104514 if eval "test \"\${$as_ac_var+set}\" = set"; then
104515 echo $ECHO_N "(cached) $ECHO_C" >&6
104517 if test x$gcc_no_link = xyes; then
104518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104520 { (exit 1); exit 1; }; }
104522 cat >conftest.$ac_ext <<_ACEOF
104523 /* confdefs.h. */
104524 _ACEOF
104525 cat confdefs.h >>conftest.$ac_ext
104526 cat >>conftest.$ac_ext <<_ACEOF
104527 /* end confdefs.h. */
104528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104530 #define $ac_func innocuous_$ac_func
104532 /* System header to define __stub macros and hopefully few prototypes,
104533 which can conflict with char $ac_func (); below.
104534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104535 <limits.h> exists even on freestanding compilers. */
104537 #ifdef __STDC__
104538 # include <limits.h>
104539 #else
104540 # include <assert.h>
104541 #endif
104543 #undef $ac_func
104545 /* Override any gcc2 internal prototype to avoid an error. */
104546 #ifdef __cplusplus
104547 extern "C"
104549 #endif
104550 /* We use char because int might match the return type of a gcc2
104551 builtin and then its argument prototype would still apply. */
104552 char $ac_func ();
104553 /* The GNU C library defines this for functions which it implements
104554 to always fail with ENOSYS. Some functions are actually named
104555 something starting with __ and the normal name is an alias. */
104556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104557 choke me
104558 #else
104559 char (*f) () = $ac_func;
104560 #endif
104561 #ifdef __cplusplus
104563 #endif
104566 main ()
104568 return f != $ac_func;
104570 return 0;
104572 _ACEOF
104573 rm -f conftest.$ac_objext conftest$ac_exeext
104574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104575 (eval $ac_link) 2>conftest.er1
104576 ac_status=$?
104577 grep -v '^ *+' conftest.er1 >conftest.err
104578 rm -f conftest.er1
104579 cat conftest.err >&5
104580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104581 (exit $ac_status); } &&
104582 { ac_try='test -z "$ac_c_werror_flag"
104583 || test ! -s conftest.err'
104584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104585 (eval $ac_try) 2>&5
104586 ac_status=$?
104587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104588 (exit $ac_status); }; } &&
104589 { ac_try='test -s conftest$ac_exeext'
104590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104591 (eval $ac_try) 2>&5
104592 ac_status=$?
104593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104594 (exit $ac_status); }; }; then
104595 eval "$as_ac_var=yes"
104597 echo "$as_me: failed program was:" >&5
104598 sed 's/^/| /' conftest.$ac_ext >&5
104600 eval "$as_ac_var=no"
104602 rm -f conftest.err conftest.$ac_objext \
104603 conftest$ac_exeext conftest.$ac_ext
104605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104607 if test `eval echo '${'$as_ac_var'}'` = yes; then
104608 cat >>confdefs.h <<_ACEOF
104609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104610 _ACEOF
104617 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104618 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104619 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104620 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104621 echo $ECHO_N "(cached) $ECHO_C" >&6
104626 ac_ext=cc
104627 ac_cpp='$CXXCPP $CPPFLAGS'
104628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104632 cat >conftest.$ac_ext <<_ACEOF
104633 /* confdefs.h. */
104634 _ACEOF
104635 cat confdefs.h >>conftest.$ac_ext
104636 cat >>conftest.$ac_ext <<_ACEOF
104637 /* end confdefs.h. */
104638 #include <math.h>
104639 #ifdef HAVE_IEEEFP_H
104640 #include <ieeefp.h>
104641 #endif
104644 main ()
104646 _finitel(0);
104648 return 0;
104650 _ACEOF
104651 rm -f conftest.$ac_objext
104652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104653 (eval $ac_compile) 2>conftest.er1
104654 ac_status=$?
104655 grep -v '^ *+' conftest.er1 >conftest.err
104656 rm -f conftest.er1
104657 cat conftest.err >&5
104658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104659 (exit $ac_status); } &&
104660 { ac_try='test -z "$ac_cxx_werror_flag"
104661 || test ! -s conftest.err'
104662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104663 (eval $ac_try) 2>&5
104664 ac_status=$?
104665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104666 (exit $ac_status); }; } &&
104667 { ac_try='test -s conftest.$ac_objext'
104668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104669 (eval $ac_try) 2>&5
104670 ac_status=$?
104671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104672 (exit $ac_status); }; }; then
104673 glibcxx_cv_func__finitel_use=yes
104675 echo "$as_me: failed program was:" >&5
104676 sed 's/^/| /' conftest.$ac_ext >&5
104678 glibcxx_cv_func__finitel_use=no
104680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104681 ac_ext=c
104682 ac_cpp='$CPP $CPPFLAGS'
104683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104692 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104694 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104696 for ac_func in _finitel
104698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104699 echo "$as_me:$LINENO: checking for $ac_func" >&5
104700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104701 if eval "test \"\${$as_ac_var+set}\" = set"; then
104702 echo $ECHO_N "(cached) $ECHO_C" >&6
104704 if test x$gcc_no_link = xyes; then
104705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104707 { (exit 1); exit 1; }; }
104709 cat >conftest.$ac_ext <<_ACEOF
104710 /* confdefs.h. */
104711 _ACEOF
104712 cat confdefs.h >>conftest.$ac_ext
104713 cat >>conftest.$ac_ext <<_ACEOF
104714 /* end confdefs.h. */
104715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104717 #define $ac_func innocuous_$ac_func
104719 /* System header to define __stub macros and hopefully few prototypes,
104720 which can conflict with char $ac_func (); below.
104721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104722 <limits.h> exists even on freestanding compilers. */
104724 #ifdef __STDC__
104725 # include <limits.h>
104726 #else
104727 # include <assert.h>
104728 #endif
104730 #undef $ac_func
104732 /* Override any gcc2 internal prototype to avoid an error. */
104733 #ifdef __cplusplus
104734 extern "C"
104736 #endif
104737 /* We use char because int might match the return type of a gcc2
104738 builtin and then its argument prototype would still apply. */
104739 char $ac_func ();
104740 /* The GNU C library defines this for functions which it implements
104741 to always fail with ENOSYS. Some functions are actually named
104742 something starting with __ and the normal name is an alias. */
104743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104744 choke me
104745 #else
104746 char (*f) () = $ac_func;
104747 #endif
104748 #ifdef __cplusplus
104750 #endif
104753 main ()
104755 return f != $ac_func;
104757 return 0;
104759 _ACEOF
104760 rm -f conftest.$ac_objext conftest$ac_exeext
104761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104762 (eval $ac_link) 2>conftest.er1
104763 ac_status=$?
104764 grep -v '^ *+' conftest.er1 >conftest.err
104765 rm -f conftest.er1
104766 cat conftest.err >&5
104767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104768 (exit $ac_status); } &&
104769 { ac_try='test -z "$ac_c_werror_flag"
104770 || test ! -s conftest.err'
104771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104772 (eval $ac_try) 2>&5
104773 ac_status=$?
104774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104775 (exit $ac_status); }; } &&
104776 { ac_try='test -s conftest$ac_exeext'
104777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104778 (eval $ac_try) 2>&5
104779 ac_status=$?
104780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104781 (exit $ac_status); }; }; then
104782 eval "$as_ac_var=yes"
104784 echo "$as_me: failed program was:" >&5
104785 sed 's/^/| /' conftest.$ac_ext >&5
104787 eval "$as_ac_var=no"
104789 rm -f conftest.err conftest.$ac_objext \
104790 conftest$ac_exeext conftest.$ac_ext
104792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104794 if test `eval echo '${'$as_ac_var'}'` = yes; then
104795 cat >>confdefs.h <<_ACEOF
104796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104797 _ACEOF
104809 LIBS="$ac_save_LIBS"
104810 CXXFLAGS="$ac_save_CXXFLAGS"
104814 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
104815 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
104816 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
104817 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
104818 echo $ECHO_N "(cached) $ECHO_C" >&6
104823 ac_ext=cc
104824 ac_cpp='$CXXCPP $CPPFLAGS'
104825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104829 cat >conftest.$ac_ext <<_ACEOF
104830 /* confdefs.h. */
104831 _ACEOF
104832 cat confdefs.h >>conftest.$ac_ext
104833 cat >>conftest.$ac_ext <<_ACEOF
104834 /* end confdefs.h. */
104835 #include <math.h>
104837 main ()
104839 __builtin_abs(0);
104841 return 0;
104843 _ACEOF
104844 rm -f conftest.$ac_objext
104845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104846 (eval $ac_compile) 2>conftest.er1
104847 ac_status=$?
104848 grep -v '^ *+' conftest.er1 >conftest.err
104849 rm -f conftest.er1
104850 cat conftest.err >&5
104851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104852 (exit $ac_status); } &&
104853 { ac_try='test -z "$ac_cxx_werror_flag"
104854 || test ! -s conftest.err'
104855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104856 (eval $ac_try) 2>&5
104857 ac_status=$?
104858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104859 (exit $ac_status); }; } &&
104860 { ac_try='test -s conftest.$ac_objext'
104861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104862 (eval $ac_try) 2>&5
104863 ac_status=$?
104864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104865 (exit $ac_status); }; }; then
104866 glibcxx_cv_func___builtin_abs_use=yes
104868 echo "$as_me: failed program was:" >&5
104869 sed 's/^/| /' conftest.$ac_ext >&5
104871 glibcxx_cv_func___builtin_abs_use=no
104873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104874 ac_ext=c
104875 ac_cpp='$CPP $CPPFLAGS'
104876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104884 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
104885 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
104886 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
104887 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
104888 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
104889 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
104890 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
104891 echo $ECHO_N "(cached) $ECHO_C" >&6
104894 if test x$gcc_no_link = xyes; then
104895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104897 { (exit 1); exit 1; }; }
104899 cat >conftest.$ac_ext <<_ACEOF
104900 /* confdefs.h. */
104901 _ACEOF
104902 cat confdefs.h >>conftest.$ac_ext
104903 cat >>conftest.$ac_ext <<_ACEOF
104904 /* end confdefs.h. */
104905 #include <math.h>
104907 main ()
104909 __builtin_abs(0);
104911 return 0;
104913 _ACEOF
104914 rm -f conftest.$ac_objext conftest$ac_exeext
104915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104916 (eval $ac_link) 2>conftest.er1
104917 ac_status=$?
104918 grep -v '^ *+' conftest.er1 >conftest.err
104919 rm -f conftest.er1
104920 cat conftest.err >&5
104921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104922 (exit $ac_status); } &&
104923 { ac_try='test -z "$ac_c_werror_flag"
104924 || test ! -s conftest.err'
104925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104926 (eval $ac_try) 2>&5
104927 ac_status=$?
104928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104929 (exit $ac_status); }; } &&
104930 { ac_try='test -s conftest$ac_exeext'
104931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104932 (eval $ac_try) 2>&5
104933 ac_status=$?
104934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104935 (exit $ac_status); }; }; then
104936 glibcxx_cv_func___builtin_abs_link=yes
104938 echo "$as_me: failed program was:" >&5
104939 sed 's/^/| /' conftest.$ac_ext >&5
104941 glibcxx_cv_func___builtin_abs_link=no
104943 rm -f conftest.err conftest.$ac_objext \
104944 conftest$ac_exeext conftest.$ac_ext
104949 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
104950 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
104952 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
104954 cat >>confdefs.h <<\_ACEOF
104955 #define HAVE___BUILTIN_ABS 1
104956 _ACEOF
104963 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
104964 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
104965 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
104966 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
104967 echo $ECHO_N "(cached) $ECHO_C" >&6
104972 ac_ext=cc
104973 ac_cpp='$CXXCPP $CPPFLAGS'
104974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104978 cat >conftest.$ac_ext <<_ACEOF
104979 /* confdefs.h. */
104980 _ACEOF
104981 cat confdefs.h >>conftest.$ac_ext
104982 cat >>conftest.$ac_ext <<_ACEOF
104983 /* end confdefs.h. */
104984 #include <math.h>
104986 main ()
104988 __builtin_fabsf(0);
104990 return 0;
104992 _ACEOF
104993 rm -f conftest.$ac_objext
104994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104995 (eval $ac_compile) 2>conftest.er1
104996 ac_status=$?
104997 grep -v '^ *+' conftest.er1 >conftest.err
104998 rm -f conftest.er1
104999 cat conftest.err >&5
105000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105001 (exit $ac_status); } &&
105002 { ac_try='test -z "$ac_cxx_werror_flag"
105003 || test ! -s conftest.err'
105004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105005 (eval $ac_try) 2>&5
105006 ac_status=$?
105007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105008 (exit $ac_status); }; } &&
105009 { ac_try='test -s conftest.$ac_objext'
105010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105011 (eval $ac_try) 2>&5
105012 ac_status=$?
105013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105014 (exit $ac_status); }; }; then
105015 glibcxx_cv_func___builtin_fabsf_use=yes
105017 echo "$as_me: failed program was:" >&5
105018 sed 's/^/| /' conftest.$ac_ext >&5
105020 glibcxx_cv_func___builtin_fabsf_use=no
105022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105023 ac_ext=c
105024 ac_cpp='$CPP $CPPFLAGS'
105025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105034 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105035 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105036 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105037 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105038 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105039 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105040 echo $ECHO_N "(cached) $ECHO_C" >&6
105043 if test x$gcc_no_link = xyes; then
105044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105046 { (exit 1); exit 1; }; }
105048 cat >conftest.$ac_ext <<_ACEOF
105049 /* confdefs.h. */
105050 _ACEOF
105051 cat confdefs.h >>conftest.$ac_ext
105052 cat >>conftest.$ac_ext <<_ACEOF
105053 /* end confdefs.h. */
105054 #include <math.h>
105056 main ()
105058 __builtin_fabsf(0);
105060 return 0;
105062 _ACEOF
105063 rm -f conftest.$ac_objext conftest$ac_exeext
105064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105065 (eval $ac_link) 2>conftest.er1
105066 ac_status=$?
105067 grep -v '^ *+' conftest.er1 >conftest.err
105068 rm -f conftest.er1
105069 cat conftest.err >&5
105070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105071 (exit $ac_status); } &&
105072 { ac_try='test -z "$ac_c_werror_flag"
105073 || test ! -s conftest.err'
105074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105075 (eval $ac_try) 2>&5
105076 ac_status=$?
105077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105078 (exit $ac_status); }; } &&
105079 { ac_try='test -s conftest$ac_exeext'
105080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105081 (eval $ac_try) 2>&5
105082 ac_status=$?
105083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105084 (exit $ac_status); }; }; then
105085 glibcxx_cv_func___builtin_fabsf_link=yes
105087 echo "$as_me: failed program was:" >&5
105088 sed 's/^/| /' conftest.$ac_ext >&5
105090 glibcxx_cv_func___builtin_fabsf_link=no
105092 rm -f conftest.err conftest.$ac_objext \
105093 conftest$ac_exeext conftest.$ac_ext
105098 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105099 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105101 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105103 cat >>confdefs.h <<\_ACEOF
105104 #define HAVE___BUILTIN_FABSF 1
105105 _ACEOF
105112 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105113 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105114 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105115 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105116 echo $ECHO_N "(cached) $ECHO_C" >&6
105121 ac_ext=cc
105122 ac_cpp='$CXXCPP $CPPFLAGS'
105123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105127 cat >conftest.$ac_ext <<_ACEOF
105128 /* confdefs.h. */
105129 _ACEOF
105130 cat confdefs.h >>conftest.$ac_ext
105131 cat >>conftest.$ac_ext <<_ACEOF
105132 /* end confdefs.h. */
105133 #include <math.h>
105135 main ()
105137 __builtin_fabs(0);
105139 return 0;
105141 _ACEOF
105142 rm -f conftest.$ac_objext
105143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105144 (eval $ac_compile) 2>conftest.er1
105145 ac_status=$?
105146 grep -v '^ *+' conftest.er1 >conftest.err
105147 rm -f conftest.er1
105148 cat conftest.err >&5
105149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105150 (exit $ac_status); } &&
105151 { ac_try='test -z "$ac_cxx_werror_flag"
105152 || test ! -s conftest.err'
105153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105154 (eval $ac_try) 2>&5
105155 ac_status=$?
105156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105157 (exit $ac_status); }; } &&
105158 { ac_try='test -s conftest.$ac_objext'
105159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105160 (eval $ac_try) 2>&5
105161 ac_status=$?
105162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105163 (exit $ac_status); }; }; then
105164 glibcxx_cv_func___builtin_fabs_use=yes
105166 echo "$as_me: failed program was:" >&5
105167 sed 's/^/| /' conftest.$ac_ext >&5
105169 glibcxx_cv_func___builtin_fabs_use=no
105171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105172 ac_ext=c
105173 ac_cpp='$CPP $CPPFLAGS'
105174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105183 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105184 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105185 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105186 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105187 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105188 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105189 echo $ECHO_N "(cached) $ECHO_C" >&6
105192 if test x$gcc_no_link = xyes; then
105193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105195 { (exit 1); exit 1; }; }
105197 cat >conftest.$ac_ext <<_ACEOF
105198 /* confdefs.h. */
105199 _ACEOF
105200 cat confdefs.h >>conftest.$ac_ext
105201 cat >>conftest.$ac_ext <<_ACEOF
105202 /* end confdefs.h. */
105203 #include <math.h>
105205 main ()
105207 __builtin_fabs(0);
105209 return 0;
105211 _ACEOF
105212 rm -f conftest.$ac_objext conftest$ac_exeext
105213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105214 (eval $ac_link) 2>conftest.er1
105215 ac_status=$?
105216 grep -v '^ *+' conftest.er1 >conftest.err
105217 rm -f conftest.er1
105218 cat conftest.err >&5
105219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105220 (exit $ac_status); } &&
105221 { ac_try='test -z "$ac_c_werror_flag"
105222 || test ! -s conftest.err'
105223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105224 (eval $ac_try) 2>&5
105225 ac_status=$?
105226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105227 (exit $ac_status); }; } &&
105228 { ac_try='test -s conftest$ac_exeext'
105229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105230 (eval $ac_try) 2>&5
105231 ac_status=$?
105232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105233 (exit $ac_status); }; }; then
105234 glibcxx_cv_func___builtin_fabs_link=yes
105236 echo "$as_me: failed program was:" >&5
105237 sed 's/^/| /' conftest.$ac_ext >&5
105239 glibcxx_cv_func___builtin_fabs_link=no
105241 rm -f conftest.err conftest.$ac_objext \
105242 conftest$ac_exeext conftest.$ac_ext
105247 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105248 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105250 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105252 cat >>confdefs.h <<\_ACEOF
105253 #define HAVE___BUILTIN_FABS 1
105254 _ACEOF
105261 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105262 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105263 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105264 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105265 echo $ECHO_N "(cached) $ECHO_C" >&6
105270 ac_ext=cc
105271 ac_cpp='$CXXCPP $CPPFLAGS'
105272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105276 cat >conftest.$ac_ext <<_ACEOF
105277 /* confdefs.h. */
105278 _ACEOF
105279 cat confdefs.h >>conftest.$ac_ext
105280 cat >>conftest.$ac_ext <<_ACEOF
105281 /* end confdefs.h. */
105282 #include <math.h>
105284 main ()
105286 __builtin_fabsl(0);
105288 return 0;
105290 _ACEOF
105291 rm -f conftest.$ac_objext
105292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105293 (eval $ac_compile) 2>conftest.er1
105294 ac_status=$?
105295 grep -v '^ *+' conftest.er1 >conftest.err
105296 rm -f conftest.er1
105297 cat conftest.err >&5
105298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105299 (exit $ac_status); } &&
105300 { ac_try='test -z "$ac_cxx_werror_flag"
105301 || test ! -s conftest.err'
105302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105303 (eval $ac_try) 2>&5
105304 ac_status=$?
105305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105306 (exit $ac_status); }; } &&
105307 { ac_try='test -s conftest.$ac_objext'
105308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105309 (eval $ac_try) 2>&5
105310 ac_status=$?
105311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105312 (exit $ac_status); }; }; then
105313 glibcxx_cv_func___builtin_fabsl_use=yes
105315 echo "$as_me: failed program was:" >&5
105316 sed 's/^/| /' conftest.$ac_ext >&5
105318 glibcxx_cv_func___builtin_fabsl_use=no
105320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105321 ac_ext=c
105322 ac_cpp='$CPP $CPPFLAGS'
105323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105332 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105333 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105334 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105335 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105336 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105337 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105338 echo $ECHO_N "(cached) $ECHO_C" >&6
105341 if test x$gcc_no_link = xyes; then
105342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105344 { (exit 1); exit 1; }; }
105346 cat >conftest.$ac_ext <<_ACEOF
105347 /* confdefs.h. */
105348 _ACEOF
105349 cat confdefs.h >>conftest.$ac_ext
105350 cat >>conftest.$ac_ext <<_ACEOF
105351 /* end confdefs.h. */
105352 #include <math.h>
105354 main ()
105356 __builtin_fabsl(0);
105358 return 0;
105360 _ACEOF
105361 rm -f conftest.$ac_objext conftest$ac_exeext
105362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105363 (eval $ac_link) 2>conftest.er1
105364 ac_status=$?
105365 grep -v '^ *+' conftest.er1 >conftest.err
105366 rm -f conftest.er1
105367 cat conftest.err >&5
105368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105369 (exit $ac_status); } &&
105370 { ac_try='test -z "$ac_c_werror_flag"
105371 || test ! -s conftest.err'
105372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105373 (eval $ac_try) 2>&5
105374 ac_status=$?
105375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105376 (exit $ac_status); }; } &&
105377 { ac_try='test -s conftest$ac_exeext'
105378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105379 (eval $ac_try) 2>&5
105380 ac_status=$?
105381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105382 (exit $ac_status); }; }; then
105383 glibcxx_cv_func___builtin_fabsl_link=yes
105385 echo "$as_me: failed program was:" >&5
105386 sed 's/^/| /' conftest.$ac_ext >&5
105388 glibcxx_cv_func___builtin_fabsl_link=no
105390 rm -f conftest.err conftest.$ac_objext \
105391 conftest$ac_exeext conftest.$ac_ext
105396 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105397 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105399 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105401 cat >>confdefs.h <<\_ACEOF
105402 #define HAVE___BUILTIN_FABSL 1
105403 _ACEOF
105410 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105411 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105412 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105413 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105414 echo $ECHO_N "(cached) $ECHO_C" >&6
105419 ac_ext=cc
105420 ac_cpp='$CXXCPP $CPPFLAGS'
105421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105425 cat >conftest.$ac_ext <<_ACEOF
105426 /* confdefs.h. */
105427 _ACEOF
105428 cat confdefs.h >>conftest.$ac_ext
105429 cat >>conftest.$ac_ext <<_ACEOF
105430 /* end confdefs.h. */
105431 #include <math.h>
105433 main ()
105435 __builtin_labs(0);
105437 return 0;
105439 _ACEOF
105440 rm -f conftest.$ac_objext
105441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105442 (eval $ac_compile) 2>conftest.er1
105443 ac_status=$?
105444 grep -v '^ *+' conftest.er1 >conftest.err
105445 rm -f conftest.er1
105446 cat conftest.err >&5
105447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105448 (exit $ac_status); } &&
105449 { ac_try='test -z "$ac_cxx_werror_flag"
105450 || test ! -s conftest.err'
105451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105452 (eval $ac_try) 2>&5
105453 ac_status=$?
105454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105455 (exit $ac_status); }; } &&
105456 { ac_try='test -s conftest.$ac_objext'
105457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105458 (eval $ac_try) 2>&5
105459 ac_status=$?
105460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105461 (exit $ac_status); }; }; then
105462 glibcxx_cv_func___builtin_labs_use=yes
105464 echo "$as_me: failed program was:" >&5
105465 sed 's/^/| /' conftest.$ac_ext >&5
105467 glibcxx_cv_func___builtin_labs_use=no
105469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105470 ac_ext=c
105471 ac_cpp='$CPP $CPPFLAGS'
105472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105481 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105482 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105483 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105484 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105485 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105486 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105487 echo $ECHO_N "(cached) $ECHO_C" >&6
105490 if test x$gcc_no_link = xyes; then
105491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105493 { (exit 1); exit 1; }; }
105495 cat >conftest.$ac_ext <<_ACEOF
105496 /* confdefs.h. */
105497 _ACEOF
105498 cat confdefs.h >>conftest.$ac_ext
105499 cat >>conftest.$ac_ext <<_ACEOF
105500 /* end confdefs.h. */
105501 #include <math.h>
105503 main ()
105505 __builtin_labs(0);
105507 return 0;
105509 _ACEOF
105510 rm -f conftest.$ac_objext conftest$ac_exeext
105511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105512 (eval $ac_link) 2>conftest.er1
105513 ac_status=$?
105514 grep -v '^ *+' conftest.er1 >conftest.err
105515 rm -f conftest.er1
105516 cat conftest.err >&5
105517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105518 (exit $ac_status); } &&
105519 { ac_try='test -z "$ac_c_werror_flag"
105520 || test ! -s conftest.err'
105521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105522 (eval $ac_try) 2>&5
105523 ac_status=$?
105524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105525 (exit $ac_status); }; } &&
105526 { ac_try='test -s conftest$ac_exeext'
105527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105528 (eval $ac_try) 2>&5
105529 ac_status=$?
105530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105531 (exit $ac_status); }; }; then
105532 glibcxx_cv_func___builtin_labs_link=yes
105534 echo "$as_me: failed program was:" >&5
105535 sed 's/^/| /' conftest.$ac_ext >&5
105537 glibcxx_cv_func___builtin_labs_link=no
105539 rm -f conftest.err conftest.$ac_objext \
105540 conftest$ac_exeext conftest.$ac_ext
105545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105546 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105548 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105550 cat >>confdefs.h <<\_ACEOF
105551 #define HAVE___BUILTIN_LABS 1
105552 _ACEOF
105560 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105561 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105562 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105563 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105564 echo $ECHO_N "(cached) $ECHO_C" >&6
105569 ac_ext=cc
105570 ac_cpp='$CXXCPP $CPPFLAGS'
105571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105575 cat >conftest.$ac_ext <<_ACEOF
105576 /* confdefs.h. */
105577 _ACEOF
105578 cat confdefs.h >>conftest.$ac_ext
105579 cat >>conftest.$ac_ext <<_ACEOF
105580 /* end confdefs.h. */
105581 #include <math.h>
105583 main ()
105585 __builtin_sqrtf(0);
105587 return 0;
105589 _ACEOF
105590 rm -f conftest.$ac_objext
105591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105592 (eval $ac_compile) 2>conftest.er1
105593 ac_status=$?
105594 grep -v '^ *+' conftest.er1 >conftest.err
105595 rm -f conftest.er1
105596 cat conftest.err >&5
105597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105598 (exit $ac_status); } &&
105599 { ac_try='test -z "$ac_cxx_werror_flag"
105600 || test ! -s conftest.err'
105601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105602 (eval $ac_try) 2>&5
105603 ac_status=$?
105604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105605 (exit $ac_status); }; } &&
105606 { ac_try='test -s conftest.$ac_objext'
105607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105608 (eval $ac_try) 2>&5
105609 ac_status=$?
105610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105611 (exit $ac_status); }; }; then
105612 glibcxx_cv_func___builtin_sqrtf_use=yes
105614 echo "$as_me: failed program was:" >&5
105615 sed 's/^/| /' conftest.$ac_ext >&5
105617 glibcxx_cv_func___builtin_sqrtf_use=no
105619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105620 ac_ext=c
105621 ac_cpp='$CPP $CPPFLAGS'
105622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105630 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105631 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105632 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105633 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105634 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105635 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105636 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105637 echo $ECHO_N "(cached) $ECHO_C" >&6
105640 if test x$gcc_no_link = xyes; then
105641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105643 { (exit 1); exit 1; }; }
105645 cat >conftest.$ac_ext <<_ACEOF
105646 /* confdefs.h. */
105647 _ACEOF
105648 cat confdefs.h >>conftest.$ac_ext
105649 cat >>conftest.$ac_ext <<_ACEOF
105650 /* end confdefs.h. */
105651 #include <math.h>
105653 main ()
105655 __builtin_sqrtf(0);
105657 return 0;
105659 _ACEOF
105660 rm -f conftest.$ac_objext conftest$ac_exeext
105661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105662 (eval $ac_link) 2>conftest.er1
105663 ac_status=$?
105664 grep -v '^ *+' conftest.er1 >conftest.err
105665 rm -f conftest.er1
105666 cat conftest.err >&5
105667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105668 (exit $ac_status); } &&
105669 { ac_try='test -z "$ac_c_werror_flag"
105670 || test ! -s conftest.err'
105671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105672 (eval $ac_try) 2>&5
105673 ac_status=$?
105674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105675 (exit $ac_status); }; } &&
105676 { ac_try='test -s conftest$ac_exeext'
105677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105678 (eval $ac_try) 2>&5
105679 ac_status=$?
105680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105681 (exit $ac_status); }; }; then
105682 glibcxx_cv_func___builtin_sqrtf_link=yes
105684 echo "$as_me: failed program was:" >&5
105685 sed 's/^/| /' conftest.$ac_ext >&5
105687 glibcxx_cv_func___builtin_sqrtf_link=no
105689 rm -f conftest.err conftest.$ac_objext \
105690 conftest$ac_exeext conftest.$ac_ext
105695 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105696 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105698 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105700 cat >>confdefs.h <<\_ACEOF
105701 #define HAVE___BUILTIN_SQRTF 1
105702 _ACEOF
105709 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105710 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105711 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105712 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105713 echo $ECHO_N "(cached) $ECHO_C" >&6
105718 ac_ext=cc
105719 ac_cpp='$CXXCPP $CPPFLAGS'
105720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105724 cat >conftest.$ac_ext <<_ACEOF
105725 /* confdefs.h. */
105726 _ACEOF
105727 cat confdefs.h >>conftest.$ac_ext
105728 cat >>conftest.$ac_ext <<_ACEOF
105729 /* end confdefs.h. */
105730 #include <math.h>
105732 main ()
105734 __builtin_sqrt(0);
105736 return 0;
105738 _ACEOF
105739 rm -f conftest.$ac_objext
105740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105741 (eval $ac_compile) 2>conftest.er1
105742 ac_status=$?
105743 grep -v '^ *+' conftest.er1 >conftest.err
105744 rm -f conftest.er1
105745 cat conftest.err >&5
105746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105747 (exit $ac_status); } &&
105748 { ac_try='test -z "$ac_cxx_werror_flag"
105749 || test ! -s conftest.err'
105750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105751 (eval $ac_try) 2>&5
105752 ac_status=$?
105753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105754 (exit $ac_status); }; } &&
105755 { ac_try='test -s conftest.$ac_objext'
105756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105757 (eval $ac_try) 2>&5
105758 ac_status=$?
105759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105760 (exit $ac_status); }; }; then
105761 glibcxx_cv_func___builtin_sqrt_use=yes
105763 echo "$as_me: failed program was:" >&5
105764 sed 's/^/| /' conftest.$ac_ext >&5
105766 glibcxx_cv_func___builtin_sqrt_use=no
105768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105769 ac_ext=c
105770 ac_cpp='$CPP $CPPFLAGS'
105771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105779 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
105780 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
105781 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
105782 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
105783 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
105784 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
105785 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
105786 echo $ECHO_N "(cached) $ECHO_C" >&6
105789 if test x$gcc_no_link = xyes; then
105790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105792 { (exit 1); exit 1; }; }
105794 cat >conftest.$ac_ext <<_ACEOF
105795 /* confdefs.h. */
105796 _ACEOF
105797 cat confdefs.h >>conftest.$ac_ext
105798 cat >>conftest.$ac_ext <<_ACEOF
105799 /* end confdefs.h. */
105800 #include <math.h>
105802 main ()
105804 __builtin_sqrt(0);
105806 return 0;
105808 _ACEOF
105809 rm -f conftest.$ac_objext conftest$ac_exeext
105810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105811 (eval $ac_link) 2>conftest.er1
105812 ac_status=$?
105813 grep -v '^ *+' conftest.er1 >conftest.err
105814 rm -f conftest.er1
105815 cat conftest.err >&5
105816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105817 (exit $ac_status); } &&
105818 { ac_try='test -z "$ac_c_werror_flag"
105819 || test ! -s conftest.err'
105820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105821 (eval $ac_try) 2>&5
105822 ac_status=$?
105823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105824 (exit $ac_status); }; } &&
105825 { ac_try='test -s conftest$ac_exeext'
105826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105827 (eval $ac_try) 2>&5
105828 ac_status=$?
105829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105830 (exit $ac_status); }; }; then
105831 glibcxx_cv_func___builtin_sqrt_link=yes
105833 echo "$as_me: failed program was:" >&5
105834 sed 's/^/| /' conftest.$ac_ext >&5
105836 glibcxx_cv_func___builtin_sqrt_link=no
105838 rm -f conftest.err conftest.$ac_objext \
105839 conftest$ac_exeext conftest.$ac_ext
105844 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
105845 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
105847 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
105849 cat >>confdefs.h <<\_ACEOF
105850 #define HAVE___BUILTIN_SQRT 1
105851 _ACEOF
105858 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
105859 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
105860 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
105861 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
105862 echo $ECHO_N "(cached) $ECHO_C" >&6
105867 ac_ext=cc
105868 ac_cpp='$CXXCPP $CPPFLAGS'
105869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105873 cat >conftest.$ac_ext <<_ACEOF
105874 /* confdefs.h. */
105875 _ACEOF
105876 cat confdefs.h >>conftest.$ac_ext
105877 cat >>conftest.$ac_ext <<_ACEOF
105878 /* end confdefs.h. */
105879 #include <math.h>
105881 main ()
105883 __builtin_sqrtl(0);
105885 return 0;
105887 _ACEOF
105888 rm -f conftest.$ac_objext
105889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105890 (eval $ac_compile) 2>conftest.er1
105891 ac_status=$?
105892 grep -v '^ *+' conftest.er1 >conftest.err
105893 rm -f conftest.er1
105894 cat conftest.err >&5
105895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105896 (exit $ac_status); } &&
105897 { ac_try='test -z "$ac_cxx_werror_flag"
105898 || test ! -s conftest.err'
105899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105900 (eval $ac_try) 2>&5
105901 ac_status=$?
105902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105903 (exit $ac_status); }; } &&
105904 { ac_try='test -s conftest.$ac_objext'
105905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105906 (eval $ac_try) 2>&5
105907 ac_status=$?
105908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105909 (exit $ac_status); }; }; then
105910 glibcxx_cv_func___builtin_sqrtl_use=yes
105912 echo "$as_me: failed program was:" >&5
105913 sed 's/^/| /' conftest.$ac_ext >&5
105915 glibcxx_cv_func___builtin_sqrtl_use=no
105917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105918 ac_ext=c
105919 ac_cpp='$CPP $CPPFLAGS'
105920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105928 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
105929 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
105930 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
105931 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
105932 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
105933 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
105934 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
105935 echo $ECHO_N "(cached) $ECHO_C" >&6
105938 if test x$gcc_no_link = xyes; then
105939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105941 { (exit 1); exit 1; }; }
105943 cat >conftest.$ac_ext <<_ACEOF
105944 /* confdefs.h. */
105945 _ACEOF
105946 cat confdefs.h >>conftest.$ac_ext
105947 cat >>conftest.$ac_ext <<_ACEOF
105948 /* end confdefs.h. */
105949 #include <math.h>
105951 main ()
105953 __builtin_sqrtl(0);
105955 return 0;
105957 _ACEOF
105958 rm -f conftest.$ac_objext conftest$ac_exeext
105959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105960 (eval $ac_link) 2>conftest.er1
105961 ac_status=$?
105962 grep -v '^ *+' conftest.er1 >conftest.err
105963 rm -f conftest.er1
105964 cat conftest.err >&5
105965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105966 (exit $ac_status); } &&
105967 { ac_try='test -z "$ac_c_werror_flag"
105968 || test ! -s conftest.err'
105969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105970 (eval $ac_try) 2>&5
105971 ac_status=$?
105972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105973 (exit $ac_status); }; } &&
105974 { ac_try='test -s conftest$ac_exeext'
105975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105976 (eval $ac_try) 2>&5
105977 ac_status=$?
105978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105979 (exit $ac_status); }; }; then
105980 glibcxx_cv_func___builtin_sqrtl_link=yes
105982 echo "$as_me: failed program was:" >&5
105983 sed 's/^/| /' conftest.$ac_ext >&5
105985 glibcxx_cv_func___builtin_sqrtl_link=no
105987 rm -f conftest.err conftest.$ac_objext \
105988 conftest$ac_exeext conftest.$ac_ext
105993 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
105994 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
105996 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
105998 cat >>confdefs.h <<\_ACEOF
105999 #define HAVE___BUILTIN_SQRTL 1
106000 _ACEOF
106008 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106009 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106010 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106011 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106012 echo $ECHO_N "(cached) $ECHO_C" >&6
106017 ac_ext=cc
106018 ac_cpp='$CXXCPP $CPPFLAGS'
106019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106023 cat >conftest.$ac_ext <<_ACEOF
106024 /* confdefs.h. */
106025 _ACEOF
106026 cat confdefs.h >>conftest.$ac_ext
106027 cat >>conftest.$ac_ext <<_ACEOF
106028 /* end confdefs.h. */
106029 #include <math.h>
106031 main ()
106033 __builtin_sinf(0);
106035 return 0;
106037 _ACEOF
106038 rm -f conftest.$ac_objext
106039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106040 (eval $ac_compile) 2>conftest.er1
106041 ac_status=$?
106042 grep -v '^ *+' conftest.er1 >conftest.err
106043 rm -f conftest.er1
106044 cat conftest.err >&5
106045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106046 (exit $ac_status); } &&
106047 { ac_try='test -z "$ac_cxx_werror_flag"
106048 || test ! -s conftest.err'
106049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106050 (eval $ac_try) 2>&5
106051 ac_status=$?
106052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106053 (exit $ac_status); }; } &&
106054 { ac_try='test -s conftest.$ac_objext'
106055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106056 (eval $ac_try) 2>&5
106057 ac_status=$?
106058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106059 (exit $ac_status); }; }; then
106060 glibcxx_cv_func___builtin_sinf_use=yes
106062 echo "$as_me: failed program was:" >&5
106063 sed 's/^/| /' conftest.$ac_ext >&5
106065 glibcxx_cv_func___builtin_sinf_use=no
106067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106068 ac_ext=c
106069 ac_cpp='$CPP $CPPFLAGS'
106070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106078 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106079 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106080 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106081 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106082 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106083 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106084 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106085 echo $ECHO_N "(cached) $ECHO_C" >&6
106088 if test x$gcc_no_link = xyes; then
106089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106091 { (exit 1); exit 1; }; }
106093 cat >conftest.$ac_ext <<_ACEOF
106094 /* confdefs.h. */
106095 _ACEOF
106096 cat confdefs.h >>conftest.$ac_ext
106097 cat >>conftest.$ac_ext <<_ACEOF
106098 /* end confdefs.h. */
106099 #include <math.h>
106101 main ()
106103 __builtin_sinf(0);
106105 return 0;
106107 _ACEOF
106108 rm -f conftest.$ac_objext conftest$ac_exeext
106109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106110 (eval $ac_link) 2>conftest.er1
106111 ac_status=$?
106112 grep -v '^ *+' conftest.er1 >conftest.err
106113 rm -f conftest.er1
106114 cat conftest.err >&5
106115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106116 (exit $ac_status); } &&
106117 { ac_try='test -z "$ac_c_werror_flag"
106118 || test ! -s conftest.err'
106119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106120 (eval $ac_try) 2>&5
106121 ac_status=$?
106122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106123 (exit $ac_status); }; } &&
106124 { ac_try='test -s conftest$ac_exeext'
106125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106126 (eval $ac_try) 2>&5
106127 ac_status=$?
106128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106129 (exit $ac_status); }; }; then
106130 glibcxx_cv_func___builtin_sinf_link=yes
106132 echo "$as_me: failed program was:" >&5
106133 sed 's/^/| /' conftest.$ac_ext >&5
106135 glibcxx_cv_func___builtin_sinf_link=no
106137 rm -f conftest.err conftest.$ac_objext \
106138 conftest$ac_exeext conftest.$ac_ext
106143 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106144 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106146 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106148 cat >>confdefs.h <<\_ACEOF
106149 #define HAVE___BUILTIN_SINF 1
106150 _ACEOF
106157 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106158 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106159 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106160 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106161 echo $ECHO_N "(cached) $ECHO_C" >&6
106166 ac_ext=cc
106167 ac_cpp='$CXXCPP $CPPFLAGS'
106168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106172 cat >conftest.$ac_ext <<_ACEOF
106173 /* confdefs.h. */
106174 _ACEOF
106175 cat confdefs.h >>conftest.$ac_ext
106176 cat >>conftest.$ac_ext <<_ACEOF
106177 /* end confdefs.h. */
106178 #include <math.h>
106180 main ()
106182 __builtin_sin(0);
106184 return 0;
106186 _ACEOF
106187 rm -f conftest.$ac_objext
106188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106189 (eval $ac_compile) 2>conftest.er1
106190 ac_status=$?
106191 grep -v '^ *+' conftest.er1 >conftest.err
106192 rm -f conftest.er1
106193 cat conftest.err >&5
106194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106195 (exit $ac_status); } &&
106196 { ac_try='test -z "$ac_cxx_werror_flag"
106197 || test ! -s conftest.err'
106198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106199 (eval $ac_try) 2>&5
106200 ac_status=$?
106201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106202 (exit $ac_status); }; } &&
106203 { ac_try='test -s conftest.$ac_objext'
106204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106205 (eval $ac_try) 2>&5
106206 ac_status=$?
106207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106208 (exit $ac_status); }; }; then
106209 glibcxx_cv_func___builtin_sin_use=yes
106211 echo "$as_me: failed program was:" >&5
106212 sed 's/^/| /' conftest.$ac_ext >&5
106214 glibcxx_cv_func___builtin_sin_use=no
106216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106217 ac_ext=c
106218 ac_cpp='$CPP $CPPFLAGS'
106219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106227 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106228 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106229 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106230 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106231 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106232 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106233 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106234 echo $ECHO_N "(cached) $ECHO_C" >&6
106237 if test x$gcc_no_link = xyes; then
106238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106240 { (exit 1); exit 1; }; }
106242 cat >conftest.$ac_ext <<_ACEOF
106243 /* confdefs.h. */
106244 _ACEOF
106245 cat confdefs.h >>conftest.$ac_ext
106246 cat >>conftest.$ac_ext <<_ACEOF
106247 /* end confdefs.h. */
106248 #include <math.h>
106250 main ()
106252 __builtin_sin(0);
106254 return 0;
106256 _ACEOF
106257 rm -f conftest.$ac_objext conftest$ac_exeext
106258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106259 (eval $ac_link) 2>conftest.er1
106260 ac_status=$?
106261 grep -v '^ *+' conftest.er1 >conftest.err
106262 rm -f conftest.er1
106263 cat conftest.err >&5
106264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106265 (exit $ac_status); } &&
106266 { ac_try='test -z "$ac_c_werror_flag"
106267 || test ! -s conftest.err'
106268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106269 (eval $ac_try) 2>&5
106270 ac_status=$?
106271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106272 (exit $ac_status); }; } &&
106273 { ac_try='test -s conftest$ac_exeext'
106274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106275 (eval $ac_try) 2>&5
106276 ac_status=$?
106277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106278 (exit $ac_status); }; }; then
106279 glibcxx_cv_func___builtin_sin_link=yes
106281 echo "$as_me: failed program was:" >&5
106282 sed 's/^/| /' conftest.$ac_ext >&5
106284 glibcxx_cv_func___builtin_sin_link=no
106286 rm -f conftest.err conftest.$ac_objext \
106287 conftest$ac_exeext conftest.$ac_ext
106292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106293 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106295 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106297 cat >>confdefs.h <<\_ACEOF
106298 #define HAVE___BUILTIN_SIN 1
106299 _ACEOF
106306 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106307 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106308 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106309 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106310 echo $ECHO_N "(cached) $ECHO_C" >&6
106315 ac_ext=cc
106316 ac_cpp='$CXXCPP $CPPFLAGS'
106317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106321 cat >conftest.$ac_ext <<_ACEOF
106322 /* confdefs.h. */
106323 _ACEOF
106324 cat confdefs.h >>conftest.$ac_ext
106325 cat >>conftest.$ac_ext <<_ACEOF
106326 /* end confdefs.h. */
106327 #include <math.h>
106329 main ()
106331 __builtin_sinl(0);
106333 return 0;
106335 _ACEOF
106336 rm -f conftest.$ac_objext
106337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106338 (eval $ac_compile) 2>conftest.er1
106339 ac_status=$?
106340 grep -v '^ *+' conftest.er1 >conftest.err
106341 rm -f conftest.er1
106342 cat conftest.err >&5
106343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106344 (exit $ac_status); } &&
106345 { ac_try='test -z "$ac_cxx_werror_flag"
106346 || test ! -s conftest.err'
106347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106348 (eval $ac_try) 2>&5
106349 ac_status=$?
106350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106351 (exit $ac_status); }; } &&
106352 { ac_try='test -s conftest.$ac_objext'
106353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106354 (eval $ac_try) 2>&5
106355 ac_status=$?
106356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106357 (exit $ac_status); }; }; then
106358 glibcxx_cv_func___builtin_sinl_use=yes
106360 echo "$as_me: failed program was:" >&5
106361 sed 's/^/| /' conftest.$ac_ext >&5
106363 glibcxx_cv_func___builtin_sinl_use=no
106365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106366 ac_ext=c
106367 ac_cpp='$CPP $CPPFLAGS'
106368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106376 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106377 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106378 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106379 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106380 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106381 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106382 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106383 echo $ECHO_N "(cached) $ECHO_C" >&6
106386 if test x$gcc_no_link = xyes; then
106387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106389 { (exit 1); exit 1; }; }
106391 cat >conftest.$ac_ext <<_ACEOF
106392 /* confdefs.h. */
106393 _ACEOF
106394 cat confdefs.h >>conftest.$ac_ext
106395 cat >>conftest.$ac_ext <<_ACEOF
106396 /* end confdefs.h. */
106397 #include <math.h>
106399 main ()
106401 __builtin_sinl(0);
106403 return 0;
106405 _ACEOF
106406 rm -f conftest.$ac_objext conftest$ac_exeext
106407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106408 (eval $ac_link) 2>conftest.er1
106409 ac_status=$?
106410 grep -v '^ *+' conftest.er1 >conftest.err
106411 rm -f conftest.er1
106412 cat conftest.err >&5
106413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106414 (exit $ac_status); } &&
106415 { ac_try='test -z "$ac_c_werror_flag"
106416 || test ! -s conftest.err'
106417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106418 (eval $ac_try) 2>&5
106419 ac_status=$?
106420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106421 (exit $ac_status); }; } &&
106422 { ac_try='test -s conftest$ac_exeext'
106423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106424 (eval $ac_try) 2>&5
106425 ac_status=$?
106426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106427 (exit $ac_status); }; }; then
106428 glibcxx_cv_func___builtin_sinl_link=yes
106430 echo "$as_me: failed program was:" >&5
106431 sed 's/^/| /' conftest.$ac_ext >&5
106433 glibcxx_cv_func___builtin_sinl_link=no
106435 rm -f conftest.err conftest.$ac_objext \
106436 conftest$ac_exeext conftest.$ac_ext
106441 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106442 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106444 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106446 cat >>confdefs.h <<\_ACEOF
106447 #define HAVE___BUILTIN_SINL 1
106448 _ACEOF
106456 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106457 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106458 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106459 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106460 echo $ECHO_N "(cached) $ECHO_C" >&6
106465 ac_ext=cc
106466 ac_cpp='$CXXCPP $CPPFLAGS'
106467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106471 cat >conftest.$ac_ext <<_ACEOF
106472 /* confdefs.h. */
106473 _ACEOF
106474 cat confdefs.h >>conftest.$ac_ext
106475 cat >>conftest.$ac_ext <<_ACEOF
106476 /* end confdefs.h. */
106477 #include <math.h>
106479 main ()
106481 __builtin_cosf(0);
106483 return 0;
106485 _ACEOF
106486 rm -f conftest.$ac_objext
106487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106488 (eval $ac_compile) 2>conftest.er1
106489 ac_status=$?
106490 grep -v '^ *+' conftest.er1 >conftest.err
106491 rm -f conftest.er1
106492 cat conftest.err >&5
106493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106494 (exit $ac_status); } &&
106495 { ac_try='test -z "$ac_cxx_werror_flag"
106496 || test ! -s conftest.err'
106497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106498 (eval $ac_try) 2>&5
106499 ac_status=$?
106500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106501 (exit $ac_status); }; } &&
106502 { ac_try='test -s conftest.$ac_objext'
106503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106504 (eval $ac_try) 2>&5
106505 ac_status=$?
106506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106507 (exit $ac_status); }; }; then
106508 glibcxx_cv_func___builtin_cosf_use=yes
106510 echo "$as_me: failed program was:" >&5
106511 sed 's/^/| /' conftest.$ac_ext >&5
106513 glibcxx_cv_func___builtin_cosf_use=no
106515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106516 ac_ext=c
106517 ac_cpp='$CPP $CPPFLAGS'
106518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106526 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106527 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106528 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106529 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106530 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106531 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106532 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106533 echo $ECHO_N "(cached) $ECHO_C" >&6
106536 if test x$gcc_no_link = xyes; then
106537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106539 { (exit 1); exit 1; }; }
106541 cat >conftest.$ac_ext <<_ACEOF
106542 /* confdefs.h. */
106543 _ACEOF
106544 cat confdefs.h >>conftest.$ac_ext
106545 cat >>conftest.$ac_ext <<_ACEOF
106546 /* end confdefs.h. */
106547 #include <math.h>
106549 main ()
106551 __builtin_cosf(0);
106553 return 0;
106555 _ACEOF
106556 rm -f conftest.$ac_objext conftest$ac_exeext
106557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106558 (eval $ac_link) 2>conftest.er1
106559 ac_status=$?
106560 grep -v '^ *+' conftest.er1 >conftest.err
106561 rm -f conftest.er1
106562 cat conftest.err >&5
106563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106564 (exit $ac_status); } &&
106565 { ac_try='test -z "$ac_c_werror_flag"
106566 || test ! -s conftest.err'
106567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106568 (eval $ac_try) 2>&5
106569 ac_status=$?
106570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106571 (exit $ac_status); }; } &&
106572 { ac_try='test -s conftest$ac_exeext'
106573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106574 (eval $ac_try) 2>&5
106575 ac_status=$?
106576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106577 (exit $ac_status); }; }; then
106578 glibcxx_cv_func___builtin_cosf_link=yes
106580 echo "$as_me: failed program was:" >&5
106581 sed 's/^/| /' conftest.$ac_ext >&5
106583 glibcxx_cv_func___builtin_cosf_link=no
106585 rm -f conftest.err conftest.$ac_objext \
106586 conftest$ac_exeext conftest.$ac_ext
106591 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106592 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106594 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106596 cat >>confdefs.h <<\_ACEOF
106597 #define HAVE___BUILTIN_COSF 1
106598 _ACEOF
106605 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106606 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106607 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106608 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106609 echo $ECHO_N "(cached) $ECHO_C" >&6
106614 ac_ext=cc
106615 ac_cpp='$CXXCPP $CPPFLAGS'
106616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106620 cat >conftest.$ac_ext <<_ACEOF
106621 /* confdefs.h. */
106622 _ACEOF
106623 cat confdefs.h >>conftest.$ac_ext
106624 cat >>conftest.$ac_ext <<_ACEOF
106625 /* end confdefs.h. */
106626 #include <math.h>
106628 main ()
106630 __builtin_cos(0);
106632 return 0;
106634 _ACEOF
106635 rm -f conftest.$ac_objext
106636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106637 (eval $ac_compile) 2>conftest.er1
106638 ac_status=$?
106639 grep -v '^ *+' conftest.er1 >conftest.err
106640 rm -f conftest.er1
106641 cat conftest.err >&5
106642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106643 (exit $ac_status); } &&
106644 { ac_try='test -z "$ac_cxx_werror_flag"
106645 || test ! -s conftest.err'
106646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106647 (eval $ac_try) 2>&5
106648 ac_status=$?
106649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106650 (exit $ac_status); }; } &&
106651 { ac_try='test -s conftest.$ac_objext'
106652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106653 (eval $ac_try) 2>&5
106654 ac_status=$?
106655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106656 (exit $ac_status); }; }; then
106657 glibcxx_cv_func___builtin_cos_use=yes
106659 echo "$as_me: failed program was:" >&5
106660 sed 's/^/| /' conftest.$ac_ext >&5
106662 glibcxx_cv_func___builtin_cos_use=no
106664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106665 ac_ext=c
106666 ac_cpp='$CPP $CPPFLAGS'
106667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
106676 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
106677 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
106678 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
106679 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
106680 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
106681 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
106682 echo $ECHO_N "(cached) $ECHO_C" >&6
106685 if test x$gcc_no_link = xyes; then
106686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106688 { (exit 1); exit 1; }; }
106690 cat >conftest.$ac_ext <<_ACEOF
106691 /* confdefs.h. */
106692 _ACEOF
106693 cat confdefs.h >>conftest.$ac_ext
106694 cat >>conftest.$ac_ext <<_ACEOF
106695 /* end confdefs.h. */
106696 #include <math.h>
106698 main ()
106700 __builtin_cos(0);
106702 return 0;
106704 _ACEOF
106705 rm -f conftest.$ac_objext conftest$ac_exeext
106706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106707 (eval $ac_link) 2>conftest.er1
106708 ac_status=$?
106709 grep -v '^ *+' conftest.er1 >conftest.err
106710 rm -f conftest.er1
106711 cat conftest.err >&5
106712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106713 (exit $ac_status); } &&
106714 { ac_try='test -z "$ac_c_werror_flag"
106715 || test ! -s conftest.err'
106716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106717 (eval $ac_try) 2>&5
106718 ac_status=$?
106719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106720 (exit $ac_status); }; } &&
106721 { ac_try='test -s conftest$ac_exeext'
106722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106723 (eval $ac_try) 2>&5
106724 ac_status=$?
106725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106726 (exit $ac_status); }; }; then
106727 glibcxx_cv_func___builtin_cos_link=yes
106729 echo "$as_me: failed program was:" >&5
106730 sed 's/^/| /' conftest.$ac_ext >&5
106732 glibcxx_cv_func___builtin_cos_link=no
106734 rm -f conftest.err conftest.$ac_objext \
106735 conftest$ac_exeext conftest.$ac_ext
106740 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
106741 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
106743 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
106745 cat >>confdefs.h <<\_ACEOF
106746 #define HAVE___BUILTIN_COS 1
106747 _ACEOF
106754 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
106755 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
106756 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
106757 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
106758 echo $ECHO_N "(cached) $ECHO_C" >&6
106763 ac_ext=cc
106764 ac_cpp='$CXXCPP $CPPFLAGS'
106765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106769 cat >conftest.$ac_ext <<_ACEOF
106770 /* confdefs.h. */
106771 _ACEOF
106772 cat confdefs.h >>conftest.$ac_ext
106773 cat >>conftest.$ac_ext <<_ACEOF
106774 /* end confdefs.h. */
106775 #include <math.h>
106777 main ()
106779 __builtin_cosl(0);
106781 return 0;
106783 _ACEOF
106784 rm -f conftest.$ac_objext
106785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106786 (eval $ac_compile) 2>conftest.er1
106787 ac_status=$?
106788 grep -v '^ *+' conftest.er1 >conftest.err
106789 rm -f conftest.er1
106790 cat conftest.err >&5
106791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106792 (exit $ac_status); } &&
106793 { ac_try='test -z "$ac_cxx_werror_flag"
106794 || test ! -s conftest.err'
106795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106796 (eval $ac_try) 2>&5
106797 ac_status=$?
106798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106799 (exit $ac_status); }; } &&
106800 { ac_try='test -s conftest.$ac_objext'
106801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106802 (eval $ac_try) 2>&5
106803 ac_status=$?
106804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106805 (exit $ac_status); }; }; then
106806 glibcxx_cv_func___builtin_cosl_use=yes
106808 echo "$as_me: failed program was:" >&5
106809 sed 's/^/| /' conftest.$ac_ext >&5
106811 glibcxx_cv_func___builtin_cosl_use=no
106813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106814 ac_ext=c
106815 ac_cpp='$CPP $CPPFLAGS'
106816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106824 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
106825 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
106826 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
106827 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
106828 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
106829 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
106830 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
106831 echo $ECHO_N "(cached) $ECHO_C" >&6
106834 if test x$gcc_no_link = xyes; then
106835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106837 { (exit 1); exit 1; }; }
106839 cat >conftest.$ac_ext <<_ACEOF
106840 /* confdefs.h. */
106841 _ACEOF
106842 cat confdefs.h >>conftest.$ac_ext
106843 cat >>conftest.$ac_ext <<_ACEOF
106844 /* end confdefs.h. */
106845 #include <math.h>
106847 main ()
106849 __builtin_cosl(0);
106851 return 0;
106853 _ACEOF
106854 rm -f conftest.$ac_objext conftest$ac_exeext
106855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106856 (eval $ac_link) 2>conftest.er1
106857 ac_status=$?
106858 grep -v '^ *+' conftest.er1 >conftest.err
106859 rm -f conftest.er1
106860 cat conftest.err >&5
106861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106862 (exit $ac_status); } &&
106863 { ac_try='test -z "$ac_c_werror_flag"
106864 || test ! -s conftest.err'
106865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106866 (eval $ac_try) 2>&5
106867 ac_status=$?
106868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106869 (exit $ac_status); }; } &&
106870 { ac_try='test -s conftest$ac_exeext'
106871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106872 (eval $ac_try) 2>&5
106873 ac_status=$?
106874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106875 (exit $ac_status); }; }; then
106876 glibcxx_cv_func___builtin_cosl_link=yes
106878 echo "$as_me: failed program was:" >&5
106879 sed 's/^/| /' conftest.$ac_ext >&5
106881 glibcxx_cv_func___builtin_cosl_link=no
106883 rm -f conftest.err conftest.$ac_objext \
106884 conftest$ac_exeext conftest.$ac_ext
106889 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
106890 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
106892 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
106894 cat >>confdefs.h <<\_ACEOF
106895 #define HAVE___BUILTIN_COSL 1
106896 _ACEOF
106905 echo "$as_me:$LINENO: checking for main in -lm" >&5
106906 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106907 if test "${ac_cv_lib_m_main+set}" = set; then
106908 echo $ECHO_N "(cached) $ECHO_C" >&6
106910 ac_check_lib_save_LIBS=$LIBS
106911 LIBS="-lm $LIBS"
106912 if test x$gcc_no_link = xyes; then
106913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106915 { (exit 1); exit 1; }; }
106917 cat >conftest.$ac_ext <<_ACEOF
106918 /* confdefs.h. */
106919 _ACEOF
106920 cat confdefs.h >>conftest.$ac_ext
106921 cat >>conftest.$ac_ext <<_ACEOF
106922 /* end confdefs.h. */
106926 main ()
106928 main ();
106930 return 0;
106932 _ACEOF
106933 rm -f conftest.$ac_objext conftest$ac_exeext
106934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106935 (eval $ac_link) 2>conftest.er1
106936 ac_status=$?
106937 grep -v '^ *+' conftest.er1 >conftest.err
106938 rm -f conftest.er1
106939 cat conftest.err >&5
106940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106941 (exit $ac_status); } &&
106942 { ac_try='test -z "$ac_c_werror_flag"
106943 || test ! -s conftest.err'
106944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106945 (eval $ac_try) 2>&5
106946 ac_status=$?
106947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106948 (exit $ac_status); }; } &&
106949 { ac_try='test -s conftest$ac_exeext'
106950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106951 (eval $ac_try) 2>&5
106952 ac_status=$?
106953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106954 (exit $ac_status); }; }; then
106955 ac_cv_lib_m_main=yes
106957 echo "$as_me: failed program was:" >&5
106958 sed 's/^/| /' conftest.$ac_ext >&5
106960 ac_cv_lib_m_main=no
106962 rm -f conftest.err conftest.$ac_objext \
106963 conftest$ac_exeext conftest.$ac_ext
106964 LIBS=$ac_check_lib_save_LIBS
106966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
106967 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
106968 if test $ac_cv_lib_m_main = yes; then
106969 cat >>confdefs.h <<_ACEOF
106970 #define HAVE_LIBM 1
106971 _ACEOF
106973 LIBS="-lm $LIBS"
106978 for ac_func in copysignf
106980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106981 echo "$as_me:$LINENO: checking for $ac_func" >&5
106982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106983 if eval "test \"\${$as_ac_var+set}\" = set"; then
106984 echo $ECHO_N "(cached) $ECHO_C" >&6
106986 if test x$gcc_no_link = xyes; then
106987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106989 { (exit 1); exit 1; }; }
106991 cat >conftest.$ac_ext <<_ACEOF
106992 /* confdefs.h. */
106993 _ACEOF
106994 cat confdefs.h >>conftest.$ac_ext
106995 cat >>conftest.$ac_ext <<_ACEOF
106996 /* end confdefs.h. */
106997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106999 #define $ac_func innocuous_$ac_func
107001 /* System header to define __stub macros and hopefully few prototypes,
107002 which can conflict with char $ac_func (); below.
107003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107004 <limits.h> exists even on freestanding compilers. */
107006 #ifdef __STDC__
107007 # include <limits.h>
107008 #else
107009 # include <assert.h>
107010 #endif
107012 #undef $ac_func
107014 /* Override any gcc2 internal prototype to avoid an error. */
107015 #ifdef __cplusplus
107016 extern "C"
107018 #endif
107019 /* We use char because int might match the return type of a gcc2
107020 builtin and then its argument prototype would still apply. */
107021 char $ac_func ();
107022 /* The GNU C library defines this for functions which it implements
107023 to always fail with ENOSYS. Some functions are actually named
107024 something starting with __ and the normal name is an alias. */
107025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107026 choke me
107027 #else
107028 char (*f) () = $ac_func;
107029 #endif
107030 #ifdef __cplusplus
107032 #endif
107035 main ()
107037 return f != $ac_func;
107039 return 0;
107041 _ACEOF
107042 rm -f conftest.$ac_objext conftest$ac_exeext
107043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107044 (eval $ac_link) 2>conftest.er1
107045 ac_status=$?
107046 grep -v '^ *+' conftest.er1 >conftest.err
107047 rm -f conftest.er1
107048 cat conftest.err >&5
107049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107050 (exit $ac_status); } &&
107051 { ac_try='test -z "$ac_c_werror_flag"
107052 || test ! -s conftest.err'
107053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107054 (eval $ac_try) 2>&5
107055 ac_status=$?
107056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107057 (exit $ac_status); }; } &&
107058 { ac_try='test -s conftest$ac_exeext'
107059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107060 (eval $ac_try) 2>&5
107061 ac_status=$?
107062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107063 (exit $ac_status); }; }; then
107064 eval "$as_ac_var=yes"
107066 echo "$as_me: failed program was:" >&5
107067 sed 's/^/| /' conftest.$ac_ext >&5
107069 eval "$as_ac_var=no"
107071 rm -f conftest.err conftest.$ac_objext \
107072 conftest$ac_exeext conftest.$ac_ext
107074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107076 if test `eval echo '${'$as_ac_var'}'` = yes; then
107077 cat >>confdefs.h <<_ACEOF
107078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107079 _ACEOF
107082 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107088 for ac_func in __signbit
107090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107091 echo "$as_me:$LINENO: checking for $ac_func" >&5
107092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107093 if eval "test \"\${$as_ac_var+set}\" = set"; then
107094 echo $ECHO_N "(cached) $ECHO_C" >&6
107096 if test x$gcc_no_link = xyes; then
107097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107099 { (exit 1); exit 1; }; }
107101 cat >conftest.$ac_ext <<_ACEOF
107102 /* confdefs.h. */
107103 _ACEOF
107104 cat confdefs.h >>conftest.$ac_ext
107105 cat >>conftest.$ac_ext <<_ACEOF
107106 /* end confdefs.h. */
107107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107109 #define $ac_func innocuous_$ac_func
107111 /* System header to define __stub macros and hopefully few prototypes,
107112 which can conflict with char $ac_func (); below.
107113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107114 <limits.h> exists even on freestanding compilers. */
107116 #ifdef __STDC__
107117 # include <limits.h>
107118 #else
107119 # include <assert.h>
107120 #endif
107122 #undef $ac_func
107124 /* Override any gcc2 internal prototype to avoid an error. */
107125 #ifdef __cplusplus
107126 extern "C"
107128 #endif
107129 /* We use char because int might match the return type of a gcc2
107130 builtin and then its argument prototype would still apply. */
107131 char $ac_func ();
107132 /* The GNU C library defines this for functions which it implements
107133 to always fail with ENOSYS. Some functions are actually named
107134 something starting with __ and the normal name is an alias. */
107135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107136 choke me
107137 #else
107138 char (*f) () = $ac_func;
107139 #endif
107140 #ifdef __cplusplus
107142 #endif
107145 main ()
107147 return f != $ac_func;
107149 return 0;
107151 _ACEOF
107152 rm -f conftest.$ac_objext conftest$ac_exeext
107153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107154 (eval $ac_link) 2>conftest.er1
107155 ac_status=$?
107156 grep -v '^ *+' conftest.er1 >conftest.err
107157 rm -f conftest.er1
107158 cat conftest.err >&5
107159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107160 (exit $ac_status); } &&
107161 { ac_try='test -z "$ac_c_werror_flag"
107162 || test ! -s conftest.err'
107163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107164 (eval $ac_try) 2>&5
107165 ac_status=$?
107166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107167 (exit $ac_status); }; } &&
107168 { ac_try='test -s conftest$ac_exeext'
107169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107170 (eval $ac_try) 2>&5
107171 ac_status=$?
107172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107173 (exit $ac_status); }; }; then
107174 eval "$as_ac_var=yes"
107176 echo "$as_me: failed program was:" >&5
107177 sed 's/^/| /' conftest.$ac_ext >&5
107179 eval "$as_ac_var=no"
107181 rm -f conftest.err conftest.$ac_objext \
107182 conftest$ac_exeext conftest.$ac_ext
107184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107186 if test `eval echo '${'$as_ac_var'}'` = yes; then
107187 cat >>confdefs.h <<_ACEOF
107188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107189 _ACEOF
107192 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107198 for ac_func in __signbitf
107200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107201 echo "$as_me:$LINENO: checking for $ac_func" >&5
107202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107203 if eval "test \"\${$as_ac_var+set}\" = set"; then
107204 echo $ECHO_N "(cached) $ECHO_C" >&6
107206 if test x$gcc_no_link = xyes; then
107207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107209 { (exit 1); exit 1; }; }
107211 cat >conftest.$ac_ext <<_ACEOF
107212 /* confdefs.h. */
107213 _ACEOF
107214 cat confdefs.h >>conftest.$ac_ext
107215 cat >>conftest.$ac_ext <<_ACEOF
107216 /* end confdefs.h. */
107217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107219 #define $ac_func innocuous_$ac_func
107221 /* System header to define __stub macros and hopefully few prototypes,
107222 which can conflict with char $ac_func (); below.
107223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107224 <limits.h> exists even on freestanding compilers. */
107226 #ifdef __STDC__
107227 # include <limits.h>
107228 #else
107229 # include <assert.h>
107230 #endif
107232 #undef $ac_func
107234 /* Override any gcc2 internal prototype to avoid an error. */
107235 #ifdef __cplusplus
107236 extern "C"
107238 #endif
107239 /* We use char because int might match the return type of a gcc2
107240 builtin and then its argument prototype would still apply. */
107241 char $ac_func ();
107242 /* The GNU C library defines this for functions which it implements
107243 to always fail with ENOSYS. Some functions are actually named
107244 something starting with __ and the normal name is an alias. */
107245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107246 choke me
107247 #else
107248 char (*f) () = $ac_func;
107249 #endif
107250 #ifdef __cplusplus
107252 #endif
107255 main ()
107257 return f != $ac_func;
107259 return 0;
107261 _ACEOF
107262 rm -f conftest.$ac_objext conftest$ac_exeext
107263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107264 (eval $ac_link) 2>conftest.er1
107265 ac_status=$?
107266 grep -v '^ *+' conftest.er1 >conftest.err
107267 rm -f conftest.er1
107268 cat conftest.err >&5
107269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107270 (exit $ac_status); } &&
107271 { ac_try='test -z "$ac_c_werror_flag"
107272 || test ! -s conftest.err'
107273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107274 (eval $ac_try) 2>&5
107275 ac_status=$?
107276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107277 (exit $ac_status); }; } &&
107278 { ac_try='test -s conftest$ac_exeext'
107279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107280 (eval $ac_try) 2>&5
107281 ac_status=$?
107282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107283 (exit $ac_status); }; }; then
107284 eval "$as_ac_var=yes"
107286 echo "$as_me: failed program was:" >&5
107287 sed 's/^/| /' conftest.$ac_ext >&5
107289 eval "$as_ac_var=no"
107291 rm -f conftest.err conftest.$ac_objext \
107292 conftest$ac_exeext conftest.$ac_ext
107294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107296 if test `eval echo '${'$as_ac_var'}'` = yes; then
107297 cat >>confdefs.h <<_ACEOF
107298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107299 _ACEOF
107302 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107307 if test x$ac_cv_func_copysignl = x"yes"; then
107309 for ac_func in __signbitl
107311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107312 echo "$as_me:$LINENO: checking for $ac_func" >&5
107313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107314 if eval "test \"\${$as_ac_var+set}\" = set"; then
107315 echo $ECHO_N "(cached) $ECHO_C" >&6
107317 if test x$gcc_no_link = xyes; then
107318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107320 { (exit 1); exit 1; }; }
107322 cat >conftest.$ac_ext <<_ACEOF
107323 /* confdefs.h. */
107324 _ACEOF
107325 cat confdefs.h >>conftest.$ac_ext
107326 cat >>conftest.$ac_ext <<_ACEOF
107327 /* end confdefs.h. */
107328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107330 #define $ac_func innocuous_$ac_func
107332 /* System header to define __stub macros and hopefully few prototypes,
107333 which can conflict with char $ac_func (); below.
107334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107335 <limits.h> exists even on freestanding compilers. */
107337 #ifdef __STDC__
107338 # include <limits.h>
107339 #else
107340 # include <assert.h>
107341 #endif
107343 #undef $ac_func
107345 /* Override any gcc2 internal prototype to avoid an error. */
107346 #ifdef __cplusplus
107347 extern "C"
107349 #endif
107350 /* We use char because int might match the return type of a gcc2
107351 builtin and then its argument prototype would still apply. */
107352 char $ac_func ();
107353 /* The GNU C library defines this for functions which it implements
107354 to always fail with ENOSYS. Some functions are actually named
107355 something starting with __ and the normal name is an alias. */
107356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107357 choke me
107358 #else
107359 char (*f) () = $ac_func;
107360 #endif
107361 #ifdef __cplusplus
107363 #endif
107366 main ()
107368 return f != $ac_func;
107370 return 0;
107372 _ACEOF
107373 rm -f conftest.$ac_objext conftest$ac_exeext
107374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107375 (eval $ac_link) 2>conftest.er1
107376 ac_status=$?
107377 grep -v '^ *+' conftest.er1 >conftest.err
107378 rm -f conftest.er1
107379 cat conftest.err >&5
107380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107381 (exit $ac_status); } &&
107382 { ac_try='test -z "$ac_c_werror_flag"
107383 || test ! -s conftest.err'
107384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107385 (eval $ac_try) 2>&5
107386 ac_status=$?
107387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107388 (exit $ac_status); }; } &&
107389 { ac_try='test -s conftest$ac_exeext'
107390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107391 (eval $ac_try) 2>&5
107392 ac_status=$?
107393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107394 (exit $ac_status); }; }; then
107395 eval "$as_ac_var=yes"
107397 echo "$as_me: failed program was:" >&5
107398 sed 's/^/| /' conftest.$ac_ext >&5
107400 eval "$as_ac_var=no"
107402 rm -f conftest.err conftest.$ac_objext \
107403 conftest$ac_exeext conftest.$ac_ext
107405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107407 if test `eval echo '${'$as_ac_var'}'` = yes; then
107408 cat >>confdefs.h <<_ACEOF
107409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107410 _ACEOF
107413 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107419 # Used in libmath/Makefile.am.
107420 if test -n "$LIBMATHOBJS"; then
107421 need_libmath=yes
107426 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107427 ac_save_CXXFLAGS="$CXXFLAGS"
107428 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107431 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107432 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107433 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107434 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107435 echo $ECHO_N "(cached) $ECHO_C" >&6
107440 ac_ext=cc
107441 ac_cpp='$CXXCPP $CPPFLAGS'
107442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107446 cat >conftest.$ac_ext <<_ACEOF
107447 /* confdefs.h. */
107448 _ACEOF
107449 cat confdefs.h >>conftest.$ac_ext
107450 cat >>conftest.$ac_ext <<_ACEOF
107451 /* end confdefs.h. */
107452 #include <stdlib.h>
107454 main ()
107456 strtold(0, 0);
107458 return 0;
107460 _ACEOF
107461 rm -f conftest.$ac_objext
107462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107463 (eval $ac_compile) 2>conftest.er1
107464 ac_status=$?
107465 grep -v '^ *+' conftest.er1 >conftest.err
107466 rm -f conftest.er1
107467 cat conftest.err >&5
107468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107469 (exit $ac_status); } &&
107470 { ac_try='test -z "$ac_cxx_werror_flag"
107471 || test ! -s conftest.err'
107472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107473 (eval $ac_try) 2>&5
107474 ac_status=$?
107475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107476 (exit $ac_status); }; } &&
107477 { ac_try='test -s conftest.$ac_objext'
107478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107479 (eval $ac_try) 2>&5
107480 ac_status=$?
107481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107482 (exit $ac_status); }; }; then
107483 glibcxx_cv_func_strtold_use=yes
107485 echo "$as_me: failed program was:" >&5
107486 sed 's/^/| /' conftest.$ac_ext >&5
107488 glibcxx_cv_func_strtold_use=no
107490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107491 ac_ext=c
107492 ac_cpp='$CPP $CPPFLAGS'
107493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107502 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107503 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107505 for ac_func in strtold
107507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107508 echo "$as_me:$LINENO: checking for $ac_func" >&5
107509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107510 if eval "test \"\${$as_ac_var+set}\" = set"; then
107511 echo $ECHO_N "(cached) $ECHO_C" >&6
107513 if test x$gcc_no_link = xyes; then
107514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107516 { (exit 1); exit 1; }; }
107518 cat >conftest.$ac_ext <<_ACEOF
107519 /* confdefs.h. */
107520 _ACEOF
107521 cat confdefs.h >>conftest.$ac_ext
107522 cat >>conftest.$ac_ext <<_ACEOF
107523 /* end confdefs.h. */
107524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107526 #define $ac_func innocuous_$ac_func
107528 /* System header to define __stub macros and hopefully few prototypes,
107529 which can conflict with char $ac_func (); below.
107530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107531 <limits.h> exists even on freestanding compilers. */
107533 #ifdef __STDC__
107534 # include <limits.h>
107535 #else
107536 # include <assert.h>
107537 #endif
107539 #undef $ac_func
107541 /* Override any gcc2 internal prototype to avoid an error. */
107542 #ifdef __cplusplus
107543 extern "C"
107545 #endif
107546 /* We use char because int might match the return type of a gcc2
107547 builtin and then its argument prototype would still apply. */
107548 char $ac_func ();
107549 /* The GNU C library defines this for functions which it implements
107550 to always fail with ENOSYS. Some functions are actually named
107551 something starting with __ and the normal name is an alias. */
107552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107553 choke me
107554 #else
107555 char (*f) () = $ac_func;
107556 #endif
107557 #ifdef __cplusplus
107559 #endif
107562 main ()
107564 return f != $ac_func;
107566 return 0;
107568 _ACEOF
107569 rm -f conftest.$ac_objext conftest$ac_exeext
107570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107571 (eval $ac_link) 2>conftest.er1
107572 ac_status=$?
107573 grep -v '^ *+' conftest.er1 >conftest.err
107574 rm -f conftest.er1
107575 cat conftest.err >&5
107576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107577 (exit $ac_status); } &&
107578 { ac_try='test -z "$ac_c_werror_flag"
107579 || test ! -s conftest.err'
107580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107581 (eval $ac_try) 2>&5
107582 ac_status=$?
107583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107584 (exit $ac_status); }; } &&
107585 { ac_try='test -s conftest$ac_exeext'
107586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107587 (eval $ac_try) 2>&5
107588 ac_status=$?
107589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107590 (exit $ac_status); }; }; then
107591 eval "$as_ac_var=yes"
107593 echo "$as_me: failed program was:" >&5
107594 sed 's/^/| /' conftest.$ac_ext >&5
107596 eval "$as_ac_var=no"
107598 rm -f conftest.err conftest.$ac_objext \
107599 conftest$ac_exeext conftest.$ac_ext
107601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107603 if test `eval echo '${'$as_ac_var'}'` = yes; then
107604 cat >>confdefs.h <<_ACEOF
107605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107606 _ACEOF
107617 echo "$as_me:$LINENO: checking for strtof declaration" >&5
107618 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107619 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107620 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107621 echo $ECHO_N "(cached) $ECHO_C" >&6
107626 ac_ext=cc
107627 ac_cpp='$CXXCPP $CPPFLAGS'
107628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107632 cat >conftest.$ac_ext <<_ACEOF
107633 /* confdefs.h. */
107634 _ACEOF
107635 cat confdefs.h >>conftest.$ac_ext
107636 cat >>conftest.$ac_ext <<_ACEOF
107637 /* end confdefs.h. */
107638 #include <stdlib.h>
107640 main ()
107642 strtof(0, 0);
107644 return 0;
107646 _ACEOF
107647 rm -f conftest.$ac_objext
107648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107649 (eval $ac_compile) 2>conftest.er1
107650 ac_status=$?
107651 grep -v '^ *+' conftest.er1 >conftest.err
107652 rm -f conftest.er1
107653 cat conftest.err >&5
107654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107655 (exit $ac_status); } &&
107656 { ac_try='test -z "$ac_cxx_werror_flag"
107657 || test ! -s conftest.err'
107658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107659 (eval $ac_try) 2>&5
107660 ac_status=$?
107661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107662 (exit $ac_status); }; } &&
107663 { ac_try='test -s conftest.$ac_objext'
107664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107665 (eval $ac_try) 2>&5
107666 ac_status=$?
107667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107668 (exit $ac_status); }; }; then
107669 glibcxx_cv_func_strtof_use=yes
107671 echo "$as_me: failed program was:" >&5
107672 sed 's/^/| /' conftest.$ac_ext >&5
107674 glibcxx_cv_func_strtof_use=no
107676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107677 ac_ext=c
107678 ac_cpp='$CPP $CPPFLAGS'
107679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107688 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107689 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107691 for ac_func in strtof
107693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107694 echo "$as_me:$LINENO: checking for $ac_func" >&5
107695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107696 if eval "test \"\${$as_ac_var+set}\" = set"; then
107697 echo $ECHO_N "(cached) $ECHO_C" >&6
107699 if test x$gcc_no_link = xyes; then
107700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107702 { (exit 1); exit 1; }; }
107704 cat >conftest.$ac_ext <<_ACEOF
107705 /* confdefs.h. */
107706 _ACEOF
107707 cat confdefs.h >>conftest.$ac_ext
107708 cat >>conftest.$ac_ext <<_ACEOF
107709 /* end confdefs.h. */
107710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107712 #define $ac_func innocuous_$ac_func
107714 /* System header to define __stub macros and hopefully few prototypes,
107715 which can conflict with char $ac_func (); below.
107716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107717 <limits.h> exists even on freestanding compilers. */
107719 #ifdef __STDC__
107720 # include <limits.h>
107721 #else
107722 # include <assert.h>
107723 #endif
107725 #undef $ac_func
107727 /* Override any gcc2 internal prototype to avoid an error. */
107728 #ifdef __cplusplus
107729 extern "C"
107731 #endif
107732 /* We use char because int might match the return type of a gcc2
107733 builtin and then its argument prototype would still apply. */
107734 char $ac_func ();
107735 /* The GNU C library defines this for functions which it implements
107736 to always fail with ENOSYS. Some functions are actually named
107737 something starting with __ and the normal name is an alias. */
107738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107739 choke me
107740 #else
107741 char (*f) () = $ac_func;
107742 #endif
107743 #ifdef __cplusplus
107745 #endif
107748 main ()
107750 return f != $ac_func;
107752 return 0;
107754 _ACEOF
107755 rm -f conftest.$ac_objext conftest$ac_exeext
107756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107757 (eval $ac_link) 2>conftest.er1
107758 ac_status=$?
107759 grep -v '^ *+' conftest.er1 >conftest.err
107760 rm -f conftest.er1
107761 cat conftest.err >&5
107762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107763 (exit $ac_status); } &&
107764 { ac_try='test -z "$ac_c_werror_flag"
107765 || test ! -s conftest.err'
107766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107767 (eval $ac_try) 2>&5
107768 ac_status=$?
107769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107770 (exit $ac_status); }; } &&
107771 { ac_try='test -s conftest$ac_exeext'
107772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107773 (eval $ac_try) 2>&5
107774 ac_status=$?
107775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107776 (exit $ac_status); }; }; then
107777 eval "$as_ac_var=yes"
107779 echo "$as_me: failed program was:" >&5
107780 sed 's/^/| /' conftest.$ac_ext >&5
107782 eval "$as_ac_var=no"
107784 rm -f conftest.err conftest.$ac_objext \
107785 conftest$ac_exeext conftest.$ac_ext
107787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107789 if test `eval echo '${'$as_ac_var'}'` = yes; then
107790 cat >>confdefs.h <<_ACEOF
107791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107792 _ACEOF
107803 CXXFLAGS="$ac_save_CXXFLAGS"
107806 # For LFS.
107807 cat >>confdefs.h <<\_ACEOF
107808 #define HAVE_INT64_T 1
107809 _ACEOF
107814 ac_ext=cc
107815 ac_cpp='$CXXCPP $CPPFLAGS'
107816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107820 ac_save_CXXFLAGS="$CXXFLAGS"
107821 CXXFLAGS="$CXXFLAGS -fno-exceptions"
107822 echo "$as_me:$LINENO: checking for LFS support" >&5
107823 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
107824 if test "${glibcxx_cv_LFS+set}" = set; then
107825 echo $ECHO_N "(cached) $ECHO_C" >&6
107828 if test x$gcc_no_link = xyes; then
107829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107831 { (exit 1); exit 1; }; }
107833 cat >conftest.$ac_ext <<_ACEOF
107834 /* confdefs.h. */
107835 _ACEOF
107836 cat confdefs.h >>conftest.$ac_ext
107837 cat >>conftest.$ac_ext <<_ACEOF
107838 /* end confdefs.h. */
107839 #include <unistd.h>
107840 #include <stdio.h>
107841 #include <sys/stat.h>
107844 main ()
107846 FILE* fp;
107847 fopen64("t", "w");
107848 fseeko64(fp, 0, SEEK_CUR);
107849 ftello64(fp);
107850 lseek64(1, 0, SEEK_CUR);
107851 struct stat64 buf;
107852 fstat64(1, &buf);
107854 return 0;
107856 _ACEOF
107857 rm -f conftest.$ac_objext conftest$ac_exeext
107858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107859 (eval $ac_link) 2>conftest.er1
107860 ac_status=$?
107861 grep -v '^ *+' conftest.er1 >conftest.err
107862 rm -f conftest.er1
107863 cat conftest.err >&5
107864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107865 (exit $ac_status); } &&
107866 { ac_try='test -z "$ac_cxx_werror_flag"
107867 || test ! -s conftest.err'
107868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107869 (eval $ac_try) 2>&5
107870 ac_status=$?
107871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107872 (exit $ac_status); }; } &&
107873 { ac_try='test -s conftest$ac_exeext'
107874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107875 (eval $ac_try) 2>&5
107876 ac_status=$?
107877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107878 (exit $ac_status); }; }; then
107879 glibcxx_cv_LFS=yes
107881 echo "$as_me: failed program was:" >&5
107882 sed 's/^/| /' conftest.$ac_ext >&5
107884 glibcxx_cv_LFS=no
107886 rm -f conftest.err conftest.$ac_objext \
107887 conftest$ac_exeext conftest.$ac_ext
107891 if test $glibcxx_cv_LFS = yes; then
107893 cat >>confdefs.h <<\_ACEOF
107894 #define _GLIBCXX_USE_LFS 1
107895 _ACEOF
107898 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
107899 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
107900 CXXFLAGS="$ac_save_CXXFLAGS"
107901 ac_ext=c
107902 ac_cpp='$CPP $CPPFLAGS'
107903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107909 # For showmanyc_helper().
107912 for ac_header in sys/ioctl.h sys/filio.h
107914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107916 echo "$as_me:$LINENO: checking for $ac_header" >&5
107917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107919 echo $ECHO_N "(cached) $ECHO_C" >&6
107921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107924 # Is the header compilable?
107925 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107927 cat >conftest.$ac_ext <<_ACEOF
107928 /* confdefs.h. */
107929 _ACEOF
107930 cat confdefs.h >>conftest.$ac_ext
107931 cat >>conftest.$ac_ext <<_ACEOF
107932 /* end confdefs.h. */
107933 $ac_includes_default
107934 #include <$ac_header>
107935 _ACEOF
107936 rm -f conftest.$ac_objext
107937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107938 (eval $ac_compile) 2>conftest.er1
107939 ac_status=$?
107940 grep -v '^ *+' conftest.er1 >conftest.err
107941 rm -f conftest.er1
107942 cat conftest.err >&5
107943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107944 (exit $ac_status); } &&
107945 { ac_try='test -z "$ac_c_werror_flag"
107946 || test ! -s conftest.err'
107947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107948 (eval $ac_try) 2>&5
107949 ac_status=$?
107950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107951 (exit $ac_status); }; } &&
107952 { ac_try='test -s conftest.$ac_objext'
107953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107954 (eval $ac_try) 2>&5
107955 ac_status=$?
107956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107957 (exit $ac_status); }; }; then
107958 ac_header_compiler=yes
107960 echo "$as_me: failed program was:" >&5
107961 sed 's/^/| /' conftest.$ac_ext >&5
107963 ac_header_compiler=no
107965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107967 echo "${ECHO_T}$ac_header_compiler" >&6
107969 # Is the header present?
107970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107972 cat >conftest.$ac_ext <<_ACEOF
107973 /* confdefs.h. */
107974 _ACEOF
107975 cat confdefs.h >>conftest.$ac_ext
107976 cat >>conftest.$ac_ext <<_ACEOF
107977 /* end confdefs.h. */
107978 #include <$ac_header>
107979 _ACEOF
107980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107982 ac_status=$?
107983 grep -v '^ *+' conftest.er1 >conftest.err
107984 rm -f conftest.er1
107985 cat conftest.err >&5
107986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107987 (exit $ac_status); } >/dev/null; then
107988 if test -s conftest.err; then
107989 ac_cpp_err=$ac_c_preproc_warn_flag
107990 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107992 ac_cpp_err=
107995 ac_cpp_err=yes
107997 if test -z "$ac_cpp_err"; then
107998 ac_header_preproc=yes
108000 echo "$as_me: failed program was:" >&5
108001 sed 's/^/| /' conftest.$ac_ext >&5
108003 ac_header_preproc=no
108005 rm -f conftest.err conftest.$ac_ext
108006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108007 echo "${ECHO_T}$ac_header_preproc" >&6
108009 # So? What about this header?
108010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108011 yes:no: )
108012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108016 ac_header_preproc=yes
108018 no:yes:* )
108019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108032 cat <<\_ASBOX
108033 ## ----------------------------------------- ##
108034 ## Report this to the package-unused lists. ##
108035 ## ----------------------------------------- ##
108036 _ASBOX
108038 sed "s/^/$as_me: WARNING: /" >&2
108041 echo "$as_me:$LINENO: checking for $ac_header" >&5
108042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108044 echo $ECHO_N "(cached) $ECHO_C" >&6
108046 eval "$as_ac_Header=\$ac_header_preproc"
108048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108053 cat >>confdefs.h <<_ACEOF
108054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108055 _ACEOF
108062 echo "$as_me:$LINENO: checking for poll" >&5
108063 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108064 if test "${glibcxx_cv_POLL+set}" = set; then
108065 echo $ECHO_N "(cached) $ECHO_C" >&6
108068 if test x$gcc_no_link = xyes; then
108069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108071 { (exit 1); exit 1; }; }
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 <poll.h>
108081 main ()
108083 struct pollfd pfd[1];
108084 pfd[0].events = POLLIN;
108085 poll(pfd, 1, 0);
108087 return 0;
108089 _ACEOF
108090 rm -f conftest.$ac_objext conftest$ac_exeext
108091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108092 (eval $ac_link) 2>conftest.er1
108093 ac_status=$?
108094 grep -v '^ *+' conftest.er1 >conftest.err
108095 rm -f conftest.er1
108096 cat conftest.err >&5
108097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108098 (exit $ac_status); } &&
108099 { ac_try='test -z "$ac_c_werror_flag"
108100 || test ! -s conftest.err'
108101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108102 (eval $ac_try) 2>&5
108103 ac_status=$?
108104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108105 (exit $ac_status); }; } &&
108106 { ac_try='test -s conftest$ac_exeext'
108107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108108 (eval $ac_try) 2>&5
108109 ac_status=$?
108110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108111 (exit $ac_status); }; }; then
108112 glibcxx_cv_POLL=yes
108114 echo "$as_me: failed program was:" >&5
108115 sed 's/^/| /' conftest.$ac_ext >&5
108117 glibcxx_cv_POLL=no
108119 rm -f conftest.err conftest.$ac_objext \
108120 conftest$ac_exeext conftest.$ac_ext
108124 if test $glibcxx_cv_POLL = yes; then
108126 cat >>confdefs.h <<\_ACEOF
108127 #define HAVE_POLL 1
108128 _ACEOF
108131 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108132 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108135 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108136 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108137 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108138 echo $ECHO_N "(cached) $ECHO_C" >&6
108141 if test x$gcc_no_link = xyes; then
108142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108144 { (exit 1); exit 1; }; }
108146 cat >conftest.$ac_ext <<_ACEOF
108147 /* confdefs.h. */
108148 _ACEOF
108149 cat confdefs.h >>conftest.$ac_ext
108150 cat >>conftest.$ac_ext <<_ACEOF
108151 /* end confdefs.h. */
108152 #include <sys/stat.h>
108154 main ()
108156 struct stat buffer;
108157 fstat(0, &buffer);
108158 S_ISREG(buffer.st_mode);
108160 return 0;
108162 _ACEOF
108163 rm -f conftest.$ac_objext conftest$ac_exeext
108164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108165 (eval $ac_link) 2>conftest.er1
108166 ac_status=$?
108167 grep -v '^ *+' conftest.er1 >conftest.err
108168 rm -f conftest.er1
108169 cat conftest.err >&5
108170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108171 (exit $ac_status); } &&
108172 { ac_try='test -z "$ac_c_werror_flag"
108173 || test ! -s conftest.err'
108174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108175 (eval $ac_try) 2>&5
108176 ac_status=$?
108177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108178 (exit $ac_status); }; } &&
108179 { ac_try='test -s conftest$ac_exeext'
108180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108181 (eval $ac_try) 2>&5
108182 ac_status=$?
108183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108184 (exit $ac_status); }; }; then
108185 glibcxx_cv_S_ISREG=yes
108187 echo "$as_me: failed program was:" >&5
108188 sed 's/^/| /' conftest.$ac_ext >&5
108190 glibcxx_cv_S_ISREG=no
108192 rm -f conftest.err conftest.$ac_objext \
108193 conftest$ac_exeext conftest.$ac_ext
108197 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108198 echo $ECHO_N "(cached) $ECHO_C" >&6
108201 if test x$gcc_no_link = xyes; then
108202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108204 { (exit 1); exit 1; }; }
108206 cat >conftest.$ac_ext <<_ACEOF
108207 /* confdefs.h. */
108208 _ACEOF
108209 cat confdefs.h >>conftest.$ac_ext
108210 cat >>conftest.$ac_ext <<_ACEOF
108211 /* end confdefs.h. */
108212 #include <sys/stat.h>
108214 main ()
108216 struct stat buffer;
108217 fstat(0, &buffer);
108218 S_IFREG & buffer.st_mode;
108220 return 0;
108222 _ACEOF
108223 rm -f conftest.$ac_objext conftest$ac_exeext
108224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108225 (eval $ac_link) 2>conftest.er1
108226 ac_status=$?
108227 grep -v '^ *+' conftest.er1 >conftest.err
108228 rm -f conftest.er1
108229 cat conftest.err >&5
108230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108231 (exit $ac_status); } &&
108232 { ac_try='test -z "$ac_c_werror_flag"
108233 || test ! -s conftest.err'
108234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108235 (eval $ac_try) 2>&5
108236 ac_status=$?
108237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108238 (exit $ac_status); }; } &&
108239 { ac_try='test -s conftest$ac_exeext'
108240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108241 (eval $ac_try) 2>&5
108242 ac_status=$?
108243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108244 (exit $ac_status); }; }; then
108245 glibcxx_cv_S_IFREG=yes
108247 echo "$as_me: failed program was:" >&5
108248 sed 's/^/| /' conftest.$ac_ext >&5
108250 glibcxx_cv_S_IFREG=no
108252 rm -f conftest.err conftest.$ac_objext \
108253 conftest$ac_exeext conftest.$ac_ext
108257 res=no
108258 if test $glibcxx_cv_S_ISREG = yes; then
108260 cat >>confdefs.h <<\_ACEOF
108261 #define HAVE_S_ISREG 1
108262 _ACEOF
108264 res=S_ISREG
108265 elif test $glibcxx_cv_S_IFREG = yes; then
108267 cat >>confdefs.h <<\_ACEOF
108268 #define HAVE_S_IFREG 1
108269 _ACEOF
108271 res=S_IFREG
108273 echo "$as_me:$LINENO: result: $res" >&5
108274 echo "${ECHO_T}$res" >&6
108277 # For xsputn_2().
108279 for ac_header in sys/uio.h
108281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108283 echo "$as_me:$LINENO: checking for $ac_header" >&5
108284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108286 echo $ECHO_N "(cached) $ECHO_C" >&6
108288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108291 # Is the header compilable?
108292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108294 cat >conftest.$ac_ext <<_ACEOF
108295 /* confdefs.h. */
108296 _ACEOF
108297 cat confdefs.h >>conftest.$ac_ext
108298 cat >>conftest.$ac_ext <<_ACEOF
108299 /* end confdefs.h. */
108300 $ac_includes_default
108301 #include <$ac_header>
108302 _ACEOF
108303 rm -f conftest.$ac_objext
108304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108305 (eval $ac_compile) 2>conftest.er1
108306 ac_status=$?
108307 grep -v '^ *+' conftest.er1 >conftest.err
108308 rm -f conftest.er1
108309 cat conftest.err >&5
108310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108311 (exit $ac_status); } &&
108312 { ac_try='test -z "$ac_c_werror_flag"
108313 || test ! -s conftest.err'
108314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108315 (eval $ac_try) 2>&5
108316 ac_status=$?
108317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108318 (exit $ac_status); }; } &&
108319 { ac_try='test -s conftest.$ac_objext'
108320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108321 (eval $ac_try) 2>&5
108322 ac_status=$?
108323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108324 (exit $ac_status); }; }; then
108325 ac_header_compiler=yes
108327 echo "$as_me: failed program was:" >&5
108328 sed 's/^/| /' conftest.$ac_ext >&5
108330 ac_header_compiler=no
108332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108334 echo "${ECHO_T}$ac_header_compiler" >&6
108336 # Is the header present?
108337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108339 cat >conftest.$ac_ext <<_ACEOF
108340 /* confdefs.h. */
108341 _ACEOF
108342 cat confdefs.h >>conftest.$ac_ext
108343 cat >>conftest.$ac_ext <<_ACEOF
108344 /* end confdefs.h. */
108345 #include <$ac_header>
108346 _ACEOF
108347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108349 ac_status=$?
108350 grep -v '^ *+' conftest.er1 >conftest.err
108351 rm -f conftest.er1
108352 cat conftest.err >&5
108353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108354 (exit $ac_status); } >/dev/null; then
108355 if test -s conftest.err; then
108356 ac_cpp_err=$ac_c_preproc_warn_flag
108357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108359 ac_cpp_err=
108362 ac_cpp_err=yes
108364 if test -z "$ac_cpp_err"; then
108365 ac_header_preproc=yes
108367 echo "$as_me: failed program was:" >&5
108368 sed 's/^/| /' conftest.$ac_ext >&5
108370 ac_header_preproc=no
108372 rm -f conftest.err conftest.$ac_ext
108373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108374 echo "${ECHO_T}$ac_header_preproc" >&6
108376 # So? What about this header?
108377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108378 yes:no: )
108379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108383 ac_header_preproc=yes
108385 no:yes:* )
108386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108399 cat <<\_ASBOX
108400 ## ----------------------------------------- ##
108401 ## Report this to the package-unused lists. ##
108402 ## ----------------------------------------- ##
108403 _ASBOX
108405 sed "s/^/$as_me: WARNING: /" >&2
108408 echo "$as_me:$LINENO: checking for $ac_header" >&5
108409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108411 echo $ECHO_N "(cached) $ECHO_C" >&6
108413 eval "$as_ac_Header=\$ac_header_preproc"
108415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108420 cat >>confdefs.h <<_ACEOF
108421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108422 _ACEOF
108429 echo "$as_me:$LINENO: checking for writev" >&5
108430 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108431 if test "${glibcxx_cv_WRITEV+set}" = set; then
108432 echo $ECHO_N "(cached) $ECHO_C" >&6
108435 if test x$gcc_no_link = xyes; then
108436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108438 { (exit 1); exit 1; }; }
108440 cat >conftest.$ac_ext <<_ACEOF
108441 /* confdefs.h. */
108442 _ACEOF
108443 cat confdefs.h >>conftest.$ac_ext
108444 cat >>conftest.$ac_ext <<_ACEOF
108445 /* end confdefs.h. */
108446 #include <sys/uio.h>
108448 main ()
108450 struct iovec iov[2];
108451 writev(0, iov, 0);
108453 return 0;
108455 _ACEOF
108456 rm -f conftest.$ac_objext conftest$ac_exeext
108457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108458 (eval $ac_link) 2>conftest.er1
108459 ac_status=$?
108460 grep -v '^ *+' conftest.er1 >conftest.err
108461 rm -f conftest.er1
108462 cat conftest.err >&5
108463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108464 (exit $ac_status); } &&
108465 { ac_try='test -z "$ac_c_werror_flag"
108466 || test ! -s conftest.err'
108467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108468 (eval $ac_try) 2>&5
108469 ac_status=$?
108470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108471 (exit $ac_status); }; } &&
108472 { ac_try='test -s conftest$ac_exeext'
108473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108474 (eval $ac_try) 2>&5
108475 ac_status=$?
108476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108477 (exit $ac_status); }; }; then
108478 glibcxx_cv_WRITEV=yes
108480 echo "$as_me: failed program was:" >&5
108481 sed 's/^/| /' conftest.$ac_ext >&5
108483 glibcxx_cv_WRITEV=no
108485 rm -f conftest.err conftest.$ac_objext \
108486 conftest$ac_exeext conftest.$ac_ext
108490 if test $glibcxx_cv_WRITEV = yes; then
108492 cat >>confdefs.h <<\_ACEOF
108493 #define HAVE_WRITEV 1
108494 _ACEOF
108497 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108498 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108501 *-mingw32*)
108505 for ac_header in sys/types.h locale.h float.h
108507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108509 echo "$as_me:$LINENO: checking for $ac_header" >&5
108510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108512 echo $ECHO_N "(cached) $ECHO_C" >&6
108514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108517 # Is the header compilable?
108518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108520 cat >conftest.$ac_ext <<_ACEOF
108521 /* confdefs.h. */
108522 _ACEOF
108523 cat confdefs.h >>conftest.$ac_ext
108524 cat >>conftest.$ac_ext <<_ACEOF
108525 /* end confdefs.h. */
108526 $ac_includes_default
108527 #include <$ac_header>
108528 _ACEOF
108529 rm -f conftest.$ac_objext
108530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108531 (eval $ac_compile) 2>conftest.er1
108532 ac_status=$?
108533 grep -v '^ *+' conftest.er1 >conftest.err
108534 rm -f conftest.er1
108535 cat conftest.err >&5
108536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108537 (exit $ac_status); } &&
108538 { ac_try='test -z "$ac_c_werror_flag"
108539 || test ! -s conftest.err'
108540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108541 (eval $ac_try) 2>&5
108542 ac_status=$?
108543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108544 (exit $ac_status); }; } &&
108545 { ac_try='test -s conftest.$ac_objext'
108546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108547 (eval $ac_try) 2>&5
108548 ac_status=$?
108549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108550 (exit $ac_status); }; }; then
108551 ac_header_compiler=yes
108553 echo "$as_me: failed program was:" >&5
108554 sed 's/^/| /' conftest.$ac_ext >&5
108556 ac_header_compiler=no
108558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108560 echo "${ECHO_T}$ac_header_compiler" >&6
108562 # Is the header present?
108563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108565 cat >conftest.$ac_ext <<_ACEOF
108566 /* confdefs.h. */
108567 _ACEOF
108568 cat confdefs.h >>conftest.$ac_ext
108569 cat >>conftest.$ac_ext <<_ACEOF
108570 /* end confdefs.h. */
108571 #include <$ac_header>
108572 _ACEOF
108573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108575 ac_status=$?
108576 grep -v '^ *+' conftest.er1 >conftest.err
108577 rm -f conftest.er1
108578 cat conftest.err >&5
108579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108580 (exit $ac_status); } >/dev/null; then
108581 if test -s conftest.err; then
108582 ac_cpp_err=$ac_c_preproc_warn_flag
108583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108585 ac_cpp_err=
108588 ac_cpp_err=yes
108590 if test -z "$ac_cpp_err"; then
108591 ac_header_preproc=yes
108593 echo "$as_me: failed program was:" >&5
108594 sed 's/^/| /' conftest.$ac_ext >&5
108596 ac_header_preproc=no
108598 rm -f conftest.err conftest.$ac_ext
108599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108600 echo "${ECHO_T}$ac_header_preproc" >&6
108602 # So? What about this header?
108603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108604 yes:no: )
108605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108609 ac_header_preproc=yes
108611 no:yes:* )
108612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108625 cat <<\_ASBOX
108626 ## ----------------------------------------- ##
108627 ## Report this to the package-unused lists. ##
108628 ## ----------------------------------------- ##
108629 _ASBOX
108631 sed "s/^/$as_me: WARNING: /" >&2
108634 echo "$as_me:$LINENO: checking for $ac_header" >&5
108635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108637 echo $ECHO_N "(cached) $ECHO_C" >&6
108639 eval "$as_ac_Header=\$ac_header_preproc"
108641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108646 cat >>confdefs.h <<_ACEOF
108647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108648 _ACEOF
108655 # If we're not using GNU ld, then there's no point in even trying these
108656 # tests. Check for that first. We should have already tested for gld
108657 # by now (in libtool), but require it now just to be safe...
108658 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
108659 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
108663 # The name set by libtool depends on the version of libtool. Shame on us
108664 # for depending on an impl detail, but c'est la vie. Older versions used
108665 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
108666 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
108667 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
108668 # set (hence we're using an older libtool), then set it.
108669 if test x${with_gnu_ld+set} != xset; then
108670 if test x${ac_cv_prog_gnu_ld+set} != xset; then
108671 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
108672 with_gnu_ld=no
108674 with_gnu_ld=$ac_cv_prog_gnu_ld
108678 # Start by getting the version number. I think the libtool test already
108679 # does some of this, but throws away the result.
108680 if test x"$with_gnu_ld" = x"yes"; then
108681 echo "$as_me:$LINENO: checking for ld version" >&5
108682 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
108684 ldver=`$LD --version 2>/dev/null | head -1 | \
108685 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
108687 glibcxx_gnu_ld_version=`echo $ldver | \
108688 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
108689 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
108690 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
108693 # Set --gc-sections.
108694 glibcxx_gcsections_min_ld=21602
108695 if test x"$with_gnu_ld" = x"yes" &&
108696 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
108698 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
108699 # NB: This flag only works reliably after 2.16.1. Configure tests
108700 # for this are difficult, so hard wire a value that should work.
108702 ac_test_CFLAGS="${CFLAGS+set}"
108703 ac_save_CFLAGS="$CFLAGS"
108704 CFLAGS='-Wl,--gc-sections'
108706 # Check for -Wl,--gc-sections
108707 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
108708 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
108709 if test x$gcc_no_link = xyes; then
108710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108712 { (exit 1); exit 1; }; }
108714 cat >conftest.$ac_ext <<_ACEOF
108715 /* confdefs.h. */
108716 _ACEOF
108717 cat confdefs.h >>conftest.$ac_ext
108718 cat >>conftest.$ac_ext <<_ACEOF
108719 /* end confdefs.h. */
108720 int one(void) { return 1; }
108721 int two(void) { return 2; }
108724 main ()
108726 two();
108728 return 0;
108730 _ACEOF
108731 rm -f conftest.$ac_objext conftest$ac_exeext
108732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108733 (eval $ac_link) 2>conftest.er1
108734 ac_status=$?
108735 grep -v '^ *+' conftest.er1 >conftest.err
108736 rm -f conftest.er1
108737 cat conftest.err >&5
108738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108739 (exit $ac_status); } &&
108740 { ac_try='test -z "$ac_c_werror_flag"
108741 || test ! -s conftest.err'
108742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108743 (eval $ac_try) 2>&5
108744 ac_status=$?
108745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108746 (exit $ac_status); }; } &&
108747 { ac_try='test -s conftest$ac_exeext'
108748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108749 (eval $ac_try) 2>&5
108750 ac_status=$?
108751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108752 (exit $ac_status); }; }; then
108753 ac_gcsections=yes
108755 echo "$as_me: failed program was:" >&5
108756 sed 's/^/| /' conftest.$ac_ext >&5
108758 ac_gcsections=no
108760 rm -f conftest.err conftest.$ac_objext \
108761 conftest$ac_exeext conftest.$ac_ext
108762 if test "$ac_gcsections" = "yes"; then
108763 rm -f conftest.c
108764 touch conftest.c
108765 if $CC -c conftest.c; then
108766 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
108767 grep "Warning: gc-sections option ignored" > /dev/null; then
108768 ac_gcsections=no
108771 rm -f conftest.c conftest.o conftest
108773 if test "$ac_gcsections" = "yes"; then
108774 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
108776 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
108777 echo "${ECHO_T}$ac_gcsections" >&6
108779 if test "$ac_test_CFLAGS" = set; then
108780 CFLAGS="$ac_save_CFLAGS"
108782 # this is the suspicious part
108783 CFLAGS=''
108787 # Set -z,relro.
108788 # Note this is only for shared objects.
108789 ac_ld_relro=no
108790 if test x"$with_gnu_ld" = x"yes"; then
108791 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
108792 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
108793 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
108794 if test -n "$cxx_z_relo"; then
108795 OPT_LDFLAGS="-Wl,-z,relro"
108796 ac_ld_relro=yes
108798 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
108799 echo "${ECHO_T}$ac_ld_relro" >&6
108802 # Set linker optimization flags.
108803 if test x"$with_gnu_ld" = x"yes"; then
108804 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
108812 echo "$as_me:$LINENO: checking for main in -lm" >&5
108813 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
108814 if test "${ac_cv_lib_m_main+set}" = set; then
108815 echo $ECHO_N "(cached) $ECHO_C" >&6
108817 ac_check_lib_save_LIBS=$LIBS
108818 LIBS="-lm $LIBS"
108819 if test x$gcc_no_link = xyes; then
108820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108822 { (exit 1); exit 1; }; }
108824 cat >conftest.$ac_ext <<_ACEOF
108825 /* confdefs.h. */
108826 _ACEOF
108827 cat confdefs.h >>conftest.$ac_ext
108828 cat >>conftest.$ac_ext <<_ACEOF
108829 /* end confdefs.h. */
108833 main ()
108835 main ();
108837 return 0;
108839 _ACEOF
108840 rm -f conftest.$ac_objext conftest$ac_exeext
108841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108842 (eval $ac_link) 2>conftest.er1
108843 ac_status=$?
108844 grep -v '^ *+' conftest.er1 >conftest.err
108845 rm -f conftest.er1
108846 cat conftest.err >&5
108847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108848 (exit $ac_status); } &&
108849 { ac_try='test -z "$ac_c_werror_flag"
108850 || test ! -s conftest.err'
108851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108852 (eval $ac_try) 2>&5
108853 ac_status=$?
108854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108855 (exit $ac_status); }; } &&
108856 { ac_try='test -s conftest$ac_exeext'
108857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108858 (eval $ac_try) 2>&5
108859 ac_status=$?
108860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108861 (exit $ac_status); }; }; then
108862 ac_cv_lib_m_main=yes
108864 echo "$as_me: failed program was:" >&5
108865 sed 's/^/| /' conftest.$ac_ext >&5
108867 ac_cv_lib_m_main=no
108869 rm -f conftest.err conftest.$ac_objext \
108870 conftest$ac_exeext conftest.$ac_ext
108871 LIBS=$ac_check_lib_save_LIBS
108873 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
108874 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
108875 if test $ac_cv_lib_m_main = yes; then
108876 cat >>confdefs.h <<_ACEOF
108877 #define HAVE_LIBM 1
108878 _ACEOF
108880 LIBS="-lm $LIBS"
108885 for ac_func in copysignf
108887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108888 echo "$as_me:$LINENO: checking for $ac_func" >&5
108889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108890 if eval "test \"\${$as_ac_var+set}\" = set"; then
108891 echo $ECHO_N "(cached) $ECHO_C" >&6
108893 if test x$gcc_no_link = xyes; then
108894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108896 { (exit 1); exit 1; }; }
108898 cat >conftest.$ac_ext <<_ACEOF
108899 /* confdefs.h. */
108900 _ACEOF
108901 cat confdefs.h >>conftest.$ac_ext
108902 cat >>conftest.$ac_ext <<_ACEOF
108903 /* end confdefs.h. */
108904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108906 #define $ac_func innocuous_$ac_func
108908 /* System header to define __stub macros and hopefully few prototypes,
108909 which can conflict with char $ac_func (); below.
108910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108911 <limits.h> exists even on freestanding compilers. */
108913 #ifdef __STDC__
108914 # include <limits.h>
108915 #else
108916 # include <assert.h>
108917 #endif
108919 #undef $ac_func
108921 /* Override any gcc2 internal prototype to avoid an error. */
108922 #ifdef __cplusplus
108923 extern "C"
108925 #endif
108926 /* We use char because int might match the return type of a gcc2
108927 builtin and then its argument prototype would still apply. */
108928 char $ac_func ();
108929 /* The GNU C library defines this for functions which it implements
108930 to always fail with ENOSYS. Some functions are actually named
108931 something starting with __ and the normal name is an alias. */
108932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108933 choke me
108934 #else
108935 char (*f) () = $ac_func;
108936 #endif
108937 #ifdef __cplusplus
108939 #endif
108942 main ()
108944 return f != $ac_func;
108946 return 0;
108948 _ACEOF
108949 rm -f conftest.$ac_objext conftest$ac_exeext
108950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108951 (eval $ac_link) 2>conftest.er1
108952 ac_status=$?
108953 grep -v '^ *+' conftest.er1 >conftest.err
108954 rm -f conftest.er1
108955 cat conftest.err >&5
108956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108957 (exit $ac_status); } &&
108958 { ac_try='test -z "$ac_c_werror_flag"
108959 || test ! -s conftest.err'
108960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108961 (eval $ac_try) 2>&5
108962 ac_status=$?
108963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108964 (exit $ac_status); }; } &&
108965 { ac_try='test -s conftest$ac_exeext'
108966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108967 (eval $ac_try) 2>&5
108968 ac_status=$?
108969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108970 (exit $ac_status); }; }; then
108971 eval "$as_ac_var=yes"
108973 echo "$as_me: failed program was:" >&5
108974 sed 's/^/| /' conftest.$ac_ext >&5
108976 eval "$as_ac_var=no"
108978 rm -f conftest.err conftest.$ac_objext \
108979 conftest$ac_exeext conftest.$ac_ext
108981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108983 if test `eval echo '${'$as_ac_var'}'` = yes; then
108984 cat >>confdefs.h <<_ACEOF
108985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108986 _ACEOF
108989 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
108995 for ac_func in __signbit
108997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108998 echo "$as_me:$LINENO: checking for $ac_func" >&5
108999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109000 if eval "test \"\${$as_ac_var+set}\" = set"; then
109001 echo $ECHO_N "(cached) $ECHO_C" >&6
109003 if test x$gcc_no_link = xyes; then
109004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109006 { (exit 1); exit 1; }; }
109008 cat >conftest.$ac_ext <<_ACEOF
109009 /* confdefs.h. */
109010 _ACEOF
109011 cat confdefs.h >>conftest.$ac_ext
109012 cat >>conftest.$ac_ext <<_ACEOF
109013 /* end confdefs.h. */
109014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109016 #define $ac_func innocuous_$ac_func
109018 /* System header to define __stub macros and hopefully few prototypes,
109019 which can conflict with char $ac_func (); below.
109020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109021 <limits.h> exists even on freestanding compilers. */
109023 #ifdef __STDC__
109024 # include <limits.h>
109025 #else
109026 # include <assert.h>
109027 #endif
109029 #undef $ac_func
109031 /* Override any gcc2 internal prototype to avoid an error. */
109032 #ifdef __cplusplus
109033 extern "C"
109035 #endif
109036 /* We use char because int might match the return type of a gcc2
109037 builtin and then its argument prototype would still apply. */
109038 char $ac_func ();
109039 /* The GNU C library defines this for functions which it implements
109040 to always fail with ENOSYS. Some functions are actually named
109041 something starting with __ and the normal name is an alias. */
109042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109043 choke me
109044 #else
109045 char (*f) () = $ac_func;
109046 #endif
109047 #ifdef __cplusplus
109049 #endif
109052 main ()
109054 return f != $ac_func;
109056 return 0;
109058 _ACEOF
109059 rm -f conftest.$ac_objext conftest$ac_exeext
109060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109061 (eval $ac_link) 2>conftest.er1
109062 ac_status=$?
109063 grep -v '^ *+' conftest.er1 >conftest.err
109064 rm -f conftest.er1
109065 cat conftest.err >&5
109066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109067 (exit $ac_status); } &&
109068 { ac_try='test -z "$ac_c_werror_flag"
109069 || test ! -s conftest.err'
109070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109071 (eval $ac_try) 2>&5
109072 ac_status=$?
109073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109074 (exit $ac_status); }; } &&
109075 { ac_try='test -s conftest$ac_exeext'
109076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109077 (eval $ac_try) 2>&5
109078 ac_status=$?
109079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109080 (exit $ac_status); }; }; then
109081 eval "$as_ac_var=yes"
109083 echo "$as_me: failed program was:" >&5
109084 sed 's/^/| /' conftest.$ac_ext >&5
109086 eval "$as_ac_var=no"
109088 rm -f conftest.err conftest.$ac_objext \
109089 conftest$ac_exeext conftest.$ac_ext
109091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109093 if test `eval echo '${'$as_ac_var'}'` = yes; then
109094 cat >>confdefs.h <<_ACEOF
109095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109096 _ACEOF
109099 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109105 for ac_func in __signbitf
109107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109108 echo "$as_me:$LINENO: checking for $ac_func" >&5
109109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109110 if eval "test \"\${$as_ac_var+set}\" = set"; then
109111 echo $ECHO_N "(cached) $ECHO_C" >&6
109113 if test x$gcc_no_link = xyes; then
109114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109116 { (exit 1); exit 1; }; }
109118 cat >conftest.$ac_ext <<_ACEOF
109119 /* confdefs.h. */
109120 _ACEOF
109121 cat confdefs.h >>conftest.$ac_ext
109122 cat >>conftest.$ac_ext <<_ACEOF
109123 /* end confdefs.h. */
109124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109126 #define $ac_func innocuous_$ac_func
109128 /* System header to define __stub macros and hopefully few prototypes,
109129 which can conflict with char $ac_func (); below.
109130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109131 <limits.h> exists even on freestanding compilers. */
109133 #ifdef __STDC__
109134 # include <limits.h>
109135 #else
109136 # include <assert.h>
109137 #endif
109139 #undef $ac_func
109141 /* Override any gcc2 internal prototype to avoid an error. */
109142 #ifdef __cplusplus
109143 extern "C"
109145 #endif
109146 /* We use char because int might match the return type of a gcc2
109147 builtin and then its argument prototype would still apply. */
109148 char $ac_func ();
109149 /* The GNU C library defines this for functions which it implements
109150 to always fail with ENOSYS. Some functions are actually named
109151 something starting with __ and the normal name is an alias. */
109152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109153 choke me
109154 #else
109155 char (*f) () = $ac_func;
109156 #endif
109157 #ifdef __cplusplus
109159 #endif
109162 main ()
109164 return f != $ac_func;
109166 return 0;
109168 _ACEOF
109169 rm -f conftest.$ac_objext conftest$ac_exeext
109170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109171 (eval $ac_link) 2>conftest.er1
109172 ac_status=$?
109173 grep -v '^ *+' conftest.er1 >conftest.err
109174 rm -f conftest.er1
109175 cat conftest.err >&5
109176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109177 (exit $ac_status); } &&
109178 { ac_try='test -z "$ac_c_werror_flag"
109179 || test ! -s conftest.err'
109180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109181 (eval $ac_try) 2>&5
109182 ac_status=$?
109183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109184 (exit $ac_status); }; } &&
109185 { ac_try='test -s conftest$ac_exeext'
109186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109187 (eval $ac_try) 2>&5
109188 ac_status=$?
109189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109190 (exit $ac_status); }; }; then
109191 eval "$as_ac_var=yes"
109193 echo "$as_me: failed program was:" >&5
109194 sed 's/^/| /' conftest.$ac_ext >&5
109196 eval "$as_ac_var=no"
109198 rm -f conftest.err conftest.$ac_objext \
109199 conftest$ac_exeext conftest.$ac_ext
109201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109203 if test `eval echo '${'$as_ac_var'}'` = yes; then
109204 cat >>confdefs.h <<_ACEOF
109205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109206 _ACEOF
109209 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
109214 if test x$ac_cv_func_copysignl = x"yes"; then
109216 for ac_func in __signbitl
109218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109219 echo "$as_me:$LINENO: checking for $ac_func" >&5
109220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109221 if eval "test \"\${$as_ac_var+set}\" = set"; then
109222 echo $ECHO_N "(cached) $ECHO_C" >&6
109224 if test x$gcc_no_link = xyes; then
109225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109227 { (exit 1); exit 1; }; }
109229 cat >conftest.$ac_ext <<_ACEOF
109230 /* confdefs.h. */
109231 _ACEOF
109232 cat confdefs.h >>conftest.$ac_ext
109233 cat >>conftest.$ac_ext <<_ACEOF
109234 /* end confdefs.h. */
109235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109237 #define $ac_func innocuous_$ac_func
109239 /* System header to define __stub macros and hopefully few prototypes,
109240 which can conflict with char $ac_func (); below.
109241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109242 <limits.h> exists even on freestanding compilers. */
109244 #ifdef __STDC__
109245 # include <limits.h>
109246 #else
109247 # include <assert.h>
109248 #endif
109250 #undef $ac_func
109252 /* Override any gcc2 internal prototype to avoid an error. */
109253 #ifdef __cplusplus
109254 extern "C"
109256 #endif
109257 /* We use char because int might match the return type of a gcc2
109258 builtin and then its argument prototype would still apply. */
109259 char $ac_func ();
109260 /* The GNU C library defines this for functions which it implements
109261 to always fail with ENOSYS. Some functions are actually named
109262 something starting with __ and the normal name is an alias. */
109263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109264 choke me
109265 #else
109266 char (*f) () = $ac_func;
109267 #endif
109268 #ifdef __cplusplus
109270 #endif
109273 main ()
109275 return f != $ac_func;
109277 return 0;
109279 _ACEOF
109280 rm -f conftest.$ac_objext conftest$ac_exeext
109281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109282 (eval $ac_link) 2>conftest.er1
109283 ac_status=$?
109284 grep -v '^ *+' conftest.er1 >conftest.err
109285 rm -f conftest.er1
109286 cat conftest.err >&5
109287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109288 (exit $ac_status); } &&
109289 { ac_try='test -z "$ac_c_werror_flag"
109290 || test ! -s conftest.err'
109291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109292 (eval $ac_try) 2>&5
109293 ac_status=$?
109294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109295 (exit $ac_status); }; } &&
109296 { ac_try='test -s conftest$ac_exeext'
109297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109298 (eval $ac_try) 2>&5
109299 ac_status=$?
109300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109301 (exit $ac_status); }; }; then
109302 eval "$as_ac_var=yes"
109304 echo "$as_me: failed program was:" >&5
109305 sed 's/^/| /' conftest.$ac_ext >&5
109307 eval "$as_ac_var=no"
109309 rm -f conftest.err conftest.$ac_objext \
109310 conftest$ac_exeext conftest.$ac_ext
109312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109314 if test `eval echo '${'$as_ac_var'}'` = yes; then
109315 cat >>confdefs.h <<_ACEOF
109316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109317 _ACEOF
109320 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
109326 # Used in libmath/Makefile.am.
109327 if test -n "$LIBMATHOBJS"; then
109328 need_libmath=yes
109333 *-netbsd*)
109346 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
109347 machine/endian.h machine/param.h sys/machine.h sys/types.h \
109348 fp.h locale.h float.h inttypes.h
109350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109352 echo "$as_me:$LINENO: checking for $ac_header" >&5
109353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109355 echo $ECHO_N "(cached) $ECHO_C" >&6
109357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109360 # Is the header compilable?
109361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109363 cat >conftest.$ac_ext <<_ACEOF
109364 /* confdefs.h. */
109365 _ACEOF
109366 cat confdefs.h >>conftest.$ac_ext
109367 cat >>conftest.$ac_ext <<_ACEOF
109368 /* end confdefs.h. */
109369 $ac_includes_default
109370 #include <$ac_header>
109371 _ACEOF
109372 rm -f conftest.$ac_objext
109373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109374 (eval $ac_compile) 2>conftest.er1
109375 ac_status=$?
109376 grep -v '^ *+' conftest.er1 >conftest.err
109377 rm -f conftest.er1
109378 cat conftest.err >&5
109379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109380 (exit $ac_status); } &&
109381 { ac_try='test -z "$ac_c_werror_flag"
109382 || test ! -s conftest.err'
109383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109384 (eval $ac_try) 2>&5
109385 ac_status=$?
109386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109387 (exit $ac_status); }; } &&
109388 { ac_try='test -s conftest.$ac_objext'
109389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109390 (eval $ac_try) 2>&5
109391 ac_status=$?
109392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109393 (exit $ac_status); }; }; then
109394 ac_header_compiler=yes
109396 echo "$as_me: failed program was:" >&5
109397 sed 's/^/| /' conftest.$ac_ext >&5
109399 ac_header_compiler=no
109401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109403 echo "${ECHO_T}$ac_header_compiler" >&6
109405 # Is the header present?
109406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109408 cat >conftest.$ac_ext <<_ACEOF
109409 /* confdefs.h. */
109410 _ACEOF
109411 cat confdefs.h >>conftest.$ac_ext
109412 cat >>conftest.$ac_ext <<_ACEOF
109413 /* end confdefs.h. */
109414 #include <$ac_header>
109415 _ACEOF
109416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109418 ac_status=$?
109419 grep -v '^ *+' conftest.er1 >conftest.err
109420 rm -f conftest.er1
109421 cat conftest.err >&5
109422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109423 (exit $ac_status); } >/dev/null; then
109424 if test -s conftest.err; then
109425 ac_cpp_err=$ac_c_preproc_warn_flag
109426 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109428 ac_cpp_err=
109431 ac_cpp_err=yes
109433 if test -z "$ac_cpp_err"; then
109434 ac_header_preproc=yes
109436 echo "$as_me: failed program was:" >&5
109437 sed 's/^/| /' conftest.$ac_ext >&5
109439 ac_header_preproc=no
109441 rm -f conftest.err conftest.$ac_ext
109442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109443 echo "${ECHO_T}$ac_header_preproc" >&6
109445 # So? What about this header?
109446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109447 yes:no: )
109448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109452 ac_header_preproc=yes
109454 no:yes:* )
109455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109468 cat <<\_ASBOX
109469 ## ----------------------------------------- ##
109470 ## Report this to the package-unused lists. ##
109471 ## ----------------------------------------- ##
109472 _ASBOX
109474 sed "s/^/$as_me: WARNING: /" >&2
109477 echo "$as_me:$LINENO: checking for $ac_header" >&5
109478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109480 echo $ECHO_N "(cached) $ECHO_C" >&6
109482 eval "$as_ac_Header=\$ac_header_preproc"
109484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109489 cat >>confdefs.h <<_ACEOF
109490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109491 _ACEOF
109497 SECTION_FLAGS='-ffunction-sections -fdata-sections'
109500 # If we're not using GNU ld, then there's no point in even trying these
109501 # tests. Check for that first. We should have already tested for gld
109502 # by now (in libtool), but require it now just to be safe...
109503 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109504 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109508 # The name set by libtool depends on the version of libtool. Shame on us
109509 # for depending on an impl detail, but c'est la vie. Older versions used
109510 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109511 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109512 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109513 # set (hence we're using an older libtool), then set it.
109514 if test x${with_gnu_ld+set} != xset; then
109515 if test x${ac_cv_prog_gnu_ld+set} != xset; then
109516 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
109517 with_gnu_ld=no
109519 with_gnu_ld=$ac_cv_prog_gnu_ld
109523 # Start by getting the version number. I think the libtool test already
109524 # does some of this, but throws away the result.
109525 if test x"$with_gnu_ld" = x"yes"; then
109526 echo "$as_me:$LINENO: checking for ld version" >&5
109527 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109529 ldver=`$LD --version 2>/dev/null | head -1 | \
109530 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109532 glibcxx_gnu_ld_version=`echo $ldver | \
109533 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109534 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109535 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109538 # Set --gc-sections.
109539 glibcxx_gcsections_min_ld=21602
109540 if test x"$with_gnu_ld" = x"yes" &&
109541 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109543 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
109544 # NB: This flag only works reliably after 2.16.1. Configure tests
109545 # for this are difficult, so hard wire a value that should work.
109547 ac_test_CFLAGS="${CFLAGS+set}"
109548 ac_save_CFLAGS="$CFLAGS"
109549 CFLAGS='-Wl,--gc-sections'
109551 # Check for -Wl,--gc-sections
109552 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109553 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109554 if test x$gcc_no_link = xyes; then
109555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109557 { (exit 1); exit 1; }; }
109559 cat >conftest.$ac_ext <<_ACEOF
109560 /* confdefs.h. */
109561 _ACEOF
109562 cat confdefs.h >>conftest.$ac_ext
109563 cat >>conftest.$ac_ext <<_ACEOF
109564 /* end confdefs.h. */
109565 int one(void) { return 1; }
109566 int two(void) { return 2; }
109569 main ()
109571 two();
109573 return 0;
109575 _ACEOF
109576 rm -f conftest.$ac_objext conftest$ac_exeext
109577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109578 (eval $ac_link) 2>conftest.er1
109579 ac_status=$?
109580 grep -v '^ *+' conftest.er1 >conftest.err
109581 rm -f conftest.er1
109582 cat conftest.err >&5
109583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109584 (exit $ac_status); } &&
109585 { ac_try='test -z "$ac_c_werror_flag"
109586 || test ! -s conftest.err'
109587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109588 (eval $ac_try) 2>&5
109589 ac_status=$?
109590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109591 (exit $ac_status); }; } &&
109592 { ac_try='test -s conftest$ac_exeext'
109593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109594 (eval $ac_try) 2>&5
109595 ac_status=$?
109596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109597 (exit $ac_status); }; }; then
109598 ac_gcsections=yes
109600 echo "$as_me: failed program was:" >&5
109601 sed 's/^/| /' conftest.$ac_ext >&5
109603 ac_gcsections=no
109605 rm -f conftest.err conftest.$ac_objext \
109606 conftest$ac_exeext conftest.$ac_ext
109607 if test "$ac_gcsections" = "yes"; then
109608 rm -f conftest.c
109609 touch conftest.c
109610 if $CC -c conftest.c; then
109611 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
109612 grep "Warning: gc-sections option ignored" > /dev/null; then
109613 ac_gcsections=no
109616 rm -f conftest.c conftest.o conftest
109618 if test "$ac_gcsections" = "yes"; then
109619 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
109621 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
109622 echo "${ECHO_T}$ac_gcsections" >&6
109624 if test "$ac_test_CFLAGS" = set; then
109625 CFLAGS="$ac_save_CFLAGS"
109627 # this is the suspicious part
109628 CFLAGS=''
109632 # Set -z,relro.
109633 # Note this is only for shared objects.
109634 ac_ld_relro=no
109635 if test x"$with_gnu_ld" = x"yes"; then
109636 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
109637 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
109638 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
109639 if test -n "$cxx_z_relo"; then
109640 OPT_LDFLAGS="-Wl,-z,relro"
109641 ac_ld_relro=yes
109643 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
109644 echo "${ECHO_T}$ac_ld_relro" >&6
109647 # Set linker optimization flags.
109648 if test x"$with_gnu_ld" = x"yes"; then
109649 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
109657 echo "$as_me:$LINENO: checking for main in -lm" >&5
109658 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
109659 if test "${ac_cv_lib_m_main+set}" = set; then
109660 echo $ECHO_N "(cached) $ECHO_C" >&6
109662 ac_check_lib_save_LIBS=$LIBS
109663 LIBS="-lm $LIBS"
109664 if test x$gcc_no_link = xyes; then
109665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109667 { (exit 1); exit 1; }; }
109669 cat >conftest.$ac_ext <<_ACEOF
109670 /* confdefs.h. */
109671 _ACEOF
109672 cat confdefs.h >>conftest.$ac_ext
109673 cat >>conftest.$ac_ext <<_ACEOF
109674 /* end confdefs.h. */
109678 main ()
109680 main ();
109682 return 0;
109684 _ACEOF
109685 rm -f conftest.$ac_objext conftest$ac_exeext
109686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109687 (eval $ac_link) 2>conftest.er1
109688 ac_status=$?
109689 grep -v '^ *+' conftest.er1 >conftest.err
109690 rm -f conftest.er1
109691 cat conftest.err >&5
109692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109693 (exit $ac_status); } &&
109694 { ac_try='test -z "$ac_c_werror_flag"
109695 || test ! -s conftest.err'
109696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109697 (eval $ac_try) 2>&5
109698 ac_status=$?
109699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109700 (exit $ac_status); }; } &&
109701 { ac_try='test -s conftest$ac_exeext'
109702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109703 (eval $ac_try) 2>&5
109704 ac_status=$?
109705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109706 (exit $ac_status); }; }; then
109707 ac_cv_lib_m_main=yes
109709 echo "$as_me: failed program was:" >&5
109710 sed 's/^/| /' conftest.$ac_ext >&5
109712 ac_cv_lib_m_main=no
109714 rm -f conftest.err conftest.$ac_objext \
109715 conftest$ac_exeext conftest.$ac_ext
109716 LIBS=$ac_check_lib_save_LIBS
109718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
109719 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
109720 if test $ac_cv_lib_m_main = yes; then
109721 cat >>confdefs.h <<_ACEOF
109722 #define HAVE_LIBM 1
109723 _ACEOF
109725 LIBS="-lm $LIBS"
109730 for ac_func in copysignf
109732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109733 echo "$as_me:$LINENO: checking for $ac_func" >&5
109734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109735 if eval "test \"\${$as_ac_var+set}\" = set"; then
109736 echo $ECHO_N "(cached) $ECHO_C" >&6
109738 if test x$gcc_no_link = xyes; then
109739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109741 { (exit 1); exit 1; }; }
109743 cat >conftest.$ac_ext <<_ACEOF
109744 /* confdefs.h. */
109745 _ACEOF
109746 cat confdefs.h >>conftest.$ac_ext
109747 cat >>conftest.$ac_ext <<_ACEOF
109748 /* end confdefs.h. */
109749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109751 #define $ac_func innocuous_$ac_func
109753 /* System header to define __stub macros and hopefully few prototypes,
109754 which can conflict with char $ac_func (); below.
109755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109756 <limits.h> exists even on freestanding compilers. */
109758 #ifdef __STDC__
109759 # include <limits.h>
109760 #else
109761 # include <assert.h>
109762 #endif
109764 #undef $ac_func
109766 /* Override any gcc2 internal prototype to avoid an error. */
109767 #ifdef __cplusplus
109768 extern "C"
109770 #endif
109771 /* We use char because int might match the return type of a gcc2
109772 builtin and then its argument prototype would still apply. */
109773 char $ac_func ();
109774 /* The GNU C library defines this for functions which it implements
109775 to always fail with ENOSYS. Some functions are actually named
109776 something starting with __ and the normal name is an alias. */
109777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109778 choke me
109779 #else
109780 char (*f) () = $ac_func;
109781 #endif
109782 #ifdef __cplusplus
109784 #endif
109787 main ()
109789 return f != $ac_func;
109791 return 0;
109793 _ACEOF
109794 rm -f conftest.$ac_objext conftest$ac_exeext
109795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109796 (eval $ac_link) 2>conftest.er1
109797 ac_status=$?
109798 grep -v '^ *+' conftest.er1 >conftest.err
109799 rm -f conftest.er1
109800 cat conftest.err >&5
109801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109802 (exit $ac_status); } &&
109803 { ac_try='test -z "$ac_c_werror_flag"
109804 || test ! -s conftest.err'
109805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109806 (eval $ac_try) 2>&5
109807 ac_status=$?
109808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109809 (exit $ac_status); }; } &&
109810 { ac_try='test -s conftest$ac_exeext'
109811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109812 (eval $ac_try) 2>&5
109813 ac_status=$?
109814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109815 (exit $ac_status); }; }; then
109816 eval "$as_ac_var=yes"
109818 echo "$as_me: failed program was:" >&5
109819 sed 's/^/| /' conftest.$ac_ext >&5
109821 eval "$as_ac_var=no"
109823 rm -f conftest.err conftest.$ac_objext \
109824 conftest$ac_exeext conftest.$ac_ext
109826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109828 if test `eval echo '${'$as_ac_var'}'` = yes; then
109829 cat >>confdefs.h <<_ACEOF
109830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109831 _ACEOF
109834 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109840 for ac_func in __signbit
109842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109843 echo "$as_me:$LINENO: checking for $ac_func" >&5
109844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109845 if eval "test \"\${$as_ac_var+set}\" = set"; then
109846 echo $ECHO_N "(cached) $ECHO_C" >&6
109848 if test x$gcc_no_link = xyes; then
109849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109851 { (exit 1); exit 1; }; }
109853 cat >conftest.$ac_ext <<_ACEOF
109854 /* confdefs.h. */
109855 _ACEOF
109856 cat confdefs.h >>conftest.$ac_ext
109857 cat >>conftest.$ac_ext <<_ACEOF
109858 /* end confdefs.h. */
109859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109861 #define $ac_func innocuous_$ac_func
109863 /* System header to define __stub macros and hopefully few prototypes,
109864 which can conflict with char $ac_func (); below.
109865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109866 <limits.h> exists even on freestanding compilers. */
109868 #ifdef __STDC__
109869 # include <limits.h>
109870 #else
109871 # include <assert.h>
109872 #endif
109874 #undef $ac_func
109876 /* Override any gcc2 internal prototype to avoid an error. */
109877 #ifdef __cplusplus
109878 extern "C"
109880 #endif
109881 /* We use char because int might match the return type of a gcc2
109882 builtin and then its argument prototype would still apply. */
109883 char $ac_func ();
109884 /* The GNU C library defines this for functions which it implements
109885 to always fail with ENOSYS. Some functions are actually named
109886 something starting with __ and the normal name is an alias. */
109887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109888 choke me
109889 #else
109890 char (*f) () = $ac_func;
109891 #endif
109892 #ifdef __cplusplus
109894 #endif
109897 main ()
109899 return f != $ac_func;
109901 return 0;
109903 _ACEOF
109904 rm -f conftest.$ac_objext conftest$ac_exeext
109905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109906 (eval $ac_link) 2>conftest.er1
109907 ac_status=$?
109908 grep -v '^ *+' conftest.er1 >conftest.err
109909 rm -f conftest.er1
109910 cat conftest.err >&5
109911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109912 (exit $ac_status); } &&
109913 { ac_try='test -z "$ac_c_werror_flag"
109914 || test ! -s conftest.err'
109915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109916 (eval $ac_try) 2>&5
109917 ac_status=$?
109918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109919 (exit $ac_status); }; } &&
109920 { ac_try='test -s conftest$ac_exeext'
109921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109922 (eval $ac_try) 2>&5
109923 ac_status=$?
109924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109925 (exit $ac_status); }; }; then
109926 eval "$as_ac_var=yes"
109928 echo "$as_me: failed program was:" >&5
109929 sed 's/^/| /' conftest.$ac_ext >&5
109931 eval "$as_ac_var=no"
109933 rm -f conftest.err conftest.$ac_objext \
109934 conftest$ac_exeext conftest.$ac_ext
109936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109938 if test `eval echo '${'$as_ac_var'}'` = yes; then
109939 cat >>confdefs.h <<_ACEOF
109940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109941 _ACEOF
109944 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109950 for ac_func in __signbitf
109952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109953 echo "$as_me:$LINENO: checking for $ac_func" >&5
109954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109955 if eval "test \"\${$as_ac_var+set}\" = set"; then
109956 echo $ECHO_N "(cached) $ECHO_C" >&6
109958 if test x$gcc_no_link = xyes; then
109959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109961 { (exit 1); exit 1; }; }
109963 cat >conftest.$ac_ext <<_ACEOF
109964 /* confdefs.h. */
109965 _ACEOF
109966 cat confdefs.h >>conftest.$ac_ext
109967 cat >>conftest.$ac_ext <<_ACEOF
109968 /* end confdefs.h. */
109969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109971 #define $ac_func innocuous_$ac_func
109973 /* System header to define __stub macros and hopefully few prototypes,
109974 which can conflict with char $ac_func (); below.
109975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109976 <limits.h> exists even on freestanding compilers. */
109978 #ifdef __STDC__
109979 # include <limits.h>
109980 #else
109981 # include <assert.h>
109982 #endif
109984 #undef $ac_func
109986 /* Override any gcc2 internal prototype to avoid an error. */
109987 #ifdef __cplusplus
109988 extern "C"
109990 #endif
109991 /* We use char because int might match the return type of a gcc2
109992 builtin and then its argument prototype would still apply. */
109993 char $ac_func ();
109994 /* The GNU C library defines this for functions which it implements
109995 to always fail with ENOSYS. Some functions are actually named
109996 something starting with __ and the normal name is an alias. */
109997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109998 choke me
109999 #else
110000 char (*f) () = $ac_func;
110001 #endif
110002 #ifdef __cplusplus
110004 #endif
110007 main ()
110009 return f != $ac_func;
110011 return 0;
110013 _ACEOF
110014 rm -f conftest.$ac_objext conftest$ac_exeext
110015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110016 (eval $ac_link) 2>conftest.er1
110017 ac_status=$?
110018 grep -v '^ *+' conftest.er1 >conftest.err
110019 rm -f conftest.er1
110020 cat conftest.err >&5
110021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110022 (exit $ac_status); } &&
110023 { ac_try='test -z "$ac_c_werror_flag"
110024 || test ! -s conftest.err'
110025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110026 (eval $ac_try) 2>&5
110027 ac_status=$?
110028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110029 (exit $ac_status); }; } &&
110030 { ac_try='test -s conftest$ac_exeext'
110031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110032 (eval $ac_try) 2>&5
110033 ac_status=$?
110034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110035 (exit $ac_status); }; }; then
110036 eval "$as_ac_var=yes"
110038 echo "$as_me: failed program was:" >&5
110039 sed 's/^/| /' conftest.$ac_ext >&5
110041 eval "$as_ac_var=no"
110043 rm -f conftest.err conftest.$ac_objext \
110044 conftest$ac_exeext conftest.$ac_ext
110046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110048 if test `eval echo '${'$as_ac_var'}'` = yes; then
110049 cat >>confdefs.h <<_ACEOF
110050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110051 _ACEOF
110054 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110059 if test x$ac_cv_func_copysignl = x"yes"; then
110061 for ac_func in __signbitl
110063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110064 echo "$as_me:$LINENO: checking for $ac_func" >&5
110065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110066 if eval "test \"\${$as_ac_var+set}\" = set"; then
110067 echo $ECHO_N "(cached) $ECHO_C" >&6
110069 if test x$gcc_no_link = xyes; then
110070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110072 { (exit 1); exit 1; }; }
110074 cat >conftest.$ac_ext <<_ACEOF
110075 /* confdefs.h. */
110076 _ACEOF
110077 cat confdefs.h >>conftest.$ac_ext
110078 cat >>conftest.$ac_ext <<_ACEOF
110079 /* end confdefs.h. */
110080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110082 #define $ac_func innocuous_$ac_func
110084 /* System header to define __stub macros and hopefully few prototypes,
110085 which can conflict with char $ac_func (); below.
110086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110087 <limits.h> exists even on freestanding compilers. */
110089 #ifdef __STDC__
110090 # include <limits.h>
110091 #else
110092 # include <assert.h>
110093 #endif
110095 #undef $ac_func
110097 /* Override any gcc2 internal prototype to avoid an error. */
110098 #ifdef __cplusplus
110099 extern "C"
110101 #endif
110102 /* We use char because int might match the return type of a gcc2
110103 builtin and then its argument prototype would still apply. */
110104 char $ac_func ();
110105 /* The GNU C library defines this for functions which it implements
110106 to always fail with ENOSYS. Some functions are actually named
110107 something starting with __ and the normal name is an alias. */
110108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110109 choke me
110110 #else
110111 char (*f) () = $ac_func;
110112 #endif
110113 #ifdef __cplusplus
110115 #endif
110118 main ()
110120 return f != $ac_func;
110122 return 0;
110124 _ACEOF
110125 rm -f conftest.$ac_objext conftest$ac_exeext
110126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110127 (eval $ac_link) 2>conftest.er1
110128 ac_status=$?
110129 grep -v '^ *+' conftest.er1 >conftest.err
110130 rm -f conftest.er1
110131 cat conftest.err >&5
110132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110133 (exit $ac_status); } &&
110134 { ac_try='test -z "$ac_c_werror_flag"
110135 || test ! -s conftest.err'
110136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110137 (eval $ac_try) 2>&5
110138 ac_status=$?
110139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110140 (exit $ac_status); }; } &&
110141 { ac_try='test -s conftest$ac_exeext'
110142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110143 (eval $ac_try) 2>&5
110144 ac_status=$?
110145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110146 (exit $ac_status); }; }; then
110147 eval "$as_ac_var=yes"
110149 echo "$as_me: failed program was:" >&5
110150 sed 's/^/| /' conftest.$ac_ext >&5
110152 eval "$as_ac_var=no"
110154 rm -f conftest.err conftest.$ac_objext \
110155 conftest$ac_exeext conftest.$ac_ext
110157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110159 if test `eval echo '${'$as_ac_var'}'` = yes; then
110160 cat >>confdefs.h <<_ACEOF
110161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110162 _ACEOF
110165 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110171 # Used in libmath/Makefile.am.
110172 if test -n "$LIBMATHOBJS"; then
110173 need_libmath=yes
110177 cat >>confdefs.h <<\_ACEOF
110178 #define HAVE_COPYSIGN 1
110179 _ACEOF
110181 cat >>confdefs.h <<\_ACEOF
110182 #define HAVE_COPYSIGNF 1
110183 _ACEOF
110185 cat >>confdefs.h <<\_ACEOF
110186 #define HAVE_FINITEF 1
110187 _ACEOF
110189 cat >>confdefs.h <<\_ACEOF
110190 #define HAVE_FINITE 1
110191 _ACEOF
110193 cat >>confdefs.h <<\_ACEOF
110194 #define HAVE_FREXPF 1
110195 _ACEOF
110197 cat >>confdefs.h <<\_ACEOF
110198 #define HAVE_HYPOTF 1
110199 _ACEOF
110201 cat >>confdefs.h <<\_ACEOF
110202 #define HAVE_ISINF 1
110203 _ACEOF
110205 cat >>confdefs.h <<\_ACEOF
110206 #define HAVE_ISINFF 1
110207 _ACEOF
110209 cat >>confdefs.h <<\_ACEOF
110210 #define HAVE_ISNAN 1
110211 _ACEOF
110213 cat >>confdefs.h <<\_ACEOF
110214 #define HAVE_ISNANF 1
110215 _ACEOF
110217 if test x"long_double_math_on_this_cpu" = x"yes"; then
110218 cat >>confdefs.h <<\_ACEOF
110219 #define HAVE_FINITEL 1
110220 _ACEOF
110222 cat >>confdefs.h <<\_ACEOF
110223 #define HAVE_ISINFL 1
110224 _ACEOF
110226 cat >>confdefs.h <<\_ACEOF
110227 #define HAVE_ISNANL 1
110228 _ACEOF
110232 *-netware)
110241 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
110242 sys/types.h locale.h float.h inttypes.h
110244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110246 echo "$as_me:$LINENO: checking for $ac_header" >&5
110247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110249 echo $ECHO_N "(cached) $ECHO_C" >&6
110251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110254 # Is the header compilable?
110255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110257 cat >conftest.$ac_ext <<_ACEOF
110258 /* confdefs.h. */
110259 _ACEOF
110260 cat confdefs.h >>conftest.$ac_ext
110261 cat >>conftest.$ac_ext <<_ACEOF
110262 /* end confdefs.h. */
110263 $ac_includes_default
110264 #include <$ac_header>
110265 _ACEOF
110266 rm -f conftest.$ac_objext
110267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110268 (eval $ac_compile) 2>conftest.er1
110269 ac_status=$?
110270 grep -v '^ *+' conftest.er1 >conftest.err
110271 rm -f conftest.er1
110272 cat conftest.err >&5
110273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110274 (exit $ac_status); } &&
110275 { ac_try='test -z "$ac_c_werror_flag"
110276 || test ! -s conftest.err'
110277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110278 (eval $ac_try) 2>&5
110279 ac_status=$?
110280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110281 (exit $ac_status); }; } &&
110282 { ac_try='test -s conftest.$ac_objext'
110283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110284 (eval $ac_try) 2>&5
110285 ac_status=$?
110286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110287 (exit $ac_status); }; }; then
110288 ac_header_compiler=yes
110290 echo "$as_me: failed program was:" >&5
110291 sed 's/^/| /' conftest.$ac_ext >&5
110293 ac_header_compiler=no
110295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110297 echo "${ECHO_T}$ac_header_compiler" >&6
110299 # Is the header present?
110300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110302 cat >conftest.$ac_ext <<_ACEOF
110303 /* confdefs.h. */
110304 _ACEOF
110305 cat confdefs.h >>conftest.$ac_ext
110306 cat >>conftest.$ac_ext <<_ACEOF
110307 /* end confdefs.h. */
110308 #include <$ac_header>
110309 _ACEOF
110310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110312 ac_status=$?
110313 grep -v '^ *+' conftest.er1 >conftest.err
110314 rm -f conftest.er1
110315 cat conftest.err >&5
110316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110317 (exit $ac_status); } >/dev/null; then
110318 if test -s conftest.err; then
110319 ac_cpp_err=$ac_c_preproc_warn_flag
110320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110322 ac_cpp_err=
110325 ac_cpp_err=yes
110327 if test -z "$ac_cpp_err"; then
110328 ac_header_preproc=yes
110330 echo "$as_me: failed program was:" >&5
110331 sed 's/^/| /' conftest.$ac_ext >&5
110333 ac_header_preproc=no
110335 rm -f conftest.err conftest.$ac_ext
110336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110337 echo "${ECHO_T}$ac_header_preproc" >&6
110339 # So? What about this header?
110340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110341 yes:no: )
110342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110346 ac_header_preproc=yes
110348 no:yes:* )
110349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110362 cat <<\_ASBOX
110363 ## ----------------------------------------- ##
110364 ## Report this to the package-unused lists. ##
110365 ## ----------------------------------------- ##
110366 _ASBOX
110368 sed "s/^/$as_me: WARNING: /" >&2
110371 echo "$as_me:$LINENO: checking for $ac_header" >&5
110372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110374 echo $ECHO_N "(cached) $ECHO_C" >&6
110376 eval "$as_ac_Header=\$ac_header_preproc"
110378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110383 cat >>confdefs.h <<_ACEOF
110384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110385 _ACEOF
110391 SECTION_FLAGS='-ffunction-sections -fdata-sections'
110394 # If we're not using GNU ld, then there's no point in even trying these
110395 # tests. Check for that first. We should have already tested for gld
110396 # by now (in libtool), but require it now just to be safe...
110397 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110398 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110402 # The name set by libtool depends on the version of libtool. Shame on us
110403 # for depending on an impl detail, but c'est la vie. Older versions used
110404 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110405 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110406 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110407 # set (hence we're using an older libtool), then set it.
110408 if test x${with_gnu_ld+set} != xset; then
110409 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110410 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110411 with_gnu_ld=no
110413 with_gnu_ld=$ac_cv_prog_gnu_ld
110417 # Start by getting the version number. I think the libtool test already
110418 # does some of this, but throws away the result.
110419 if test x"$with_gnu_ld" = x"yes"; then
110420 echo "$as_me:$LINENO: checking for ld version" >&5
110421 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110423 ldver=`$LD --version 2>/dev/null | head -1 | \
110424 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110426 glibcxx_gnu_ld_version=`echo $ldver | \
110427 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110428 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110429 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110432 # Set --gc-sections.
110433 glibcxx_gcsections_min_ld=21602
110434 if test x"$with_gnu_ld" = x"yes" &&
110435 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110437 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110438 # NB: This flag only works reliably after 2.16.1. Configure tests
110439 # for this are difficult, so hard wire a value that should work.
110441 ac_test_CFLAGS="${CFLAGS+set}"
110442 ac_save_CFLAGS="$CFLAGS"
110443 CFLAGS='-Wl,--gc-sections'
110445 # Check for -Wl,--gc-sections
110446 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110447 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110448 if test x$gcc_no_link = xyes; then
110449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110451 { (exit 1); exit 1; }; }
110453 cat >conftest.$ac_ext <<_ACEOF
110454 /* confdefs.h. */
110455 _ACEOF
110456 cat confdefs.h >>conftest.$ac_ext
110457 cat >>conftest.$ac_ext <<_ACEOF
110458 /* end confdefs.h. */
110459 int one(void) { return 1; }
110460 int two(void) { return 2; }
110463 main ()
110465 two();
110467 return 0;
110469 _ACEOF
110470 rm -f conftest.$ac_objext conftest$ac_exeext
110471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110472 (eval $ac_link) 2>conftest.er1
110473 ac_status=$?
110474 grep -v '^ *+' conftest.er1 >conftest.err
110475 rm -f conftest.er1
110476 cat conftest.err >&5
110477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110478 (exit $ac_status); } &&
110479 { ac_try='test -z "$ac_c_werror_flag"
110480 || test ! -s conftest.err'
110481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110482 (eval $ac_try) 2>&5
110483 ac_status=$?
110484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110485 (exit $ac_status); }; } &&
110486 { ac_try='test -s conftest$ac_exeext'
110487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110488 (eval $ac_try) 2>&5
110489 ac_status=$?
110490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110491 (exit $ac_status); }; }; then
110492 ac_gcsections=yes
110494 echo "$as_me: failed program was:" >&5
110495 sed 's/^/| /' conftest.$ac_ext >&5
110497 ac_gcsections=no
110499 rm -f conftest.err conftest.$ac_objext \
110500 conftest$ac_exeext conftest.$ac_ext
110501 if test "$ac_gcsections" = "yes"; then
110502 rm -f conftest.c
110503 touch conftest.c
110504 if $CC -c conftest.c; then
110505 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110506 grep "Warning: gc-sections option ignored" > /dev/null; then
110507 ac_gcsections=no
110510 rm -f conftest.c conftest.o conftest
110512 if test "$ac_gcsections" = "yes"; then
110513 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110515 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110516 echo "${ECHO_T}$ac_gcsections" >&6
110518 if test "$ac_test_CFLAGS" = set; then
110519 CFLAGS="$ac_save_CFLAGS"
110521 # this is the suspicious part
110522 CFLAGS=''
110526 # Set -z,relro.
110527 # Note this is only for shared objects.
110528 ac_ld_relro=no
110529 if test x"$with_gnu_ld" = x"yes"; then
110530 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110531 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110532 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110533 if test -n "$cxx_z_relo"; then
110534 OPT_LDFLAGS="-Wl,-z,relro"
110535 ac_ld_relro=yes
110537 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110538 echo "${ECHO_T}$ac_ld_relro" >&6
110541 # Set linker optimization flags.
110542 if test x"$with_gnu_ld" = x"yes"; then
110543 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110551 echo "$as_me:$LINENO: checking for main in -lm" >&5
110552 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110553 if test "${ac_cv_lib_m_main+set}" = set; then
110554 echo $ECHO_N "(cached) $ECHO_C" >&6
110556 ac_check_lib_save_LIBS=$LIBS
110557 LIBS="-lm $LIBS"
110558 if test x$gcc_no_link = xyes; then
110559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110561 { (exit 1); exit 1; }; }
110563 cat >conftest.$ac_ext <<_ACEOF
110564 /* confdefs.h. */
110565 _ACEOF
110566 cat confdefs.h >>conftest.$ac_ext
110567 cat >>conftest.$ac_ext <<_ACEOF
110568 /* end confdefs.h. */
110572 main ()
110574 main ();
110576 return 0;
110578 _ACEOF
110579 rm -f conftest.$ac_objext conftest$ac_exeext
110580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110581 (eval $ac_link) 2>conftest.er1
110582 ac_status=$?
110583 grep -v '^ *+' conftest.er1 >conftest.err
110584 rm -f conftest.er1
110585 cat conftest.err >&5
110586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110587 (exit $ac_status); } &&
110588 { ac_try='test -z "$ac_c_werror_flag"
110589 || test ! -s conftest.err'
110590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110591 (eval $ac_try) 2>&5
110592 ac_status=$?
110593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110594 (exit $ac_status); }; } &&
110595 { ac_try='test -s conftest$ac_exeext'
110596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110597 (eval $ac_try) 2>&5
110598 ac_status=$?
110599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110600 (exit $ac_status); }; }; then
110601 ac_cv_lib_m_main=yes
110603 echo "$as_me: failed program was:" >&5
110604 sed 's/^/| /' conftest.$ac_ext >&5
110606 ac_cv_lib_m_main=no
110608 rm -f conftest.err conftest.$ac_objext \
110609 conftest$ac_exeext conftest.$ac_ext
110610 LIBS=$ac_check_lib_save_LIBS
110612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110613 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110614 if test $ac_cv_lib_m_main = yes; then
110615 cat >>confdefs.h <<_ACEOF
110616 #define HAVE_LIBM 1
110617 _ACEOF
110619 LIBS="-lm $LIBS"
110624 for ac_func in copysignf
110626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110627 echo "$as_me:$LINENO: checking for $ac_func" >&5
110628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110629 if eval "test \"\${$as_ac_var+set}\" = set"; then
110630 echo $ECHO_N "(cached) $ECHO_C" >&6
110632 if test x$gcc_no_link = xyes; then
110633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110635 { (exit 1); exit 1; }; }
110637 cat >conftest.$ac_ext <<_ACEOF
110638 /* confdefs.h. */
110639 _ACEOF
110640 cat confdefs.h >>conftest.$ac_ext
110641 cat >>conftest.$ac_ext <<_ACEOF
110642 /* end confdefs.h. */
110643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110645 #define $ac_func innocuous_$ac_func
110647 /* System header to define __stub macros and hopefully few prototypes,
110648 which can conflict with char $ac_func (); below.
110649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110650 <limits.h> exists even on freestanding compilers. */
110652 #ifdef __STDC__
110653 # include <limits.h>
110654 #else
110655 # include <assert.h>
110656 #endif
110658 #undef $ac_func
110660 /* Override any gcc2 internal prototype to avoid an error. */
110661 #ifdef __cplusplus
110662 extern "C"
110664 #endif
110665 /* We use char because int might match the return type of a gcc2
110666 builtin and then its argument prototype would still apply. */
110667 char $ac_func ();
110668 /* The GNU C library defines this for functions which it implements
110669 to always fail with ENOSYS. Some functions are actually named
110670 something starting with __ and the normal name is an alias. */
110671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110672 choke me
110673 #else
110674 char (*f) () = $ac_func;
110675 #endif
110676 #ifdef __cplusplus
110678 #endif
110681 main ()
110683 return f != $ac_func;
110685 return 0;
110687 _ACEOF
110688 rm -f conftest.$ac_objext conftest$ac_exeext
110689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110690 (eval $ac_link) 2>conftest.er1
110691 ac_status=$?
110692 grep -v '^ *+' conftest.er1 >conftest.err
110693 rm -f conftest.er1
110694 cat conftest.err >&5
110695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110696 (exit $ac_status); } &&
110697 { ac_try='test -z "$ac_c_werror_flag"
110698 || test ! -s conftest.err'
110699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110700 (eval $ac_try) 2>&5
110701 ac_status=$?
110702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110703 (exit $ac_status); }; } &&
110704 { ac_try='test -s conftest$ac_exeext'
110705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110706 (eval $ac_try) 2>&5
110707 ac_status=$?
110708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110709 (exit $ac_status); }; }; then
110710 eval "$as_ac_var=yes"
110712 echo "$as_me: failed program was:" >&5
110713 sed 's/^/| /' conftest.$ac_ext >&5
110715 eval "$as_ac_var=no"
110717 rm -f conftest.err conftest.$ac_objext \
110718 conftest$ac_exeext conftest.$ac_ext
110720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110722 if test `eval echo '${'$as_ac_var'}'` = yes; then
110723 cat >>confdefs.h <<_ACEOF
110724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110725 _ACEOF
110728 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110734 for ac_func in __signbit
110736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110737 echo "$as_me:$LINENO: checking for $ac_func" >&5
110738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110739 if eval "test \"\${$as_ac_var+set}\" = set"; then
110740 echo $ECHO_N "(cached) $ECHO_C" >&6
110742 if test x$gcc_no_link = xyes; then
110743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110745 { (exit 1); exit 1; }; }
110747 cat >conftest.$ac_ext <<_ACEOF
110748 /* confdefs.h. */
110749 _ACEOF
110750 cat confdefs.h >>conftest.$ac_ext
110751 cat >>conftest.$ac_ext <<_ACEOF
110752 /* end confdefs.h. */
110753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110755 #define $ac_func innocuous_$ac_func
110757 /* System header to define __stub macros and hopefully few prototypes,
110758 which can conflict with char $ac_func (); below.
110759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110760 <limits.h> exists even on freestanding compilers. */
110762 #ifdef __STDC__
110763 # include <limits.h>
110764 #else
110765 # include <assert.h>
110766 #endif
110768 #undef $ac_func
110770 /* Override any gcc2 internal prototype to avoid an error. */
110771 #ifdef __cplusplus
110772 extern "C"
110774 #endif
110775 /* We use char because int might match the return type of a gcc2
110776 builtin and then its argument prototype would still apply. */
110777 char $ac_func ();
110778 /* The GNU C library defines this for functions which it implements
110779 to always fail with ENOSYS. Some functions are actually named
110780 something starting with __ and the normal name is an alias. */
110781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110782 choke me
110783 #else
110784 char (*f) () = $ac_func;
110785 #endif
110786 #ifdef __cplusplus
110788 #endif
110791 main ()
110793 return f != $ac_func;
110795 return 0;
110797 _ACEOF
110798 rm -f conftest.$ac_objext conftest$ac_exeext
110799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110800 (eval $ac_link) 2>conftest.er1
110801 ac_status=$?
110802 grep -v '^ *+' conftest.er1 >conftest.err
110803 rm -f conftest.er1
110804 cat conftest.err >&5
110805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110806 (exit $ac_status); } &&
110807 { ac_try='test -z "$ac_c_werror_flag"
110808 || test ! -s conftest.err'
110809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110810 (eval $ac_try) 2>&5
110811 ac_status=$?
110812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110813 (exit $ac_status); }; } &&
110814 { ac_try='test -s conftest$ac_exeext'
110815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110816 (eval $ac_try) 2>&5
110817 ac_status=$?
110818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110819 (exit $ac_status); }; }; then
110820 eval "$as_ac_var=yes"
110822 echo "$as_me: failed program was:" >&5
110823 sed 's/^/| /' conftest.$ac_ext >&5
110825 eval "$as_ac_var=no"
110827 rm -f conftest.err conftest.$ac_objext \
110828 conftest$ac_exeext conftest.$ac_ext
110830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110832 if test `eval echo '${'$as_ac_var'}'` = yes; then
110833 cat >>confdefs.h <<_ACEOF
110834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110835 _ACEOF
110838 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110844 for ac_func in __signbitf
110846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110847 echo "$as_me:$LINENO: checking for $ac_func" >&5
110848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110849 if eval "test \"\${$as_ac_var+set}\" = set"; then
110850 echo $ECHO_N "(cached) $ECHO_C" >&6
110852 if test x$gcc_no_link = xyes; then
110853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110855 { (exit 1); exit 1; }; }
110857 cat >conftest.$ac_ext <<_ACEOF
110858 /* confdefs.h. */
110859 _ACEOF
110860 cat confdefs.h >>conftest.$ac_ext
110861 cat >>conftest.$ac_ext <<_ACEOF
110862 /* end confdefs.h. */
110863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110865 #define $ac_func innocuous_$ac_func
110867 /* System header to define __stub macros and hopefully few prototypes,
110868 which can conflict with char $ac_func (); below.
110869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110870 <limits.h> exists even on freestanding compilers. */
110872 #ifdef __STDC__
110873 # include <limits.h>
110874 #else
110875 # include <assert.h>
110876 #endif
110878 #undef $ac_func
110880 /* Override any gcc2 internal prototype to avoid an error. */
110881 #ifdef __cplusplus
110882 extern "C"
110884 #endif
110885 /* We use char because int might match the return type of a gcc2
110886 builtin and then its argument prototype would still apply. */
110887 char $ac_func ();
110888 /* The GNU C library defines this for functions which it implements
110889 to always fail with ENOSYS. Some functions are actually named
110890 something starting with __ and the normal name is an alias. */
110891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110892 choke me
110893 #else
110894 char (*f) () = $ac_func;
110895 #endif
110896 #ifdef __cplusplus
110898 #endif
110901 main ()
110903 return f != $ac_func;
110905 return 0;
110907 _ACEOF
110908 rm -f conftest.$ac_objext conftest$ac_exeext
110909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110910 (eval $ac_link) 2>conftest.er1
110911 ac_status=$?
110912 grep -v '^ *+' conftest.er1 >conftest.err
110913 rm -f conftest.er1
110914 cat conftest.err >&5
110915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110916 (exit $ac_status); } &&
110917 { ac_try='test -z "$ac_c_werror_flag"
110918 || test ! -s conftest.err'
110919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110920 (eval $ac_try) 2>&5
110921 ac_status=$?
110922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110923 (exit $ac_status); }; } &&
110924 { ac_try='test -s conftest$ac_exeext'
110925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110926 (eval $ac_try) 2>&5
110927 ac_status=$?
110928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110929 (exit $ac_status); }; }; then
110930 eval "$as_ac_var=yes"
110932 echo "$as_me: failed program was:" >&5
110933 sed 's/^/| /' conftest.$ac_ext >&5
110935 eval "$as_ac_var=no"
110937 rm -f conftest.err conftest.$ac_objext \
110938 conftest$ac_exeext conftest.$ac_ext
110940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110942 if test `eval echo '${'$as_ac_var'}'` = yes; then
110943 cat >>confdefs.h <<_ACEOF
110944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110945 _ACEOF
110948 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110953 if test x$ac_cv_func_copysignl = x"yes"; then
110955 for ac_func in __signbitl
110957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110958 echo "$as_me:$LINENO: checking for $ac_func" >&5
110959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110960 if eval "test \"\${$as_ac_var+set}\" = set"; then
110961 echo $ECHO_N "(cached) $ECHO_C" >&6
110963 if test x$gcc_no_link = xyes; then
110964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110966 { (exit 1); exit 1; }; }
110968 cat >conftest.$ac_ext <<_ACEOF
110969 /* confdefs.h. */
110970 _ACEOF
110971 cat confdefs.h >>conftest.$ac_ext
110972 cat >>conftest.$ac_ext <<_ACEOF
110973 /* end confdefs.h. */
110974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110976 #define $ac_func innocuous_$ac_func
110978 /* System header to define __stub macros and hopefully few prototypes,
110979 which can conflict with char $ac_func (); below.
110980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110981 <limits.h> exists even on freestanding compilers. */
110983 #ifdef __STDC__
110984 # include <limits.h>
110985 #else
110986 # include <assert.h>
110987 #endif
110989 #undef $ac_func
110991 /* Override any gcc2 internal prototype to avoid an error. */
110992 #ifdef __cplusplus
110993 extern "C"
110995 #endif
110996 /* We use char because int might match the return type of a gcc2
110997 builtin and then its argument prototype would still apply. */
110998 char $ac_func ();
110999 /* The GNU C library defines this for functions which it implements
111000 to always fail with ENOSYS. Some functions are actually named
111001 something starting with __ and the normal name is an alias. */
111002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111003 choke me
111004 #else
111005 char (*f) () = $ac_func;
111006 #endif
111007 #ifdef __cplusplus
111009 #endif
111012 main ()
111014 return f != $ac_func;
111016 return 0;
111018 _ACEOF
111019 rm -f conftest.$ac_objext conftest$ac_exeext
111020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111021 (eval $ac_link) 2>conftest.er1
111022 ac_status=$?
111023 grep -v '^ *+' conftest.er1 >conftest.err
111024 rm -f conftest.er1
111025 cat conftest.err >&5
111026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111027 (exit $ac_status); } &&
111028 { ac_try='test -z "$ac_c_werror_flag"
111029 || test ! -s conftest.err'
111030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111031 (eval $ac_try) 2>&5
111032 ac_status=$?
111033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111034 (exit $ac_status); }; } &&
111035 { ac_try='test -s conftest$ac_exeext'
111036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111037 (eval $ac_try) 2>&5
111038 ac_status=$?
111039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111040 (exit $ac_status); }; }; then
111041 eval "$as_ac_var=yes"
111043 echo "$as_me: failed program was:" >&5
111044 sed 's/^/| /' conftest.$ac_ext >&5
111046 eval "$as_ac_var=no"
111048 rm -f conftest.err conftest.$ac_objext \
111049 conftest$ac_exeext conftest.$ac_ext
111051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111053 if test `eval echo '${'$as_ac_var'}'` = yes; then
111054 cat >>confdefs.h <<_ACEOF
111055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111056 _ACEOF
111059 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111065 # Used in libmath/Makefile.am.
111066 if test -n "$LIBMATHOBJS"; then
111067 need_libmath=yes
111071 cat >>confdefs.h <<\_ACEOF
111072 #define HAVE_HYPOT 1
111073 _ACEOF
111075 cat >>confdefs.h <<\_ACEOF
111076 #define HAVE_ISINF 1
111077 _ACEOF
111079 cat >>confdefs.h <<\_ACEOF
111080 #define HAVE_ISNAN 1
111081 _ACEOF
111084 # For showmanyc_helper().
111087 for ac_header in sys/ioctl.h sys/filio.h
111089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111091 echo "$as_me:$LINENO: checking for $ac_header" >&5
111092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111094 echo $ECHO_N "(cached) $ECHO_C" >&6
111096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111099 # Is the header compilable?
111100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111102 cat >conftest.$ac_ext <<_ACEOF
111103 /* confdefs.h. */
111104 _ACEOF
111105 cat confdefs.h >>conftest.$ac_ext
111106 cat >>conftest.$ac_ext <<_ACEOF
111107 /* end confdefs.h. */
111108 $ac_includes_default
111109 #include <$ac_header>
111110 _ACEOF
111111 rm -f conftest.$ac_objext
111112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111113 (eval $ac_compile) 2>conftest.er1
111114 ac_status=$?
111115 grep -v '^ *+' conftest.er1 >conftest.err
111116 rm -f conftest.er1
111117 cat conftest.err >&5
111118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111119 (exit $ac_status); } &&
111120 { ac_try='test -z "$ac_c_werror_flag"
111121 || test ! -s conftest.err'
111122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111123 (eval $ac_try) 2>&5
111124 ac_status=$?
111125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111126 (exit $ac_status); }; } &&
111127 { ac_try='test -s conftest.$ac_objext'
111128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111129 (eval $ac_try) 2>&5
111130 ac_status=$?
111131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111132 (exit $ac_status); }; }; then
111133 ac_header_compiler=yes
111135 echo "$as_me: failed program was:" >&5
111136 sed 's/^/| /' conftest.$ac_ext >&5
111138 ac_header_compiler=no
111140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111142 echo "${ECHO_T}$ac_header_compiler" >&6
111144 # Is the header present?
111145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111147 cat >conftest.$ac_ext <<_ACEOF
111148 /* confdefs.h. */
111149 _ACEOF
111150 cat confdefs.h >>conftest.$ac_ext
111151 cat >>conftest.$ac_ext <<_ACEOF
111152 /* end confdefs.h. */
111153 #include <$ac_header>
111154 _ACEOF
111155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111157 ac_status=$?
111158 grep -v '^ *+' conftest.er1 >conftest.err
111159 rm -f conftest.er1
111160 cat conftest.err >&5
111161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111162 (exit $ac_status); } >/dev/null; then
111163 if test -s conftest.err; then
111164 ac_cpp_err=$ac_c_preproc_warn_flag
111165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111167 ac_cpp_err=
111170 ac_cpp_err=yes
111172 if test -z "$ac_cpp_err"; then
111173 ac_header_preproc=yes
111175 echo "$as_me: failed program was:" >&5
111176 sed 's/^/| /' conftest.$ac_ext >&5
111178 ac_header_preproc=no
111180 rm -f conftest.err conftest.$ac_ext
111181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111182 echo "${ECHO_T}$ac_header_preproc" >&6
111184 # So? What about this header?
111185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111186 yes:no: )
111187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111191 ac_header_preproc=yes
111193 no:yes:* )
111194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111207 cat <<\_ASBOX
111208 ## ----------------------------------------- ##
111209 ## Report this to the package-unused lists. ##
111210 ## ----------------------------------------- ##
111211 _ASBOX
111213 sed "s/^/$as_me: WARNING: /" >&2
111216 echo "$as_me:$LINENO: checking for $ac_header" >&5
111217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111219 echo $ECHO_N "(cached) $ECHO_C" >&6
111221 eval "$as_ac_Header=\$ac_header_preproc"
111223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111228 cat >>confdefs.h <<_ACEOF
111229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111230 _ACEOF
111237 echo "$as_me:$LINENO: checking for poll" >&5
111238 echo $ECHO_N "checking for poll... $ECHO_C" >&6
111239 if test "${glibcxx_cv_POLL+set}" = set; then
111240 echo $ECHO_N "(cached) $ECHO_C" >&6
111243 if test x$gcc_no_link = xyes; then
111244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111246 { (exit 1); exit 1; }; }
111248 cat >conftest.$ac_ext <<_ACEOF
111249 /* confdefs.h. */
111250 _ACEOF
111251 cat confdefs.h >>conftest.$ac_ext
111252 cat >>conftest.$ac_ext <<_ACEOF
111253 /* end confdefs.h. */
111254 #include <poll.h>
111256 main ()
111258 struct pollfd pfd[1];
111259 pfd[0].events = POLLIN;
111260 poll(pfd, 1, 0);
111262 return 0;
111264 _ACEOF
111265 rm -f conftest.$ac_objext conftest$ac_exeext
111266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111267 (eval $ac_link) 2>conftest.er1
111268 ac_status=$?
111269 grep -v '^ *+' conftest.er1 >conftest.err
111270 rm -f conftest.er1
111271 cat conftest.err >&5
111272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111273 (exit $ac_status); } &&
111274 { ac_try='test -z "$ac_c_werror_flag"
111275 || test ! -s conftest.err'
111276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111277 (eval $ac_try) 2>&5
111278 ac_status=$?
111279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111280 (exit $ac_status); }; } &&
111281 { ac_try='test -s conftest$ac_exeext'
111282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111283 (eval $ac_try) 2>&5
111284 ac_status=$?
111285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111286 (exit $ac_status); }; }; then
111287 glibcxx_cv_POLL=yes
111289 echo "$as_me: failed program was:" >&5
111290 sed 's/^/| /' conftest.$ac_ext >&5
111292 glibcxx_cv_POLL=no
111294 rm -f conftest.err conftest.$ac_objext \
111295 conftest$ac_exeext conftest.$ac_ext
111299 if test $glibcxx_cv_POLL = yes; then
111301 cat >>confdefs.h <<\_ACEOF
111302 #define HAVE_POLL 1
111303 _ACEOF
111306 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
111307 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
111310 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
111311 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
111312 if test "${glibcxx_cv_S_ISREG+set}" = set; then
111313 echo $ECHO_N "(cached) $ECHO_C" >&6
111316 if test x$gcc_no_link = xyes; then
111317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111319 { (exit 1); exit 1; }; }
111321 cat >conftest.$ac_ext <<_ACEOF
111322 /* confdefs.h. */
111323 _ACEOF
111324 cat confdefs.h >>conftest.$ac_ext
111325 cat >>conftest.$ac_ext <<_ACEOF
111326 /* end confdefs.h. */
111327 #include <sys/stat.h>
111329 main ()
111331 struct stat buffer;
111332 fstat(0, &buffer);
111333 S_ISREG(buffer.st_mode);
111335 return 0;
111337 _ACEOF
111338 rm -f conftest.$ac_objext conftest$ac_exeext
111339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111340 (eval $ac_link) 2>conftest.er1
111341 ac_status=$?
111342 grep -v '^ *+' conftest.er1 >conftest.err
111343 rm -f conftest.er1
111344 cat conftest.err >&5
111345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111346 (exit $ac_status); } &&
111347 { ac_try='test -z "$ac_c_werror_flag"
111348 || test ! -s conftest.err'
111349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111350 (eval $ac_try) 2>&5
111351 ac_status=$?
111352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111353 (exit $ac_status); }; } &&
111354 { ac_try='test -s conftest$ac_exeext'
111355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111356 (eval $ac_try) 2>&5
111357 ac_status=$?
111358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111359 (exit $ac_status); }; }; then
111360 glibcxx_cv_S_ISREG=yes
111362 echo "$as_me: failed program was:" >&5
111363 sed 's/^/| /' conftest.$ac_ext >&5
111365 glibcxx_cv_S_ISREG=no
111367 rm -f conftest.err conftest.$ac_objext \
111368 conftest$ac_exeext conftest.$ac_ext
111372 if test "${glibcxx_cv_S_IFREG+set}" = set; then
111373 echo $ECHO_N "(cached) $ECHO_C" >&6
111376 if test x$gcc_no_link = xyes; then
111377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111379 { (exit 1); exit 1; }; }
111381 cat >conftest.$ac_ext <<_ACEOF
111382 /* confdefs.h. */
111383 _ACEOF
111384 cat confdefs.h >>conftest.$ac_ext
111385 cat >>conftest.$ac_ext <<_ACEOF
111386 /* end confdefs.h. */
111387 #include <sys/stat.h>
111389 main ()
111391 struct stat buffer;
111392 fstat(0, &buffer);
111393 S_IFREG & buffer.st_mode;
111395 return 0;
111397 _ACEOF
111398 rm -f conftest.$ac_objext conftest$ac_exeext
111399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111400 (eval $ac_link) 2>conftest.er1
111401 ac_status=$?
111402 grep -v '^ *+' conftest.er1 >conftest.err
111403 rm -f conftest.er1
111404 cat conftest.err >&5
111405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111406 (exit $ac_status); } &&
111407 { ac_try='test -z "$ac_c_werror_flag"
111408 || test ! -s conftest.err'
111409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111410 (eval $ac_try) 2>&5
111411 ac_status=$?
111412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111413 (exit $ac_status); }; } &&
111414 { ac_try='test -s conftest$ac_exeext'
111415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111416 (eval $ac_try) 2>&5
111417 ac_status=$?
111418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111419 (exit $ac_status); }; }; then
111420 glibcxx_cv_S_IFREG=yes
111422 echo "$as_me: failed program was:" >&5
111423 sed 's/^/| /' conftest.$ac_ext >&5
111425 glibcxx_cv_S_IFREG=no
111427 rm -f conftest.err conftest.$ac_objext \
111428 conftest$ac_exeext conftest.$ac_ext
111432 res=no
111433 if test $glibcxx_cv_S_ISREG = yes; then
111435 cat >>confdefs.h <<\_ACEOF
111436 #define HAVE_S_ISREG 1
111437 _ACEOF
111439 res=S_ISREG
111440 elif test $glibcxx_cv_S_IFREG = yes; then
111442 cat >>confdefs.h <<\_ACEOF
111443 #define HAVE_S_IFREG 1
111444 _ACEOF
111446 res=S_IFREG
111448 echo "$as_me:$LINENO: result: $res" >&5
111449 echo "${ECHO_T}$res" >&6
111452 # For xsputn_2().
111454 for ac_header in sys/uio.h
111456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111458 echo "$as_me:$LINENO: checking for $ac_header" >&5
111459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111461 echo $ECHO_N "(cached) $ECHO_C" >&6
111463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111466 # Is the header compilable?
111467 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111469 cat >conftest.$ac_ext <<_ACEOF
111470 /* confdefs.h. */
111471 _ACEOF
111472 cat confdefs.h >>conftest.$ac_ext
111473 cat >>conftest.$ac_ext <<_ACEOF
111474 /* end confdefs.h. */
111475 $ac_includes_default
111476 #include <$ac_header>
111477 _ACEOF
111478 rm -f conftest.$ac_objext
111479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111480 (eval $ac_compile) 2>conftest.er1
111481 ac_status=$?
111482 grep -v '^ *+' conftest.er1 >conftest.err
111483 rm -f conftest.er1
111484 cat conftest.err >&5
111485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111486 (exit $ac_status); } &&
111487 { ac_try='test -z "$ac_c_werror_flag"
111488 || test ! -s conftest.err'
111489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111490 (eval $ac_try) 2>&5
111491 ac_status=$?
111492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111493 (exit $ac_status); }; } &&
111494 { ac_try='test -s conftest.$ac_objext'
111495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111496 (eval $ac_try) 2>&5
111497 ac_status=$?
111498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111499 (exit $ac_status); }; }; then
111500 ac_header_compiler=yes
111502 echo "$as_me: failed program was:" >&5
111503 sed 's/^/| /' conftest.$ac_ext >&5
111505 ac_header_compiler=no
111507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111509 echo "${ECHO_T}$ac_header_compiler" >&6
111511 # Is the header present?
111512 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111514 cat >conftest.$ac_ext <<_ACEOF
111515 /* confdefs.h. */
111516 _ACEOF
111517 cat confdefs.h >>conftest.$ac_ext
111518 cat >>conftest.$ac_ext <<_ACEOF
111519 /* end confdefs.h. */
111520 #include <$ac_header>
111521 _ACEOF
111522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111524 ac_status=$?
111525 grep -v '^ *+' conftest.er1 >conftest.err
111526 rm -f conftest.er1
111527 cat conftest.err >&5
111528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111529 (exit $ac_status); } >/dev/null; then
111530 if test -s conftest.err; then
111531 ac_cpp_err=$ac_c_preproc_warn_flag
111532 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111534 ac_cpp_err=
111537 ac_cpp_err=yes
111539 if test -z "$ac_cpp_err"; then
111540 ac_header_preproc=yes
111542 echo "$as_me: failed program was:" >&5
111543 sed 's/^/| /' conftest.$ac_ext >&5
111545 ac_header_preproc=no
111547 rm -f conftest.err conftest.$ac_ext
111548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111549 echo "${ECHO_T}$ac_header_preproc" >&6
111551 # So? What about this header?
111552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111553 yes:no: )
111554 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111555 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111557 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111558 ac_header_preproc=yes
111560 no:yes:* )
111561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111565 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111566 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111567 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111568 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111571 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111572 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111574 cat <<\_ASBOX
111575 ## ----------------------------------------- ##
111576 ## Report this to the package-unused lists. ##
111577 ## ----------------------------------------- ##
111578 _ASBOX
111580 sed "s/^/$as_me: WARNING: /" >&2
111583 echo "$as_me:$LINENO: checking for $ac_header" >&5
111584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111586 echo $ECHO_N "(cached) $ECHO_C" >&6
111588 eval "$as_ac_Header=\$ac_header_preproc"
111590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111595 cat >>confdefs.h <<_ACEOF
111596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111597 _ACEOF
111604 echo "$as_me:$LINENO: checking for writev" >&5
111605 echo $ECHO_N "checking for writev... $ECHO_C" >&6
111606 if test "${glibcxx_cv_WRITEV+set}" = set; then
111607 echo $ECHO_N "(cached) $ECHO_C" >&6
111610 if test x$gcc_no_link = xyes; then
111611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111613 { (exit 1); exit 1; }; }
111615 cat >conftest.$ac_ext <<_ACEOF
111616 /* confdefs.h. */
111617 _ACEOF
111618 cat confdefs.h >>conftest.$ac_ext
111619 cat >>conftest.$ac_ext <<_ACEOF
111620 /* end confdefs.h. */
111621 #include <sys/uio.h>
111623 main ()
111625 struct iovec iov[2];
111626 writev(0, iov, 0);
111628 return 0;
111630 _ACEOF
111631 rm -f conftest.$ac_objext conftest$ac_exeext
111632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111633 (eval $ac_link) 2>conftest.er1
111634 ac_status=$?
111635 grep -v '^ *+' conftest.er1 >conftest.err
111636 rm -f conftest.er1
111637 cat conftest.err >&5
111638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111639 (exit $ac_status); } &&
111640 { ac_try='test -z "$ac_c_werror_flag"
111641 || test ! -s conftest.err'
111642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111643 (eval $ac_try) 2>&5
111644 ac_status=$?
111645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111646 (exit $ac_status); }; } &&
111647 { ac_try='test -s conftest$ac_exeext'
111648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111649 (eval $ac_try) 2>&5
111650 ac_status=$?
111651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111652 (exit $ac_status); }; }; then
111653 glibcxx_cv_WRITEV=yes
111655 echo "$as_me: failed program was:" >&5
111656 sed 's/^/| /' conftest.$ac_ext >&5
111658 glibcxx_cv_WRITEV=no
111660 rm -f conftest.err conftest.$ac_objext \
111661 conftest$ac_exeext conftest.$ac_ext
111665 if test $glibcxx_cv_WRITEV = yes; then
111667 cat >>confdefs.h <<\_ACEOF
111668 #define HAVE_WRITEV 1
111669 _ACEOF
111672 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
111673 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
111676 *-qnx6.1* | *-qnx6.2*)
111677 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111680 # If we're not using GNU ld, then there's no point in even trying these
111681 # tests. Check for that first. We should have already tested for gld
111682 # by now (in libtool), but require it now just to be safe...
111683 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111684 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111688 # The name set by libtool depends on the version of libtool. Shame on us
111689 # for depending on an impl detail, but c'est la vie. Older versions used
111690 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111691 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111692 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111693 # set (hence we're using an older libtool), then set it.
111694 if test x${with_gnu_ld+set} != xset; then
111695 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111696 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111697 with_gnu_ld=no
111699 with_gnu_ld=$ac_cv_prog_gnu_ld
111703 # Start by getting the version number. I think the libtool test already
111704 # does some of this, but throws away the result.
111705 if test x"$with_gnu_ld" = x"yes"; then
111706 echo "$as_me:$LINENO: checking for ld version" >&5
111707 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111709 ldver=`$LD --version 2>/dev/null | head -1 | \
111710 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
111712 glibcxx_gnu_ld_version=`echo $ldver | \
111713 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111714 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111715 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111718 # Set --gc-sections.
111719 glibcxx_gcsections_min_ld=21602
111720 if test x"$with_gnu_ld" = x"yes" &&
111721 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111723 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111724 # NB: This flag only works reliably after 2.16.1. Configure tests
111725 # for this are difficult, so hard wire a value that should work.
111727 ac_test_CFLAGS="${CFLAGS+set}"
111728 ac_save_CFLAGS="$CFLAGS"
111729 CFLAGS='-Wl,--gc-sections'
111731 # Check for -Wl,--gc-sections
111732 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111733 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111734 if test x$gcc_no_link = xyes; then
111735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111737 { (exit 1); exit 1; }; }
111739 cat >conftest.$ac_ext <<_ACEOF
111740 /* confdefs.h. */
111741 _ACEOF
111742 cat confdefs.h >>conftest.$ac_ext
111743 cat >>conftest.$ac_ext <<_ACEOF
111744 /* end confdefs.h. */
111745 int one(void) { return 1; }
111746 int two(void) { return 2; }
111749 main ()
111751 two();
111753 return 0;
111755 _ACEOF
111756 rm -f conftest.$ac_objext conftest$ac_exeext
111757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111758 (eval $ac_link) 2>conftest.er1
111759 ac_status=$?
111760 grep -v '^ *+' conftest.er1 >conftest.err
111761 rm -f conftest.er1
111762 cat conftest.err >&5
111763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111764 (exit $ac_status); } &&
111765 { ac_try='test -z "$ac_c_werror_flag"
111766 || test ! -s conftest.err'
111767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111768 (eval $ac_try) 2>&5
111769 ac_status=$?
111770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111771 (exit $ac_status); }; } &&
111772 { ac_try='test -s conftest$ac_exeext'
111773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111774 (eval $ac_try) 2>&5
111775 ac_status=$?
111776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111777 (exit $ac_status); }; }; then
111778 ac_gcsections=yes
111780 echo "$as_me: failed program was:" >&5
111781 sed 's/^/| /' conftest.$ac_ext >&5
111783 ac_gcsections=no
111785 rm -f conftest.err conftest.$ac_objext \
111786 conftest$ac_exeext conftest.$ac_ext
111787 if test "$ac_gcsections" = "yes"; then
111788 rm -f conftest.c
111789 touch conftest.c
111790 if $CC -c conftest.c; then
111791 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111792 grep "Warning: gc-sections option ignored" > /dev/null; then
111793 ac_gcsections=no
111796 rm -f conftest.c conftest.o conftest
111798 if test "$ac_gcsections" = "yes"; then
111799 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111801 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111802 echo "${ECHO_T}$ac_gcsections" >&6
111804 if test "$ac_test_CFLAGS" = set; then
111805 CFLAGS="$ac_save_CFLAGS"
111807 # this is the suspicious part
111808 CFLAGS=''
111812 # Set -z,relro.
111813 # Note this is only for shared objects.
111814 ac_ld_relro=no
111815 if test x"$with_gnu_ld" = x"yes"; then
111816 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111817 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111818 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111819 if test -n "$cxx_z_relo"; then
111820 OPT_LDFLAGS="-Wl,-z,relro"
111821 ac_ld_relro=yes
111823 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111824 echo "${ECHO_T}$ac_ld_relro" >&6
111827 # Set linker optimization flags.
111828 if test x"$with_gnu_ld" = x"yes"; then
111829 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111837 echo "$as_me:$LINENO: checking for main in -lm" >&5
111838 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111839 if test "${ac_cv_lib_m_main+set}" = set; then
111840 echo $ECHO_N "(cached) $ECHO_C" >&6
111842 ac_check_lib_save_LIBS=$LIBS
111843 LIBS="-lm $LIBS"
111844 if test x$gcc_no_link = xyes; then
111845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111847 { (exit 1); exit 1; }; }
111849 cat >conftest.$ac_ext <<_ACEOF
111850 /* confdefs.h. */
111851 _ACEOF
111852 cat confdefs.h >>conftest.$ac_ext
111853 cat >>conftest.$ac_ext <<_ACEOF
111854 /* end confdefs.h. */
111858 main ()
111860 main ();
111862 return 0;
111864 _ACEOF
111865 rm -f conftest.$ac_objext conftest$ac_exeext
111866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111867 (eval $ac_link) 2>conftest.er1
111868 ac_status=$?
111869 grep -v '^ *+' conftest.er1 >conftest.err
111870 rm -f conftest.er1
111871 cat conftest.err >&5
111872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111873 (exit $ac_status); } &&
111874 { ac_try='test -z "$ac_c_werror_flag"
111875 || test ! -s conftest.err'
111876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111877 (eval $ac_try) 2>&5
111878 ac_status=$?
111879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111880 (exit $ac_status); }; } &&
111881 { ac_try='test -s conftest$ac_exeext'
111882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111883 (eval $ac_try) 2>&5
111884 ac_status=$?
111885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111886 (exit $ac_status); }; }; then
111887 ac_cv_lib_m_main=yes
111889 echo "$as_me: failed program was:" >&5
111890 sed 's/^/| /' conftest.$ac_ext >&5
111892 ac_cv_lib_m_main=no
111894 rm -f conftest.err conftest.$ac_objext \
111895 conftest$ac_exeext conftest.$ac_ext
111896 LIBS=$ac_check_lib_save_LIBS
111898 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111899 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111900 if test $ac_cv_lib_m_main = yes; then
111901 cat >>confdefs.h <<_ACEOF
111902 #define HAVE_LIBM 1
111903 _ACEOF
111905 LIBS="-lm $LIBS"
111910 for ac_func in copysignf
111912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111913 echo "$as_me:$LINENO: checking for $ac_func" >&5
111914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111915 if eval "test \"\${$as_ac_var+set}\" = set"; then
111916 echo $ECHO_N "(cached) $ECHO_C" >&6
111918 if test x$gcc_no_link = xyes; then
111919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111921 { (exit 1); exit 1; }; }
111923 cat >conftest.$ac_ext <<_ACEOF
111924 /* confdefs.h. */
111925 _ACEOF
111926 cat confdefs.h >>conftest.$ac_ext
111927 cat >>conftest.$ac_ext <<_ACEOF
111928 /* end confdefs.h. */
111929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111931 #define $ac_func innocuous_$ac_func
111933 /* System header to define __stub macros and hopefully few prototypes,
111934 which can conflict with char $ac_func (); below.
111935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111936 <limits.h> exists even on freestanding compilers. */
111938 #ifdef __STDC__
111939 # include <limits.h>
111940 #else
111941 # include <assert.h>
111942 #endif
111944 #undef $ac_func
111946 /* Override any gcc2 internal prototype to avoid an error. */
111947 #ifdef __cplusplus
111948 extern "C"
111950 #endif
111951 /* We use char because int might match the return type of a gcc2
111952 builtin and then its argument prototype would still apply. */
111953 char $ac_func ();
111954 /* The GNU C library defines this for functions which it implements
111955 to always fail with ENOSYS. Some functions are actually named
111956 something starting with __ and the normal name is an alias. */
111957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111958 choke me
111959 #else
111960 char (*f) () = $ac_func;
111961 #endif
111962 #ifdef __cplusplus
111964 #endif
111967 main ()
111969 return f != $ac_func;
111971 return 0;
111973 _ACEOF
111974 rm -f conftest.$ac_objext conftest$ac_exeext
111975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111976 (eval $ac_link) 2>conftest.er1
111977 ac_status=$?
111978 grep -v '^ *+' conftest.er1 >conftest.err
111979 rm -f conftest.er1
111980 cat conftest.err >&5
111981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111982 (exit $ac_status); } &&
111983 { ac_try='test -z "$ac_c_werror_flag"
111984 || test ! -s conftest.err'
111985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111986 (eval $ac_try) 2>&5
111987 ac_status=$?
111988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111989 (exit $ac_status); }; } &&
111990 { ac_try='test -s conftest$ac_exeext'
111991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111992 (eval $ac_try) 2>&5
111993 ac_status=$?
111994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111995 (exit $ac_status); }; }; then
111996 eval "$as_ac_var=yes"
111998 echo "$as_me: failed program was:" >&5
111999 sed 's/^/| /' conftest.$ac_ext >&5
112001 eval "$as_ac_var=no"
112003 rm -f conftest.err conftest.$ac_objext \
112004 conftest$ac_exeext conftest.$ac_ext
112006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112008 if test `eval echo '${'$as_ac_var'}'` = yes; then
112009 cat >>confdefs.h <<_ACEOF
112010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112011 _ACEOF
112014 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112020 for ac_func in __signbit
112022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112023 echo "$as_me:$LINENO: checking for $ac_func" >&5
112024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112025 if eval "test \"\${$as_ac_var+set}\" = set"; then
112026 echo $ECHO_N "(cached) $ECHO_C" >&6
112028 if test x$gcc_no_link = xyes; then
112029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112031 { (exit 1); exit 1; }; }
112033 cat >conftest.$ac_ext <<_ACEOF
112034 /* confdefs.h. */
112035 _ACEOF
112036 cat confdefs.h >>conftest.$ac_ext
112037 cat >>conftest.$ac_ext <<_ACEOF
112038 /* end confdefs.h. */
112039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112041 #define $ac_func innocuous_$ac_func
112043 /* System header to define __stub macros and hopefully few prototypes,
112044 which can conflict with char $ac_func (); below.
112045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112046 <limits.h> exists even on freestanding compilers. */
112048 #ifdef __STDC__
112049 # include <limits.h>
112050 #else
112051 # include <assert.h>
112052 #endif
112054 #undef $ac_func
112056 /* Override any gcc2 internal prototype to avoid an error. */
112057 #ifdef __cplusplus
112058 extern "C"
112060 #endif
112061 /* We use char because int might match the return type of a gcc2
112062 builtin and then its argument prototype would still apply. */
112063 char $ac_func ();
112064 /* The GNU C library defines this for functions which it implements
112065 to always fail with ENOSYS. Some functions are actually named
112066 something starting with __ and the normal name is an alias. */
112067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112068 choke me
112069 #else
112070 char (*f) () = $ac_func;
112071 #endif
112072 #ifdef __cplusplus
112074 #endif
112077 main ()
112079 return f != $ac_func;
112081 return 0;
112083 _ACEOF
112084 rm -f conftest.$ac_objext conftest$ac_exeext
112085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112086 (eval $ac_link) 2>conftest.er1
112087 ac_status=$?
112088 grep -v '^ *+' conftest.er1 >conftest.err
112089 rm -f conftest.er1
112090 cat conftest.err >&5
112091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112092 (exit $ac_status); } &&
112093 { ac_try='test -z "$ac_c_werror_flag"
112094 || test ! -s conftest.err'
112095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112096 (eval $ac_try) 2>&5
112097 ac_status=$?
112098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112099 (exit $ac_status); }; } &&
112100 { ac_try='test -s conftest$ac_exeext'
112101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112102 (eval $ac_try) 2>&5
112103 ac_status=$?
112104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112105 (exit $ac_status); }; }; then
112106 eval "$as_ac_var=yes"
112108 echo "$as_me: failed program was:" >&5
112109 sed 's/^/| /' conftest.$ac_ext >&5
112111 eval "$as_ac_var=no"
112113 rm -f conftest.err conftest.$ac_objext \
112114 conftest$ac_exeext conftest.$ac_ext
112116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112118 if test `eval echo '${'$as_ac_var'}'` = yes; then
112119 cat >>confdefs.h <<_ACEOF
112120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112121 _ACEOF
112124 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112130 for ac_func in __signbitf
112132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112133 echo "$as_me:$LINENO: checking for $ac_func" >&5
112134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112135 if eval "test \"\${$as_ac_var+set}\" = set"; then
112136 echo $ECHO_N "(cached) $ECHO_C" >&6
112138 if test x$gcc_no_link = xyes; then
112139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112141 { (exit 1); exit 1; }; }
112143 cat >conftest.$ac_ext <<_ACEOF
112144 /* confdefs.h. */
112145 _ACEOF
112146 cat confdefs.h >>conftest.$ac_ext
112147 cat >>conftest.$ac_ext <<_ACEOF
112148 /* end confdefs.h. */
112149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112151 #define $ac_func innocuous_$ac_func
112153 /* System header to define __stub macros and hopefully few prototypes,
112154 which can conflict with char $ac_func (); below.
112155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112156 <limits.h> exists even on freestanding compilers. */
112158 #ifdef __STDC__
112159 # include <limits.h>
112160 #else
112161 # include <assert.h>
112162 #endif
112164 #undef $ac_func
112166 /* Override any gcc2 internal prototype to avoid an error. */
112167 #ifdef __cplusplus
112168 extern "C"
112170 #endif
112171 /* We use char because int might match the return type of a gcc2
112172 builtin and then its argument prototype would still apply. */
112173 char $ac_func ();
112174 /* The GNU C library defines this for functions which it implements
112175 to always fail with ENOSYS. Some functions are actually named
112176 something starting with __ and the normal name is an alias. */
112177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112178 choke me
112179 #else
112180 char (*f) () = $ac_func;
112181 #endif
112182 #ifdef __cplusplus
112184 #endif
112187 main ()
112189 return f != $ac_func;
112191 return 0;
112193 _ACEOF
112194 rm -f conftest.$ac_objext conftest$ac_exeext
112195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112196 (eval $ac_link) 2>conftest.er1
112197 ac_status=$?
112198 grep -v '^ *+' conftest.er1 >conftest.err
112199 rm -f conftest.er1
112200 cat conftest.err >&5
112201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112202 (exit $ac_status); } &&
112203 { ac_try='test -z "$ac_c_werror_flag"
112204 || test ! -s conftest.err'
112205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112206 (eval $ac_try) 2>&5
112207 ac_status=$?
112208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112209 (exit $ac_status); }; } &&
112210 { ac_try='test -s conftest$ac_exeext'
112211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112212 (eval $ac_try) 2>&5
112213 ac_status=$?
112214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112215 (exit $ac_status); }; }; then
112216 eval "$as_ac_var=yes"
112218 echo "$as_me: failed program was:" >&5
112219 sed 's/^/| /' conftest.$ac_ext >&5
112221 eval "$as_ac_var=no"
112223 rm -f conftest.err conftest.$ac_objext \
112224 conftest$ac_exeext conftest.$ac_ext
112226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112228 if test `eval echo '${'$as_ac_var'}'` = yes; then
112229 cat >>confdefs.h <<_ACEOF
112230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112231 _ACEOF
112234 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112239 if test x$ac_cv_func_copysignl = x"yes"; then
112241 for ac_func in __signbitl
112243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112244 echo "$as_me:$LINENO: checking for $ac_func" >&5
112245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112246 if eval "test \"\${$as_ac_var+set}\" = set"; then
112247 echo $ECHO_N "(cached) $ECHO_C" >&6
112249 if test x$gcc_no_link = xyes; then
112250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112252 { (exit 1); exit 1; }; }
112254 cat >conftest.$ac_ext <<_ACEOF
112255 /* confdefs.h. */
112256 _ACEOF
112257 cat confdefs.h >>conftest.$ac_ext
112258 cat >>conftest.$ac_ext <<_ACEOF
112259 /* end confdefs.h. */
112260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112262 #define $ac_func innocuous_$ac_func
112264 /* System header to define __stub macros and hopefully few prototypes,
112265 which can conflict with char $ac_func (); below.
112266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112267 <limits.h> exists even on freestanding compilers. */
112269 #ifdef __STDC__
112270 # include <limits.h>
112271 #else
112272 # include <assert.h>
112273 #endif
112275 #undef $ac_func
112277 /* Override any gcc2 internal prototype to avoid an error. */
112278 #ifdef __cplusplus
112279 extern "C"
112281 #endif
112282 /* We use char because int might match the return type of a gcc2
112283 builtin and then its argument prototype would still apply. */
112284 char $ac_func ();
112285 /* The GNU C library defines this for functions which it implements
112286 to always fail with ENOSYS. Some functions are actually named
112287 something starting with __ and the normal name is an alias. */
112288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112289 choke me
112290 #else
112291 char (*f) () = $ac_func;
112292 #endif
112293 #ifdef __cplusplus
112295 #endif
112298 main ()
112300 return f != $ac_func;
112302 return 0;
112304 _ACEOF
112305 rm -f conftest.$ac_objext conftest$ac_exeext
112306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112307 (eval $ac_link) 2>conftest.er1
112308 ac_status=$?
112309 grep -v '^ *+' conftest.er1 >conftest.err
112310 rm -f conftest.er1
112311 cat conftest.err >&5
112312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112313 (exit $ac_status); } &&
112314 { ac_try='test -z "$ac_c_werror_flag"
112315 || test ! -s conftest.err'
112316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112317 (eval $ac_try) 2>&5
112318 ac_status=$?
112319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112320 (exit $ac_status); }; } &&
112321 { ac_try='test -s conftest$ac_exeext'
112322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112323 (eval $ac_try) 2>&5
112324 ac_status=$?
112325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112326 (exit $ac_status); }; }; then
112327 eval "$as_ac_var=yes"
112329 echo "$as_me: failed program was:" >&5
112330 sed 's/^/| /' conftest.$ac_ext >&5
112332 eval "$as_ac_var=no"
112334 rm -f conftest.err conftest.$ac_objext \
112335 conftest$ac_exeext conftest.$ac_ext
112337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112339 if test `eval echo '${'$as_ac_var'}'` = yes; then
112340 cat >>confdefs.h <<_ACEOF
112341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112342 _ACEOF
112345 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112351 # Used in libmath/Makefile.am.
112352 if test -n "$LIBMATHOBJS"; then
112353 need_libmath=yes
112357 cat >>confdefs.h <<\_ACEOF
112358 #define HAVE_COSF 1
112359 _ACEOF
112361 cat >>confdefs.h <<\_ACEOF
112362 #define HAVE_COSL 1
112363 _ACEOF
112365 cat >>confdefs.h <<\_ACEOF
112366 #define HAVE_COSHF 1
112367 _ACEOF
112369 cat >>confdefs.h <<\_ACEOF
112370 #define HAVE_COSHL 1
112371 _ACEOF
112373 cat >>confdefs.h <<\_ACEOF
112374 #define HAVE_LOGF 1
112375 _ACEOF
112377 cat >>confdefs.h <<\_ACEOF
112378 #define HAVE_LOGL 1
112379 _ACEOF
112381 cat >>confdefs.h <<\_ACEOF
112382 #define HAVE_LOG10F 1
112383 _ACEOF
112385 cat >>confdefs.h <<\_ACEOF
112386 #define HAVE_LOG10L 1
112387 _ACEOF
112389 cat >>confdefs.h <<\_ACEOF
112390 #define HAVE_SINF 1
112391 _ACEOF
112393 cat >>confdefs.h <<\_ACEOF
112394 #define HAVE_SINL 1
112395 _ACEOF
112397 cat >>confdefs.h <<\_ACEOF
112398 #define HAVE_SINHF 1
112399 _ACEOF
112401 cat >>confdefs.h <<\_ACEOF
112402 #define HAVE_SINHL 1
112403 _ACEOF
112406 *-solaris*)
112407 case "$target" in
112408 # *-solaris2.5)
112409 # os_include_dir="os/solaris/solaris2.5"
112411 # *-solaris2.6)
112412 # os_include_dir="os/solaris/solaris2.6"
112414 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
112416 # If we're not using GNU ld, then there's no point in even trying these
112417 # tests. Check for that first. We should have already tested for gld
112418 # by now (in libtool), but require it now just to be safe...
112419 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112420 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112424 # The name set by libtool depends on the version of libtool. Shame on us
112425 # for depending on an impl detail, but c'est la vie. Older versions used
112426 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112427 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112428 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112429 # set (hence we're using an older libtool), then set it.
112430 if test x${with_gnu_ld+set} != xset; then
112431 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112432 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112433 with_gnu_ld=no
112435 with_gnu_ld=$ac_cv_prog_gnu_ld
112439 # Start by getting the version number. I think the libtool test already
112440 # does some of this, but throws away the result.
112441 if test x"$with_gnu_ld" = x"yes"; then
112442 echo "$as_me:$LINENO: checking for ld version" >&5
112443 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112445 ldver=`$LD --version 2>/dev/null | head -1 | \
112446 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112448 glibcxx_gnu_ld_version=`echo $ldver | \
112449 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112450 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112451 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112454 # Set --gc-sections.
112455 glibcxx_gcsections_min_ld=21602
112456 if test x"$with_gnu_ld" = x"yes" &&
112457 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112459 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112460 # NB: This flag only works reliably after 2.16.1. Configure tests
112461 # for this are difficult, so hard wire a value that should work.
112463 ac_test_CFLAGS="${CFLAGS+set}"
112464 ac_save_CFLAGS="$CFLAGS"
112465 CFLAGS='-Wl,--gc-sections'
112467 # Check for -Wl,--gc-sections
112468 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112469 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112470 if test x$gcc_no_link = xyes; then
112471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112473 { (exit 1); exit 1; }; }
112475 cat >conftest.$ac_ext <<_ACEOF
112476 /* confdefs.h. */
112477 _ACEOF
112478 cat confdefs.h >>conftest.$ac_ext
112479 cat >>conftest.$ac_ext <<_ACEOF
112480 /* end confdefs.h. */
112481 int one(void) { return 1; }
112482 int two(void) { return 2; }
112485 main ()
112487 two();
112489 return 0;
112491 _ACEOF
112492 rm -f conftest.$ac_objext conftest$ac_exeext
112493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112494 (eval $ac_link) 2>conftest.er1
112495 ac_status=$?
112496 grep -v '^ *+' conftest.er1 >conftest.err
112497 rm -f conftest.er1
112498 cat conftest.err >&5
112499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112500 (exit $ac_status); } &&
112501 { ac_try='test -z "$ac_c_werror_flag"
112502 || test ! -s conftest.err'
112503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112504 (eval $ac_try) 2>&5
112505 ac_status=$?
112506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112507 (exit $ac_status); }; } &&
112508 { ac_try='test -s conftest$ac_exeext'
112509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112510 (eval $ac_try) 2>&5
112511 ac_status=$?
112512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112513 (exit $ac_status); }; }; then
112514 ac_gcsections=yes
112516 echo "$as_me: failed program was:" >&5
112517 sed 's/^/| /' conftest.$ac_ext >&5
112519 ac_gcsections=no
112521 rm -f conftest.err conftest.$ac_objext \
112522 conftest$ac_exeext conftest.$ac_ext
112523 if test "$ac_gcsections" = "yes"; then
112524 rm -f conftest.c
112525 touch conftest.c
112526 if $CC -c conftest.c; then
112527 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112528 grep "Warning: gc-sections option ignored" > /dev/null; then
112529 ac_gcsections=no
112532 rm -f conftest.c conftest.o conftest
112534 if test "$ac_gcsections" = "yes"; then
112535 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112537 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112538 echo "${ECHO_T}$ac_gcsections" >&6
112540 if test "$ac_test_CFLAGS" = set; then
112541 CFLAGS="$ac_save_CFLAGS"
112543 # this is the suspicious part
112544 CFLAGS=''
112548 # Set -z,relro.
112549 # Note this is only for shared objects.
112550 ac_ld_relro=no
112551 if test x"$with_gnu_ld" = x"yes"; then
112552 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112553 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112554 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112555 if test -n "$cxx_z_relo"; then
112556 OPT_LDFLAGS="-Wl,-z,relro"
112557 ac_ld_relro=yes
112559 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112560 echo "${ECHO_T}$ac_ld_relro" >&6
112563 # Set linker optimization flags.
112564 if test x"$with_gnu_ld" = x"yes"; then
112565 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112571 cat >>confdefs.h <<\_ACEOF
112572 #define HAVE_GETPAGESIZE 1
112573 _ACEOF
112575 cat >>confdefs.h <<\_ACEOF
112576 #define HAVE_SIGSETJMP 1
112577 _ACEOF
112579 cat >>confdefs.h <<\_ACEOF
112580 #define HAVE_MBSTATE_T 1
112581 _ACEOF
112583 cat >>confdefs.h <<\_ACEOF
112584 #define HAVE_POLL 1
112585 _ACEOF
112587 cat >>confdefs.h <<\_ACEOF
112588 #define HAVE_S_ISREG 1
112589 _ACEOF
112591 cat >>confdefs.h <<\_ACEOF
112592 #define HAVE_LC_MESSAGES 1
112593 _ACEOF
112595 cat >>confdefs.h <<\_ACEOF
112596 #define HAVE_FINITE 1
112597 _ACEOF
112599 cat >>confdefs.h <<\_ACEOF
112600 #define HAVE_FPCLASS 1
112601 _ACEOF
112603 cat >>confdefs.h <<\_ACEOF
112604 #define HAVE_GETPAGESIZE 1
112605 _ACEOF
112607 # All of the dependencies for wide character support are here, so
112608 # turn it on.
112609 cat >>confdefs.h <<\_ACEOF
112610 #define _GLIBCXX_USE_WCHAR_T 1
112611 _ACEOF
112613 # Are these tested for even when cross?
112614 cat >>confdefs.h <<\_ACEOF
112615 #define HAVE_FLOAT_H 1
112616 _ACEOF
112618 cat >>confdefs.h <<\_ACEOF
112619 #define HAVE_IEEEFP_H 1
112620 _ACEOF
112622 cat >>confdefs.h <<\_ACEOF
112623 #define HAVE_INTTYPES_H 1
112624 _ACEOF
112626 cat >>confdefs.h <<\_ACEOF
112627 #define HAVE_LOCALE_H 1
112628 _ACEOF
112630 cat >>confdefs.h <<\_ACEOF
112631 #define HAVE_NAN_H 1
112632 _ACEOF
112634 cat >>confdefs.h <<\_ACEOF
112635 #define HAVE_SYS_FILIO_H 1
112636 _ACEOF
112638 cat >>confdefs.h <<\_ACEOF
112639 #define HAVE_SYS_IOCTL_H 1
112640 _ACEOF
112642 cat >>confdefs.h <<\_ACEOF
112643 #define HAVE_SYS_ISA_DEFS_H 1
112644 _ACEOF
112646 cat >>confdefs.h <<\_ACEOF
112647 #define HAVE_SYS_RESOURCE_H 1
112648 _ACEOF
112650 cat >>confdefs.h <<\_ACEOF
112651 #define HAVE_SYS_TIME_H 1
112652 _ACEOF
112654 cat >>confdefs.h <<\_ACEOF
112655 #define HAVE_SYS_TYPES_H 1
112656 _ACEOF
112658 cat >>confdefs.h <<\_ACEOF
112659 #define HAVE_UNISTD_H 1
112660 _ACEOF
112662 cat >>confdefs.h <<\_ACEOF
112663 #define HAVE_WCHAR_H 1
112664 _ACEOF
112666 cat >>confdefs.h <<\_ACEOF
112667 #define HAVE_WCTYPE_H 1
112668 _ACEOF
112670 cat >>confdefs.h <<\_ACEOF
112671 #define HAVE_LIBM 1
112672 _ACEOF
112676 case "$target" in
112677 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
112678 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
112679 cat >>confdefs.h <<\_ACEOF
112680 #define HAVE___BUILTIN_ABS 1
112681 _ACEOF
112683 cat >>confdefs.h <<\_ACEOF
112684 #define HAVE___BUILTIN_LABS 1
112685 _ACEOF
112687 cat >>confdefs.h <<\_ACEOF
112688 #define HAVE___BUILTIN_FABS 1
112689 _ACEOF
112691 cat >>confdefs.h <<\_ACEOF
112692 #define HAVE___BUILTIN_FABSF 1
112693 _ACEOF
112695 cat >>confdefs.h <<\_ACEOF
112696 #define HAVE___BUILTIN_FABSL 1
112697 _ACEOF
112699 cat >>confdefs.h <<\_ACEOF
112700 #define HAVE___BUILTIN_COS 1
112701 _ACEOF
112703 cat >>confdefs.h <<\_ACEOF
112704 #define HAVE___BUILTIN_COSF 1
112705 _ACEOF
112707 cat >>confdefs.h <<\_ACEOF
112708 #define HAVE___BUILTIN_SIN 1
112709 _ACEOF
112711 cat >>confdefs.h <<\_ACEOF
112712 #define HAVE___BUILTIN_SINF 1
112713 _ACEOF
112717 case "$target" in
112718 *-*-solaris2.10)
112719 # These two C99 functions are present only in Solaris >= 10
112720 cat >>confdefs.h <<\_ACEOF
112721 #define HAVE_STRTOF 1
112722 _ACEOF
112724 cat >>confdefs.h <<\_ACEOF
112725 #define HAVE_STRTOLD 1
112726 _ACEOF
112730 cat >>confdefs.h <<\_ACEOF
112731 #define HAVE_MMAP 1
112732 _ACEOF
112734 cat >>confdefs.h <<\_ACEOF
112735 #define HAVE_COPYSIGN 1
112736 _ACEOF
112738 cat >>confdefs.h <<\_ACEOF
112739 #define HAVE_ISNAN 1
112740 _ACEOF
112742 cat >>confdefs.h <<\_ACEOF
112743 #define HAVE_ISNANF 1
112744 _ACEOF
112746 cat >>confdefs.h <<\_ACEOF
112747 #define HAVE_MODFF 1
112748 _ACEOF
112750 cat >>confdefs.h <<\_ACEOF
112751 #define HAVE_HYPOT 1
112752 _ACEOF
112755 *-tpf)
112764 for ac_header in nan.h endian.h machine/endian.h \
112765 sys/param.h sys/types.h locale.h float.h inttypes.h
112767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112769 echo "$as_me:$LINENO: checking for $ac_header" >&5
112770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112772 echo $ECHO_N "(cached) $ECHO_C" >&6
112774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112777 # Is the header compilable?
112778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112780 cat >conftest.$ac_ext <<_ACEOF
112781 /* confdefs.h. */
112782 _ACEOF
112783 cat confdefs.h >>conftest.$ac_ext
112784 cat >>conftest.$ac_ext <<_ACEOF
112785 /* end confdefs.h. */
112786 $ac_includes_default
112787 #include <$ac_header>
112788 _ACEOF
112789 rm -f conftest.$ac_objext
112790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112791 (eval $ac_compile) 2>conftest.er1
112792 ac_status=$?
112793 grep -v '^ *+' conftest.er1 >conftest.err
112794 rm -f conftest.er1
112795 cat conftest.err >&5
112796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112797 (exit $ac_status); } &&
112798 { ac_try='test -z "$ac_c_werror_flag"
112799 || test ! -s conftest.err'
112800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112801 (eval $ac_try) 2>&5
112802 ac_status=$?
112803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112804 (exit $ac_status); }; } &&
112805 { ac_try='test -s conftest.$ac_objext'
112806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112807 (eval $ac_try) 2>&5
112808 ac_status=$?
112809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112810 (exit $ac_status); }; }; then
112811 ac_header_compiler=yes
112813 echo "$as_me: failed program was:" >&5
112814 sed 's/^/| /' conftest.$ac_ext >&5
112816 ac_header_compiler=no
112818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112820 echo "${ECHO_T}$ac_header_compiler" >&6
112822 # Is the header present?
112823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112825 cat >conftest.$ac_ext <<_ACEOF
112826 /* confdefs.h. */
112827 _ACEOF
112828 cat confdefs.h >>conftest.$ac_ext
112829 cat >>conftest.$ac_ext <<_ACEOF
112830 /* end confdefs.h. */
112831 #include <$ac_header>
112832 _ACEOF
112833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112835 ac_status=$?
112836 grep -v '^ *+' conftest.er1 >conftest.err
112837 rm -f conftest.er1
112838 cat conftest.err >&5
112839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112840 (exit $ac_status); } >/dev/null; then
112841 if test -s conftest.err; then
112842 ac_cpp_err=$ac_c_preproc_warn_flag
112843 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112845 ac_cpp_err=
112848 ac_cpp_err=yes
112850 if test -z "$ac_cpp_err"; then
112851 ac_header_preproc=yes
112853 echo "$as_me: failed program was:" >&5
112854 sed 's/^/| /' conftest.$ac_ext >&5
112856 ac_header_preproc=no
112858 rm -f conftest.err conftest.$ac_ext
112859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112860 echo "${ECHO_T}$ac_header_preproc" >&6
112862 # So? What about this header?
112863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112864 yes:no: )
112865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112869 ac_header_preproc=yes
112871 no:yes:* )
112872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112885 cat <<\_ASBOX
112886 ## ----------------------------------------- ##
112887 ## Report this to the package-unused lists. ##
112888 ## ----------------------------------------- ##
112889 _ASBOX
112891 sed "s/^/$as_me: WARNING: /" >&2
112894 echo "$as_me:$LINENO: checking for $ac_header" >&5
112895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112897 echo $ECHO_N "(cached) $ECHO_C" >&6
112899 eval "$as_ac_Header=\$ac_header_preproc"
112901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112906 cat >>confdefs.h <<_ACEOF
112907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112908 _ACEOF
112914 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112917 # If we're not using GNU ld, then there's no point in even trying these
112918 # tests. Check for that first. We should have already tested for gld
112919 # by now (in libtool), but require it now just to be safe...
112920 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112921 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112925 # The name set by libtool depends on the version of libtool. Shame on us
112926 # for depending on an impl detail, but c'est la vie. Older versions used
112927 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112928 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112929 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112930 # set (hence we're using an older libtool), then set it.
112931 if test x${with_gnu_ld+set} != xset; then
112932 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112933 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112934 with_gnu_ld=no
112936 with_gnu_ld=$ac_cv_prog_gnu_ld
112940 # Start by getting the version number. I think the libtool test already
112941 # does some of this, but throws away the result.
112942 if test x"$with_gnu_ld" = x"yes"; then
112943 echo "$as_me:$LINENO: checking for ld version" >&5
112944 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112946 ldver=`$LD --version 2>/dev/null | head -1 | \
112947 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112949 glibcxx_gnu_ld_version=`echo $ldver | \
112950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112951 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112952 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112955 # Set --gc-sections.
112956 glibcxx_gcsections_min_ld=21602
112957 if test x"$with_gnu_ld" = x"yes" &&
112958 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112960 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112961 # NB: This flag only works reliably after 2.16.1. Configure tests
112962 # for this are difficult, so hard wire a value that should work.
112964 ac_test_CFLAGS="${CFLAGS+set}"
112965 ac_save_CFLAGS="$CFLAGS"
112966 CFLAGS='-Wl,--gc-sections'
112968 # Check for -Wl,--gc-sections
112969 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112970 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112971 if test x$gcc_no_link = xyes; then
112972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112974 { (exit 1); exit 1; }; }
112976 cat >conftest.$ac_ext <<_ACEOF
112977 /* confdefs.h. */
112978 _ACEOF
112979 cat confdefs.h >>conftest.$ac_ext
112980 cat >>conftest.$ac_ext <<_ACEOF
112981 /* end confdefs.h. */
112982 int one(void) { return 1; }
112983 int two(void) { return 2; }
112986 main ()
112988 two();
112990 return 0;
112992 _ACEOF
112993 rm -f conftest.$ac_objext conftest$ac_exeext
112994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112995 (eval $ac_link) 2>conftest.er1
112996 ac_status=$?
112997 grep -v '^ *+' conftest.er1 >conftest.err
112998 rm -f conftest.er1
112999 cat conftest.err >&5
113000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113001 (exit $ac_status); } &&
113002 { ac_try='test -z "$ac_c_werror_flag"
113003 || test ! -s conftest.err'
113004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113005 (eval $ac_try) 2>&5
113006 ac_status=$?
113007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113008 (exit $ac_status); }; } &&
113009 { ac_try='test -s conftest$ac_exeext'
113010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113011 (eval $ac_try) 2>&5
113012 ac_status=$?
113013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113014 (exit $ac_status); }; }; then
113015 ac_gcsections=yes
113017 echo "$as_me: failed program was:" >&5
113018 sed 's/^/| /' conftest.$ac_ext >&5
113020 ac_gcsections=no
113022 rm -f conftest.err conftest.$ac_objext \
113023 conftest$ac_exeext conftest.$ac_ext
113024 if test "$ac_gcsections" = "yes"; then
113025 rm -f conftest.c
113026 touch conftest.c
113027 if $CC -c conftest.c; then
113028 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113029 grep "Warning: gc-sections option ignored" > /dev/null; then
113030 ac_gcsections=no
113033 rm -f conftest.c conftest.o conftest
113035 if test "$ac_gcsections" = "yes"; then
113036 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113038 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113039 echo "${ECHO_T}$ac_gcsections" >&6
113041 if test "$ac_test_CFLAGS" = set; then
113042 CFLAGS="$ac_save_CFLAGS"
113044 # this is the suspicious part
113045 CFLAGS=''
113049 # Set -z,relro.
113050 # Note this is only for shared objects.
113051 ac_ld_relro=no
113052 if test x"$with_gnu_ld" = x"yes"; then
113053 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113054 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113055 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113056 if test -n "$cxx_z_relo"; then
113057 OPT_LDFLAGS="-Wl,-z,relro"
113058 ac_ld_relro=yes
113060 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113061 echo "${ECHO_T}$ac_ld_relro" >&6
113064 # Set linker optimization flags.
113065 if test x"$with_gnu_ld" = x"yes"; then
113066 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113074 echo "$as_me:$LINENO: checking for main in -lm" >&5
113075 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113076 if test "${ac_cv_lib_m_main+set}" = set; then
113077 echo $ECHO_N "(cached) $ECHO_C" >&6
113079 ac_check_lib_save_LIBS=$LIBS
113080 LIBS="-lm $LIBS"
113081 if test x$gcc_no_link = xyes; then
113082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113084 { (exit 1); exit 1; }; }
113086 cat >conftest.$ac_ext <<_ACEOF
113087 /* confdefs.h. */
113088 _ACEOF
113089 cat confdefs.h >>conftest.$ac_ext
113090 cat >>conftest.$ac_ext <<_ACEOF
113091 /* end confdefs.h. */
113095 main ()
113097 main ();
113099 return 0;
113101 _ACEOF
113102 rm -f conftest.$ac_objext conftest$ac_exeext
113103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113104 (eval $ac_link) 2>conftest.er1
113105 ac_status=$?
113106 grep -v '^ *+' conftest.er1 >conftest.err
113107 rm -f conftest.er1
113108 cat conftest.err >&5
113109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113110 (exit $ac_status); } &&
113111 { ac_try='test -z "$ac_c_werror_flag"
113112 || test ! -s conftest.err'
113113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113114 (eval $ac_try) 2>&5
113115 ac_status=$?
113116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113117 (exit $ac_status); }; } &&
113118 { ac_try='test -s conftest$ac_exeext'
113119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113120 (eval $ac_try) 2>&5
113121 ac_status=$?
113122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113123 (exit $ac_status); }; }; then
113124 ac_cv_lib_m_main=yes
113126 echo "$as_me: failed program was:" >&5
113127 sed 's/^/| /' conftest.$ac_ext >&5
113129 ac_cv_lib_m_main=no
113131 rm -f conftest.err conftest.$ac_objext \
113132 conftest$ac_exeext conftest.$ac_ext
113133 LIBS=$ac_check_lib_save_LIBS
113135 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113136 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113137 if test $ac_cv_lib_m_main = yes; then
113138 cat >>confdefs.h <<_ACEOF
113139 #define HAVE_LIBM 1
113140 _ACEOF
113142 LIBS="-lm $LIBS"
113147 for ac_func in copysignf
113149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113150 echo "$as_me:$LINENO: checking for $ac_func" >&5
113151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113152 if eval "test \"\${$as_ac_var+set}\" = set"; then
113153 echo $ECHO_N "(cached) $ECHO_C" >&6
113155 if test x$gcc_no_link = xyes; then
113156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113158 { (exit 1); exit 1; }; }
113160 cat >conftest.$ac_ext <<_ACEOF
113161 /* confdefs.h. */
113162 _ACEOF
113163 cat confdefs.h >>conftest.$ac_ext
113164 cat >>conftest.$ac_ext <<_ACEOF
113165 /* end confdefs.h. */
113166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113168 #define $ac_func innocuous_$ac_func
113170 /* System header to define __stub macros and hopefully few prototypes,
113171 which can conflict with char $ac_func (); below.
113172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113173 <limits.h> exists even on freestanding compilers. */
113175 #ifdef __STDC__
113176 # include <limits.h>
113177 #else
113178 # include <assert.h>
113179 #endif
113181 #undef $ac_func
113183 /* Override any gcc2 internal prototype to avoid an error. */
113184 #ifdef __cplusplus
113185 extern "C"
113187 #endif
113188 /* We use char because int might match the return type of a gcc2
113189 builtin and then its argument prototype would still apply. */
113190 char $ac_func ();
113191 /* The GNU C library defines this for functions which it implements
113192 to always fail with ENOSYS. Some functions are actually named
113193 something starting with __ and the normal name is an alias. */
113194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113195 choke me
113196 #else
113197 char (*f) () = $ac_func;
113198 #endif
113199 #ifdef __cplusplus
113201 #endif
113204 main ()
113206 return f != $ac_func;
113208 return 0;
113210 _ACEOF
113211 rm -f conftest.$ac_objext conftest$ac_exeext
113212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113213 (eval $ac_link) 2>conftest.er1
113214 ac_status=$?
113215 grep -v '^ *+' conftest.er1 >conftest.err
113216 rm -f conftest.er1
113217 cat conftest.err >&5
113218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113219 (exit $ac_status); } &&
113220 { ac_try='test -z "$ac_c_werror_flag"
113221 || test ! -s conftest.err'
113222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113223 (eval $ac_try) 2>&5
113224 ac_status=$?
113225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113226 (exit $ac_status); }; } &&
113227 { ac_try='test -s conftest$ac_exeext'
113228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113229 (eval $ac_try) 2>&5
113230 ac_status=$?
113231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113232 (exit $ac_status); }; }; then
113233 eval "$as_ac_var=yes"
113235 echo "$as_me: failed program was:" >&5
113236 sed 's/^/| /' conftest.$ac_ext >&5
113238 eval "$as_ac_var=no"
113240 rm -f conftest.err conftest.$ac_objext \
113241 conftest$ac_exeext conftest.$ac_ext
113243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113245 if test `eval echo '${'$as_ac_var'}'` = yes; then
113246 cat >>confdefs.h <<_ACEOF
113247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113248 _ACEOF
113251 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113257 for ac_func in __signbit
113259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113260 echo "$as_me:$LINENO: checking for $ac_func" >&5
113261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113262 if eval "test \"\${$as_ac_var+set}\" = set"; then
113263 echo $ECHO_N "(cached) $ECHO_C" >&6
113265 if test x$gcc_no_link = xyes; then
113266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113268 { (exit 1); exit 1; }; }
113270 cat >conftest.$ac_ext <<_ACEOF
113271 /* confdefs.h. */
113272 _ACEOF
113273 cat confdefs.h >>conftest.$ac_ext
113274 cat >>conftest.$ac_ext <<_ACEOF
113275 /* end confdefs.h. */
113276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113278 #define $ac_func innocuous_$ac_func
113280 /* System header to define __stub macros and hopefully few prototypes,
113281 which can conflict with char $ac_func (); below.
113282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113283 <limits.h> exists even on freestanding compilers. */
113285 #ifdef __STDC__
113286 # include <limits.h>
113287 #else
113288 # include <assert.h>
113289 #endif
113291 #undef $ac_func
113293 /* Override any gcc2 internal prototype to avoid an error. */
113294 #ifdef __cplusplus
113295 extern "C"
113297 #endif
113298 /* We use char because int might match the return type of a gcc2
113299 builtin and then its argument prototype would still apply. */
113300 char $ac_func ();
113301 /* The GNU C library defines this for functions which it implements
113302 to always fail with ENOSYS. Some functions are actually named
113303 something starting with __ and the normal name is an alias. */
113304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113305 choke me
113306 #else
113307 char (*f) () = $ac_func;
113308 #endif
113309 #ifdef __cplusplus
113311 #endif
113314 main ()
113316 return f != $ac_func;
113318 return 0;
113320 _ACEOF
113321 rm -f conftest.$ac_objext conftest$ac_exeext
113322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113323 (eval $ac_link) 2>conftest.er1
113324 ac_status=$?
113325 grep -v '^ *+' conftest.er1 >conftest.err
113326 rm -f conftest.er1
113327 cat conftest.err >&5
113328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113329 (exit $ac_status); } &&
113330 { ac_try='test -z "$ac_c_werror_flag"
113331 || test ! -s conftest.err'
113332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113333 (eval $ac_try) 2>&5
113334 ac_status=$?
113335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113336 (exit $ac_status); }; } &&
113337 { ac_try='test -s conftest$ac_exeext'
113338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113339 (eval $ac_try) 2>&5
113340 ac_status=$?
113341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113342 (exit $ac_status); }; }; then
113343 eval "$as_ac_var=yes"
113345 echo "$as_me: failed program was:" >&5
113346 sed 's/^/| /' conftest.$ac_ext >&5
113348 eval "$as_ac_var=no"
113350 rm -f conftest.err conftest.$ac_objext \
113351 conftest$ac_exeext conftest.$ac_ext
113353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113355 if test `eval echo '${'$as_ac_var'}'` = yes; then
113356 cat >>confdefs.h <<_ACEOF
113357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113358 _ACEOF
113361 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113367 for ac_func in __signbitf
113369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113370 echo "$as_me:$LINENO: checking for $ac_func" >&5
113371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113372 if eval "test \"\${$as_ac_var+set}\" = set"; then
113373 echo $ECHO_N "(cached) $ECHO_C" >&6
113375 if test x$gcc_no_link = xyes; then
113376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113378 { (exit 1); exit 1; }; }
113380 cat >conftest.$ac_ext <<_ACEOF
113381 /* confdefs.h. */
113382 _ACEOF
113383 cat confdefs.h >>conftest.$ac_ext
113384 cat >>conftest.$ac_ext <<_ACEOF
113385 /* end confdefs.h. */
113386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113388 #define $ac_func innocuous_$ac_func
113390 /* System header to define __stub macros and hopefully few prototypes,
113391 which can conflict with char $ac_func (); below.
113392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113393 <limits.h> exists even on freestanding compilers. */
113395 #ifdef __STDC__
113396 # include <limits.h>
113397 #else
113398 # include <assert.h>
113399 #endif
113401 #undef $ac_func
113403 /* Override any gcc2 internal prototype to avoid an error. */
113404 #ifdef __cplusplus
113405 extern "C"
113407 #endif
113408 /* We use char because int might match the return type of a gcc2
113409 builtin and then its argument prototype would still apply. */
113410 char $ac_func ();
113411 /* The GNU C library defines this for functions which it implements
113412 to always fail with ENOSYS. Some functions are actually named
113413 something starting with __ and the normal name is an alias. */
113414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113415 choke me
113416 #else
113417 char (*f) () = $ac_func;
113418 #endif
113419 #ifdef __cplusplus
113421 #endif
113424 main ()
113426 return f != $ac_func;
113428 return 0;
113430 _ACEOF
113431 rm -f conftest.$ac_objext conftest$ac_exeext
113432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113433 (eval $ac_link) 2>conftest.er1
113434 ac_status=$?
113435 grep -v '^ *+' conftest.er1 >conftest.err
113436 rm -f conftest.er1
113437 cat conftest.err >&5
113438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113439 (exit $ac_status); } &&
113440 { ac_try='test -z "$ac_c_werror_flag"
113441 || test ! -s conftest.err'
113442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113443 (eval $ac_try) 2>&5
113444 ac_status=$?
113445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113446 (exit $ac_status); }; } &&
113447 { ac_try='test -s conftest$ac_exeext'
113448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113449 (eval $ac_try) 2>&5
113450 ac_status=$?
113451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113452 (exit $ac_status); }; }; then
113453 eval "$as_ac_var=yes"
113455 echo "$as_me: failed program was:" >&5
113456 sed 's/^/| /' conftest.$ac_ext >&5
113458 eval "$as_ac_var=no"
113460 rm -f conftest.err conftest.$ac_objext \
113461 conftest$ac_exeext conftest.$ac_ext
113463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113465 if test `eval echo '${'$as_ac_var'}'` = yes; then
113466 cat >>confdefs.h <<_ACEOF
113467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113468 _ACEOF
113471 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113476 if test x$ac_cv_func_copysignl = x"yes"; then
113478 for ac_func in __signbitl
113480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113481 echo "$as_me:$LINENO: checking for $ac_func" >&5
113482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113483 if eval "test \"\${$as_ac_var+set}\" = set"; then
113484 echo $ECHO_N "(cached) $ECHO_C" >&6
113486 if test x$gcc_no_link = xyes; then
113487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113489 { (exit 1); exit 1; }; }
113491 cat >conftest.$ac_ext <<_ACEOF
113492 /* confdefs.h. */
113493 _ACEOF
113494 cat confdefs.h >>conftest.$ac_ext
113495 cat >>conftest.$ac_ext <<_ACEOF
113496 /* end confdefs.h. */
113497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113499 #define $ac_func innocuous_$ac_func
113501 /* System header to define __stub macros and hopefully few prototypes,
113502 which can conflict with char $ac_func (); below.
113503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113504 <limits.h> exists even on freestanding compilers. */
113506 #ifdef __STDC__
113507 # include <limits.h>
113508 #else
113509 # include <assert.h>
113510 #endif
113512 #undef $ac_func
113514 /* Override any gcc2 internal prototype to avoid an error. */
113515 #ifdef __cplusplus
113516 extern "C"
113518 #endif
113519 /* We use char because int might match the return type of a gcc2
113520 builtin and then its argument prototype would still apply. */
113521 char $ac_func ();
113522 /* The GNU C library defines this for functions which it implements
113523 to always fail with ENOSYS. Some functions are actually named
113524 something starting with __ and the normal name is an alias. */
113525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113526 choke me
113527 #else
113528 char (*f) () = $ac_func;
113529 #endif
113530 #ifdef __cplusplus
113532 #endif
113535 main ()
113537 return f != $ac_func;
113539 return 0;
113541 _ACEOF
113542 rm -f conftest.$ac_objext conftest$ac_exeext
113543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113544 (eval $ac_link) 2>conftest.er1
113545 ac_status=$?
113546 grep -v '^ *+' conftest.er1 >conftest.err
113547 rm -f conftest.er1
113548 cat conftest.err >&5
113549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113550 (exit $ac_status); } &&
113551 { ac_try='test -z "$ac_c_werror_flag"
113552 || test ! -s conftest.err'
113553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113554 (eval $ac_try) 2>&5
113555 ac_status=$?
113556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113557 (exit $ac_status); }; } &&
113558 { ac_try='test -s conftest$ac_exeext'
113559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113560 (eval $ac_try) 2>&5
113561 ac_status=$?
113562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113563 (exit $ac_status); }; }; then
113564 eval "$as_ac_var=yes"
113566 echo "$as_me: failed program was:" >&5
113567 sed 's/^/| /' conftest.$ac_ext >&5
113569 eval "$as_ac_var=no"
113571 rm -f conftest.err conftest.$ac_objext \
113572 conftest$ac_exeext conftest.$ac_ext
113574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113576 if test `eval echo '${'$as_ac_var'}'` = yes; then
113577 cat >>confdefs.h <<_ACEOF
113578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113579 _ACEOF
113582 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113588 # Used in libmath/Makefile.am.
113589 if test -n "$LIBMATHOBJS"; then
113590 need_libmath=yes
113594 cat >>confdefs.h <<\_ACEOF
113595 #define HAVE_COPYSIGN 1
113596 _ACEOF
113598 cat >>confdefs.h <<\_ACEOF
113599 #define HAVE_COPYSIGNF 1
113600 _ACEOF
113602 cat >>confdefs.h <<\_ACEOF
113603 #define HAVE_FINITE 1
113604 _ACEOF
113606 cat >>confdefs.h <<\_ACEOF
113607 #define HAVE_FINITEF 1
113608 _ACEOF
113610 cat >>confdefs.h <<\_ACEOF
113611 #define HAVE_FREXPF 1
113612 _ACEOF
113614 cat >>confdefs.h <<\_ACEOF
113615 #define HAVE_HYPOTF 1
113616 _ACEOF
113618 cat >>confdefs.h <<\_ACEOF
113619 #define HAVE_ISINF 1
113620 _ACEOF
113622 cat >>confdefs.h <<\_ACEOF
113623 #define HAVE_ISINFF 1
113624 _ACEOF
113626 cat >>confdefs.h <<\_ACEOF
113627 #define HAVE_ISNAN 1
113628 _ACEOF
113630 cat >>confdefs.h <<\_ACEOF
113631 #define HAVE_ISNANF 1
113632 _ACEOF
113634 cat >>confdefs.h <<\_ACEOF
113635 #define HAVE_SINCOS 1
113636 _ACEOF
113638 cat >>confdefs.h <<\_ACEOF
113639 #define HAVE_SINCOSF 1
113640 _ACEOF
113642 if test x"long_double_math_on_this_cpu" = x"yes"; then
113643 cat >>confdefs.h <<\_ACEOF
113644 #define HAVE_FINITEL 1
113645 _ACEOF
113647 cat >>confdefs.h <<\_ACEOF
113648 #define HAVE_HYPOTL 1
113649 _ACEOF
113651 cat >>confdefs.h <<\_ACEOF
113652 #define HAVE_ISINFL 1
113653 _ACEOF
113655 cat >>confdefs.h <<\_ACEOF
113656 #define HAVE_ISNANL 1
113657 _ACEOF
113661 *-vxworks)
113662 cat >>confdefs.h <<\_ACEOF
113663 #define HAVE_MMAP 1
113664 _ACEOF
113666 cat >>confdefs.h <<\_ACEOF
113667 #define HAVE_ACOSF 1
113668 _ACEOF
113670 cat >>confdefs.h <<\_ACEOF
113671 #define HAVE_ASINF 1
113672 _ACEOF
113674 cat >>confdefs.h <<\_ACEOF
113675 #define HAVE_ATAN2F 1
113676 _ACEOF
113678 cat >>confdefs.h <<\_ACEOF
113679 #define HAVE_ATANF 1
113680 _ACEOF
113682 cat >>confdefs.h <<\_ACEOF
113683 #define HAVE_CEILF 1
113684 _ACEOF
113686 cat >>confdefs.h <<\_ACEOF
113687 #define HAVE_COSF 1
113688 _ACEOF
113690 cat >>confdefs.h <<\_ACEOF
113691 #define HAVE_COSHF 1
113692 _ACEOF
113694 cat >>confdefs.h <<\_ACEOF
113695 #define HAVE_EXPF 1
113696 _ACEOF
113698 cat >>confdefs.h <<\_ACEOF
113699 #define HAVE_FABSF 1
113700 _ACEOF
113702 cat >>confdefs.h <<\_ACEOF
113703 #define HAVE_FLOORF 1
113704 _ACEOF
113706 cat >>confdefs.h <<\_ACEOF
113707 #define HAVE_FMODF 1
113708 _ACEOF
113710 cat >>confdefs.h <<\_ACEOF
113711 #define HAVE_HYPOT 1
113712 _ACEOF
113714 cat >>confdefs.h <<\_ACEOF
113715 #define HAVE_LOG10F 1
113716 _ACEOF
113718 cat >>confdefs.h <<\_ACEOF
113719 #define HAVE_LOGF 1
113720 _ACEOF
113722 cat >>confdefs.h <<\_ACEOF
113723 #define HAVE_POWF 1
113724 _ACEOF
113726 cat >>confdefs.h <<\_ACEOF
113727 #define HAVE_SINF 1
113728 _ACEOF
113730 cat >>confdefs.h <<\_ACEOF
113731 #define HAVE_SINHF 1
113732 _ACEOF
113734 cat >>confdefs.h <<\_ACEOF
113735 #define HAVE_SQRTF 1
113736 _ACEOF
113738 cat >>confdefs.h <<\_ACEOF
113739 #define HAVE_TANF 1
113740 _ACEOF
113742 cat >>confdefs.h <<\_ACEOF
113743 #define HAVE_TANHF 1
113744 _ACEOF
113747 *-windiss*)
113748 cat >>confdefs.h <<\_ACEOF
113749 #define HAVE_ACOSF 1
113750 _ACEOF
113752 cat >>confdefs.h <<\_ACEOF
113753 #define HAVE_ACOSL 1
113754 _ACEOF
113756 cat >>confdefs.h <<\_ACEOF
113757 #define HAVE_ASINF 1
113758 _ACEOF
113760 cat >>confdefs.h <<\_ACEOF
113761 #define HAVE_ASINL 1
113762 _ACEOF
113764 cat >>confdefs.h <<\_ACEOF
113765 #define HAVE_ATAN2F 1
113766 _ACEOF
113768 cat >>confdefs.h <<\_ACEOF
113769 #define HAVE_ATAN2L 1
113770 _ACEOF
113772 cat >>confdefs.h <<\_ACEOF
113773 #define HAVE_ATANF 1
113774 _ACEOF
113776 cat >>confdefs.h <<\_ACEOF
113777 #define HAVE_ATANL 1
113778 _ACEOF
113780 cat >>confdefs.h <<\_ACEOF
113781 #define HAVE_CEILF 1
113782 _ACEOF
113784 cat >>confdefs.h <<\_ACEOF
113785 #define HAVE_CEILL 1
113786 _ACEOF
113788 cat >>confdefs.h <<\_ACEOF
113789 #define HAVE_COPYSIGN 1
113790 _ACEOF
113792 cat >>confdefs.h <<\_ACEOF
113793 #define HAVE_COPYSIGNF 1
113794 _ACEOF
113796 cat >>confdefs.h <<\_ACEOF
113797 #define HAVE_COSF 1
113798 _ACEOF
113800 cat >>confdefs.h <<\_ACEOF
113801 #define HAVE_COSL 1
113802 _ACEOF
113804 cat >>confdefs.h <<\_ACEOF
113805 #define HAVE_COSHF 1
113806 _ACEOF
113808 cat >>confdefs.h <<\_ACEOF
113809 #define HAVE_COSHL 1
113810 _ACEOF
113812 cat >>confdefs.h <<\_ACEOF
113813 #define HAVE_EXPF 1
113814 _ACEOF
113816 cat >>confdefs.h <<\_ACEOF
113817 #define HAVE_EXPL 1
113818 _ACEOF
113820 cat >>confdefs.h <<\_ACEOF
113821 #define HAVE_FABSF 1
113822 _ACEOF
113824 cat >>confdefs.h <<\_ACEOF
113825 #define HAVE_FABSL 1
113826 _ACEOF
113828 cat >>confdefs.h <<\_ACEOF
113829 #define HAVE_FLOORF 1
113830 _ACEOF
113832 cat >>confdefs.h <<\_ACEOF
113833 #define HAVE_FLOORL 1
113834 _ACEOF
113836 cat >>confdefs.h <<\_ACEOF
113837 #define HAVE_FMODF 1
113838 _ACEOF
113840 cat >>confdefs.h <<\_ACEOF
113841 #define HAVE_FMODL 1
113842 _ACEOF
113844 cat >>confdefs.h <<\_ACEOF
113845 #define HAVE_FREXPF 1
113846 _ACEOF
113848 cat >>confdefs.h <<\_ACEOF
113849 #define HAVE_FREXPL 1
113850 _ACEOF
113852 cat >>confdefs.h <<\_ACEOF
113853 #define HAVE_LDEXPF 1
113854 _ACEOF
113856 cat >>confdefs.h <<\_ACEOF
113857 #define HAVE_LDEXPL 1
113858 _ACEOF
113860 cat >>confdefs.h <<\_ACEOF
113861 #define HAVE_LOG10F 1
113862 _ACEOF
113864 cat >>confdefs.h <<\_ACEOF
113865 #define HAVE_LOG10L 1
113866 _ACEOF
113868 cat >>confdefs.h <<\_ACEOF
113869 #define HAVE_LOGF 1
113870 _ACEOF
113872 cat >>confdefs.h <<\_ACEOF
113873 #define HAVE_MODFF 1
113874 _ACEOF
113876 cat >>confdefs.h <<\_ACEOF
113877 #define HAVE_MODFL 1
113878 _ACEOF
113880 cat >>confdefs.h <<\_ACEOF
113881 #define HAVE_POWF 1
113882 _ACEOF
113884 cat >>confdefs.h <<\_ACEOF
113885 #define HAVE_POWL 1
113886 _ACEOF
113888 cat >>confdefs.h <<\_ACEOF
113889 #define HAVE_SINF 1
113890 _ACEOF
113892 cat >>confdefs.h <<\_ACEOF
113893 #define HAVE_SINL 1
113894 _ACEOF
113896 cat >>confdefs.h <<\_ACEOF
113897 #define HAVE_SINHF 1
113898 _ACEOF
113900 cat >>confdefs.h <<\_ACEOF
113901 #define HAVE_SINHL 1
113902 _ACEOF
113904 cat >>confdefs.h <<\_ACEOF
113905 #define HAVE_SQRTF 1
113906 _ACEOF
113908 cat >>confdefs.h <<\_ACEOF
113909 #define HAVE_SQRTL 1
113910 _ACEOF
113912 cat >>confdefs.h <<\_ACEOF
113913 #define HAVE_TANF 1
113914 _ACEOF
113916 cat >>confdefs.h <<\_ACEOF
113917 #define HAVE_TANL 1
113918 _ACEOF
113920 cat >>confdefs.h <<\_ACEOF
113921 #define HAVE_TANHF 1
113922 _ACEOF
113924 cat >>confdefs.h <<\_ACEOF
113925 #define HAVE_TANHL 1
113926 _ACEOF
113930 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
113931 echo "$as_me: error: No support for this host/target combination." >&2;}
113932 { (exit 1); exit 1; }; }
113938 # At some point, we should differentiate between architectures
113939 # like x86, which have long double versions, and alpha/powerpc/etc.,
113940 # which don't. For the time being, punt.
113941 if test x"long_double_math_on_this_cpu" = x"yes"; then
113942 cat >>confdefs.h <<\_ACEOF
113943 #define HAVE_ACOSL 1
113944 _ACEOF
113946 cat >>confdefs.h <<\_ACEOF
113947 #define HAVE_ASINL 1
113948 _ACEOF
113950 cat >>confdefs.h <<\_ACEOF
113951 #define HAVE_ATAN2L 1
113952 _ACEOF
113954 cat >>confdefs.h <<\_ACEOF
113955 #define HAVE_ATANL 1
113956 _ACEOF
113958 cat >>confdefs.h <<\_ACEOF
113959 #define HAVE_CEILL 1
113960 _ACEOF
113962 cat >>confdefs.h <<\_ACEOF
113963 #define HAVE_COPYSIGNL 1
113964 _ACEOF
113966 cat >>confdefs.h <<\_ACEOF
113967 #define HAVE_COSL 1
113968 _ACEOF
113970 cat >>confdefs.h <<\_ACEOF
113971 #define HAVE_COSHL 1
113972 _ACEOF
113974 cat >>confdefs.h <<\_ACEOF
113975 #define HAVE_EXPL 1
113976 _ACEOF
113978 cat >>confdefs.h <<\_ACEOF
113979 #define HAVE_FABSL 1
113980 _ACEOF
113982 cat >>confdefs.h <<\_ACEOF
113983 #define HAVE_FLOORL 1
113984 _ACEOF
113986 cat >>confdefs.h <<\_ACEOF
113987 #define HAVE_FMODL 1
113988 _ACEOF
113990 cat >>confdefs.h <<\_ACEOF
113991 #define HAVE_FREXPL 1
113992 _ACEOF
113994 cat >>confdefs.h <<\_ACEOF
113995 #define HAVE_LDEXPL 1
113996 _ACEOF
113998 cat >>confdefs.h <<\_ACEOF
113999 #define HAVE_LOG10L 1
114000 _ACEOF
114002 cat >>confdefs.h <<\_ACEOF
114003 #define HAVE_LOGL 1
114004 _ACEOF
114006 cat >>confdefs.h <<\_ACEOF
114007 #define HAVE_MODFL 1
114008 _ACEOF
114010 cat >>confdefs.h <<\_ACEOF
114011 #define HAVE_POWL 1
114012 _ACEOF
114014 cat >>confdefs.h <<\_ACEOF
114015 #define HAVE_SINCOSL 1
114016 _ACEOF
114018 cat >>confdefs.h <<\_ACEOF
114019 #define HAVE_SINL 1
114020 _ACEOF
114022 cat >>confdefs.h <<\_ACEOF
114023 #define HAVE_SINHL 1
114024 _ACEOF
114026 cat >>confdefs.h <<\_ACEOF
114027 #define HAVE_SQRTL 1
114028 _ACEOF
114030 cat >>confdefs.h <<\_ACEOF
114031 #define HAVE_TANL 1
114032 _ACEOF
114034 cat >>confdefs.h <<\_ACEOF
114035 #define HAVE_TANHL 1
114036 _ACEOF
114040 # Assume we have _Unwind_GetIPInfo for cross-compiles.
114041 cat >>confdefs.h <<\_ACEOF
114042 #define HAVE_GETIPINFO 1
114043 _ACEOF
114048 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
114051 # Check whether --enable-symvers or --disable-symvers was given.
114052 if test "${enable_symvers+set}" = set; then
114053 enableval="$enable_symvers"
114055 case "$enableval" in
114056 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
114057 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
114058 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
114059 { (exit 1); exit 1; }; } ;;
114063 enable_symvers=yes
114067 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
114068 # don't know enough about $LD to do tricks...
114071 # Turn a 'yes' into a suitable default.
114072 if test x$enable_symvers = xyes ; then
114073 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
114074 enable_symvers=no
114076 if test $with_gnu_ld = yes ; then
114077 enable_symvers=gnu
114079 case ${target_os} in
114080 darwin*)
114081 enable_symvers=darwin ;;
114083 enable_symvers=no ;;
114089 # Check to see if 'darwin' or 'darwin-export' can win.
114090 if test x$enable_symvers = xdarwin-export ; then
114091 enable_symvers=darwin
114094 # Check to see if 'gnu' can win.
114095 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
114096 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
114097 echo "$as_me:$LINENO: checking for shared libgcc" >&5
114098 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
114099 ac_save_CFLAGS="$CFLAGS"
114100 CFLAGS=' -lgcc_s'
114101 if test x$gcc_no_link = xyes; then
114102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114104 { (exit 1); exit 1; }; }
114106 cat >conftest.$ac_ext <<_ACEOF
114107 /* confdefs.h. */
114108 _ACEOF
114109 cat confdefs.h >>conftest.$ac_ext
114110 cat >>conftest.$ac_ext <<_ACEOF
114111 /* end confdefs.h. */
114114 main ()
114116 return 0;
114118 return 0;
114120 _ACEOF
114121 rm -f conftest.$ac_objext conftest$ac_exeext
114122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114123 (eval $ac_link) 2>conftest.er1
114124 ac_status=$?
114125 grep -v '^ *+' conftest.er1 >conftest.err
114126 rm -f conftest.er1
114127 cat conftest.err >&5
114128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114129 (exit $ac_status); } &&
114130 { ac_try='test -z "$ac_c_werror_flag"
114131 || test ! -s conftest.err'
114132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114133 (eval $ac_try) 2>&5
114134 ac_status=$?
114135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114136 (exit $ac_status); }; } &&
114137 { ac_try='test -s conftest$ac_exeext'
114138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114139 (eval $ac_try) 2>&5
114140 ac_status=$?
114141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114142 (exit $ac_status); }; }; then
114143 glibcxx_shared_libgcc=yes
114145 echo "$as_me: failed program was:" >&5
114146 sed 's/^/| /' conftest.$ac_ext >&5
114148 glibcxx_shared_libgcc=no
114150 rm -f conftest.err conftest.$ac_objext \
114151 conftest$ac_exeext conftest.$ac_ext
114152 CFLAGS="$ac_save_CFLAGS"
114153 if test $glibcxx_shared_libgcc = no; then
114154 cat > conftest.c <<EOF
114155 int main (void) { return 0; }
114157 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
114158 -shared -shared-libgcc -o conftest.so \
114159 conftest.c -v 2>&1 >/dev/null \
114160 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
114161 rm -f conftest.c conftest.so
114162 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
114163 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
114164 if test x$gcc_no_link = xyes; then
114165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114167 { (exit 1); exit 1; }; }
114169 cat >conftest.$ac_ext <<_ACEOF
114170 /* confdefs.h. */
114171 _ACEOF
114172 cat confdefs.h >>conftest.$ac_ext
114173 cat >>conftest.$ac_ext <<_ACEOF
114174 /* end confdefs.h. */
114177 main ()
114179 return 0;
114181 return 0;
114183 _ACEOF
114184 rm -f conftest.$ac_objext conftest$ac_exeext
114185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114186 (eval $ac_link) 2>conftest.er1
114187 ac_status=$?
114188 grep -v '^ *+' conftest.er1 >conftest.err
114189 rm -f conftest.er1
114190 cat conftest.err >&5
114191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114192 (exit $ac_status); } &&
114193 { ac_try='test -z "$ac_c_werror_flag"
114194 || test ! -s conftest.err'
114195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114196 (eval $ac_try) 2>&5
114197 ac_status=$?
114198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114199 (exit $ac_status); }; } &&
114200 { ac_try='test -s conftest$ac_exeext'
114201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114202 (eval $ac_try) 2>&5
114203 ac_status=$?
114204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114205 (exit $ac_status); }; }; then
114206 glibcxx_shared_libgcc=yes
114208 echo "$as_me: failed program was:" >&5
114209 sed 's/^/| /' conftest.$ac_ext >&5
114212 rm -f conftest.err conftest.$ac_objext \
114213 conftest$ac_exeext conftest.$ac_ext
114214 CFLAGS="$ac_save_CFLAGS"
114217 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
114218 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
114220 # For GNU ld, we need at least this version. The format is described in
114221 # GLIBCXX_CHECK_LINKER_FEATURES above.
114222 glibcxx_min_gnu_ld_version=21400
114224 # If no shared libgcc, can't win.
114225 if test $glibcxx_shared_libgcc != yes; then
114226 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114227 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114228 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
114229 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
114230 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114231 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114232 enable_symvers=no
114233 elif test $with_gnu_ld != yes ; then
114234 # just fail for now
114235 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114236 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114237 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
114238 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
114239 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114240 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114241 enable_symvers=no
114242 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
114243 # The right tools, the right setup, but too old. Fallbacks?
114244 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
114245 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
114246 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
114247 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
114248 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
114249 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
114250 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
114251 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
114252 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114253 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114254 enable_symvers=no
114258 # Everything parsed; figure out what file to use.
114259 case $enable_symvers in
114261 SYMVER_FILE=config/abi/pre/none.ver
114264 SYMVER_FILE=config/abi/pre/gnu.ver
114266 cat >>confdefs.h <<\_ACEOF
114267 #define _GLIBCXX_SYMVER_GNU 1
114268 _ACEOF
114271 gnu-versioned-namespace)
114272 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
114274 cat >>confdefs.h <<\_ACEOF
114275 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
114276 _ACEOF
114279 darwin)
114280 SYMVER_FILE=config/abi/pre/gnu.ver
114282 cat >>confdefs.h <<\_ACEOF
114283 #define _GLIBCXX_SYMVER_DARWIN 1
114284 _ACEOF
114289 if test x$enable_symvers != xno ; then
114291 cat >>confdefs.h <<\_ACEOF
114292 #define _GLIBCXX_SYMVER 1
114293 _ACEOF
114303 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
114304 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
114306 # Now, set up compatibility support, if any.
114307 # In addition, need this to deal with std::size_t mangling in
114308 # src/compatibility.cc. In a perfect world, could use
114309 # typeid(std::size_t).name()[0] to do direct substitution.
114310 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
114311 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
114312 ac_save_CFLAGS="$CFLAGS"
114313 CFLAGS="-Werror"
114314 cat >conftest.$ac_ext <<_ACEOF
114315 /* confdefs.h. */
114316 _ACEOF
114317 cat confdefs.h >>conftest.$ac_ext
114318 cat >>conftest.$ac_ext <<_ACEOF
114319 /* end confdefs.h. */
114322 main ()
114324 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
114326 return 0;
114328 _ACEOF
114329 rm -f conftest.$ac_objext
114330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114331 (eval $ac_compile) 2>conftest.er1
114332 ac_status=$?
114333 grep -v '^ *+' conftest.er1 >conftest.err
114334 rm -f conftest.er1
114335 cat conftest.err >&5
114336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114337 (exit $ac_status); } &&
114338 { ac_try='test -z "$ac_c_werror_flag"
114339 || test ! -s conftest.err'
114340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114341 (eval $ac_try) 2>&5
114342 ac_status=$?
114343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114344 (exit $ac_status); }; } &&
114345 { ac_try='test -s conftest.$ac_objext'
114346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114347 (eval $ac_try) 2>&5
114348 ac_status=$?
114349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114350 (exit $ac_status); }; }; then
114351 glibcxx_size_t_is_i=yes
114353 echo "$as_me: failed program was:" >&5
114354 sed 's/^/| /' conftest.$ac_ext >&5
114356 glibcxx_size_t_is_i=no
114358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114359 CFLAGS=$ac_save_CFLAGS
114360 if test "$glibcxx_size_t_is_i" = yes; then
114362 cat >>confdefs.h <<\_ACEOF
114363 #define _GLIBCXX_SIZE_T_IS_UINT 1
114364 _ACEOF
114367 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
114368 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
114370 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
114371 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
114372 ac_save_CFLAGS="$CFLAGS"
114373 CFLAGS="-Werror"
114374 cat >conftest.$ac_ext <<_ACEOF
114375 /* confdefs.h. */
114376 _ACEOF
114377 cat confdefs.h >>conftest.$ac_ext
114378 cat >>conftest.$ac_ext <<_ACEOF
114379 /* end confdefs.h. */
114382 main ()
114384 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
114386 return 0;
114388 _ACEOF
114389 rm -f conftest.$ac_objext
114390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114391 (eval $ac_compile) 2>conftest.er1
114392 ac_status=$?
114393 grep -v '^ *+' conftest.er1 >conftest.err
114394 rm -f conftest.er1
114395 cat conftest.err >&5
114396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114397 (exit $ac_status); } &&
114398 { ac_try='test -z "$ac_c_werror_flag"
114399 || test ! -s conftest.err'
114400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114401 (eval $ac_try) 2>&5
114402 ac_status=$?
114403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114404 (exit $ac_status); }; } &&
114405 { ac_try='test -s conftest.$ac_objext'
114406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114407 (eval $ac_try) 2>&5
114408 ac_status=$?
114409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114410 (exit $ac_status); }; }; then
114411 glibcxx_ptrdiff_t_is_i=yes
114413 echo "$as_me: failed program was:" >&5
114414 sed 's/^/| /' conftest.$ac_ext >&5
114416 glibcxx_ptrdiff_t_is_i=no
114418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114419 CFLAGS=$ac_save_CFLAGS
114420 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
114422 cat >>confdefs.h <<\_ACEOF
114423 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
114424 _ACEOF
114427 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
114428 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
114431 # Check whether --enable-visibility or --disable-visibility was given.
114432 if test "${enable_visibility+set}" = set; then
114433 enableval="$enable_visibility"
114435 case "$enableval" in
114436 yes|no) ;;
114437 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
114438 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
114439 { (exit 1); exit 1; }; } ;;
114443 enable_visibility=yes
114447 if test x$enable_visibility = xyes ; then
114448 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
114449 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
114450 if test "${have_attribute_visibility+set}" = set; then
114451 echo $ECHO_N "(cached) $ECHO_C" >&6
114454 save_CFLAGS="$CFLAGS"
114455 CFLAGS="$CFLAGS -Werror"
114456 cat >conftest.$ac_ext <<_ACEOF
114457 /* confdefs.h. */
114458 _ACEOF
114459 cat confdefs.h >>conftest.$ac_ext
114460 cat >>conftest.$ac_ext <<_ACEOF
114461 /* end confdefs.h. */
114462 void __attribute__((visibility("hidden"))) foo(void) { }
114464 main ()
114468 return 0;
114470 _ACEOF
114471 rm -f conftest.$ac_objext
114472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114473 (eval $ac_compile) 2>conftest.er1
114474 ac_status=$?
114475 grep -v '^ *+' conftest.er1 >conftest.err
114476 rm -f conftest.er1
114477 cat conftest.err >&5
114478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114479 (exit $ac_status); } &&
114480 { ac_try='test -z "$ac_c_werror_flag"
114481 || test ! -s conftest.err'
114482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114483 (eval $ac_try) 2>&5
114484 ac_status=$?
114485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114486 (exit $ac_status); }; } &&
114487 { ac_try='test -s conftest.$ac_objext'
114488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114489 (eval $ac_try) 2>&5
114490 ac_status=$?
114491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114492 (exit $ac_status); }; }; then
114493 have_attribute_visibility=yes
114495 echo "$as_me: failed program was:" >&5
114496 sed 's/^/| /' conftest.$ac_ext >&5
114498 have_attribute_visibility=no
114500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114501 CFLAGS="$save_CFLAGS"
114503 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
114504 echo "${ECHO_T}$have_attribute_visibility" >&6
114505 if test $have_attribute_visibility = no; then
114506 enable_visibility=no
114511 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
114512 echo "$as_me: visibility supported: $enable_visibility" >&6;}
114515 ac_ldbl_compat=no
114516 case "$target" in
114517 powerpc*-*-linux* | \
114518 powerpc*-*-gnu* | \
114519 sparc*-*-linux* | \
114520 s390*-*-linux* | \
114521 alpha*-*-linux*)
114522 cat >conftest.$ac_ext <<_ACEOF
114523 /* confdefs.h. */
114524 _ACEOF
114525 cat confdefs.h >>conftest.$ac_ext
114526 cat >>conftest.$ac_ext <<_ACEOF
114527 /* end confdefs.h. */
114530 main ()
114533 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
114534 #error no need for long double compatibility
114535 #endif
114538 return 0;
114540 _ACEOF
114541 rm -f conftest.$ac_objext
114542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114543 (eval $ac_compile) 2>conftest.er1
114544 ac_status=$?
114545 grep -v '^ *+' conftest.er1 >conftest.err
114546 rm -f conftest.er1
114547 cat conftest.err >&5
114548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114549 (exit $ac_status); } &&
114550 { ac_try='test -z "$ac_c_werror_flag"
114551 || test ! -s conftest.err'
114552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114553 (eval $ac_try) 2>&5
114554 ac_status=$?
114555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114556 (exit $ac_status); }; } &&
114557 { ac_try='test -s conftest.$ac_objext'
114558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114559 (eval $ac_try) 2>&5
114560 ac_status=$?
114561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114562 (exit $ac_status); }; }; then
114563 ac_ldbl_compat=yes
114565 echo "$as_me: failed program was:" >&5
114566 sed 's/^/| /' conftest.$ac_ext >&5
114568 ac_ldbl_compat=no
114570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114571 if test "$ac_ldbl_compat" = yes; then
114573 cat >>confdefs.h <<\_ACEOF
114574 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
114575 _ACEOF
114577 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
114582 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
114584 if $GLIBCXX_IS_NATIVE ; then
114585 # Do checks for resource limit functions.
114587 setrlimit_have_headers=yes
114591 for ac_header in unistd.h sys/time.h sys/resource.h
114593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114595 echo "$as_me:$LINENO: checking for $ac_header" >&5
114596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114598 echo $ECHO_N "(cached) $ECHO_C" >&6
114600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114603 # Is the header compilable?
114604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
114613 #include <$ac_header>
114614 _ACEOF
114615 rm -f conftest.$ac_objext
114616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114617 (eval $ac_compile) 2>conftest.er1
114618 ac_status=$?
114619 grep -v '^ *+' conftest.er1 >conftest.err
114620 rm -f conftest.er1
114621 cat conftest.err >&5
114622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114623 (exit $ac_status); } &&
114624 { ac_try='test -z "$ac_c_werror_flag"
114625 || test ! -s conftest.err'
114626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114627 (eval $ac_try) 2>&5
114628 ac_status=$?
114629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114630 (exit $ac_status); }; } &&
114631 { ac_try='test -s conftest.$ac_objext'
114632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114633 (eval $ac_try) 2>&5
114634 ac_status=$?
114635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114636 (exit $ac_status); }; }; then
114637 ac_header_compiler=yes
114639 echo "$as_me: failed program was:" >&5
114640 sed 's/^/| /' conftest.$ac_ext >&5
114642 ac_header_compiler=no
114644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114646 echo "${ECHO_T}$ac_header_compiler" >&6
114648 # Is the header present?
114649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114651 cat >conftest.$ac_ext <<_ACEOF
114652 /* confdefs.h. */
114653 _ACEOF
114654 cat confdefs.h >>conftest.$ac_ext
114655 cat >>conftest.$ac_ext <<_ACEOF
114656 /* end confdefs.h. */
114657 #include <$ac_header>
114658 _ACEOF
114659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114661 ac_status=$?
114662 grep -v '^ *+' conftest.er1 >conftest.err
114663 rm -f conftest.er1
114664 cat conftest.err >&5
114665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114666 (exit $ac_status); } >/dev/null; then
114667 if test -s conftest.err; then
114668 ac_cpp_err=$ac_c_preproc_warn_flag
114669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114671 ac_cpp_err=
114674 ac_cpp_err=yes
114676 if test -z "$ac_cpp_err"; then
114677 ac_header_preproc=yes
114679 echo "$as_me: failed program was:" >&5
114680 sed 's/^/| /' conftest.$ac_ext >&5
114682 ac_header_preproc=no
114684 rm -f conftest.err conftest.$ac_ext
114685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114686 echo "${ECHO_T}$ac_header_preproc" >&6
114688 # So? What about this header?
114689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114690 yes:no: )
114691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114695 ac_header_preproc=yes
114697 no:yes:* )
114698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114711 cat <<\_ASBOX
114712 ## ----------------------------------------- ##
114713 ## Report this to the package-unused lists. ##
114714 ## ----------------------------------------- ##
114715 _ASBOX
114717 sed "s/^/$as_me: WARNING: /" >&2
114720 echo "$as_me:$LINENO: checking for $ac_header" >&5
114721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114723 echo $ECHO_N "(cached) $ECHO_C" >&6
114725 eval "$as_ac_Header=\$ac_header_preproc"
114727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114732 cat >>confdefs.h <<_ACEOF
114733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114734 _ACEOF
114737 setrlimit_have_headers=no
114742 # If don't have the headers, then we can't run the tests now, and we
114743 # won't be seeing any of these during testsuite compilation.
114744 if test $setrlimit_have_headers = yes; then
114745 # Can't do these in a loop, else the resulting syntax is wrong.
114747 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
114748 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
114749 cat >conftest.$ac_ext <<_ACEOF
114750 /* confdefs.h. */
114751 _ACEOF
114752 cat confdefs.h >>conftest.$ac_ext
114753 cat >>conftest.$ac_ext <<_ACEOF
114754 /* end confdefs.h. */
114755 #include <unistd.h>
114756 #include <sys/time.h>
114757 #include <sys/resource.h>
114760 main ()
114762 int f = RLIMIT_DATA ;
114764 return 0;
114766 _ACEOF
114767 rm -f conftest.$ac_objext
114768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114769 (eval $ac_compile) 2>conftest.er1
114770 ac_status=$?
114771 grep -v '^ *+' conftest.er1 >conftest.err
114772 rm -f conftest.er1
114773 cat conftest.err >&5
114774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114775 (exit $ac_status); } &&
114776 { ac_try='test -z "$ac_c_werror_flag"
114777 || test ! -s conftest.err'
114778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114779 (eval $ac_try) 2>&5
114780 ac_status=$?
114781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114782 (exit $ac_status); }; } &&
114783 { ac_try='test -s conftest.$ac_objext'
114784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114785 (eval $ac_try) 2>&5
114786 ac_status=$?
114787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114788 (exit $ac_status); }; }; then
114789 glibcxx_mresult=1
114791 echo "$as_me: failed program was:" >&5
114792 sed 's/^/| /' conftest.$ac_ext >&5
114794 glibcxx_mresult=0
114796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114798 cat >>confdefs.h <<_ACEOF
114799 #define HAVE_LIMIT_DATA $glibcxx_mresult
114800 _ACEOF
114802 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114803 echo "$as_me:$LINENO: result: $res" >&5
114804 echo "${ECHO_T}$res" >&6
114807 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
114808 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
114809 cat >conftest.$ac_ext <<_ACEOF
114810 /* confdefs.h. */
114811 _ACEOF
114812 cat confdefs.h >>conftest.$ac_ext
114813 cat >>conftest.$ac_ext <<_ACEOF
114814 /* end confdefs.h. */
114815 #include <unistd.h>
114816 #include <sys/time.h>
114817 #include <sys/resource.h>
114820 main ()
114822 int f = RLIMIT_RSS ;
114824 return 0;
114826 _ACEOF
114827 rm -f conftest.$ac_objext
114828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114829 (eval $ac_compile) 2>conftest.er1
114830 ac_status=$?
114831 grep -v '^ *+' conftest.er1 >conftest.err
114832 rm -f conftest.er1
114833 cat conftest.err >&5
114834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114835 (exit $ac_status); } &&
114836 { ac_try='test -z "$ac_c_werror_flag"
114837 || test ! -s conftest.err'
114838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114839 (eval $ac_try) 2>&5
114840 ac_status=$?
114841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114842 (exit $ac_status); }; } &&
114843 { ac_try='test -s conftest.$ac_objext'
114844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114845 (eval $ac_try) 2>&5
114846 ac_status=$?
114847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114848 (exit $ac_status); }; }; then
114849 glibcxx_mresult=1
114851 echo "$as_me: failed program was:" >&5
114852 sed 's/^/| /' conftest.$ac_ext >&5
114854 glibcxx_mresult=0
114856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114858 cat >>confdefs.h <<_ACEOF
114859 #define HAVE_LIMIT_RSS $glibcxx_mresult
114860 _ACEOF
114862 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114863 echo "$as_me:$LINENO: result: $res" >&5
114864 echo "${ECHO_T}$res" >&6
114867 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
114868 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
114869 cat >conftest.$ac_ext <<_ACEOF
114870 /* confdefs.h. */
114871 _ACEOF
114872 cat confdefs.h >>conftest.$ac_ext
114873 cat >>conftest.$ac_ext <<_ACEOF
114874 /* end confdefs.h. */
114875 #include <unistd.h>
114876 #include <sys/time.h>
114877 #include <sys/resource.h>
114880 main ()
114882 int f = RLIMIT_VMEM ;
114884 return 0;
114886 _ACEOF
114887 rm -f conftest.$ac_objext
114888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114889 (eval $ac_compile) 2>conftest.er1
114890 ac_status=$?
114891 grep -v '^ *+' conftest.er1 >conftest.err
114892 rm -f conftest.er1
114893 cat conftest.err >&5
114894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114895 (exit $ac_status); } &&
114896 { ac_try='test -z "$ac_c_werror_flag"
114897 || test ! -s conftest.err'
114898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114899 (eval $ac_try) 2>&5
114900 ac_status=$?
114901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114902 (exit $ac_status); }; } &&
114903 { ac_try='test -s conftest.$ac_objext'
114904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114905 (eval $ac_try) 2>&5
114906 ac_status=$?
114907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114908 (exit $ac_status); }; }; then
114909 glibcxx_mresult=1
114911 echo "$as_me: failed program was:" >&5
114912 sed 's/^/| /' conftest.$ac_ext >&5
114914 glibcxx_mresult=0
114916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114918 cat >>confdefs.h <<_ACEOF
114919 #define HAVE_LIMIT_VMEM $glibcxx_mresult
114920 _ACEOF
114922 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114923 echo "$as_me:$LINENO: result: $res" >&5
114924 echo "${ECHO_T}$res" >&6
114927 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
114928 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
114929 cat >conftest.$ac_ext <<_ACEOF
114930 /* confdefs.h. */
114931 _ACEOF
114932 cat confdefs.h >>conftest.$ac_ext
114933 cat >>conftest.$ac_ext <<_ACEOF
114934 /* end confdefs.h. */
114935 #include <unistd.h>
114936 #include <sys/time.h>
114937 #include <sys/resource.h>
114940 main ()
114942 int f = RLIMIT_AS ;
114944 return 0;
114946 _ACEOF
114947 rm -f conftest.$ac_objext
114948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114949 (eval $ac_compile) 2>conftest.er1
114950 ac_status=$?
114951 grep -v '^ *+' conftest.er1 >conftest.err
114952 rm -f conftest.er1
114953 cat conftest.err >&5
114954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114955 (exit $ac_status); } &&
114956 { ac_try='test -z "$ac_c_werror_flag"
114957 || test ! -s conftest.err'
114958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114959 (eval $ac_try) 2>&5
114960 ac_status=$?
114961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114962 (exit $ac_status); }; } &&
114963 { ac_try='test -s conftest.$ac_objext'
114964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114965 (eval $ac_try) 2>&5
114966 ac_status=$?
114967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114968 (exit $ac_status); }; }; then
114969 glibcxx_mresult=1
114971 echo "$as_me: failed program was:" >&5
114972 sed 's/^/| /' conftest.$ac_ext >&5
114974 glibcxx_mresult=0
114976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114978 cat >>confdefs.h <<_ACEOF
114979 #define HAVE_LIMIT_AS $glibcxx_mresult
114980 _ACEOF
114982 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114983 echo "$as_me:$LINENO: result: $res" >&5
114984 echo "${ECHO_T}$res" >&6
114987 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
114988 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
114989 cat >conftest.$ac_ext <<_ACEOF
114990 /* confdefs.h. */
114991 _ACEOF
114992 cat confdefs.h >>conftest.$ac_ext
114993 cat >>conftest.$ac_ext <<_ACEOF
114994 /* end confdefs.h. */
114995 #include <unistd.h>
114996 #include <sys/time.h>
114997 #include <sys/resource.h>
115000 main ()
115002 int f = RLIMIT_FSIZE ;
115004 return 0;
115006 _ACEOF
115007 rm -f conftest.$ac_objext
115008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115009 (eval $ac_compile) 2>conftest.er1
115010 ac_status=$?
115011 grep -v '^ *+' conftest.er1 >conftest.err
115012 rm -f conftest.er1
115013 cat conftest.err >&5
115014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115015 (exit $ac_status); } &&
115016 { ac_try='test -z "$ac_c_werror_flag"
115017 || test ! -s conftest.err'
115018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115019 (eval $ac_try) 2>&5
115020 ac_status=$?
115021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115022 (exit $ac_status); }; } &&
115023 { ac_try='test -s conftest.$ac_objext'
115024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115025 (eval $ac_try) 2>&5
115026 ac_status=$?
115027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115028 (exit $ac_status); }; }; then
115029 glibcxx_mresult=1
115031 echo "$as_me: failed program was:" >&5
115032 sed 's/^/| /' conftest.$ac_ext >&5
115034 glibcxx_mresult=0
115036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115038 cat >>confdefs.h <<_ACEOF
115039 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
115040 _ACEOF
115042 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115043 echo "$as_me:$LINENO: result: $res" >&5
115044 echo "${ECHO_T}$res" >&6
115047 # Check for rlimit, setrlimit.
115048 if test "${ac_setrlimit+set}" = set; then
115049 echo $ECHO_N "(cached) $ECHO_C" >&6
115052 cat >conftest.$ac_ext <<_ACEOF
115053 /* confdefs.h. */
115054 _ACEOF
115055 cat confdefs.h >>conftest.$ac_ext
115056 cat >>conftest.$ac_ext <<_ACEOF
115057 /* end confdefs.h. */
115058 #include <unistd.h>
115059 #include <sys/time.h>
115060 #include <sys/resource.h>
115063 main ()
115065 struct rlimit r;
115066 setrlimit(0, &r);
115068 return 0;
115070 _ACEOF
115071 rm -f conftest.$ac_objext
115072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115073 (eval $ac_compile) 2>conftest.er1
115074 ac_status=$?
115075 grep -v '^ *+' conftest.er1 >conftest.err
115076 rm -f conftest.er1
115077 cat conftest.err >&5
115078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115079 (exit $ac_status); } &&
115080 { ac_try='test -z "$ac_c_werror_flag"
115081 || test ! -s conftest.err'
115082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115083 (eval $ac_try) 2>&5
115084 ac_status=$?
115085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115086 (exit $ac_status); }; } &&
115087 { ac_try='test -s conftest.$ac_objext'
115088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115089 (eval $ac_try) 2>&5
115090 ac_status=$?
115091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115092 (exit $ac_status); }; }; then
115093 ac_setrlimit=yes
115095 echo "$as_me: failed program was:" >&5
115096 sed 's/^/| /' conftest.$ac_ext >&5
115098 ac_setrlimit=no
115100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115106 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
115107 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
115108 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
115109 ac_res_limits=yes
115111 cat >>confdefs.h <<\_ACEOF
115112 #define _GLIBCXX_RES_LIMITS 1
115113 _ACEOF
115116 ac_res_limits=no
115118 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
115119 echo "${ECHO_T}$ac_res_limits" >&6
115122 # Look for setenv, so that extended locale tests can be performed.
115124 echo "$as_me:$LINENO: checking for setenv declaration" >&5
115125 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
115126 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
115127 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
115128 echo $ECHO_N "(cached) $ECHO_C" >&6
115133 ac_ext=cc
115134 ac_cpp='$CXXCPP $CPPFLAGS'
115135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115139 cat >conftest.$ac_ext <<_ACEOF
115140 /* confdefs.h. */
115141 _ACEOF
115142 cat confdefs.h >>conftest.$ac_ext
115143 cat >>conftest.$ac_ext <<_ACEOF
115144 /* end confdefs.h. */
115145 #include <stdlib.h>
115147 main ()
115149 setenv(0, 0, 0);
115151 return 0;
115153 _ACEOF
115154 rm -f conftest.$ac_objext
115155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115156 (eval $ac_compile) 2>conftest.er1
115157 ac_status=$?
115158 grep -v '^ *+' conftest.er1 >conftest.err
115159 rm -f conftest.er1
115160 cat conftest.err >&5
115161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115162 (exit $ac_status); } &&
115163 { ac_try='test -z "$ac_cxx_werror_flag"
115164 || test ! -s conftest.err'
115165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115166 (eval $ac_try) 2>&5
115167 ac_status=$?
115168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115169 (exit $ac_status); }; } &&
115170 { ac_try='test -s conftest.$ac_objext'
115171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115172 (eval $ac_try) 2>&5
115173 ac_status=$?
115174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115175 (exit $ac_status); }; }; then
115176 glibcxx_cv_func_setenv_use=yes
115178 echo "$as_me: failed program was:" >&5
115179 sed 's/^/| /' conftest.$ac_ext >&5
115181 glibcxx_cv_func_setenv_use=no
115183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115184 ac_ext=c
115185 ac_cpp='$CPP $CPPFLAGS'
115186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
115195 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
115196 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
115198 for ac_func in setenv
115200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115201 echo "$as_me:$LINENO: checking for $ac_func" >&5
115202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115203 if eval "test \"\${$as_ac_var+set}\" = set"; then
115204 echo $ECHO_N "(cached) $ECHO_C" >&6
115206 if test x$gcc_no_link = xyes; then
115207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115209 { (exit 1); exit 1; }; }
115211 cat >conftest.$ac_ext <<_ACEOF
115212 /* confdefs.h. */
115213 _ACEOF
115214 cat confdefs.h >>conftest.$ac_ext
115215 cat >>conftest.$ac_ext <<_ACEOF
115216 /* end confdefs.h. */
115217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115219 #define $ac_func innocuous_$ac_func
115221 /* System header to define __stub macros and hopefully few prototypes,
115222 which can conflict with char $ac_func (); below.
115223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115224 <limits.h> exists even on freestanding compilers. */
115226 #ifdef __STDC__
115227 # include <limits.h>
115228 #else
115229 # include <assert.h>
115230 #endif
115232 #undef $ac_func
115234 /* Override any gcc2 internal prototype to avoid an error. */
115235 #ifdef __cplusplus
115236 extern "C"
115238 #endif
115239 /* We use char because int might match the return type of a gcc2
115240 builtin and then its argument prototype would still apply. */
115241 char $ac_func ();
115242 /* The GNU C library defines this for functions which it implements
115243 to always fail with ENOSYS. Some functions are actually named
115244 something starting with __ and the normal name is an alias. */
115245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115246 choke me
115247 #else
115248 char (*f) () = $ac_func;
115249 #endif
115250 #ifdef __cplusplus
115252 #endif
115255 main ()
115257 return f != $ac_func;
115259 return 0;
115261 _ACEOF
115262 rm -f conftest.$ac_objext conftest$ac_exeext
115263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115264 (eval $ac_link) 2>conftest.er1
115265 ac_status=$?
115266 grep -v '^ *+' conftest.er1 >conftest.err
115267 rm -f conftest.er1
115268 cat conftest.err >&5
115269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115270 (exit $ac_status); } &&
115271 { ac_try='test -z "$ac_c_werror_flag"
115272 || test ! -s conftest.err'
115273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115274 (eval $ac_try) 2>&5
115275 ac_status=$?
115276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115277 (exit $ac_status); }; } &&
115278 { ac_try='test -s conftest$ac_exeext'
115279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115280 (eval $ac_try) 2>&5
115281 ac_status=$?
115282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115283 (exit $ac_status); }; }; then
115284 eval "$as_ac_var=yes"
115286 echo "$as_me: failed program was:" >&5
115287 sed 's/^/| /' conftest.$ac_ext >&5
115289 eval "$as_ac_var=no"
115291 rm -f conftest.err conftest.$ac_objext \
115292 conftest$ac_exeext conftest.$ac_ext
115294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115296 if test `eval echo '${'$as_ac_var'}'` = yes; then
115297 cat >>confdefs.h <<_ACEOF
115298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115299 _ACEOF
115308 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
115309 test $enable_symvers != no; then
115310 case "$host" in
115311 *-*-cygwin*)
115312 enable_abi_check=no ;;
115314 enable_abi_check=yes ;;
115317 # Only build this as native, since automake does not understand
115318 # CXX_FOR_BUILD.
115319 enable_abi_check=no
115322 # Export file names for ABI checking.
115323 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
115327 # Propagate the target-specific source directories through the build chain.
115328 ATOMICITY_SRCDIR=config/${atomicity_dir}
115329 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
115330 ATOMIC_FLAGS=${atomic_flags}
115331 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
115332 OS_INC_SRCDIR=config/${os_include_dir}
115333 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
115334 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
115344 # Determine cross-compile flags and AM_CONDITIONALs.
115345 #AC_SUBST(GLIBCXX_IS_NATIVE)
115346 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
115347 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
115348 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
115351 if test $is_hosted = yes; then
115352 GLIBCXX_HOSTED_TRUE=
115353 GLIBCXX_HOSTED_FALSE='#'
115355 GLIBCXX_HOSTED_TRUE='#'
115356 GLIBCXX_HOSTED_FALSE=
115362 if test $enable_libstdcxx_pch = yes; then
115363 GLIBCXX_BUILD_PCH_TRUE=
115364 GLIBCXX_BUILD_PCH_FALSE='#'
115366 GLIBCXX_BUILD_PCH_TRUE='#'
115367 GLIBCXX_BUILD_PCH_FALSE=
115373 if test $enable_cheaders = c; then
115374 GLIBCXX_C_HEADERS_C_TRUE=
115375 GLIBCXX_C_HEADERS_C_FALSE='#'
115377 GLIBCXX_C_HEADERS_C_TRUE='#'
115378 GLIBCXX_C_HEADERS_C_FALSE=
115384 if test $enable_cheaders = c_std; then
115385 GLIBCXX_C_HEADERS_C_STD_TRUE=
115386 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
115388 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
115389 GLIBCXX_C_HEADERS_C_STD_FALSE=
115395 if test $enable_cheaders = c_global; then
115396 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
115397 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
115399 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
115400 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
115406 if test $c_compatibility = yes; then
115407 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
115408 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
115410 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
115411 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
115417 if test $c_extra = yes; then
115418 GLIBCXX_C_HEADERS_EXTRA_TRUE=
115419 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
115421 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
115422 GLIBCXX_C_HEADERS_EXTRA_FALSE=
115428 if test $enable_libstdcxx_debug = yes; then
115429 GLIBCXX_BUILD_DEBUG_TRUE=
115430 GLIBCXX_BUILD_DEBUG_FALSE='#'
115432 GLIBCXX_BUILD_DEBUG_TRUE='#'
115433 GLIBCXX_BUILD_DEBUG_FALSE=
115439 if test $enable_parallel = yes; then
115440 ENABLE_PARALLEL_TRUE=
115441 ENABLE_PARALLEL_FALSE='#'
115443 ENABLE_PARALLEL_TRUE='#'
115444 ENABLE_PARALLEL_FALSE=
115450 if test $enable_symvers != no; then
115451 ENABLE_SYMVERS_TRUE=
115452 ENABLE_SYMVERS_FALSE='#'
115454 ENABLE_SYMVERS_TRUE='#'
115455 ENABLE_SYMVERS_FALSE=
115461 if test $enable_symvers = gnu; then
115462 ENABLE_SYMVERS_GNU_TRUE=
115463 ENABLE_SYMVERS_GNU_FALSE='#'
115465 ENABLE_SYMVERS_GNU_TRUE='#'
115466 ENABLE_SYMVERS_GNU_FALSE=
115472 if test $enable_symvers = gnu-versioned-namespace; then
115473 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
115474 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
115476 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
115477 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
115483 if test $enable_symvers = darwin; then
115484 ENABLE_SYMVERS_DARWIN_TRUE=
115485 ENABLE_SYMVERS_DARWIN_FALSE='#'
115487 ENABLE_SYMVERS_DARWIN_TRUE='#'
115488 ENABLE_SYMVERS_DARWIN_FALSE=
115494 if test $enable_visibility = yes; then
115495 ENABLE_VISIBILITY_TRUE=
115496 ENABLE_VISIBILITY_FALSE='#'
115498 ENABLE_VISIBILITY_TRUE='#'
115499 ENABLE_VISIBILITY_FALSE=
115505 if test $ac_ldbl_compat = yes; then
115506 GLIBCXX_LDBL_COMPAT_TRUE=
115507 GLIBCXX_LDBL_COMPAT_FALSE='#'
115509 GLIBCXX_LDBL_COMPAT_TRUE='#'
115510 GLIBCXX_LDBL_COMPAT_FALSE=
115516 cat >confcache <<\_ACEOF
115517 # This file is a shell script that caches the results of configure
115518 # tests run on this system so they can be shared between configure
115519 # scripts and configure runs, see configure's option --config-cache.
115520 # It is not useful on other systems. If it contains results you don't
115521 # want to keep, you may remove or edit it.
115523 # config.status only pays attention to the cache file if you give it
115524 # the --recheck option to rerun configure.
115526 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115528 # following values.
115530 _ACEOF
115532 # The following way of writing the cache mishandles newlines in values,
115533 # but we know of no workaround that is simple, portable, and efficient.
115534 # So, don't put newlines in cache variables' values.
115535 # Ultrix sh set writes to stderr and can't be redirected directly,
115536 # and sets the high bit in the cache file unless we assign to the vars.
115538 (set) 2>&1 |
115539 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115540 *ac_space=\ *)
115541 # `set' does not quote correctly, so add quotes (double-quote
115542 # substitution turns \\\\ into \\, and sed turns \\ into \).
115543 sed -n \
115544 "s/'/'\\\\''/g;
115545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115548 # `set' quotes correctly as required by POSIX, so do not add quotes.
115549 sed -n \
115550 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115552 esac;
115554 sed '
115555 t clear
115556 : clear
115557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115558 t end
115559 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115560 : end' >>confcache
115561 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115562 if test -w $cache_file; then
115563 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115564 cat confcache >$cache_file
115566 echo "not updating unwritable cache $cache_file"
115569 rm -f confcache
115571 if test ${multilib} = yes; then
115572 multilib_arg="--enable-multilib"
115574 multilib_arg=
115577 # Export all the install information.
115579 glibcxx_toolexecdir=no
115580 glibcxx_toolexeclibdir=no
115581 glibcxx_prefixdir=$prefix
115583 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
115584 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
115586 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
115587 if test "${with_gxx_include_dir+set}" = set; then
115588 withval="$with_gxx_include_dir"
115589 case "$withval" in
115590 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
115591 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
115592 { (exit 1); exit 1; }; } ;;
115593 no) gxx_include_dir=no ;;
115594 *) gxx_include_dir=$withval ;;
115597 gxx_include_dir=no
115599 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115600 echo "${ECHO_T}$gxx_include_dir" >&6
115602 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
115603 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
115604 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
115605 if test "${enable_version_specific_runtime_libs+set}" = set; then
115606 enableval="$enable_version_specific_runtime_libs"
115607 case "$enableval" in
115608 yes) version_specific_libs=yes ;;
115609 no) version_specific_libs=no ;;
115610 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
115611 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
115612 { (exit 1); exit 1; }; };;
115615 version_specific_libs=no
115617 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
115618 echo "${ECHO_T}$version_specific_libs" >&6
115620 # Default case for install directory for include files.
115621 if test $version_specific_libs = no && test $gxx_include_dir = no; then
115622 gxx_include_dir='include/c++/${gcc_version}'
115623 if test -n "$with_cross_host" &&
115624 test x"$with_cross_host" != x"no"; then
115625 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
115627 gxx_include_dir='${prefix}/'"$gxx_include_dir"
115631 # Version-specific runtime libs processing.
115632 if test $version_specific_libs = yes; then
115633 # Need the gcc compiler version to know where to install libraries
115634 # and header files if --enable-version-specific-runtime-libs option
115635 # is selected. FIXME: these variables are misnamed, there are
115636 # no executables installed in _toolexecdir or _toolexeclibdir.
115637 if test x"$gxx_include_dir" = x"no"; then
115638 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
115640 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115641 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
115644 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
115645 # Install a library built with a cross compiler in tooldir, not libdir.
115646 if test x"$glibcxx_toolexecdir" = x"no"; then
115647 if test -n "$with_cross_host" &&
115648 test x"$with_cross_host" != x"no"; then
115649 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
115650 glibcxx_toolexeclibdir='${toolexecdir}/lib'
115652 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115653 glibcxx_toolexeclibdir='${libdir}'
115655 multi_os_directory=`$CXX -print-multi-os-directory`
115656 case $multi_os_directory in
115657 .) ;; # Avoid trailing /.
115658 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
115662 echo "$as_me:$LINENO: checking for install location" >&5
115663 echo $ECHO_N "checking for install location... $ECHO_C" >&6
115664 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115665 echo "${ECHO_T}$gxx_include_dir" >&6
115673 # Export all the include and flag information to Makefiles.
115675 # Used for every C++ compile we perform.
115676 GLIBCXX_INCLUDES="\
115677 -I$glibcxx_builddir/include/$host_alias \
115678 -I$glibcxx_builddir/include \
115679 -I$glibcxx_srcdir/libsupc++"
115681 # For Canadian crosses, pick this up too.
115682 if test $CANADIAN = yes; then
115683 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
115686 # Stuff in the actual top level. Currently only used by libsupc++ to
115687 # get unwind* headers from the gcc dir.
115688 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
115689 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
115691 # Now, export this to all the little Makefiles....
115696 # Optimization flags that are probably a good idea for thrill-seekers. Just
115697 # uncomment the lines below and make, everything else is ready to go...
115698 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
115699 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
115702 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
115706 if test "$enable_shared" = yes; then
115707 LIBSUPCXX_PICFLAGS="-prefer-pic"
115709 LIBSUPCXX_PICFLAGS=
115713 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
115715 ac_config_files="$ac_config_files scripts/testsuite_flags"
115718 ac_config_commands="$ac_config_commands default"
115721 cat >confcache <<\_ACEOF
115722 # This file is a shell script that caches the results of configure
115723 # tests run on this system so they can be shared between configure
115724 # scripts and configure runs, see configure's option --config-cache.
115725 # It is not useful on other systems. If it contains results you don't
115726 # want to keep, you may remove or edit it.
115728 # config.status only pays attention to the cache file if you give it
115729 # the --recheck option to rerun configure.
115731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115733 # following values.
115735 _ACEOF
115737 # The following way of writing the cache mishandles newlines in values,
115738 # but we know of no workaround that is simple, portable, and efficient.
115739 # So, don't put newlines in cache variables' values.
115740 # Ultrix sh set writes to stderr and can't be redirected directly,
115741 # and sets the high bit in the cache file unless we assign to the vars.
115743 (set) 2>&1 |
115744 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115745 *ac_space=\ *)
115746 # `set' does not quote correctly, so add quotes (double-quote
115747 # substitution turns \\\\ into \\, and sed turns \\ into \).
115748 sed -n \
115749 "s/'/'\\\\''/g;
115750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115753 # `set' quotes correctly as required by POSIX, so do not add quotes.
115754 sed -n \
115755 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115757 esac;
115759 sed '
115760 t clear
115761 : clear
115762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115763 t end
115764 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115765 : end' >>confcache
115766 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115767 if test -w $cache_file; then
115768 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115769 cat confcache >$cache_file
115771 echo "not updating unwritable cache $cache_file"
115774 rm -f confcache
115776 test "x$prefix" = xNONE && prefix=$ac_default_prefix
115777 # Let make expand exec_prefix.
115778 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
115780 # VPATH may cause trouble with some makes, so we remove $(srcdir),
115781 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
115782 # trailing colons and then remove the whole line if VPATH becomes empty
115783 # (actually we leave an empty line to preserve line numbers).
115784 if test "x$srcdir" = x.; then
115785 ac_vpsub='/^[ ]*VPATH[ ]*=/{
115786 s/:*\$(srcdir):*/:/;
115787 s/:*\${srcdir}:*/:/;
115788 s/:*@srcdir@:*/:/;
115789 s/^\([^=]*=[ ]*\):*/\1/;
115790 s/:*$//;
115791 s/^[^=]*=[ ]*$//;
115795 DEFS=-DHAVE_CONFIG_H
115797 ac_libobjs=
115798 ac_ltlibobjs=
115799 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
115800 # 1. Remove the extension, and $U if already installed.
115801 ac_i=`echo "$ac_i" |
115802 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
115803 # 2. Add them.
115804 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
115805 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
115807 LIBOBJS=$ac_libobjs
115809 LTLIBOBJS=$ac_ltlibobjs
115812 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
115813 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
115814 Usually this means the macro was only invoked conditionally." >&5
115815 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
115816 Usually this means the macro was only invoked conditionally." >&2;}
115817 { (exit 1); exit 1; }; }
115819 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
115820 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115821 Usually this means the macro was only invoked conditionally." >&5
115822 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115823 Usually this means the macro was only invoked conditionally." >&2;}
115824 { (exit 1); exit 1; }; }
115826 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
115827 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115828 Usually this means the macro was only invoked conditionally." >&5
115829 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115830 Usually this means the macro was only invoked conditionally." >&2;}
115831 { (exit 1); exit 1; }; }
115833 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
115834 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115835 Usually this means the macro was only invoked conditionally." >&5
115836 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115837 Usually this means the macro was only invoked conditionally." >&2;}
115838 { (exit 1); exit 1; }; }
115840 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
115841 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115842 Usually this means the macro was only invoked conditionally." >&5
115843 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115844 Usually this means the macro was only invoked conditionally." >&2;}
115845 { (exit 1); exit 1; }; }
115847 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
115848 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115849 Usually this means the macro was only invoked conditionally." >&5
115850 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115851 Usually this means the macro was only invoked conditionally." >&2;}
115852 { (exit 1); exit 1; }; }
115854 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
115855 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115856 Usually this means the macro was only invoked conditionally." >&5
115857 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115858 Usually this means the macro was only invoked conditionally." >&2;}
115859 { (exit 1); exit 1; }; }
115861 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
115862 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115863 Usually this means the macro was only invoked conditionally." >&5
115864 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115865 Usually this means the macro was only invoked conditionally." >&2;}
115866 { (exit 1); exit 1; }; }
115868 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
115869 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115870 Usually this means the macro was only invoked conditionally." >&5
115871 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115872 Usually this means the macro was only invoked conditionally." >&2;}
115873 { (exit 1); exit 1; }; }
115875 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
115876 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
115877 Usually this means the macro was only invoked conditionally." >&5
115878 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
115879 Usually this means the macro was only invoked conditionally." >&2;}
115880 { (exit 1); exit 1; }; }
115882 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
115883 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
115884 Usually this means the macro was only invoked conditionally." >&5
115885 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
115886 Usually this means the macro was only invoked conditionally." >&2;}
115887 { (exit 1); exit 1; }; }
115889 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
115890 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115891 Usually this means the macro was only invoked conditionally." >&5
115892 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115893 Usually this means the macro was only invoked conditionally." >&2;}
115894 { (exit 1); exit 1; }; }
115896 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
115897 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115898 Usually this means the macro was only invoked conditionally." >&5
115899 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115900 Usually this means the macro was only invoked conditionally." >&2;}
115901 { (exit 1); exit 1; }; }
115903 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
115904 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115905 Usually this means the macro was only invoked conditionally." >&5
115906 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115907 Usually this means the macro was only invoked conditionally." >&2;}
115908 { (exit 1); exit 1; }; }
115910 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
115911 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115912 Usually this means the macro was only invoked conditionally." >&5
115913 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115914 Usually this means the macro was only invoked conditionally." >&2;}
115915 { (exit 1); exit 1; }; }
115917 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
115918 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115919 Usually this means the macro was only invoked conditionally." >&5
115920 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115921 Usually this means the macro was only invoked conditionally." >&2;}
115922 { (exit 1); exit 1; }; }
115925 : ${CONFIG_STATUS=./config.status}
115926 ac_clean_files_save=$ac_clean_files
115927 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
115928 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
115929 echo "$as_me: creating $CONFIG_STATUS" >&6;}
115930 cat >$CONFIG_STATUS <<_ACEOF
115931 #! $SHELL
115932 # Generated by $as_me.
115933 # Run this file to recreate the current configuration.
115934 # Compiler output produced by configure, useful for debugging
115935 # configure, is in config.log if it exists.
115937 debug=false
115938 ac_cs_recheck=false
115939 ac_cs_silent=false
115940 SHELL=\${CONFIG_SHELL-$SHELL}
115941 _ACEOF
115943 cat >>$CONFIG_STATUS <<\_ACEOF
115944 ## --------------------- ##
115945 ## M4sh Initialization. ##
115946 ## --------------------- ##
115948 # Be Bourne compatible
115949 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
115950 emulate sh
115951 NULLCMD=:
115952 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
115953 # is contrary to our usage. Disable this feature.
115954 alias -g '${1+"$@"}'='"$@"'
115955 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
115956 set -o posix
115958 DUALCASE=1; export DUALCASE # for MKS sh
115960 # Support unset when possible.
115961 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
115962 as_unset=unset
115964 as_unset=false
115968 # Work around bugs in pre-3.0 UWIN ksh.
115969 $as_unset ENV MAIL MAILPATH
115970 PS1='$ '
115971 PS2='> '
115972 PS4='+ '
115974 # NLS nuisances.
115975 for as_var in \
115976 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
115977 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
115978 LC_TELEPHONE LC_TIME
115980 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
115981 eval $as_var=C; export $as_var
115983 $as_unset $as_var
115987 # Required to use basename.
115988 if expr a : '\(a\)' >/dev/null 2>&1; then
115989 as_expr=expr
115991 as_expr=false
115994 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
115995 as_basename=basename
115997 as_basename=false
116001 # Name of the executable.
116002 as_me=`$as_basename "$0" ||
116003 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
116004 X"$0" : 'X\(//\)$' \| \
116005 X"$0" : 'X\(/\)$' \| \
116006 . : '\(.\)' 2>/dev/null ||
116007 echo X/"$0" |
116008 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116009 /^X\/\(\/\/\)$/{ s//\1/; q; }
116010 /^X\/\(\/\).*/{ s//\1/; q; }
116011 s/.*/./; q'`
116014 # PATH needs CR, and LINENO needs CR and PATH.
116015 # Avoid depending upon Character Ranges.
116016 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
116017 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
116018 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
116019 as_cr_digits='0123456789'
116020 as_cr_alnum=$as_cr_Letters$as_cr_digits
116022 # The user is always right.
116023 if test "${PATH_SEPARATOR+set}" != set; then
116024 echo "#! /bin/sh" >conf$$.sh
116025 echo "exit 0" >>conf$$.sh
116026 chmod +x conf$$.sh
116027 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
116028 PATH_SEPARATOR=';'
116030 PATH_SEPARATOR=:
116032 rm -f conf$$.sh
116036 as_lineno_1=$LINENO
116037 as_lineno_2=$LINENO
116038 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116039 test "x$as_lineno_1" != "x$as_lineno_2" &&
116040 test "x$as_lineno_3" = "x$as_lineno_2" || {
116041 # Find who we are. Look in the path if we contain no path at all
116042 # relative or not.
116043 case $0 in
116044 *[\\/]* ) as_myself=$0 ;;
116045 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116046 for as_dir in $PATH
116048 IFS=$as_save_IFS
116049 test -z "$as_dir" && as_dir=.
116050 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116055 # We did not find ourselves, most probably we were run as `sh COMMAND'
116056 # in which case we are not to be found in the path.
116057 if test "x$as_myself" = x; then
116058 as_myself=$0
116060 if test ! -f "$as_myself"; then
116061 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116062 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
116063 { (exit 1); exit 1; }; }
116065 case $CONFIG_SHELL in
116067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116068 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
116070 IFS=$as_save_IFS
116071 test -z "$as_dir" && as_dir=.
116072 for as_base in sh bash ksh sh5; do
116073 case $as_dir in
116075 if ("$as_dir/$as_base" -c '
116076 as_lineno_1=$LINENO
116077 as_lineno_2=$LINENO
116078 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116079 test "x$as_lineno_1" != "x$as_lineno_2" &&
116080 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
116081 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
116082 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
116083 CONFIG_SHELL=$as_dir/$as_base
116084 export CONFIG_SHELL
116085 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
116093 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
116094 # uniformly replaced by the line number. The first 'sed' inserts a
116095 # line-number line before each line; the second 'sed' does the real
116096 # work. The second script uses 'N' to pair each line-number line
116097 # with the numbered line, and appends trailing '-' during
116098 # substitution so that $LINENO is not a special case at line end.
116099 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
116100 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
116101 sed '=' <$as_myself |
116102 sed '
116104 s,$,-,
116105 : loop
116106 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
116107 t loop
116108 s,-$,,
116109 s,^['$as_cr_digits']*\n,,
116110 ' >$as_me.lineno &&
116111 chmod +x $as_me.lineno ||
116112 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
116113 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
116114 { (exit 1); exit 1; }; }
116116 # Don't try to exec as it changes $[0], causing all sort of problems
116117 # (the dirname of $[0] is not the place where we might find the
116118 # original and so on. Autoconf is especially sensible to this).
116119 . ./$as_me.lineno
116120 # Exit status is that of the last command.
116125 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
116126 *c*,-n*) ECHO_N= ECHO_C='
116127 ' ECHO_T=' ' ;;
116128 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
116129 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
116132 if expr a : '\(a\)' >/dev/null 2>&1; then
116133 as_expr=expr
116135 as_expr=false
116138 rm -f conf$$ conf$$.exe conf$$.file
116139 echo >conf$$.file
116140 if ln -s conf$$.file conf$$ 2>/dev/null; then
116141 # We could just check for DJGPP; but this test a) works b) is more generic
116142 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
116143 if test -f conf$$.exe; then
116144 # Don't use ln at all; we don't have any links
116145 as_ln_s='cp -p'
116147 as_ln_s='ln -s'
116149 elif ln conf$$.file conf$$ 2>/dev/null; then
116150 as_ln_s=ln
116152 as_ln_s='cp -p'
116154 rm -f conf$$ conf$$.exe conf$$.file
116156 if mkdir -p . 2>/dev/null; then
116157 as_mkdir_p=:
116159 test -d ./-p && rmdir ./-p
116160 as_mkdir_p=false
116163 as_executable_p="test -f"
116165 # Sed expression to map a string onto a valid CPP name.
116166 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
116168 # Sed expression to map a string onto a valid variable name.
116169 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
116172 # IFS
116173 # We need space, tab and new line, in precisely that order.
116174 as_nl='
116176 IFS=" $as_nl"
116178 # CDPATH.
116179 $as_unset CDPATH
116181 exec 6>&1
116183 # Open the log real soon, to keep \$[0] and so on meaningful, and to
116184 # report actual input values of CONFIG_FILES etc. instead of their
116185 # values after options handling. Logging --version etc. is OK.
116186 exec 5>>config.log
116189 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
116190 ## Running $as_me. ##
116191 _ASBOX
116192 } >&5
116193 cat >&5 <<_CSEOF
116195 This file was extended by package-unused $as_me version-unused, which was
116196 generated by GNU Autoconf 2.59. Invocation command line was
116198 CONFIG_FILES = $CONFIG_FILES
116199 CONFIG_HEADERS = $CONFIG_HEADERS
116200 CONFIG_LINKS = $CONFIG_LINKS
116201 CONFIG_COMMANDS = $CONFIG_COMMANDS
116202 $ $0 $@
116204 _CSEOF
116205 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
116206 echo >&5
116207 _ACEOF
116209 # Files that config.status was made for.
116210 if test -n "$ac_config_files"; then
116211 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
116214 if test -n "$ac_config_headers"; then
116215 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
116218 if test -n "$ac_config_links"; then
116219 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
116222 if test -n "$ac_config_commands"; then
116223 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
116226 cat >>$CONFIG_STATUS <<\_ACEOF
116228 ac_cs_usage="\
116229 \`$as_me' instantiates files from templates according to the
116230 current configuration.
116232 Usage: $0 [OPTIONS] [FILE]...
116234 -h, --help print this help, then exit
116235 -V, --version print version number, then exit
116236 -q, --quiet do not print progress messages
116237 -d, --debug don't remove temporary files
116238 --recheck update $as_me by reconfiguring in the same conditions
116239 --file=FILE[:TEMPLATE]
116240 instantiate the configuration file FILE
116241 --header=FILE[:TEMPLATE]
116242 instantiate the configuration header FILE
116244 Configuration files:
116245 $config_files
116247 Configuration headers:
116248 $config_headers
116250 Configuration commands:
116251 $config_commands
116253 Report bugs to <bug-autoconf@gnu.org>."
116254 _ACEOF
116256 cat >>$CONFIG_STATUS <<_ACEOF
116257 ac_cs_version="\\
116258 package-unused config.status version-unused
116259 configured by $0, generated by GNU Autoconf 2.59,
116260 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
116262 Copyright (C) 2003 Free Software Foundation, Inc.
116263 This config.status script is free software; the Free Software Foundation
116264 gives unlimited permission to copy, distribute and modify it."
116265 srcdir=$srcdir
116266 INSTALL="$INSTALL"
116267 _ACEOF
116269 cat >>$CONFIG_STATUS <<\_ACEOF
116270 # If no file are specified by the user, then we need to provide default
116271 # value. By we need to know if files were specified by the user.
116272 ac_need_defaults=:
116273 while test $# != 0
116275 case $1 in
116276 --*=*)
116277 ac_option=`expr "x$1" : 'x\([^=]*\)='`
116278 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
116279 ac_shift=:
116282 ac_option=$1
116283 ac_optarg=$2
116284 ac_shift=shift
116286 *) # This is not an option, so the user has probably given explicit
116287 # arguments.
116288 ac_option=$1
116289 ac_need_defaults=false;;
116292 case $ac_option in
116293 # Handling of the options.
116294 _ACEOF
116295 cat >>$CONFIG_STATUS <<\_ACEOF
116296 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
116297 ac_cs_recheck=: ;;
116298 --version | --vers* | -V )
116299 echo "$ac_cs_version"; exit 0 ;;
116300 --he | --h)
116301 # Conflict between --help and --header
116302 { { echo "$as_me:$LINENO: error: ambiguous option: $1
116303 Try \`$0 --help' for more information." >&5
116304 echo "$as_me: error: ambiguous option: $1
116305 Try \`$0 --help' for more information." >&2;}
116306 { (exit 1); exit 1; }; };;
116307 --help | --hel | -h )
116308 echo "$ac_cs_usage"; exit 0 ;;
116309 --debug | --d* | -d )
116310 debug=: ;;
116311 --file | --fil | --fi | --f )
116312 $ac_shift
116313 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
116314 ac_need_defaults=false;;
116315 --header | --heade | --head | --hea )
116316 $ac_shift
116317 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
116318 ac_need_defaults=false;;
116319 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
116320 | -silent | --silent | --silen | --sile | --sil | --si | --s)
116321 ac_cs_silent=: ;;
116323 # This is an error.
116324 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
116325 Try \`$0 --help' for more information." >&5
116326 echo "$as_me: error: unrecognized option: $1
116327 Try \`$0 --help' for more information." >&2;}
116328 { (exit 1); exit 1; }; } ;;
116330 *) ac_config_targets="$ac_config_targets $1" ;;
116333 shift
116336 ac_configure_extra_args=
116338 if $ac_cs_silent; then
116339 exec 6>/dev/null
116340 ac_configure_extra_args="$ac_configure_extra_args --silent"
116343 _ACEOF
116344 cat >>$CONFIG_STATUS <<_ACEOF
116345 if \$ac_cs_recheck; then
116346 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
116347 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
116350 _ACEOF
116352 cat >>$CONFIG_STATUS <<_ACEOF
116354 # INIT-COMMANDS section.
116358 srcdir="$srcdir"
116359 host="$host"
116360 target="$target"
116361 with_multisubdir="$with_multisubdir"
116362 with_multisrctop="$with_multisrctop"
116363 with_target_subdir="$with_target_subdir"
116364 ac_configure_args="${multilib_arg} ${ac_configure_args}"
116365 multi_basedir="$multi_basedir"
116366 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
116367 CC="$CC"
116370 # The HP-UX ksh and POSIX shell print the target directory to stdout
116371 # if CDPATH is set.
116372 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
116374 sed_quote_subst='$sed_quote_subst'
116375 double_quote_subst='$double_quote_subst'
116376 delay_variable_subst='$delay_variable_subst'
116377 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
116378 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
116379 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
116380 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
116381 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
116382 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
116383 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
116384 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
116385 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
116386 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
116387 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
116388 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
116389 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
116390 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
116391 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
116392 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
116393 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
116394 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
116395 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
116396 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
116397 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
116398 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
116399 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
116400 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
116401 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
116402 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
116403 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
116404 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116405 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
116406 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
116407 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
116408 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116409 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
116410 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
116411 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116412 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116413 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116414 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
116415 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116416 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
116417 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
116418 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
116419 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
116420 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"`'
116421 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
116422 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
116423 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
116424 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
116425 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
116426 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
116427 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
116428 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
116429 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
116430 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
116431 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
116432 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116433 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116434 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
116435 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
116436 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116437 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116438 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
116439 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116440 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116441 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116442 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116443 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116444 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116445 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
116446 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116447 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116448 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116449 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
116450 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
116451 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
116452 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
116453 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
116454 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116455 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
116456 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
116457 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
116458 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
116459 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
116460 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116461 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116462 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116463 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116464 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
116465 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
116466 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
116467 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
116468 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
116469 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116470 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116471 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
116472 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116473 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
116474 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116475 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116476 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116477 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116478 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
116479 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
116480 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116481 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116482 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
116483 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
116484 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
116485 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
116486 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
116487 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
116488 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116489 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116490 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
116491 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
116492 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
116493 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116494 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116495 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116496 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116497 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116498 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116499 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116500 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116501 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116502 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116503 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116504 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116505 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116506 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116507 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116508 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116509 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116510 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116511 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116512 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116513 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116514 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116515 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116516 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116517 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116518 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116519 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116520 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116521 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116522 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116523 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116524 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116525 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116526 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116527 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116528 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116529 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116530 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116531 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116532 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116533 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116534 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116535 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116536 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116537 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116538 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116540 LTCC='$LTCC'
116541 LTCFLAGS='$LTCFLAGS'
116542 compiler='$compiler_DEFAULT'
116544 # Quote evaled strings.
116545 for var in SED \
116546 GREP \
116547 EGREP \
116548 FGREP \
116551 LN_S \
116552 lt_SP2NL \
116553 lt_NL2SP \
116554 reload_flag \
116555 deplibs_check_method \
116556 file_magic_cmd \
116558 AR_FLAGS \
116559 STRIP \
116560 RANLIB \
116562 CFLAGS \
116563 compiler \
116564 lt_cv_sys_global_symbol_pipe \
116565 lt_cv_sys_global_symbol_to_cdecl \
116566 lt_cv_sys_global_symbol_to_c_name_address \
116567 SHELL \
116568 ECHO \
116569 lt_prog_compiler_no_builtin_flag \
116570 lt_prog_compiler_wl \
116571 lt_prog_compiler_pic \
116572 lt_prog_compiler_static \
116573 lt_cv_prog_compiler_c_o \
116574 need_locks \
116575 shrext_cmds \
116576 export_dynamic_flag_spec \
116577 whole_archive_flag_spec \
116578 compiler_needs_object \
116579 with_gnu_ld \
116580 allow_undefined_flag \
116581 no_undefined_flag \
116582 hardcode_libdir_flag_spec \
116583 hardcode_libdir_flag_spec_ld \
116584 hardcode_libdir_separator \
116585 fix_srcfile_path \
116586 exclude_expsyms \
116587 include_expsyms \
116588 file_list_spec \
116589 variables_saved_for_relink \
116590 libname_spec \
116591 library_names_spec \
116592 soname_spec \
116593 finish_eval \
116594 old_striplib \
116595 striplib \
116596 predep_objects \
116597 postdep_objects \
116598 predeps \
116599 postdeps \
116600 compiler_lib_search_path \
116601 LD_CXX \
116602 compiler_CXX \
116603 lt_prog_compiler_no_builtin_flag_CXX \
116604 lt_prog_compiler_wl_CXX \
116605 lt_prog_compiler_pic_CXX \
116606 lt_prog_compiler_static_CXX \
116607 lt_cv_prog_compiler_c_o_CXX \
116608 export_dynamic_flag_spec_CXX \
116609 whole_archive_flag_spec_CXX \
116610 compiler_needs_object_CXX \
116611 with_gnu_ld_CXX \
116612 allow_undefined_flag_CXX \
116613 no_undefined_flag_CXX \
116614 hardcode_libdir_flag_spec_CXX \
116615 hardcode_libdir_flag_spec_ld_CXX \
116616 hardcode_libdir_separator_CXX \
116617 fix_srcfile_path_CXX \
116618 exclude_expsyms_CXX \
116619 include_expsyms_CXX \
116620 file_list_spec_CXX \
116621 predep_objects_CXX \
116622 postdep_objects_CXX \
116623 predeps_CXX \
116624 postdeps_CXX \
116625 compiler_lib_search_path_CXX; do
116626 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116627 *[\\\\\\\`\\"\\\$]*)
116628 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
116631 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116636 # Double-quote double-evaled strings.
116637 for var in reload_cmds \
116638 old_postinstall_cmds \
116639 old_postuninstall_cmds \
116640 old_archive_cmds \
116641 extract_expsyms_cmds \
116642 old_archive_from_new_cmds \
116643 old_archive_from_expsyms_cmds \
116644 archive_cmds \
116645 archive_expsym_cmds \
116646 module_cmds \
116647 module_expsym_cmds \
116648 export_symbols_cmds \
116649 prelink_cmds \
116650 postinstall_cmds \
116651 postuninstall_cmds \
116652 finish_cmds \
116653 sys_lib_search_path_spec \
116654 sys_lib_dlsearch_path_spec \
116655 old_archive_cmds_CXX \
116656 old_archive_from_new_cmds_CXX \
116657 old_archive_from_expsyms_cmds_CXX \
116658 archive_cmds_CXX \
116659 archive_expsym_cmds_CXX \
116660 module_cmds_CXX \
116661 module_expsym_cmds_CXX \
116662 export_symbols_cmds_CXX \
116663 prelink_cmds_CXX; do
116664 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116665 *[\\\\\\\`\\"\\\$]*)
116666 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
116669 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116674 # Fix-up fallback echo if it was mangled by the above quoting rules.
116675 case \$lt_ECHO in
116676 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
116680 ac_aux_dir='$ac_aux_dir'
116681 xsi_shell='$xsi_shell'
116682 lt_shell_append='$lt_shell_append'
116684 # See if we are running on zsh, and set the options which allow our
116685 # commands through without removal of \ escapes INIT.
116686 if test -n "\${ZSH_VERSION+set}" ; then
116687 setopt NO_GLOB_SUBST
116691 PACKAGE='$PACKAGE'
116692 VERSION='$VERSION'
116693 TIMESTAMP='$TIMESTAMP'
116694 RM='$RM'
116695 ofile='$ofile'
116702 # Variables needed in config.status (file generation) which aren't already
116703 # passed by autoconf.
116704 SUBDIRS="$SUBDIRS"
116707 _ACEOF
116711 cat >>$CONFIG_STATUS <<\_ACEOF
116712 for ac_config_target in $ac_config_targets
116714 case "$ac_config_target" in
116715 # Handling of arguments.
116716 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
116717 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
116718 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
116719 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
116720 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
116721 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
116722 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
116723 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
116724 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
116725 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
116726 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
116727 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
116728 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
116729 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
116730 { (exit 1); exit 1; }; };;
116734 # If the user did not use the arguments to specify the items to instantiate,
116735 # then the envvar interface is used. Set only those that are not.
116736 # We use the long form for the default assignment because of an extremely
116737 # bizarre bug on SunOS 4.1.3.
116738 if $ac_need_defaults; then
116739 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
116740 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
116741 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
116744 # Have a temporary directory for convenience. Make it in the build tree
116745 # simply because there is no reason to put it here, and in addition,
116746 # creating and moving files from /tmp can sometimes cause problems.
116747 # Create a temporary directory, and hook for its removal unless debugging.
116748 $debug ||
116750 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
116751 trap '{ (exit 1); exit 1; }' 1 2 13 15
116754 # Create a (secure) tmp directory for tmp files.
116757 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
116758 test -n "$tmp" && test -d "$tmp"
116761 tmp=./confstat$$-$RANDOM
116762 (umask 077 && mkdir $tmp)
116765 echo "$me: cannot create a temporary directory in ." >&2
116766 { (exit 1); exit 1; }
116769 _ACEOF
116771 cat >>$CONFIG_STATUS <<_ACEOF
116774 # CONFIG_FILES section.
116777 # No need to generate the scripts if there are no CONFIG_FILES.
116778 # This happens for instance when ./config.status config.h
116779 if test -n "\$CONFIG_FILES"; then
116780 # Protect against being on the right side of a sed subst in config.status.
116781 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
116782 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
116783 s,@SHELL@,$SHELL,;t t
116784 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
116785 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
116786 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
116787 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
116788 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
116789 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
116790 s,@exec_prefix@,$exec_prefix,;t t
116791 s,@prefix@,$prefix,;t t
116792 s,@program_transform_name@,$program_transform_name,;t t
116793 s,@bindir@,$bindir,;t t
116794 s,@sbindir@,$sbindir,;t t
116795 s,@libexecdir@,$libexecdir,;t t
116796 s,@datadir@,$datadir,;t t
116797 s,@sysconfdir@,$sysconfdir,;t t
116798 s,@sharedstatedir@,$sharedstatedir,;t t
116799 s,@localstatedir@,$localstatedir,;t t
116800 s,@libdir@,$libdir,;t t
116801 s,@includedir@,$includedir,;t t
116802 s,@oldincludedir@,$oldincludedir,;t t
116803 s,@infodir@,$infodir,;t t
116804 s,@mandir@,$mandir,;t t
116805 s,@build_alias@,$build_alias,;t t
116806 s,@host_alias@,$host_alias,;t t
116807 s,@target_alias@,$target_alias,;t t
116808 s,@DEFS@,$DEFS,;t t
116809 s,@ECHO_C@,$ECHO_C,;t t
116810 s,@ECHO_N@,$ECHO_N,;t t
116811 s,@ECHO_T@,$ECHO_T,;t t
116812 s,@LIBS@,$LIBS,;t t
116813 s,@libtool_VERSION@,$libtool_VERSION,;t t
116814 s,@multi_basedir@,$multi_basedir,;t t
116815 s,@build@,$build,;t t
116816 s,@build_cpu@,$build_cpu,;t t
116817 s,@build_vendor@,$build_vendor,;t t
116818 s,@build_os@,$build_os,;t t
116819 s,@host@,$host,;t t
116820 s,@host_cpu@,$host_cpu,;t t
116821 s,@host_vendor@,$host_vendor,;t t
116822 s,@host_os@,$host_os,;t t
116823 s,@target@,$target,;t t
116824 s,@target_cpu@,$target_cpu,;t t
116825 s,@target_vendor@,$target_vendor,;t t
116826 s,@target_os@,$target_os,;t t
116827 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
116828 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
116829 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
116830 s,@CYGPATH_W@,$CYGPATH_W,;t t
116831 s,@PACKAGE@,$PACKAGE,;t t
116832 s,@VERSION@,$VERSION,;t t
116833 s,@ACLOCAL@,$ACLOCAL,;t t
116834 s,@AUTOCONF@,$AUTOCONF,;t t
116835 s,@AUTOMAKE@,$AUTOMAKE,;t t
116836 s,@AUTOHEADER@,$AUTOHEADER,;t t
116837 s,@MAKEINFO@,$MAKEINFO,;t t
116838 s,@install_sh@,$install_sh,;t t
116839 s,@STRIP@,$STRIP,;t t
116840 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
116841 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
116842 s,@mkdir_p@,$mkdir_p,;t t
116843 s,@AWK@,$AWK,;t t
116844 s,@SET_MAKE@,$SET_MAKE,;t t
116845 s,@am__leading_dot@,$am__leading_dot,;t t
116846 s,@AMTAR@,$AMTAR,;t t
116847 s,@am__tar@,$am__tar,;t t
116848 s,@am__untar@,$am__untar,;t t
116849 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
116850 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
116851 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
116852 s,@CC@,$CC,;t t
116853 s,@ac_ct_CC@,$ac_ct_CC,;t t
116854 s,@EXEEXT@,$EXEEXT,;t t
116855 s,@OBJEXT@,$OBJEXT,;t t
116856 s,@CXX@,$CXX,;t t
116857 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
116858 s,@CFLAGS@,$CFLAGS,;t t
116859 s,@CXXFLAGS@,$CXXFLAGS,;t t
116860 s,@LN_S@,$LN_S,;t t
116861 s,@AS@,$AS,;t t
116862 s,@ac_ct_AS@,$ac_ct_AS,;t t
116863 s,@AR@,$AR,;t t
116864 s,@ac_ct_AR@,$ac_ct_AR,;t t
116865 s,@RANLIB@,$RANLIB,;t t
116866 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
116867 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
116868 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
116869 s,@MAINT@,$MAINT,;t t
116870 s,@CPP@,$CPP,;t t
116871 s,@CPPFLAGS@,$CPPFLAGS,;t t
116872 s,@EGREP@,$EGREP,;t t
116873 s,@LIBTOOL@,$LIBTOOL,;t t
116874 s,@SED@,$SED,;t t
116875 s,@FGREP@,$FGREP,;t t
116876 s,@GREP@,$GREP,;t t
116877 s,@LD@,$LD,;t t
116878 s,@DUMPBIN@,$DUMPBIN,;t t
116879 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
116880 s,@NM@,$NM,;t t
116881 s,@lt_ECHO@,$lt_ECHO,;t t
116882 s,@LDFLAGS@,$LDFLAGS,;t t
116883 s,@CXXCPP@,$CXXCPP,;t t
116884 s,@enable_shared@,$enable_shared,;t t
116885 s,@enable_static@,$enable_static,;t t
116886 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
116887 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
116888 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
116889 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
116890 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
116891 s,@CSTDIO_H@,$CSTDIO_H,;t t
116892 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
116893 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
116894 s,@check_msgfmt@,$check_msgfmt,;t t
116895 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
116896 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
116897 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
116898 s,@USE_NLS@,$USE_NLS,;t t
116899 s,@CLOCALE_H@,$CLOCALE_H,;t t
116900 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
116901 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
116902 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
116903 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
116904 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
116905 s,@CMONEY_CC@,$CMONEY_CC,;t t
116906 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
116907 s,@CTIME_H@,$CTIME_H,;t t
116908 s,@CTIME_CC@,$CTIME_CC,;t t
116909 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
116910 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
116911 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
116912 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
116913 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
116914 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
116915 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
116916 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
116917 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
116918 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
116919 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
116920 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
116921 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
116922 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
116923 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
116924 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
116925 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
116926 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
116927 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
116928 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
116929 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
116930 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
116931 s,@WERROR@,$WERROR,;t t
116932 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
116933 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
116934 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
116935 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
116936 s,@LIBICONV@,$LIBICONV,;t t
116937 s,@LTLIBICONV@,$LTLIBICONV,;t t
116938 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
116939 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
116940 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
116941 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
116942 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
116943 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
116944 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
116945 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
116946 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
116947 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
116948 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
116949 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
116950 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
116951 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
116952 s,@baseline_dir@,$baseline_dir,;t t
116953 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
116954 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
116955 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
116956 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
116957 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
116958 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
116959 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
116960 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
116961 s,@gxx_include_dir@,$gxx_include_dir,;t t
116962 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
116963 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
116964 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
116965 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
116966 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
116967 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
116968 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
116969 s,@LIBOBJS@,$LIBOBJS,;t t
116970 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
116973 _ACEOF
116975 cat >>$CONFIG_STATUS <<\_ACEOF
116976 # Split the substitutions into bite-sized pieces for seds with
116977 # small command number limits, like on Digital OSF/1 and HP-UX.
116978 ac_max_sed_lines=48
116979 ac_sed_frag=1 # Number of current file.
116980 ac_beg=1 # First line for current file.
116981 ac_end=$ac_max_sed_lines # Line after last line for current file.
116982 ac_more_lines=:
116983 ac_sed_cmds=
116984 while $ac_more_lines; do
116985 if test $ac_beg -gt 1; then
116986 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
116988 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
116990 if test ! -s $tmp/subs.frag; then
116991 ac_more_lines=false
116993 # The purpose of the label and of the branching condition is to
116994 # speed up the sed processing (if there are no `@' at all, there
116995 # is no need to browse any of the substitutions).
116996 # These are the two extra sed commands mentioned above.
116997 (echo ':t
116998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
116999 if test -z "$ac_sed_cmds"; then
117000 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
117002 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
117004 ac_sed_frag=`expr $ac_sed_frag + 1`
117005 ac_beg=$ac_end
117006 ac_end=`expr $ac_end + $ac_max_sed_lines`
117009 if test -z "$ac_sed_cmds"; then
117010 ac_sed_cmds=cat
117012 fi # test -n "$CONFIG_FILES"
117014 _ACEOF
117015 cat >>$CONFIG_STATUS <<\_ACEOF
117016 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
117017 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117018 case $ac_file in
117019 - | *:- | *:-:* ) # input from stdin
117020 cat >$tmp/stdin
117021 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117022 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117023 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117024 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117025 * ) ac_file_in=$ac_file.in ;;
117028 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
117029 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117030 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117031 X"$ac_file" : 'X\(//\)[^/]' \| \
117032 X"$ac_file" : 'X\(//\)$' \| \
117033 X"$ac_file" : 'X\(/\)' \| \
117034 . : '\(.\)' 2>/dev/null ||
117035 echo X"$ac_file" |
117036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117038 /^X\(\/\/\)$/{ s//\1/; q; }
117039 /^X\(\/\).*/{ s//\1/; q; }
117040 s/.*/./; q'`
117041 { if $as_mkdir_p; then
117042 mkdir -p "$ac_dir"
117044 as_dir="$ac_dir"
117045 as_dirs=
117046 while test ! -d "$as_dir"; do
117047 as_dirs="$as_dir $as_dirs"
117048 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117049 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117050 X"$as_dir" : 'X\(//\)[^/]' \| \
117051 X"$as_dir" : 'X\(//\)$' \| \
117052 X"$as_dir" : 'X\(/\)' \| \
117053 . : '\(.\)' 2>/dev/null ||
117054 echo X"$as_dir" |
117055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117056 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117057 /^X\(\/\/\)$/{ s//\1/; q; }
117058 /^X\(\/\).*/{ s//\1/; q; }
117059 s/.*/./; q'`
117061 test ! -n "$as_dirs" || mkdir $as_dirs
117062 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117063 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117064 { (exit 1); exit 1; }; }; }
117066 ac_builddir=.
117068 if test "$ac_dir" != .; then
117069 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117070 # A "../" for each directory in $ac_dir_suffix.
117071 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117073 ac_dir_suffix= ac_top_builddir=
117076 case $srcdir in
117077 .) # No --srcdir option. We are building in place.
117078 ac_srcdir=.
117079 if test -z "$ac_top_builddir"; then
117080 ac_top_srcdir=.
117082 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117083 fi ;;
117084 [\\/]* | ?:[\\/]* ) # Absolute path.
117085 ac_srcdir=$srcdir$ac_dir_suffix;
117086 ac_top_srcdir=$srcdir ;;
117087 *) # Relative path.
117088 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117089 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117092 # Do not use `cd foo && pwd` to compute absolute paths, because
117093 # the directories may not exist.
117094 case `pwd` in
117095 .) ac_abs_builddir="$ac_dir";;
117097 case "$ac_dir" in
117098 .) ac_abs_builddir=`pwd`;;
117099 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117100 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117101 esac;;
117103 case $ac_abs_builddir in
117104 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117106 case ${ac_top_builddir}. in
117107 .) ac_abs_top_builddir=$ac_abs_builddir;;
117108 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117109 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117110 esac;;
117112 case $ac_abs_builddir in
117113 .) ac_abs_srcdir=$ac_srcdir;;
117115 case $ac_srcdir in
117116 .) ac_abs_srcdir=$ac_abs_builddir;;
117117 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117118 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117119 esac;;
117121 case $ac_abs_builddir in
117122 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117124 case $ac_top_srcdir in
117125 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117126 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117127 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117128 esac;;
117132 case $INSTALL in
117133 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
117134 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
117137 if test x"$ac_file" != x-; then
117138 { echo "$as_me:$LINENO: creating $ac_file" >&5
117139 echo "$as_me: creating $ac_file" >&6;}
117140 rm -f "$ac_file"
117142 # Let's still pretend it is `configure' which instantiates (i.e., don't
117143 # use $as_me), people would be surprised to read:
117144 # /* config.h. Generated by config.status. */
117145 if test x"$ac_file" = x-; then
117146 configure_input=
117148 configure_input="$ac_file. "
117150 configure_input=$configure_input"Generated from `echo $ac_file_in |
117151 sed 's,.*/,,'` by configure."
117153 # First look for the input files in the build tree, otherwise in the
117154 # src tree.
117155 ac_file_inputs=`IFS=:
117156 for f in $ac_file_in; do
117157 case $f in
117158 -) echo $tmp/stdin ;;
117159 [\\/$]*)
117160 # Absolute (can't be DOS-style, as IFS=:)
117161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117162 echo "$as_me: error: cannot find input file: $f" >&2;}
117163 { (exit 1); exit 1; }; }
117164 echo "$f";;
117165 *) # Relative
117166 if test -f "$f"; then
117167 # Build tree
117168 echo "$f"
117169 elif test -f "$srcdir/$f"; then
117170 # Source tree
117171 echo "$srcdir/$f"
117173 # /dev/null tree
117174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117175 echo "$as_me: error: cannot find input file: $f" >&2;}
117176 { (exit 1); exit 1; }; }
117179 done` || { (exit 1); exit 1; }
117180 _ACEOF
117181 cat >>$CONFIG_STATUS <<_ACEOF
117182 sed "$ac_vpsub
117183 $extrasub
117184 _ACEOF
117185 cat >>$CONFIG_STATUS <<\_ACEOF
117187 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
117188 s,@configure_input@,$configure_input,;t t
117189 s,@srcdir@,$ac_srcdir,;t t
117190 s,@abs_srcdir@,$ac_abs_srcdir,;t t
117191 s,@top_srcdir@,$ac_top_srcdir,;t t
117192 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
117193 s,@builddir@,$ac_builddir,;t t
117194 s,@abs_builddir@,$ac_abs_builddir,;t t
117195 s,@top_builddir@,$ac_top_builddir,;t t
117196 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
117197 s,@INSTALL@,$ac_INSTALL,;t t
117198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
117199 rm -f $tmp/stdin
117200 if test x"$ac_file" != x-; then
117201 mv $tmp/out $ac_file
117203 cat $tmp/out
117204 rm -f $tmp/out
117207 # Run the commands associated with the file.
117208 case $ac_file in
117209 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
117212 _ACEOF
117213 cat >>$CONFIG_STATUS <<\_ACEOF
117216 # CONFIG_HEADER section.
117219 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
117220 # NAME is the cpp macro being defined and VALUE is the value it is being given.
117222 # ac_d sets the value in "#define NAME VALUE" lines.
117223 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
117224 ac_dB='[ ].*$,\1#\2'
117225 ac_dC=' '
117226 ac_dD=',;t'
117227 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
117228 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
117229 ac_uB='$,\1#\2define\3'
117230 ac_uC=' '
117231 ac_uD=',;t'
117233 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
117234 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117235 case $ac_file in
117236 - | *:- | *:-:* ) # input from stdin
117237 cat >$tmp/stdin
117238 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117239 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117240 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117242 * ) ac_file_in=$ac_file.in ;;
117245 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
117246 echo "$as_me: creating $ac_file" >&6;}
117248 # First look for the input files in the build tree, otherwise in the
117249 # src tree.
117250 ac_file_inputs=`IFS=:
117251 for f in $ac_file_in; do
117252 case $f in
117253 -) echo $tmp/stdin ;;
117254 [\\/$]*)
117255 # Absolute (can't be DOS-style, as IFS=:)
117256 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117257 echo "$as_me: error: cannot find input file: $f" >&2;}
117258 { (exit 1); exit 1; }; }
117259 # Do quote $f, to prevent DOS paths from being IFS'd.
117260 echo "$f";;
117261 *) # Relative
117262 if test -f "$f"; then
117263 # Build tree
117264 echo "$f"
117265 elif test -f "$srcdir/$f"; then
117266 # Source tree
117267 echo "$srcdir/$f"
117269 # /dev/null tree
117270 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117271 echo "$as_me: error: cannot find input file: $f" >&2;}
117272 { (exit 1); exit 1; }; }
117275 done` || { (exit 1); exit 1; }
117276 # Remove the trailing spaces.
117277 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
117279 _ACEOF
117281 # Transform confdefs.h into two sed scripts, `conftest.defines' and
117282 # `conftest.undefs', that substitutes the proper values into
117283 # config.h.in to produce config.h. The first handles `#define'
117284 # templates, and the second `#undef' templates.
117285 # And first: Protect against being on the right side of a sed subst in
117286 # config.status. Protect against being in an unquoted here document
117287 # in config.status.
117288 rm -f conftest.defines conftest.undefs
117289 # Using a here document instead of a string reduces the quoting nightmare.
117290 # Putting comments in sed scripts is not portable.
117292 # `end' is used to avoid that the second main sed command (meant for
117293 # 0-ary CPP macros) applies to n-ary macro definitions.
117294 # See the Autoconf documentation for `clear'.
117295 cat >confdef2sed.sed <<\_ACEOF
117296 s/[\\&,]/\\&/g
117297 s,[\\$`],\\&,g
117298 t clear
117299 : clear
117300 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
117301 t end
117302 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
117303 : end
117304 _ACEOF
117305 # If some macros were called several times there might be several times
117306 # the same #defines, which is useless. Nevertheless, we may not want to
117307 # sort them, since we want the *last* AC-DEFINE to be honored.
117308 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
117309 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
117310 rm -f confdef2sed.sed
117312 # This sed command replaces #undef with comments. This is necessary, for
117313 # example, in the case of _POSIX_SOURCE, which is predefined and required
117314 # on some systems where configure will not decide to define it.
117315 cat >>conftest.undefs <<\_ACEOF
117316 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
117317 _ACEOF
117319 # Break up conftest.defines because some shells have a limit on the size
117320 # of here documents, and old seds have small limits too (100 cmds).
117321 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
117322 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
117323 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
117324 echo ' :' >>$CONFIG_STATUS
117325 rm -f conftest.tail
117326 while grep . conftest.defines >/dev/null
117328 # Write a limited-size here document to $tmp/defines.sed.
117329 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
117330 # Speed up: don't consider the non `#define' lines.
117331 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
117332 # Work around the forget-to-reset-the-flag bug.
117333 echo 't clr' >>$CONFIG_STATUS
117334 echo ': clr' >>$CONFIG_STATUS
117335 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
117336 echo 'CEOF
117337 sed -f $tmp/defines.sed $tmp/in >$tmp/out
117338 rm -f $tmp/in
117339 mv $tmp/out $tmp/in
117340 ' >>$CONFIG_STATUS
117341 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
117342 rm -f conftest.defines
117343 mv conftest.tail conftest.defines
117345 rm -f conftest.defines
117346 echo ' fi # grep' >>$CONFIG_STATUS
117347 echo >>$CONFIG_STATUS
117349 # Break up conftest.undefs because some shells have a limit on the size
117350 # of here documents, and old seds have small limits too (100 cmds).
117351 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
117352 rm -f conftest.tail
117353 while grep . conftest.undefs >/dev/null
117355 # Write a limited-size here document to $tmp/undefs.sed.
117356 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
117357 # Speed up: don't consider the non `#undef'
117358 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
117359 # Work around the forget-to-reset-the-flag bug.
117360 echo 't clr' >>$CONFIG_STATUS
117361 echo ': clr' >>$CONFIG_STATUS
117362 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
117363 echo 'CEOF
117364 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
117365 rm -f $tmp/in
117366 mv $tmp/out $tmp/in
117367 ' >>$CONFIG_STATUS
117368 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
117369 rm -f conftest.undefs
117370 mv conftest.tail conftest.undefs
117372 rm -f conftest.undefs
117374 cat >>$CONFIG_STATUS <<\_ACEOF
117375 # Let's still pretend it is `configure' which instantiates (i.e., don't
117376 # use $as_me), people would be surprised to read:
117377 # /* config.h. Generated by config.status. */
117378 if test x"$ac_file" = x-; then
117379 echo "/* Generated by configure. */" >$tmp/config.h
117381 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
117383 cat $tmp/in >>$tmp/config.h
117384 rm -f $tmp/in
117385 if test x"$ac_file" != x-; then
117386 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
117387 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
117388 echo "$as_me: $ac_file is unchanged" >&6;}
117390 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117392 X"$ac_file" : 'X\(//\)[^/]' \| \
117393 X"$ac_file" : 'X\(//\)$' \| \
117394 X"$ac_file" : 'X\(/\)' \| \
117395 . : '\(.\)' 2>/dev/null ||
117396 echo X"$ac_file" |
117397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117399 /^X\(\/\/\)$/{ s//\1/; q; }
117400 /^X\(\/\).*/{ s//\1/; q; }
117401 s/.*/./; q'`
117402 { if $as_mkdir_p; then
117403 mkdir -p "$ac_dir"
117405 as_dir="$ac_dir"
117406 as_dirs=
117407 while test ! -d "$as_dir"; do
117408 as_dirs="$as_dir $as_dirs"
117409 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117411 X"$as_dir" : 'X\(//\)[^/]' \| \
117412 X"$as_dir" : 'X\(//\)$' \| \
117413 X"$as_dir" : 'X\(/\)' \| \
117414 . : '\(.\)' 2>/dev/null ||
117415 echo X"$as_dir" |
117416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117418 /^X\(\/\/\)$/{ s//\1/; q; }
117419 /^X\(\/\).*/{ s//\1/; q; }
117420 s/.*/./; q'`
117422 test ! -n "$as_dirs" || mkdir $as_dirs
117423 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117425 { (exit 1); exit 1; }; }; }
117427 rm -f $ac_file
117428 mv $tmp/config.h $ac_file
117431 cat $tmp/config.h
117432 rm -f $tmp/config.h
117434 # Compute $ac_file's index in $config_headers.
117435 _am_stamp_count=1
117436 for _am_header in $config_headers :; do
117437 case $_am_header in
117438 $ac_file | $ac_file:* )
117439 break ;;
117441 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
117444 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
117445 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117446 X$ac_file : 'X\(//\)[^/]' \| \
117447 X$ac_file : 'X\(//\)$' \| \
117448 X$ac_file : 'X\(/\)' \| \
117449 . : '\(.\)' 2>/dev/null ||
117450 echo X$ac_file |
117451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117453 /^X\(\/\/\)$/{ s//\1/; q; }
117454 /^X\(\/\).*/{ s//\1/; q; }
117455 s/.*/./; q'`/stamp-h$_am_stamp_count
117457 _ACEOF
117458 cat >>$CONFIG_STATUS <<\_ACEOF
117461 # CONFIG_COMMANDS section.
117463 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
117464 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
117465 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
117466 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
117467 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117468 X"$ac_dest" : 'X\(//\)[^/]' \| \
117469 X"$ac_dest" : 'X\(//\)$' \| \
117470 X"$ac_dest" : 'X\(/\)' \| \
117471 . : '\(.\)' 2>/dev/null ||
117472 echo X"$ac_dest" |
117473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117474 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117475 /^X\(\/\/\)$/{ s//\1/; q; }
117476 /^X\(\/\).*/{ s//\1/; q; }
117477 s/.*/./; q'`
117478 { if $as_mkdir_p; then
117479 mkdir -p "$ac_dir"
117481 as_dir="$ac_dir"
117482 as_dirs=
117483 while test ! -d "$as_dir"; do
117484 as_dirs="$as_dir $as_dirs"
117485 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117486 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117487 X"$as_dir" : 'X\(//\)[^/]' \| \
117488 X"$as_dir" : 'X\(//\)$' \| \
117489 X"$as_dir" : 'X\(/\)' \| \
117490 . : '\(.\)' 2>/dev/null ||
117491 echo X"$as_dir" |
117492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117493 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117494 /^X\(\/\/\)$/{ s//\1/; q; }
117495 /^X\(\/\).*/{ s//\1/; q; }
117496 s/.*/./; q'`
117498 test ! -n "$as_dirs" || mkdir $as_dirs
117499 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117500 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117501 { (exit 1); exit 1; }; }; }
117503 ac_builddir=.
117505 if test "$ac_dir" != .; then
117506 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117507 # A "../" for each directory in $ac_dir_suffix.
117508 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117510 ac_dir_suffix= ac_top_builddir=
117513 case $srcdir in
117514 .) # No --srcdir option. We are building in place.
117515 ac_srcdir=.
117516 if test -z "$ac_top_builddir"; then
117517 ac_top_srcdir=.
117519 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117520 fi ;;
117521 [\\/]* | ?:[\\/]* ) # Absolute path.
117522 ac_srcdir=$srcdir$ac_dir_suffix;
117523 ac_top_srcdir=$srcdir ;;
117524 *) # Relative path.
117525 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117526 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117529 # Do not use `cd foo && pwd` to compute absolute paths, because
117530 # the directories may not exist.
117531 case `pwd` in
117532 .) ac_abs_builddir="$ac_dir";;
117534 case "$ac_dir" in
117535 .) ac_abs_builddir=`pwd`;;
117536 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117537 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117538 esac;;
117540 case $ac_abs_builddir in
117541 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117543 case ${ac_top_builddir}. in
117544 .) ac_abs_top_builddir=$ac_abs_builddir;;
117545 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117546 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117547 esac;;
117549 case $ac_abs_builddir in
117550 .) ac_abs_srcdir=$ac_srcdir;;
117552 case $ac_srcdir in
117553 .) ac_abs_srcdir=$ac_abs_builddir;;
117554 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117555 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117556 esac;;
117558 case $ac_abs_builddir in
117559 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117561 case $ac_top_srcdir in
117562 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117563 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117564 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117565 esac;;
117569 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
117570 echo "$as_me: executing $ac_dest commands" >&6;}
117571 case $ac_dest in
117572 default-1 )
117573 # Only add multilib support code if we just rebuilt the top-level
117574 # Makefile.
117575 case " $CONFIG_FILES " in
117576 *" Makefile "*)
117577 ac_file=Makefile . ${multi_basedir}/config-ml.in
117579 esac ;;
117580 libtool )
117582 # See if we are running on zsh, and set the options which allow our
117583 # commands through without removal of \ escapes.
117584 if test -n "${ZSH_VERSION+set}" ; then
117585 setopt NO_GLOB_SUBST
117588 cfgfile="${ofile}T"
117589 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
117590 $RM "$cfgfile"
117592 cat <<_LT_EOF >> "$cfgfile"
117593 #! $SHELL
117595 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
117596 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
117597 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
117598 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
117600 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
117601 # 2006, 2007 Free Software Foundation, Inc.
117603 # This file is part of GNU Libtool:
117604 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
117606 # This program is free software; you can redistribute it and/or modify
117607 # it under the terms of the GNU General Public License as published by
117608 # the Free Software Foundation; either version 2 of the License, or
117609 # (at your option) any later version.
117611 # This program is distributed in the hope that it will be useful, but
117612 # WITHOUT ANY WARRANTY; without even the implied warranty of
117613 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
117614 # General Public License for more details.
117616 # You should have received a copy of the GNU General Public License
117617 # along with this program; if not, a copy can be downloaded from
117618 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
117619 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
117620 # MA 02110-1301, USA.
117622 # As a special exception to the GNU General Public License, if you
117623 # distribute this file as part of a program that contains a
117624 # configuration script generated by Autoconf, you may include it under
117625 # the same distribution terms that you use for the rest of that program.
117628 # The names of the tagged configurations supported by this script.
117629 available_tags="CXX "
117631 # ### BEGIN LIBTOOL CONFIG
117633 # Which release of libtool.m4 was used?
117634 macro_version=$macro_version
117635 macro_revision=$macro_revision
117637 # Whether or not to build shared libraries.
117638 build_libtool_libs=$enable_shared
117640 # Whether or not to build static libraries.
117641 build_old_libs=$enable_static
117643 # What type of objects to build.
117644 pic_mode=$pic_mode
117646 # Whether or not to optimize for fast installation.
117647 fast_install=$enable_fast_install
117649 # The host system.
117650 host_alias=$host_alias
117651 host=$host
117652 host_os=$host_os
117654 # The build system.
117655 build_alias=$build_alias
117656 build=$build
117657 build_os=$build_os
117659 # A sed program that does not truncate output.
117660 SED=$lt_SED
117662 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
117663 Xsed="\$SED -e 1s/^X//"
117665 # A grep program that handles long lines.
117666 GREP=$lt_GREP
117668 # An ERE matcher.
117669 EGREP=$lt_EGREP
117671 # A literal string matcher.
117672 FGREP=$lt_FGREP
117674 # A BSD- or MS-compatible name lister.
117675 NM=$lt_NM
117677 # Whether we need soft or hard links.
117678 LN_S=$lt_LN_S
117680 # What is the maximum length of a command?
117681 max_cmd_len=$max_cmd_len
117683 # Object file suffix (normally "o").
117684 objext=$ac_objext
117686 # Executable file suffix (normally "").
117687 exeext=$exeext
117689 # whether the shell understands "unset".
117690 lt_unset=$lt_unset
117692 # turn spaces into newlines.
117693 SP2NL=$lt_lt_SP2NL
117695 # turn newlines into spaces.
117696 NL2SP=$lt_lt_NL2SP
117698 # How to create reloadable object files.
117699 reload_flag=$lt_reload_flag
117700 reload_cmds=$lt_reload_cmds
117702 # Method to check whether dependent libraries are shared objects.
117703 deplibs_check_method=$lt_deplibs_check_method
117705 # Command to use when deplibs_check_method == "file_magic".
117706 file_magic_cmd=$lt_file_magic_cmd
117708 # The archiver.
117709 AR=$lt_AR
117710 AR_FLAGS=$lt_AR_FLAGS
117712 # A symbol stripping program.
117713 STRIP=$lt_STRIP
117715 # Commands used to install an old-style archive.
117716 RANLIB=$lt_RANLIB
117717 old_postinstall_cmds=$lt_old_postinstall_cmds
117718 old_postuninstall_cmds=$lt_old_postuninstall_cmds
117720 # A C compiler.
117721 LTCC=$lt_CC
117723 # LTCC compiler flags.
117724 LTCFLAGS=$lt_CFLAGS
117726 # Take the output of nm and produce a listing of raw symbols and C names.
117727 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
117729 # Transform the output of nm in a proper C declaration.
117730 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
117732 # Transform the output of nm in a C name address pair.
117733 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
117735 # The name of the directory that contains temporary libtool files.
117736 objdir=$objdir
117738 # Shell to use when invoking shell scripts.
117739 SHELL=$lt_SHELL
117741 # An echo program that does not interpret backslashes.
117742 ECHO=$lt_ECHO
117744 # Used to examine libraries when file_magic_cmd begins with "file".
117745 MAGIC_CMD=$MAGIC_CMD
117747 # Must we lock files when doing compilation?
117748 need_locks=$lt_need_locks
117750 # Old archive suffix (normally "a").
117751 libext=$libext
117753 # Shared library suffix (normally ".so").
117754 shrext_cmds=$lt_shrext_cmds
117756 # The commands to extract the exported symbol list from a shared archive.
117757 extract_expsyms_cmds=$lt_extract_expsyms_cmds
117759 # Variables whose values should be saved in libtool wrapper scripts and
117760 # restored at link time.
117761 variables_saved_for_relink=$lt_variables_saved_for_relink
117763 # Do we need the "lib" prefix for modules?
117764 need_lib_prefix=$need_lib_prefix
117766 # Do we need a version for libraries?
117767 need_version=$need_version
117769 # Library versioning type.
117770 version_type=$version_type
117772 # Shared library runtime path variable.
117773 runpath_var=$runpath_var
117775 # Shared library path variable.
117776 shlibpath_var=$shlibpath_var
117778 # Is shlibpath searched before the hard-coded library search path?
117779 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
117781 # Format of library name prefix.
117782 libname_spec=$lt_libname_spec
117784 # List of archive names. First name is the real one, the rest are links.
117785 # The last name is the one that the linker finds with -lNAME
117786 library_names_spec=$lt_library_names_spec
117788 # The coded name of the library, if different from the real name.
117789 soname_spec=$lt_soname_spec
117791 # Command to use after installation of a shared archive.
117792 postinstall_cmds=$lt_postinstall_cmds
117794 # Command to use after uninstallation of a shared archive.
117795 postuninstall_cmds=$lt_postuninstall_cmds
117797 # Commands used to finish a libtool library installation in a directory.
117798 finish_cmds=$lt_finish_cmds
117800 # As "finish_cmds", except a single script fragment to be evaled but
117801 # not shown.
117802 finish_eval=$lt_finish_eval
117804 # Whether we should hardcode library paths into libraries.
117805 hardcode_into_libs=$hardcode_into_libs
117807 # Compile-time system search path for libraries.
117808 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
117810 # Run-time system search path for libraries.
117811 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
117813 # Whether dlopen is supported.
117814 dlopen_support=$enable_dlopen
117816 # Whether dlopen of programs is supported.
117817 dlopen_self=$enable_dlopen_self
117819 # Whether dlopen of statically linked programs is supported.
117820 dlopen_self_static=$enable_dlopen_self_static
117822 # Commands to strip libraries.
117823 old_striplib=$lt_old_striplib
117824 striplib=$lt_striplib
117827 # The linker used to build libraries.
117828 LD=$lt_LD
117830 # Commands used to build an old-style archive.
117831 old_archive_cmds=$lt_old_archive_cmds
117833 # A language specific compiler.
117834 CC=$lt_compiler
117836 # Is the compiler the GNU compiler?
117837 with_gcc=$GCC
117839 # Compiler flag to turn off builtin functions.
117840 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
117842 # How to pass a linker flag through the compiler.
117843 wl=$lt_lt_prog_compiler_wl
117845 # Additional compiler flags for building library objects.
117846 pic_flag=$lt_lt_prog_compiler_pic
117848 # Compiler flag to prevent dynamic linking.
117849 link_static_flag=$lt_lt_prog_compiler_static
117851 # Does compiler simultaneously support -c and -o options?
117852 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
117854 # Whether or not to add -lc for building shared libraries.
117855 build_libtool_need_lc=$archive_cmds_need_lc
117857 # Whether or not to disallow shared libs when runtime libs are static.
117858 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
117860 # Compiler flag to allow reflexive dlopens.
117861 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
117863 # Compiler flag to generate shared objects directly from archives.
117864 whole_archive_flag_spec=$lt_whole_archive_flag_spec
117866 # Whether the compiler copes with passing no objects directly.
117867 compiler_needs_object=$lt_compiler_needs_object
117869 # Create an old-style archive from a shared archive.
117870 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
117872 # Create a temporary old-style archive to link instead of a shared archive.
117873 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
117875 # Commands used to build a shared archive.
117876 archive_cmds=$lt_archive_cmds
117877 archive_expsym_cmds=$lt_archive_expsym_cmds
117879 # Commands used to build a loadable module if different from building
117880 # a shared archive.
117881 module_cmds=$lt_module_cmds
117882 module_expsym_cmds=$lt_module_expsym_cmds
117884 # Whether we are building with GNU ld or not.
117885 with_gnu_ld=$lt_with_gnu_ld
117887 # Flag that allows shared libraries with undefined symbols to be built.
117888 allow_undefined_flag=$lt_allow_undefined_flag
117890 # Flag that enforces no undefined symbols.
117891 no_undefined_flag=$lt_no_undefined_flag
117893 # Flag to hardcode \$libdir into a binary during linking.
117894 # This must work even if \$libdir does not exist
117895 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
117897 # If ld is used when linking, flag to hardcode \$libdir into a binary
117898 # during linking. This must work even if \$libdir does not exist.
117899 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
117901 # Whether we need a single "-rpath" flag with a separated argument.
117902 hardcode_libdir_separator=$lt_hardcode_libdir_separator
117904 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117905 # DIR into the resulting binary.
117906 hardcode_direct=$hardcode_direct
117908 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117909 # DIR into the resulting binary and the resulting library dependency is
117910 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
117911 # library is relocated.
117912 hardcode_direct_absolute=$hardcode_direct_absolute
117914 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
117915 # into the resulting binary.
117916 hardcode_minus_L=$hardcode_minus_L
117918 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
117919 # into the resulting binary.
117920 hardcode_shlibpath_var=$hardcode_shlibpath_var
117922 # Set to "yes" if building a shared library automatically hardcodes DIR
117923 # into the library and all subsequent libraries and executables linked
117924 # against it.
117925 hardcode_automatic=$hardcode_automatic
117927 # Set to yes if linker adds runtime paths of dependent libraries
117928 # to runtime path list.
117929 inherit_rpath=$inherit_rpath
117931 # Whether libtool must link a program against all its dependency libraries.
117932 link_all_deplibs=$link_all_deplibs
117934 # Fix the shell variable \$srcfile for the compiler.
117935 fix_srcfile_path=$lt_fix_srcfile_path
117937 # Set to "yes" if exported symbols are required.
117938 always_export_symbols=$always_export_symbols
117940 # The commands to list exported symbols.
117941 export_symbols_cmds=$lt_export_symbols_cmds
117943 # Symbols that should not be listed in the preloaded symbols.
117944 exclude_expsyms=$lt_exclude_expsyms
117946 # Symbols that must always be exported.
117947 include_expsyms=$lt_include_expsyms
117949 # Commands necessary for linking programs (against libraries) with templates.
117950 prelink_cmds=$lt_prelink_cmds
117952 # Specify filename containing input files.
117953 file_list_spec=$lt_file_list_spec
117955 # How to hardcode a shared library path into an executable.
117956 hardcode_action=$hardcode_action
117958 # Dependencies to place before and after the objects being linked to
117959 # create a shared library.
117960 predep_objects=$lt_predep_objects
117961 postdep_objects=$lt_postdep_objects
117962 predeps=$lt_predeps
117963 postdeps=$lt_postdeps
117965 # The library search path used internally by the compiler when linking
117966 # a shared library.
117967 compiler_lib_search_path=$lt_compiler_lib_search_path
117969 # ### END LIBTOOL CONFIG
117971 _LT_EOF
117973 case $host_os in
117974 aix3*)
117975 cat <<\_LT_EOF >> "$cfgfile"
117976 # AIX sometimes has problems with the GCC collect2 program. For some
117977 # reason, if we set the COLLECT_NAMES environment variable, the problems
117978 # vanish in a puff of smoke.
117979 if test "X${COLLECT_NAMES+set}" != Xset; then
117980 COLLECT_NAMES=
117981 export COLLECT_NAMES
117983 _LT_EOF
117988 ltmain="$ac_aux_dir/ltmain.sh"
117991 # We use sed instead of cat because bash on DJGPP gets confused if
117992 # if finds mixed CR/LF and LF-only lines. Since sed operates in
117993 # text mode, it properly converts lines to CR/LF. This bash problem
117994 # is reportedly fixed, but why not run on old versions too?
117995 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
117996 || (rm -f "$cfgfile"; exit 1)
117998 case $xsi_shell in
118000 cat << \_LT_EOF >> "$cfgfile"
118001 # func_dirname file append nondir_replacement
118002 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118003 # otherwise set result to NONDIR_REPLACEMENT.
118004 func_dirname ()
118006 case ${1} in
118007 */*) func_dirname_result="${1%/*}${2}" ;;
118008 * ) func_dirname_result="${3}" ;;
118012 # func_basename file
118013 func_basename ()
118015 func_basename_result="${1##*/}"
118018 # func_stripname prefix suffix name
118019 # strip PREFIX and SUFFIX off of NAME.
118020 # PREFIX and SUFFIX must not contain globbing or regex special
118021 # characters, hashes, percent signs, but SUFFIX may contain a leading
118022 # dot (in which case that matches only a dot).
118023 func_stripname ()
118025 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
118026 # positional parameters, so assign one to ordinary parameter first.
118027 func_stripname_result=${3}
118028 func_stripname_result=${func_stripname_result#"${1}"}
118029 func_stripname_result=${func_stripname_result%"${2}"}
118032 # func_opt_split
118033 func_opt_split ()
118035 func_opt_split_opt=${1%%=*}
118036 func_opt_split_arg=${1#*=}
118039 # func_lo2o object
118040 func_lo2o ()
118042 case ${1} in
118043 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
118044 *) func_lo2o_result=${1} ;;
118047 _LT_EOF
118049 *) # Bourne compatible functions.
118050 cat << \_LT_EOF >> "$cfgfile"
118051 # func_dirname file append nondir_replacement
118052 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118053 # otherwise set result to NONDIR_REPLACEMENT.
118054 func_dirname ()
118056 # Extract subdirectory from the argument.
118057 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
118058 if test "X$func_dirname_result" = "X${1}"; then
118059 func_dirname_result="${3}"
118061 func_dirname_result="$func_dirname_result${2}"
118065 # func_basename file
118066 func_basename ()
118068 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
118071 # func_stripname prefix suffix name
118072 # strip PREFIX and SUFFIX off of NAME.
118073 # PREFIX and SUFFIX must not contain globbing or regex special
118074 # characters, hashes, percent signs, but SUFFIX may contain a leading
118075 # dot (in which case that matches only a dot).
118076 # func_strip_suffix prefix name
118077 func_stripname ()
118079 case ${2} in
118080 .*) func_stripname_result=`$ECHO "X${3}" \
118081 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
118082 *) func_stripname_result=`$ECHO "X${3}" \
118083 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
118087 # sed scripts:
118088 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
118089 my_sed_long_arg='1s/^-[^=]*=//'
118091 # func_opt_split
118092 func_opt_split ()
118094 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
118095 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
118098 # func_lo2o object
118099 func_lo2o ()
118101 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
118103 _LT_EOF
118106 case $lt_shell_append in
118108 cat << \_LT_EOF >> "$cfgfile"
118110 # func_append var value
118111 # Append VALUE to the end of shell variable VAR.
118112 func_append ()
118114 eval "$1+=\$2"
118116 _LT_EOF
118119 cat << \_LT_EOF >> "$cfgfile"
118121 # func_append var value
118122 # Append VALUE to the end of shell variable VAR.
118123 func_append ()
118125 eval "$1=\$$1\$2"
118127 _LT_EOF
118132 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
118133 || (rm -f "$cfgfile"; exit 1)
118135 mv -f "$cfgfile" "$ofile" ||
118136 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
118137 chmod +x "$ofile"
118140 cat <<_LT_EOF >> "$ofile"
118142 # ### BEGIN LIBTOOL TAG CONFIG: CXX
118144 # The linker used to build libraries.
118145 LD=$lt_LD_CXX
118147 # Commands used to build an old-style archive.
118148 old_archive_cmds=$lt_old_archive_cmds_CXX
118150 # A language specific compiler.
118151 CC=$lt_compiler_CXX
118153 # Is the compiler the GNU compiler?
118154 with_gcc=$GCC_CXX
118156 # Compiler flag to turn off builtin functions.
118157 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
118159 # How to pass a linker flag through the compiler.
118160 wl=$lt_lt_prog_compiler_wl_CXX
118162 # Additional compiler flags for building library objects.
118163 pic_flag=$lt_lt_prog_compiler_pic_CXX
118165 # Compiler flag to prevent dynamic linking.
118166 link_static_flag=$lt_lt_prog_compiler_static_CXX
118168 # Does compiler simultaneously support -c and -o options?
118169 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
118171 # Whether or not to add -lc for building shared libraries.
118172 build_libtool_need_lc=$archive_cmds_need_lc_CXX
118174 # Whether or not to disallow shared libs when runtime libs are static.
118175 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
118177 # Compiler flag to allow reflexive dlopens.
118178 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
118180 # Compiler flag to generate shared objects directly from archives.
118181 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
118183 # Whether the compiler copes with passing no objects directly.
118184 compiler_needs_object=$lt_compiler_needs_object_CXX
118186 # Create an old-style archive from a shared archive.
118187 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
118189 # Create a temporary old-style archive to link instead of a shared archive.
118190 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
118192 # Commands used to build a shared archive.
118193 archive_cmds=$lt_archive_cmds_CXX
118194 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
118196 # Commands used to build a loadable module if different from building
118197 # a shared archive.
118198 module_cmds=$lt_module_cmds_CXX
118199 module_expsym_cmds=$lt_module_expsym_cmds_CXX
118201 # Whether we are building with GNU ld or not.
118202 with_gnu_ld=$lt_with_gnu_ld_CXX
118204 # Flag that allows shared libraries with undefined symbols to be built.
118205 allow_undefined_flag=$lt_allow_undefined_flag_CXX
118207 # Flag that enforces no undefined symbols.
118208 no_undefined_flag=$lt_no_undefined_flag_CXX
118210 # Flag to hardcode \$libdir into a binary during linking.
118211 # This must work even if \$libdir does not exist
118212 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
118214 # If ld is used when linking, flag to hardcode \$libdir into a binary
118215 # during linking. This must work even if \$libdir does not exist.
118216 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
118218 # Whether we need a single "-rpath" flag with a separated argument.
118219 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
118221 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118222 # DIR into the resulting binary.
118223 hardcode_direct=$hardcode_direct_CXX
118225 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118226 # DIR into the resulting binary and the resulting library dependency is
118227 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
118228 # library is relocated.
118229 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
118231 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
118232 # into the resulting binary.
118233 hardcode_minus_L=$hardcode_minus_L_CXX
118235 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
118236 # into the resulting binary.
118237 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
118239 # Set to "yes" if building a shared library automatically hardcodes DIR
118240 # into the library and all subsequent libraries and executables linked
118241 # against it.
118242 hardcode_automatic=$hardcode_automatic_CXX
118244 # Set to yes if linker adds runtime paths of dependent libraries
118245 # to runtime path list.
118246 inherit_rpath=$inherit_rpath_CXX
118248 # Whether libtool must link a program against all its dependency libraries.
118249 link_all_deplibs=$link_all_deplibs_CXX
118251 # Fix the shell variable \$srcfile for the compiler.
118252 fix_srcfile_path=$lt_fix_srcfile_path_CXX
118254 # Set to "yes" if exported symbols are required.
118255 always_export_symbols=$always_export_symbols_CXX
118257 # The commands to list exported symbols.
118258 export_symbols_cmds=$lt_export_symbols_cmds_CXX
118260 # Symbols that should not be listed in the preloaded symbols.
118261 exclude_expsyms=$lt_exclude_expsyms_CXX
118263 # Symbols that must always be exported.
118264 include_expsyms=$lt_include_expsyms_CXX
118266 # Commands necessary for linking programs (against libraries) with templates.
118267 prelink_cmds=$lt_prelink_cmds_CXX
118269 # Specify filename containing input files.
118270 file_list_spec=$lt_file_list_spec_CXX
118272 # How to hardcode a shared library path into an executable.
118273 hardcode_action=$hardcode_action_CXX
118275 # Dependencies to place before and after the objects being linked to
118276 # create a shared library.
118277 predep_objects=$lt_predep_objects_CXX
118278 postdep_objects=$lt_postdep_objects_CXX
118279 predeps=$lt_predeps_CXX
118280 postdeps=$lt_postdeps_CXX
118282 # The library search path used internally by the compiler when linking
118283 # a shared library.
118284 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
118286 # ### END LIBTOOL TAG CONFIG: CXX
118287 _LT_EOF
118290 default ) if test -n "$CONFIG_FILES"; then
118291 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
118292 # that multilib installs will end up installed in the correct place.
118293 # The testsuite needs it for multilib-aware ABI baseline files.
118294 # To work around this not being passed down from config-ml.in ->
118295 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
118296 # append it here. Only modify Makefiles that have just been created.
118298 # Also, get rid of this simulated-VPATH thing that automake does.
118299 cat > vpsed << \_EOF
118300 s!`test -f '$<' || echo '$(srcdir)/'`!!
118302 for i in $SUBDIRS; do
118303 case $CONFIG_FILES in
118304 *${i}/Makefile*)
118305 #echo "Adding MULTISUBDIR to $i/Makefile"
118306 sed -f vpsed $i/Makefile > tmp
118307 grep '^MULTISUBDIR =' Makefile >> tmp
118308 mv tmp $i/Makefile
118312 rm vpsed
118314 (cd include && ${MAKE-make})
118318 _ACEOF
118320 cat >>$CONFIG_STATUS <<\_ACEOF
118322 { (exit 0); exit 0; }
118323 _ACEOF
118324 chmod +x $CONFIG_STATUS
118325 ac_clean_files=$ac_clean_files_save
118328 # configure is writing to config.log, and then calls config.status.
118329 # config.status does its own redirection, appending to config.log.
118330 # Unfortunately, on DOS this fails, as config.log is still kept open
118331 # by configure, so config.status won't be able to write to it; its
118332 # output is simply discarded. So we exec the FD to /dev/null,
118333 # effectively closing config.log, so it can be properly (re)opened and
118334 # appended to by config.status. When coming back to configure, we
118335 # need to make the FD available again.
118336 if test "$no_create" != yes; then
118337 ac_cs_success=:
118338 ac_config_status_args=
118339 test "$silent" = yes &&
118340 ac_config_status_args="$ac_config_status_args --quiet"
118341 exec 5>/dev/null
118342 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
118343 exec 5>>config.log
118344 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
118345 # would make configure fail if this is the last instruction.
118346 $ac_cs_success || { (exit 1); exit 1; }