* doc/tm.texi (MALLOC_ABI_ALIGNMENT): New macro. Alignment, in bits,
[official-gcc.git] / libstdc++-v3 / configure
blob901a2dc1e4fbd0d727adf947db68b13dcaad7e44
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 glibcxx_thread_h WERROR SECTION_FLAGS 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 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=''
463 ac_pwd=`pwd`
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
503 ac_prev=
504 for ac_option
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
509 ac_prev=
510 continue
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
517 case $ac_option in
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 ac_prev=bindir ;;
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522 bindir=$ac_optarg ;;
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
536 --config-cache | -C)
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 ac_prev=datadir ;;
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 | --da=*)
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 case $ac_option in
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 *) ac_optarg=yes ;;
564 esac
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
578 with_gas=yes ;;
580 -help | --help | --hel | --he | -h)
581 ac_init_help=long ;;
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 ac_prev=infodir ;;
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
605 ac_prev=libdir ;;
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
607 libdir=$ac_optarg ;;
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 ac_prev=mandir ;;
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628 mandir=$ac_optarg ;;
630 -nfp | --nfp | --nf)
631 # Obsolete; use --without-fp.
632 with_fp=no ;;
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
636 no_create=yes ;;
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640 no_recursion=yes ;;
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 ac_prev=prefix ;;
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654 prefix=$ac_optarg ;;
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
689 silent=yes ;;
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 ac_prev=sbindir ;;
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 | --sbi=* | --sb=*)
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
700 | --sha | --sh)
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 | --sha=* | --sh=*)
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
709 ac_prev=site ;;
710 -site=* | --site=* | --sit=*)
711 site=$ac_optarg ;;
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 ac_prev=srcdir ;;
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716 srcdir=$ac_optarg ;;
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
731 verbose=yes ;;
733 -version | --version | --versio | --versi | --vers | -V)
734 ac_init_version=: ;;
736 -with-* | --with-*)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 case $ac_option in
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 *) ac_optarg=yes ;;
746 esac
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
758 --x)
759 # Obsolete; use --with-x.
760 with_x=yes ;;
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
781 *=*)
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
789 export $ac_envvar ;;
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
799 esac
800 done
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
812 case $ac_val in
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
816 esac
817 done
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
824 case $ac_val in
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
828 esac
829 done
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
845 cross_compiling=yes
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
870 s/.*/./; q'`
871 srcdir=$ac_confdir
872 if test ! -r $srcdir/$ac_unique_file; then
873 srcdir=..
875 else
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
882 else
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
929 # Report the --help message.
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
934 cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
937 Usage: $0 [OPTION]... [VAR=VALUE]...
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
942 Defaults for the options are specified in brackets.
944 Configuration:
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
955 _ACEOF
957 cat <<_ACEOF
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
960 [$ac_default_prefix]
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
962 [PREFIX]
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
969 For better control, use the options below.
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
984 _ACEOF
986 cat <<\_ACEOF
988 Program names:
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
993 System types:
994 --build=BUILD configure for building on BUILD [guessed]
995 --host=HOST cross-compile to build programs to run on HOST [BUILD]
996 --target=TARGET configure for building compilers for TARGET [HOST]
997 _ACEOF
1000 if test -n "$ac_init_help"; then
1001 case $ac_init_help in
1002 short | recursive ) echo "Configuration of package-unused version-unused:";;
1003 esac
1004 cat <<\_ACEOF
1006 Optional Features:
1007 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1008 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1009 --enable-multilib build many library versions (default)
1010 --enable-maintainer-mode enable make rules and dependencies not useful
1011 (and sometimes confusing) to the casual installer
1012 --enable-shared[=PKGS]
1013 build shared libraries [default=yes]
1014 --enable-static[=PKGS]
1015 build static libraries [default=yes]
1016 --enable-fast-install[=PKGS]
1017 optimize for fast installation [default=yes]
1018 --disable-libtool-lock avoid locking (might break parallel builds)
1019 --disable-hosted-libstdcxx
1020 only build freestanding C++ runtime support
1021 --enable-sjlj-exceptions
1022 force use of builtin_setjmp for exceptions
1023 [default=auto]
1024 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1025 [default=$is_hosted]
1026 --enable-cstdio=PACKAGE use target-specific I/O package
1027 [default=stdio]
1028 --enable-clocale[=MODEL]
1029 use MODEL for target locale package
1030 [default=auto]
1031 --enable-nls use Native Language Support (default)
1032 --enable-libstdcxx-allocator=KIND
1033 use KIND for target std::allocator base
1034 [default=auto]
1035 --enable-cheaders=KIND construct "C" headers for g++
1036 [default=$c_model]
1037 --enable-long-long enable template specializations for 'long long'
1038 [default=yes]
1039 --enable-wchar_t enable template specializations for 'wchar_t'
1040 [default=yes]
1041 --enable-c99 turns on ISO/IEC 9899:1999 support
1042 [default=yes]
1043 --enable-concept-checks use Boost-derived template checks [default=no]
1044 --enable-libstdcxx-debug-flags=FLAGS
1045 pass compiler FLAGS when building debug library
1046 [default="-g3 -O0"]
1047 --enable-libstdcxx-debug
1048 build extra debug library [default=no]
1049 --enable-cxx-flags=FLAGS
1050 pass compiler FLAGS when building library
1051 [default=]
1052 --enable-fully-dynamic-string
1053 do not put empty strings in per-process static
1054 memory [default=no]
1055 --enable-tls Use thread-local storage [default=yes]
1056 --disable-rpath do not hardcode runtime library paths
1057 --enable-linux-futex use the Linux futex system call
1058 [default=default]
1059 --enable-symvers=STYLE enables symbol versioning of the shared library
1060 [default=yes]
1061 --enable-visibility enables visibility safe usage [default=yes]
1062 --enable-version-specific-runtime-libs
1063 Specify that runtime libraries should be installed
1064 in a compiler-specific directory
1066 Optional Packages:
1067 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1068 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1069 --with-target-subdir=SUBDIR
1070 configuring in a subdirectory
1071 --with-cross-host=HOST configuring with a cross compiler
1072 --with-newlib assume newlib as a system C library
1073 --with-pic try to use only PIC/non-PIC objects [default=use
1074 both]
1075 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1078 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1079 --with-gxx-include-dir=DIR
1080 installation directory for include files
1082 Some influential environment variables:
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1089 CXX C++ compiler command
1090 CXXFLAGS C++ compiler flags
1091 CPP C preprocessor
1092 CXXCPP C++ preprocessor
1094 Use these variables to override the choices made by `configure' or to help
1095 it to find libraries and programs with nonstandard names/locations.
1097 _ACEOF
1100 if test "$ac_init_help" = "recursive"; then
1101 # If there are subdirs, report their specific --help.
1102 ac_popdir=`pwd`
1103 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1104 test -d $ac_dir || continue
1105 ac_builddir=.
1107 if test "$ac_dir" != .; then
1108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109 # A "../" for each directory in $ac_dir_suffix.
1110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111 else
1112 ac_dir_suffix= ac_top_builddir=
1115 case $srcdir in
1116 .) # No --srcdir option. We are building in place.
1117 ac_srcdir=.
1118 if test -z "$ac_top_builddir"; then
1119 ac_top_srcdir=.
1120 else
1121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1122 fi ;;
1123 [\\/]* | ?:[\\/]* ) # Absolute path.
1124 ac_srcdir=$srcdir$ac_dir_suffix;
1125 ac_top_srcdir=$srcdir ;;
1126 *) # Relative path.
1127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1129 esac
1131 # Do not use `cd foo && pwd` to compute absolute paths, because
1132 # the directories may not exist.
1133 case `pwd` in
1134 .) ac_abs_builddir="$ac_dir";;
1136 case "$ac_dir" in
1137 .) ac_abs_builddir=`pwd`;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1139 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1140 esac;;
1141 esac
1142 case $ac_abs_builddir in
1143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 case ${ac_top_builddir}. in
1146 .) ac_abs_top_builddir=$ac_abs_builddir;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1149 esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_srcdir=$ac_srcdir;;
1154 case $ac_srcdir in
1155 .) ac_abs_srcdir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1157 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1158 esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 case $ac_top_srcdir in
1164 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1167 esac;;
1168 esac
1170 cd $ac_dir
1171 # Check for guested configure; otherwise get Cygnus style configure.
1172 if test -f $ac_srcdir/configure.gnu; then
1173 echo
1174 $SHELL $ac_srcdir/configure.gnu --help=recursive
1175 elif test -f $ac_srcdir/configure; then
1176 echo
1177 $SHELL $ac_srcdir/configure --help=recursive
1178 elif test -f $ac_srcdir/configure.ac ||
1179 test -f $ac_srcdir/configure.in; then
1180 echo
1181 $ac_configure --help
1182 else
1183 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1185 cd $ac_popdir
1186 done
1189 test -n "$ac_init_help" && exit 0
1190 if $ac_init_version; then
1191 cat <<\_ACEOF
1192 package-unused configure version-unused
1193 generated by GNU Autoconf 2.59
1195 Copyright (C) 2003 Free Software Foundation, Inc.
1196 This configure script is free software; the Free Software Foundation
1197 gives unlimited permission to copy, distribute and modify it.
1198 _ACEOF
1199 exit 0
1201 exec 5>config.log
1202 cat >&5 <<_ACEOF
1203 This file contains any messages produced by compilers while
1204 running configure, to aid debugging if configure makes a mistake.
1206 It was created by package-unused $as_me version-unused, which was
1207 generated by GNU Autoconf 2.59. Invocation command line was
1209 $ $0 $@
1211 _ACEOF
1213 cat <<_ASUNAME
1214 ## --------- ##
1215 ## Platform. ##
1216 ## --------- ##
1218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1225 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1227 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1228 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1230 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1231 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1232 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1233 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1235 _ASUNAME
1237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1238 for as_dir in $PATH
1240 IFS=$as_save_IFS
1241 test -z "$as_dir" && as_dir=.
1242 echo "PATH: $as_dir"
1243 done
1245 } >&5
1247 cat >&5 <<_ACEOF
1250 ## ----------- ##
1251 ## Core tests. ##
1252 ## ----------- ##
1254 _ACEOF
1257 # Keep a trace of the command line.
1258 # Strip out --no-create and --no-recursion so they do not pile up.
1259 # Strip out --silent because we don't want to record it for future runs.
1260 # Also quote any args containing shell meta-characters.
1261 # Make two passes to allow for proper duplicate-argument suppression.
1262 ac_configure_args=
1263 ac_configure_args0=
1264 ac_configure_args1=
1265 ac_sep=
1266 ac_must_keep_next=false
1267 for ac_pass in 1 2
1269 for ac_arg
1271 case $ac_arg in
1272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 continue ;;
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1278 esac
1279 case $ac_pass in
1280 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1282 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1283 if test $ac_must_keep_next = true; then
1284 ac_must_keep_next=false # Got value, back to normal.
1285 else
1286 case $ac_arg in
1287 *=* | --config-cache | -C | -disable-* | --disable-* \
1288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290 | -with-* | --with-* | -without-* | --without-* | --x)
1291 case "$ac_configure_args0 " in
1292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1293 esac
1295 -* ) ac_must_keep_next=true ;;
1296 esac
1298 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1299 # Get rid of the leading space.
1300 ac_sep=" "
1302 esac
1303 done
1304 done
1305 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1306 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1308 # When interrupted or exit'd, cleanup temporary files, and complete
1309 # config.log. We remove comments because anyway the quotes in there
1310 # would cause problems or look ugly.
1311 # WARNING: Be sure not to use single quotes in there, as some shells,
1312 # such as our DU 5.0 friend, will then `close' the trap.
1313 trap 'exit_status=$?
1314 # Save into config.log some information that might help in debugging.
1316 echo
1318 cat <<\_ASBOX
1319 ## ---------------- ##
1320 ## Cache variables. ##
1321 ## ---------------- ##
1322 _ASBOX
1323 echo
1324 # The following way of writing the cache mishandles newlines in values,
1326 (set) 2>&1 |
1327 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1328 *ac_space=\ *)
1329 sed -n \
1330 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334 sed -n \
1335 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 esac;
1339 echo
1341 cat <<\_ASBOX
1342 ## ----------------- ##
1343 ## Output variables. ##
1344 ## ----------------- ##
1345 _ASBOX
1346 echo
1347 for ac_var in $ac_subst_vars
1349 eval ac_val=$`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1351 done | sort
1352 echo
1354 if test -n "$ac_subst_files"; then
1355 cat <<\_ASBOX
1356 ## ------------- ##
1357 ## Output files. ##
1358 ## ------------- ##
1359 _ASBOX
1360 echo
1361 for ac_var in $ac_subst_files
1363 eval ac_val=$`echo $ac_var`
1364 echo "$ac_var='"'"'$ac_val'"'"'"
1365 done | sort
1366 echo
1369 if test -s confdefs.h; then
1370 cat <<\_ASBOX
1371 ## ----------- ##
1372 ## confdefs.h. ##
1373 ## ----------- ##
1374 _ASBOX
1375 echo
1376 sed "/^$/d" confdefs.h | sort
1377 echo
1379 test "$ac_signal" != 0 &&
1380 echo "$as_me: caught signal $ac_signal"
1381 echo "$as_me: exit $exit_status"
1382 } >&5
1383 rm -f core *.core &&
1384 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1385 exit $exit_status
1387 for ac_signal in 1 2 13 15; do
1388 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1389 done
1390 ac_signal=0
1392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1393 rm -rf conftest* confdefs.h
1394 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1395 echo >confdefs.h
1397 # Predefined preprocessor variables.
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_NAME "$PACKAGE_NAME"
1401 _ACEOF
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1406 _ACEOF
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1411 _ACEOF
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_STRING "$PACKAGE_STRING"
1416 _ACEOF
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1421 _ACEOF
1424 # Let the site file select an alternate cache file if it wants to.
1425 # Prefer explicitly selected file to automatically selected ones.
1426 if test -z "$CONFIG_SITE"; then
1427 if test "x$prefix" != xNONE; then
1428 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1429 else
1430 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433 for ac_site_file in $CONFIG_SITE; do
1434 if test -r "$ac_site_file"; then
1435 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436 echo "$as_me: loading site script $ac_site_file" >&6;}
1437 sed 's/^/| /' "$ac_site_file" >&5
1438 . "$ac_site_file"
1440 done
1442 if test -r "$cache_file"; then
1443 # Some versions of bash will fail to source /dev/null (special
1444 # files actually), so we avoid doing that.
1445 if test -f "$cache_file"; then
1446 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447 echo "$as_me: loading cache $cache_file" >&6;}
1448 case $cache_file in
1449 [\\/]* | ?:[\\/]* ) . $cache_file;;
1450 *) . ./$cache_file;;
1451 esac
1453 else
1454 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455 echo "$as_me: creating cache $cache_file" >&6;}
1456 >$cache_file
1459 # Check that the precious variables saved in the cache have kept the same
1460 # value.
1461 ac_cache_corrupted=false
1462 for ac_var in `(set) 2>&1 |
1463 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1464 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1465 eval ac_new_set=\$ac_env_${ac_var}_set
1466 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1467 eval ac_new_val="\$ac_env_${ac_var}_value"
1468 case $ac_old_set,$ac_new_set in
1469 set,)
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1472 ac_cache_corrupted=: ;;
1473 ,set)
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476 ac_cache_corrupted=: ;;
1477 ,);;
1479 if test "x$ac_old_val" != "x$ac_new_val"; then
1480 # differences in whitespace do not lead to failure.
1481 ac_old_val_w=`echo x $ac_old_val`
1482 ac_new_val_w=`echo x $ac_new_val`
1483 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1484 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486 ac_cache_corrupted=:
1487 else
1488 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1489 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1490 eval $ac_var=\$ac_old_val
1492 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1493 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1494 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1495 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1496 fi;;
1497 esac
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1500 case $ac_new_val in
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1504 esac
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508 esac
1510 done
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1513 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1514 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1515 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1516 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1517 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1518 { (exit 1); exit 1; }; }
1521 ac_ext=c
1522 ac_cpp='$CPP $CPPFLAGS'
1523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1557 ac_config_headers="$ac_config_headers config.h"
1560 # This works around the fact that libtool configuration may change LD
1561 # for this particular configuration, but some shells, instead of
1562 # keeping the changes in LD private, export them just because LD is
1563 # exported. Only used at the end of this file.
1564 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1566 # For libtool versioning info, format is CURRENT:REVISION:AGE
1567 libtool_VERSION=6:11:0
1570 # Find the rest of the source tree framework.
1571 # Default to --enable-multilib
1572 # Check whether --enable-multilib or --disable-multilib was given.
1573 if test "${enable_multilib+set}" = set; then
1574 enableval="$enable_multilib"
1575 case "$enableval" in
1576 yes) multilib=yes ;;
1577 no) multilib=no ;;
1578 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1579 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1580 { (exit 1); exit 1; }; } ;;
1581 esac
1582 else
1583 multilib=yes
1586 # We may get other options which we leave undocumented:
1587 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1588 # See config-ml.in if you want the gory details.
1590 if test "$srcdir" = "."; then
1591 if test "$with_target_subdir" != "."; then
1592 multi_basedir="$srcdir/$with_multisrctop../.."
1593 else
1594 multi_basedir="$srcdir/$with_multisrctop.."
1596 else
1597 multi_basedir="$srcdir/.."
1601 # Even if the default multilib is not a cross compilation,
1602 # it may be that some of the other multilibs are.
1603 if test $cross_compiling = no && test $multilib = yes \
1604 && test "x${with_multisubdir}" != x ; then
1605 cross_compiling=maybe
1608 ac_config_commands="$ac_config_commands default-1"
1611 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1613 # You will slowly go insane if you do not grok the following fact: when
1614 # building v3 as part of the compiler, the top-level /target/ becomes the
1615 # library's /host/. configure then causes --target to default to --host,
1616 # exactly like any other package using autoconf. Therefore, 'target' and
1617 # 'host' will always be the same. This makes sense both for native and
1618 # cross compilers, just think about it for a little while. :-)
1620 # Also, if v3 is being configured as part of a cross compiler, the top-level
1621 # configure script will pass the "real" host as $with_cross_host.
1623 # Do not delete or change the following two lines. For why, see
1624 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1625 ac_aux_dir=
1626 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1627 if test -f $ac_dir/install-sh; then
1628 ac_aux_dir=$ac_dir
1629 ac_install_sh="$ac_aux_dir/install-sh -c"
1630 break
1631 elif test -f $ac_dir/install.sh; then
1632 ac_aux_dir=$ac_dir
1633 ac_install_sh="$ac_aux_dir/install.sh -c"
1634 break
1635 elif test -f $ac_dir/shtool; then
1636 ac_aux_dir=$ac_dir
1637 ac_install_sh="$ac_aux_dir/shtool install -c"
1638 break
1640 done
1641 if test -z "$ac_aux_dir"; then
1642 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1643 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1644 { (exit 1); exit 1; }; }
1646 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1647 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1648 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1650 # Make sure we can run config.sub.
1651 $ac_config_sub sun4 >/dev/null 2>&1 ||
1652 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1653 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1654 { (exit 1); exit 1; }; }
1656 echo "$as_me:$LINENO: checking build system type" >&5
1657 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1658 if test "${ac_cv_build+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 else
1661 ac_cv_build_alias=$build_alias
1662 test -z "$ac_cv_build_alias" &&
1663 ac_cv_build_alias=`$ac_config_guess`
1664 test -z "$ac_cv_build_alias" &&
1665 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1666 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1667 { (exit 1); exit 1; }; }
1668 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1669 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1670 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1671 { (exit 1); exit 1; }; }
1674 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1675 echo "${ECHO_T}$ac_cv_build" >&6
1676 build=$ac_cv_build
1677 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1678 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1679 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1682 echo "$as_me:$LINENO: checking host system type" >&5
1683 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1684 if test "${ac_cv_host+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else
1687 ac_cv_host_alias=$host_alias
1688 test -z "$ac_cv_host_alias" &&
1689 ac_cv_host_alias=$ac_cv_build_alias
1690 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1691 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1692 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1693 { (exit 1); exit 1; }; }
1696 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1697 echo "${ECHO_T}$ac_cv_host" >&6
1698 host=$ac_cv_host
1699 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1700 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1701 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1704 echo "$as_me:$LINENO: checking target system type" >&5
1705 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1706 if test "${ac_cv_target+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 else
1709 ac_cv_target_alias=$target_alias
1710 test "x$ac_cv_target_alias" = "x" &&
1711 ac_cv_target_alias=$ac_cv_host_alias
1712 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1713 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1714 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1715 { (exit 1); exit 1; }; }
1718 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1719 echo "${ECHO_T}$ac_cv_target" >&6
1720 target=$ac_cv_target
1721 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1722 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1723 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1726 # The aliases save the names the user supplied, while $host etc.
1727 # will get canonicalized.
1728 test -n "$target_alias" &&
1729 test "$program_prefix$program_suffix$program_transform_name" = \
1730 NONENONEs,x,x, &&
1731 program_prefix=${target_alias}-
1732 target_alias=${target_alias-$host_alias}
1734 # Handy for debugging:
1735 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1737 if test "$build" != "$host"; then
1738 # We are being configured with some form of cross compiler.
1739 GLIBCXX_IS_NATIVE=false
1740 case "$host","$target" in
1741 # Darwin crosses can use the host system's libraries and headers,
1742 # because of the fat library support. Of course, it must be the
1743 # same version of Darwin on both sides. Allow the user to
1744 # just say --target=foo-darwin without a version number to mean
1745 # "the version on this system".
1746 *-*-darwin*,*-*-darwin*)
1747 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1748 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1749 if test $hostos = $targetos -o $targetos = darwin ; then
1750 GLIBCXX_IS_NATIVE=true
1757 esac
1758 else
1759 GLIBCXX_IS_NATIVE=true
1762 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1763 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1764 # 1.x: minimum required version
1765 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1766 # of other PACKAGE_* variables will, however, and there's nothing
1767 # we can do about that; they come from AC_INIT).
1768 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1769 # file in the top srcdir, etc, etc), so stop complaining.
1770 # no-dependencies: turns off auto dependency generation (just for now)
1771 # -Wall: turns on all automake warnings...
1772 # -Wno-portability: ...except this one, since GNU make is now required.
1773 am__api_version="1.9"
1774 # Find a good install program. We prefer a C program (faster),
1775 # so one script is as good as another. But avoid the broken or
1776 # incompatible versions:
1777 # SysV /etc/install, /usr/sbin/install
1778 # SunOS /usr/etc/install
1779 # IRIX /sbin/install
1780 # AIX /bin/install
1781 # AmigaOS /C/install, which installs bootblocks on floppy discs
1782 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1783 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1784 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1785 # OS/2's system install, which has a completely different semantic
1786 # ./install, which can be erroneously created by make from ./install.sh.
1787 # Reject install programs that cannot install multiple files.
1788 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1789 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1790 if test -z "$INSTALL"; then
1791 if test "${ac_cv_path_install+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 else
1794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 for as_dir in $PATH
1797 IFS=$as_save_IFS
1798 test -z "$as_dir" && as_dir=.
1799 # Account for people who put trailing slashes in PATH elements.
1800 case $as_dir/ in
1801 ./ | .// | /cC/* | \
1802 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1803 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1804 /usr/ucb/* ) ;;
1806 # OSF1 and SCO ODT 3.0 have their own names for install.
1807 # Don't use installbsd from OSF since it installs stuff as root
1808 # by default.
1809 for ac_prog in ginstall scoinst install; do
1810 for ac_exec_ext in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1812 if test $ac_prog = install &&
1813 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1814 # AIX install. It has an incompatible calling convention.
1816 elif test $ac_prog = install &&
1817 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1818 # program-specific install script used by HP pwplus--don't use.
1820 else
1821 rm -rf conftest.one conftest.two conftest.dir
1822 echo one > conftest.one
1823 echo two > conftest.two
1824 mkdir conftest.dir
1825 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1826 test -s conftest.one && test -s conftest.two &&
1827 test -s conftest.dir/conftest.one &&
1828 test -s conftest.dir/conftest.two
1829 then
1830 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1831 break 3
1835 done
1836 done
1838 esac
1839 done
1841 rm -rf conftest.one conftest.two conftest.dir
1844 if test "${ac_cv_path_install+set}" = set; then
1845 INSTALL=$ac_cv_path_install
1846 else
1847 # As a last resort, use the slow shell script. Don't cache a
1848 # value for INSTALL within a source directory, because that will
1849 # break other packages using the cache if that directory is
1850 # removed, or if the value is a relative name.
1851 INSTALL=$ac_install_sh
1854 echo "$as_me:$LINENO: result: $INSTALL" >&5
1855 echo "${ECHO_T}$INSTALL" >&6
1857 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1858 # It thinks the first close brace ends the variable substitution.
1859 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1861 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1863 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1865 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1866 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1867 # Just in case
1868 sleep 1
1869 echo timestamp > conftest.file
1870 # Do `set' in a subshell so we don't clobber the current shell's
1871 # arguments. Must try -L first in case configure is actually a
1872 # symlink; some systems play weird games with the mod time of symlinks
1873 # (eg FreeBSD returns the mod time of the symlink's containing
1874 # directory).
1875 if (
1876 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1877 if test "$*" = "X"; then
1878 # -L didn't work.
1879 set X `ls -t $srcdir/configure conftest.file`
1881 rm -f conftest.file
1882 if test "$*" != "X $srcdir/configure conftest.file" \
1883 && test "$*" != "X conftest.file $srcdir/configure"; then
1885 # If neither matched, then we have a broken ls. This can happen
1886 # if, for instance, CONFIG_SHELL is bash and it inherits a
1887 # broken ls alias from the environment. This has actually
1888 # happened. Such a system could not be considered "sane".
1889 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1890 alias in your environment" >&5
1891 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1892 alias in your environment" >&2;}
1893 { (exit 1); exit 1; }; }
1896 test "$2" = conftest.file
1898 then
1899 # Ok.
1901 else
1902 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1903 Check your system clock" >&5
1904 echo "$as_me: error: newly created file is older than distributed files!
1905 Check your system clock" >&2;}
1906 { (exit 1); exit 1; }; }
1908 echo "$as_me:$LINENO: result: yes" >&5
1909 echo "${ECHO_T}yes" >&6
1910 test "$program_prefix" != NONE &&
1911 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1912 # Use a double $ so make ignores it.
1913 test "$program_suffix" != NONE &&
1914 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1915 # Double any \ or $. echo might interpret backslashes.
1916 # By default was `s,x,x', remove it if useless.
1917 cat <<\_ACEOF >conftest.sed
1918 s/[\\$]/&&/g;s/;s,x,x,$//
1919 _ACEOF
1920 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1921 rm conftest.sed
1923 # expand $ac_aux_dir to an absolute path
1924 am_aux_dir=`cd $ac_aux_dir && pwd`
1926 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1927 # Use eval to expand $SHELL
1928 if eval "$MISSING --run true"; then
1929 am_missing_run="$MISSING --run "
1930 else
1931 am_missing_run=
1932 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1933 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1936 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1937 # We used to keeping the `.' as first argument, in order to
1938 # allow $(mkdir_p) to be used without argument. As in
1939 # $(mkdir_p) $(somedir)
1940 # where $(somedir) is conditionally defined. However this is wrong
1941 # for two reasons:
1942 # 1. if the package is installed by a user who cannot write `.'
1943 # make install will fail,
1944 # 2. the above comment should most certainly read
1945 # $(mkdir_p) $(DESTDIR)$(somedir)
1946 # so it does not work when $(somedir) is undefined and
1947 # $(DESTDIR) is not.
1948 # To support the latter case, we have to write
1949 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1950 # so the `.' trick is pointless.
1951 mkdir_p='mkdir -p --'
1952 else
1953 # On NextStep and OpenStep, the `mkdir' command does not
1954 # recognize any option. It will interpret all options as
1955 # directories to create, and then abort because `.' already
1956 # exists.
1957 for d in ./-p ./--version;
1959 test -d $d && rmdir $d
1960 done
1961 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1962 if test -f "$ac_aux_dir/mkinstalldirs"; then
1963 mkdir_p='$(mkinstalldirs)'
1964 else
1965 mkdir_p='$(install_sh) -d'
1969 for ac_prog in gawk mawk nawk awk
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy $ac_prog; ac_word=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978 if test -n "$AWK"; then
1979 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980 else
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1984 IFS=$as_save_IFS
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 ac_cv_prog_AWK="$ac_prog"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 break 2
1992 done
1993 done
1997 AWK=$ac_cv_prog_AWK
1998 if test -n "$AWK"; then
1999 echo "$as_me:$LINENO: result: $AWK" >&5
2000 echo "${ECHO_T}$AWK" >&6
2001 else
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2006 test -n "$AWK" && break
2007 done
2009 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2011 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2012 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 all:
2017 @echo 'ac_maketemp="$(MAKE)"'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2021 if test -n "$ac_maketemp"; then
2022 eval ac_cv_prog_make_${ac_make}_set=yes
2023 else
2024 eval ac_cv_prog_make_${ac_make}_set=no
2026 rm -f conftest.make
2028 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2029 echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6
2031 SET_MAKE=
2032 else
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 rm -rf .tst 2>/dev/null
2039 mkdir .tst 2>/dev/null
2040 if test -d .tst; then
2041 am__leading_dot=.
2042 else
2043 am__leading_dot=_
2045 rmdir .tst 2>/dev/null
2047 # test to see if srcdir already configured
2048 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2049 test -f $srcdir/config.status; then
2050 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2051 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2052 { (exit 1); exit 1; }; }
2055 # test whether we have cygpath
2056 if test -z "$CYGPATH_W"; then
2057 if (cygpath --version) >/dev/null 2>/dev/null; then
2058 CYGPATH_W='cygpath -w'
2059 else
2060 CYGPATH_W=echo
2065 # Define the identity of the package.
2066 PACKAGE='libstdc++'
2067 VERSION='version-unused'
2070 # Some tools Automake needs.
2072 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2075 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2078 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2081 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2084 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2086 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2088 # Installed binaries are usually stripped using `strip' when the user
2089 # run `make install-strip'. However `strip' might not be the right
2090 # tool to use in cross-compilation environments, therefore Automake
2091 # will honor the `STRIP' environment variable to overrule this program.
2092 if test "$cross_compiling" != no; then
2093 if test -n "$ac_tool_prefix"; then
2094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2095 set dummy ${ac_tool_prefix}strip; ac_word=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_STRIP+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 else
2101 if test -n "$STRIP"; then
2102 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2103 else
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2107 IFS=$as_save_IFS
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 break 2
2115 done
2116 done
2120 STRIP=$ac_cv_prog_STRIP
2121 if test -n "$STRIP"; then
2122 echo "$as_me:$LINENO: result: $STRIP" >&5
2123 echo "${ECHO_T}$STRIP" >&6
2124 else
2125 echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2130 if test -z "$ac_cv_prog_STRIP"; then
2131 ac_ct_STRIP=$STRIP
2132 # Extract the first word of "strip", so it can be a program name with args.
2133 set dummy strip; ac_word=$2
2134 echo "$as_me:$LINENO: checking for $ac_word" >&5
2135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2136 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 else
2139 if test -n "$ac_ct_STRIP"; then
2140 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2141 else
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH
2145 IFS=$as_save_IFS
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149 ac_cv_prog_ac_ct_STRIP="strip"
2150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151 break 2
2153 done
2154 done
2156 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2159 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2160 if test -n "$ac_ct_STRIP"; then
2161 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2162 echo "${ECHO_T}$ac_ct_STRIP" >&6
2163 else
2164 echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2168 STRIP=$ac_ct_STRIP
2169 else
2170 STRIP="$ac_cv_prog_STRIP"
2174 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2176 # We need awk for the "check" target. The system "awk" is bad on
2177 # some platforms.
2178 # Always define AMTAR for backward compatibility.
2180 AMTAR=${AMTAR-"${am_missing_run}tar"}
2182 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2193 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2194 # up critical shell variables.
2196 ac_ext=c
2197 ac_cpp='$CPP $CPPFLAGS'
2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2201 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2202 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2203 # On Suns, sometimes $CPP names a directory.
2204 if test -n "$CPP" && test -d "$CPP"; then
2205 CPP=
2207 if test -z "$CPP"; then
2208 if test "${ac_cv_prog_CPP+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 else
2211 # Double quotes because CPP needs to be expanded
2212 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2214 ac_preproc_ok=false
2215 for ac_c_preproc_warn_flag in '' yes
2217 # Use a header file that comes with gcc, so configuring glibc
2218 # with a fresh cross-compiler works.
2219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2220 # <limits.h> exists even on freestanding compilers.
2221 # On the NeXT, cc -E runs the code through the compiler's parser,
2222 # not just through cpp. "Syntax error" is here to catch this case.
2223 cat >conftest.$ac_ext <<_ACEOF
2224 /* confdefs.h. */
2225 _ACEOF
2226 cat confdefs.h >>conftest.$ac_ext
2227 cat >>conftest.$ac_ext <<_ACEOF
2228 /* end confdefs.h. */
2229 #ifdef __STDC__
2230 # include <limits.h>
2231 #else
2232 # include <assert.h>
2233 #endif
2234 Syntax error
2235 _ACEOF
2236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2238 ac_status=$?
2239 grep -v '^ *+' conftest.er1 >conftest.err
2240 rm -f conftest.er1
2241 cat conftest.err >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); } >/dev/null; then
2244 if test -s conftest.err; then
2245 ac_cpp_err=$ac_c_preproc_warn_flag
2246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2247 else
2248 ac_cpp_err=
2250 else
2251 ac_cpp_err=yes
2253 if test -z "$ac_cpp_err"; then
2255 else
2256 echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.$ac_ext >&5
2259 # Broken: fails on valid input.
2260 continue
2262 rm -f conftest.err conftest.$ac_ext
2264 # OK, works on sane cases. Now check whether non-existent headers
2265 # can be detected and how.
2266 cat >conftest.$ac_ext <<_ACEOF
2267 /* confdefs.h. */
2268 _ACEOF
2269 cat confdefs.h >>conftest.$ac_ext
2270 cat >>conftest.$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2272 #include <ac_nonexistent.h>
2273 _ACEOF
2274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2276 ac_status=$?
2277 grep -v '^ *+' conftest.er1 >conftest.err
2278 rm -f conftest.er1
2279 cat conftest.err >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); } >/dev/null; then
2282 if test -s conftest.err; then
2283 ac_cpp_err=$ac_c_preproc_warn_flag
2284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2285 else
2286 ac_cpp_err=
2288 else
2289 ac_cpp_err=yes
2291 if test -z "$ac_cpp_err"; then
2292 # Broken: success on invalid input.
2293 continue
2294 else
2295 echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.$ac_ext >&5
2298 # Passes both tests.
2299 ac_preproc_ok=:
2300 break
2302 rm -f conftest.err conftest.$ac_ext
2304 done
2305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2306 rm -f conftest.err conftest.$ac_ext
2307 if $ac_preproc_ok; then
2308 break
2311 done
2312 ac_cv_prog_CPP=$CPP
2315 CPP=$ac_cv_prog_CPP
2316 else
2317 ac_cv_prog_CPP=$CPP
2319 echo "$as_me:$LINENO: result: $CPP" >&5
2320 echo "${ECHO_T}$CPP" >&6
2321 ac_preproc_ok=false
2322 for ac_c_preproc_warn_flag in '' yes
2324 # Use a header file that comes with gcc, so configuring glibc
2325 # with a fresh cross-compiler works.
2326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2327 # <limits.h> exists even on freestanding compilers.
2328 # On the NeXT, cc -E runs the code through the compiler's parser,
2329 # not just through cpp. "Syntax error" is here to catch this case.
2330 cat >conftest.$ac_ext <<_ACEOF
2331 /* confdefs.h. */
2332 _ACEOF
2333 cat confdefs.h >>conftest.$ac_ext
2334 cat >>conftest.$ac_ext <<_ACEOF
2335 /* end confdefs.h. */
2336 #ifdef __STDC__
2337 # include <limits.h>
2338 #else
2339 # include <assert.h>
2340 #endif
2341 Syntax error
2342 _ACEOF
2343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2345 ac_status=$?
2346 grep -v '^ *+' conftest.er1 >conftest.err
2347 rm -f conftest.er1
2348 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } >/dev/null; then
2351 if test -s conftest.err; then
2352 ac_cpp_err=$ac_c_preproc_warn_flag
2353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2354 else
2355 ac_cpp_err=
2357 else
2358 ac_cpp_err=yes
2360 if test -z "$ac_cpp_err"; then
2362 else
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2366 # Broken: fails on valid input.
2367 continue
2369 rm -f conftest.err conftest.$ac_ext
2371 # OK, works on sane cases. Now check whether non-existent headers
2372 # can be detected and how.
2373 cat >conftest.$ac_ext <<_ACEOF
2374 /* confdefs.h. */
2375 _ACEOF
2376 cat confdefs.h >>conftest.$ac_ext
2377 cat >>conftest.$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2379 #include <ac_nonexistent.h>
2380 _ACEOF
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2383 ac_status=$?
2384 grep -v '^ *+' conftest.er1 >conftest.err
2385 rm -f conftest.er1
2386 cat conftest.err >&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } >/dev/null; then
2389 if test -s conftest.err; then
2390 ac_cpp_err=$ac_c_preproc_warn_flag
2391 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2392 else
2393 ac_cpp_err=
2395 else
2396 ac_cpp_err=yes
2398 if test -z "$ac_cpp_err"; then
2399 # Broken: success on invalid input.
2400 continue
2401 else
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2405 # Passes both tests.
2406 ac_preproc_ok=:
2407 break
2409 rm -f conftest.err conftest.$ac_ext
2411 done
2412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2413 rm -f conftest.err conftest.$ac_ext
2414 if $ac_preproc_ok; then
2416 else
2417 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2422 See \`config.log' for more details." >&2;}
2423 { (exit 1); exit 1; }; }; }
2426 ac_ext=c
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433 echo "$as_me:$LINENO: checking for egrep" >&5
2434 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2435 if test "${ac_cv_prog_egrep+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else
2438 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2439 then ac_cv_prog_egrep='grep -E'
2440 else ac_cv_prog_egrep='egrep'
2443 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2444 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2445 EGREP=$ac_cv_prog_egrep
2449 # Keep these sync'd with the list in Makefile.am. The first provides an
2450 # expandable list at autoconf time; the second provides an expandable list
2451 # (i.e., shell variable) at configure time.
2453 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2455 # These need to be absolute paths, yet at the same time need to
2456 # canonicalize only relative paths, because then amd will not unmount
2457 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2458 glibcxx_builddir=`${PWDCMD-pwd}`
2459 case $srcdir in
2460 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2461 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2462 esac
2463 toplevel_srcdir=${glibcxx_srcdir}/..
2468 # We use these options to decide which functions to include. They are
2469 # set from the top level.
2471 # Check whether --with-target-subdir or --without-target-subdir was given.
2472 if test "${with_target_subdir+set}" = set; then
2473 withval="$with_target_subdir"
2478 # Check whether --with-cross-host or --without-cross-host was given.
2479 if test "${with_cross_host+set}" = set; then
2480 withval="$with_cross_host"
2485 # Check whether --with-newlib or --without-newlib was given.
2486 if test "${with_newlib+set}" = set; then
2487 withval="$with_newlib"
2491 # We're almost certainly being configured before anything else which uses
2492 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2493 # we not cache the value of CXX that we "discover" here, because it's set
2494 # to something unique for us and libjava. Other target libraries need to
2495 # find CXX for themselves. We yank the rug out from under the normal AC_*
2496 # process by sneakily renaming the cache variable. This also lets us debug
2497 # the value of "our" CXX in postmortems.
2499 # We must also force CXX to /not/ be a precious variable, otherwise the
2500 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2501 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2502 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2503 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2505 # -fno-builtin must be present here so that a non-conflicting form of
2506 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2511 save_CXXFLAGS="$CXXFLAGS"
2512 CXXFLAGS="$CXXFLAGS -fno-builtin"
2513 ac_ext=c
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2518 if test -n "$ac_tool_prefix"; then
2519 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2520 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_CC+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 else
2526 if test -n "$CC"; then
2527 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 else
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 for ac_exec_ext in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 break 2
2540 done
2541 done
2545 CC=$ac_cv_prog_CC
2546 if test -n "$CC"; then
2547 echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6
2549 else
2550 echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2555 if test -z "$ac_cv_prog_CC"; then
2556 ac_ct_CC=$CC
2557 # Extract the first word of "gcc", so it can be a program name with args.
2558 set dummy gcc; ac_word=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 else
2564 if test -n "$ac_ct_CC"; then
2565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2566 else
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2570 IFS=$as_save_IFS
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_ac_ct_CC="gcc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 break 2
2578 done
2579 done
2583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2584 if test -n "$ac_ct_CC"; then
2585 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2586 echo "${ECHO_T}$ac_ct_CC" >&6
2587 else
2588 echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2592 CC=$ac_ct_CC
2593 else
2594 CC="$ac_cv_prog_CC"
2597 if test -z "$CC"; then
2598 if test -n "$ac_tool_prefix"; then
2599 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2600 set dummy ${ac_tool_prefix}cc; ac_word=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606 if test -n "$CC"; then
2607 ac_cv_prog_CC="$CC" # Let the user override the test.
2608 else
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2612 IFS=$as_save_IFS
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 ac_cv_prog_CC="${ac_tool_prefix}cc"
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 break 2
2620 done
2621 done
2625 CC=$ac_cv_prog_CC
2626 if test -n "$CC"; then
2627 echo "$as_me:$LINENO: result: $CC" >&5
2628 echo "${ECHO_T}$CC" >&6
2629 else
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2635 if test -z "$ac_cv_prog_CC"; then
2636 ac_ct_CC=$CC
2637 # Extract the first word of "cc", so it can be a program name with args.
2638 set dummy cc; ac_word=$2
2639 echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2643 else
2644 if test -n "$ac_ct_CC"; then
2645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2646 else
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH
2650 IFS=$as_save_IFS
2651 test -z "$as_dir" && as_dir=.
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654 ac_cv_prog_ac_ct_CC="cc"
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 break 2
2658 done
2659 done
2663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664 if test -n "$ac_ct_CC"; then
2665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666 echo "${ECHO_T}$ac_ct_CC" >&6
2667 else
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2672 CC=$ac_ct_CC
2673 else
2674 CC="$ac_cv_prog_CC"
2678 if test -z "$CC"; then
2679 # Extract the first word of "cc", so it can be a program name with args.
2680 set dummy cc; ac_word=$2
2681 echo "$as_me:$LINENO: checking for $ac_word" >&5
2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2683 if test "${ac_cv_prog_CC+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 else
2686 if test -n "$CC"; then
2687 ac_cv_prog_CC="$CC" # Let the user override the test.
2688 else
2689 ac_prog_rejected=no
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2693 IFS=$as_save_IFS
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2698 ac_prog_rejected=yes
2699 continue
2701 ac_cv_prog_CC="cc"
2702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 break 2
2705 done
2706 done
2708 if test $ac_prog_rejected = yes; then
2709 # We found a bogon in the path, so make sure we never use it.
2710 set dummy $ac_cv_prog_CC
2711 shift
2712 if test $# != 0; then
2713 # We chose a different compiler from the bogus one.
2714 # However, it has the same basename, so the bogon will be chosen
2715 # first if we set CC to just the basename; use the full file name.
2716 shift
2717 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2722 CC=$ac_cv_prog_CC
2723 if test -n "$CC"; then
2724 echo "$as_me:$LINENO: result: $CC" >&5
2725 echo "${ECHO_T}$CC" >&6
2726 else
2727 echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2732 if test -z "$CC"; then
2733 if test -n "$ac_tool_prefix"; then
2734 for ac_prog in cl
2736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2738 echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740 if test "${ac_cv_prog_CC+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 else
2743 if test -n "$CC"; then
2744 ac_cv_prog_CC="$CC" # Let the user override the test.
2745 else
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 for as_dir in $PATH
2749 IFS=$as_save_IFS
2750 test -z "$as_dir" && as_dir=.
2751 for ac_exec_ext in '' $ac_executable_extensions; do
2752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 break 2
2757 done
2758 done
2762 CC=$ac_cv_prog_CC
2763 if test -n "$CC"; then
2764 echo "$as_me:$LINENO: result: $CC" >&5
2765 echo "${ECHO_T}$CC" >&6
2766 else
2767 echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6
2771 test -n "$CC" && break
2772 done
2774 if test -z "$CC"; then
2775 ac_ct_CC=$CC
2776 for ac_prog in cl
2778 # Extract the first word of "$ac_prog", so it can be a program name with args.
2779 set dummy $ac_prog; ac_word=$2
2780 echo "$as_me:$LINENO: checking for $ac_word" >&5
2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 else
2785 if test -n "$ac_ct_CC"; then
2786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2787 else
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_ac_ct_CC="$ac_prog"
2796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 break 2
2799 done
2800 done
2804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2805 if test -n "$ac_ct_CC"; then
2806 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2807 echo "${ECHO_T}$ac_ct_CC" >&6
2808 else
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2813 test -n "$ac_ct_CC" && break
2814 done
2816 CC=$ac_ct_CC
2822 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2823 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&2;}
2828 { (exit 1); exit 1; }; }; }
2830 # Provide some information about the compiler.
2831 echo "$as_me:$LINENO:" \
2832 "checking for C compiler version" >&5
2833 ac_compiler=`set X $ac_compile; echo $2`
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2835 (eval $ac_compiler --version </dev/null >&5) 2>&5
2836 ac_status=$?
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2840 (eval $ac_compiler -v </dev/null >&5) 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }
2844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2845 (eval $ac_compiler -V </dev/null >&5) 2>&5
2846 ac_status=$?
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }
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 # FIXME: Cleanup?
2866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2867 (eval $ac_link) 2>&5
2868 ac_status=$?
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; then
2871 gcc_no_link=no
2872 else
2873 gcc_no_link=yes
2876 if test x$gcc_no_link = xyes; then
2877 # Setting cross_compile will disable run tests; it will
2878 # also disable AC_CHECK_FILE but that's generally
2879 # correct if we can't link.
2880 cross_compiling=yes
2881 EXEEXT=
2882 else
2883 cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h. */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2891 main ()
2895 return 0;
2897 _ACEOF
2898 ac_clean_files_save=$ac_clean_files
2899 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2900 # Try to create an executable without -o first, disregard a.out.
2901 # It will help us diagnose broken compilers, and finding out an intuition
2902 # of exeext.
2903 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2904 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2905 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2906 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2907 (eval $ac_link_default) 2>&5
2908 ac_status=$?
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }; then
2911 # Find the output, starting from the most likely. This scheme is
2912 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2913 # resort.
2915 # Be careful to initialize this variable, since it used to be cached.
2916 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2917 ac_cv_exeext=
2918 # b.out is created by i960 compilers.
2919 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2921 test -f "$ac_file" || continue
2922 case $ac_file in
2923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2925 conftest.$ac_ext )
2926 # This is the source file.
2928 [ab].out )
2929 # We found the default executable, but exeext='' is most
2930 # certainly right.
2931 break;;
2932 *.* )
2933 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2934 # FIXME: I believe we export ac_cv_exeext for Libtool,
2935 # but it would be cool to find out if it's true. Does anybody
2936 # maintain Libtool? --akim.
2937 export ac_cv_exeext
2938 break;;
2940 break;;
2941 esac
2942 done
2943 else
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2948 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2950 See \`config.log' for more details." >&5
2951 echo "$as_me: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&2;}
2953 { (exit 77); exit 77; }; }; }
2956 ac_exeext=$ac_cv_exeext
2957 echo "$as_me:$LINENO: result: $ac_file" >&5
2958 echo "${ECHO_T}$ac_file" >&6
2960 # Check the compiler produces executables we can run. If not, either
2961 # the compiler is broken, or we cross compile.
2962 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2963 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2964 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2965 # If not cross compiling, check that we can run a simple program.
2966 if test "$cross_compiling" != yes; then
2967 if { ac_try='./$ac_file'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; }; then
2973 cross_compiling=no
2974 else
2975 if test "$cross_compiling" = maybe; then
2976 cross_compiling=yes
2977 else
2978 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2979 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2981 If you meant to cross compile, use \`--host'.
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&2;}
2986 { (exit 1); exit 1; }; }; }
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2993 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2994 ac_clean_files=$ac_clean_files_save
2995 # Check the compiler produces executables we can run. If not, either
2996 # the compiler is broken, or we cross compile.
2997 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2999 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3000 echo "${ECHO_T}$cross_compiling" >&6
3002 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3005 (eval $ac_link) 2>&5
3006 ac_status=$?
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; then
3009 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3010 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3011 # work properly (i.e., refer to `conftest.exe'), while it won't with
3012 # `rm'.
3013 for ac_file in conftest.exe conftest conftest.*; do
3014 test -f "$ac_file" || continue
3015 case $ac_file in
3016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3017 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018 export ac_cv_exeext
3019 break;;
3020 * ) break;;
3021 esac
3022 done
3023 else
3024 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3027 See \`config.log' for more details." >&5
3028 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3029 See \`config.log' for more details." >&2;}
3030 { (exit 1); exit 1; }; }; }
3033 rm -f conftest$ac_cv_exeext
3034 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3035 echo "${ECHO_T}$ac_cv_exeext" >&6
3037 rm -f conftest.$ac_ext
3038 EXEEXT=$ac_cv_exeext
3039 ac_exeext=$EXEEXT
3041 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3042 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3043 if test "${ac_cv_objext+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3045 else
3046 cat >conftest.$ac_ext <<_ACEOF
3047 /* confdefs.h. */
3048 _ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3054 main ()
3058 return 0;
3060 _ACEOF
3061 rm -f conftest.o conftest.obj
3062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063 (eval $ac_compile) 2>&5
3064 ac_status=$?
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; then
3067 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3068 case $ac_file in
3069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3070 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3071 break;;
3072 esac
3073 done
3074 else
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3078 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3079 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3081 See \`config.log' for more details." >&5
3082 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3083 See \`config.log' for more details." >&2;}
3084 { (exit 1); exit 1; }; }; }
3087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3089 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3090 echo "${ECHO_T}$ac_cv_objext" >&6
3091 OBJEXT=$ac_cv_objext
3092 ac_objext=$OBJEXT
3093 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3094 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3095 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3096 echo $ECHO_N "(cached) $ECHO_C" >&6
3097 else
3098 cat >conftest.$ac_ext <<_ACEOF
3099 /* confdefs.h. */
3100 _ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3106 main ()
3108 #ifndef __GNUC__
3109 choke me
3110 #endif
3113 return 0;
3115 _ACEOF
3116 rm -f conftest.$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118 (eval $ac_compile) 2>conftest.er1
3119 ac_status=$?
3120 grep -v '^ *+' conftest.er1 >conftest.err
3121 rm -f conftest.er1
3122 cat conftest.err >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } &&
3125 { ac_try='test -z "$ac_c_werror_flag"
3126 || test ! -s conftest.err'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 (eval $ac_try) 2>&5
3129 ac_status=$?
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; } &&
3132 { ac_try='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 (eval $ac_try) 2>&5
3135 ac_status=$?
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3138 ac_compiler_gnu=yes
3139 else
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3143 ac_compiler_gnu=no
3145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3149 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3150 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3151 GCC=`test $ac_compiler_gnu = yes && echo yes`
3152 ac_test_CFLAGS=${CFLAGS+set}
3153 ac_save_CFLAGS=$CFLAGS
3154 CFLAGS="-g"
3155 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3157 if test "${ac_cv_prog_cc_g+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160 cat >conftest.$ac_ext <<_ACEOF
3161 /* confdefs.h. */
3162 _ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3168 main ()
3172 return 0;
3174 _ACEOF
3175 rm -f conftest.$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177 (eval $ac_compile) 2>conftest.er1
3178 ac_status=$?
3179 grep -v '^ *+' conftest.er1 >conftest.err
3180 rm -f conftest.er1
3181 cat conftest.err >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } &&
3184 { ac_try='test -z "$ac_c_werror_flag"
3185 || test ! -s conftest.err'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 (eval $ac_try) 2>&5
3188 ac_status=$?
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; } &&
3191 { ac_try='test -s conftest.$ac_objext'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193 (eval $ac_try) 2>&5
3194 ac_status=$?
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; }; then
3197 ac_cv_prog_cc_g=yes
3198 else
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.$ac_ext >&5
3202 ac_cv_prog_cc_g=no
3204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3207 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3208 if test "$ac_test_CFLAGS" = set; then
3209 CFLAGS=$ac_save_CFLAGS
3210 elif test $ac_cv_prog_cc_g = yes; then
3211 if test "$GCC" = yes; then
3212 CFLAGS="-g -O2"
3213 else
3214 CFLAGS="-g"
3216 else
3217 if test "$GCC" = yes; then
3218 CFLAGS="-O2"
3219 else
3220 CFLAGS=
3223 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3224 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3225 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3227 else
3228 ac_cv_prog_cc_stdc=no
3229 ac_save_CC=$CC
3230 cat >conftest.$ac_ext <<_ACEOF
3231 /* confdefs.h. */
3232 _ACEOF
3233 cat confdefs.h >>conftest.$ac_ext
3234 cat >>conftest.$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3236 #include <stdarg.h>
3237 #include <stdio.h>
3238 #include <sys/types.h>
3239 #include <sys/stat.h>
3240 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3241 struct buf { int x; };
3242 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3243 static char *e (p, i)
3244 char **p;
3245 int i;
3247 return p[i];
3249 static char *f (char * (*g) (char **, int), char **p, ...)
3251 char *s;
3252 va_list v;
3253 va_start (v,p);
3254 s = g (p, va_arg (v,int));
3255 va_end (v);
3256 return s;
3259 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3260 function prototypes and stuff, but not '\xHH' hex character constants.
3261 These don't provoke an error unfortunately, instead are silently treated
3262 as 'x'. The following induces an error, until -std1 is added to get
3263 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3264 array size at least. It's necessary to write '\x00'==0 to get something
3265 that's true only with -std1. */
3266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3268 int test (int i, double x);
3269 struct s1 {int (*f) (int a);};
3270 struct s2 {int (*f) (double a);};
3271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3272 int argc;
3273 char **argv;
3275 main ()
3277 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 return 0;
3281 _ACEOF
3282 # Don't try gcc -ansi; that turns off useful extensions and
3283 # breaks some systems' header files.
3284 # AIX -qlanglvl=ansi
3285 # Ultrix and OSF/1 -std1
3286 # HP-UX 10.20 and later -Ae
3287 # HP-UX older versions -Aa -D_HPUX_SOURCE
3288 # SVR4 -Xc -D__EXTENSIONS__
3289 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3291 CC="$ac_save_CC $ac_arg"
3292 rm -f conftest.$ac_objext
3293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3294 (eval $ac_compile) 2>conftest.er1
3295 ac_status=$?
3296 grep -v '^ *+' conftest.er1 >conftest.err
3297 rm -f conftest.er1
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } &&
3301 { ac_try='test -z "$ac_c_werror_flag"
3302 || test ! -s conftest.err'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 (eval $ac_try) 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; } &&
3308 { ac_try='test -s conftest.$ac_objext'
3309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 (eval $ac_try) 2>&5
3311 ac_status=$?
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }; }; then
3314 ac_cv_prog_cc_stdc=$ac_arg
3315 break
3316 else
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f conftest.err conftest.$ac_objext
3322 done
3323 rm -f conftest.$ac_ext conftest.$ac_objext
3324 CC=$ac_save_CC
3328 case "x$ac_cv_prog_cc_stdc" in
3329 x|xno)
3330 echo "$as_me:$LINENO: result: none needed" >&5
3331 echo "${ECHO_T}none needed" >&6 ;;
3333 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3334 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3335 CC="$CC $ac_cv_prog_cc_stdc" ;;
3336 esac
3338 # Some people use a C++ compiler to compile C. Since we use `exit',
3339 # in C++ we need to declare it. In case someone uses the same compiler
3340 # for both compiling C and C++ we need to have the C++ compiler decide
3341 # the declaration of exit, since it's the most demanding environment.
3342 cat >conftest.$ac_ext <<_ACEOF
3343 #ifndef __cplusplus
3344 choke me
3345 #endif
3346 _ACEOF
3347 rm -f conftest.$ac_objext
3348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3349 (eval $ac_compile) 2>conftest.er1
3350 ac_status=$?
3351 grep -v '^ *+' conftest.er1 >conftest.err
3352 rm -f conftest.er1
3353 cat conftest.err >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } &&
3356 { ac_try='test -z "$ac_c_werror_flag"
3357 || test ! -s conftest.err'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359 (eval $ac_try) 2>&5
3360 ac_status=$?
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; } &&
3363 { ac_try='test -s conftest.$ac_objext'
3364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 (eval $ac_try) 2>&5
3366 ac_status=$?
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); }; }; then
3369 for ac_declaration in \
3370 '' \
3371 'extern "C" void std::exit (int) throw (); using std::exit;' \
3372 'extern "C" void std::exit (int); using std::exit;' \
3373 'extern "C" void exit (int) throw ();' \
3374 'extern "C" void exit (int);' \
3375 'void exit (int);'
3377 cat >conftest.$ac_ext <<_ACEOF
3378 /* confdefs.h. */
3379 _ACEOF
3380 cat confdefs.h >>conftest.$ac_ext
3381 cat >>conftest.$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3383 $ac_declaration
3384 #include <stdlib.h>
3386 main ()
3388 exit (42);
3390 return 0;
3392 _ACEOF
3393 rm -f conftest.$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3396 ac_status=$?
3397 grep -v '^ *+' conftest.er1 >conftest.err
3398 rm -f conftest.er1
3399 cat conftest.err >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405 (eval $ac_try) 2>&5
3406 ac_status=$?
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 (eval $ac_try) 2>&5
3412 ac_status=$?
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3416 else
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 continue
3422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3423 cat >conftest.$ac_ext <<_ACEOF
3424 /* confdefs.h. */
3425 _ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3429 $ac_declaration
3431 main ()
3433 exit (42);
3435 return 0;
3437 _ACEOF
3438 rm -f conftest.$ac_objext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3440 (eval $ac_compile) 2>conftest.er1
3441 ac_status=$?
3442 grep -v '^ *+' conftest.er1 >conftest.err
3443 rm -f conftest.er1
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } &&
3447 { ac_try='test -z "$ac_c_werror_flag"
3448 || test ! -s conftest.err'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 (eval $ac_try) 2>&5
3451 ac_status=$?
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; } &&
3454 { ac_try='test -s conftest.$ac_objext'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 (eval $ac_try) 2>&5
3457 ac_status=$?
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; }; then
3460 break
3461 else
3462 echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3467 done
3468 rm -f conftest*
3469 if test -n "$ac_declaration"; then
3470 echo '#ifdef __cplusplus' >>confdefs.h
3471 echo $ac_declaration >>confdefs.h
3472 echo '#endif' >>confdefs.h
3475 else
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3481 ac_ext=c
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3487 ac_ext=cc
3488 ac_cpp='$CXXCPP $CPPFLAGS'
3489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3492 if test -n "$ac_tool_prefix"; then
3493 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3497 echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3499 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 else
3502 if test -n "$CXX"; then
3503 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3508 IFS=$as_save_IFS
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 break 2
3516 done
3517 done
3521 CXX=$glibcxx_cv_prog_CXX
3522 if test -n "$CXX"; then
3523 echo "$as_me:$LINENO: result: $CXX" >&5
3524 echo "${ECHO_T}$CXX" >&6
3525 else
3526 echo "$as_me:$LINENO: result: no" >&5
3527 echo "${ECHO_T}no" >&6
3530 test -n "$CXX" && break
3531 done
3533 if test -z "$CXX"; then
3534 ac_ct_CXX=$CXX
3535 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3537 # Extract the first word of "$ac_prog", so it can be a program name with args.
3538 set dummy $ac_prog; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544 if test -n "$ac_ct_CXX"; then
3545 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_ac_ct_CXX="$ac_prog"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3563 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3564 if test -n "$ac_ct_CXX"; then
3565 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3566 echo "${ECHO_T}$ac_ct_CXX" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3572 test -n "$ac_ct_CXX" && break
3573 done
3574 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3576 CXX=$ac_ct_CXX
3580 # Provide some information about the compiler.
3581 echo "$as_me:$LINENO:" \
3582 "checking for C++ compiler version" >&5
3583 ac_compiler=`set X $ac_compile; echo $2`
3584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3585 (eval $ac_compiler --version </dev/null >&5) 2>&5
3586 ac_status=$?
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }
3589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3590 (eval $ac_compiler -v </dev/null >&5) 2>&5
3591 ac_status=$?
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }
3594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3595 (eval $ac_compiler -V </dev/null >&5) 2>&5
3596 ac_status=$?
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }
3600 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3601 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3602 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 else
3605 cat >conftest.$ac_ext <<_ACEOF
3606 /* confdefs.h. */
3607 _ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3613 main ()
3615 #ifndef __GNUC__
3616 choke me
3617 #endif
3620 return 0;
3622 _ACEOF
3623 rm -f conftest.$ac_objext
3624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3625 (eval $ac_compile) 2>conftest.er1
3626 ac_status=$?
3627 grep -v '^ *+' conftest.er1 >conftest.err
3628 rm -f conftest.er1
3629 cat conftest.err >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); } &&
3632 { ac_try='test -z "$ac_cxx_werror_flag"
3633 || test ! -s conftest.err'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 (eval $ac_try) 2>&5
3636 ac_status=$?
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; } &&
3639 { ac_try='test -s conftest.$ac_objext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 (eval $ac_try) 2>&5
3642 ac_status=$?
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3645 ac_compiler_gnu=yes
3646 else
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_compiler_gnu=no
3652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3653 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3656 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3657 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3658 GXX=`test $ac_compiler_gnu = yes && echo yes`
3659 ac_test_CXXFLAGS=${CXXFLAGS+set}
3660 ac_save_CXXFLAGS=$CXXFLAGS
3661 CXXFLAGS="-g"
3662 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3663 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3664 if test "${ac_cv_prog_cxx_g+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 else
3667 cat >conftest.$ac_ext <<_ACEOF
3668 /* confdefs.h. */
3669 _ACEOF
3670 cat confdefs.h >>conftest.$ac_ext
3671 cat >>conftest.$ac_ext <<_ACEOF
3672 /* end confdefs.h. */
3675 main ()
3679 return 0;
3681 _ACEOF
3682 rm -f conftest.$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684 (eval $ac_compile) 2>conftest.er1
3685 ac_status=$?
3686 grep -v '^ *+' conftest.er1 >conftest.err
3687 rm -f conftest.er1
3688 cat conftest.err >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try='test -z "$ac_cxx_werror_flag"
3692 || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3694 (eval $ac_try) 2>&5
3695 ac_status=$?
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try='test -s conftest.$ac_objext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700 (eval $ac_try) 2>&5
3701 ac_status=$?
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_prog_cxx_g=yes
3705 else
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.$ac_ext >&5
3709 ac_cv_prog_cxx_g=no
3711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3713 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3714 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3715 if test "$ac_test_CXXFLAGS" = set; then
3716 CXXFLAGS=$ac_save_CXXFLAGS
3717 elif test $ac_cv_prog_cxx_g = yes; then
3718 if test "$GXX" = yes; then
3719 CXXFLAGS="-g -O2"
3720 else
3721 CXXFLAGS="-g"
3723 else
3724 if test "$GXX" = yes; then
3725 CXXFLAGS="-O2"
3726 else
3727 CXXFLAGS=
3730 for ac_declaration in \
3731 '' \
3732 'extern "C" void std::exit (int) throw (); using std::exit;' \
3733 'extern "C" void std::exit (int); using std::exit;' \
3734 'extern "C" void exit (int) throw ();' \
3735 'extern "C" void exit (int);' \
3736 'void exit (int);'
3738 cat >conftest.$ac_ext <<_ACEOF
3739 /* confdefs.h. */
3740 _ACEOF
3741 cat confdefs.h >>conftest.$ac_ext
3742 cat >>conftest.$ac_ext <<_ACEOF
3743 /* end confdefs.h. */
3744 $ac_declaration
3745 #include <stdlib.h>
3747 main ()
3749 exit (42);
3751 return 0;
3753 _ACEOF
3754 rm -f conftest.$ac_objext
3755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3756 (eval $ac_compile) 2>conftest.er1
3757 ac_status=$?
3758 grep -v '^ *+' conftest.er1 >conftest.err
3759 rm -f conftest.er1
3760 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } &&
3763 { ac_try='test -z "$ac_cxx_werror_flag"
3764 || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5
3767 ac_status=$?
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; } &&
3770 { ac_try='test -s conftest.$ac_objext'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 (eval $ac_try) 2>&5
3773 ac_status=$?
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; }; then
3777 else
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 continue
3783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3784 cat >conftest.$ac_ext <<_ACEOF
3785 /* confdefs.h. */
3786 _ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 $ac_declaration
3792 main ()
3794 exit (42);
3796 return 0;
3798 _ACEOF
3799 rm -f conftest.$ac_objext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801 (eval $ac_compile) 2>conftest.er1
3802 ac_status=$?
3803 grep -v '^ *+' conftest.er1 >conftest.err
3804 rm -f conftest.er1
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try='test -z "$ac_cxx_werror_flag"
3809 || test ! -s conftest.err'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 (eval $ac_try) 2>&5
3812 ac_status=$?
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; } &&
3815 { ac_try='test -s conftest.$ac_objext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 (eval $ac_try) 2>&5
3818 ac_status=$?
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3821 break
3822 else
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3828 done
3829 rm -f conftest*
3830 if test -n "$ac_declaration"; then
3831 echo '#ifdef __cplusplus' >>confdefs.h
3832 echo $ac_declaration >>confdefs.h
3833 echo '#endif' >>confdefs.h
3836 ac_ext=c
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3842 CXXFLAGS="$save_CXXFLAGS"
3847 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3848 # available). Uncomment the next line to force a particular method.
3849 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3851 LN_S=$as_ln_s
3852 if test "$LN_S" = "ln -s"; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3855 else
3856 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3857 echo "${ECHO_T}no, using $LN_S" >&6
3860 #LN_S='cp -p'
3862 if test -n "$ac_tool_prefix"; then
3863 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3864 set dummy ${ac_tool_prefix}as; ac_word=$2
3865 echo "$as_me:$LINENO: checking for $ac_word" >&5
3866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3867 if test "${ac_cv_prog_AS+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 else
3870 if test -n "$AS"; then
3871 ac_cv_prog_AS="$AS" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3876 IFS=$as_save_IFS
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_prog_AS="${ac_tool_prefix}as"
3881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 break 2
3884 done
3885 done
3889 AS=$ac_cv_prog_AS
3890 if test -n "$AS"; then
3891 echo "$as_me:$LINENO: result: $AS" >&5
3892 echo "${ECHO_T}$AS" >&6
3893 else
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3899 if test -z "$ac_cv_prog_AS"; then
3900 ac_ct_AS=$AS
3901 # Extract the first word of "as", so it can be a program name with args.
3902 set dummy as; 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_ac_ct_AS+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908 if test -n "$ac_ct_AS"; then
3909 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # 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_ac_ct_AS="as"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3922 done
3923 done
3927 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3928 if test -n "$ac_ct_AS"; then
3929 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3930 echo "${ECHO_T}$ac_ct_AS" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3936 AS=$ac_ct_AS
3937 else
3938 AS="$ac_cv_prog_AS"
3941 if test -n "$ac_tool_prefix"; then
3942 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3943 set dummy ${ac_tool_prefix}ar; ac_word=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_prog_AR+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949 if test -n "$AR"; then
3950 ac_cv_prog_AR="$AR" # Let the user override the test.
3951 else
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH
3955 IFS=$as_save_IFS
3956 test -z "$as_dir" && as_dir=.
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_AR="${ac_tool_prefix}ar"
3960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 break 2
3963 done
3964 done
3968 AR=$ac_cv_prog_AR
3969 if test -n "$AR"; then
3970 echo "$as_me:$LINENO: result: $AR" >&5
3971 echo "${ECHO_T}$AR" >&6
3972 else
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3978 if test -z "$ac_cv_prog_AR"; then
3979 ac_ct_AR=$AR
3980 # Extract the first word of "ar", so it can be a program name with args.
3981 set dummy ar; 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_ac_ct_AR+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 if test -n "$ac_ct_AR"; then
3988 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_ac_ct_AR="ar"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4006 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4007 if test -n "$ac_ct_AR"; then
4008 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4009 echo "${ECHO_T}$ac_ct_AR" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4015 AR=$ac_ct_AR
4016 else
4017 AR="$ac_cv_prog_AR"
4020 if test -n "$ac_tool_prefix"; then
4021 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4022 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4023 echo "$as_me:$LINENO: checking for $ac_word" >&5
4024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4025 if test "${ac_cv_prog_RANLIB+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 else
4028 if test -n "$RANLIB"; then
4029 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 break 2
4042 done
4043 done
4047 RANLIB=$ac_cv_prog_RANLIB
4048 if test -n "$RANLIB"; then
4049 echo "$as_me:$LINENO: result: $RANLIB" >&5
4050 echo "${ECHO_T}$RANLIB" >&6
4051 else
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4057 if test -z "$ac_cv_prog_RANLIB"; then
4058 ac_ct_RANLIB=$RANLIB
4059 # Extract the first word of "ranlib", so it can be a program name with args.
4060 set dummy ranlib; ac_word=$2
4061 echo "$as_me:$LINENO: checking for $ac_word" >&5
4062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4063 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 else
4066 if test -n "$ac_ct_RANLIB"; then
4067 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4068 else
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4072 IFS=$as_save_IFS
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_prog_ac_ct_RANLIB="ranlib"
4077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 break 2
4080 done
4081 done
4083 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4087 if test -n "$ac_ct_RANLIB"; then
4088 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4089 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4090 else
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4095 RANLIB=$ac_ct_RANLIB
4096 else
4097 RANLIB="$ac_cv_prog_RANLIB"
4101 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4102 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4103 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4104 if test "${enable_maintainer_mode+set}" = set; then
4105 enableval="$enable_maintainer_mode"
4106 USE_MAINTAINER_MODE=$enableval
4107 else
4108 USE_MAINTAINER_MODE=no
4110 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4111 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4114 if test $USE_MAINTAINER_MODE = yes; then
4115 MAINTAINER_MODE_TRUE=
4116 MAINTAINER_MODE_FALSE='#'
4117 else
4118 MAINTAINER_MODE_TRUE='#'
4119 MAINTAINER_MODE_FALSE=
4122 MAINT=$MAINTAINER_MODE_TRUE
4126 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4127 # which are themselves conditionally expanded.
4128 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4129 ## other macros from doing the same. This should be automated.) -pme
4130 need_libmath=no
4132 # Check for uClibc since Linux platforms use different configuration
4133 # directories depending on the C library in use.
4134 cat >conftest.$ac_ext <<_ACEOF
4135 /* confdefs.h. */
4136 _ACEOF
4137 cat confdefs.h >>conftest.$ac_ext
4138 cat >>conftest.$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4141 #include <stdio.h>
4142 #if __UCLIBC__
4143 _using_uclibc
4144 #endif
4146 _ACEOF
4147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4148 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4149 uclibc=yes
4150 else
4151 uclibc=no
4153 rm -f conftest*
4156 # Find platform-specific directories containing configuration info.
4157 # Also possibly modify flags used elsewhere, as needed by the platform.
4159 . $glibcxx_srcdir/configure.host
4160 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4161 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4162 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4163 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4167 if test "x${with_newlib}" != "xyes"; then
4168 enable_dlopen=yes
4175 macro_version='2.1a'
4176 macro_revision='1.2435'
4189 ltmain="$ac_aux_dir/ltmain.sh"
4191 # Set options
4194 enable_win32_dll=no
4197 # Check whether --enable-shared or --disable-shared was given.
4198 if test "${enable_shared+set}" = set; then
4199 enableval="$enable_shared"
4200 p=${PACKAGE-default}
4201 case $enableval in
4202 yes) enable_shared=yes ;;
4203 no) enable_shared=no ;;
4205 enable_shared=no
4206 # Look at the argument we got. We use all the common list separators.
4207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4208 for pkg in $enableval; do
4209 IFS="$lt_save_ifs"
4210 if test "X$pkg" = "X$p"; then
4211 enable_shared=yes
4213 done
4214 IFS="$lt_save_ifs"
4216 esac
4217 else
4218 enable_shared=yes
4228 # Check whether --enable-static or --disable-static was given.
4229 if test "${enable_static+set}" = set; then
4230 enableval="$enable_static"
4231 p=${PACKAGE-default}
4232 case $enableval in
4233 yes) enable_static=yes ;;
4234 no) enable_static=no ;;
4236 enable_static=no
4237 # Look at the argument we got. We use all the common list separators.
4238 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4239 for pkg in $enableval; do
4240 IFS="$lt_save_ifs"
4241 if test "X$pkg" = "X$p"; then
4242 enable_static=yes
4244 done
4245 IFS="$lt_save_ifs"
4247 esac
4248 else
4249 enable_static=yes
4260 # Check whether --with-pic or --without-pic was given.
4261 if test "${with_pic+set}" = set; then
4262 withval="$with_pic"
4263 pic_mode="$withval"
4264 else
4265 pic_mode=default
4268 test -z "$pic_mode" && pic_mode=default
4276 # Check whether --enable-fast-install or --disable-fast-install was given.
4277 if test "${enable_fast_install+set}" = set; then
4278 enableval="$enable_fast_install"
4279 p=${PACKAGE-default}
4280 case $enableval in
4281 yes) enable_fast_install=yes ;;
4282 no) enable_fast_install=no ;;
4284 enable_fast_install=no
4285 # Look at the argument we got. We use all the common list separators.
4286 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4287 for pkg in $enableval; do
4288 IFS="$lt_save_ifs"
4289 if test "X$pkg" = "X$p"; then
4290 enable_fast_install=yes
4292 done
4293 IFS="$lt_save_ifs"
4295 esac
4296 else
4297 enable_fast_install=yes
4307 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4308 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4309 if test "${lt_cv_path_SED+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 else
4312 # Loop through the user's path and test for sed and gsed.
4313 # Then use that list of sed's as ones to test for truncation.
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH
4317 IFS=$as_save_IFS
4318 test -z "$as_dir" && as_dir=.
4319 for lt_ac_prog in sed gsed; do
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4322 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4324 done
4325 done
4326 done
4327 IFS=$as_save_IFS
4328 lt_ac_max=0
4329 lt_ac_count=0
4330 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4331 # along with /bin/sed that truncates output.
4332 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4333 test ! -f $lt_ac_sed && continue
4334 cat /dev/null > conftest.in
4335 lt_ac_count=0
4336 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4337 # Check for GNU sed and select it if it is found.
4338 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4339 lt_cv_path_SED=$lt_ac_sed
4340 break
4342 while true; do
4343 cat conftest.in conftest.in >conftest.tmp
4344 mv conftest.tmp conftest.in
4345 cp conftest.in conftest.nl
4346 echo >>conftest.nl
4347 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4348 cmp -s conftest.out conftest.nl || break
4349 # 10000 chars as input seems more than enough
4350 test $lt_ac_count -gt 10 && break
4351 lt_ac_count=`expr $lt_ac_count + 1`
4352 if test $lt_ac_count -gt $lt_ac_max; then
4353 lt_ac_max=$lt_ac_count
4354 lt_cv_path_SED=$lt_ac_sed
4356 done
4357 done
4361 SED=$lt_cv_path_SED
4363 echo "$as_me:$LINENO: result: $SED" >&5
4364 echo "${ECHO_T}$SED" >&6
4366 test -z "$SED" && SED=sed
4367 Xsed="$SED -e 1s/^X//"
4379 echo "$as_me:$LINENO: checking for fgrep" >&5
4380 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4381 if test "${ac_cv_prog_fgrep+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 else
4384 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4385 then ac_cv_prog_fgrep='grep -F'
4386 else ac_cv_prog_fgrep='fgrep'
4389 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4390 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4391 FGREP=$ac_cv_prog_fgrep
4394 test -z "$GREP" && GREP=grep
4414 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4415 if test "${with_gnu_ld+set}" = set; then
4416 withval="$with_gnu_ld"
4417 test "$withval" = no || with_gnu_ld=yes
4418 else
4419 with_gnu_ld=no
4421 ac_prog=ld
4422 if test "$GCC" = yes; then
4423 # Check if gcc -print-prog-name=ld gives a path.
4424 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4425 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4426 case $host in
4427 *-*-mingw*)
4428 # gcc leaves a trailing carriage return which upsets mingw
4429 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4431 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4432 esac
4433 case $ac_prog in
4434 # Accept absolute paths.
4435 [\\/]* | ?:[\\/]*)
4436 re_direlt='/[^/][^/]*/\.\./'
4437 # Canonicalize the pathname of ld
4438 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4439 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4440 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4441 done
4442 test -z "$LD" && LD="$ac_prog"
4445 # If it fails, then pretend we aren't using GCC.
4446 ac_prog=ld
4449 # If it is relative, then search for the first ld in PATH.
4450 with_gnu_ld=unknown
4452 esac
4453 elif test "$with_gnu_ld" = yes; then
4454 echo "$as_me:$LINENO: checking for GNU ld" >&5
4455 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4456 else
4457 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4458 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4460 if test "${lt_cv_path_LD+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 else
4463 if test -z "$LD"; then
4464 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4465 for ac_dir in $PATH; do
4466 IFS="$lt_save_ifs"
4467 test -z "$ac_dir" && ac_dir=.
4468 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4469 lt_cv_path_LD="$ac_dir/$ac_prog"
4470 # Check to see if the program is GNU ld. I'd rather use --version,
4471 # but apparently some variants of GNU ld only accept -v.
4472 # Break only if it was the GNU/non-GNU ld that we prefer.
4473 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4474 *GNU* | *'with BFD'*)
4475 test "$with_gnu_ld" != no && break
4478 test "$with_gnu_ld" != yes && break
4480 esac
4482 done
4483 IFS="$lt_save_ifs"
4484 else
4485 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4489 LD="$lt_cv_path_LD"
4490 if test -n "$LD"; then
4491 echo "$as_me:$LINENO: result: $LD" >&5
4492 echo "${ECHO_T}$LD" >&6
4493 else
4494 echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4497 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4498 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4499 { (exit 1); exit 1; }; }
4500 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4501 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4502 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 else
4505 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4506 case `$LD -v 2>&1 </dev/null` in
4507 *GNU* | *'with BFD'*)
4508 lt_cv_prog_gnu_ld=yes
4511 lt_cv_prog_gnu_ld=no
4513 esac
4515 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4516 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4517 with_gnu_ld=$lt_cv_prog_gnu_ld
4528 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4529 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4530 if test "${lt_cv_path_NM+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 else
4533 if test -n "$NM"; then
4534 # Let the user override the test.
4535 lt_cv_path_NM="$NM"
4536 else
4537 lt_nm_to_check="${ac_tool_prefix}nm"
4538 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4539 lt_nm_to_check="$lt_nm_to_check nm"
4541 for lt_tmp_nm in $lt_nm_to_check; do
4542 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4543 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4544 IFS="$lt_save_ifs"
4545 test -z "$ac_dir" && ac_dir=.
4546 tmp_nm="$ac_dir/$lt_tmp_nm"
4547 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4548 # Check to see if the nm accepts a BSD-compat flag.
4549 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4550 # nm: unknown option "B" ignored
4551 # Tru64's nm complains that /dev/null is an invalid object file
4552 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4553 */dev/null* | *'Invalid file or object type'*)
4554 lt_cv_path_NM="$tmp_nm -B"
4555 break
4558 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4559 */dev/null*)
4560 lt_cv_path_NM="$tmp_nm -p"
4561 break
4564 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4565 continue # so that we can try to find one that supports BSD flags
4567 esac
4569 esac
4571 done
4572 IFS="$lt_save_ifs"
4573 done
4574 : ${lt_cv_path_NM=no}
4577 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4578 echo "${ECHO_T}$lt_cv_path_NM" >&6
4579 if test "$lt_cv_path_NM" != "no"; then
4580 NM="$lt_cv_path_NM"
4581 else
4582 # Didn't find any BSD compatible name lister, look for dumpbin.
4583 if test -n "$ac_tool_prefix"; then
4584 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4588 echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4590 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593 if test -n "$DUMPBIN"; then
4594 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4612 DUMPBIN=$ac_cv_prog_DUMPBIN
4613 if test -n "$DUMPBIN"; then
4614 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4615 echo "${ECHO_T}$DUMPBIN" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4621 test -n "$DUMPBIN" && break
4622 done
4624 if test -z "$DUMPBIN"; then
4625 ac_ct_DUMPBIN=$DUMPBIN
4626 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4628 # Extract the first word of "$ac_prog", so it can be a program name with args.
4629 set dummy $ac_prog; ac_word=$2
4630 echo "$as_me:$LINENO: checking for $ac_word" >&5
4631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4632 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 else
4635 if test -n "$ac_ct_DUMPBIN"; then
4636 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4637 else
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH
4641 IFS=$as_save_IFS
4642 test -z "$as_dir" && as_dir=.
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 break 2
4649 done
4650 done
4654 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4655 if test -n "$ac_ct_DUMPBIN"; then
4656 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4657 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4658 else
4659 echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6
4663 test -n "$ac_ct_DUMPBIN" && break
4664 done
4665 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4667 DUMPBIN=$ac_ct_DUMPBIN
4671 if test "$DUMPBIN" != ":"; then
4672 NM="$DUMPBIN"
4675 test -z "$NM" && NM=nm
4682 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4683 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4684 if test "${lt_cv_nm_interface+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 else
4687 lt_cv_nm_interface="BSD nm"
4688 echo "int some_variable = 0;" > conftest.$ac_ext
4689 (eval echo "\"\$as_me:4689: $ac_compile\"" >&5)
4690 (eval "$ac_compile" 2>conftest.err)
4691 cat conftest.err >&5
4692 (eval echo "\"\$as_me:4692: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4693 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4694 cat conftest.err >&5
4695 (eval echo "\"\$as_me:4695: output\"" >&5)
4696 cat conftest.out >&5
4697 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4698 lt_cv_nm_interface="MS dumpbin"
4700 rm -f conftest*
4702 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4703 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4705 # find the maximum length of command line arguments
4706 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4707 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4708 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 else
4712 teststring="ABCD"
4714 case $build_os in
4715 msdosdjgpp*)
4716 # On DJGPP, this test can blow up pretty badly due to problems in libc
4717 # (any single argument exceeding 2000 bytes causes a buffer overrun
4718 # during glob expansion). Even if it were fixed, the result of this
4719 # check would be larger than it should be.
4720 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4723 gnu*)
4724 # Under GNU Hurd, this test is not required because there is
4725 # no limit to the length of command line arguments.
4726 # Libtool will interpret -1 as no limit whatsoever
4727 lt_cv_sys_max_cmd_len=-1;
4730 cygwin* | mingw*)
4731 # On Win9x/ME, this test blows up -- it succeeds, but takes
4732 # about 5 minutes as the teststring grows exponentially.
4733 # Worse, since 9x/ME are not pre-emptively multitasking,
4734 # you end up with a "frozen" computer, even though with patience
4735 # the test eventually succeeds (with a max line length of 256k).
4736 # Instead, let's just punt: use the minimum linelength reported by
4737 # all of the supported platforms: 8192 (on NT/2K/XP).
4738 lt_cv_sys_max_cmd_len=8192;
4741 amigaos*)
4742 # On AmigaOS with pdksh, this test takes hours, literally.
4743 # So we just punt and use a minimum line length of 8192.
4744 lt_cv_sys_max_cmd_len=8192;
4747 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4748 # This has been around since 386BSD, at least. Likely further.
4749 if test -x /sbin/sysctl; then
4750 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4751 elif test -x /usr/sbin/sysctl; then
4752 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4753 else
4754 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4756 # And add a safety zone
4757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4761 interix*)
4762 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4763 lt_cv_sys_max_cmd_len=196608
4766 osf*)
4767 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4768 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4769 # nice to cause kernel panics so lets avoid the loop below.
4770 # First set a reasonable default.
4771 lt_cv_sys_max_cmd_len=16384
4773 if test -x /sbin/sysconfig; then
4774 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4775 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4776 esac
4779 sco3.2v5*)
4780 lt_cv_sys_max_cmd_len=102400
4782 sysv5* | sco5v6* | sysv4.2uw2*)
4783 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4784 if test -n "$kargmax"; then
4785 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4786 else
4787 lt_cv_sys_max_cmd_len=32768
4791 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4792 if test -n $lt_cv_sys_max_cmd_len; then
4793 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4795 else
4796 # Make teststring a little bigger before we do anything with it.
4797 # a 1K string should be a reasonable start.
4798 for i in 1 2 3 4 5 6 7 8 ; do
4799 teststring=$teststring$teststring
4800 done
4801 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4802 # If test is not a shell built-in, we'll probably end up computing a
4803 # maximum length that is only half of the actual maximum length, but
4804 # we can't tell.
4805 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4806 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4807 test $i != 17 # 1/2 MB should be enough
4809 i=`expr $i + 1`
4810 teststring=$teststring$teststring
4811 done
4812 # Only check the string length outside the loop.
4813 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4814 teststring=
4815 # Add a significant safety factor because C++ compilers can tack on
4816 # massive amounts of additional arguments before passing them to the
4817 # linker. It appears as though 1/2 is a usable value.
4818 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4821 esac
4825 if test -n $lt_cv_sys_max_cmd_len ; then
4826 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4827 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4828 else
4829 echo "$as_me:$LINENO: result: none" >&5
4830 echo "${ECHO_T}none" >&6
4832 max_cmd_len=$lt_cv_sys_max_cmd_len
4840 : ${CP="cp -f"}
4841 : ${MV="mv -f"}
4842 : ${RM="rm -f"}
4844 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4845 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4846 # Try some XSI features
4847 xsi_shell=no
4848 ( _lt_dummy="a/b/c"
4849 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4850 = c,a/b,, ) >/dev/null 2>&1 \
4851 && xsi_shell=yes
4852 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4853 echo "${ECHO_T}$xsi_shell" >&6
4856 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4857 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4858 lt_shell_append=no
4859 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4860 >/dev/null 2>&1 \
4861 && lt_shell_append=yes
4862 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4863 echo "${ECHO_T}$lt_shell_append" >&6
4866 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4867 lt_unset=unset
4868 else
4869 lt_unset=false
4876 # test EBCDIC or ASCII
4877 case `echo X|tr X '\101'` in
4878 A) # ASCII based system
4879 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4880 lt_SP2NL='tr \040 \012'
4881 lt_NL2SP='tr \015\012 \040\040'
4883 *) # EBCDIC based system
4884 lt_SP2NL='tr \100 \n'
4885 lt_NL2SP='tr \r\n \100\100'
4887 esac
4897 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4898 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4899 if test "${lt_cv_ld_reload_flag+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 else
4902 lt_cv_ld_reload_flag='-r'
4904 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4905 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4906 reload_flag=$lt_cv_ld_reload_flag
4907 case $reload_flag in
4908 "" | " "*) ;;
4909 *) reload_flag=" $reload_flag" ;;
4910 esac
4911 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4912 case $host_os in
4913 darwin*)
4914 if test "$GCC" = yes; then
4915 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4916 else
4917 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4920 esac
4931 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4932 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4933 if test "${lt_cv_deplibs_check_method+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936 lt_cv_file_magic_cmd='$MAGIC_CMD'
4937 lt_cv_file_magic_test_file=
4938 lt_cv_deplibs_check_method='unknown'
4939 # Need to set the preceding variable on all platforms that support
4940 # interlibrary dependencies.
4941 # 'none' -- dependencies not supported.
4942 # `unknown' -- same as none, but documents that we really don't know.
4943 # 'pass_all' -- all dependencies passed with no checks.
4944 # 'test_compile' -- check by making test program.
4945 # 'file_magic [[regex]]' -- check by looking for files in library path
4946 # which responds to the $file_magic_cmd with a given extended regex.
4947 # If you have `file' or equivalent on your system and you're not sure
4948 # whether `pass_all' will *always* work, you probably want this one.
4950 case $host_os in
4951 aix[4-9]*)
4952 lt_cv_deplibs_check_method=pass_all
4955 beos*)
4956 lt_cv_deplibs_check_method=pass_all
4959 bsdi[45]*)
4960 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4961 lt_cv_file_magic_cmd='/usr/bin/file -L'
4962 lt_cv_file_magic_test_file=/shlib/libc.so
4965 cygwin*)
4966 # func_win32_libid is a shell function defined in ltmain.sh
4967 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4968 lt_cv_file_magic_cmd='func_win32_libid'
4971 mingw* | pw32*)
4972 # Base MSYS/MinGW do not provide the 'file' command needed by
4973 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4974 # unless we find 'file', for example because we are cross-compiling.
4975 if ( file / ) >/dev/null 2>&1; then
4976 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4977 lt_cv_file_magic_cmd='func_win32_libid'
4978 else
4979 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4980 lt_cv_file_magic_cmd='$OBJDUMP -f'
4984 darwin* | rhapsody*)
4985 lt_cv_deplibs_check_method=pass_all
4988 freebsd* | dragonfly*)
4989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4990 case $host_cpu in
4991 i*86 )
4992 # Not sure whether the presence of OpenBSD here was a mistake.
4993 # Let's accept both of them until this is cleared up.
4994 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4995 lt_cv_file_magic_cmd=/usr/bin/file
4996 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4998 esac
4999 else
5000 lt_cv_deplibs_check_method=pass_all
5004 gnu*)
5005 lt_cv_deplibs_check_method=pass_all
5008 hpux10.20* | hpux11*)
5009 lt_cv_file_magic_cmd=/usr/bin/file
5010 case $host_cpu in
5011 ia64*)
5012 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5013 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5015 hppa*64*)
5016 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]'
5017 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5020 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5021 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5023 esac
5026 interix[3-9]*)
5027 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5031 irix5* | irix6* | nonstopux*)
5032 case $LD in
5033 *-32|*"-32 ") libmagic=32-bit;;
5034 *-n32|*"-n32 ") libmagic=N32;;
5035 *-64|*"-64 ") libmagic=64-bit;;
5036 *) libmagic=never-match;;
5037 esac
5038 lt_cv_deplibs_check_method=pass_all
5041 # This must be Linux ELF.
5042 linux* | k*bsd*-gnu)
5043 lt_cv_deplibs_check_method=pass_all
5046 netbsd*)
5047 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5049 else
5050 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5054 newos6*)
5055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5056 lt_cv_file_magic_cmd=/usr/bin/file
5057 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5060 *nto* | *qnx*)
5061 lt_cv_deplibs_check_method=pass_all
5064 openbsd*)
5065 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5067 else
5068 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5072 osf3* | osf4* | osf5*)
5073 lt_cv_deplibs_check_method=pass_all
5076 rdos*)
5077 lt_cv_deplibs_check_method=pass_all
5080 solaris*)
5081 lt_cv_deplibs_check_method=pass_all
5084 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5085 lt_cv_deplibs_check_method=pass_all
5088 sysv4 | sysv4.3*)
5089 case $host_vendor in
5090 motorola)
5091 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]'
5092 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5094 ncr)
5095 lt_cv_deplibs_check_method=pass_all
5097 sequent)
5098 lt_cv_file_magic_cmd='/bin/file'
5099 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5101 sni)
5102 lt_cv_file_magic_cmd='/bin/file'
5103 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5104 lt_cv_file_magic_test_file=/lib/libc.so
5106 siemens)
5107 lt_cv_deplibs_check_method=pass_all
5110 lt_cv_deplibs_check_method=pass_all
5112 esac
5115 tpf*)
5116 lt_cv_deplibs_check_method=pass_all
5118 esac
5121 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5122 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5123 file_magic_cmd=$lt_cv_file_magic_cmd
5124 deplibs_check_method=$lt_cv_deplibs_check_method
5125 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5138 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ar; ac_word=$2
5141 echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5143 if test "${ac_cv_prog_AR+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146 if test -n "$AR"; then
5147 ac_cv_prog_AR="$AR" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_AR="${ac_tool_prefix}ar"
5157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5165 AR=$ac_cv_prog_AR
5166 if test -n "$AR"; then
5167 echo "$as_me:$LINENO: result: $AR" >&5
5168 echo "${ECHO_T}$AR" >&6
5169 else
5170 echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5175 if test -z "$ac_cv_prog_AR"; then
5176 ac_ct_AR=$AR
5177 # Extract the first word of "ar", so it can be a program name with args.
5178 set dummy ar; ac_word=$2
5179 echo "$as_me:$LINENO: checking for $ac_word" >&5
5180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 else
5184 if test -n "$ac_ct_AR"; then
5185 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5186 else
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5190 IFS=$as_save_IFS
5191 test -z "$as_dir" && as_dir=.
5192 for ac_exec_ext in '' $ac_executable_extensions; do
5193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_prog_ac_ct_AR="ar"
5195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 break 2
5198 done
5199 done
5201 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5205 if test -n "$ac_ct_AR"; then
5206 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5207 echo "${ECHO_T}$ac_ct_AR" >&6
5208 else
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5213 AR=$ac_ct_AR
5214 else
5215 AR="$ac_cv_prog_AR"
5218 test -z "$AR" && AR=ar
5219 test -z "$AR_FLAGS" && AR_FLAGS=cru
5231 if test -n "$ac_tool_prefix"; then
5232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}strip; ac_word=$2
5234 echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236 if test "${ac_cv_prog_STRIP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 else
5239 if test -n "$STRIP"; then
5240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 break 2
5253 done
5254 done
5258 STRIP=$ac_cv_prog_STRIP
5259 if test -n "$STRIP"; then
5260 echo "$as_me:$LINENO: result: $STRIP" >&5
5261 echo "${ECHO_T}$STRIP" >&6
5262 else
5263 echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5268 if test -z "$ac_cv_prog_STRIP"; then
5269 ac_ct_STRIP=$STRIP
5270 # Extract the first word of "strip", so it can be a program name with args.
5271 set dummy strip; ac_word=$2
5272 echo "$as_me:$LINENO: checking for $ac_word" >&5
5273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 else
5277 if test -n "$ac_ct_STRIP"; then
5278 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_ac_ct_STRIP="strip"
5288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 break 2
5291 done
5292 done
5294 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5298 if test -n "$ac_ct_STRIP"; then
5299 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5300 echo "${ECHO_T}$ac_ct_STRIP" >&6
5301 else
5302 echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6
5306 STRIP=$ac_ct_STRIP
5307 else
5308 STRIP="$ac_cv_prog_STRIP"
5311 test -z "$STRIP" && STRIP=:
5318 if test -n "$ac_tool_prefix"; then
5319 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5320 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_RANLIB+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 else
5326 if test -n "$RANLIB"; then
5327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5345 RANLIB=$ac_cv_prog_RANLIB
5346 if test -n "$RANLIB"; then
5347 echo "$as_me:$LINENO: result: $RANLIB" >&5
5348 echo "${ECHO_T}$RANLIB" >&6
5349 else
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5355 if test -z "$ac_cv_prog_RANLIB"; then
5356 ac_ct_RANLIB=$RANLIB
5357 # Extract the first word of "ranlib", so it can be a program name with args.
5358 set dummy ranlib; ac_word=$2
5359 echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5361 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364 if test -n "$ac_ct_RANLIB"; then
5365 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_ac_ct_RANLIB="ranlib"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5381 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5384 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5385 if test -n "$ac_ct_RANLIB"; then
5386 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5387 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5388 else
5389 echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6
5393 RANLIB=$ac_ct_RANLIB
5394 else
5395 RANLIB="$ac_cv_prog_RANLIB"
5398 test -z "$RANLIB" && RANLIB=:
5405 # Determine commands to create old-style static archives.
5406 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5407 old_postinstall_cmds='chmod 644 $oldlib'
5408 old_postuninstall_cmds=
5410 if test -n "$RANLIB"; then
5411 case $host_os in
5412 openbsd*)
5413 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5416 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5418 esac
5419 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5455 # If no C compiler was specified, use CC.
5456 LTCC=${LTCC-"$CC"}
5458 # If no C compiler flags were specified, use CFLAGS.
5459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5461 # Allow CC to be a program name with arguments.
5462 compiler=$CC
5465 # Check for command to grab the raw symbol name followed by C symbol from nm.
5466 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5467 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5468 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5472 # These are sane defaults that work on at least a few old systems.
5473 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5475 # Character class describing NM global symbol codes.
5476 symcode='[BCDEGRST]'
5478 # Regexp to match symbols that can be accessed directly from C.
5479 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5481 # Define system-specific variables.
5482 case $host_os in
5483 aix*)
5484 symcode='[BCDT]'
5486 cygwin* | mingw* | pw32*)
5487 symcode='[ABCDGISTW]'
5489 hpux*)
5490 if test "$host_cpu" = ia64; then
5491 symcode='[ABCDEGRST]'
5494 irix* | nonstopux*)
5495 symcode='[BCDEGRST]'
5497 osf*)
5498 symcode='[BCDEGQRST]'
5500 solaris*)
5501 symcode='[BDRT]'
5503 sco3.2v5*)
5504 symcode='[DT]'
5506 sysv4.2uw2*)
5507 symcode='[DT]'
5509 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5510 symcode='[ABDT]'
5512 sysv4)
5513 symcode='[DFNSTU]'
5515 esac
5517 # If we're using GNU nm, then use its standard symbol codes.
5518 case `$NM -V 2>&1` in
5519 *GNU* | *'with BFD'*)
5520 symcode='[ABCDGIRSTW]' ;;
5521 esac
5523 # Transform an extracted symbol line into a proper C declaration.
5524 # Some systems (esp. on ia64) link data and code symbols differently,
5525 # so use this general approach.
5526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5528 # Transform an extracted symbol line into symbol name and symbol address
5529 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5531 # Handle CRLF in mingw tool chain
5532 opt_cr=
5533 case $build_os in
5534 mingw*)
5535 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5537 esac
5539 # Try without a prefix underscore, then with it.
5540 for ac_symprfx in "" "_"; do
5542 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5543 symxfrm="\\1 $ac_symprfx\\2 \\2"
5545 # Write the raw and C identifiers.
5546 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5547 # Fake it for dumpbin and say T for any non-static function
5548 # and D for any global variable.
5549 # Also find C++ and __fastcall symbols from MSVC++,
5550 # which start with @ or ?.
5551 lt_cv_sys_global_symbol_pipe="$AWK '"\
5552 " {last_section=section; section=\$ 3};"\
5553 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5554 " \$ 0!~/External *\|/{next};"\
5555 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5556 " {if(hide[section]) next};"\
5557 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5558 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5559 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5560 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5561 " ' prfx=^$ac_symprfx"
5562 else
5563 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5566 # Check to see that the pipe works correctly.
5567 pipe_works=no
5569 rm -f conftest*
5570 cat > conftest.$ac_ext <<_LT_EOF
5571 #ifdef __cplusplus
5572 extern "C" {
5573 #endif
5574 char nm_test_var;
5575 void nm_test_func(void);
5576 void nm_test_func(void){}
5577 #ifdef __cplusplus
5579 #endif
5580 int main(){nm_test_var='a';nm_test_func();return(0);}
5581 _LT_EOF
5583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584 (eval $ac_compile) 2>&5
5585 ac_status=$?
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; then
5588 # Now try to grab the symbols.
5589 nlist=conftest.nm
5590 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5591 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } && test -s "$nlist"; then
5595 # Try sorting and uniquifying the output.
5596 if sort "$nlist" | uniq > "$nlist"T; then
5597 mv -f "$nlist"T "$nlist"
5598 else
5599 rm -f "$nlist"T
5602 # Make sure that we snagged all the symbols we need.
5603 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5604 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5605 cat <<_LT_EOF > conftest.$ac_ext
5606 #ifdef __cplusplus
5607 extern "C" {
5608 #endif
5610 _LT_EOF
5611 # Now generate the symbol file.
5612 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5614 cat <<_LT_EOF >> conftest.$ac_ext
5616 /* The mapping between symbol names and symbols. */
5617 const struct {
5618 const char *name;
5619 void *address;
5621 lt__PROGRAM__LTX_preloaded_symbols[] =
5623 { "@PROGRAM@", (void *) 0 },
5624 _LT_EOF
5625 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5626 cat <<\_LT_EOF >> conftest.$ac_ext
5627 {0, (void *) 0}
5630 /* This works around a problem in FreeBSD linker */
5631 #ifdef FREEBSD_WORKAROUND
5632 static const void *lt_preloaded_setup() {
5633 return lt__PROGRAM__LTX_preloaded_symbols;
5635 #endif
5637 #ifdef __cplusplus
5639 #endif
5640 _LT_EOF
5641 # Now try linking the two files.
5642 mv conftest.$ac_objext conftstm.$ac_objext
5643 lt_save_LIBS="$LIBS"
5644 lt_save_CFLAGS="$CFLAGS"
5645 LIBS="conftstm.$ac_objext"
5646 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648 (eval $ac_link) 2>&5
5649 ac_status=$?
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5652 pipe_works=yes
5654 LIBS="$lt_save_LIBS"
5655 CFLAGS="$lt_save_CFLAGS"
5656 else
5657 echo "cannot find nm_test_func in $nlist" >&5
5659 else
5660 echo "cannot find nm_test_var in $nlist" >&5
5662 else
5663 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5665 else
5666 echo "$progname: failed program was:" >&5
5667 cat conftest.$ac_ext >&5
5669 rm -f conftest* conftst*
5671 # Do not use the global_symbol_pipe unless it works.
5672 if test "$pipe_works" = yes; then
5673 break
5674 else
5675 lt_cv_sys_global_symbol_pipe=
5677 done
5681 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5682 lt_cv_sys_global_symbol_to_cdecl=
5684 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5685 echo "$as_me:$LINENO: result: failed" >&5
5686 echo "${ECHO_T}failed" >&6
5687 else
5688 echo "$as_me:$LINENO: result: ok" >&5
5689 echo "${ECHO_T}ok" >&6
5708 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5709 if test "${enable_libtool_lock+set}" = set; then
5710 enableval="$enable_libtool_lock"
5713 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5715 # Some flags need to be propagated to the compiler or linker for good
5716 # libtool support.
5717 case $host in
5718 ia64-*-hpux*)
5719 # Find out which ABI we are using.
5720 echo 'int i;' > conftest.$ac_ext
5721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5722 (eval $ac_compile) 2>&5
5723 ac_status=$?
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; then
5726 case `/usr/bin/file conftest.$ac_objext` in
5727 *ELF-32*)
5728 HPUX_IA64_MODE="32"
5730 *ELF-64*)
5731 HPUX_IA64_MODE="64"
5733 esac
5735 rm -rf conftest*
5737 *-*-irix6*)
5738 # Find out which ABI we are using.
5739 echo '#line 5739 "configure"' > conftest.$ac_ext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>&5
5742 ac_status=$?
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; then
5745 if test "$lt_cv_prog_gnu_ld" = yes; then
5746 case `/usr/bin/file conftest.$ac_objext` in
5747 *32-bit*)
5748 LD="${LD-ld} -melf32bsmip"
5750 *N32*)
5751 LD="${LD-ld} -melf32bmipn32"
5753 *64-bit*)
5754 LD="${LD-ld} -melf64bmip"
5756 esac
5757 else
5758 case `/usr/bin/file conftest.$ac_objext` in
5759 *32-bit*)
5760 LD="${LD-ld} -32"
5762 *N32*)
5763 LD="${LD-ld} -n32"
5765 *64-bit*)
5766 LD="${LD-ld} -64"
5768 esac
5771 rm -rf conftest*
5774 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5775 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5776 # Find out which ABI we are using.
5777 echo 'int i;' > conftest.$ac_ext
5778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779 (eval $ac_compile) 2>&5
5780 ac_status=$?
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; then
5783 case `/usr/bin/file conftest.o` in
5784 *32-bit*)
5785 case $host in
5786 x86_64-*kfreebsd*-gnu)
5787 LD="${LD-ld} -m elf_i386_fbsd"
5789 x86_64-*linux*)
5790 LD="${LD-ld} -m elf_i386"
5792 ppc64-*linux*|powerpc64-*linux*)
5793 LD="${LD-ld} -m elf32ppclinux"
5795 s390x-*linux*)
5796 LD="${LD-ld} -m elf_s390"
5798 sparc64-*linux*)
5799 LD="${LD-ld} -m elf32_sparc"
5801 esac
5803 *64-bit*)
5804 case $host in
5805 x86_64-*kfreebsd*-gnu)
5806 LD="${LD-ld} -m elf_x86_64_fbsd"
5808 x86_64-*linux*)
5809 LD="${LD-ld} -m elf_x86_64"
5811 ppc*-*linux*|powerpc*-*linux*)
5812 LD="${LD-ld} -m elf64ppc"
5814 s390*-*linux*|s390*-*tpf*)
5815 LD="${LD-ld} -m elf64_s390"
5817 sparc*-*linux*)
5818 LD="${LD-ld} -m elf64_sparc"
5820 esac
5822 esac
5824 rm -rf conftest*
5827 *-*-sco3.2v5*)
5828 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5829 SAVE_CFLAGS="$CFLAGS"
5830 CFLAGS="$CFLAGS -belf"
5831 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5832 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5833 if test "${lt_cv_cc_needs_belf+set}" = set; then
5834 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 else
5836 ac_ext=c
5837 ac_cpp='$CPP $CPPFLAGS'
5838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5842 if test x$gcc_no_link = xyes; then
5843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5845 { (exit 1); exit 1; }; }
5847 cat >conftest.$ac_ext <<_ACEOF
5848 /* confdefs.h. */
5849 _ACEOF
5850 cat confdefs.h >>conftest.$ac_ext
5851 cat >>conftest.$ac_ext <<_ACEOF
5852 /* end confdefs.h. */
5855 main ()
5859 return 0;
5861 _ACEOF
5862 rm -f conftest.$ac_objext conftest$ac_exeext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5864 (eval $ac_link) 2>conftest.er1
5865 ac_status=$?
5866 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1
5868 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } &&
5871 { ac_try='test -z "$ac_c_werror_flag"
5872 || test ! -s conftest.err'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 (eval $ac_try) 2>&5
5875 ac_status=$?
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; } &&
5878 { ac_try='test -s conftest$ac_exeext'
5879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 (eval $ac_try) 2>&5
5881 ac_status=$?
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; }; then
5884 lt_cv_cc_needs_belf=yes
5885 else
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5889 lt_cv_cc_needs_belf=no
5891 rm -f conftest.err conftest.$ac_objext \
5892 conftest$ac_exeext conftest.$ac_ext
5893 ac_ext=c
5894 ac_cpp='$CPP $CPPFLAGS'
5895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5900 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5901 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5902 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5903 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5904 CFLAGS="$SAVE_CFLAGS"
5907 sparc*-*solaris*)
5908 # Find out which ABI we are using.
5909 echo 'int i;' > conftest.$ac_ext
5910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5911 (eval $ac_compile) 2>&5
5912 ac_status=$?
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }; then
5915 case `/usr/bin/file conftest.o` in
5916 *64-bit*)
5917 case $lt_cv_prog_gnu_ld in
5918 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5919 *) LD="${LD-ld} -64" ;;
5920 esac
5922 esac
5924 rm -rf conftest*
5926 esac
5928 need_locks="$enable_libtool_lock"
5930 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5931 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5932 if test "${ac_cv_header_stdc+set}" = set; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 else
5935 cat >conftest.$ac_ext <<_ACEOF
5936 /* confdefs.h. */
5937 _ACEOF
5938 cat confdefs.h >>conftest.$ac_ext
5939 cat >>conftest.$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5941 #include <stdlib.h>
5942 #include <stdarg.h>
5943 #include <string.h>
5944 #include <float.h>
5947 main ()
5951 return 0;
5953 _ACEOF
5954 rm -f conftest.$ac_objext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956 (eval $ac_compile) 2>conftest.er1
5957 ac_status=$?
5958 grep -v '^ *+' conftest.er1 >conftest.err
5959 rm -f conftest.er1
5960 cat conftest.err >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } &&
5963 { ac_try='test -z "$ac_c_werror_flag"
5964 || test ! -s conftest.err'
5965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5966 (eval $ac_try) 2>&5
5967 ac_status=$?
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); }; } &&
5970 { ac_try='test -s conftest.$ac_objext'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972 (eval $ac_try) 2>&5
5973 ac_status=$?
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; }; then
5976 ac_cv_header_stdc=yes
5977 else
5978 echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5981 ac_cv_header_stdc=no
5983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5985 if test $ac_cv_header_stdc = yes; then
5986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5987 cat >conftest.$ac_ext <<_ACEOF
5988 /* confdefs.h. */
5989 _ACEOF
5990 cat confdefs.h >>conftest.$ac_ext
5991 cat >>conftest.$ac_ext <<_ACEOF
5992 /* end confdefs.h. */
5993 #include <string.h>
5995 _ACEOF
5996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5997 $EGREP "memchr" >/dev/null 2>&1; then
5999 else
6000 ac_cv_header_stdc=no
6002 rm -f conftest*
6006 if test $ac_cv_header_stdc = yes; then
6007 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6008 cat >conftest.$ac_ext <<_ACEOF
6009 /* confdefs.h. */
6010 _ACEOF
6011 cat confdefs.h >>conftest.$ac_ext
6012 cat >>conftest.$ac_ext <<_ACEOF
6013 /* end confdefs.h. */
6014 #include <stdlib.h>
6016 _ACEOF
6017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6018 $EGREP "free" >/dev/null 2>&1; then
6020 else
6021 ac_cv_header_stdc=no
6023 rm -f conftest*
6027 if test $ac_cv_header_stdc = yes; then
6028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6029 if test "$cross_compiling" = yes; then
6031 else
6032 cat >conftest.$ac_ext <<_ACEOF
6033 /* confdefs.h. */
6034 _ACEOF
6035 cat confdefs.h >>conftest.$ac_ext
6036 cat >>conftest.$ac_ext <<_ACEOF
6037 /* end confdefs.h. */
6038 #include <ctype.h>
6039 #if ((' ' & 0x0FF) == 0x020)
6040 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6041 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6042 #else
6043 # define ISLOWER(c) \
6044 (('a' <= (c) && (c) <= 'i') \
6045 || ('j' <= (c) && (c) <= 'r') \
6046 || ('s' <= (c) && (c) <= 'z'))
6047 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6048 #endif
6050 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6052 main ()
6054 int i;
6055 for (i = 0; i < 256; i++)
6056 if (XOR (islower (i), ISLOWER (i))
6057 || toupper (i) != TOUPPER (i))
6058 exit(2);
6059 exit (0);
6061 _ACEOF
6062 rm -f conftest$ac_exeext
6063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064 (eval $ac_link) 2>&5
6065 ac_status=$?
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 (eval $ac_try) 2>&5
6070 ac_status=$?
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; }; then
6074 else
6075 echo "$as_me: program exited with status $ac_status" >&5
6076 echo "$as_me: failed program was:" >&5
6077 sed 's/^/| /' conftest.$ac_ext >&5
6079 ( exit $ac_status )
6080 ac_cv_header_stdc=no
6082 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6087 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6088 if test $ac_cv_header_stdc = yes; then
6090 cat >>confdefs.h <<\_ACEOF
6091 #define STDC_HEADERS 1
6092 _ACEOF
6096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6106 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6107 inttypes.h stdint.h unistd.h
6109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6110 echo "$as_me:$LINENO: checking for $ac_header" >&5
6111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 else
6115 cat >conftest.$ac_ext <<_ACEOF
6116 /* confdefs.h. */
6117 _ACEOF
6118 cat confdefs.h >>conftest.$ac_ext
6119 cat >>conftest.$ac_ext <<_ACEOF
6120 /* end confdefs.h. */
6121 $ac_includes_default
6123 #include <$ac_header>
6124 _ACEOF
6125 rm -f conftest.$ac_objext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6127 (eval $ac_compile) 2>conftest.er1
6128 ac_status=$?
6129 grep -v '^ *+' conftest.er1 >conftest.err
6130 rm -f conftest.er1
6131 cat conftest.err >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try='test -z "$ac_c_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 (eval $ac_try) 2>&5
6138 ac_status=$?
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try='test -s conftest.$ac_objext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 (eval $ac_try) 2>&5
6144 ac_status=$?
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 eval "$as_ac_Header=yes"
6148 else
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6152 eval "$as_ac_Header=no"
6154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6159 cat >>confdefs.h <<_ACEOF
6160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6161 _ACEOF
6165 done
6169 for ac_header in dlfcn.h
6171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6172 echo "$as_me:$LINENO: checking for $ac_header" >&5
6173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177 cat >conftest.$ac_ext <<_ACEOF
6178 /* confdefs.h. */
6179 _ACEOF
6180 cat confdefs.h >>conftest.$ac_ext
6181 cat >>conftest.$ac_ext <<_ACEOF
6182 /* end confdefs.h. */
6183 $ac_includes_default
6185 #include <$ac_header>
6186 _ACEOF
6187 rm -f conftest.$ac_objext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6189 (eval $ac_compile) 2>conftest.er1
6190 ac_status=$?
6191 grep -v '^ *+' conftest.er1 >conftest.err
6192 rm -f conftest.er1
6193 cat conftest.err >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try='test -z "$ac_c_werror_flag"
6197 || test ! -s conftest.err'
6198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199 (eval $ac_try) 2>&5
6200 ac_status=$?
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); }; } &&
6203 { ac_try='test -s conftest.$ac_objext'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 (eval $ac_try) 2>&5
6206 ac_status=$?
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 eval "$as_ac_Header=yes"
6210 else
6211 echo "$as_me: failed program was:" >&5
6212 sed 's/^/| /' conftest.$ac_ext >&5
6214 eval "$as_ac_Header=no"
6216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6221 cat >>confdefs.h <<_ACEOF
6222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6223 _ACEOF
6227 done
6231 ac_ext=cc
6232 ac_cpp='$CXXCPP $CPPFLAGS'
6233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6236 if test -n "$ac_tool_prefix"; then
6237 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6241 echo "$as_me:$LINENO: checking for $ac_word" >&5
6242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6243 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 else
6246 if test -n "$CXX"; then
6247 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6248 else
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH
6252 IFS=$as_save_IFS
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6256 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 break 2
6260 done
6261 done
6265 CXX=$glibcxx_cv_prog_CXX
6266 if test -n "$CXX"; then
6267 echo "$as_me:$LINENO: result: $CXX" >&5
6268 echo "${ECHO_T}$CXX" >&6
6269 else
6270 echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6
6274 test -n "$CXX" && break
6275 done
6277 if test -z "$CXX"; then
6278 ac_ct_CXX=$CXX
6279 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6281 # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy $ac_prog; ac_word=$2
6283 echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288 if test -n "$ac_ct_CXX"; then
6289 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6294 IFS=$as_save_IFS
6295 test -z "$as_dir" && as_dir=.
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6298 ac_cv_prog_ac_ct_CXX="$ac_prog"
6299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 break 2
6302 done
6303 done
6307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6308 if test -n "$ac_ct_CXX"; then
6309 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6310 echo "${ECHO_T}$ac_ct_CXX" >&6
6311 else
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6316 test -n "$ac_ct_CXX" && break
6317 done
6318 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6320 CXX=$ac_ct_CXX
6324 # Provide some information about the compiler.
6325 echo "$as_me:$LINENO:" \
6326 "checking for C++ compiler version" >&5
6327 ac_compiler=`set X $ac_compile; echo $2`
6328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6329 (eval $ac_compiler --version </dev/null >&5) 2>&5
6330 ac_status=$?
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); }
6333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6334 (eval $ac_compiler -v </dev/null >&5) 2>&5
6335 ac_status=$?
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }
6338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6339 (eval $ac_compiler -V </dev/null >&5) 2>&5
6340 ac_status=$?
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); }
6344 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6345 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6346 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 else
6349 cat >conftest.$ac_ext <<_ACEOF
6350 /* confdefs.h. */
6351 _ACEOF
6352 cat confdefs.h >>conftest.$ac_ext
6353 cat >>conftest.$ac_ext <<_ACEOF
6354 /* end confdefs.h. */
6357 main ()
6359 #ifndef __GNUC__
6360 choke me
6361 #endif
6364 return 0;
6366 _ACEOF
6367 rm -f conftest.$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369 (eval $ac_compile) 2>conftest.er1
6370 ac_status=$?
6371 grep -v '^ *+' conftest.er1 >conftest.err
6372 rm -f conftest.er1
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try='test -z "$ac_cxx_werror_flag"
6377 || test ! -s conftest.err'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 (eval $ac_try) 2>&5
6380 ac_status=$?
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; } &&
6383 { ac_try='test -s conftest.$ac_objext'
6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385 (eval $ac_try) 2>&5
6386 ac_status=$?
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; }; then
6389 ac_compiler_gnu=yes
6390 else
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6394 ac_compiler_gnu=no
6396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6397 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6400 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6401 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6402 GXX=`test $ac_compiler_gnu = yes && echo yes`
6403 ac_test_CXXFLAGS=${CXXFLAGS+set}
6404 ac_save_CXXFLAGS=$CXXFLAGS
6405 CXXFLAGS="-g"
6406 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6407 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6408 if test "${ac_cv_prog_cxx_g+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6410 else
6411 cat >conftest.$ac_ext <<_ACEOF
6412 /* confdefs.h. */
6413 _ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6419 main ()
6423 return 0;
6425 _ACEOF
6426 rm -f conftest.$ac_objext
6427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6428 (eval $ac_compile) 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } &&
6435 { ac_try='test -z "$ac_cxx_werror_flag"
6436 || test ! -s conftest.err'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 (eval $ac_try) 2>&5
6439 ac_status=$?
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; } &&
6442 { ac_try='test -s conftest.$ac_objext'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 (eval $ac_try) 2>&5
6445 ac_status=$?
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; }; then
6448 ac_cv_prog_cxx_g=yes
6449 else
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.$ac_ext >&5
6453 ac_cv_prog_cxx_g=no
6455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6457 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6458 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6459 if test "$ac_test_CXXFLAGS" = set; then
6460 CXXFLAGS=$ac_save_CXXFLAGS
6461 elif test $ac_cv_prog_cxx_g = yes; then
6462 if test "$GXX" = yes; then
6463 CXXFLAGS="-g -O2"
6464 else
6465 CXXFLAGS="-g"
6467 else
6468 if test "$GXX" = yes; then
6469 CXXFLAGS="-O2"
6470 else
6471 CXXFLAGS=
6474 for ac_declaration in \
6475 '' \
6476 'extern "C" void std::exit (int) throw (); using std::exit;' \
6477 'extern "C" void std::exit (int); using std::exit;' \
6478 'extern "C" void exit (int) throw ();' \
6479 'extern "C" void exit (int);' \
6480 'void exit (int);'
6482 cat >conftest.$ac_ext <<_ACEOF
6483 /* confdefs.h. */
6484 _ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6488 $ac_declaration
6489 #include <stdlib.h>
6491 main ()
6493 exit (42);
6495 return 0;
6497 _ACEOF
6498 rm -f conftest.$ac_objext
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500 (eval $ac_compile) 2>conftest.er1
6501 ac_status=$?
6502 grep -v '^ *+' conftest.er1 >conftest.err
6503 rm -f conftest.er1
6504 cat conftest.err >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } &&
6507 { ac_try='test -z "$ac_cxx_werror_flag"
6508 || test ! -s conftest.err'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 (eval $ac_try) 2>&5
6511 ac_status=$?
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; } &&
6514 { ac_try='test -s conftest.$ac_objext'
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 (eval $ac_try) 2>&5
6517 ac_status=$?
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; }; then
6521 else
6522 echo "$as_me: failed program was:" >&5
6523 sed 's/^/| /' conftest.$ac_ext >&5
6525 continue
6527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6528 cat >conftest.$ac_ext <<_ACEOF
6529 /* confdefs.h. */
6530 _ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 $ac_declaration
6536 main ()
6538 exit (42);
6540 return 0;
6542 _ACEOF
6543 rm -f conftest.$ac_objext
6544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6545 (eval $ac_compile) 2>conftest.er1
6546 ac_status=$?
6547 grep -v '^ *+' conftest.er1 >conftest.err
6548 rm -f conftest.er1
6549 cat conftest.err >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); } &&
6552 { ac_try='test -z "$ac_cxx_werror_flag"
6553 || test ! -s conftest.err'
6554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 (eval $ac_try) 2>&5
6556 ac_status=$?
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; } &&
6559 { ac_try='test -s conftest.$ac_objext'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 (eval $ac_try) 2>&5
6562 ac_status=$?
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; }; then
6565 break
6566 else
6567 echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6572 done
6573 rm -f conftest*
6574 if test -n "$ac_declaration"; then
6575 echo '#ifdef __cplusplus' >>confdefs.h
6576 echo $ac_declaration >>confdefs.h
6577 echo '#endif' >>confdefs.h
6580 ac_ext=c
6581 ac_cpp='$CPP $CPPFLAGS'
6582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6586 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6587 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6588 (test "X$CXX" != "Xg++"))) ; then
6589 ac_ext=cc
6590 ac_cpp='$CXXCPP $CPPFLAGS'
6591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6594 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6595 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6596 if test -z "$CXXCPP"; then
6597 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6599 else
6600 # Double quotes because CXXCPP needs to be expanded
6601 for CXXCPP in "$CXX -E" "/lib/cpp"
6603 ac_preproc_ok=false
6604 for ac_cxx_preproc_warn_flag in '' yes
6606 # Use a header file that comes with gcc, so configuring glibc
6607 # with a fresh cross-compiler works.
6608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6609 # <limits.h> exists even on freestanding compilers.
6610 # On the NeXT, cc -E runs the code through the compiler's parser,
6611 # not just through cpp. "Syntax error" is here to catch this case.
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 #ifdef __STDC__
6619 # include <limits.h>
6620 #else
6621 # include <assert.h>
6622 #endif
6623 Syntax error
6624 _ACEOF
6625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6627 ac_status=$?
6628 grep -v '^ *+' conftest.er1 >conftest.err
6629 rm -f conftest.er1
6630 cat conftest.err >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } >/dev/null; then
6633 if test -s conftest.err; then
6634 ac_cpp_err=$ac_cxx_preproc_warn_flag
6635 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6636 else
6637 ac_cpp_err=
6639 else
6640 ac_cpp_err=yes
6642 if test -z "$ac_cpp_err"; then
6644 else
6645 echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.$ac_ext >&5
6648 # Broken: fails on valid input.
6649 continue
6651 rm -f conftest.err conftest.$ac_ext
6653 # OK, works on sane cases. Now check whether non-existent headers
6654 # can be detected and how.
6655 cat >conftest.$ac_ext <<_ACEOF
6656 /* confdefs.h. */
6657 _ACEOF
6658 cat confdefs.h >>conftest.$ac_ext
6659 cat >>conftest.$ac_ext <<_ACEOF
6660 /* end confdefs.h. */
6661 #include <ac_nonexistent.h>
6662 _ACEOF
6663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6665 ac_status=$?
6666 grep -v '^ *+' conftest.er1 >conftest.err
6667 rm -f conftest.er1
6668 cat conftest.err >&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } >/dev/null; then
6671 if test -s conftest.err; then
6672 ac_cpp_err=$ac_cxx_preproc_warn_flag
6673 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6674 else
6675 ac_cpp_err=
6677 else
6678 ac_cpp_err=yes
6680 if test -z "$ac_cpp_err"; then
6681 # Broken: success on invalid input.
6682 continue
6683 else
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6687 # Passes both tests.
6688 ac_preproc_ok=:
6689 break
6691 rm -f conftest.err conftest.$ac_ext
6693 done
6694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6695 rm -f conftest.err conftest.$ac_ext
6696 if $ac_preproc_ok; then
6697 break
6700 done
6701 ac_cv_prog_CXXCPP=$CXXCPP
6704 CXXCPP=$ac_cv_prog_CXXCPP
6705 else
6706 ac_cv_prog_CXXCPP=$CXXCPP
6708 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6709 echo "${ECHO_T}$CXXCPP" >&6
6710 ac_preproc_ok=false
6711 for ac_cxx_preproc_warn_flag in '' yes
6713 # Use a header file that comes with gcc, so configuring glibc
6714 # with a fresh cross-compiler works.
6715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6716 # <limits.h> exists even on freestanding compilers.
6717 # On the NeXT, cc -E runs the code through the compiler's parser,
6718 # not just through cpp. "Syntax error" is here to catch this case.
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 #ifdef __STDC__
6726 # include <limits.h>
6727 #else
6728 # include <assert.h>
6729 #endif
6730 Syntax error
6731 _ACEOF
6732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6734 ac_status=$?
6735 grep -v '^ *+' conftest.er1 >conftest.err
6736 rm -f conftest.er1
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } >/dev/null; then
6740 if test -s conftest.err; then
6741 ac_cpp_err=$ac_cxx_preproc_warn_flag
6742 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6743 else
6744 ac_cpp_err=
6746 else
6747 ac_cpp_err=yes
6749 if test -z "$ac_cpp_err"; then
6751 else
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 # Broken: fails on valid input.
6756 continue
6758 rm -f conftest.err conftest.$ac_ext
6760 # OK, works on sane cases. Now check whether non-existent headers
6761 # can be detected and how.
6762 cat >conftest.$ac_ext <<_ACEOF
6763 /* confdefs.h. */
6764 _ACEOF
6765 cat confdefs.h >>conftest.$ac_ext
6766 cat >>conftest.$ac_ext <<_ACEOF
6767 /* end confdefs.h. */
6768 #include <ac_nonexistent.h>
6769 _ACEOF
6770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6772 ac_status=$?
6773 grep -v '^ *+' conftest.er1 >conftest.err
6774 rm -f conftest.er1
6775 cat conftest.err >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } >/dev/null; then
6778 if test -s conftest.err; then
6779 ac_cpp_err=$ac_cxx_preproc_warn_flag
6780 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6781 else
6782 ac_cpp_err=
6784 else
6785 ac_cpp_err=yes
6787 if test -z "$ac_cpp_err"; then
6788 # Broken: success on invalid input.
6789 continue
6790 else
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 # Passes both tests.
6795 ac_preproc_ok=:
6796 break
6798 rm -f conftest.err conftest.$ac_ext
6800 done
6801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6802 rm -f conftest.err conftest.$ac_ext
6803 if $ac_preproc_ok; then
6805 else
6806 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6807 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6808 _lt_caught_CXX_error=yes; }
6811 ac_ext=c
6812 ac_cpp='$CPP $CPPFLAGS'
6813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6817 else
6818 _lt_caught_CXX_error=yes
6825 # This can be used to rebuild libtool when needed
6826 LIBTOOL_DEPS="$ltmain"
6828 # Always use our own libtool.
6829 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6855 test -z "$LN_S" && LN_S="ln -s"
6870 if test -n "${ZSH_VERSION+set}" ; then
6871 setopt NO_GLOB_SUBST
6874 echo "$as_me:$LINENO: checking for objdir" >&5
6875 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6876 if test "${lt_cv_objdir+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 else
6879 rm -f .libs 2>/dev/null
6880 mkdir .libs 2>/dev/null
6881 if test -d .libs; then
6882 lt_cv_objdir=.libs
6883 else
6884 # MS-DOS does not allow filenames that begin with a dot.
6885 lt_cv_objdir=_libs
6887 rmdir .libs 2>/dev/null
6889 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6890 echo "${ECHO_T}$lt_cv_objdir" >&6
6891 objdir=$lt_cv_objdir
6897 cat >>confdefs.h <<_ACEOF
6898 #define LT_OBJDIR "$lt_cv_objdir/"
6899 _ACEOF
6917 case $host_os in
6918 aix3*)
6919 # AIX sometimes has problems with the GCC collect2 program. For some
6920 # reason, if we set the COLLECT_NAMES environment variable, the problems
6921 # vanish in a puff of smoke.
6922 if test "X${COLLECT_NAMES+set}" != Xset; then
6923 COLLECT_NAMES=
6924 export COLLECT_NAMES
6927 esac
6929 # Sed substitution that helps us do robust quoting. It backslashifies
6930 # metacharacters that are still active within double-quoted strings.
6931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6933 # Same as above, but do not quote variable references.
6934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6936 # Sed substitution to delay expansion of an escaped shell variable in a
6937 # double_quote_subst'ed string.
6938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6940 # Sed substitution to delay expansion of an escaped single quote.
6941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6943 # Sed substitution to avoid accidental globbing in evaled expressions
6944 no_glob_subst='s/\*/\\\*/g'
6946 # Global variables:
6947 ofile=libtool
6948 can_build_shared=yes
6950 # All known linkers require a `.a' archive for static linking (except MSVC,
6951 # which needs '.lib').
6952 libext=a
6954 with_gnu_ld="$lt_cv_prog_gnu_ld"
6956 old_CC="$CC"
6957 old_CFLAGS="$CFLAGS"
6959 # Set sane defaults for various variables
6960 test -z "$CC" && CC=cc
6961 test -z "$LTCC" && LTCC=$CC
6962 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6963 test -z "$LD" && LD=ld
6964 test -z "$ac_objext" && ac_objext=o
6966 for cc_temp in $compiler""; do
6967 case $cc_temp in
6968 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6969 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6970 \-*) ;;
6971 *) break;;
6972 esac
6973 done
6974 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6977 # Only perform the check for file, if the check method requires it
6978 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6979 case $deplibs_check_method in
6980 file_magic*)
6981 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6982 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6983 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6984 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 else
6987 case $MAGIC_CMD in
6988 [\\/*] | ?:[\\/]*)
6989 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6992 lt_save_MAGIC_CMD="$MAGIC_CMD"
6993 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6994 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6995 for ac_dir in $ac_dummy; do
6996 IFS="$lt_save_ifs"
6997 test -z "$ac_dir" && ac_dir=.
6998 if test -f $ac_dir/${ac_tool_prefix}file; then
6999 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7000 if test -n "$file_magic_test_file"; then
7001 case $deplibs_check_method in
7002 "file_magic "*)
7003 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7005 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7006 $EGREP "$file_magic_regex" > /dev/null; then
7008 else
7009 cat <<_LT_EOF 1>&2
7011 *** Warning: the command libtool uses to detect shared libraries,
7012 *** $file_magic_cmd, produces output that libtool cannot recognize.
7013 *** The result is that libtool may fail to recognize shared libraries
7014 *** as such. This will affect the creation of libtool libraries that
7015 *** depend on shared libraries, but programs linked with such libtool
7016 *** libraries will work regardless of this problem. Nevertheless, you
7017 *** may want to report the problem to your system manager and/or to
7018 *** bug-libtool@gnu.org
7020 _LT_EOF
7021 fi ;;
7022 esac
7024 break
7026 done
7027 IFS="$lt_save_ifs"
7028 MAGIC_CMD="$lt_save_MAGIC_CMD"
7030 esac
7033 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7034 if test -n "$MAGIC_CMD"; then
7035 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7036 echo "${ECHO_T}$MAGIC_CMD" >&6
7037 else
7038 echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7046 if test -z "$lt_cv_path_MAGIC_CMD"; then
7047 if test -n "$ac_tool_prefix"; then
7048 echo "$as_me:$LINENO: checking for file" >&5
7049 echo $ECHO_N "checking for file... $ECHO_C" >&6
7050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 else
7053 case $MAGIC_CMD in
7054 [\\/*] | ?:[\\/]*)
7055 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7058 lt_save_MAGIC_CMD="$MAGIC_CMD"
7059 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7060 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7061 for ac_dir in $ac_dummy; do
7062 IFS="$lt_save_ifs"
7063 test -z "$ac_dir" && ac_dir=.
7064 if test -f $ac_dir/file; then
7065 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7066 if test -n "$file_magic_test_file"; then
7067 case $deplibs_check_method in
7068 "file_magic "*)
7069 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7071 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7072 $EGREP "$file_magic_regex" > /dev/null; then
7074 else
7075 cat <<_LT_EOF 1>&2
7077 *** Warning: the command libtool uses to detect shared libraries,
7078 *** $file_magic_cmd, produces output that libtool cannot recognize.
7079 *** The result is that libtool may fail to recognize shared libraries
7080 *** as such. This will affect the creation of libtool libraries that
7081 *** depend on shared libraries, but programs linked with such libtool
7082 *** libraries will work regardless of this problem. Nevertheless, you
7083 *** may want to report the problem to your system manager and/or to
7084 *** bug-libtool@gnu.org
7086 _LT_EOF
7087 fi ;;
7088 esac
7090 break
7092 done
7093 IFS="$lt_save_ifs"
7094 MAGIC_CMD="$lt_save_MAGIC_CMD"
7096 esac
7099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7100 if test -n "$MAGIC_CMD"; then
7101 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7102 echo "${ECHO_T}$MAGIC_CMD" >&6
7103 else
7104 echo "$as_me:$LINENO: result: no" >&5
7105 echo "${ECHO_T}no" >&6
7109 else
7110 MAGIC_CMD=:
7116 esac
7118 # Use C for the default configuration in the libtool script
7120 lt_save_CC="$CC"
7121 ac_ext=c
7122 ac_cpp='$CPP $CPPFLAGS'
7123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128 # Source file extension for C test sources.
7129 ac_ext=c
7131 # Object file extension for compiled C test sources.
7132 objext=o
7133 objext=$objext
7135 # Code to be used in simple compile tests
7136 lt_simple_compile_test_code="int some_variable = 0;"
7138 # Code to be used in simple link tests
7139 lt_simple_link_test_code='int main(){return(0);}'
7147 # If no C compiler was specified, use CC.
7148 LTCC=${LTCC-"$CC"}
7150 # If no C compiler flags were specified, use CFLAGS.
7151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7153 # Allow CC to be a program name with arguments.
7154 compiler=$CC
7156 # Save the default compiler, since it gets overwritten when the other
7157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7158 compiler_DEFAULT=$CC
7160 # save warnings/boilerplate of simple test code
7161 ac_outfile=conftest.$ac_objext
7162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7164 _lt_compiler_boilerplate=`cat conftest.err`
7165 $RM conftest*
7167 ac_outfile=conftest.$ac_objext
7168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7170 _lt_linker_boilerplate=`cat conftest.err`
7171 $RM conftest*
7174 ## CAVEAT EMPTOR:
7175 ## There is no encapsulation within the following macros, do not change
7176 ## the running order or otherwise move them around unless you know exactly
7177 ## what you are doing...
7178 if test -n "$compiler"; then
7180 lt_prog_compiler_no_builtin_flag=
7182 if test "$GCC" = yes; then
7183 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7185 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7186 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7187 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7188 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 else
7190 lt_cv_prog_compiler_rtti_exceptions=no
7191 ac_outfile=conftest.$ac_objext
7192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7193 lt_compiler_flag="-fno-rtti -fno-exceptions"
7194 # Insert the option either (1) after the last *FLAGS variable, or
7195 # (2) before a word containing "conftest.", or (3) at the end.
7196 # Note that $ac_compile itself does not contain backslashes and begins
7197 # with a dollar sign (not a hyphen), so the echo should work correctly.
7198 # The option is referenced via a variable to avoid confusing sed.
7199 lt_compile=`echo "$ac_compile" | $SED \
7200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7202 -e 's:$: $lt_compiler_flag:'`
7203 (eval echo "\"\$as_me:7203: $lt_compile\"" >&5)
7204 (eval "$lt_compile" 2>conftest.err)
7205 ac_status=$?
7206 cat conftest.err >&5
7207 echo "$as_me:7207: \$? = $ac_status" >&5
7208 if (exit $ac_status) && test -s "$ac_outfile"; then
7209 # The compiler can only warn and ignore the option if not recognized
7210 # So say no if there are warnings other than the usual output.
7211 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7212 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7213 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7214 lt_cv_prog_compiler_rtti_exceptions=yes
7217 $RM conftest*
7220 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7221 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7223 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7224 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7225 else
7236 lt_prog_compiler_wl=
7237 lt_prog_compiler_pic=
7238 lt_prog_compiler_static=
7240 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7241 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7243 if test "$GCC" = yes; then
7244 lt_prog_compiler_wl='-Wl,'
7245 lt_prog_compiler_static='-static'
7247 case $host_os in
7248 aix*)
7249 # All AIX code is PIC.
7250 if test "$host_cpu" = ia64; then
7251 # AIX 5 now supports IA64 processor
7252 lt_prog_compiler_static='-Bstatic'
7256 amigaos*)
7257 if test "$host_cpu" = m68k; then
7258 # FIXME: we need at least 68020 code to build shared libraries, but
7259 # adding the `-m68020' flag to GCC prevents building anything better,
7260 # like `-m68040'.
7261 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7265 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7266 # PIC is the default for these OSes.
7269 mingw* | cygwin* | pw32* | os2*)
7270 # This hack is so that the source file can tell whether it is being
7271 # built for inclusion in a dll (and should export symbols for example).
7272 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7273 # (--disable-auto-import) libraries
7274 lt_prog_compiler_pic='-DDLL_EXPORT'
7277 darwin* | rhapsody*)
7278 # PIC is the default on this platform
7279 # Common symbols not allowed in MH_DYLIB files
7280 lt_prog_compiler_pic='-fno-common'
7283 hpux*)
7284 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7285 # not for PA HP-UX.
7286 case $host_cpu in
7287 hppa*64*|ia64*)
7288 # +Z the default
7291 lt_prog_compiler_pic='-fPIC'
7293 esac
7296 interix[3-9]*)
7297 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7298 # Instead, we relocate shared libraries at runtime.
7301 msdosdjgpp*)
7302 # Just because we use GCC doesn't mean we suddenly get shared libraries
7303 # on systems that don't support them.
7304 lt_prog_compiler_can_build_shared=no
7305 enable_shared=no
7308 *nto* | *qnx*)
7309 # QNX uses GNU C++, but need to define -shared option too, otherwise
7310 # it will coredump.
7311 lt_prog_compiler_pic='-fPIC -shared'
7314 sysv4*MP*)
7315 if test -d /usr/nec; then
7316 lt_prog_compiler_pic=-Kconform_pic
7321 lt_prog_compiler_pic='-fPIC'
7323 esac
7324 else
7325 # PORTME Check for flag to pass linker flags through the system compiler.
7326 case $host_os in
7327 aix*)
7328 lt_prog_compiler_wl='-Wl,'
7329 if test "$host_cpu" = ia64; then
7330 # AIX 5 now supports IA64 processor
7331 lt_prog_compiler_static='-Bstatic'
7332 else
7333 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7336 darwin*)
7337 # PIC is the default on this platform
7338 # Common symbols not allowed in MH_DYLIB files
7339 case $cc_basename in
7340 xlc*)
7341 lt_prog_compiler_pic='-qnocommon'
7342 lt_prog_compiler_wl='-Wl,'
7344 esac
7347 mingw* | cygwin* | pw32* | os2*)
7348 # This hack is so that the source file can tell whether it is being
7349 # built for inclusion in a dll (and should export symbols for example).
7350 lt_prog_compiler_pic='-DDLL_EXPORT'
7353 hpux9* | hpux10* | hpux11*)
7354 lt_prog_compiler_wl='-Wl,'
7355 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7356 # not for PA HP-UX.
7357 case $host_cpu in
7358 hppa*64*|ia64*)
7359 # +Z the default
7362 lt_prog_compiler_pic='+Z'
7364 esac
7365 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7366 lt_prog_compiler_static='${wl}-a ${wl}archive'
7369 irix5* | irix6* | nonstopux*)
7370 lt_prog_compiler_wl='-Wl,'
7371 # PIC (with -KPIC) is the default.
7372 lt_prog_compiler_static='-non_shared'
7375 linux* | k*bsd*-gnu)
7376 case $cc_basename in
7377 icc* | ecc*)
7378 lt_prog_compiler_wl='-Wl,'
7379 lt_prog_compiler_pic='-KPIC'
7380 lt_prog_compiler_static='-static'
7382 pgcc* | pgf77* | pgf90* | pgf95*)
7383 # Portland Group compilers (*not* the Pentium gcc compiler,
7384 # which looks to be a dead project)
7385 lt_prog_compiler_wl='-Wl,'
7386 lt_prog_compiler_pic='-fpic'
7387 lt_prog_compiler_static='-Bstatic'
7389 ccc*)
7390 lt_prog_compiler_wl='-Wl,'
7391 # All Alpha code is PIC.
7392 lt_prog_compiler_static='-non_shared'
7395 case `$CC -V 2>&1 | sed 5q` in
7396 *Sun\ C*)
7397 # Sun C 5.9
7398 lt_prog_compiler_pic='-KPIC'
7399 lt_prog_compiler_static='-Bstatic'
7400 lt_prog_compiler_wl='-Wl,'
7402 *Sun\ F*)
7403 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7404 lt_prog_compiler_pic='-KPIC'
7405 lt_prog_compiler_static='-Bstatic'
7406 lt_prog_compiler_wl=''
7408 esac
7410 esac
7413 newsos6)
7414 lt_prog_compiler_pic='-KPIC'
7415 lt_prog_compiler_static='-Bstatic'
7418 *nto* | *qnx*)
7419 # QNX uses GNU C++, but need to define -shared option too, otherwise
7420 # it will coredump.
7421 lt_prog_compiler_pic='-fPIC -shared'
7424 osf3* | osf4* | osf5*)
7425 lt_prog_compiler_wl='-Wl,'
7426 # All OSF/1 code is PIC.
7427 lt_prog_compiler_static='-non_shared'
7430 rdos*)
7431 lt_prog_compiler_static='-non_shared'
7434 solaris*)
7435 lt_prog_compiler_pic='-KPIC'
7436 lt_prog_compiler_static='-Bstatic'
7437 case $cc_basename in
7438 f77* | f90* | f95*)
7439 lt_prog_compiler_wl='-Qoption ld ';;
7441 lt_prog_compiler_wl='-Wl,';;
7442 esac
7445 sunos4*)
7446 lt_prog_compiler_wl='-Qoption ld '
7447 lt_prog_compiler_pic='-PIC'
7448 lt_prog_compiler_static='-Bstatic'
7451 sysv4 | sysv4.2uw2* | sysv4.3*)
7452 lt_prog_compiler_wl='-Wl,'
7453 lt_prog_compiler_pic='-KPIC'
7454 lt_prog_compiler_static='-Bstatic'
7457 sysv4*MP*)
7458 if test -d /usr/nec ;then
7459 lt_prog_compiler_pic='-Kconform_pic'
7460 lt_prog_compiler_static='-Bstatic'
7464 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7465 lt_prog_compiler_wl='-Wl,'
7466 lt_prog_compiler_pic='-KPIC'
7467 lt_prog_compiler_static='-Bstatic'
7470 unicos*)
7471 lt_prog_compiler_wl='-Wl,'
7472 lt_prog_compiler_can_build_shared=no
7475 uts4*)
7476 lt_prog_compiler_pic='-pic'
7477 lt_prog_compiler_static='-Bstatic'
7481 lt_prog_compiler_can_build_shared=no
7483 esac
7486 case $host_os in
7487 # For platforms which do not support PIC, -DPIC is meaningless:
7488 *djgpp*)
7489 lt_prog_compiler_pic=
7492 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7494 esac
7495 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7496 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7504 # Check to make sure the PIC flag actually works.
7506 if test -n "$lt_prog_compiler_pic"; then
7507 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7508 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7509 if test "${lt_prog_compiler_pic_works+set}" = set; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 else
7512 lt_prog_compiler_pic_works=no
7513 ac_outfile=conftest.$ac_objext
7514 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7515 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7516 # Insert the option either (1) after the last *FLAGS variable, or
7517 # (2) before a word containing "conftest.", or (3) at the end.
7518 # Note that $ac_compile itself does not contain backslashes and begins
7519 # with a dollar sign (not a hyphen), so the echo should work correctly.
7520 # The option is referenced via a variable to avoid confusing sed.
7521 lt_compile=`echo "$ac_compile" | $SED \
7522 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7523 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7524 -e 's:$: $lt_compiler_flag:'`
7525 (eval echo "\"\$as_me:7525: $lt_compile\"" >&5)
7526 (eval "$lt_compile" 2>conftest.err)
7527 ac_status=$?
7528 cat conftest.err >&5
7529 echo "$as_me:7529: \$? = $ac_status" >&5
7530 if (exit $ac_status) && test -s "$ac_outfile"; then
7531 # The compiler can only warn and ignore the option if not recognized
7532 # So say no if there are warnings other than the usual output.
7533 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7534 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7535 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7536 lt_prog_compiler_pic_works=yes
7539 $RM conftest*
7542 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7543 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7545 if test x"$lt_prog_compiler_pic_works" = xyes; then
7546 case $lt_prog_compiler_pic in
7547 "" | " "*) ;;
7548 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7549 esac
7550 else
7551 lt_prog_compiler_pic=
7552 lt_prog_compiler_can_build_shared=no
7563 # Check to make sure the static flag actually works.
7565 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7566 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7567 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7568 if test "${lt_prog_compiler_static_works+set}" = set; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 else
7571 lt_prog_compiler_static_works=no
7572 save_LDFLAGS="$LDFLAGS"
7573 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7574 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7575 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7576 # The linker can only warn and ignore the option if not recognized
7577 # So say no if there are warnings
7578 if test -s conftest.err; then
7579 # Append any errors to the config.log.
7580 cat conftest.err 1>&5
7581 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7583 if diff conftest.exp conftest.er2 >/dev/null; then
7584 lt_prog_compiler_static_works=yes
7586 else
7587 lt_prog_compiler_static_works=yes
7590 $RM conftest*
7591 LDFLAGS="$save_LDFLAGS"
7594 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7595 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7597 if test x"$lt_prog_compiler_static_works" = xyes; then
7599 else
7600 lt_prog_compiler_static=
7609 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7610 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7611 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 else
7614 lt_cv_prog_compiler_c_o=no
7615 $RM -r conftest 2>/dev/null
7616 mkdir conftest
7617 cd conftest
7618 mkdir out
7619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7621 lt_compiler_flag="-o out/conftest2.$ac_objext"
7622 # Insert the option either (1) after the last *FLAGS variable, or
7623 # (2) before a word containing "conftest.", or (3) at the end.
7624 # Note that $ac_compile itself does not contain backslashes and begins
7625 # with a dollar sign (not a hyphen), so the echo should work correctly.
7626 lt_compile=`echo "$ac_compile" | $SED \
7627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7629 -e 's:$: $lt_compiler_flag:'`
7630 (eval echo "\"\$as_me:7630: $lt_compile\"" >&5)
7631 (eval "$lt_compile" 2>out/conftest.err)
7632 ac_status=$?
7633 cat out/conftest.err >&5
7634 echo "$as_me:7634: \$? = $ac_status" >&5
7635 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7636 then
7637 # The compiler can only warn and ignore the option if not recognized
7638 # So say no if there are warnings
7639 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7640 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7641 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7642 lt_cv_prog_compiler_c_o=yes
7645 chmod u+w . 2>&5
7646 $RM conftest*
7647 # SGI C++ compiler will create directory out/ii_files/ for
7648 # template instantiation
7649 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7650 $RM out/* && rmdir out
7651 cd ..
7652 $RM -r conftest
7653 $RM conftest*
7656 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7657 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7664 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7665 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7666 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7668 else
7669 lt_cv_prog_compiler_c_o=no
7670 $RM -r conftest 2>/dev/null
7671 mkdir conftest
7672 cd conftest
7673 mkdir out
7674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7676 lt_compiler_flag="-o out/conftest2.$ac_objext"
7677 # Insert the option either (1) after the last *FLAGS variable, or
7678 # (2) before a word containing "conftest.", or (3) at the end.
7679 # Note that $ac_compile itself does not contain backslashes and begins
7680 # with a dollar sign (not a hyphen), so the echo should work correctly.
7681 lt_compile=`echo "$ac_compile" | $SED \
7682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684 -e 's:$: $lt_compiler_flag:'`
7685 (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
7686 (eval "$lt_compile" 2>out/conftest.err)
7687 ac_status=$?
7688 cat out/conftest.err >&5
7689 echo "$as_me:7689: \$? = $ac_status" >&5
7690 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7691 then
7692 # The compiler can only warn and ignore the option if not recognized
7693 # So say no if there are warnings
7694 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7697 lt_cv_prog_compiler_c_o=yes
7700 chmod u+w . 2>&5
7701 $RM conftest*
7702 # SGI C++ compiler will create directory out/ii_files/ for
7703 # template instantiation
7704 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7705 $RM out/* && rmdir out
7706 cd ..
7707 $RM -r conftest
7708 $RM conftest*
7711 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7712 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7717 hard_links="nottested"
7718 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7719 # do not overwrite the value of need_locks provided by the user
7720 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7721 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7722 hard_links=yes
7723 $RM conftest*
7724 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7725 touch conftest.a
7726 ln conftest.a conftest.b 2>&5 || hard_links=no
7727 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7728 echo "$as_me:$LINENO: result: $hard_links" >&5
7729 echo "${ECHO_T}$hard_links" >&6
7730 if test "$hard_links" = no; then
7731 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7732 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7733 need_locks=warn
7735 else
7736 need_locks=no
7744 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7745 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7747 runpath_var=
7748 allow_undefined_flag=
7749 always_export_symbols=no
7750 archive_cmds=
7751 archive_expsym_cmds=
7752 compiler_needs_object=no
7753 enable_shared_with_static_runtimes=no
7754 export_dynamic_flag_spec=
7755 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7756 hardcode_automatic=no
7757 hardcode_direct=no
7758 hardcode_direct_absolute=no
7759 hardcode_libdir_flag_spec=
7760 hardcode_libdir_flag_spec_ld=
7761 hardcode_libdir_separator=
7762 hardcode_minus_L=no
7763 hardcode_shlibpath_var=unsupported
7764 inherit_rpath=no
7765 link_all_deplibs=unknown
7766 module_cmds=
7767 module_expsym_cmds=
7768 old_archive_from_new_cmds=
7769 old_archive_from_expsyms_cmds=
7770 thread_safe_flag_spec=
7771 whole_archive_flag_spec=
7772 # include_expsyms should be a list of space-separated symbols to be *always*
7773 # included in the symbol list
7774 include_expsyms=
7775 # exclude_expsyms can be an extended regexp of symbols to exclude
7776 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7777 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7778 # as well as any symbol that contains `d'.
7779 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7780 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7781 # platforms (ab)use it in PIC code, but their linkers get confused if
7782 # the symbol is explicitly referenced. Since portable code cannot
7783 # rely on this symbol name, it's probably fine to never include it in
7784 # preloaded symbol tables.
7785 extract_expsyms_cmds=
7787 case $host_os in
7788 cygwin* | mingw* | pw32*)
7789 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7790 # When not using gcc, we currently assume that we are using
7791 # Microsoft Visual C++.
7792 if test "$GCC" != yes; then
7793 with_gnu_ld=no
7796 interix*)
7797 # we just hope/assume this is gcc and not c89 (= MSVC++)
7798 with_gnu_ld=yes
7800 openbsd*)
7801 with_gnu_ld=no
7803 esac
7805 ld_shlibs=yes
7806 if test "$with_gnu_ld" = yes; then
7807 # If archive_cmds runs LD, not CC, wlarc should be empty
7808 wlarc='${wl}'
7810 # Set some defaults for GNU ld with shared library support. These
7811 # are reset later if shared libraries are not supported. Putting them
7812 # here allows them to be overridden if necessary.
7813 runpath_var=LD_RUN_PATH
7814 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7815 export_dynamic_flag_spec='${wl}--export-dynamic'
7816 # ancient GNU ld didn't support --whole-archive et. al.
7817 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7818 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7819 else
7820 whole_archive_flag_spec=
7822 supports_anon_versioning=no
7823 case `$LD -v 2>&1` in
7824 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7825 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7826 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7827 *\ 2.11.*) ;; # other 2.11 versions
7828 *) supports_anon_versioning=yes ;;
7829 esac
7831 # See if GNU ld supports shared libraries.
7832 case $host_os in
7833 aix[3-9]*)
7834 # On AIX/PPC, the GNU linker is very broken
7835 if test "$host_cpu" != ia64; then
7836 ld_shlibs=no
7837 cat <<_LT_EOF 1>&2
7839 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7840 *** to be unable to reliably create shared libraries on AIX.
7841 *** Therefore, libtool is disabling shared libraries support. If you
7842 *** really care for shared libraries, you may want to modify your PATH
7843 *** so that a non-GNU linker is found, and then restart.
7845 _LT_EOF
7849 amigaos*)
7850 if test "$host_cpu" = m68k; then
7851 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)'
7852 hardcode_libdir_flag_spec='-L$libdir'
7853 hardcode_minus_L=yes
7856 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7857 # that the semantics of dynamic libraries on AmigaOS, at least up
7858 # to version 4, is to share data among multiple programs linked
7859 # with the same dynamic library. Since this doesn't match the
7860 # behavior of shared libraries on other platforms, we can't use
7861 # them.
7862 ld_shlibs=no
7865 beos*)
7866 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7867 allow_undefined_flag=unsupported
7868 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7869 # support --undefined. This deserves some investigation. FIXME
7870 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7871 else
7872 ld_shlibs=no
7876 cygwin* | mingw* | pw32*)
7877 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7878 # as there is no search path for DLLs.
7879 hardcode_libdir_flag_spec='-L$libdir'
7880 allow_undefined_flag=unsupported
7881 always_export_symbols=no
7882 enable_shared_with_static_runtimes=yes
7883 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7885 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7886 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7887 # If the export-symbols file already is a .def file (1st line
7888 # is EXPORTS), use it as is; otherwise, prepend...
7889 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7890 cp $export_symbols $output_objdir/$soname.def;
7891 else
7892 echo EXPORTS > $output_objdir/$soname.def;
7893 cat $export_symbols >> $output_objdir/$soname.def;
7895 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7896 else
7897 ld_shlibs=no
7901 interix[3-9]*)
7902 hardcode_direct=no
7903 hardcode_shlibpath_var=no
7904 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7905 export_dynamic_flag_spec='${wl}-E'
7906 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7907 # Instead, shared libraries are loaded at an image base (0x10000000 by
7908 # default) and relocated if they conflict, which is a slow very memory
7909 # consuming and fragmenting process. To avoid this, we pick a random,
7910 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7911 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7912 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7913 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'
7916 gnu* | linux* | tpf* | k*bsd*-gnu)
7917 tmp_diet=no
7918 if test "$host_os" = linux-dietlibc; then
7919 case $cc_basename in
7920 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7921 esac
7923 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7924 && test "$tmp_diet" = no
7925 then
7926 tmp_addflag=
7927 case $cc_basename,$host_cpu in
7928 pgcc*) # Portland Group C compiler
7929 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'
7930 tmp_addflag=' $pic_flag'
7932 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7933 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'
7934 tmp_addflag=' $pic_flag -Mnomain' ;;
7935 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7936 tmp_addflag=' -i_dynamic' ;;
7937 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7938 tmp_addflag=' -i_dynamic -nofor_main' ;;
7939 ifc* | ifort*) # Intel Fortran compiler
7940 tmp_addflag=' -nofor_main' ;;
7941 esac
7942 case `$CC -V 2>&1 | sed 5q` in
7943 *Sun\ C*) # Sun C 5.9
7944 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'
7945 compiler_needs_object=yes
7946 tmp_sharedflag='-G' ;;
7947 *Sun\ F*) # Sun Fortran 8.3
7948 tmp_sharedflag='-G' ;;
7950 tmp_sharedflag='-shared' ;;
7951 esac
7952 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7954 if test "x$supports_anon_versioning" = xyes; then
7955 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7956 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7957 echo "local: *; };" >> $output_objdir/$libname.ver~
7958 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7960 else
7961 ld_shlibs=no
7965 netbsd*)
7966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7967 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7968 wlarc=
7969 else
7970 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7971 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 solaris*)
7976 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7977 ld_shlibs=no
7978 cat <<_LT_EOF 1>&2
7980 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7981 *** create shared libraries on Solaris systems. Therefore, libtool
7982 *** is disabling shared libraries support. We urge you to upgrade GNU
7983 *** binutils to release 2.9.1 or newer. Another option is to modify
7984 *** your PATH or compiler configuration so that the native linker is
7985 *** used, and then restart.
7987 _LT_EOF
7988 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7989 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7990 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7991 else
7992 ld_shlibs=no
7996 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7997 case `$LD -v 2>&1` in
7998 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7999 ld_shlibs=no
8000 cat <<_LT_EOF 1>&2
8002 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8003 *** reliably create shared libraries on SCO systems. Therefore, libtool
8004 *** is disabling shared libraries support. We urge you to upgrade GNU
8005 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8006 *** your PATH or compiler configuration so that the native linker is
8007 *** used, and then restart.
8009 _LT_EOF
8012 # For security reasons, it is highly recommended that you always
8013 # use absolute paths for naming shared libraries, and exclude the
8014 # DT_RUNPATH tag from executables and libraries. But doing so
8015 # requires that you compile everything twice, which is a pain.
8016 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8017 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8018 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8019 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8020 else
8021 ld_shlibs=no
8024 esac
8027 sunos4*)
8028 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8029 wlarc=
8030 hardcode_direct=yes
8031 hardcode_shlibpath_var=no
8035 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8037 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8038 else
8039 ld_shlibs=no
8042 esac
8044 if test "$ld_shlibs" = no; then
8045 runpath_var=
8046 hardcode_libdir_flag_spec=
8047 export_dynamic_flag_spec=
8048 whole_archive_flag_spec=
8050 else
8051 # PORTME fill in a description of your system's linker (not GNU ld)
8052 case $host_os in
8053 aix3*)
8054 allow_undefined_flag=unsupported
8055 always_export_symbols=yes
8056 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'
8057 # Note: this linker hardcodes the directories in LIBPATH if there
8058 # are no directories specified by -L.
8059 hardcode_minus_L=yes
8060 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8061 # Neither direct hardcoding nor static linking is supported with a
8062 # broken collect2.
8063 hardcode_direct=unsupported
8067 aix[4-9]*)
8068 if test "$host_cpu" = ia64; then
8069 # On IA64, the linker does run time linking by default, so we don't
8070 # have to do anything special.
8071 aix_use_runtimelinking=no
8072 exp_sym_flag='-Bexport'
8073 no_entry_flag=""
8074 else
8075 # If we're using GNU nm, then we don't want the "-C" option.
8076 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8077 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8078 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'
8079 else
8080 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'
8082 aix_use_runtimelinking=no
8084 # Test if we are trying to use run time linking or normal
8085 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8086 # need to do runtime linking.
8087 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8088 for ld_flag in $LDFLAGS; do
8089 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8090 aix_use_runtimelinking=yes
8091 break
8093 done
8095 esac
8097 exp_sym_flag='-bexport'
8098 no_entry_flag='-bnoentry'
8101 # When large executables or shared objects are built, AIX ld can
8102 # have problems creating the table of contents. If linking a library
8103 # or program results in "error TOC overflow" add -mminimal-toc to
8104 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8105 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8107 archive_cmds=''
8108 hardcode_direct=yes
8109 hardcode_direct_absolute=yes
8110 hardcode_libdir_separator=':'
8111 link_all_deplibs=yes
8112 file_list_spec='${wl}-f,'
8114 if test "$GCC" = yes; then
8115 case $host_os in aix4.[012]|aix4.[012].*)
8116 # We only want to do this on AIX 4.2 and lower, the check
8117 # below for broken collect2 doesn't work under 4.3+
8118 collect2name=`${CC} -print-prog-name=collect2`
8119 if test -f "$collect2name" &&
8120 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8121 then
8122 # We have reworked collect2
8124 else
8125 # We have old collect2
8126 hardcode_direct=unsupported
8127 # It fails to find uninstalled libraries when the uninstalled
8128 # path is not listed in the libpath. Setting hardcode_minus_L
8129 # to unsupported forces relinking
8130 hardcode_minus_L=yes
8131 hardcode_libdir_flag_spec='-L$libdir'
8132 hardcode_libdir_separator=
8135 esac
8136 shared_flag='-shared'
8137 if test "$aix_use_runtimelinking" = yes; then
8138 shared_flag="$shared_flag "'${wl}-G'
8140 else
8141 # not using gcc
8142 if test "$host_cpu" = ia64; then
8143 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8144 # chokes on -Wl,-G. The following line is correct:
8145 shared_flag='-G'
8146 else
8147 if test "$aix_use_runtimelinking" = yes; then
8148 shared_flag='${wl}-G'
8149 else
8150 shared_flag='${wl}-bM:SRE'
8155 # It seems that -bexpall does not export symbols beginning with
8156 # underscore (_), so it is better to generate a list of symbols to export.
8157 always_export_symbols=yes
8158 if test "$aix_use_runtimelinking" = yes; then
8159 # Warning - without using the other runtime loading flags (-brtl),
8160 # -berok will link without error, but may produce a broken library.
8161 allow_undefined_flag='-berok'
8162 # Determine the default libpath from the value encoded in an
8163 # empty executable.
8164 if test x$gcc_no_link = xyes; then
8165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8167 { (exit 1); exit 1; }; }
8169 cat >conftest.$ac_ext <<_ACEOF
8170 /* confdefs.h. */
8171 _ACEOF
8172 cat confdefs.h >>conftest.$ac_ext
8173 cat >>conftest.$ac_ext <<_ACEOF
8174 /* end confdefs.h. */
8177 main ()
8181 return 0;
8183 _ACEOF
8184 rm -f conftest.$ac_objext conftest$ac_exeext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8186 (eval $ac_link) 2>conftest.er1
8187 ac_status=$?
8188 grep -v '^ *+' conftest.er1 >conftest.err
8189 rm -f conftest.er1
8190 cat conftest.err >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try='test -z "$ac_c_werror_flag"
8194 || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 (eval $ac_try) 2>&5
8197 ac_status=$?
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8207 lt_aix_libpath_sed='
8208 /Import File Strings/,/^$/ {
8209 /^0/ {
8210 s/^0 *\(.*\)$/\1/
8214 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8215 # Check for a 64-bit object if we didn't find anything.
8216 if test -z "$aix_libpath"; then
8217 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8219 else
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8224 rm -f conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8228 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8229 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"
8230 else
8231 if test "$host_cpu" = ia64; then
8232 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8233 allow_undefined_flag="-z nodefs"
8234 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"
8235 else
8236 # Determine the default libpath from the value encoded in an
8237 # empty executable.
8238 if test x$gcc_no_link = xyes; then
8239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8241 { (exit 1); exit 1; }; }
8243 cat >conftest.$ac_ext <<_ACEOF
8244 /* confdefs.h. */
8245 _ACEOF
8246 cat confdefs.h >>conftest.$ac_ext
8247 cat >>conftest.$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8251 main ()
8255 return 0;
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260 (eval $ac_link) 2>conftest.er1
8261 ac_status=$?
8262 grep -v '^ *+' conftest.er1 >conftest.err
8263 rm -f conftest.er1
8264 cat conftest.err >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 (eval $ac_try) 2>&5
8271 ac_status=$?
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try='test -s conftest$ac_exeext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 (eval $ac_try) 2>&5
8277 ac_status=$?
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8281 lt_aix_libpath_sed='
8282 /Import File Strings/,/^$/ {
8283 /^0/ {
8284 s/^0 *\(.*\)$/\1/
8288 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8289 # Check for a 64-bit object if we didn't find anything.
8290 if test -z "$aix_libpath"; then
8291 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8293 else
8294 echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.$ac_ext >&5
8298 rm -f conftest.err conftest.$ac_objext \
8299 conftest$ac_exeext conftest.$ac_ext
8300 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8302 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8303 # Warning - without using the other run time loading flags,
8304 # -berok will link without error, but may produce a broken library.
8305 no_undefined_flag=' ${wl}-bernotok'
8306 allow_undefined_flag=' ${wl}-berok'
8307 # Exported symbols can be pulled into shared objects from archives
8308 whole_archive_flag_spec='$convenience'
8309 archive_cmds_need_lc=yes
8310 # This is similar to how AIX traditionally builds its shared libraries.
8311 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'
8316 amigaos*)
8317 if test "$host_cpu" = m68k; then
8318 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)'
8319 hardcode_libdir_flag_spec='-L$libdir'
8320 hardcode_minus_L=yes
8322 # see comment about different semantics on the GNU ld section
8323 ld_shlibs=no
8326 bsdi[45]*)
8327 export_dynamic_flag_spec=-rdynamic
8330 cygwin* | mingw* | pw32*)
8331 # When not using gcc, we currently assume that we are using
8332 # Microsoft Visual C++.
8333 # hardcode_libdir_flag_spec is actually meaningless, as there is
8334 # no search path for DLLs.
8335 hardcode_libdir_flag_spec=' '
8336 allow_undefined_flag=unsupported
8337 # Tell ltmain to make .lib files, not .a files.
8338 libext=lib
8339 # Tell ltmain to make .dll files, not .so files.
8340 shrext_cmds=".dll"
8341 # FIXME: Setting linknames here is a bad hack.
8342 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8343 # The linker will automatically build a .lib file if we build a DLL.
8344 old_archive_from_new_cmds='true'
8345 # FIXME: Should let the user specify the lib program.
8346 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8347 fix_srcfile_path='`cygpath -w "$srcfile"`'
8348 enable_shared_with_static_runtimes=yes
8351 darwin* | rhapsody*)
8352 case $host_os in
8353 rhapsody* | darwin1.[012])
8354 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8356 *) # Darwin 1.3 on
8357 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8358 10.[012])
8359 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8361 10.*)
8362 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8364 esac
8366 esac
8367 archive_cmds_need_lc=no
8368 hardcode_direct=no
8369 hardcode_automatic=yes
8370 hardcode_shlibpath_var=unsupported
8371 whole_archive_flag_spec=''
8372 link_all_deplibs=yes
8373 if test "$GCC" = yes ; then
8374 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 else
8377 lt_cv_apple_cc_single_mod=no
8378 if test -z "${LT_MULTI_MODULE}"; then
8379 # By default we will add the -single_module flag. You can override
8380 # by either setting the environment variable LT_MULTI_MODULE
8381 # non-empty at configure time, or by adding -multi-module to the
8382 # link flags.
8383 echo "int foo(void){return 1;}" > conftest.c
8384 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8385 -dynamiclib ${wl}-single_module conftest.c
8386 if test -f libconftest.dylib; then
8387 lt_cv_apple_cc_single_mod=yes
8388 rm libconftest.dylib
8390 rm conftest.$ac_ext
8394 output_verbose_link_cmd=echo
8395 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8396 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8397 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}'
8398 else
8399 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8400 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}'
8402 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8403 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}'
8404 else
8405 case $cc_basename in
8406 xlc*)
8407 output_verbose_link_cmd=echo
8408 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8409 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8410 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8411 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}'
8412 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}'
8415 ld_shlibs=no
8417 esac
8421 dgux*)
8422 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8423 hardcode_libdir_flag_spec='-L$libdir'
8424 hardcode_shlibpath_var=no
8427 freebsd1*)
8428 ld_shlibs=no
8431 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8432 # support. Future versions do this automatically, but an explicit c++rt0.o
8433 # does not break anything, and helps significantly (at the cost of a little
8434 # extra space).
8435 freebsd2.2*)
8436 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8437 hardcode_libdir_flag_spec='-R$libdir'
8438 hardcode_direct=yes
8439 hardcode_shlibpath_var=no
8442 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8443 freebsd2*)
8444 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8445 hardcode_direct=yes
8446 hardcode_minus_L=yes
8447 hardcode_shlibpath_var=no
8450 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8451 freebsd* | dragonfly*)
8452 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8453 hardcode_libdir_flag_spec='-R$libdir'
8454 hardcode_direct=yes
8455 hardcode_shlibpath_var=no
8458 hpux9*)
8459 if test "$GCC" = yes; then
8460 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'
8461 else
8462 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'
8464 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8465 hardcode_libdir_separator=:
8466 hardcode_direct=yes
8468 # hardcode_minus_L: Not really in the search PATH,
8469 # but as the default location of the library.
8470 hardcode_minus_L=yes
8471 export_dynamic_flag_spec='${wl}-E'
8474 hpux10*)
8475 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8476 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8477 else
8478 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8480 if test "$with_gnu_ld" = no; then
8481 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8482 hardcode_libdir_flag_spec_ld='+b $libdir'
8483 hardcode_libdir_separator=:
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8487 # hardcode_minus_L: Not really in the search PATH,
8488 # but as the default location of the library.
8489 hardcode_minus_L=yes
8493 hpux11*)
8494 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8495 case $host_cpu in
8496 hppa*64*)
8497 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8499 ia64*)
8500 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8503 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8505 esac
8506 else
8507 case $host_cpu in
8508 hppa*64*)
8509 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8511 ia64*)
8512 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8515 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8517 esac
8519 if test "$with_gnu_ld" = no; then
8520 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8521 hardcode_libdir_separator=:
8523 case $host_cpu in
8524 hppa*64*|ia64*)
8525 hardcode_direct=no
8526 hardcode_shlibpath_var=no
8529 hardcode_direct=yes
8530 hardcode_direct_absolute=yes
8531 export_dynamic_flag_spec='${wl}-E'
8533 # hardcode_minus_L: Not really in the search PATH,
8534 # but as the default location of the library.
8535 hardcode_minus_L=yes
8537 esac
8541 irix5* | irix6* | nonstopux*)
8542 if test "$GCC" = yes; then
8543 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'
8544 # Try to use the -exported_symbol ld option, if it does not
8545 # work, assume that -exports_file does not work either and
8546 # implicitly export all symbols.
8547 save_LDFLAGS="$LDFLAGS"
8548 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8549 if test x$gcc_no_link = xyes; then
8550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8552 { (exit 1); exit 1; }; }
8554 cat >conftest.$ac_ext <<_ACEOF
8555 int foo(void) {}
8556 _ACEOF
8557 rm -f conftest.$ac_objext conftest$ac_exeext
8558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8559 (eval $ac_link) 2>conftest.er1
8560 ac_status=$?
8561 grep -v '^ *+' conftest.er1 >conftest.err
8562 rm -f conftest.er1
8563 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } &&
8566 { ac_try='test -z "$ac_c_werror_flag"
8567 || test ! -s conftest.err'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 (eval $ac_try) 2>&5
8570 ac_status=$?
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; } &&
8573 { ac_try='test -s conftest$ac_exeext'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 (eval $ac_try) 2>&5
8576 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; }; then
8579 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'
8581 else
8582 echo "$as_me: failed program was:" >&5
8583 sed 's/^/| /' conftest.$ac_ext >&5
8586 rm -f conftest.err conftest.$ac_objext \
8587 conftest$ac_exeext conftest.$ac_ext
8588 LDFLAGS="$save_LDFLAGS"
8589 else
8590 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'
8591 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'
8593 archive_cmds_need_lc='no'
8594 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595 hardcode_libdir_separator=:
8596 inherit_rpath=yes
8597 link_all_deplibs=yes
8600 netbsd*)
8601 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8602 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8603 else
8604 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8606 hardcode_libdir_flag_spec='-R$libdir'
8607 hardcode_direct=yes
8608 hardcode_shlibpath_var=no
8611 newsos6)
8612 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8613 hardcode_direct=yes
8614 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8615 hardcode_libdir_separator=:
8616 hardcode_shlibpath_var=no
8619 *nto* | *qnx*)
8622 openbsd*)
8623 hardcode_direct=yes
8624 hardcode_shlibpath_var=no
8625 hardcode_direct_absolute=yes
8626 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8627 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8628 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8629 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8630 export_dynamic_flag_spec='${wl}-E'
8631 else
8632 case $host_os in
8633 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8634 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8635 hardcode_libdir_flag_spec='-R$libdir'
8638 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8639 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8641 esac
8645 os2*)
8646 hardcode_libdir_flag_spec='-L$libdir'
8647 hardcode_minus_L=yes
8648 allow_undefined_flag=unsupported
8649 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'
8650 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8653 osf3*)
8654 if test "$GCC" = yes; then
8655 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8656 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'
8657 else
8658 allow_undefined_flag=' -expect_unresolved \*'
8659 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'
8661 archive_cmds_need_lc='no'
8662 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663 hardcode_libdir_separator=:
8666 osf4* | osf5*) # as osf3* with the addition of -msym flag
8667 if test "$GCC" = yes; then
8668 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8669 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'
8670 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8671 else
8672 allow_undefined_flag=' -expect_unresolved \*'
8673 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'
8674 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~
8675 $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'
8677 # Both c and cxx compiler support -rpath directly
8678 hardcode_libdir_flag_spec='-rpath $libdir'
8680 archive_cmds_need_lc='no'
8681 hardcode_libdir_separator=:
8684 solaris*)
8685 no_undefined_flag=' -z defs'
8686 if test "$GCC" = yes; then
8687 wlarc='${wl}'
8688 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8690 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8691 else
8692 case `$CC -V 2>&1` in
8693 *"Compilers 5.0"*)
8694 wlarc=''
8695 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8696 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8697 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8700 wlarc='${wl}'
8701 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8702 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8703 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8705 esac
8707 hardcode_libdir_flag_spec='-R$libdir'
8708 hardcode_shlibpath_var=no
8709 case $host_os in
8710 solaris2.[0-5] | solaris2.[0-5].*) ;;
8712 # The compiler driver will combine and reorder linker options,
8713 # but understands `-z linker_flag'. GCC discards it without `$wl',
8714 # but is careful enough not to reorder.
8715 # Supported since Solaris 2.6 (maybe 2.5.1?)
8716 if test "$GCC" = yes; then
8717 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8718 else
8719 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8722 esac
8723 link_all_deplibs=yes
8726 sunos4*)
8727 if test "x$host_vendor" = xsequent; then
8728 # Use $CC to link under sequent, because it throws in some extra .o
8729 # files that make .init and .fini sections work.
8730 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8731 else
8732 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8734 hardcode_libdir_flag_spec='-L$libdir'
8735 hardcode_direct=yes
8736 hardcode_minus_L=yes
8737 hardcode_shlibpath_var=no
8740 sysv4)
8741 case $host_vendor in
8742 sni)
8743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744 hardcode_direct=yes # is this really true???
8746 siemens)
8747 ## LD is ld it makes a PLAMLIB
8748 ## CC just makes a GrossModule.
8749 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8750 reload_cmds='$CC -r -o $output$reload_objs'
8751 hardcode_direct=no
8753 motorola)
8754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8757 esac
8758 runpath_var='LD_RUN_PATH'
8759 hardcode_shlibpath_var=no
8762 sysv4.3*)
8763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8764 hardcode_shlibpath_var=no
8765 export_dynamic_flag_spec='-Bexport'
8768 sysv4*MP*)
8769 if test -d /usr/nec; then
8770 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771 hardcode_shlibpath_var=no
8772 runpath_var=LD_RUN_PATH
8773 hardcode_runpath_var=yes
8774 ld_shlibs=yes
8778 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8779 no_undefined_flag='${wl}-z,text'
8780 archive_cmds_need_lc=no
8781 hardcode_shlibpath_var=no
8782 runpath_var='LD_RUN_PATH'
8784 if test "$GCC" = yes; then
8785 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8786 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8787 else
8788 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8789 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8793 sysv5* | sco3.2v5* | sco5v6*)
8794 # Note: We can NOT use -z defs as we might desire, because we do not
8795 # link with -lc, and that would cause any symbols used from libc to
8796 # always be unresolved, which means just about no library would
8797 # ever link correctly. If we're not using GNU ld we use -z text
8798 # though, which does catch some bad symbols but isn't as heavy-handed
8799 # as -z defs.
8800 no_undefined_flag='${wl}-z,text'
8801 allow_undefined_flag='${wl}-z,nodefs'
8802 archive_cmds_need_lc=no
8803 hardcode_shlibpath_var=no
8804 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8805 hardcode_libdir_separator=':'
8806 link_all_deplibs=yes
8807 export_dynamic_flag_spec='${wl}-Bexport'
8808 runpath_var='LD_RUN_PATH'
8810 if test "$GCC" = yes; then
8811 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8813 else
8814 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8819 uts4*)
8820 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8821 hardcode_libdir_flag_spec='-L$libdir'
8822 hardcode_shlibpath_var=no
8826 ld_shlibs=no
8828 esac
8830 if test x$host_vendor = xsni; then
8831 case $host in
8832 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8833 export_dynamic_flag_spec='${wl}-Blargedynsym'
8835 esac
8839 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8840 echo "${ECHO_T}$ld_shlibs" >&6
8841 test "$ld_shlibs" = no && can_build_shared=no
8843 with_gnu_ld=$with_gnu_ld
8860 # Do we need to explicitly link libc?
8862 case "x$archive_cmds_need_lc" in
8863 x|xyes)
8864 # Assume -lc should be added
8865 archive_cmds_need_lc=yes
8867 if test "$enable_shared" = yes && test "$GCC" = yes; then
8868 case $archive_cmds in
8869 *'~'*)
8870 # FIXME: we may have to deal with multi-command sequences.
8872 '$CC '*)
8873 # Test whether the compiler implicitly links with -lc since on some
8874 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8875 # to ld, don't add -lc before -lgcc.
8876 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8877 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8878 $RM conftest*
8879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8882 (eval $ac_compile) 2>&5
8883 ac_status=$?
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } 2>conftest.err; then
8886 soname=conftest
8887 lib=conftest
8888 libobjs=conftest.$ac_objext
8889 deplibs=
8890 wl=$lt_prog_compiler_wl
8891 pic_flag=$lt_prog_compiler_pic
8892 compiler_flags=-v
8893 linker_flags=-v
8894 verstring=
8895 output_objdir=.
8896 libname=conftest
8897 lt_save_allow_undefined_flag=$allow_undefined_flag
8898 allow_undefined_flag=
8899 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8900 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8901 ac_status=$?
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }
8904 then
8905 archive_cmds_need_lc=no
8906 else
8907 archive_cmds_need_lc=yes
8909 allow_undefined_flag=$lt_save_allow_undefined_flag
8910 else
8911 cat conftest.err 1>&5
8913 $RM conftest*
8914 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8915 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8917 esac
8920 esac
9078 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9079 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9080 withGCC=$GCC
9081 if test "$withGCC" = yes; then
9082 case $host_os in
9083 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9084 *) lt_awk_arg="/^libraries:/" ;;
9085 esac
9086 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9087 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9088 # if the path contains ";" then we assume it to be the separator
9089 # otherwise default to the standard path separator (i.e. ":") - it is
9090 # assumed that no part of a normal pathname contains ";" but that should
9091 # okay in the real world where ";" in dirpaths is itself problematic.
9092 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9093 else
9094 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9096 # Ok, now we have the path, separated by spaces, we can step through it
9097 # and add multilib dir if necessary.
9098 lt_tmp_lt_search_path_spec=
9099 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9100 for lt_sys_path in $lt_search_path_spec; do
9101 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9102 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9103 else
9104 test -d "$lt_sys_path" && \
9105 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9107 done
9108 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9109 BEGIN {RS=" "; FS="/|\n";} {
9110 lt_foo="";
9111 lt_count=0;
9112 for (lt_i = NF; lt_i > 0; lt_i--) {
9113 if ($lt_i != "" && $lt_i != ".") {
9114 if ($lt_i == "..") {
9115 lt_count++;
9116 } else {
9117 if (lt_count == 0) {
9118 lt_foo="/" $lt_i lt_foo;
9119 } else {
9120 lt_count--;
9125 if (lt_foo != "") { lt_freq[lt_foo]++; }
9126 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9128 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9129 else
9130 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9132 library_names_spec=
9133 libname_spec='lib$name'
9134 soname_spec=
9135 shrext_cmds=".so"
9136 postinstall_cmds=
9137 postuninstall_cmds=
9138 finish_cmds=
9139 finish_eval=
9140 shlibpath_var=
9141 shlibpath_overrides_runpath=unknown
9142 version_type=none
9143 dynamic_linker="$host_os ld.so"
9144 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9145 need_lib_prefix=unknown
9146 hardcode_into_libs=no
9148 # when you set need_version to no, make sure it does not cause -set_version
9149 # flags to be left without arguments
9150 need_version=unknown
9152 case $host_os in
9153 aix3*)
9154 version_type=linux
9155 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9156 shlibpath_var=LIBPATH
9158 # AIX 3 has no versioning support, so we append a major version to the name.
9159 soname_spec='${libname}${release}${shared_ext}$major'
9162 aix[4-9]*)
9163 version_type=linux
9164 need_lib_prefix=no
9165 need_version=no
9166 hardcode_into_libs=yes
9167 if test "$host_cpu" = ia64; then
9168 # AIX 5 supports IA64
9169 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9170 shlibpath_var=LD_LIBRARY_PATH
9171 else
9172 # With GCC up to 2.95.x, collect2 would create an import file
9173 # for dependence libraries. The import file would start with
9174 # the line `#! .'. This would cause the generated library to
9175 # depend on `.', always an invalid library. This was fixed in
9176 # development snapshots of GCC prior to 3.0.
9177 case $host_os in
9178 aix4 | aix4.[01] | aix4.[01].*)
9179 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9180 echo ' yes '
9181 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9183 else
9184 can_build_shared=no
9187 esac
9188 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9189 # soname into executable. Probably we can add versioning support to
9190 # collect2, so additional links can be useful in future.
9191 if test "$aix_use_runtimelinking" = yes; then
9192 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9193 # instead of lib<name>.a to let people know that these are not
9194 # typical AIX shared libraries.
9195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9196 else
9197 # We preserve .a as extension for shared libraries through AIX4.2
9198 # and later when we are not doing run time linking.
9199 library_names_spec='${libname}${release}.a $libname.a'
9200 soname_spec='${libname}${release}${shared_ext}$major'
9202 shlibpath_var=LIBPATH
9206 amigaos*)
9207 if test "$host_cpu" = m68k; then
9208 library_names_spec='$libname.ixlibrary $libname.a'
9209 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9210 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'
9211 else
9212 dynamic_linker=no
9216 beos*)
9217 library_names_spec='${libname}${shared_ext}'
9218 dynamic_linker="$host_os ld.so"
9219 shlibpath_var=LIBRARY_PATH
9222 bsdi[45]*)
9223 version_type=linux
9224 need_version=no
9225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9226 soname_spec='${libname}${release}${shared_ext}$major'
9227 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9228 shlibpath_var=LD_LIBRARY_PATH
9229 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9230 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9231 # the default ld.so.conf also contains /usr/contrib/lib and
9232 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9233 # libtool to hard-code these into programs
9236 cygwin* | mingw* | pw32*)
9237 version_type=windows
9238 shrext_cmds=".dll"
9239 need_version=no
9240 need_lib_prefix=no
9242 case $withGCC,$host_os in
9243 yes,cygwin* | yes,mingw* | yes,pw32*)
9244 library_names_spec='$libname.dll.a'
9245 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9246 postinstall_cmds='base_file=`basename \${file}`~
9247 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9248 dldir=$destdir/`dirname \$dlpath`~
9249 test -d \$dldir || mkdir -p \$dldir~
9250 $install_prog $dir/$dlname \$dldir/$dlname~
9251 chmod a+x \$dldir/$dlname~
9252 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9253 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9255 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9256 dlpath=$dir/\$dldll~
9257 $RM \$dlpath'
9258 shlibpath_overrides_runpath=yes
9260 case $host_os in
9261 cygwin*)
9262 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9263 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9264 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9266 mingw*)
9267 # MinGW DLLs use traditional 'lib' prefix
9268 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9269 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9270 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9271 # It is most probably a Windows format PATH printed by
9272 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9273 # path with ; separators, and with drive letters. We can handle the
9274 # drive letters (cygwin fileutils understands them), so leave them,
9275 # especially as we might pass files found there to a mingw objdump,
9276 # which wouldn't understand a cygwinified path. Ahh.
9277 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9278 else
9279 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9282 pw32*)
9283 # pw32 DLLs use 'pw' prefix rather than 'lib'
9284 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9286 esac
9290 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9292 esac
9293 dynamic_linker='Win32 ld.exe'
9294 # FIXME: first we should search . and the directory the executable is in
9295 shlibpath_var=PATH
9298 darwin* | rhapsody*)
9299 dynamic_linker="$host_os dyld"
9300 version_type=darwin
9301 need_lib_prefix=no
9302 need_version=no
9303 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9304 soname_spec='${libname}${release}${major}$shared_ext'
9305 shlibpath_overrides_runpath=yes
9306 shlibpath_var=DYLD_LIBRARY_PATH
9307 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9309 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9313 dgux*)
9314 version_type=linux
9315 need_lib_prefix=no
9316 need_version=no
9317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9318 soname_spec='${libname}${release}${shared_ext}$major'
9319 shlibpath_var=LD_LIBRARY_PATH
9322 freebsd1*)
9323 dynamic_linker=no
9326 freebsd* | dragonfly*)
9327 # DragonFly does not have aout. When/if they implement a new
9328 # versioning mechanism, adjust this.
9329 if test -x /usr/bin/objformat; then
9330 objformat=`/usr/bin/objformat`
9331 else
9332 case $host_os in
9333 freebsd[123]*) objformat=aout ;;
9334 *) objformat=elf ;;
9335 esac
9337 version_type=freebsd-$objformat
9338 case $version_type in
9339 freebsd-elf*)
9340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9341 need_version=no
9342 need_lib_prefix=no
9344 freebsd-*)
9345 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9346 need_version=yes
9348 esac
9349 shlibpath_var=LD_LIBRARY_PATH
9350 case $host_os in
9351 freebsd2*)
9352 shlibpath_overrides_runpath=yes
9354 freebsd3.[01]* | freebsdelf3.[01]*)
9355 shlibpath_overrides_runpath=yes
9356 hardcode_into_libs=yes
9358 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9359 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9360 shlibpath_overrides_runpath=no
9361 hardcode_into_libs=yes
9363 *) # from 4.6 on, and DragonFly
9364 shlibpath_overrides_runpath=yes
9365 hardcode_into_libs=yes
9367 esac
9370 gnu*)
9371 version_type=linux
9372 need_lib_prefix=no
9373 need_version=no
9374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9375 soname_spec='${libname}${release}${shared_ext}$major'
9376 shlibpath_var=LD_LIBRARY_PATH
9377 hardcode_into_libs=yes
9380 hpux9* | hpux10* | hpux11*)
9381 # Give a soname corresponding to the major version so that dld.sl refuses to
9382 # link against other versions.
9383 version_type=sunos
9384 need_lib_prefix=no
9385 need_version=no
9386 case $host_cpu in
9387 ia64*)
9388 shrext_cmds='.so'
9389 hardcode_into_libs=yes
9390 dynamic_linker="$host_os dld.so"
9391 shlibpath_var=LD_LIBRARY_PATH
9392 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9394 soname_spec='${libname}${release}${shared_ext}$major'
9395 if test "X$HPUX_IA64_MODE" = X32; then
9396 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9397 else
9398 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9400 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9402 hppa*64*)
9403 shrext_cmds='.sl'
9404 hardcode_into_libs=yes
9405 dynamic_linker="$host_os dld.sl"
9406 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9407 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9409 soname_spec='${libname}${release}${shared_ext}$major'
9410 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9411 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9414 shrext_cmds='.sl'
9415 dynamic_linker="$host_os dld.sl"
9416 shlibpath_var=SHLIB_PATH
9417 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9419 soname_spec='${libname}${release}${shared_ext}$major'
9421 esac
9422 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9423 postinstall_cmds='chmod 555 $lib'
9426 interix[3-9]*)
9427 version_type=linux
9428 need_lib_prefix=no
9429 need_version=no
9430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9431 soname_spec='${libname}${release}${shared_ext}$major'
9432 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9433 shlibpath_var=LD_LIBRARY_PATH
9434 shlibpath_overrides_runpath=no
9435 hardcode_into_libs=yes
9438 irix5* | irix6* | nonstopux*)
9439 case $host_os in
9440 nonstopux*) version_type=nonstopux ;;
9442 if test "$lt_cv_prog_gnu_ld" = yes; then
9443 version_type=linux
9444 else
9445 version_type=irix
9446 fi ;;
9447 esac
9448 need_lib_prefix=no
9449 need_version=no
9450 soname_spec='${libname}${release}${shared_ext}$major'
9451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9452 case $host_os in
9453 irix5* | nonstopux*)
9454 libsuff= shlibsuff=
9457 case $LD in # libtool.m4 will add one of these switches to LD
9458 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9459 libsuff= shlibsuff= libmagic=32-bit;;
9460 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9461 libsuff=32 shlibsuff=N32 libmagic=N32;;
9462 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9463 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9464 *) libsuff= shlibsuff= libmagic=never-match;;
9465 esac
9467 esac
9468 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9469 shlibpath_overrides_runpath=no
9470 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9471 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9472 hardcode_into_libs=yes
9475 # No shared lib support for Linux oldld, aout, or coff.
9476 linux*oldld* | linux*aout* | linux*coff*)
9477 dynamic_linker=no
9480 # This must be Linux ELF.
9481 linux* | k*bsd*-gnu)
9482 version_type=linux
9483 need_lib_prefix=no
9484 need_version=no
9485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9486 soname_spec='${libname}${release}${shared_ext}$major'
9487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9488 shlibpath_var=LD_LIBRARY_PATH
9489 shlibpath_overrides_runpath=no
9490 # Some binutils ld are patched to set DT_RUNPATH
9491 save_LDFLAGS=$LDFLAGS
9492 save_libdir=$libdir
9493 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9494 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9495 if test x$gcc_no_link = xyes; then
9496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9498 { (exit 1); exit 1; }; }
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9508 main ()
9512 return 0;
9514 _ACEOF
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517 (eval $ac_link) 2>conftest.er1
9518 ac_status=$?
9519 grep -v '^ *+' conftest.er1 >conftest.err
9520 rm -f conftest.er1
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527 (eval $ac_try) 2>&5
9528 ac_status=$?
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest$ac_exeext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533 (eval $ac_try) 2>&5
9534 ac_status=$?
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9537 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9538 shlibpath_overrides_runpath=yes
9541 else
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9546 rm -f conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LDFLAGS=$save_LDFLAGS
9549 libdir=$save_libdir
9551 # This implies no fast_install, which is unacceptable.
9552 # Some rework will be needed to allow for fast_install
9553 # before this can be enabled.
9554 hardcode_into_libs=yes
9556 # Append ld.so.conf contents to the search path
9557 if test -f /etc/ld.so.conf; then
9558 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' ' '`
9559 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9562 # We used to test for /lib/ld.so.1 and disable shared libraries on
9563 # powerpc, because MkLinux only supported shared libraries with the
9564 # GNU dynamic linker. Since this was broken with cross compilers,
9565 # most powerpc-linux boxes support dynamic linking these days and
9566 # people can always --disable-shared, the test was removed, and we
9567 # assume the GNU/Linux dynamic linker is in use.
9568 dynamic_linker='GNU/Linux ld.so'
9571 netbsd*)
9572 version_type=sunos
9573 need_lib_prefix=no
9574 need_version=no
9575 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9577 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9578 dynamic_linker='NetBSD (a.out) ld.so'
9579 else
9580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9581 soname_spec='${libname}${release}${shared_ext}$major'
9582 dynamic_linker='NetBSD ld.elf_so'
9584 shlibpath_var=LD_LIBRARY_PATH
9585 shlibpath_overrides_runpath=yes
9586 hardcode_into_libs=yes
9589 newsos6)
9590 version_type=linux
9591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592 shlibpath_var=LD_LIBRARY_PATH
9593 shlibpath_overrides_runpath=yes
9596 *nto* | *qnx*)
9597 version_type=qnx
9598 need_lib_prefix=no
9599 need_version=no
9600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601 soname_spec='${libname}${release}${shared_ext}$major'
9602 shlibpath_var=LD_LIBRARY_PATH
9603 shlibpath_overrides_runpath=no
9604 hardcode_into_libs=yes
9605 dynamic_linker='ldqnx.so'
9608 openbsd*)
9609 version_type=sunos
9610 sys_lib_dlsearch_path_spec="/usr/lib"
9611 need_lib_prefix=no
9612 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9613 case $host_os in
9614 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9615 *) need_version=no ;;
9616 esac
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9618 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9621 case $host_os in
9622 openbsd2.[89] | openbsd2.[89].*)
9623 shlibpath_overrides_runpath=no
9626 shlibpath_overrides_runpath=yes
9628 esac
9629 else
9630 shlibpath_overrides_runpath=yes
9634 os2*)
9635 libname_spec='$name'
9636 shrext_cmds=".dll"
9637 need_lib_prefix=no
9638 library_names_spec='$libname${shared_ext} $libname.a'
9639 dynamic_linker='OS/2 ld.exe'
9640 shlibpath_var=LIBPATH
9643 osf3* | osf4* | osf5*)
9644 version_type=osf
9645 need_lib_prefix=no
9646 need_version=no
9647 soname_spec='${libname}${release}${shared_ext}$major'
9648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9649 shlibpath_var=LD_LIBRARY_PATH
9650 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9651 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9654 rdos*)
9655 dynamic_linker=no
9658 solaris*)
9659 version_type=linux
9660 need_lib_prefix=no
9661 need_version=no
9662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9663 soname_spec='${libname}${release}${shared_ext}$major'
9664 shlibpath_var=LD_LIBRARY_PATH
9665 shlibpath_overrides_runpath=yes
9666 hardcode_into_libs=yes
9667 # ldd complains unless libraries are executable
9668 postinstall_cmds='chmod +x $lib'
9671 sunos4*)
9672 version_type=sunos
9673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9674 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9675 shlibpath_var=LD_LIBRARY_PATH
9676 shlibpath_overrides_runpath=yes
9677 if test "$with_gnu_ld" = yes; then
9678 need_lib_prefix=no
9680 need_version=yes
9683 sysv4 | sysv4.3*)
9684 version_type=linux
9685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9686 soname_spec='${libname}${release}${shared_ext}$major'
9687 shlibpath_var=LD_LIBRARY_PATH
9688 case $host_vendor in
9689 sni)
9690 shlibpath_overrides_runpath=no
9691 need_lib_prefix=no
9692 runpath_var=LD_RUN_PATH
9694 siemens)
9695 need_lib_prefix=no
9697 motorola)
9698 need_lib_prefix=no
9699 need_version=no
9700 shlibpath_overrides_runpath=no
9701 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9703 esac
9706 sysv4*MP*)
9707 if test -d /usr/nec ;then
9708 version_type=linux
9709 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9710 soname_spec='$libname${shared_ext}.$major'
9711 shlibpath_var=LD_LIBRARY_PATH
9715 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9716 version_type=freebsd-elf
9717 need_lib_prefix=no
9718 need_version=no
9719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9720 soname_spec='${libname}${release}${shared_ext}$major'
9721 shlibpath_var=LD_LIBRARY_PATH
9722 shlibpath_overrides_runpath=yes
9723 hardcode_into_libs=yes
9724 if test "$with_gnu_ld" = yes; then
9725 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9726 else
9727 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9728 case $host_os in
9729 sco3.2v5*)
9730 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9732 esac
9734 sys_lib_dlsearch_path_spec='/usr/lib'
9737 tpf*)
9738 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9739 version_type=linux
9740 need_lib_prefix=no
9741 need_version=no
9742 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743 shlibpath_var=LD_LIBRARY_PATH
9744 shlibpath_overrides_runpath=no
9745 hardcode_into_libs=yes
9748 uts4*)
9749 version_type=linux
9750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9751 soname_spec='${libname}${release}${shared_ext}$major'
9752 shlibpath_var=LD_LIBRARY_PATH
9756 dynamic_linker=no
9758 esac
9759 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9760 echo "${ECHO_T}$dynamic_linker" >&6
9761 test "$dynamic_linker" = no && can_build_shared=no
9763 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9764 if test "$GCC" = yes; then
9765 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9854 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9855 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9856 hardcode_action=
9857 if test -n "$hardcode_libdir_flag_spec" ||
9858 test -n "$runpath_var" ||
9859 test "X$hardcode_automatic" = "Xyes" ; then
9861 # We can hardcode non-existent directories.
9862 if test "$hardcode_direct" != no &&
9863 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9864 # have to relink, otherwise we might link with an installed library
9865 # when we should be linking with a yet-to-be-installed one
9866 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9867 test "$hardcode_minus_L" != no; then
9868 # Linking always hardcodes the temporary library directory.
9869 hardcode_action=relink
9870 else
9871 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9872 hardcode_action=immediate
9874 else
9875 # We cannot hardcode anything, or else we can only hardcode existing
9876 # directories.
9877 hardcode_action=unsupported
9879 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9880 echo "${ECHO_T}$hardcode_action" >&6
9882 if test "$hardcode_action" = relink ||
9883 test "$inherit_rpath" = yes; then
9884 # Fast installation is not supported
9885 enable_fast_install=no
9886 elif test "$shlibpath_overrides_runpath" = yes ||
9887 test "$enable_shared" = no; then
9888 # Fast installation is not necessary
9889 enable_fast_install=needless
9897 if test "x$enable_dlopen" != xyes; then
9898 enable_dlopen=unknown
9899 enable_dlopen_self=unknown
9900 enable_dlopen_self_static=unknown
9901 else
9902 lt_cv_dlopen=no
9903 lt_cv_dlopen_libs=
9905 case $host_os in
9906 beos*)
9907 lt_cv_dlopen="load_add_on"
9908 lt_cv_dlopen_libs=
9909 lt_cv_dlopen_self=yes
9912 mingw* | pw32*)
9913 lt_cv_dlopen="LoadLibrary"
9914 lt_cv_dlopen_libs=
9917 cygwin*)
9918 lt_cv_dlopen="dlopen"
9919 lt_cv_dlopen_libs=
9922 darwin*)
9923 # if libdl is installed we need to link against it
9924 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9925 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9926 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 else
9929 ac_check_lib_save_LIBS=$LIBS
9930 LIBS="-ldl $LIBS"
9931 if test x$gcc_no_link = xyes; then
9932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9934 { (exit 1); exit 1; }; }
9936 cat >conftest.$ac_ext <<_ACEOF
9937 /* confdefs.h. */
9938 _ACEOF
9939 cat confdefs.h >>conftest.$ac_ext
9940 cat >>conftest.$ac_ext <<_ACEOF
9941 /* end confdefs.h. */
9943 /* Override any gcc2 internal prototype to avoid an error. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 /* We use char because int might match the return type of a gcc2
9948 builtin and then its argument prototype would still apply. */
9949 char dlopen ();
9951 main ()
9953 dlopen ();
9955 return 0;
9957 _ACEOF
9958 rm -f conftest.$ac_objext conftest$ac_exeext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9960 (eval $ac_link) 2>conftest.er1
9961 ac_status=$?
9962 grep -v '^ *+' conftest.er1 >conftest.err
9963 rm -f conftest.er1
9964 cat conftest.err >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); } &&
9967 { ac_try='test -z "$ac_c_werror_flag"
9968 || test ! -s conftest.err'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 (eval $ac_try) 2>&5
9971 ac_status=$?
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; } &&
9974 { ac_try='test -s conftest$ac_exeext'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 (eval $ac_try) 2>&5
9977 ac_status=$?
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 ac_cv_lib_dl_dlopen=yes
9981 else
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9985 ac_cv_lib_dl_dlopen=no
9987 rm -f conftest.err conftest.$ac_objext \
9988 conftest$ac_exeext conftest.$ac_ext
9989 LIBS=$ac_check_lib_save_LIBS
9991 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9992 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9993 if test $ac_cv_lib_dl_dlopen = yes; then
9994 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9995 else
9997 lt_cv_dlopen="dyld"
9998 lt_cv_dlopen_libs=
9999 lt_cv_dlopen_self=yes
10006 echo "$as_me:$LINENO: checking for shl_load" >&5
10007 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10008 if test "${ac_cv_func_shl_load+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 if test x$gcc_no_link = xyes; then
10012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10014 { (exit 1); exit 1; }; }
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h. */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h. */
10022 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10024 #define shl_load innocuous_shl_load
10026 /* System header to define __stub macros and hopefully few prototypes,
10027 which can conflict with char shl_load (); below.
10028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10029 <limits.h> exists even on freestanding compilers. */
10031 #ifdef __STDC__
10032 # include <limits.h>
10033 #else
10034 # include <assert.h>
10035 #endif
10037 #undef shl_load
10039 /* Override any gcc2 internal prototype to avoid an error. */
10040 #ifdef __cplusplus
10041 extern "C"
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045 builtin and then its argument prototype would still apply. */
10046 char shl_load ();
10047 /* The GNU C library defines this for functions which it implements
10048 to always fail with ENOSYS. Some functions are actually named
10049 something starting with __ and the normal name is an alias. */
10050 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10051 choke me
10052 #else
10053 char (*f) () = shl_load;
10054 #endif
10055 #ifdef __cplusplus
10057 #endif
10060 main ()
10062 return f != shl_load;
10064 return 0;
10066 _ACEOF
10067 rm -f conftest.$ac_objext conftest$ac_exeext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10069 (eval $ac_link) 2>conftest.er1
10070 ac_status=$?
10071 grep -v '^ *+' conftest.er1 >conftest.err
10072 rm -f conftest.er1
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag"
10077 || test ! -s conftest.err'
10078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5
10080 ac_status=$?
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; } &&
10083 { ac_try='test -s conftest$ac_exeext'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10086 ac_status=$?
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; }; then
10089 ac_cv_func_shl_load=yes
10090 else
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10094 ac_cv_func_shl_load=no
10096 rm -f conftest.err conftest.$ac_objext \
10097 conftest$ac_exeext conftest.$ac_ext
10099 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10100 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10101 if test $ac_cv_func_shl_load = yes; then
10102 lt_cv_dlopen="shl_load"
10103 else
10104 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10105 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10106 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109 ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-ldld $LIBS"
10111 if test x$gcc_no_link = xyes; then
10112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10114 { (exit 1); exit 1; }; }
10116 cat >conftest.$ac_ext <<_ACEOF
10117 /* confdefs.h. */
10118 _ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h. */
10123 /* Override any gcc2 internal prototype to avoid an error. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 /* We use char because int might match the return type of a gcc2
10128 builtin and then its argument prototype would still apply. */
10129 char shl_load ();
10131 main ()
10133 shl_load ();
10135 return 0;
10137 _ACEOF
10138 rm -f conftest.$ac_objext conftest$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140 (eval $ac_link) 2>conftest.er1
10141 ac_status=$?
10142 grep -v '^ *+' conftest.er1 >conftest.err
10143 rm -f conftest.er1
10144 cat conftest.err >&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); } &&
10147 { ac_try='test -z "$ac_c_werror_flag"
10148 || test ! -s conftest.err'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10151 ac_status=$?
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; } &&
10154 { ac_try='test -s conftest$ac_exeext'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10157 ac_status=$?
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; }; then
10160 ac_cv_lib_dld_shl_load=yes
10161 else
10162 echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10165 ac_cv_lib_dld_shl_load=no
10167 rm -f conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_lib_save_LIBS
10171 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10172 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10173 if test $ac_cv_lib_dld_shl_load = yes; then
10174 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10175 else
10176 echo "$as_me:$LINENO: checking for dlopen" >&5
10177 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10178 if test "${ac_cv_func_dlopen+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 else
10181 if test x$gcc_no_link = xyes; then
10182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184 { (exit 1); exit 1; }; }
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h. */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10194 #define dlopen innocuous_dlopen
10196 /* System header to define __stub macros and hopefully few prototypes,
10197 which can conflict with char dlopen (); below.
10198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10199 <limits.h> exists even on freestanding compilers. */
10201 #ifdef __STDC__
10202 # include <limits.h>
10203 #else
10204 # include <assert.h>
10205 #endif
10207 #undef dlopen
10209 /* Override any gcc2 internal prototype to avoid an error. */
10210 #ifdef __cplusplus
10211 extern "C"
10213 #endif
10214 /* We use char because int might match the return type of a gcc2
10215 builtin and then its argument prototype would still apply. */
10216 char dlopen ();
10217 /* The GNU C library defines this for functions which it implements
10218 to always fail with ENOSYS. Some functions are actually named
10219 something starting with __ and the normal name is an alias. */
10220 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10221 choke me
10222 #else
10223 char (*f) () = dlopen;
10224 #endif
10225 #ifdef __cplusplus
10227 #endif
10230 main ()
10232 return f != dlopen;
10234 return 0;
10236 _ACEOF
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10239 (eval $ac_link) 2>conftest.er1
10240 ac_status=$?
10241 grep -v '^ *+' conftest.er1 >conftest.err
10242 rm -f conftest.er1
10243 cat conftest.err >&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); } &&
10246 { ac_try='test -z "$ac_c_werror_flag"
10247 || test ! -s conftest.err'
10248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249 (eval $ac_try) 2>&5
10250 ac_status=$?
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; } &&
10253 { ac_try='test -s conftest$ac_exeext'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10256 ac_status=$?
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; }; then
10259 ac_cv_func_dlopen=yes
10260 else
10261 echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.$ac_ext >&5
10264 ac_cv_func_dlopen=no
10266 rm -f conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10269 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10270 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10271 if test $ac_cv_func_dlopen = yes; then
10272 lt_cv_dlopen="dlopen"
10273 else
10274 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10275 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10276 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279 ac_check_lib_save_LIBS=$LIBS
10280 LIBS="-ldl $LIBS"
10281 if test x$gcc_no_link = xyes; then
10282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10284 { (exit 1); exit 1; }; }
10286 cat >conftest.$ac_ext <<_ACEOF
10287 /* confdefs.h. */
10288 _ACEOF
10289 cat confdefs.h >>conftest.$ac_ext
10290 cat >>conftest.$ac_ext <<_ACEOF
10291 /* end confdefs.h. */
10293 /* Override any gcc2 internal prototype to avoid an error. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 /* We use char because int might match the return type of a gcc2
10298 builtin and then its argument prototype would still apply. */
10299 char dlopen ();
10301 main ()
10303 dlopen ();
10305 return 0;
10307 _ACEOF
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310 (eval $ac_link) 2>conftest.er1
10311 ac_status=$?
10312 grep -v '^ *+' conftest.er1 >conftest.err
10313 rm -f conftest.er1
10314 cat conftest.err >&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try='test -z "$ac_c_werror_flag"
10318 || test ! -s conftest.err'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10321 ac_status=$?
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest$ac_exeext'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; }; then
10330 ac_cv_lib_dl_dlopen=yes
10331 else
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_cv_lib_dl_dlopen=no
10337 rm -f conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_lib_save_LIBS
10341 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10342 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10343 if test $ac_cv_lib_dl_dlopen = yes; then
10344 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10345 else
10346 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10347 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10348 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 else
10351 ac_check_lib_save_LIBS=$LIBS
10352 LIBS="-lsvld $LIBS"
10353 if test x$gcc_no_link = xyes; then
10354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10356 { (exit 1); exit 1; }; }
10358 cat >conftest.$ac_ext <<_ACEOF
10359 /* confdefs.h. */
10360 _ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10365 /* Override any gcc2 internal prototype to avoid an error. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10371 char dlopen ();
10373 main ()
10375 dlopen ();
10377 return 0;
10379 _ACEOF
10380 rm -f conftest.$ac_objext conftest$ac_exeext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382 (eval $ac_link) 2>conftest.er1
10383 ac_status=$?
10384 grep -v '^ *+' conftest.er1 >conftest.err
10385 rm -f conftest.er1
10386 cat conftest.err >&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); } &&
10389 { ac_try='test -z "$ac_c_werror_flag"
10390 || test ! -s conftest.err'
10391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10392 (eval $ac_try) 2>&5
10393 ac_status=$?
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); }; } &&
10396 { ac_try='test -s conftest$ac_exeext'
10397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398 (eval $ac_try) 2>&5
10399 ac_status=$?
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }; }; then
10402 ac_cv_lib_svld_dlopen=yes
10403 else
10404 echo "$as_me: failed program was:" >&5
10405 sed 's/^/| /' conftest.$ac_ext >&5
10407 ac_cv_lib_svld_dlopen=no
10409 rm -f conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_lib_save_LIBS
10413 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10414 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10415 if test $ac_cv_lib_svld_dlopen = yes; then
10416 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10417 else
10418 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10419 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10420 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 else
10423 ac_check_lib_save_LIBS=$LIBS
10424 LIBS="-ldld $LIBS"
10425 if test x$gcc_no_link = xyes; then
10426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10428 { (exit 1); exit 1; }; }
10430 cat >conftest.$ac_ext <<_ACEOF
10431 /* confdefs.h. */
10432 _ACEOF
10433 cat confdefs.h >>conftest.$ac_ext
10434 cat >>conftest.$ac_ext <<_ACEOF
10435 /* end confdefs.h. */
10437 /* Override any gcc2 internal prototype to avoid an error. */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 /* We use char because int might match the return type of a gcc2
10442 builtin and then its argument prototype would still apply. */
10443 char dld_link ();
10445 main ()
10447 dld_link ();
10449 return 0;
10451 _ACEOF
10452 rm -f conftest.$ac_objext conftest$ac_exeext
10453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10454 (eval $ac_link) 2>conftest.er1
10455 ac_status=$?
10456 grep -v '^ *+' conftest.er1 >conftest.err
10457 rm -f conftest.er1
10458 cat conftest.err >&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); } &&
10461 { ac_try='test -z "$ac_c_werror_flag"
10462 || test ! -s conftest.err'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10465 ac_status=$?
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; } &&
10468 { ac_try='test -s conftest$ac_exeext'
10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470 (eval $ac_try) 2>&5
10471 ac_status=$?
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; }; then
10474 ac_cv_lib_dld_dld_link=yes
10475 else
10476 echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.$ac_ext >&5
10479 ac_cv_lib_dld_dld_link=no
10481 rm -f conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 LIBS=$ac_check_lib_save_LIBS
10485 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10486 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10487 if test $ac_cv_lib_dld_dld_link = yes; then
10488 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10507 esac
10509 if test "x$lt_cv_dlopen" != xno; then
10510 enable_dlopen=yes
10511 else
10512 enable_dlopen=no
10515 case $lt_cv_dlopen in
10516 dlopen)
10517 save_CPPFLAGS="$CPPFLAGS"
10518 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10520 save_LDFLAGS="$LDFLAGS"
10521 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10523 save_LIBS="$LIBS"
10524 LIBS="$lt_cv_dlopen_libs $LIBS"
10526 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10527 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10528 if test "${lt_cv_dlopen_self+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531 if test "$cross_compiling" = yes; then :
10532 lt_cv_dlopen_self=cross
10533 else
10534 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10535 lt_status=$lt_dlunknown
10536 cat > conftest.$ac_ext <<_LT_EOF
10537 #line 10537 "configure"
10538 #include "confdefs.h"
10540 #if HAVE_DLFCN_H
10541 #include <dlfcn.h>
10542 #endif
10544 #include <stdio.h>
10546 #ifdef RTLD_GLOBAL
10547 # define LT_DLGLOBAL RTLD_GLOBAL
10548 #else
10549 # ifdef DL_GLOBAL
10550 # define LT_DLGLOBAL DL_GLOBAL
10551 # else
10552 # define LT_DLGLOBAL 0
10553 # endif
10554 #endif
10556 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10557 find out it does not work in some platform. */
10558 #ifndef LT_DLLAZY_OR_NOW
10559 # ifdef RTLD_LAZY
10560 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10561 # else
10562 # ifdef DL_LAZY
10563 # define LT_DLLAZY_OR_NOW DL_LAZY
10564 # else
10565 # ifdef RTLD_NOW
10566 # define LT_DLLAZY_OR_NOW RTLD_NOW
10567 # else
10568 # ifdef DL_NOW
10569 # define LT_DLLAZY_OR_NOW DL_NOW
10570 # else
10571 # define LT_DLLAZY_OR_NOW 0
10572 # endif
10573 # endif
10574 # endif
10575 # endif
10576 #endif
10578 #ifdef __cplusplus
10579 extern "C" void exit (int);
10580 #endif
10582 void fnord() { int i=42;}
10583 int main ()
10585 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10586 int status = $lt_dlunknown;
10588 if (self)
10590 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10591 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10592 /* dlclose (self); */
10594 else
10595 puts (dlerror ());
10597 exit (status);
10599 _LT_EOF
10600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10601 (eval $ac_link) 2>&5
10602 ac_status=$?
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10605 (./conftest; exit; ) >&5 2>/dev/null
10606 lt_status=$?
10607 case x$lt_status in
10608 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10609 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10610 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10611 esac
10612 else :
10613 # compilation failed
10614 lt_cv_dlopen_self=no
10617 rm -fr conftest*
10621 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10622 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10624 if test "x$lt_cv_dlopen_self" = xyes; then
10625 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10626 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10627 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10628 if test "${lt_cv_dlopen_self_static+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631 if test "$cross_compiling" = yes; then :
10632 lt_cv_dlopen_self_static=cross
10633 else
10634 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10635 lt_status=$lt_dlunknown
10636 cat > conftest.$ac_ext <<_LT_EOF
10637 #line 10637 "configure"
10638 #include "confdefs.h"
10640 #if HAVE_DLFCN_H
10641 #include <dlfcn.h>
10642 #endif
10644 #include <stdio.h>
10646 #ifdef RTLD_GLOBAL
10647 # define LT_DLGLOBAL RTLD_GLOBAL
10648 #else
10649 # ifdef DL_GLOBAL
10650 # define LT_DLGLOBAL DL_GLOBAL
10651 # else
10652 # define LT_DLGLOBAL 0
10653 # endif
10654 #endif
10656 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10657 find out it does not work in some platform. */
10658 #ifndef LT_DLLAZY_OR_NOW
10659 # ifdef RTLD_LAZY
10660 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10661 # else
10662 # ifdef DL_LAZY
10663 # define LT_DLLAZY_OR_NOW DL_LAZY
10664 # else
10665 # ifdef RTLD_NOW
10666 # define LT_DLLAZY_OR_NOW RTLD_NOW
10667 # else
10668 # ifdef DL_NOW
10669 # define LT_DLLAZY_OR_NOW DL_NOW
10670 # else
10671 # define LT_DLLAZY_OR_NOW 0
10672 # endif
10673 # endif
10674 # endif
10675 # endif
10676 #endif
10678 #ifdef __cplusplus
10679 extern "C" void exit (int);
10680 #endif
10682 void fnord() { int i=42;}
10683 int main ()
10685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10686 int status = $lt_dlunknown;
10688 if (self)
10690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10691 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10692 /* dlclose (self); */
10694 else
10695 puts (dlerror ());
10697 exit (status);
10699 _LT_EOF
10700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10701 (eval $ac_link) 2>&5
10702 ac_status=$?
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10705 (./conftest; exit; ) >&5 2>/dev/null
10706 lt_status=$?
10707 case x$lt_status in
10708 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10709 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10710 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10711 esac
10712 else :
10713 # compilation failed
10714 lt_cv_dlopen_self_static=no
10717 rm -fr conftest*
10721 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10722 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10725 CPPFLAGS="$save_CPPFLAGS"
10726 LDFLAGS="$save_LDFLAGS"
10727 LIBS="$save_LIBS"
10729 esac
10731 case $lt_cv_dlopen_self in
10732 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10733 *) enable_dlopen_self=unknown ;;
10734 esac
10736 case $lt_cv_dlopen_self_static in
10737 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10738 *) enable_dlopen_self_static=unknown ;;
10739 esac
10758 striplib=
10759 old_striplib=
10760 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10761 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10762 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10763 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10764 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10765 echo "$as_me:$LINENO: result: yes" >&5
10766 echo "${ECHO_T}yes" >&6
10767 else
10768 # FIXME - insert some real tests, host_os isn't really good enough
10769 case $host_os in
10770 darwin*)
10771 if test -n "$STRIP" ; then
10772 striplib="$STRIP -x"
10773 old_striplib="$STRIP -S"
10774 echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6
10776 else
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10782 echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6
10785 esac
10799 # Report which library types will actually be built
10800 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10801 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10802 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10803 echo "${ECHO_T}$can_build_shared" >&6
10805 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10806 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10807 test "$can_build_shared" = "no" && enable_shared=no
10809 # On AIX, shared libraries and static libraries use the same namespace, and
10810 # are all built from PIC.
10811 case $host_os in
10812 aix3*)
10813 test "$enable_shared" = yes && enable_static=no
10814 if test -n "$RANLIB"; then
10815 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10816 postinstall_cmds='$RANLIB $lib'
10820 aix[4-9]*)
10821 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10822 test "$enable_shared" = yes && enable_static=no
10825 esac
10826 echo "$as_me:$LINENO: result: $enable_shared" >&5
10827 echo "${ECHO_T}$enable_shared" >&6
10829 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10830 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10831 # Make sure either enable_shared or enable_static is yes.
10832 test "$enable_shared" = yes || enable_static=yes
10833 echo "$as_me:$LINENO: result: $enable_static" >&5
10834 echo "${ECHO_T}$enable_static" >&6
10840 ac_ext=c
10841 ac_cpp='$CPP $CPPFLAGS'
10842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10846 CC="$lt_save_CC"
10849 ac_ext=cc
10850 ac_cpp='$CXXCPP $CPPFLAGS'
10851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10855 archive_cmds_need_lc_CXX=no
10856 allow_undefined_flag_CXX=
10857 always_export_symbols_CXX=no
10858 archive_expsym_cmds_CXX=
10859 compiler_needs_object_CXX=no
10860 export_dynamic_flag_spec_CXX=
10861 hardcode_direct_CXX=no
10862 hardcode_direct_absolute_CXX=no
10863 hardcode_libdir_flag_spec_CXX=
10864 hardcode_libdir_flag_spec_ld_CXX=
10865 hardcode_libdir_separator_CXX=
10866 hardcode_minus_L_CXX=no
10867 hardcode_shlibpath_var_CXX=unsupported
10868 hardcode_automatic_CXX=no
10869 inherit_rpath_CXX=no
10870 module_cmds_CXX=
10871 module_expsym_cmds_CXX=
10872 link_all_deplibs_CXX=unknown
10873 old_archive_cmds_CXX=$old_archive_cmds
10874 no_undefined_flag_CXX=
10875 whole_archive_flag_spec_CXX=
10876 enable_shared_with_static_runtimes_CXX=no
10878 # Source file extension for C++ test sources.
10879 ac_ext=cpp
10881 # Object file extension for compiled C++ test sources.
10882 objext=o
10883 objext_CXX=$objext
10885 # No sense in running all these tests if we already determined that
10886 # the CXX compiler isn't working. Some variables (like enable_shared)
10887 # are currently assumed to apply to all compilers on this platform,
10888 # and will be corrupted by setting them based on a non-working compiler.
10889 if test "$_lt_caught_CXX_error" != yes; then
10890 # Code to be used in simple compile tests
10891 lt_simple_compile_test_code="int some_variable = 0;"
10893 # Code to be used in simple link tests
10894 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10896 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10903 # If no C compiler was specified, use CC.
10904 LTCC=${LTCC-"$CC"}
10906 # If no C compiler flags were specified, use CFLAGS.
10907 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10909 # Allow CC to be a program name with arguments.
10910 compiler=$CC
10913 # save warnings/boilerplate of simple test code
10914 ac_outfile=conftest.$ac_objext
10915 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10916 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10917 _lt_compiler_boilerplate=`cat conftest.err`
10918 $RM conftest*
10920 ac_outfile=conftest.$ac_objext
10921 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10922 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10923 _lt_linker_boilerplate=`cat conftest.err`
10924 $RM conftest*
10927 # Allow CC to be a program name with arguments.
10928 lt_save_CC=$CC
10929 lt_save_LD=$LD
10930 lt_save_GCC=$GCC
10931 GCC=$GXX
10932 lt_save_with_gnu_ld=$with_gnu_ld
10933 lt_save_path_LD=$lt_cv_path_LD
10934 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10935 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10936 else
10937 $as_unset lt_cv_prog_gnu_ld
10939 if test -n "${lt_cv_path_LDCXX+set}"; then
10940 lt_cv_path_LD=$lt_cv_path_LDCXX
10941 else
10942 $as_unset lt_cv_path_LD
10944 test -z "${LDCXX+set}" || LD=$LDCXX
10945 CC=${CXX-"c++"}
10946 compiler=$CC
10947 compiler_CXX=$CC
10948 for cc_temp in $compiler""; do
10949 case $cc_temp in
10950 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10951 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10952 \-*) ;;
10953 *) break;;
10954 esac
10955 done
10956 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10959 if test -n "$compiler"; then
10960 # We don't want -fno-exception when compiling C++ code, so set the
10961 # no_builtin_flag separately
10962 if test "$GXX" = yes; then
10963 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10964 else
10965 lt_prog_compiler_no_builtin_flag_CXX=
10968 if test "$GXX" = yes; then
10969 # Set up default GNU C++ configuration
10973 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10974 if test "${with_gnu_ld+set}" = set; then
10975 withval="$with_gnu_ld"
10976 test "$withval" = no || with_gnu_ld=yes
10977 else
10978 with_gnu_ld=no
10980 ac_prog=ld
10981 if test "$GCC" = yes; then
10982 # Check if gcc -print-prog-name=ld gives a path.
10983 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10984 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10985 case $host in
10986 *-*-mingw*)
10987 # gcc leaves a trailing carriage return which upsets mingw
10988 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10990 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10991 esac
10992 case $ac_prog in
10993 # Accept absolute paths.
10994 [\\/]* | ?:[\\/]*)
10995 re_direlt='/[^/][^/]*/\.\./'
10996 # Canonicalize the pathname of ld
10997 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10998 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10999 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11000 done
11001 test -z "$LD" && LD="$ac_prog"
11004 # If it fails, then pretend we aren't using GCC.
11005 ac_prog=ld
11008 # If it is relative, then search for the first ld in PATH.
11009 with_gnu_ld=unknown
11011 esac
11012 elif test "$with_gnu_ld" = yes; then
11013 echo "$as_me:$LINENO: checking for GNU ld" >&5
11014 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11015 else
11016 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11017 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11019 if test "${lt_cv_path_LD+set}" = set; then
11020 echo $ECHO_N "(cached) $ECHO_C" >&6
11021 else
11022 if test -z "$LD"; then
11023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11024 for ac_dir in $PATH; do
11025 IFS="$lt_save_ifs"
11026 test -z "$ac_dir" && ac_dir=.
11027 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11028 lt_cv_path_LD="$ac_dir/$ac_prog"
11029 # Check to see if the program is GNU ld. I'd rather use --version,
11030 # but apparently some variants of GNU ld only accept -v.
11031 # Break only if it was the GNU/non-GNU ld that we prefer.
11032 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11033 *GNU* | *'with BFD'*)
11034 test "$with_gnu_ld" != no && break
11037 test "$with_gnu_ld" != yes && break
11039 esac
11041 done
11042 IFS="$lt_save_ifs"
11043 else
11044 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11048 LD="$lt_cv_path_LD"
11049 if test -n "$LD"; then
11050 echo "$as_me:$LINENO: result: $LD" >&5
11051 echo "${ECHO_T}$LD" >&6
11052 else
11053 echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11056 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11057 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11058 { (exit 1); exit 1; }; }
11059 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11060 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11061 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11063 else
11064 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11065 case `$LD -v 2>&1 </dev/null` in
11066 *GNU* | *'with BFD'*)
11067 lt_cv_prog_gnu_ld=yes
11070 lt_cv_prog_gnu_ld=no
11072 esac
11074 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11075 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11076 with_gnu_ld=$lt_cv_prog_gnu_ld
11084 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11085 # archiving commands below assume that GNU ld is being used.
11086 if test "$with_gnu_ld" = yes; then
11087 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11088 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'
11090 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11091 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11093 # If archive_cmds runs LD, not CC, wlarc should be empty
11094 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11095 # investigate it a little bit more. (MM)
11096 wlarc='${wl}'
11098 # ancient GNU ld didn't support --whole-archive et. al.
11099 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11100 $GREP 'no-whole-archive' > /dev/null; then
11101 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11102 else
11103 whole_archive_flag_spec_CXX=
11105 else
11106 with_gnu_ld=no
11107 wlarc=
11109 # A generic and very simple default shared library creation
11110 # command for GNU C++ for the case where it uses the native
11111 # linker, instead of GNU ld. If possible, this setting should
11112 # overridden to take advantage of the native linker features on
11113 # the platform it is being used on.
11114 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11117 # Commands to make compiler produce verbose output that lists
11118 # what "hidden" libraries, object files and flags are used when
11119 # linking a shared library.
11120 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11122 else
11123 GXX=no
11124 with_gnu_ld=no
11125 wlarc=
11128 # PORTME: fill in a description of your system's C++ link characteristics
11129 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11130 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11131 ld_shlibs_CXX=yes
11132 case $host_os in
11133 aix3*)
11134 # FIXME: insert proper C++ library support
11135 ld_shlibs_CXX=no
11137 aix[4-9]*)
11138 if test "$host_cpu" = ia64; then
11139 # On IA64, the linker does run time linking by default, so we don't
11140 # have to do anything special.
11141 aix_use_runtimelinking=no
11142 exp_sym_flag='-Bexport'
11143 no_entry_flag=""
11144 else
11145 aix_use_runtimelinking=no
11147 # Test if we are trying to use run time linking or normal
11148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11149 # need to do runtime linking.
11150 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11151 for ld_flag in $LDFLAGS; do
11152 case $ld_flag in
11153 *-brtl*)
11154 aix_use_runtimelinking=yes
11155 break
11157 esac
11158 done
11160 esac
11162 exp_sym_flag='-bexport'
11163 no_entry_flag='-bnoentry'
11166 # When large executables or shared objects are built, AIX ld can
11167 # have problems creating the table of contents. If linking a library
11168 # or program results in "error TOC overflow" add -mminimal-toc to
11169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11172 archive_cmds_CXX=''
11173 hardcode_direct_CXX=yes
11174 hardcode_direct_absolute_CXX=yes
11175 hardcode_libdir_separator_CXX=':'
11176 link_all_deplibs_CXX=yes
11177 file_list_spec_CXX='${wl}-f,'
11179 if test "$GXX" = yes; then
11180 case $host_os in aix4.[012]|aix4.[012].*)
11181 # We only want to do this on AIX 4.2 and lower, the check
11182 # below for broken collect2 doesn't work under 4.3+
11183 collect2name=`${CC} -print-prog-name=collect2`
11184 if test -f "$collect2name" &&
11185 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11186 then
11187 # We have reworked collect2
11189 else
11190 # We have old collect2
11191 hardcode_direct_CXX=unsupported
11192 # It fails to find uninstalled libraries when the uninstalled
11193 # path is not listed in the libpath. Setting hardcode_minus_L
11194 # to unsupported forces relinking
11195 hardcode_minus_L_CXX=yes
11196 hardcode_libdir_flag_spec_CXX='-L$libdir'
11197 hardcode_libdir_separator_CXX=
11199 esac
11200 shared_flag='-shared'
11201 if test "$aix_use_runtimelinking" = yes; then
11202 shared_flag="$shared_flag "'${wl}-G'
11204 else
11205 # not using gcc
11206 if test "$host_cpu" = ia64; then
11207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11208 # chokes on -Wl,-G. The following line is correct:
11209 shared_flag='-G'
11210 else
11211 if test "$aix_use_runtimelinking" = yes; then
11212 shared_flag='${wl}-G'
11213 else
11214 shared_flag='${wl}-bM:SRE'
11219 # It seems that -bexpall does not export symbols beginning with
11220 # underscore (_), so it is better to generate a list of symbols to
11221 # export.
11222 always_export_symbols_CXX=yes
11223 if test "$aix_use_runtimelinking" = yes; then
11224 # Warning - without using the other runtime loading flags (-brtl),
11225 # -berok will link without error, but may produce a broken library.
11226 allow_undefined_flag_CXX='-berok'
11227 # Determine the default libpath from the value encoded in an empty
11228 # executable.
11229 if test x$gcc_no_link = xyes; then
11230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11232 { (exit 1); exit 1; }; }
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h. */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11242 main ()
11246 return 0;
11248 _ACEOF
11249 rm -f conftest.$ac_objext conftest$ac_exeext
11250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11251 (eval $ac_link) 2>conftest.er1
11252 ac_status=$?
11253 grep -v '^ *+' conftest.er1 >conftest.err
11254 rm -f conftest.er1
11255 cat conftest.err >&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); } &&
11258 { ac_try='test -z "$ac_cxx_werror_flag"
11259 || test ! -s conftest.err'
11260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261 (eval $ac_try) 2>&5
11262 ac_status=$?
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; } &&
11265 { ac_try='test -s conftest$ac_exeext'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11268 ac_status=$?
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; }; then
11272 lt_aix_libpath_sed='
11273 /Import File Strings/,/^$/ {
11274 /^0/ {
11275 s/^0 *\(.*\)$/\1/
11279 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11280 # Check for a 64-bit object if we didn't find anything.
11281 if test -z "$aix_libpath"; then
11282 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11284 else
11285 echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11289 rm -f conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11293 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11295 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"
11296 else
11297 if test "$host_cpu" = ia64; then
11298 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11299 allow_undefined_flag_CXX="-z nodefs"
11300 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"
11301 else
11302 # Determine the default libpath from the value encoded in an
11303 # empty executable.
11304 if test x$gcc_no_link = xyes; then
11305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11307 { (exit 1); exit 1; }; }
11309 cat >conftest.$ac_ext <<_ACEOF
11310 /* confdefs.h. */
11311 _ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11317 main ()
11321 return 0;
11323 _ACEOF
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326 (eval $ac_link) 2>conftest.er1
11327 ac_status=$?
11328 grep -v '^ *+' conftest.er1 >conftest.err
11329 rm -f conftest.er1
11330 cat conftest.err >&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); } &&
11333 { ac_try='test -z "$ac_cxx_werror_flag"
11334 || test ! -s conftest.err'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11337 ac_status=$?
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; } &&
11340 { ac_try='test -s conftest$ac_exeext'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11343 ac_status=$?
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; }; then
11347 lt_aix_libpath_sed='
11348 /Import File Strings/,/^$/ {
11349 /^0/ {
11350 s/^0 *\(.*\)$/\1/
11354 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11355 # Check for a 64-bit object if we didn't find anything.
11356 if test -z "$aix_libpath"; then
11357 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11359 else
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11364 rm -f conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11369 # Warning - without using the other run time loading flags,
11370 # -berok will link without error, but may produce a broken library.
11371 no_undefined_flag_CXX=' ${wl}-bernotok'
11372 allow_undefined_flag_CXX=' ${wl}-berok'
11373 # Exported symbols can be pulled into shared objects from archives
11374 whole_archive_flag_spec_CXX='$convenience'
11375 archive_cmds_need_lc_CXX=yes
11376 # This is similar to how AIX traditionally builds its shared
11377 # libraries.
11378 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'
11383 beos*)
11384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11385 allow_undefined_flag_CXX=unsupported
11386 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11387 # support --undefined. This deserves some investigation. FIXME
11388 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11389 else
11390 ld_shlibs_CXX=no
11394 chorus*)
11395 case $cc_basename in
11397 # FIXME: insert proper C++ library support
11398 ld_shlibs_CXX=no
11400 esac
11403 cygwin* | mingw* | pw32*)
11404 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11405 # as there is no search path for DLLs.
11406 hardcode_libdir_flag_spec_CXX='-L$libdir'
11407 allow_undefined_flag_CXX=unsupported
11408 always_export_symbols_CXX=no
11409 enable_shared_with_static_runtimes_CXX=yes
11411 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11412 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'
11413 # If the export-symbols file already is a .def file (1st line
11414 # is EXPORTS), use it as is; otherwise, prepend...
11415 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11416 cp $export_symbols $output_objdir/$soname.def;
11417 else
11418 echo EXPORTS > $output_objdir/$soname.def;
11419 cat $export_symbols >> $output_objdir/$soname.def;
11421 $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'
11422 else
11423 ld_shlibs_CXX=no
11426 darwin* | rhapsody*)
11427 case $host_os in
11428 rhapsody* | darwin1.[012])
11429 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11431 *) # Darwin 1.3 on
11432 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11433 10.[012])
11434 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11436 10.*)
11437 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11439 esac
11441 esac
11442 archive_cmds_need_lc_CXX=no
11443 hardcode_direct_CXX=no
11444 hardcode_automatic_CXX=yes
11445 hardcode_shlibpath_var_CXX=unsupported
11446 whole_archive_flag_spec_CXX=''
11447 link_all_deplibs_CXX=yes
11449 if test "$GXX" = yes ; then
11450 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 else
11453 lt_cv_apple_cc_single_mod=no
11454 if test -z "${LT_MULTI_MODULE}"; then
11455 # By default we will add the -single_module flag. You can override
11456 # by either setting the environment variable LT_MULTI_MODULE
11457 # non-empty at configure time, or by adding -multi-module to the
11458 # link flags.
11459 echo "int foo(void){return 1;}" > conftest.c
11460 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11461 -dynamiclib ${wl}-single_module conftest.c
11462 if test -f libconftest.dylib; then
11463 lt_cv_apple_cc_single_mod=yes
11464 rm libconftest.dylib
11466 rm conftest.$ac_ext
11470 output_verbose_link_cmd=echo
11471 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11472 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11473 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}'
11474 else
11475 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'
11476 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}'
11478 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11479 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}'
11480 else
11481 case $cc_basename in
11482 xlc*)
11483 output_verbose_link_cmd=echo
11484 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'
11485 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11486 # Don't fix this by using the ld -exported_symbols_list flag,
11487 # it doesn't exist in older darwin lds
11488 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}'
11489 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}'
11492 ld_shlibs_CXX=no
11494 esac
11498 dgux*)
11499 case $cc_basename in
11500 ec++*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11504 ghcx*)
11505 # Green Hills C++ Compiler
11506 # FIXME: insert proper C++ library support
11507 ld_shlibs_CXX=no
11510 # FIXME: insert proper C++ library support
11511 ld_shlibs_CXX=no
11513 esac
11516 freebsd[12]*)
11517 # C++ shared libraries reported to be fairly broken before
11518 # switch to ELF
11519 ld_shlibs_CXX=no
11522 freebsd-elf*)
11523 archive_cmds_need_lc_CXX=no
11526 freebsd* | dragonfly*)
11527 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11528 # conventions
11529 ld_shlibs_CXX=yes
11532 gnu*)
11535 hpux9*)
11536 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11537 hardcode_libdir_separator_CXX=:
11538 export_dynamic_flag_spec_CXX='${wl}-E'
11539 hardcode_direct_CXX=yes
11540 hardcode_minus_L_CXX=yes # Not in the search PATH,
11541 # but as the default
11542 # location of the library.
11544 case $cc_basename in
11545 CC*)
11546 # FIXME: insert proper C++ library support
11547 ld_shlibs_CXX=no
11549 aCC*)
11550 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'
11551 # Commands to make compiler produce verbose output that lists
11552 # what "hidden" libraries, object files and flags are used when
11553 # linking a shared library.
11555 # There doesn't appear to be a way to prevent this compiler from
11556 # explicitly linking system object files so we need to strip them
11557 # from the output so that they don't get included in the library
11558 # dependencies.
11559 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'
11562 if test "$GXX" = yes; then
11563 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'
11564 else
11565 # FIXME: insert proper C++ library support
11566 ld_shlibs_CXX=no
11569 esac
11572 hpux10*|hpux11*)
11573 if test $with_gnu_ld = no; then
11574 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11575 hardcode_libdir_separator_CXX=:
11577 case $host_cpu in
11578 hppa*64*|ia64*)
11581 export_dynamic_flag_spec_CXX='${wl}-E'
11583 esac
11585 case $host_cpu in
11586 hppa*64*|ia64*)
11587 hardcode_direct_CXX=no
11588 hardcode_shlibpath_var_CXX=no
11591 hardcode_direct_CXX=yes
11592 hardcode_direct_absolute_CXX=yes
11593 hardcode_minus_L_CXX=yes # Not in the search PATH,
11594 # but as the default
11595 # location of the library.
11597 esac
11599 case $cc_basename in
11600 CC*)
11601 # FIXME: insert proper C++ library support
11602 ld_shlibs_CXX=no
11604 aCC*)
11605 case $host_cpu in
11606 hppa*64*)
11607 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11609 ia64*)
11610 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11613 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11615 esac
11616 # Commands to make compiler produce verbose output that lists
11617 # what "hidden" libraries, object files and flags are used when
11618 # linking a shared library.
11620 # There doesn't appear to be a way to prevent this compiler from
11621 # explicitly linking system object files so we need to strip them
11622 # from the output so that they don't get included in the library
11623 # dependencies.
11624 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'
11627 if test "$GXX" = yes; then
11628 if test $with_gnu_ld = no; then
11629 case $host_cpu in
11630 hppa*64*)
11631 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11633 ia64*)
11634 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11637 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'
11639 esac
11641 else
11642 # FIXME: insert proper C++ library support
11643 ld_shlibs_CXX=no
11646 esac
11649 interix[3-9]*)
11650 hardcode_direct_CXX=no
11651 hardcode_shlibpath_var_CXX=no
11652 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11653 export_dynamic_flag_spec_CXX='${wl}-E'
11654 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11655 # Instead, shared libraries are loaded at an image base (0x10000000 by
11656 # default) and relocated if they conflict, which is a slow very memory
11657 # consuming and fragmenting process. To avoid this, we pick a random,
11658 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11659 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11660 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'
11661 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'
11663 irix5* | irix6*)
11664 case $cc_basename in
11665 CC*)
11666 # SGI C++
11667 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'
11669 # Archives containing C++ object files must be created using
11670 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11671 # necessary to make sure instantiated templates are included
11672 # in the archive.
11673 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11676 if test "$GXX" = yes; then
11677 if test "$with_gnu_ld" = no; then
11678 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'
11679 else
11680 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'
11683 link_all_deplibs_CXX=yes
11685 esac
11686 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11687 hardcode_libdir_separator_CXX=:
11688 inherit_rpath_CXX=yes
11691 linux* | k*bsd*-gnu)
11692 case $cc_basename in
11693 KCC*)
11694 # Kuck and Associates, Inc. (KAI) C++ Compiler
11696 # KCC will only create a shared library if the output file
11697 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11698 # to its proper name (with version) after linking.
11699 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'
11700 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'
11701 # Commands to make compiler produce verbose output that lists
11702 # what "hidden" libraries, object files and flags are used when
11703 # linking a shared library.
11705 # There doesn't appear to be a way to prevent this compiler from
11706 # explicitly linking system object files so we need to strip them
11707 # from the output so that they don't get included in the library
11708 # dependencies.
11709 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'
11711 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11712 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11714 # Archives containing C++ object files must be created using
11715 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11716 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11718 icpc* | ecpc* )
11719 # Intel C++
11720 with_gnu_ld=yes
11721 # version 8.0 and above of icpc choke on multiply defined symbols
11722 # if we add $predep_objects and $postdep_objects, however 7.1 and
11723 # earlier do not add the objects themselves.
11724 case `$CC -V 2>&1` in
11725 *"Version 7."*)
11726 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11727 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'
11729 *) # Version 8.0 or newer
11730 tmp_idyn=
11731 case $host_cpu in
11732 ia64*) tmp_idyn=' -i_dynamic';;
11733 esac
11734 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11735 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'
11737 esac
11738 archive_cmds_need_lc_CXX=no
11739 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11740 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11741 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11743 pgCC*)
11744 # Portland Group C++ compiler
11745 case `$CC -V` in
11746 *pgCC\ [1-5]*)
11747 prelink_cmds_CXX='tpldir=Template.dir~
11748 rm -rf $tpldir~
11749 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11750 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11751 old_archive_cmds_CXX='tpldir=Template.dir~
11752 rm -rf $tpldir~
11753 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11754 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11755 $RANLIB $oldlib'
11756 archive_cmds_CXX='tpldir=Template.dir~
11757 rm -rf $tpldir~
11758 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11759 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11760 archive_expsym_cmds_CXX='tpldir=Template.dir~
11761 rm -rf $tpldir~
11762 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11763 $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'
11765 *) # Version 6 will use weak symbols
11766 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11767 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'
11769 esac
11771 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11772 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11773 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'
11775 cxx*)
11776 # Compaq C++
11777 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11778 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'
11780 runpath_var=LD_RUN_PATH
11781 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11782 hardcode_libdir_separator_CXX=:
11784 # Commands to make compiler produce verbose output that lists
11785 # what "hidden" libraries, object files and flags are used when
11786 # linking a shared library.
11788 # There doesn't appear to be a way to prevent this compiler from
11789 # explicitly linking system object files so we need to strip them
11790 # from the output so that they don't get included in the library
11791 # dependencies.
11792 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'
11795 case `$CC -V 2>&1 | sed 5q` in
11796 *Sun\ C*)
11797 # Sun C++ 5.9
11798 no_undefined_flag_CXX=' -zdefs'
11799 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11800 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'
11801 hardcode_libdir_flag_spec_CXX='-R$libdir'
11802 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'
11803 compiler_needs_object_CXX=yes
11805 # Not sure whether something based on
11806 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11807 # would be better.
11808 output_verbose_link_cmd='echo'
11810 # Archives containing C++ object files must be created using
11811 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11812 # necessary to make sure instantiated templates are included
11813 # in the archive.
11814 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11816 esac
11818 esac
11821 lynxos*)
11822 # FIXME: insert proper C++ library support
11823 ld_shlibs_CXX=no
11826 m88k*)
11827 # FIXME: insert proper C++ library support
11828 ld_shlibs_CXX=no
11831 mvs*)
11832 case $cc_basename in
11833 cxx*)
11834 # FIXME: insert proper C++ library support
11835 ld_shlibs_CXX=no
11838 # FIXME: insert proper C++ library support
11839 ld_shlibs_CXX=no
11841 esac
11844 netbsd*)
11845 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11846 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11847 wlarc=
11848 hardcode_libdir_flag_spec_CXX='-R$libdir'
11849 hardcode_direct_CXX=yes
11850 hardcode_shlibpath_var_CXX=no
11852 # Workaround some broken pre-1.5 toolchains
11853 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11856 *nto* | *qnx*)
11857 ld_shlibs_CXX=yes
11860 openbsd2*)
11861 # C++ shared libraries are fairly broken
11862 ld_shlibs_CXX=no
11865 openbsd*)
11866 hardcode_direct_CXX=yes
11867 hardcode_shlibpath_var_CXX=no
11868 hardcode_direct_absolute_CXX=yes
11869 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11870 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11871 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11872 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11873 export_dynamic_flag_spec_CXX='${wl}-E'
11874 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11876 output_verbose_link_cmd=echo
11879 osf3* | osf4* | osf5*)
11880 case $cc_basename in
11881 KCC*)
11882 # Kuck and Associates, Inc. (KAI) C++ Compiler
11884 # KCC will only create a shared library if the output file
11885 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11886 # to its proper name (with version) after linking.
11887 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'
11889 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11890 hardcode_libdir_separator_CXX=:
11892 # Archives containing C++ object files must be created using
11893 # the KAI C++ compiler.
11894 case $host in
11895 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11896 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11897 esac
11899 RCC*)
11900 # Rational C++ 2.4.1
11901 # FIXME: insert proper C++ library support
11902 ld_shlibs_CXX=no
11904 cxx*)
11905 case $host in
11906 osf3*)
11907 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11908 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'
11909 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11912 allow_undefined_flag_CXX=' -expect_unresolved \*'
11913 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'
11914 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11915 echo "-hidden">> $lib.exp~
11916 $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~
11917 $RM $lib.exp'
11918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11920 esac
11922 hardcode_libdir_separator_CXX=:
11924 # Commands to make compiler produce verbose output that lists
11925 # what "hidden" libraries, object files and flags are used when
11926 # linking a shared library.
11928 # There doesn't appear to be a way to prevent this compiler from
11929 # explicitly linking system object files so we need to strip them
11930 # from the output so that they don't get included in the library
11931 # dependencies.
11932 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'
11935 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11936 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11937 case $host in
11938 osf3*)
11939 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'
11942 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'
11944 esac
11946 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11947 hardcode_libdir_separator_CXX=:
11949 # Commands to make compiler produce verbose output that lists
11950 # what "hidden" libraries, object files and flags are used when
11951 # linking a shared library.
11952 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11954 else
11955 # FIXME: insert proper C++ library support
11956 ld_shlibs_CXX=no
11959 esac
11962 psos*)
11963 # FIXME: insert proper C++ library support
11964 ld_shlibs_CXX=no
11967 sunos4*)
11968 case $cc_basename in
11969 CC*)
11970 # Sun C++ 4.x
11971 # FIXME: insert proper C++ library support
11972 ld_shlibs_CXX=no
11974 lcc*)
11975 # Lucid
11976 # FIXME: insert proper C++ library support
11977 ld_shlibs_CXX=no
11980 # FIXME: insert proper C++ library support
11981 ld_shlibs_CXX=no
11983 esac
11986 solaris*)
11987 case $cc_basename in
11988 CC*)
11989 # Sun C++ 4.2, 5.x and Centerline C++
11990 archive_cmds_need_lc_CXX=yes
11991 no_undefined_flag_CXX=' -zdefs'
11992 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11993 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11994 $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'
11996 hardcode_libdir_flag_spec_CXX='-R$libdir'
11997 hardcode_shlibpath_var_CXX=no
11998 case $host_os in
11999 solaris2.[0-5] | solaris2.[0-5].*) ;;
12001 # The compiler driver will combine and reorder linker options,
12002 # but understands `-z linker_flag'.
12003 # Supported since Solaris 2.6 (maybe 2.5.1?)
12004 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12006 esac
12007 link_all_deplibs_CXX=yes
12009 output_verbose_link_cmd='echo'
12011 # Archives containing C++ object files must be created using
12012 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12013 # necessary to make sure instantiated templates are included
12014 # in the archive.
12015 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12017 gcx*)
12018 # Green Hills C++ Compiler
12019 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12021 # The C++ compiler must be used to create the archive.
12022 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12025 # GNU C++ compiler with Solaris linker
12026 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12027 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12028 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12029 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12030 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12031 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12033 # Commands to make compiler produce verbose output that lists
12034 # what "hidden" libraries, object files and flags are used when
12035 # linking a shared library.
12036 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12037 else
12038 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12039 # platform.
12040 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12041 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12042 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12044 # Commands to make compiler produce verbose output that lists
12045 # what "hidden" libraries, object files and flags are used when
12046 # linking a shared library.
12047 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12050 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12051 case $host_os in
12052 solaris2.[0-5] | solaris2.[0-5].*) ;;
12054 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12056 esac
12059 esac
12062 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12063 no_undefined_flag_CXX='${wl}-z,text'
12064 archive_cmds_need_lc_CXX=no
12065 hardcode_shlibpath_var_CXX=no
12066 runpath_var='LD_RUN_PATH'
12068 case $cc_basename in
12069 CC*)
12070 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12071 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12074 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12077 esac
12080 sysv5* | sco3.2v5* | sco5v6*)
12081 # Note: We can NOT use -z defs as we might desire, because we do not
12082 # link with -lc, and that would cause any symbols used from libc to
12083 # always be unresolved, which means just about no library would
12084 # ever link correctly. If we're not using GNU ld we use -z text
12085 # though, which does catch some bad symbols but isn't as heavy-handed
12086 # as -z defs.
12087 no_undefined_flag_CXX='${wl}-z,text'
12088 allow_undefined_flag_CXX='${wl}-z,nodefs'
12089 archive_cmds_need_lc_CXX=no
12090 hardcode_shlibpath_var_CXX=no
12091 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12092 hardcode_libdir_separator_CXX=':'
12093 link_all_deplibs_CXX=yes
12094 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12095 runpath_var='LD_RUN_PATH'
12097 case $cc_basename in
12098 CC*)
12099 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12100 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12103 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12106 esac
12109 tandem*)
12110 case $cc_basename in
12111 NCC*)
12112 # NonStop-UX NCC 3.20
12113 # FIXME: insert proper C++ library support
12114 ld_shlibs_CXX=no
12117 # FIXME: insert proper C++ library support
12118 ld_shlibs_CXX=no
12120 esac
12123 vxworks*)
12124 # FIXME: insert proper C++ library support
12125 ld_shlibs_CXX=no
12129 # FIXME: insert proper C++ library support
12130 ld_shlibs_CXX=no
12132 esac
12134 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12135 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12136 test "$ld_shlibs_CXX" = no && can_build_shared=no
12138 GCC_CXX="$GXX"
12139 LD_CXX="$LD"
12141 ## CAVEAT EMPTOR:
12142 ## There is no encapsulation within the following macros, do not change
12143 ## the running order or otherwise move them around unless you know exactly
12144 ## what you are doing...
12145 # Dependencies to place before and after the object being linked:
12146 predep_objects_CXX=
12147 postdep_objects_CXX=
12148 predeps_CXX=
12149 postdeps_CXX=
12150 compiler_lib_search_path_CXX=
12152 cat > conftest.$ac_ext <<_LT_EOF
12153 class Foo
12155 public:
12156 Foo (void) { a = 0; }
12157 private:
12158 int a;
12160 _LT_EOF
12162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12163 (eval $ac_compile) 2>&5
12164 ac_status=$?
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; then
12167 # Parse the compiler output and extract the necessary
12168 # objects, libraries and library flags.
12170 # Sentinel used to keep track of whether or not we are before
12171 # the conftest object file.
12172 pre_test_object_deps_done=no
12174 # The `*' in the case matches for architectures that use `case' in
12175 # $output_verbose_cmd can trigger glob expansion during the loop
12176 # eval without this substitution.
12177 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12179 for p in `eval $output_verbose_link_cmd`; do
12180 case $p in
12182 -L* | -R* | -l*)
12183 # Some compilers place space between "-{L,R}" and the path.
12184 # Remove the space.
12185 if test $p = "-L" ||
12186 test $p = "-R"; then
12187 prev=$p
12188 continue
12189 else
12190 prev=
12193 if test "$pre_test_object_deps_done" = no; then
12194 case $p in
12195 -L* | -R*)
12196 # Internal compiler library paths should come after those
12197 # provided the user. The postdeps already come after the
12198 # user supplied libs so there is no need to process them.
12199 if test -z "$compiler_lib_search_path_CXX"; then
12200 compiler_lib_search_path_CXX="${prev}${p}"
12201 else
12202 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12205 # The "-l" case would never come before the object being
12206 # linked, so don't bother handling this case.
12207 esac
12208 else
12209 if test -z "$postdeps_CXX"; then
12210 postdeps_CXX="${prev}${p}"
12211 else
12212 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12217 *.$objext)
12218 # This assumes that the test object file only shows up
12219 # once in the compiler output.
12220 if test "$p" = "conftest.$objext"; then
12221 pre_test_object_deps_done=yes
12222 continue
12225 if test "$pre_test_object_deps_done" = no; then
12226 if test -z "$predep_objects_CXX"; then
12227 predep_objects_CXX="$p"
12228 else
12229 predep_objects_CXX="$predep_objects_CXX $p"
12231 else
12232 if test -z "$postdep_objects_CXX"; then
12233 postdep_objects_CXX="$p"
12234 else
12235 postdep_objects_CXX="$postdep_objects_CXX $p"
12240 *) ;; # Ignore the rest.
12242 esac
12243 done
12245 # Clean up.
12246 rm -f a.out a.exe
12247 else
12248 echo "libtool.m4: error: problem compiling CXX test program"
12251 $RM -f confest.$objext
12253 # PORTME: override above test on systems where it is broken
12254 case $host_os in
12255 interix[3-9]*)
12256 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12257 # hack all around it, let's just trust "g++" to DTRT.
12258 predep_objects_CXX=
12259 postdep_objects_CXX=
12260 postdeps_CXX=
12263 linux*)
12264 case `$CC -V 2>&1 | sed 5q` in
12265 *Sun\ C*)
12266 # Sun C++ 5.9
12268 # The more standards-conforming stlport4 library is
12269 # incompatible with the Cstd library. Avoid specifying
12270 # it if it's in CXXFLAGS. Ignore libCrun as
12271 # -library=stlport4 depends on it.
12272 case " $CXX $CXXFLAGS " in
12273 *" -library=stlport4 "*)
12274 solaris_use_stlport4=yes
12276 esac
12278 if test "$solaris_use_stlport4" != yes; then
12279 postdeps_CXX='-library=Cstd -library=Crun'
12282 esac
12285 solaris*)
12286 case $cc_basename in
12287 CC*)
12288 # The more standards-conforming stlport4 library is
12289 # incompatible with the Cstd library. Avoid specifying
12290 # it if it's in CXXFLAGS. Ignore libCrun as
12291 # -library=stlport4 depends on it.
12292 case " $CXX $CXXFLAGS " in
12293 *" -library=stlport4 "*)
12294 solaris_use_stlport4=yes
12296 esac
12298 # Adding this requires a known-good setup of shared libraries for
12299 # Sun compiler versions before 5.6, else PIC objects from an old
12300 # archive will be linked into the output, leading to subtle bugs.
12301 if test "$solaris_use_stlport4" != yes; then
12302 postdeps_CXX='-library=Cstd -library=Crun'
12305 esac
12307 esac
12310 case " $postdeps_CXX " in
12311 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12312 esac
12339 lt_prog_compiler_wl_CXX=
12340 lt_prog_compiler_pic_CXX=
12341 lt_prog_compiler_static_CXX=
12343 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12344 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12346 # C++ specific cases for pic, static, wl, etc.
12347 if test "$GXX" = yes; then
12348 lt_prog_compiler_wl_CXX='-Wl,'
12349 lt_prog_compiler_static_CXX='-static'
12351 case $host_os in
12352 aix*)
12353 # All AIX code is PIC.
12354 if test "$host_cpu" = ia64; then
12355 # AIX 5 now supports IA64 processor
12356 lt_prog_compiler_static_CXX='-Bstatic'
12359 amigaos*)
12360 if test "$host_cpu" = m68k; then
12361 # FIXME: we need at least 68020 code to build shared libraries, but
12362 # adding the `-m68020' flag to GCC prevents building anything better,
12363 # like `-m68040'.
12364 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12367 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12368 # PIC is the default for these OSes.
12370 mingw* | cygwin* | os2* | pw32*)
12371 # This hack is so that the source file can tell whether it is being
12372 # built for inclusion in a dll (and should export symbols for example).
12373 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12374 # (--disable-auto-import) libraries
12375 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12377 darwin* | rhapsody*)
12378 # PIC is the default on this platform
12379 # Common symbols not allowed in MH_DYLIB files
12380 lt_prog_compiler_pic_CXX='-fno-common'
12382 *djgpp*)
12383 # DJGPP does not support shared libraries at all
12384 lt_prog_compiler_pic_CXX=
12386 interix[3-9]*)
12387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12388 # Instead, we relocate shared libraries at runtime.
12390 sysv4*MP*)
12391 if test -d /usr/nec; then
12392 lt_prog_compiler_pic_CXX=-Kconform_pic
12395 hpux*)
12396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12397 # not for PA HP-UX.
12398 case $host_cpu in
12399 hppa*64*|ia64*)
12402 lt_prog_compiler_pic_CXX='-fPIC'
12404 esac
12406 *qnx* | *nto*)
12407 # QNX uses GNU C++, but need to define -shared option too, otherwise
12408 # it will coredump.
12409 lt_prog_compiler_pic_CXX='-fPIC -shared'
12412 lt_prog_compiler_pic_CXX='-fPIC'
12414 esac
12415 else
12416 case $host_os in
12417 aix[4-9]*)
12418 # All AIX code is PIC.
12419 if test "$host_cpu" = ia64; then
12420 # AIX 5 now supports IA64 processor
12421 lt_prog_compiler_static_CXX='-Bstatic'
12422 else
12423 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12426 chorus*)
12427 case $cc_basename in
12428 cxch68*)
12429 # Green Hills C++ Compiler
12430 # _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"
12432 esac
12434 darwin*)
12435 # PIC is the default on this platform
12436 # Common symbols not allowed in MH_DYLIB files
12437 case $cc_basename in
12438 xlc*)
12439 lt_prog_compiler_pic_CXX='-qnocommon'
12440 lt_prog_compiler_wl_CXX='-Wl,'
12442 esac
12444 dgux*)
12445 case $cc_basename in
12446 ec++*)
12447 lt_prog_compiler_pic_CXX='-KPIC'
12449 ghcx*)
12450 # Green Hills C++ Compiler
12451 lt_prog_compiler_pic_CXX='-pic'
12455 esac
12457 freebsd* | dragonfly*)
12458 # FreeBSD uses GNU C++
12460 hpux9* | hpux10* | hpux11*)
12461 case $cc_basename in
12462 CC*)
12463 lt_prog_compiler_wl_CXX='-Wl,'
12464 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12465 if test "$host_cpu" != ia64; then
12466 lt_prog_compiler_pic_CXX='+Z'
12469 aCC*)
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12472 case $host_cpu in
12473 hppa*64*|ia64*)
12474 # +Z the default
12477 lt_prog_compiler_pic_CXX='+Z'
12479 esac
12483 esac
12485 interix*)
12486 # This is c89, which is MS Visual C++ (no shared libs)
12487 # Anyone wants to do a port?
12489 irix5* | irix6* | nonstopux*)
12490 case $cc_basename in
12491 CC*)
12492 lt_prog_compiler_wl_CXX='-Wl,'
12493 lt_prog_compiler_static_CXX='-non_shared'
12494 # CC pic flag -KPIC is the default.
12498 esac
12500 linux* | k*bsd*-gnu)
12501 case $cc_basename in
12502 KCC*)
12503 # KAI C++ Compiler
12504 lt_prog_compiler_wl_CXX='--backend -Wl,'
12505 lt_prog_compiler_pic_CXX='-fPIC'
12507 icpc* | ecpc* )
12508 # Intel C++
12509 lt_prog_compiler_wl_CXX='-Wl,'
12510 lt_prog_compiler_pic_CXX='-KPIC'
12511 lt_prog_compiler_static_CXX='-static'
12513 pgCC*)
12514 # Portland Group C++ compiler
12515 lt_prog_compiler_wl_CXX='-Wl,'
12516 lt_prog_compiler_pic_CXX='-fpic'
12517 lt_prog_compiler_static_CXX='-Bstatic'
12519 cxx*)
12520 # Compaq C++
12521 # Make sure the PIC flag is empty. It appears that all Alpha
12522 # Linux and Compaq Tru64 Unix objects are PIC.
12523 lt_prog_compiler_pic_CXX=
12524 lt_prog_compiler_static_CXX='-non_shared'
12527 case `$CC -V 2>&1 | sed 5q` in
12528 *Sun\ C*)
12529 # Sun C++ 5.9
12530 lt_prog_compiler_pic_CXX='-KPIC'
12531 lt_prog_compiler_static_CXX='-Bstatic'
12532 lt_prog_compiler_wl_CXX='-Qoption ld '
12534 esac
12536 esac
12538 lynxos*)
12540 m88k*)
12542 mvs*)
12543 case $cc_basename in
12544 cxx*)
12545 lt_prog_compiler_pic_CXX='-W c,exportall'
12549 esac
12551 netbsd*)
12553 *qnx* | *nto*)
12554 # QNX uses GNU C++, but need to define -shared option too, otherwise
12555 # it will coredump.
12556 lt_prog_compiler_pic_CXX='-fPIC -shared'
12558 osf3* | osf4* | osf5*)
12559 case $cc_basename in
12560 KCC*)
12561 lt_prog_compiler_wl_CXX='--backend -Wl,'
12563 RCC*)
12564 # Rational C++ 2.4.1
12565 lt_prog_compiler_pic_CXX='-pic'
12567 cxx*)
12568 # Digital/Compaq C++
12569 lt_prog_compiler_wl_CXX='-Wl,'
12570 # Make sure the PIC flag is empty. It appears that all Alpha
12571 # Linux and Compaq Tru64 Unix objects are PIC.
12572 lt_prog_compiler_pic_CXX=
12573 lt_prog_compiler_static_CXX='-non_shared'
12577 esac
12579 psos*)
12581 solaris*)
12582 case $cc_basename in
12583 CC*)
12584 # Sun C++ 4.2, 5.x and Centerline C++
12585 lt_prog_compiler_pic_CXX='-KPIC'
12586 lt_prog_compiler_static_CXX='-Bstatic'
12587 lt_prog_compiler_wl_CXX='-Qoption ld '
12589 gcx*)
12590 # Green Hills C++ Compiler
12591 lt_prog_compiler_pic_CXX='-PIC'
12595 esac
12597 sunos4*)
12598 case $cc_basename in
12599 CC*)
12600 # Sun C++ 4.x
12601 lt_prog_compiler_pic_CXX='-pic'
12602 lt_prog_compiler_static_CXX='-Bstatic'
12604 lcc*)
12605 # Lucid
12606 lt_prog_compiler_pic_CXX='-pic'
12610 esac
12612 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12613 case $cc_basename in
12614 CC*)
12615 lt_prog_compiler_wl_CXX='-Wl,'
12616 lt_prog_compiler_pic_CXX='-KPIC'
12617 lt_prog_compiler_static_CXX='-Bstatic'
12619 esac
12621 tandem*)
12622 case $cc_basename in
12623 NCC*)
12624 # NonStop-UX NCC 3.20
12625 lt_prog_compiler_pic_CXX='-KPIC'
12629 esac
12631 vxworks*)
12634 lt_prog_compiler_can_build_shared_CXX=no
12636 esac
12639 case $host_os in
12640 # For platforms which do not support PIC, -DPIC is meaningless:
12641 *djgpp*)
12642 lt_prog_compiler_pic_CXX=
12645 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12647 esac
12648 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12649 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12654 # Check to make sure the PIC flag actually works.
12656 if test -n "$lt_prog_compiler_pic_CXX"; then
12657 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12658 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12659 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 else
12662 lt_prog_compiler_pic_works_CXX=no
12663 ac_outfile=conftest.$ac_objext
12664 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12665 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12666 # Insert the option either (1) after the last *FLAGS variable, or
12667 # (2) before a word containing "conftest.", or (3) at the end.
12668 # Note that $ac_compile itself does not contain backslashes and begins
12669 # with a dollar sign (not a hyphen), so the echo should work correctly.
12670 # The option is referenced via a variable to avoid confusing sed.
12671 lt_compile=`echo "$ac_compile" | $SED \
12672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12674 -e 's:$: $lt_compiler_flag:'`
12675 (eval echo "\"\$as_me:12675: $lt_compile\"" >&5)
12676 (eval "$lt_compile" 2>conftest.err)
12677 ac_status=$?
12678 cat conftest.err >&5
12679 echo "$as_me:12679: \$? = $ac_status" >&5
12680 if (exit $ac_status) && test -s "$ac_outfile"; then
12681 # The compiler can only warn and ignore the option if not recognized
12682 # So say no if there are warnings other than the usual output.
12683 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_pic_works_CXX=yes
12689 $RM conftest*
12692 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12693 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12695 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12696 case $lt_prog_compiler_pic_CXX in
12697 "" | " "*) ;;
12698 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12699 esac
12700 else
12701 lt_prog_compiler_pic_CXX=
12702 lt_prog_compiler_can_build_shared_CXX=no
12710 # Check to make sure the static flag actually works.
12712 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12713 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12714 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12715 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718 lt_prog_compiler_static_works_CXX=no
12719 save_LDFLAGS="$LDFLAGS"
12720 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12721 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12722 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12723 # The linker can only warn and ignore the option if not recognized
12724 # So say no if there are warnings
12725 if test -s conftest.err; then
12726 # Append any errors to the config.log.
12727 cat conftest.err 1>&5
12728 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12729 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12730 if diff conftest.exp conftest.er2 >/dev/null; then
12731 lt_prog_compiler_static_works_CXX=yes
12733 else
12734 lt_prog_compiler_static_works_CXX=yes
12737 $RM conftest*
12738 LDFLAGS="$save_LDFLAGS"
12741 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12742 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12744 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12746 else
12747 lt_prog_compiler_static_CXX=
12753 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12754 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12755 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12757 else
12758 lt_cv_prog_compiler_c_o_CXX=no
12759 $RM -r conftest 2>/dev/null
12760 mkdir conftest
12761 cd conftest
12762 mkdir out
12763 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12765 lt_compiler_flag="-o out/conftest2.$ac_objext"
12766 # Insert the option either (1) after the last *FLAGS variable, or
12767 # (2) before a word containing "conftest.", or (3) at the end.
12768 # Note that $ac_compile itself does not contain backslashes and begins
12769 # with a dollar sign (not a hyphen), so the echo should work correctly.
12770 lt_compile=`echo "$ac_compile" | $SED \
12771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12773 -e 's:$: $lt_compiler_flag:'`
12774 (eval echo "\"\$as_me:12774: $lt_compile\"" >&5)
12775 (eval "$lt_compile" 2>out/conftest.err)
12776 ac_status=$?
12777 cat out/conftest.err >&5
12778 echo "$as_me:12778: \$? = $ac_status" >&5
12779 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12780 then
12781 # The compiler can only warn and ignore the option if not recognized
12782 # So say no if there are warnings
12783 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12784 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12785 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12786 lt_cv_prog_compiler_c_o_CXX=yes
12789 chmod u+w . 2>&5
12790 $RM conftest*
12791 # SGI C++ compiler will create directory out/ii_files/ for
12792 # template instantiation
12793 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12794 $RM out/* && rmdir out
12795 cd ..
12796 $RM -r conftest
12797 $RM conftest*
12800 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12801 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12805 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12806 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12807 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 else
12810 lt_cv_prog_compiler_c_o_CXX=no
12811 $RM -r conftest 2>/dev/null
12812 mkdir conftest
12813 cd conftest
12814 mkdir out
12815 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12817 lt_compiler_flag="-o out/conftest2.$ac_objext"
12818 # Insert the option either (1) after the last *FLAGS variable, or
12819 # (2) before a word containing "conftest.", or (3) at the end.
12820 # Note that $ac_compile itself does not contain backslashes and begins
12821 # with a dollar sign (not a hyphen), so the echo should work correctly.
12822 lt_compile=`echo "$ac_compile" | $SED \
12823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12825 -e 's:$: $lt_compiler_flag:'`
12826 (eval echo "\"\$as_me:12826: $lt_compile\"" >&5)
12827 (eval "$lt_compile" 2>out/conftest.err)
12828 ac_status=$?
12829 cat out/conftest.err >&5
12830 echo "$as_me:12830: \$? = $ac_status" >&5
12831 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12832 then
12833 # The compiler can only warn and ignore the option if not recognized
12834 # So say no if there are warnings
12835 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12836 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12837 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12838 lt_cv_prog_compiler_c_o_CXX=yes
12841 chmod u+w . 2>&5
12842 $RM conftest*
12843 # SGI C++ compiler will create directory out/ii_files/ for
12844 # template instantiation
12845 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12846 $RM out/* && rmdir out
12847 cd ..
12848 $RM -r conftest
12849 $RM conftest*
12852 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12853 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12858 hard_links="nottested"
12859 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12860 # do not overwrite the value of need_locks provided by the user
12861 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12862 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12863 hard_links=yes
12864 $RM conftest*
12865 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12866 touch conftest.a
12867 ln conftest.a conftest.b 2>&5 || hard_links=no
12868 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12869 echo "$as_me:$LINENO: result: $hard_links" >&5
12870 echo "${ECHO_T}$hard_links" >&6
12871 if test "$hard_links" = no; then
12872 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12873 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12874 need_locks=warn
12876 else
12877 need_locks=no
12882 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12883 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12885 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12886 case $host_os in
12887 aix[4-9]*)
12888 # If we're using GNU nm, then we don't want the "-C" option.
12889 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12890 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12891 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'
12892 else
12893 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'
12896 pw32*)
12897 export_symbols_cmds_CXX="$ltdll_cmds"
12899 cygwin* | mingw*)
12900 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'
12903 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12905 esac
12907 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12908 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12909 test "$ld_shlibs_CXX" = no && can_build_shared=no
12911 with_gnu_ld_CXX=$with_gnu_ld
12919 # Do we need to explicitly link libc?
12921 case "x$archive_cmds_need_lc_CXX" in
12922 x|xyes)
12923 # Assume -lc should be added
12924 archive_cmds_need_lc_CXX=yes
12926 if test "$enable_shared" = yes && test "$GCC" = yes; then
12927 case $archive_cmds_CXX in
12928 *'~'*)
12929 # FIXME: we may have to deal with multi-command sequences.
12931 '$CC '*)
12932 # Test whether the compiler implicitly links with -lc since on some
12933 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12934 # to ld, don't add -lc before -lgcc.
12935 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12936 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12937 $RM conftest*
12938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>&5
12942 ac_status=$?
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); } 2>conftest.err; then
12945 soname=conftest
12946 lib=conftest
12947 libobjs=conftest.$ac_objext
12948 deplibs=
12949 wl=$lt_prog_compiler_wl_CXX
12950 pic_flag=$lt_prog_compiler_pic_CXX
12951 compiler_flags=-v
12952 linker_flags=-v
12953 verstring=
12954 output_objdir=.
12955 libname=conftest
12956 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12957 allow_undefined_flag_CXX=
12958 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12959 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12960 ac_status=$?
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); }
12963 then
12964 archive_cmds_need_lc_CXX=no
12965 else
12966 archive_cmds_need_lc_CXX=yes
12968 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12969 else
12970 cat conftest.err 1>&5
12972 $RM conftest*
12973 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12974 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12976 esac
12979 esac
13044 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13045 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13046 withGCC=$GXX
13047 library_names_spec=
13048 libname_spec='lib$name'
13049 soname_spec=
13050 shrext_cmds=".so"
13051 postinstall_cmds=
13052 postuninstall_cmds=
13053 finish_cmds=
13054 finish_eval=
13055 shlibpath_var=
13056 shlibpath_overrides_runpath=unknown
13057 version_type=none
13058 dynamic_linker="$host_os ld.so"
13059 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13060 need_lib_prefix=unknown
13061 hardcode_into_libs=no
13063 # when you set need_version to no, make sure it does not cause -set_version
13064 # flags to be left without arguments
13065 need_version=unknown
13067 case $host_os in
13068 aix3*)
13069 version_type=linux
13070 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13071 shlibpath_var=LIBPATH
13073 # AIX 3 has no versioning support, so we append a major version to the name.
13074 soname_spec='${libname}${release}${shared_ext}$major'
13077 aix[4-9]*)
13078 version_type=linux
13079 need_lib_prefix=no
13080 need_version=no
13081 hardcode_into_libs=yes
13082 if test "$host_cpu" = ia64; then
13083 # AIX 5 supports IA64
13084 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13085 shlibpath_var=LD_LIBRARY_PATH
13086 else
13087 # With GCC up to 2.95.x, collect2 would create an import file
13088 # for dependence libraries. The import file would start with
13089 # the line `#! .'. This would cause the generated library to
13090 # depend on `.', always an invalid library. This was fixed in
13091 # development snapshots of GCC prior to 3.0.
13092 case $host_os in
13093 aix4 | aix4.[01] | aix4.[01].*)
13094 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13095 echo ' yes '
13096 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13098 else
13099 can_build_shared=no
13102 esac
13103 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13104 # soname into executable. Probably we can add versioning support to
13105 # collect2, so additional links can be useful in future.
13106 if test "$aix_use_runtimelinking" = yes; then
13107 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13108 # instead of lib<name>.a to let people know that these are not
13109 # typical AIX shared libraries.
13110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13111 else
13112 # We preserve .a as extension for shared libraries through AIX4.2
13113 # and later when we are not doing run time linking.
13114 library_names_spec='${libname}${release}.a $libname.a'
13115 soname_spec='${libname}${release}${shared_ext}$major'
13117 shlibpath_var=LIBPATH
13121 amigaos*)
13122 if test "$host_cpu" = m68k; then
13123 library_names_spec='$libname.ixlibrary $libname.a'
13124 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13125 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'
13126 else
13127 dynamic_linker=no
13131 beos*)
13132 library_names_spec='${libname}${shared_ext}'
13133 dynamic_linker="$host_os ld.so"
13134 shlibpath_var=LIBRARY_PATH
13137 bsdi[45]*)
13138 version_type=linux
13139 need_version=no
13140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13141 soname_spec='${libname}${release}${shared_ext}$major'
13142 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13143 shlibpath_var=LD_LIBRARY_PATH
13144 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13145 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13146 # the default ld.so.conf also contains /usr/contrib/lib and
13147 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13148 # libtool to hard-code these into programs
13151 cygwin* | mingw* | pw32*)
13152 version_type=windows
13153 shrext_cmds=".dll"
13154 need_version=no
13155 need_lib_prefix=no
13157 case $withGCC,$host_os in
13158 yes,cygwin* | yes,mingw* | yes,pw32*)
13159 library_names_spec='$libname.dll.a'
13160 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13161 postinstall_cmds='base_file=`basename \${file}`~
13162 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13163 dldir=$destdir/`dirname \$dlpath`~
13164 test -d \$dldir || mkdir -p \$dldir~
13165 $install_prog $dir/$dlname \$dldir/$dlname~
13166 chmod a+x \$dldir/$dlname~
13167 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13168 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13170 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13171 dlpath=$dir/\$dldll~
13172 $RM \$dlpath'
13173 shlibpath_overrides_runpath=yes
13175 case $host_os in
13176 cygwin*)
13177 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13178 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13179 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13181 mingw*)
13182 # MinGW DLLs use traditional 'lib' prefix
13183 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13184 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13185 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13186 # It is most probably a Windows format PATH printed by
13187 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13188 # path with ; separators, and with drive letters. We can handle the
13189 # drive letters (cygwin fileutils understands them), so leave them,
13190 # especially as we might pass files found there to a mingw objdump,
13191 # which wouldn't understand a cygwinified path. Ahh.
13192 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13193 else
13194 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13197 pw32*)
13198 # pw32 DLLs use 'pw' prefix rather than 'lib'
13199 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13201 esac
13205 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13207 esac
13208 dynamic_linker='Win32 ld.exe'
13209 # FIXME: first we should search . and the directory the executable is in
13210 shlibpath_var=PATH
13213 darwin* | rhapsody*)
13214 dynamic_linker="$host_os dyld"
13215 version_type=darwin
13216 need_lib_prefix=no
13217 need_version=no
13218 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13219 soname_spec='${libname}${release}${major}$shared_ext'
13220 shlibpath_overrides_runpath=yes
13221 shlibpath_var=DYLD_LIBRARY_PATH
13222 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13224 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13227 dgux*)
13228 version_type=linux
13229 need_lib_prefix=no
13230 need_version=no
13231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13232 soname_spec='${libname}${release}${shared_ext}$major'
13233 shlibpath_var=LD_LIBRARY_PATH
13236 freebsd1*)
13237 dynamic_linker=no
13240 freebsd* | dragonfly*)
13241 # DragonFly does not have aout. When/if they implement a new
13242 # versioning mechanism, adjust this.
13243 if test -x /usr/bin/objformat; then
13244 objformat=`/usr/bin/objformat`
13245 else
13246 case $host_os in
13247 freebsd[123]*) objformat=aout ;;
13248 *) objformat=elf ;;
13249 esac
13251 version_type=freebsd-$objformat
13252 case $version_type in
13253 freebsd-elf*)
13254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13255 need_version=no
13256 need_lib_prefix=no
13258 freebsd-*)
13259 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13260 need_version=yes
13262 esac
13263 shlibpath_var=LD_LIBRARY_PATH
13264 case $host_os in
13265 freebsd2*)
13266 shlibpath_overrides_runpath=yes
13268 freebsd3.[01]* | freebsdelf3.[01]*)
13269 shlibpath_overrides_runpath=yes
13270 hardcode_into_libs=yes
13272 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13273 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13274 shlibpath_overrides_runpath=no
13275 hardcode_into_libs=yes
13277 *) # from 4.6 on, and DragonFly
13278 shlibpath_overrides_runpath=yes
13279 hardcode_into_libs=yes
13281 esac
13284 gnu*)
13285 version_type=linux
13286 need_lib_prefix=no
13287 need_version=no
13288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13289 soname_spec='${libname}${release}${shared_ext}$major'
13290 shlibpath_var=LD_LIBRARY_PATH
13291 hardcode_into_libs=yes
13294 hpux9* | hpux10* | hpux11*)
13295 # Give a soname corresponding to the major version so that dld.sl refuses to
13296 # link against other versions.
13297 version_type=sunos
13298 need_lib_prefix=no
13299 need_version=no
13300 case $host_cpu in
13301 ia64*)
13302 shrext_cmds='.so'
13303 hardcode_into_libs=yes
13304 dynamic_linker="$host_os dld.so"
13305 shlibpath_var=LD_LIBRARY_PATH
13306 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13308 soname_spec='${libname}${release}${shared_ext}$major'
13309 if test "X$HPUX_IA64_MODE" = X32; then
13310 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13311 else
13312 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13314 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13316 hppa*64*)
13317 shrext_cmds='.sl'
13318 hardcode_into_libs=yes
13319 dynamic_linker="$host_os dld.sl"
13320 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13321 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13323 soname_spec='${libname}${release}${shared_ext}$major'
13324 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13328 shrext_cmds='.sl'
13329 dynamic_linker="$host_os dld.sl"
13330 shlibpath_var=SHLIB_PATH
13331 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13333 soname_spec='${libname}${release}${shared_ext}$major'
13335 esac
13336 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13337 postinstall_cmds='chmod 555 $lib'
13340 interix[3-9]*)
13341 version_type=linux
13342 need_lib_prefix=no
13343 need_version=no
13344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13345 soname_spec='${libname}${release}${shared_ext}$major'
13346 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13347 shlibpath_var=LD_LIBRARY_PATH
13348 shlibpath_overrides_runpath=no
13349 hardcode_into_libs=yes
13352 irix5* | irix6* | nonstopux*)
13353 case $host_os in
13354 nonstopux*) version_type=nonstopux ;;
13356 if test "$lt_cv_prog_gnu_ld" = yes; then
13357 version_type=linux
13358 else
13359 version_type=irix
13360 fi ;;
13361 esac
13362 need_lib_prefix=no
13363 need_version=no
13364 soname_spec='${libname}${release}${shared_ext}$major'
13365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13366 case $host_os in
13367 irix5* | nonstopux*)
13368 libsuff= shlibsuff=
13371 case $LD in # libtool.m4 will add one of these switches to LD
13372 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13373 libsuff= shlibsuff= libmagic=32-bit;;
13374 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13375 libsuff=32 shlibsuff=N32 libmagic=N32;;
13376 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13377 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13378 *) libsuff= shlibsuff= libmagic=never-match;;
13379 esac
13381 esac
13382 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13383 shlibpath_overrides_runpath=no
13384 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13385 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13386 hardcode_into_libs=yes
13389 # No shared lib support for Linux oldld, aout, or coff.
13390 linux*oldld* | linux*aout* | linux*coff*)
13391 dynamic_linker=no
13394 # This must be Linux ELF.
13395 linux* | k*bsd*-gnu)
13396 version_type=linux
13397 need_lib_prefix=no
13398 need_version=no
13399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13400 soname_spec='${libname}${release}${shared_ext}$major'
13401 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13402 shlibpath_var=LD_LIBRARY_PATH
13403 shlibpath_overrides_runpath=no
13404 # Some binutils ld are patched to set DT_RUNPATH
13405 save_LDFLAGS=$LDFLAGS
13406 save_libdir=$libdir
13407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13409 if test x$gcc_no_link = xyes; then
13410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412 { (exit 1); exit 1; }; }
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h. */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13422 main ()
13426 return 0;
13428 _ACEOF
13429 rm -f conftest.$ac_objext conftest$ac_exeext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13431 (eval $ac_link) 2>conftest.er1
13432 ac_status=$?
13433 grep -v '^ *+' conftest.er1 >conftest.err
13434 rm -f conftest.er1
13435 cat conftest.err >&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } &&
13438 { ac_try='test -z "$ac_cxx_werror_flag"
13439 || test ! -s conftest.err'
13440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13441 (eval $ac_try) 2>&5
13442 ac_status=$?
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); }; } &&
13445 { ac_try='test -s conftest$ac_exeext'
13446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447 (eval $ac_try) 2>&5
13448 ac_status=$?
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); }; }; then
13451 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13452 shlibpath_overrides_runpath=yes
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13460 rm -f conftest.err conftest.$ac_objext \
13461 conftest$ac_exeext conftest.$ac_ext
13462 LDFLAGS=$save_LDFLAGS
13463 libdir=$save_libdir
13465 # This implies no fast_install, which is unacceptable.
13466 # Some rework will be needed to allow for fast_install
13467 # before this can be enabled.
13468 hardcode_into_libs=yes
13470 # Append ld.so.conf contents to the search path
13471 if test -f /etc/ld.so.conf; then
13472 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' ' '`
13473 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13476 # We used to test for /lib/ld.so.1 and disable shared libraries on
13477 # powerpc, because MkLinux only supported shared libraries with the
13478 # GNU dynamic linker. Since this was broken with cross compilers,
13479 # most powerpc-linux boxes support dynamic linking these days and
13480 # people can always --disable-shared, the test was removed, and we
13481 # assume the GNU/Linux dynamic linker is in use.
13482 dynamic_linker='GNU/Linux ld.so'
13485 netbsd*)
13486 version_type=sunos
13487 need_lib_prefix=no
13488 need_version=no
13489 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13491 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13492 dynamic_linker='NetBSD (a.out) ld.so'
13493 else
13494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13495 soname_spec='${libname}${release}${shared_ext}$major'
13496 dynamic_linker='NetBSD ld.elf_so'
13498 shlibpath_var=LD_LIBRARY_PATH
13499 shlibpath_overrides_runpath=yes
13500 hardcode_into_libs=yes
13503 newsos6)
13504 version_type=linux
13505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13506 shlibpath_var=LD_LIBRARY_PATH
13507 shlibpath_overrides_runpath=yes
13510 *nto* | *qnx*)
13511 version_type=qnx
13512 need_lib_prefix=no
13513 need_version=no
13514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 soname_spec='${libname}${release}${shared_ext}$major'
13516 shlibpath_var=LD_LIBRARY_PATH
13517 shlibpath_overrides_runpath=no
13518 hardcode_into_libs=yes
13519 dynamic_linker='ldqnx.so'
13522 openbsd*)
13523 version_type=sunos
13524 sys_lib_dlsearch_path_spec="/usr/lib"
13525 need_lib_prefix=no
13526 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13527 case $host_os in
13528 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13529 *) need_version=no ;;
13530 esac
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13535 case $host_os in
13536 openbsd2.[89] | openbsd2.[89].*)
13537 shlibpath_overrides_runpath=no
13540 shlibpath_overrides_runpath=yes
13542 esac
13543 else
13544 shlibpath_overrides_runpath=yes
13548 os2*)
13549 libname_spec='$name'
13550 shrext_cmds=".dll"
13551 need_lib_prefix=no
13552 library_names_spec='$libname${shared_ext} $libname.a'
13553 dynamic_linker='OS/2 ld.exe'
13554 shlibpath_var=LIBPATH
13557 osf3* | osf4* | osf5*)
13558 version_type=osf
13559 need_lib_prefix=no
13560 need_version=no
13561 soname_spec='${libname}${release}${shared_ext}$major'
13562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13563 shlibpath_var=LD_LIBRARY_PATH
13564 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13565 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13568 rdos*)
13569 dynamic_linker=no
13572 solaris*)
13573 version_type=linux
13574 need_lib_prefix=no
13575 need_version=no
13576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13577 soname_spec='${libname}${release}${shared_ext}$major'
13578 shlibpath_var=LD_LIBRARY_PATH
13579 shlibpath_overrides_runpath=yes
13580 hardcode_into_libs=yes
13581 # ldd complains unless libraries are executable
13582 postinstall_cmds='chmod +x $lib'
13585 sunos4*)
13586 version_type=sunos
13587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13588 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13589 shlibpath_var=LD_LIBRARY_PATH
13590 shlibpath_overrides_runpath=yes
13591 if test "$with_gnu_ld" = yes; then
13592 need_lib_prefix=no
13594 need_version=yes
13597 sysv4 | sysv4.3*)
13598 version_type=linux
13599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13600 soname_spec='${libname}${release}${shared_ext}$major'
13601 shlibpath_var=LD_LIBRARY_PATH
13602 case $host_vendor in
13603 sni)
13604 shlibpath_overrides_runpath=no
13605 need_lib_prefix=no
13606 runpath_var=LD_RUN_PATH
13608 siemens)
13609 need_lib_prefix=no
13611 motorola)
13612 need_lib_prefix=no
13613 need_version=no
13614 shlibpath_overrides_runpath=no
13615 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13617 esac
13620 sysv4*MP*)
13621 if test -d /usr/nec ;then
13622 version_type=linux
13623 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13624 soname_spec='$libname${shared_ext}.$major'
13625 shlibpath_var=LD_LIBRARY_PATH
13629 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13630 version_type=freebsd-elf
13631 need_lib_prefix=no
13632 need_version=no
13633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13634 soname_spec='${libname}${release}${shared_ext}$major'
13635 shlibpath_var=LD_LIBRARY_PATH
13636 shlibpath_overrides_runpath=yes
13637 hardcode_into_libs=yes
13638 if test "$with_gnu_ld" = yes; then
13639 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13640 else
13641 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13642 case $host_os in
13643 sco3.2v5*)
13644 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13646 esac
13648 sys_lib_dlsearch_path_spec='/usr/lib'
13651 tpf*)
13652 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13653 version_type=linux
13654 need_lib_prefix=no
13655 need_version=no
13656 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13657 shlibpath_var=LD_LIBRARY_PATH
13658 shlibpath_overrides_runpath=no
13659 hardcode_into_libs=yes
13662 uts4*)
13663 version_type=linux
13664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13665 soname_spec='${libname}${release}${shared_ext}$major'
13666 shlibpath_var=LD_LIBRARY_PATH
13670 dynamic_linker=no
13672 esac
13673 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13674 echo "${ECHO_T}$dynamic_linker" >&6
13675 test "$dynamic_linker" = no && can_build_shared=no
13677 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13678 if test "$GCC" = yes; then
13679 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13717 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13718 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13719 hardcode_action_CXX=
13720 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13721 test -n "$runpath_var_CXX" ||
13722 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13724 # We can hardcode non-existent directories.
13725 if test "$hardcode_direct_CXX" != no &&
13726 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13727 # have to relink, otherwise we might link with an installed library
13728 # when we should be linking with a yet-to-be-installed one
13729 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13730 test "$hardcode_minus_L_CXX" != no; then
13731 # Linking always hardcodes the temporary library directory.
13732 hardcode_action_CXX=relink
13733 else
13734 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13735 hardcode_action_CXX=immediate
13737 else
13738 # We cannot hardcode anything, or else we can only hardcode existing
13739 # directories.
13740 hardcode_action_CXX=unsupported
13742 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13743 echo "${ECHO_T}$hardcode_action_CXX" >&6
13745 if test "$hardcode_action_CXX" = relink ||
13746 test "$inherit_rpath_CXX" = yes; then
13747 # Fast installation is not supported
13748 enable_fast_install=no
13749 elif test "$shlibpath_overrides_runpath" = yes ||
13750 test "$enable_shared" = no; then
13751 # Fast installation is not necessary
13752 enable_fast_install=needless
13761 fi # test -n "$compiler"
13763 CC=$lt_save_CC
13764 LDCXX=$LD
13765 LD=$lt_save_LD
13766 GCC=$lt_save_GCC
13767 with_gnu_ld=$lt_save_with_gnu_ld
13768 lt_cv_path_LDCXX=$lt_cv_path_LD
13769 lt_cv_path_LD=$lt_save_path_LD
13770 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13771 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13772 fi # test "$_lt_caught_CXX_error" != yes
13774 ac_ext=c
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13792 ac_config_commands="$ac_config_commands libtool"
13797 # Only expand once:
13803 # Possibly disable most of the library.
13804 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13805 ## than just ignoring the results. Faster /and/ more correct, win win.
13807 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13808 if test "${enable_hosted_libstdcxx+set}" = set; then
13809 enableval="$enable_hosted_libstdcxx"
13811 else
13812 case "$host" in
13813 arm*-*-symbianelf*)
13814 enable_hosted_libstdcxx=no
13817 enable_hosted_libstdcxx=yes
13819 esac
13821 if test "$enable_hosted_libstdcxx" = no; then
13822 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13823 echo "$as_me: Only freestanding libraries will be built" >&6;}
13824 is_hosted=no
13825 hosted_define=0
13826 enable_abi_check=no
13827 enable_libstdcxx_pch=no
13828 else
13829 is_hosted=yes
13830 hosted_define=1
13834 cat >>confdefs.h <<_ACEOF
13835 #define _GLIBCXX_HOSTED $hosted_define
13836 _ACEOF
13840 # Enable compiler support that doesn't require linking.
13842 echo "$as_me:$LINENO: checking for exception model to use" >&5
13843 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13846 ac_ext=cc
13847 ac_cpp='$CXXCPP $CPPFLAGS'
13848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13852 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13853 if test "${enable_sjlj_exceptions+set}" = set; then
13854 enableval="$enable_sjlj_exceptions"
13856 case "$enableval" in
13857 yes|no|auto) ;;
13858 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13859 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13860 { (exit 1); exit 1; }; } ;;
13861 esac
13863 else
13864 enable_sjlj_exceptions=auto
13868 if test $enable_sjlj_exceptions = auto; then
13869 # Botheration. Now we've got to detect the exception model. Link tests
13870 # against libgcc.a are problematic since we've not been given proper -L
13871 # bits for single-tree newlib and libgloss.
13873 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13874 cat > conftest.$ac_ext << EOF
13875 #line 13875 "configure"
13876 struct S { ~S(); };
13877 void bar();
13878 void foo()
13880 S s;
13881 bar();
13884 old_CXXFLAGS="$CXXFLAGS"
13885 CXXFLAGS=-S
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13888 ac_status=$?
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); }; then
13891 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13892 enable_sjlj_exceptions=yes
13893 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13894 enable_sjlj_exceptions=no
13895 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13896 enable_sjlj_exceptions=no
13899 CXXFLAGS="$old_CXXFLAGS"
13900 rm -f conftest*
13903 # This is a tad weird, for hysterical raisins. We have to map
13904 # enable/disable to two different models.
13905 case $enable_sjlj_exceptions in
13906 yes)
13908 cat >>confdefs.h <<\_ACEOF
13909 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13910 _ACEOF
13912 ac_exception_model_name=sjlj
13915 ac_exception_model_name="call frame"
13918 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13919 echo "$as_me: error: unable to detect exception model" >&2;}
13920 { (exit 1); exit 1; }; }
13922 esac
13923 ac_ext=c
13924 ac_cpp='$CPP $CPPFLAGS'
13925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13929 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13930 echo "${ECHO_T}$ac_exception_model_name" >&6
13933 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13934 if test "${enable_libstdcxx_pch+set}" = set; then
13935 enableval="$enable_libstdcxx_pch"
13937 case "$enableval" in
13938 yes|no) ;;
13939 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13940 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13941 { (exit 1); exit 1; }; } ;;
13942 esac
13944 else
13945 enable_libstdcxx_pch=$is_hosted
13948 if test $enable_libstdcxx_pch = yes; then
13949 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13950 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13951 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 else
13954 ac_save_CXXFLAGS="$CXXFLAGS"
13955 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13958 ac_ext=cc
13959 ac_cpp='$CXXCPP $CPPFLAGS'
13960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13964 echo '#include <math.h>' > conftest.h
13965 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13966 -o conftest.h.gch 1>&5 2>&1 &&
13967 echo '#error "pch failed"' > conftest.h &&
13968 echo '#include "conftest.h"' > conftest.cc &&
13969 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13970 then
13971 glibcxx_cv_prog_CXX_pch=yes
13972 else
13973 glibcxx_cv_prog_CXX_pch=no
13975 rm -f conftest*
13976 CXXFLAGS=$ac_save_CXXFLAGS
13977 ac_ext=c
13978 ac_cpp='$CPP $CPPFLAGS'
13979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13985 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13986 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13987 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13990 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13991 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13992 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13993 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13996 if test $enable_libstdcxx_pch = yes; then
13997 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13998 else
13999 glibcxx_PCHFLAGS=""
14006 ac_ext=cc
14007 ac_cpp='$CXXCPP $CPPFLAGS'
14008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14012 old_CXXFLAGS="$CXXFLAGS"
14014 # Compile unoptimized.
14015 CXXFLAGS='-O0 -S'
14017 # Fake what AC_TRY_COMPILE does, without linking as this is
14018 # unnecessary for a builtins test.
14020 cat > conftest.$ac_ext << EOF
14021 #line 14021 "configure"
14022 int main()
14024 // NB: _Atomic_word not necessarily int.
14025 typedef int atomic_type;
14026 atomic_type c1;
14027 atomic_type c2;
14028 const atomic_type c3(0);
14029 __sync_fetch_and_add(&c1, c2);
14030 __sync_val_compare_and_swap(&c1, c3, c2);
14031 __sync_lock_test_and_set(&c1, c3);
14032 __sync_lock_release(&c1);
14033 __sync_synchronize();
14034 return 0;
14038 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14039 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>&5
14042 ac_status=$?
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; then
14045 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14046 enable_atomic_builtinsi=no
14047 else
14049 cat >>confdefs.h <<\_ACEOF
14050 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14051 _ACEOF
14053 enable_atomic_builtinsi=yes
14056 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14057 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14058 rm -f conftest*
14060 cat > conftest.$ac_ext << EOF
14061 #line 14061 "configure"
14062 int main()
14064 typedef bool atomic_type;
14065 atomic_type c1;
14066 atomic_type c2;
14067 const atomic_type c3(0);
14068 __sync_fetch_and_add(&c1, c2);
14069 __sync_val_compare_and_swap(&c1, c3, c2);
14070 __sync_lock_test_and_set(&c1, c3);
14071 __sync_lock_release(&c1);
14072 __sync_synchronize();
14073 return 0;
14077 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14078 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080 (eval $ac_compile) 2>&5
14081 ac_status=$?
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; then
14084 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14085 enable_atomic_builtinsb=no
14086 else
14088 cat >>confdefs.h <<\_ACEOF
14089 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14090 _ACEOF
14092 enable_atomic_builtinsb=yes
14095 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14096 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14097 rm -f conftest*
14099 CXXFLAGS="$old_CXXFLAGS"
14100 ac_ext=c
14101 ac_cpp='$CPP $CPPFLAGS'
14102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14107 # Set atomicity_dir to builtins if either of above tests pass.
14108 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14109 atomicity_dir=cpu/generic/atomicity_builtins
14112 # If still generic, set to mutex.
14113 if test $atomicity_dir = "cpu/generic" ; then
14114 atomicity_dir=cpu/generic/atomicity_mutex
14115 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14116 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14117 if test $target_thread_file = single; then
14118 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14119 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14120 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14121 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14122 else
14123 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14124 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14125 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14126 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14132 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14133 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14134 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14135 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14136 echo "${ECHO_T}$target_thread_file" >&6
14138 if test $target_thread_file != single; then
14140 cat >>confdefs.h <<\_ACEOF
14141 #define HAVE_GTHR_DEFAULT 1
14142 _ACEOF
14146 glibcxx_thread_h=gthr-$target_thread_file.h
14148 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14149 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14150 enable_thread=yes
14151 else
14152 enable_thread=no
14158 # Checks for compiler support that don't require linking.
14160 # All these tests are for C++; save the language and the compiler flags.
14161 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14162 # found in GLIBCXX_CONFIGURE.
14165 ac_ext=cc
14166 ac_cpp='$CXXCPP $CPPFLAGS'
14167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14172 ac_save_CXXFLAGS="$CXXFLAGS"
14174 # Check for maintainer-mode bits.
14175 if test x"$USE_MAINTAINER_MODE" = xno; then
14176 WERROR=''
14177 else
14178 WERROR='-Werror'
14181 # Check for -ffunction-sections -fdata-sections
14182 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14183 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14184 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14185 cat >conftest.$ac_ext <<_ACEOF
14186 /* confdefs.h. */
14187 _ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 int foo; void bar() { };
14193 main ()
14197 return 0;
14199 _ACEOF
14200 rm -f conftest.$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>conftest.er1
14203 ac_status=$?
14204 grep -v '^ *+' conftest.er1 >conftest.err
14205 rm -f conftest.er1
14206 cat conftest.err >&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); } &&
14209 { ac_try='test -z "$ac_cxx_werror_flag"
14210 || test ! -s conftest.err'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14213 ac_status=$?
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; } &&
14216 { ac_try='test -s conftest.$ac_objext'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14219 ac_status=$?
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; }; then
14222 ac_fdsections=yes
14223 else
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14227 ac_fdsections=no
14229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14230 if test "$ac_test_CXXFLAGS" = set; then
14231 CXXFLAGS="$ac_save_CXXFLAGS"
14232 else
14233 # this is the suspicious part
14234 CXXFLAGS=''
14236 if test x"$ac_fdsections" = x"yes"; then
14237 SECTION_FLAGS='-ffunction-sections -fdata-sections'
14239 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14240 echo "${ECHO_T}$ac_fdsections" >&6
14242 ac_ext=c
14243 ac_cpp='$CPP $CPPFLAGS'
14244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14253 echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14254 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14255 if test "${ac_standard_layout+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14257 else
14261 ac_ext=cc
14262 ac_cpp='$CXXCPP $CPPFLAGS'
14263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14267 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14268 ac_save_CXXFLAGS="$CXXFLAGS"
14269 CXXFLAGS='-std=gnu++0x'
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 struct b
14279 bool t;
14281 // Need standard layout relaxation from POD
14282 private:
14283 b& operator=(const b&);
14284 b(const b&);
14287 int main()
14289 b tst1 = { false };
14290 return 0;
14293 main ()
14297 return 0;
14299 _ACEOF
14300 rm -f conftest.$ac_objext
14301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14302 (eval $ac_compile) 2>conftest.er1
14303 ac_status=$?
14304 grep -v '^ *+' conftest.er1 >conftest.err
14305 rm -f conftest.er1
14306 cat conftest.err >&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } &&
14309 { ac_try='test -z "$ac_cxx_werror_flag"
14310 || test ! -s conftest.err'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; } &&
14316 { ac_try='test -s conftest.$ac_objext'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14319 ac_status=$?
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; }; then
14322 ac_standard_layout=yes
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_standard_layout=no
14329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14331 CXXFLAGS="$ac_save_CXXFLAGS"
14332 ac_ext=c
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14341 echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14342 echo "${ECHO_T}$ac_standard_layout" >&6
14343 if test x"$ac_standard_layout" = x"yes"; then
14345 cat >>confdefs.h <<\_ACEOF
14346 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14347 _ACEOF
14352 # Enable all the variable C++ runtime options that doesn't require linking.
14354 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14355 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14356 # Check whether --enable-cstdio or --disable-cstdio was given.
14357 if test "${enable_cstdio+set}" = set; then
14358 enableval="$enable_cstdio"
14360 case "$enableval" in
14361 stdio) ;;
14362 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14363 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14364 { (exit 1); exit 1; }; } ;;
14365 esac
14367 else
14368 enable_cstdio=stdio
14372 # Now that libio has been removed, you can have any color you want as long
14373 # as it's black. This is one big no-op until other packages are added, but
14374 # showing the framework never hurts.
14375 case ${enable_cstdio} in
14376 stdio)
14377 CSTDIO_H=config/io/c_io_stdio.h
14378 BASIC_FILE_H=config/io/basic_file_stdio.h
14379 BASIC_FILE_CC=config/io/basic_file_stdio.cc
14380 echo "$as_me:$LINENO: result: stdio" >&5
14381 echo "${ECHO_T}stdio" >&6
14383 esac
14390 # Check whether --enable-clocale or --disable-clocale was given.
14391 if test "${enable_clocale+set}" = set; then
14392 enableval="$enable_clocale"
14394 case "$enableval" in
14395 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14396 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14397 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14398 { (exit 1); exit 1; }; } ;;
14399 esac
14401 else
14402 enable_clocale=auto
14406 # Deal with gettext issues. Default to not using it (=no) until we detect
14407 # support for it later. Let the user turn it off via --e/d, but let that
14408 # default to on for easier handling.
14409 USE_NLS=no
14410 # Check whether --enable-nls or --disable-nls was given.
14411 if test "${enable_nls+set}" = set; then
14412 enableval="$enable_nls"
14414 else
14415 enable_nls=yes
14418 # Either a known packaage, or "auto"
14419 if test $enable_clocale = no || test $enable_clocale = yes; then
14420 enable_clocale=auto
14422 enable_clocale_flag=$enable_clocale
14424 # Probe for locale model to use if none specified.
14425 # Default to "generic".
14426 if test $enable_clocale_flag = auto; then
14427 case ${target_os} in
14428 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14429 enable_clocale_flag=gnu
14431 darwin* | freebsd*)
14432 enable_clocale_flag=darwin
14435 enable_clocale_flag=generic
14437 esac
14440 # Sanity check model, and test for special functionality.
14441 if test $enable_clocale_flag = gnu; then
14442 cat >conftest.$ac_ext <<_ACEOF
14443 /* confdefs.h. */
14444 _ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14449 #include <features.h>
14450 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14451 _GLIBCXX_ok
14452 #endif
14454 _ACEOF
14455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14456 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14457 enable_clocale_flag=gnu
14458 else
14459 enable_clocale_flag=generic
14461 rm -f conftest*
14464 if test $enable_clocale = auto; then
14465 # Test for bugs early in glibc-2.2.x series
14466 if test "$cross_compiling" = yes; then
14467 enable_clocale_flag=generic
14468 else
14469 cat >conftest.$ac_ext <<_ACEOF
14470 /* confdefs.h. */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14476 #define _GNU_SOURCE 1
14477 #include <locale.h>
14478 #include <string.h>
14479 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14480 extern __typeof(newlocale) __newlocale;
14481 extern __typeof(duplocale) __duplocale;
14482 extern __typeof(strcoll_l) __strcoll_l;
14483 #endif
14484 int main()
14486 const char __one[] = "Äuglein Augmen";
14487 const char __two[] = "Äuglein";
14488 int i;
14489 int j;
14490 __locale_t loc;
14491 __locale_t loc_dup;
14492 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14493 loc_dup = __duplocale(loc);
14494 i = __strcoll_l(__one, __two, loc);
14495 j = __strcoll_l(__one, __two, loc_dup);
14496 return 0;
14499 _ACEOF
14500 rm -f conftest$ac_exeext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14502 (eval $ac_link) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 enable_clocale_flag=gnu
14512 else
14513 echo "$as_me: program exited with status $ac_status" >&5
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 ( exit $ac_status )
14518 enable_clocale_flag=generic
14520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14524 # Set it to scream when it hurts.
14525 ac_save_CFLAGS="$CFLAGS"
14526 CFLAGS="-Wimplicit-function-declaration -Werror"
14528 # Use strxfrm_l if available.
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 #define _GNU_SOURCE 1
14536 #include <string.h>
14537 #include <locale.h>
14539 main ()
14541 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14543 return 0;
14545 _ACEOF
14546 rm -f conftest.$ac_objext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548 (eval $ac_compile) 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try='test -z "$ac_c_werror_flag"
14556 || test ! -s conftest.err'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; } &&
14562 { ac_try='test -s conftest.$ac_objext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14569 cat >>confdefs.h <<\_ACEOF
14570 #define HAVE_STRXFRM_L 1
14571 _ACEOF
14573 else
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14580 # Use strerror_l if available.
14581 cat >conftest.$ac_ext <<_ACEOF
14582 /* confdefs.h. */
14583 _ACEOF
14584 cat confdefs.h >>conftest.$ac_ext
14585 cat >>conftest.$ac_ext <<_ACEOF
14586 /* end confdefs.h. */
14587 #define _GNU_SOURCE 1
14588 #include <string.h>
14589 #include <locale.h>
14591 main ()
14593 __locale_t loc; strerror_l(5, loc);
14595 return 0;
14597 _ACEOF
14598 rm -f conftest.$ac_objext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14600 (eval $ac_compile) 2>conftest.er1
14601 ac_status=$?
14602 grep -v '^ *+' conftest.er1 >conftest.err
14603 rm -f conftest.er1
14604 cat conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } &&
14607 { ac_try='test -z "$ac_c_werror_flag"
14608 || test ! -s conftest.err'
14609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610 (eval $ac_try) 2>&5
14611 ac_status=$?
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; } &&
14614 { ac_try='test -s conftest.$ac_objext'
14615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616 (eval $ac_try) 2>&5
14617 ac_status=$?
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); }; }; then
14621 cat >>confdefs.h <<\_ACEOF
14622 #define HAVE_STRERROR_L 1
14623 _ACEOF
14625 else
14626 echo "$as_me: failed program was:" >&5
14627 sed 's/^/| /' conftest.$ac_ext >&5
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14632 CFLAGS="$ac_save_CFLAGS"
14635 # Perhaps use strerror_r if available, and strerror_l isn't.
14636 ac_save_CFLAGS="$CFLAGS"
14637 CFLAGS="-Wimplicit-function-declaration -Werror"
14638 cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h. */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644 #define _GNU_SOURCE 1
14645 #include <string.h>
14646 #include <locale.h>
14648 main ()
14650 char s[128]; strerror_r(5, s, 128);
14652 return 0;
14654 _ACEOF
14655 rm -f conftest.$ac_objext
14656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14657 (eval $ac_compile) 2>conftest.er1
14658 ac_status=$?
14659 grep -v '^ *+' conftest.er1 >conftest.err
14660 rm -f conftest.er1
14661 cat conftest.err >&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } &&
14664 { ac_try='test -z "$ac_c_werror_flag"
14665 || test ! -s conftest.err'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; } &&
14671 { ac_try='test -s conftest.$ac_objext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14678 cat >>confdefs.h <<\_ACEOF
14679 #define HAVE_STRERROR_R 1
14680 _ACEOF
14682 else
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14688 CFLAGS="$ac_save_CFLAGS"
14690 # Set configure bits for specified locale package
14691 echo "$as_me:$LINENO: checking for C locale to use" >&5
14692 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14693 case ${enable_clocale_flag} in
14694 generic)
14695 echo "$as_me:$LINENO: result: generic" >&5
14696 echo "${ECHO_T}generic" >&6
14698 CLOCALE_H=config/locale/generic/c_locale.h
14699 CLOCALE_CC=config/locale/generic/c_locale.cc
14700 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14701 CCOLLATE_CC=config/locale/generic/collate_members.cc
14702 CCTYPE_CC=config/locale/generic/ctype_members.cc
14703 CMESSAGES_H=config/locale/generic/messages_members.h
14704 CMESSAGES_CC=config/locale/generic/messages_members.cc
14705 CMONEY_CC=config/locale/generic/monetary_members.cc
14706 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14707 CTIME_H=config/locale/generic/time_members.h
14708 CTIME_CC=config/locale/generic/time_members.cc
14709 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14711 darwin)
14712 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14713 echo "${ECHO_T}darwin or freebsd" >&6
14715 CLOCALE_H=config/locale/generic/c_locale.h
14716 CLOCALE_CC=config/locale/generic/c_locale.cc
14717 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14718 CCOLLATE_CC=config/locale/generic/collate_members.cc
14719 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14720 CMESSAGES_H=config/locale/generic/messages_members.h
14721 CMESSAGES_CC=config/locale/generic/messages_members.cc
14722 CMONEY_CC=config/locale/generic/monetary_members.cc
14723 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14724 CTIME_H=config/locale/generic/time_members.h
14725 CTIME_CC=config/locale/generic/time_members.cc
14726 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14729 gnu)
14730 echo "$as_me:$LINENO: result: gnu" >&5
14731 echo "${ECHO_T}gnu" >&6
14733 # Declare intention to use gettext, and add support for specific
14734 # languages.
14735 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14736 ALL_LINGUAS="de fr"
14738 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14739 # Extract the first word of "msgfmt", so it can be a program name with args.
14740 set dummy msgfmt; ac_word=$2
14741 echo "$as_me:$LINENO: checking for $ac_word" >&5
14742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14743 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746 if test -n "$check_msgfmt"; then
14747 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14748 else
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH
14752 IFS=$as_save_IFS
14753 test -z "$as_dir" && as_dir=.
14754 for ac_exec_ext in '' $ac_executable_extensions; do
14755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14756 ac_cv_prog_check_msgfmt="yes"
14757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14758 break 2
14760 done
14761 done
14763 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14766 check_msgfmt=$ac_cv_prog_check_msgfmt
14767 if test -n "$check_msgfmt"; then
14768 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14769 echo "${ECHO_T}$check_msgfmt" >&6
14770 else
14771 echo "$as_me:$LINENO: result: no" >&5
14772 echo "${ECHO_T}no" >&6
14775 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14776 USE_NLS=yes
14778 # Export the build objects.
14779 for ling in $ALL_LINGUAS; do \
14780 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14781 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14782 done
14786 CLOCALE_H=config/locale/gnu/c_locale.h
14787 CLOCALE_CC=config/locale/gnu/c_locale.cc
14788 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14789 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14790 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14791 CMESSAGES_H=config/locale/gnu/messages_members.h
14792 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14793 CMONEY_CC=config/locale/gnu/monetary_members.cc
14794 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14795 CTIME_H=config/locale/gnu/time_members.h
14796 CTIME_CC=config/locale/gnu/time_members.cc
14797 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14799 ieee_1003.1-2001)
14800 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14801 echo "${ECHO_T}IEEE 1003.1" >&6
14803 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14804 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14805 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14806 CCOLLATE_CC=config/locale/generic/collate_members.cc
14807 CCTYPE_CC=config/locale/generic/ctype_members.cc
14808 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14809 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14810 CMONEY_CC=config/locale/generic/monetary_members.cc
14811 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14812 CTIME_H=config/locale/generic/time_members.h
14813 CTIME_CC=config/locale/generic/time_members.cc
14814 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14816 esac
14818 # This is where the testsuite looks for locale catalogs, using the
14819 # -DLOCALEDIR define during testsuite compilation.
14820 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14823 # A standalone libintl (e.g., GNU libintl) may be in use.
14824 if test $USE_NLS = yes; then
14826 for ac_header in libintl.h
14828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14830 echo "$as_me:$LINENO: checking for $ac_header" >&5
14831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14837 else
14838 # Is the header compilable?
14839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h. */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847 $ac_includes_default
14848 #include <$ac_header>
14849 _ACEOF
14850 rm -f conftest.$ac_objext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14852 (eval $ac_compile) 2>conftest.er1
14853 ac_status=$?
14854 grep -v '^ *+' conftest.er1 >conftest.err
14855 rm -f conftest.er1
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try='test -z "$ac_c_werror_flag"
14860 || test ! -s conftest.err'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_header_compiler=yes
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14877 ac_header_compiler=no
14879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14881 echo "${ECHO_T}$ac_header_compiler" >&6
14883 # Is the header present?
14884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14886 cat >conftest.$ac_ext <<_ACEOF
14887 /* confdefs.h. */
14888 _ACEOF
14889 cat confdefs.h >>conftest.$ac_ext
14890 cat >>conftest.$ac_ext <<_ACEOF
14891 /* end confdefs.h. */
14892 #include <$ac_header>
14893 _ACEOF
14894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14896 ac_status=$?
14897 grep -v '^ *+' conftest.er1 >conftest.err
14898 rm -f conftest.er1
14899 cat conftest.err >&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } >/dev/null; then
14902 if test -s conftest.err; then
14903 ac_cpp_err=$ac_c_preproc_warn_flag
14904 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14905 else
14906 ac_cpp_err=
14908 else
14909 ac_cpp_err=yes
14911 if test -z "$ac_cpp_err"; then
14912 ac_header_preproc=yes
14913 else
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14917 ac_header_preproc=no
14919 rm -f conftest.err conftest.$ac_ext
14920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14921 echo "${ECHO_T}$ac_header_preproc" >&6
14923 # So? What about this header?
14924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14925 yes:no: )
14926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14930 ac_header_preproc=yes
14932 no:yes:* )
14933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14936 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14937 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14939 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14940 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14946 cat <<\_ASBOX
14947 ## ----------------------------------------- ##
14948 ## Report this to the package-unused lists. ##
14949 ## ----------------------------------------- ##
14950 _ASBOX
14952 sed "s/^/$as_me: WARNING: /" >&2
14954 esac
14955 echo "$as_me:$LINENO: checking for $ac_header" >&5
14956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960 eval "$as_ac_Header=\$ac_header_preproc"
14962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14967 cat >>confdefs.h <<_ACEOF
14968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14969 _ACEOF
14971 else
14972 USE_NLS=no
14975 done
14977 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14978 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14979 if test "${ac_cv_search_gettext+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982 ac_func_search_save_LIBS=$LIBS
14983 ac_cv_search_gettext=no
14984 if test x$gcc_no_link = xyes; then
14985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14987 { (exit 1); exit 1; }; }
14989 cat >conftest.$ac_ext <<_ACEOF
14990 /* confdefs.h. */
14991 _ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
14996 /* Override any gcc2 internal prototype to avoid an error. */
14997 #ifdef __cplusplus
14998 extern "C"
14999 #endif
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15002 char gettext ();
15004 main ()
15006 gettext ();
15008 return 0;
15010 _ACEOF
15011 rm -f conftest.$ac_objext conftest$ac_exeext
15012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15013 (eval $ac_link) 2>conftest.er1
15014 ac_status=$?
15015 grep -v '^ *+' conftest.er1 >conftest.err
15016 rm -f conftest.er1
15017 cat conftest.err >&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try='test -z "$ac_c_werror_flag"
15021 || test ! -s conftest.err'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15024 ac_status=$?
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; } &&
15027 { ac_try='test -s conftest$ac_exeext'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15030 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; }; then
15033 ac_cv_search_gettext="none required"
15034 else
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.$ac_ext >&5
15039 rm -f conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 if test "$ac_cv_search_gettext" = no; then
15042 for ac_lib in intl; do
15043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15044 if test x$gcc_no_link = xyes; then
15045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15047 { (exit 1); exit 1; }; }
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h. */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15056 /* Override any gcc2 internal prototype to avoid an error. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 /* We use char because int might match the return type of a gcc2
15061 builtin and then its argument prototype would still apply. */
15062 char gettext ();
15064 main ()
15066 gettext ();
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext conftest$ac_exeext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15073 (eval $ac_link) 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_exeext'
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 ac_cv_search_gettext="-l$ac_lib"
15094 break
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15100 rm -f conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 done
15104 LIBS=$ac_func_search_save_LIBS
15106 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15107 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15108 if test "$ac_cv_search_gettext" != no; then
15109 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15111 else
15112 USE_NLS=no
15116 if test $USE_NLS = yes; then
15118 cat >>confdefs.h <<\_ACEOF
15119 #define _GLIBCXX_USE_NLS 1
15120 _ACEOF
15139 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15140 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15141 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15142 if test "${enable_libstdcxx_allocator+set}" = set; then
15143 enableval="$enable_libstdcxx_allocator"
15145 case "$enableval" in
15146 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15147 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15148 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15149 { (exit 1); exit 1; }; } ;;
15150 esac
15152 else
15153 enable_libstdcxx_allocator=auto
15157 # If they didn't use this option switch, or if they specified --enable
15158 # with no specific model, we'll have to look for one. If they
15159 # specified --disable (???), do likewise.
15160 if test $enable_libstdcxx_allocator = no ||
15161 test $enable_libstdcxx_allocator = yes;
15162 then
15163 enable_libstdcxx_allocator=auto
15166 # Either a known package, or "auto". Auto implies the default choice
15167 # for a particular platform.
15168 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15170 # Probe for host-specific support if no specific model is specified.
15171 # Default to "new".
15172 if test $enable_libstdcxx_allocator_flag = auto; then
15173 case ${target_os} in
15174 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15175 enable_libstdcxx_allocator_flag=new
15178 enable_libstdcxx_allocator_flag=new
15180 esac
15182 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15183 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15186 # Set configure bits for specified locale package
15187 case ${enable_libstdcxx_allocator_flag} in
15188 bitmap)
15189 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15190 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15192 malloc)
15193 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15194 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15197 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15198 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15200 new)
15201 ALLOCATOR_H=config/allocator/new_allocator_base.h
15202 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15204 pool)
15205 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15206 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15208 esac
15214 # Check whether --enable-cheaders or --disable-cheaders was given.
15215 if test "${enable_cheaders+set}" = set; then
15216 enableval="$enable_cheaders"
15218 case "$enableval" in
15219 c|c_std|c_global) ;;
15220 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15221 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15222 { (exit 1); exit 1; }; } ;;
15223 esac
15225 else
15226 enable_cheaders=$c_model
15229 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15230 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15232 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15234 # Allow overrides to configure.host here.
15235 if test $enable_cheaders = c_global; then
15236 c_compatibility=yes
15239 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15240 c_extra=yes
15250 # Check whether --enable-long-long or --disable-long-long was given.
15251 if test "${enable_long_long+set}" = set; then
15252 enableval="$enable_long_long"
15254 case "$enableval" in
15255 yes|no) ;;
15256 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15257 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15258 { (exit 1); exit 1; }; } ;;
15259 esac
15261 else
15262 enable_long_long=yes
15265 if test $enable_long_long = yes; then
15267 cat >>confdefs.h <<\_ACEOF
15268 #define _GLIBCXX_USE_LONG_LONG 1
15269 _ACEOF
15272 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15273 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15274 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15275 echo "${ECHO_T}$enable_long_long" >&6
15278 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15279 if test "${enable_wchar_t+set}" = set; then
15280 enableval="$enable_wchar_t"
15282 case "$enableval" in
15283 yes|no) ;;
15284 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15285 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15286 { (exit 1); exit 1; }; } ;;
15287 esac
15289 else
15290 enable_wchar_t=yes
15294 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15296 for ac_header in wchar.h
15298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15300 echo "$as_me:$LINENO: checking for $ac_header" >&5
15301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15307 else
15308 # Is the header compilable?
15309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15311 cat >conftest.$ac_ext <<_ACEOF
15312 /* confdefs.h. */
15313 _ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15317 $ac_includes_default
15318 #include <$ac_header>
15319 _ACEOF
15320 rm -f conftest.$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322 (eval $ac_compile) 2>conftest.er1
15323 ac_status=$?
15324 grep -v '^ *+' conftest.er1 >conftest.err
15325 rm -f conftest.er1
15326 cat conftest.err >&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); } &&
15329 { ac_try='test -z "$ac_c_werror_flag"
15330 || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15333 ac_status=$?
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try='test -s conftest.$ac_objext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15342 ac_header_compiler=yes
15343 else
15344 echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.$ac_ext >&5
15347 ac_header_compiler=no
15349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15351 echo "${ECHO_T}$ac_header_compiler" >&6
15353 # Is the header present?
15354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15356 cat >conftest.$ac_ext <<_ACEOF
15357 /* confdefs.h. */
15358 _ACEOF
15359 cat confdefs.h >>conftest.$ac_ext
15360 cat >>conftest.$ac_ext <<_ACEOF
15361 /* end confdefs.h. */
15362 #include <$ac_header>
15363 _ACEOF
15364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15366 ac_status=$?
15367 grep -v '^ *+' conftest.er1 >conftest.err
15368 rm -f conftest.er1
15369 cat conftest.err >&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } >/dev/null; then
15372 if test -s conftest.err; then
15373 ac_cpp_err=$ac_c_preproc_warn_flag
15374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15375 else
15376 ac_cpp_err=
15378 else
15379 ac_cpp_err=yes
15381 if test -z "$ac_cpp_err"; then
15382 ac_header_preproc=yes
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15387 ac_header_preproc=no
15389 rm -f conftest.err conftest.$ac_ext
15390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15391 echo "${ECHO_T}$ac_header_preproc" >&6
15393 # So? What about this header?
15394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15395 yes:no: )
15396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15400 ac_header_preproc=yes
15402 no:yes:* )
15403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15416 cat <<\_ASBOX
15417 ## ----------------------------------------- ##
15418 ## Report this to the package-unused lists. ##
15419 ## ----------------------------------------- ##
15420 _ASBOX
15422 sed "s/^/$as_me: WARNING: /" >&2
15424 esac
15425 echo "$as_me:$LINENO: checking for $ac_header" >&5
15426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430 eval "$as_ac_Header=\$ac_header_preproc"
15432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15437 cat >>confdefs.h <<_ACEOF
15438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15439 _ACEOF
15440 ac_has_wchar_h=yes
15441 else
15442 ac_has_wchar_h=no
15445 done
15447 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15448 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15449 cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 #include <wchar.h>
15457 main ()
15459 mbstate_t teststate;
15461 return 0;
15463 _ACEOF
15464 rm -f conftest.$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } &&
15473 { ac_try='test -z "$ac_c_werror_flag"
15474 || test ! -s conftest.err'
15475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476 (eval $ac_try) 2>&5
15477 ac_status=$?
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }; } &&
15480 { ac_try='test -s conftest.$ac_objext'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15483 ac_status=$?
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; }; then
15486 have_mbstate_t=yes
15487 else
15488 echo "$as_me: failed program was:" >&5
15489 sed 's/^/| /' conftest.$ac_ext >&5
15491 have_mbstate_t=no
15493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15494 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15495 echo "${ECHO_T}$have_mbstate_t" >&6
15496 if test x"$have_mbstate_t" = xyes; then
15498 cat >>confdefs.h <<\_ACEOF
15499 #define HAVE_MBSTATE_T 1
15500 _ACEOF
15504 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15505 # ac_has_wchar_h.
15507 for ac_header in wctype.h
15509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15511 echo "$as_me:$LINENO: checking for $ac_header" >&5
15512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15518 else
15519 # Is the header compilable?
15520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15522 cat >conftest.$ac_ext <<_ACEOF
15523 /* confdefs.h. */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15529 #include <$ac_header>
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533 (eval $ac_compile) 2>conftest.er1
15534 ac_status=$?
15535 grep -v '^ *+' conftest.er1 >conftest.err
15536 rm -f conftest.er1
15537 cat conftest.err >&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } &&
15540 { ac_try='test -z "$ac_c_werror_flag"
15541 || test ! -s conftest.err'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15544 ac_status=$?
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; } &&
15547 { ac_try='test -s conftest.$ac_objext'
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549 (eval $ac_try) 2>&5
15550 ac_status=$?
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; }; then
15553 ac_header_compiler=yes
15554 else
15555 echo "$as_me: failed program was:" >&5
15556 sed 's/^/| /' conftest.$ac_ext >&5
15558 ac_header_compiler=no
15560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15562 echo "${ECHO_T}$ac_header_compiler" >&6
15564 # Is the header present?
15565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573 #include <$ac_header>
15574 _ACEOF
15575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15577 ac_status=$?
15578 grep -v '^ *+' conftest.er1 >conftest.err
15579 rm -f conftest.er1
15580 cat conftest.err >&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } >/dev/null; then
15583 if test -s conftest.err; then
15584 ac_cpp_err=$ac_c_preproc_warn_flag
15585 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15586 else
15587 ac_cpp_err=
15589 else
15590 ac_cpp_err=yes
15592 if test -z "$ac_cpp_err"; then
15593 ac_header_preproc=yes
15594 else
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15598 ac_header_preproc=no
15600 rm -f conftest.err conftest.$ac_ext
15601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15602 echo "${ECHO_T}$ac_header_preproc" >&6
15604 # So? What about this header?
15605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15606 yes:no: )
15607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15611 ac_header_preproc=yes
15613 no:yes:* )
15614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15627 cat <<\_ASBOX
15628 ## ----------------------------------------- ##
15629 ## Report this to the package-unused lists. ##
15630 ## ----------------------------------------- ##
15631 _ASBOX
15633 sed "s/^/$as_me: WARNING: /" >&2
15635 esac
15636 echo "$as_me:$LINENO: checking for $ac_header" >&5
15637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 else
15641 eval "$as_ac_Header=\$ac_header_preproc"
15643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15648 cat >>confdefs.h <<_ACEOF
15649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15650 _ACEOF
15651 ac_has_wctype_h=yes
15652 else
15653 ac_has_wctype_h=no
15656 done
15659 if test x"$enable_wchar_t" = x"yes"; then
15663 ac_ext=cc
15664 ac_cpp='$CXXCPP $CPPFLAGS'
15665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15670 if test x"$ac_has_wchar_h" = xyes &&
15671 test x"$ac_has_wctype_h" = xyes; then
15672 cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h. */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678 #include <wchar.h>
15679 #include <stddef.h>
15680 wint_t i;
15681 long l = WEOF;
15682 long j = WCHAR_MIN;
15683 long k = WCHAR_MAX;
15684 namespace test
15686 using ::btowc;
15687 using ::fgetwc;
15688 using ::fgetws;
15689 using ::fputwc;
15690 using ::fputws;
15691 using ::fwide;
15692 using ::fwprintf;
15693 using ::fwscanf;
15694 using ::getwc;
15695 using ::getwchar;
15696 using ::mbrlen;
15697 using ::mbrtowc;
15698 using ::mbsinit;
15699 using ::mbsrtowcs;
15700 using ::putwc;
15701 using ::putwchar;
15702 using ::swprintf;
15703 using ::swscanf;
15704 using ::ungetwc;
15705 using ::vfwprintf;
15706 using ::vswprintf;
15707 using ::vwprintf;
15708 using ::wcrtomb;
15709 using ::wcscat;
15710 using ::wcschr;
15711 using ::wcscmp;
15712 using ::wcscoll;
15713 using ::wcscpy;
15714 using ::wcscspn;
15715 using ::wcsftime;
15716 using ::wcslen;
15717 using ::wcsncat;
15718 using ::wcsncmp;
15719 using ::wcsncpy;
15720 using ::wcspbrk;
15721 using ::wcsrchr;
15722 using ::wcsrtombs;
15723 using ::wcsspn;
15724 using ::wcsstr;
15725 using ::wcstod;
15726 using ::wcstok;
15727 using ::wcstol;
15728 using ::wcstoul;
15729 using ::wcsxfrm;
15730 using ::wctob;
15731 using ::wmemchr;
15732 using ::wmemcmp;
15733 using ::wmemcpy;
15734 using ::wmemmove;
15735 using ::wmemset;
15736 using ::wprintf;
15737 using ::wscanf;
15741 main ()
15745 return 0;
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>conftest.er1
15751 ac_status=$?
15752 grep -v '^ *+' conftest.er1 >conftest.err
15753 rm -f conftest.er1
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -z "$ac_cxx_werror_flag"
15758 || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15767 ac_status=$?
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15771 else
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15775 enable_wchar_t=no
15777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15778 else
15779 enable_wchar_t=no
15782 ac_ext=c
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790 if test x"$enable_wchar_t" = x"yes"; then
15792 cat >>confdefs.h <<\_ACEOF
15793 #define _GLIBCXX_USE_WCHAR_T 1
15794 _ACEOF
15798 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15799 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15800 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15801 echo "${ECHO_T}$enable_wchar_t" >&6
15805 # Check whether --enable-c99 or --disable-c99 was given.
15806 if test "${enable_c99+set}" = set; then
15807 enableval="$enable_c99"
15809 case "$enableval" in
15810 yes|no) ;;
15811 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15812 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15813 { (exit 1); exit 1; }; } ;;
15814 esac
15816 else
15817 enable_c99=yes
15821 if test x"$enable_c99" = x"yes"; then
15825 ac_ext=cc
15826 ac_cpp='$CXXCPP $CPPFLAGS'
15827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15832 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15833 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15834 # spuriously enabled.
15835 # Long term, -std=c++0x could be even better, could manage to explicitely
15836 # request C99 facilities to the underlying C headers.
15837 ac_save_CXXFLAGS="$CXXFLAGS"
15838 CXXFLAGS="$CXXFLAGS -std=c++98"
15839 ac_save_LIBS="$LIBS"
15840 ac_save_gcc_no_link="$gcc_no_link"
15842 if test x$gcc_no_link != xyes; then
15843 # Use -fno-exceptions to that the C driver can link these tests without
15844 # hitting undefined references to personality routines.
15845 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15847 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15848 if test "${ac_cv_lib_m_sin+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851 ac_check_lib_save_LIBS=$LIBS
15852 LIBS="-lm $LIBS"
15853 if test x$gcc_no_link = xyes; then
15854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15856 { (exit 1); exit 1; }; }
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15865 /* Override any gcc2 internal prototype to avoid an error. */
15866 #ifdef __cplusplus
15867 extern "C"
15868 #endif
15869 /* We use char because int might match the return type of a gcc2
15870 builtin and then its argument prototype would still apply. */
15871 char sin ();
15873 main ()
15875 sin ();
15877 return 0;
15879 _ACEOF
15880 rm -f conftest.$ac_objext conftest$ac_exeext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15882 (eval $ac_link) 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try='test -z "$ac_cxx_werror_flag"
15890 || test ! -s conftest.err'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15893 ac_status=$?
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; } &&
15896 { ac_try='test -s conftest$ac_exeext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15899 ac_status=$?
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 ac_cv_lib_m_sin=yes
15903 else
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15907 ac_cv_lib_m_sin=no
15909 rm -f conftest.err conftest.$ac_objext \
15910 conftest$ac_exeext conftest.$ac_ext
15911 LIBS=$ac_check_lib_save_LIBS
15913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15914 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15915 if test $ac_cv_lib_m_sin = yes; then
15917 LIBS="$LIBS -lm"
15919 else
15921 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15922 gcc_no_link=yes
15928 # Check for the existence of <math.h> functions used if C99 is enabled.
15929 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15930 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15931 if test "${glibcxx_cv_c99_math+set}" = set; then
15932 echo $ECHO_N "(cached) $ECHO_C" >&6
15933 else
15935 if test x$gcc_no_link = xyes; then
15936 cat >conftest.$ac_ext <<_ACEOF
15937 /* confdefs.h. */
15938 _ACEOF
15939 cat confdefs.h >>conftest.$ac_ext
15940 cat >>conftest.$ac_ext <<_ACEOF
15941 /* end confdefs.h. */
15942 #include <math.h>
15943 volatile double d1, d2;
15944 volatile int i;
15946 main ()
15948 i = fpclassify(d1);
15949 i = isfinite(d1);
15950 i = isinf(d1);
15951 i = isnan(d1);
15952 i = isnormal(d1);
15953 i = signbit(d1);
15954 i = isgreater(d1, d2);
15955 i = isgreaterequal(d1, d2);
15956 i = isless(d1, d2);
15957 i = islessequal(d1, d2);
15958 i = islessgreater(d1, d2);
15959 i = islessgreater(d1, d2);
15960 i = isunordered(d1, d2);
15963 return 0;
15965 _ACEOF
15966 rm -f conftest.$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968 (eval $ac_compile) 2>conftest.er1
15969 ac_status=$?
15970 grep -v '^ *+' conftest.er1 >conftest.err
15971 rm -f conftest.er1
15972 cat conftest.err >&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try='test -z "$ac_cxx_werror_flag"
15976 || test ! -s conftest.err'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15979 ac_status=$?
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try='test -s conftest.$ac_objext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15985 ac_status=$?
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 glibcxx_cv_c99_math=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15993 glibcxx_cv_c99_math=no
15995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15996 else
15997 if test x$gcc_no_link = xyes; then
15998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16000 { (exit 1); exit 1; }; }
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 #include <math.h>
16009 volatile double d1, d2;
16010 volatile int i;
16012 main ()
16014 i = fpclassify(d1);
16015 i = isfinite(d1);
16016 i = isinf(d1);
16017 i = isnan(d1);
16018 i = isnormal(d1);
16019 i = signbit(d1);
16020 i = isgreater(d1, d2);
16021 i = isgreaterequal(d1, d2);
16022 i = isless(d1, d2);
16023 i = islessequal(d1, d2);
16024 i = islessgreater(d1, d2);
16025 i = islessgreater(d1, d2);
16026 i = isunordered(d1, d2);
16029 return 0;
16031 _ACEOF
16032 rm -f conftest.$ac_objext conftest$ac_exeext
16033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16034 (eval $ac_link) 2>conftest.er1
16035 ac_status=$?
16036 grep -v '^ *+' conftest.er1 >conftest.err
16037 rm -f conftest.er1
16038 cat conftest.err >&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); } &&
16041 { ac_try='test -z "$ac_cxx_werror_flag"
16042 || test ! -s conftest.err'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; } &&
16048 { ac_try='test -s conftest$ac_exeext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 glibcxx_cv_c99_math=yes
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16059 glibcxx_cv_c99_math=no
16061 rm -f conftest.err conftest.$ac_objext \
16062 conftest$ac_exeext conftest.$ac_ext
16067 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16068 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16069 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16071 cat >>confdefs.h <<\_ACEOF
16072 #define _GLIBCXX_USE_C99_MATH 1
16073 _ACEOF
16077 # Check for the existence of <complex.h> complex math functions.
16078 # This is necessary even though libstdc++ uses the builtin versions
16079 # of these functions, because if the builtin cannot be used, a reference
16080 # to the library function is emitted.
16082 for ac_header in tgmath.h
16084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16086 echo "$as_me:$LINENO: checking for $ac_header" >&5
16087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16093 else
16094 # Is the header compilable?
16095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16104 #include <$ac_header>
16105 _ACEOF
16106 rm -f conftest.$ac_objext
16107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16108 (eval $ac_compile) 2>conftest.er1
16109 ac_status=$?
16110 grep -v '^ *+' conftest.er1 >conftest.err
16111 rm -f conftest.er1
16112 cat conftest.err >&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try='test -z "$ac_cxx_werror_flag"
16116 || test ! -s conftest.err'
16117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16118 (eval $ac_try) 2>&5
16119 ac_status=$?
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); }; } &&
16122 { ac_try='test -s conftest.$ac_objext'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; }; then
16128 ac_header_compiler=yes
16129 else
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16133 ac_header_compiler=no
16135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16137 echo "${ECHO_T}$ac_header_compiler" >&6
16139 # Is the header present?
16140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h. */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #include <$ac_header>
16149 _ACEOF
16150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16151 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
16158 if test -s conftest.err; then
16159 ac_cpp_err=$ac_cxx_preproc_warn_flag
16160 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16161 else
16162 ac_cpp_err=
16164 else
16165 ac_cpp_err=yes
16167 if test -z "$ac_cpp_err"; then
16168 ac_header_preproc=yes
16169 else
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16173 ac_header_preproc=no
16175 rm -f conftest.err conftest.$ac_ext
16176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16177 echo "${ECHO_T}$ac_header_preproc" >&6
16179 # So? What about this header?
16180 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16181 yes:no: )
16182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16186 ac_header_preproc=yes
16188 no:yes:* )
16189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16202 cat <<\_ASBOX
16203 ## ----------------------------------------- ##
16204 ## Report this to the package-unused lists. ##
16205 ## ----------------------------------------- ##
16206 _ASBOX
16208 sed "s/^/$as_me: WARNING: /" >&2
16210 esac
16211 echo "$as_me:$LINENO: checking for $ac_header" >&5
16212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216 eval "$as_ac_Header=\$ac_header_preproc"
16218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16223 cat >>confdefs.h <<_ACEOF
16224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16225 _ACEOF
16226 ac_has_tgmath_h=yes
16227 else
16228 ac_has_tgmath_h=no
16231 done
16234 for ac_header in complex.h
16236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16238 echo "$as_me:$LINENO: checking for $ac_header" >&5
16239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16241 echo $ECHO_N "(cached) $ECHO_C" >&6
16243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16245 else
16246 # Is the header compilable?
16247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255 $ac_includes_default
16256 #include <$ac_header>
16257 _ACEOF
16258 rm -f conftest.$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try='test -z "$ac_cxx_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try='test -s conftest.$ac_objext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16277 ac_status=$?
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 ac_header_compiler=yes
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16285 ac_header_compiler=no
16287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16289 echo "${ECHO_T}$ac_header_compiler" >&6
16291 # Is the header present?
16292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h. */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300 #include <$ac_header>
16301 _ACEOF
16302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16304 ac_status=$?
16305 grep -v '^ *+' conftest.er1 >conftest.err
16306 rm -f conftest.er1
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } >/dev/null; then
16310 if test -s conftest.err; then
16311 ac_cpp_err=$ac_cxx_preproc_warn_flag
16312 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16313 else
16314 ac_cpp_err=
16316 else
16317 ac_cpp_err=yes
16319 if test -z "$ac_cpp_err"; then
16320 ac_header_preproc=yes
16321 else
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.$ac_ext >&5
16325 ac_header_preproc=no
16327 rm -f conftest.err conftest.$ac_ext
16328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16329 echo "${ECHO_T}$ac_header_preproc" >&6
16331 # So? What about this header?
16332 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16333 yes:no: )
16334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16338 ac_header_preproc=yes
16340 no:yes:* )
16341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16354 cat <<\_ASBOX
16355 ## ----------------------------------------- ##
16356 ## Report this to the package-unused lists. ##
16357 ## ----------------------------------------- ##
16358 _ASBOX
16360 sed "s/^/$as_me: WARNING: /" >&2
16362 esac
16363 echo "$as_me:$LINENO: checking for $ac_header" >&5
16364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368 eval "$as_ac_Header=\$ac_header_preproc"
16370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16375 cat >>confdefs.h <<_ACEOF
16376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16377 _ACEOF
16378 ac_has_complex_h=yes
16379 else
16380 ac_has_complex_h=no
16383 done
16385 glibcxx_cv_c99_complex=no;
16386 if test x"$ac_has_complex_h" = x"yes"; then
16387 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16388 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16389 if test x$gcc_no_link = xyes; then
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 #include <complex.h>
16397 typedef __complex__ float float_type;
16398 typedef __complex__ double double_type;
16399 typedef __complex__ long double ld_type;
16400 volatile float_type tmpf;
16401 volatile double_type tmpd;
16402 volatile ld_type tmpld;
16403 volatile float f;
16404 volatile double d;
16405 volatile long double ld;
16407 main ()
16409 f = cabsf(tmpf);
16410 f = cargf(tmpf);
16411 tmpf = ccosf(tmpf);
16412 tmpf = ccoshf(tmpf);
16413 tmpf = cexpf(tmpf);
16414 tmpf = clogf(tmpf);
16415 tmpf = csinf(tmpf);
16416 tmpf = csinhf(tmpf);
16417 tmpf = csqrtf(tmpf);
16418 tmpf = ctanf(tmpf);
16419 tmpf = ctanhf(tmpf);
16420 tmpf = cpowf(tmpf, tmpf);
16421 tmpf = cprojf(tmpf);
16422 d = cabs(tmpd);
16423 d = carg(tmpd);
16424 tmpd = ccos(tmpd);
16425 tmpd = ccosh(tmpd);
16426 tmpd = cexp(tmpd);
16427 tmpd = clog(tmpd);
16428 tmpd = csin(tmpd);
16429 tmpd = csinh(tmpd);
16430 tmpd = csqrt(tmpd);
16431 tmpd = ctan(tmpd);
16432 tmpd = ctanh(tmpd);
16433 tmpd = cpow(tmpd, tmpd);
16434 tmpd = cproj(tmpd);
16435 ld = cabsl(tmpld);
16436 ld = cargl(tmpld);
16437 tmpld = ccosl(tmpld);
16438 tmpld = ccoshl(tmpld);
16439 tmpld = cexpl(tmpld);
16440 tmpld = clogl(tmpld);
16441 tmpld = csinl(tmpld);
16442 tmpld = csinhl(tmpld);
16443 tmpld = csqrtl(tmpld);
16444 tmpld = ctanl(tmpld);
16445 tmpld = ctanhl(tmpld);
16446 tmpld = cpowl(tmpld, tmpld);
16447 tmpld = cprojl(tmpld);
16450 return 0;
16452 _ACEOF
16453 rm -f conftest.$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455 (eval $ac_compile) 2>conftest.er1
16456 ac_status=$?
16457 grep -v '^ *+' conftest.er1 >conftest.err
16458 rm -f conftest.er1
16459 cat conftest.err >&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try='test -z "$ac_cxx_werror_flag"
16463 || test ! -s conftest.err'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; } &&
16469 { ac_try='test -s conftest.$ac_objext'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16472 ac_status=$?
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16475 glibcxx_cv_c99_complex=yes
16476 else
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16480 glibcxx_cv_c99_complex=no
16482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16483 else
16484 if test x$gcc_no_link = xyes; then
16485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16487 { (exit 1); exit 1; }; }
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <complex.h>
16496 typedef __complex__ float float_type;
16497 typedef __complex__ double double_type;
16498 typedef __complex__ long double ld_type;
16499 volatile float_type tmpf;
16500 volatile double_type tmpd;
16501 volatile ld_type tmpld;
16502 volatile float f;
16503 volatile double d;
16504 volatile long double ld;
16506 main ()
16508 f = cabsf(tmpf);
16509 f = cargf(tmpf);
16510 tmpf = ccosf(tmpf);
16511 tmpf = ccoshf(tmpf);
16512 tmpf = cexpf(tmpf);
16513 tmpf = clogf(tmpf);
16514 tmpf = csinf(tmpf);
16515 tmpf = csinhf(tmpf);
16516 tmpf = csqrtf(tmpf);
16517 tmpf = ctanf(tmpf);
16518 tmpf = ctanhf(tmpf);
16519 tmpf = cpowf(tmpf, tmpf);
16520 tmpf = cprojf(tmpf);
16521 d = cabs(tmpd);
16522 d = carg(tmpd);
16523 tmpd = ccos(tmpd);
16524 tmpd = ccosh(tmpd);
16525 tmpd = cexp(tmpd);
16526 tmpd = clog(tmpd);
16527 tmpd = csin(tmpd);
16528 tmpd = csinh(tmpd);
16529 tmpd = csqrt(tmpd);
16530 tmpd = ctan(tmpd);
16531 tmpd = ctanh(tmpd);
16532 tmpd = cpow(tmpd, tmpd);
16533 tmpd = cproj(tmpd);
16534 ld = cabsl(tmpld);
16535 ld = cargl(tmpld);
16536 tmpld = ccosl(tmpld);
16537 tmpld = ccoshl(tmpld);
16538 tmpld = cexpl(tmpld);
16539 tmpld = clogl(tmpld);
16540 tmpld = csinl(tmpld);
16541 tmpld = csinhl(tmpld);
16542 tmpld = csqrtl(tmpld);
16543 tmpld = ctanl(tmpld);
16544 tmpld = ctanhl(tmpld);
16545 tmpld = cpowl(tmpld, tmpld);
16546 tmpld = cprojl(tmpld);
16549 return 0;
16551 _ACEOF
16552 rm -f conftest.$ac_objext conftest$ac_exeext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554 (eval $ac_link) 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_cxx_werror_flag"
16562 || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try='test -s conftest$ac_exeext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 glibcxx_cv_c99_complex=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16579 glibcxx_cv_c99_complex=no
16581 rm -f conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16585 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16586 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16587 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16589 cat >>confdefs.h <<\_ACEOF
16590 #define _GLIBCXX_USE_C99_COMPLEX 1
16591 _ACEOF
16595 # Check for the existence in <stdio.h> of vscanf, et. al.
16596 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16597 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16598 if test "${glibcxx_cv_c99_stdio+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16600 else
16602 if test x$gcc_no_link = xyes; then
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #include <stdio.h>
16610 #include <stdarg.h>
16611 void foo(char* fmt, ...)
16613 va_list args; va_start(args, fmt);
16614 vfscanf(stderr, "%i", args);
16615 vscanf("%i", args);
16616 vsnprintf(fmt, 0, "%i", args);
16617 vsscanf(fmt, "%i", args);
16620 main ()
16622 snprintf("12", 0, "%i");
16624 return 0;
16626 _ACEOF
16627 rm -f conftest.$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>conftest.er1
16630 ac_status=$?
16631 grep -v '^ *+' conftest.er1 >conftest.err
16632 rm -f conftest.er1
16633 cat conftest.err >&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try='test -z "$ac_cxx_werror_flag"
16637 || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16640 ac_status=$?
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try='test -s conftest.$ac_objext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16646 ac_status=$?
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 glibcxx_cv_c99_stdio=yes
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 glibcxx_cv_c99_stdio=no
16656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658 if test x$gcc_no_link = xyes; then
16659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16661 { (exit 1); exit 1; }; }
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h. */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16669 #include <stdio.h>
16670 #include <stdarg.h>
16671 void foo(char* fmt, ...)
16673 va_list args; va_start(args, fmt);
16674 vfscanf(stderr, "%i", args);
16675 vscanf("%i", args);
16676 vsnprintf(fmt, 0, "%i", args);
16677 vsscanf(fmt, "%i", args);
16680 main ()
16682 snprintf("12", 0, "%i");
16684 return 0;
16686 _ACEOF
16687 rm -f conftest.$ac_objext conftest$ac_exeext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16689 (eval $ac_link) 2>conftest.er1
16690 ac_status=$?
16691 grep -v '^ *+' conftest.er1 >conftest.err
16692 rm -f conftest.er1
16693 cat conftest.err >&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } &&
16696 { ac_try='test -z "$ac_cxx_werror_flag"
16697 || test ! -s conftest.err'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; } &&
16703 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16709 glibcxx_cv_c99_stdio=yes
16710 else
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16714 glibcxx_cv_c99_stdio=no
16716 rm -f conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16722 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16723 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16725 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16726 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16727 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16728 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16729 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 else
16732 if test x$gcc_no_link = xyes; then
16733 cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h. */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <stdlib.h>
16740 volatile float f;
16741 volatile long double ld;
16742 volatile unsigned long long ll;
16743 lldiv_t mydivt;
16745 main ()
16747 char* tmp;
16748 f = strtof("gnu", &tmp);
16749 ld = strtold("gnu", &tmp);
16750 ll = strtoll("gnu", &tmp, 10);
16751 ll = strtoull("gnu", &tmp, 10);
16752 ll = llabs(10);
16753 mydivt = lldiv(10,1);
16754 ll = mydivt.quot;
16755 ll = mydivt.rem;
16756 ll = atoll("10");
16757 _Exit(0);
16760 return 0;
16762 _ACEOF
16763 rm -f conftest.$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765 (eval $ac_compile) 2>conftest.er1
16766 ac_status=$?
16767 grep -v '^ *+' conftest.er1 >conftest.err
16768 rm -f conftest.er1
16769 cat conftest.err >&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try='test -z "$ac_cxx_werror_flag"
16773 || test ! -s conftest.err'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16776 ac_status=$?
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; } &&
16779 { ac_try='test -s conftest.$ac_objext'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16782 ac_status=$?
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; }; then
16785 glibcxx_cv_c99_stdlib=yes
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16790 glibcxx_cv_c99_stdlib=no
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793 else
16794 if test x$gcc_no_link = xyes; then
16795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16797 { (exit 1); exit 1; }; }
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 #include <stdlib.h>
16806 volatile float f;
16807 volatile long double ld;
16808 volatile unsigned long long ll;
16809 lldiv_t mydivt;
16811 main ()
16813 char* tmp;
16814 f = strtof("gnu", &tmp);
16815 ld = strtold("gnu", &tmp);
16816 ll = strtoll("gnu", &tmp, 10);
16817 ll = strtoull("gnu", &tmp, 10);
16818 ll = llabs(10);
16819 mydivt = lldiv(10,1);
16820 ll = mydivt.quot;
16821 ll = mydivt.rem;
16822 ll = atoll("10");
16823 _Exit(0);
16826 return 0;
16828 _ACEOF
16829 rm -f conftest.$ac_objext conftest$ac_exeext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16831 (eval $ac_link) 2>conftest.er1
16832 ac_status=$?
16833 grep -v '^ *+' conftest.er1 >conftest.err
16834 rm -f conftest.er1
16835 cat conftest.err >&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -z "$ac_cxx_werror_flag"
16839 || test ! -s conftest.err'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; } &&
16845 { ac_try='test -s conftest$ac_exeext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16848 ac_status=$?
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 glibcxx_cv_c99_stdlib=yes
16852 else
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16856 glibcxx_cv_c99_stdlib=no
16858 rm -f conftest.err conftest.$ac_objext \
16859 conftest$ac_exeext conftest.$ac_ext
16864 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16865 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16867 # Check for the existence in <wchar.h> of wcstold, etc.
16868 glibcxx_cv_c99_wchar=no;
16869 if test x"$ac_has_wchar_h" = xyes &&
16870 test x"$ac_has_wctype_h" = xyes; then
16871 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16872 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16873 cat >conftest.$ac_ext <<_ACEOF
16874 /* confdefs.h. */
16875 _ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16879 #include <wchar.h>
16880 namespace test
16882 using ::wcstold;
16883 using ::wcstoll;
16884 using ::wcstoull;
16888 main ()
16892 return 0;
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_cxx_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 glibcxx_cv_c99_wchar=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 glibcxx_cv_c99_wchar=no
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16926 # Checks for wide character functions that may not be present.
16927 # Injection of these is wrapped with guard macros.
16928 # NB: only put functions here, instead of immediately above, if
16929 # absolutely necessary.
16930 cat >conftest.$ac_ext <<_ACEOF
16931 /* confdefs.h. */
16932 _ACEOF
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 #include <wchar.h>
16937 namespace test { using ::vfwscanf; }
16939 main ()
16943 return 0;
16945 _ACEOF
16946 rm -f conftest.$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948 (eval $ac_compile) 2>conftest.er1
16949 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try='test -z "$ac_cxx_werror_flag"
16956 || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16969 cat >>confdefs.h <<\_ACEOF
16970 #define HAVE_VFWSCANF 1
16971 _ACEOF
16973 else
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16980 cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h. */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 #include <wchar.h>
16987 namespace test { using ::vswscanf; }
16989 main ()
16993 return 0;
16995 _ACEOF
16996 rm -f conftest.$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>conftest.er1
16999 ac_status=$?
17000 grep -v '^ *+' conftest.er1 >conftest.err
17001 rm -f conftest.er1
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try='test -z "$ac_cxx_werror_flag"
17006 || test ! -s conftest.err'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17009 ac_status=$?
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; } &&
17012 { ac_try='test -s conftest.$ac_objext'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; }; then
17019 cat >>confdefs.h <<\_ACEOF
17020 #define HAVE_VSWSCANF 1
17021 _ACEOF
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17030 cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h. */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 #include <wchar.h>
17037 namespace test { using ::vwscanf; }
17039 main ()
17043 return 0;
17045 _ACEOF
17046 rm -f conftest.$ac_objext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048 (eval $ac_compile) 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } &&
17055 { ac_try='test -z "$ac_cxx_werror_flag"
17056 || test ! -s conftest.err'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17059 ac_status=$?
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17065 ac_status=$?
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17069 cat >>confdefs.h <<\_ACEOF
17070 #define HAVE_VWSCANF 1
17071 _ACEOF
17073 else
17074 echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.$ac_ext >&5
17078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17080 cat >conftest.$ac_ext <<_ACEOF
17081 /* confdefs.h. */
17082 _ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086 #include <wchar.h>
17087 namespace test { using ::wcstof; }
17089 main ()
17093 return 0;
17095 _ACEOF
17096 rm -f conftest.$ac_objext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17098 (eval $ac_compile) 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } &&
17105 { ac_try='test -z "$ac_cxx_werror_flag"
17106 || test ! -s conftest.err'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17109 ac_status=$?
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; } &&
17112 { ac_try='test -s conftest.$ac_objext'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17115 ac_status=$?
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17119 cat >>confdefs.h <<\_ACEOF
17120 #define HAVE_WCSTOF 1
17121 _ACEOF
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 #include <wctype.h>
17138 main ()
17140 wint_t t; int i = iswblank(t);
17142 return 0;
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147 (eval $ac_compile) 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try='test -z "$ac_cxx_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try='test -s conftest.$ac_objext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17168 cat >>confdefs.h <<\_ACEOF
17169 #define HAVE_ISWBLANK 1
17170 _ACEOF
17172 else
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17179 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17180 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17183 # Option parsed, now set things appropriately.
17184 if test x"$glibcxx_cv_c99_math" = x"no" ||
17185 test x"$glibcxx_cv_c99_complex" = x"no" ||
17186 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17187 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17188 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17189 enable_c99=no;
17190 else
17192 cat >>confdefs.h <<\_ACEOF
17193 #define _GLIBCXX_USE_C99 1
17194 _ACEOF
17198 gcc_no_link="$ac_save_gcc_no_link"
17199 LIBS="$ac_save_LIBS"
17200 CXXFLAGS="$ac_save_CXXFLAGS"
17201 ac_ext=c
17202 ac_cpp='$CPP $CPPFLAGS'
17203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17209 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17210 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17211 echo "$as_me:$LINENO: result: $enable_c99" >&5
17212 echo "${ECHO_T}$enable_c99" >&6
17215 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17216 if test "${enable_concept_checks+set}" = set; then
17217 enableval="$enable_concept_checks"
17219 case "$enableval" in
17220 yes|no) ;;
17221 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17222 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17223 { (exit 1); exit 1; }; } ;;
17224 esac
17226 else
17227 enable_concept_checks=no
17230 if test $enable_concept_checks = yes; then
17232 cat >>confdefs.h <<\_ACEOF
17233 #define _GLIBCXX_CONCEPT_CHECKS 1
17234 _ACEOF
17239 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17240 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17241 enableval="$enable_libstdcxx_debug_flags"
17242 case "x$enable_libstdcxx_debug_flags" in
17243 xno | x) enable_libstdcxx_debug_flags= ;;
17244 x-*) ;;
17245 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17246 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17247 { (exit 1); exit 1; }; } ;;
17248 esac
17249 else
17250 enable_libstdcxx_debug_flags="-g3 -O0"
17254 # Option parsed, now set things appropriately
17255 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17258 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17259 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17262 echo "$as_me:$LINENO: checking for additional debug build" >&5
17263 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17264 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17265 if test "${enable_libstdcxx_debug+set}" = set; then
17266 enableval="$enable_libstdcxx_debug"
17268 case "$enableval" in
17269 yes|no) ;;
17270 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17271 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17272 { (exit 1); exit 1; }; } ;;
17273 esac
17275 else
17276 enable_libstdcxx_debug=no
17279 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17280 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17285 enable_parallel=no;
17287 # See if configured libgomp/omp.h exists. (libgomp may be in
17288 # noconfigdirs but not explicitly disabled.)
17289 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17290 enable_parallel=yes;
17291 else
17292 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17293 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17296 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17297 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17298 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17299 echo "${ECHO_T}$enable_parallel" >&6
17302 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17303 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17304 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17305 if test "${enable_cxx_flags+set}" = set; then
17306 enableval="$enable_cxx_flags"
17307 case "x$enable_cxx_flags" in
17308 xno | x) enable_cxx_flags= ;;
17309 x-*) ;;
17310 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17311 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17312 { (exit 1); exit 1; }; } ;;
17313 esac
17314 else
17315 enable_cxx_flags=
17319 # Run through flags (either default or command-line) and set anything
17320 # extra (e.g., #defines) that must accompany particular g++ options.
17321 if test -n "$enable_cxx_flags"; then
17322 for f in $enable_cxx_flags; do
17323 case "$f" in
17324 -fhonor-std) ;;
17325 -*) ;;
17326 *) # and we're trying to pass /what/ exactly?
17327 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17328 echo "$as_me: error: compiler flags start with a -" >&2;}
17329 { (exit 1); exit 1; }; } ;;
17330 esac
17331 done
17334 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17335 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17336 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17340 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17341 if test "${enable_fully_dynamic_string+set}" = set; then
17342 enableval="$enable_fully_dynamic_string"
17344 case "$enableval" in
17345 yes|no) ;;
17346 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17347 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17348 { (exit 1); exit 1; }; } ;;
17349 esac
17351 else
17352 enable_fully_dynamic_string=no
17355 if test $enable_fully_dynamic_string = yes; then
17357 cat >>confdefs.h <<\_ACEOF
17358 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17359 _ACEOF
17364 # Checks for operating systems support that don't require linking.
17367 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17368 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17369 if test "${glibcxx_cv_system_error1+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379 #include <errno.h>
17381 main ()
17383 int i = EOWNERDEAD;
17385 return 0;
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try='test -z "$ac_c_werror_flag"
17398 || test ! -s conftest.err'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try='test -s conftest.$ac_objext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17410 glibcxx_cv_system_error1=yes
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 glibcxx_cv_system_error1=no
17417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17421 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17422 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17423 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17425 cat >>confdefs.h <<\_ACEOF
17426 #define HAVE_EOWNERDEAD 1
17427 _ACEOF
17430 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17431 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17432 if test "${glibcxx_cv_system_error2+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #include <errno.h>
17444 main ()
17446 int i = ENOTRECOVERABLE;
17448 return 0;
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17454 ac_status=$?
17455 grep -v '^ *+' conftest.er1 >conftest.err
17456 rm -f conftest.er1
17457 cat conftest.err >&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try='test -z "$ac_c_werror_flag"
17461 || test ! -s conftest.err'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17464 ac_status=$?
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; } &&
17467 { ac_try='test -s conftest.$ac_objext'
17468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17469 (eval $ac_try) 2>&5
17470 ac_status=$?
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); }; }; then
17473 glibcxx_cv_system_error2=yes
17474 else
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 glibcxx_cv_system_error2=no
17480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17484 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17485 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17486 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17488 cat >>confdefs.h <<\_ACEOF
17489 #define HAVE_ENOTRECOVERABLE 1
17490 _ACEOF
17493 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17494 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17495 if test "${glibcxx_cv_system_error3+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h. */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 #include <errno.h>
17507 main ()
17509 int i = ENOLINK;
17511 return 0;
17513 _ACEOF
17514 rm -f conftest.$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516 (eval $ac_compile) 2>conftest.er1
17517 ac_status=$?
17518 grep -v '^ *+' conftest.er1 >conftest.err
17519 rm -f conftest.er1
17520 cat conftest.err >&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } &&
17523 { ac_try='test -z "$ac_c_werror_flag"
17524 || test ! -s conftest.err'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17527 ac_status=$?
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; } &&
17530 { ac_try='test -s conftest.$ac_objext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17533 ac_status=$?
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17536 glibcxx_cv_system_error3=yes
17537 else
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17541 glibcxx_cv_system_error3=no
17543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17547 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17548 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17549 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17551 cat >>confdefs.h <<\_ACEOF
17552 #define HAVE_ENOLINK 1
17553 _ACEOF
17556 echo "$as_me:$LINENO: checking for EPROTO" >&5
17557 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17558 if test "${glibcxx_cv_system_error4+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17562 cat >conftest.$ac_ext <<_ACEOF
17563 /* confdefs.h. */
17564 _ACEOF
17565 cat confdefs.h >>conftest.$ac_ext
17566 cat >>conftest.$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17568 #include <errno.h>
17570 main ()
17572 int i = EPROTO;
17574 return 0;
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>conftest.er1
17580 ac_status=$?
17581 grep -v '^ *+' conftest.er1 >conftest.err
17582 rm -f conftest.er1
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } &&
17586 { ac_try='test -z "$ac_c_werror_flag"
17587 || test ! -s conftest.err'
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17590 ac_status=$?
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try='test -s conftest.$ac_objext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 glibcxx_cv_system_error4=yes
17600 else
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17604 glibcxx_cv_system_error4=no
17606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17610 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17611 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17612 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17614 cat >>confdefs.h <<\_ACEOF
17615 #define HAVE_EPROTO 1
17616 _ACEOF
17619 echo "$as_me:$LINENO: checking for ENODATA" >&5
17620 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17621 if test "${glibcxx_cv_system_error5+set}" = set; then
17622 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <errno.h>
17633 main ()
17635 int i = ENODATA;
17637 return 0;
17639 _ACEOF
17640 rm -f conftest.$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642 (eval $ac_compile) 2>conftest.er1
17643 ac_status=$?
17644 grep -v '^ *+' conftest.er1 >conftest.err
17645 rm -f conftest.er1
17646 cat conftest.err >&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } &&
17649 { ac_try='test -z "$ac_c_werror_flag"
17650 || test ! -s conftest.err'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17653 ac_status=$?
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; } &&
17656 { ac_try='test -s conftest.$ac_objext'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17659 ac_status=$?
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; }; then
17662 glibcxx_cv_system_error5=yes
17663 else
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17667 glibcxx_cv_system_error5=no
17669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17673 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17674 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17675 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17677 cat >>confdefs.h <<\_ACEOF
17678 #define HAVE_ENODATA 1
17679 _ACEOF
17682 echo "$as_me:$LINENO: checking for ENOSR" >&5
17683 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17684 if test "${glibcxx_cv_system_error6+set}" = set; then
17685 echo $ECHO_N "(cached) $ECHO_C" >&6
17686 else
17688 cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h. */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 #include <errno.h>
17696 main ()
17698 int i = ENOSR;
17700 return 0;
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>conftest.er1
17706 ac_status=$?
17707 grep -v '^ *+' conftest.er1 >conftest.err
17708 rm -f conftest.er1
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17716 ac_status=$?
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 glibcxx_cv_system_error6=yes
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17730 glibcxx_cv_system_error6=no
17732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17736 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17737 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17738 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17740 cat >>confdefs.h <<\_ACEOF
17741 #define HAVE_ENOSR 1
17742 _ACEOF
17745 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17746 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17747 if test "${glibcxx_cv_system_error7+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17751 cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h. */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h. */
17757 #include <errno.h>
17759 main ()
17761 int i = ENOSTR;
17763 return 0;
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 (eval $ac_compile) 2>conftest.er1
17769 ac_status=$?
17770 grep -v '^ *+' conftest.er1 >conftest.err
17771 rm -f conftest.er1
17772 cat conftest.err >&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try='test -s conftest.$ac_objext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17788 glibcxx_cv_system_error7=yes
17789 else
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17793 glibcxx_cv_system_error7=no
17795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17799 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17800 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17801 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_ENOSTR 1
17805 _ACEOF
17808 echo "$as_me:$LINENO: checking for ETIME" >&5
17809 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17810 if test "${glibcxx_cv_system_error8+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17814 cat >conftest.$ac_ext <<_ACEOF
17815 /* confdefs.h. */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820 #include <errno.h>
17822 main ()
17824 int i = ETIME;
17826 return 0;
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831 (eval $ac_compile) 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try='test -z "$ac_c_werror_flag"
17839 || test ! -s conftest.err'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17842 ac_status=$?
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } &&
17845 { ac_try='test -s conftest.$ac_objext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 glibcxx_cv_system_error8=yes
17852 else
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17856 glibcxx_cv_system_error8=no
17858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17862 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17863 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17864 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17866 cat >>confdefs.h <<\_ACEOF
17867 #define HAVE_ETIME 1
17868 _ACEOF
17871 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17872 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17873 if test "${glibcxx_cv_system_error9+set}" = set; then
17874 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 else
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 #include <errno.h>
17885 main ()
17887 int i = EBADMSG;
17889 return 0;
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -z "$ac_c_werror_flag"
17902 || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17905 ac_status=$?
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try='test -s conftest.$ac_objext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17914 glibcxx_cv_system_error9=yes
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 glibcxx_cv_system_error9=no
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17925 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17926 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17927 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17929 cat >>confdefs.h <<\_ACEOF
17930 #define HAVE_EBADMSG 1
17931 _ACEOF
17934 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17935 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17936 if test "${glibcxx_cv_system_error10+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h. */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 #include <errno.h>
17948 main ()
17950 int i = ECANCELED;
17952 return 0;
17954 _ACEOF
17955 rm -f conftest.$ac_objext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957 (eval $ac_compile) 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
17964 { ac_try='test -z "$ac_c_werror_flag"
17965 || test ! -s conftest.err'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17968 ac_status=$?
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try='test -s conftest.$ac_objext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; }; then
17977 glibcxx_cv_system_error10=yes
17978 else
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17982 glibcxx_cv_system_error10=no
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17988 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17989 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17990 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17992 cat >>confdefs.h <<\_ACEOF
17993 #define HAVE_ECANCELED 1
17994 _ACEOF
17997 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17998 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17999 if test "${glibcxx_cv_system_error11+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18001 else
18003 cat >conftest.$ac_ext <<_ACEOF
18004 /* confdefs.h. */
18005 _ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18009 #include <errno.h>
18011 main ()
18013 int i = EOVERFLOW;
18015 return 0;
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_c_werror_flag"
18028 || test ! -s conftest.err'
18029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030 (eval $ac_try) 2>&5
18031 ac_status=$?
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); }; } &&
18034 { ac_try='test -s conftest.$ac_objext'
18035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036 (eval $ac_try) 2>&5
18037 ac_status=$?
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }; }; then
18040 glibcxx_cv_system_error11=yes
18041 else
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18045 glibcxx_cv_system_error11=no
18047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18051 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18052 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18053 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18055 cat >>confdefs.h <<\_ACEOF
18056 #define HAVE_EOVERFLOW 1
18057 _ACEOF
18060 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18061 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18062 if test "${glibcxx_cv_system_error12+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <errno.h>
18074 main ()
18076 int i = ENOTSUP;
18078 return 0;
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083 (eval $ac_compile) 2>conftest.er1
18084 ac_status=$?
18085 grep -v '^ *+' conftest.er1 >conftest.err
18086 rm -f conftest.er1
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_c_werror_flag"
18091 || test ! -s conftest.err'
18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093 (eval $ac_try) 2>&5
18094 ac_status=$?
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); }; } &&
18097 { ac_try='test -s conftest.$ac_objext'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; }; then
18103 glibcxx_cv_system_error12=yes
18104 else
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18108 glibcxx_cv_system_error12=no
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18114 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18115 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18116 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18118 cat >>confdefs.h <<\_ACEOF
18119 #define HAVE_ENOTSUP 1
18120 _ACEOF
18123 echo "$as_me:$LINENO: checking for EIDRM" >&5
18124 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18125 if test "${glibcxx_cv_system_error13+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 #include <errno.h>
18137 main ()
18139 int i = EIDRM;
18141 return 0;
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18146 (eval $ac_compile) 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } &&
18153 { ac_try='test -z "$ac_c_werror_flag"
18154 || test ! -s conftest.err'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; } &&
18160 { ac_try='test -s conftest.$ac_objext'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; }; then
18166 glibcxx_cv_system_error13=yes
18167 else
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 glibcxx_cv_system_error13=no
18173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18177 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18178 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18179 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18181 cat >>confdefs.h <<\_ACEOF
18182 #define HAVE_EIDRM 1
18183 _ACEOF
18186 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18187 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18188 if test "${glibcxx_cv_system_error14+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 #include <errno.h>
18200 main ()
18202 int i = ETXTBSY;
18204 return 0;
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try='test -z "$ac_c_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try='test -s conftest.$ac_objext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 glibcxx_cv_system_error14=yes
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 glibcxx_cv_system_error14=no
18236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18240 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18241 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18242 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18244 cat >>confdefs.h <<\_ACEOF
18245 #define HAVE_ETXTBSY 1
18246 _ACEOF
18253 # Only do link tests if native. Else, hardcode.
18254 if $GLIBCXX_IS_NATIVE; then
18256 # We can do more elaborate tests that assume a working linker.
18257 CANADIAN=no
18259 # Check for available headers.
18274 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18275 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
18276 sys/types.h sys/ipc.h sys/sem.h
18278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18280 echo "$as_me:$LINENO: checking for $ac_header" >&5
18281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18283 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18287 else
18288 # Is the header compilable?
18289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18291 cat >conftest.$ac_ext <<_ACEOF
18292 /* confdefs.h. */
18293 _ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 $ac_includes_default
18298 #include <$ac_header>
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18302 (eval $ac_compile) 2>conftest.er1
18303 ac_status=$?
18304 grep -v '^ *+' conftest.er1 >conftest.err
18305 rm -f conftest.er1
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } &&
18309 { ac_try='test -z "$ac_c_werror_flag"
18310 || test ! -s conftest.err'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_header_compiler=yes
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 ac_header_compiler=no
18329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18331 echo "${ECHO_T}$ac_header_compiler" >&6
18333 # Is the header present?
18334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18336 cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h. */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 #include <$ac_header>
18343 _ACEOF
18344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18346 ac_status=$?
18347 grep -v '^ *+' conftest.er1 >conftest.err
18348 rm -f conftest.er1
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } >/dev/null; then
18352 if test -s conftest.err; then
18353 ac_cpp_err=$ac_c_preproc_warn_flag
18354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18355 else
18356 ac_cpp_err=
18358 else
18359 ac_cpp_err=yes
18361 if test -z "$ac_cpp_err"; then
18362 ac_header_preproc=yes
18363 else
18364 echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18367 ac_header_preproc=no
18369 rm -f conftest.err conftest.$ac_ext
18370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18371 echo "${ECHO_T}$ac_header_preproc" >&6
18373 # So? What about this header?
18374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18375 yes:no: )
18376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18380 ac_header_preproc=yes
18382 no:yes:* )
18383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18396 cat <<\_ASBOX
18397 ## ----------------------------------------- ##
18398 ## Report this to the package-unused lists. ##
18399 ## ----------------------------------------- ##
18400 _ASBOX
18402 sed "s/^/$as_me: WARNING: /" >&2
18404 esac
18405 echo "$as_me:$LINENO: checking for $ac_header" >&5
18406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410 eval "$as_ac_Header=\$ac_header_preproc"
18412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18417 cat >>confdefs.h <<_ACEOF
18418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18419 _ACEOF
18423 done
18428 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18429 if test "${with_gnu_ld+set}" = set; then
18430 withval="$with_gnu_ld"
18431 test "$withval" = no || with_gnu_ld=yes
18432 else
18433 with_gnu_ld=no
18435 ac_prog=ld
18436 if test "$GCC" = yes; then
18437 # Check if gcc -print-prog-name=ld gives a path.
18438 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18439 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18440 case $host in
18441 *-*-mingw*)
18442 # gcc leaves a trailing carriage return which upsets mingw
18443 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18445 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18446 esac
18447 case $ac_prog in
18448 # Accept absolute paths.
18449 [\\/]* | ?:[\\/]*)
18450 re_direlt='/[^/][^/]*/\.\./'
18451 # Canonicalize the pathname of ld
18452 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18453 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18454 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18455 done
18456 test -z "$LD" && LD="$ac_prog"
18459 # If it fails, then pretend we aren't using GCC.
18460 ac_prog=ld
18463 # If it is relative, then search for the first ld in PATH.
18464 with_gnu_ld=unknown
18466 esac
18467 elif test "$with_gnu_ld" = yes; then
18468 echo "$as_me:$LINENO: checking for GNU ld" >&5
18469 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18470 else
18471 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18472 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18474 if test "${lt_cv_path_LD+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18476 else
18477 if test -z "$LD"; then
18478 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18479 for ac_dir in $PATH; do
18480 IFS="$lt_save_ifs"
18481 test -z "$ac_dir" && ac_dir=.
18482 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18483 lt_cv_path_LD="$ac_dir/$ac_prog"
18484 # Check to see if the program is GNU ld. I'd rather use --version,
18485 # but apparently some variants of GNU ld only accept -v.
18486 # Break only if it was the GNU/non-GNU ld that we prefer.
18487 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18488 *GNU* | *'with BFD'*)
18489 test "$with_gnu_ld" != no && break
18492 test "$with_gnu_ld" != yes && break
18494 esac
18496 done
18497 IFS="$lt_save_ifs"
18498 else
18499 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18503 LD="$lt_cv_path_LD"
18504 if test -n "$LD"; then
18505 echo "$as_me:$LINENO: result: $LD" >&5
18506 echo "${ECHO_T}$LD" >&6
18507 else
18508 echo "$as_me:$LINENO: result: no" >&5
18509 echo "${ECHO_T}no" >&6
18511 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18512 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18513 { (exit 1); exit 1; }; }
18514 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18515 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18516 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18518 else
18519 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18520 case `$LD -v 2>&1 </dev/null` in
18521 *GNU* | *'with BFD'*)
18522 lt_cv_prog_gnu_ld=yes
18525 lt_cv_prog_gnu_ld=no
18527 esac
18529 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18530 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18531 with_gnu_ld=$lt_cv_prog_gnu_ld
18539 # If we're not using GNU ld, then there's no point in even trying these
18540 # tests. Check for that first. We should have already tested for gld
18541 # by now (in libtool), but require it now just to be safe...
18542 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18543 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18547 # The name set by libtool depends on the version of libtool. Shame on us
18548 # for depending on an impl detail, but c'est la vie. Older versions used
18549 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18550 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18551 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18552 # set (hence we're using an older libtool), then set it.
18553 if test x${with_gnu_ld+set} != xset; then
18554 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18555 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18556 with_gnu_ld=no
18557 else
18558 with_gnu_ld=$ac_cv_prog_gnu_ld
18562 # Start by getting the version number. I think the libtool test already
18563 # does some of this, but throws away the result.
18564 glibcxx_ld_is_gold=no
18565 if test x"$with_gnu_ld" = x"yes"; then
18566 echo "$as_me:$LINENO: checking for ld version" >&5
18567 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18569 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18570 glibcxx_ld_is_gold=yes
18572 ldver=`$LD --version 2>/dev/null | head -1 | \
18573 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18575 glibcxx_gnu_ld_version=`echo $ldver | \
18576 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18577 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18578 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18581 # Set --gc-sections.
18582 glibcxx_have_gc_sections=no
18583 if test "$glibcxx_ld_is_gold" = "yes"; then
18584 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18585 glibcxx_have_gc_sections=yes
18587 else
18588 glibcxx_gcsections_min_ld=21602
18589 if test x"$with_gnu_ld" = x"yes" &&
18590 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18591 glibcxx_have_gc_sections=yes
18594 if test "$glibcxx_have_gc_sections" = "yes"; then
18595 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18596 # NB: This flag only works reliably after 2.16.1. Configure tests
18597 # for this are difficult, so hard wire a value that should work.
18599 ac_test_CFLAGS="${CFLAGS+set}"
18600 ac_save_CFLAGS="$CFLAGS"
18601 CFLAGS='-Wl,--gc-sections'
18603 # Check for -Wl,--gc-sections
18604 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18605 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18606 if test x$gcc_no_link = xyes; then
18607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18609 { (exit 1); exit 1; }; }
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h. */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 int one(void) { return 1; }
18618 int two(void) { return 2; }
18621 main ()
18623 two();
18625 return 0;
18627 _ACEOF
18628 rm -f conftest.$ac_objext conftest$ac_exeext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18630 (eval $ac_link) 2>conftest.er1
18631 ac_status=$?
18632 grep -v '^ *+' conftest.er1 >conftest.err
18633 rm -f conftest.er1
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } &&
18637 { ac_try='test -z "$ac_c_werror_flag"
18638 || test ! -s conftest.err'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18641 ac_status=$?
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; } &&
18644 { ac_try='test -s conftest$ac_exeext'
18645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646 (eval $ac_try) 2>&5
18647 ac_status=$?
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; }; then
18650 ac_gcsections=yes
18651 else
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.$ac_ext >&5
18655 ac_gcsections=no
18657 rm -f conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18659 if test "$ac_gcsections" = "yes"; then
18660 rm -f conftest.c
18661 touch conftest.c
18662 if $CC -c conftest.c; then
18663 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18664 grep "Warning: gc-sections option ignored" > /dev/null; then
18665 ac_gcsections=no
18668 rm -f conftest.c conftest.o conftest
18670 if test "$ac_gcsections" = "yes"; then
18671 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18673 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18674 echo "${ECHO_T}$ac_gcsections" >&6
18676 if test "$ac_test_CFLAGS" = set; then
18677 CFLAGS="$ac_save_CFLAGS"
18678 else
18679 # this is the suspicious part
18680 CFLAGS=''
18684 # Set -z,relro.
18685 # Note this is only for shared objects.
18686 ac_ld_relro=no
18687 if test x"$with_gnu_ld" = x"yes"; then
18688 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18689 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18690 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18691 if test -n "$cxx_z_relo"; then
18692 OPT_LDFLAGS="-Wl,-z,relro"
18693 ac_ld_relro=yes
18695 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18696 echo "${ECHO_T}$ac_ld_relro" >&6
18699 # Set linker optimization flags.
18700 if test x"$with_gnu_ld" = x"yes"; then
18701 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18709 ac_save_CXXFLAGS="$CXXFLAGS"
18710 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18712 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18713 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18714 if test "${ac_cv_lib_m_sin+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 ac_check_lib_save_LIBS=$LIBS
18718 LIBS="-lm $LIBS"
18719 if test x$gcc_no_link = xyes; then
18720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18722 { (exit 1); exit 1; }; }
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18731 /* Override any gcc2 internal prototype to avoid an error. */
18732 #ifdef __cplusplus
18733 extern "C"
18734 #endif
18735 /* We use char because int might match the return type of a gcc2
18736 builtin and then its argument prototype would still apply. */
18737 char sin ();
18739 main ()
18741 sin ();
18743 return 0;
18745 _ACEOF
18746 rm -f conftest.$ac_objext conftest$ac_exeext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18748 (eval $ac_link) 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } &&
18755 { ac_try='test -z "$ac_c_werror_flag"
18756 || test ! -s conftest.err'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; } &&
18762 { ac_try='test -s conftest$ac_exeext'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18765 ac_status=$?
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; }; then
18768 ac_cv_lib_m_sin=yes
18769 else
18770 echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18773 ac_cv_lib_m_sin=no
18775 rm -f conftest.err conftest.$ac_objext \
18776 conftest$ac_exeext conftest.$ac_ext
18777 LIBS=$ac_check_lib_save_LIBS
18779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18780 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18781 if test $ac_cv_lib_m_sin = yes; then
18782 libm="-lm"
18785 ac_save_LIBS="$LIBS"
18786 LIBS="$LIBS $libm"
18790 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18791 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18792 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18793 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18799 ac_ext=cc
18800 ac_cpp='$CXXCPP $CPPFLAGS'
18801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18805 cat >conftest.$ac_ext <<_ACEOF
18806 /* confdefs.h. */
18807 _ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 #include <math.h>
18812 #ifdef HAVE_IEEEFP_H
18813 #include <ieeefp.h>
18814 #endif
18817 main ()
18819 isinf(0);
18821 return 0;
18823 _ACEOF
18824 rm -f conftest.$ac_objext
18825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18826 (eval $ac_compile) 2>conftest.er1
18827 ac_status=$?
18828 grep -v '^ *+' conftest.er1 >conftest.err
18829 rm -f conftest.er1
18830 cat conftest.err >&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); } &&
18833 { ac_try='test -z "$ac_cxx_werror_flag"
18834 || test ! -s conftest.err'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18837 ac_status=$?
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; } &&
18840 { ac_try='test -s conftest.$ac_objext'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18843 ac_status=$?
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; }; then
18846 glibcxx_cv_func_isinf_use=yes
18847 else
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18851 glibcxx_cv_func_isinf_use=no
18853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18854 ac_ext=c
18855 ac_cpp='$CPP $CPPFLAGS'
18856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18865 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18867 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18869 for ac_func in isinf
18871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18872 echo "$as_me:$LINENO: checking for $ac_func" >&5
18873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18874 if eval "test \"\${$as_ac_var+set}\" = set"; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 else
18877 if test x$gcc_no_link = xyes; then
18878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18880 { (exit 1); exit 1; }; }
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18890 #define $ac_func innocuous_$ac_func
18892 /* System header to define __stub macros and hopefully few prototypes,
18893 which can conflict with char $ac_func (); below.
18894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18895 <limits.h> exists even on freestanding compilers. */
18897 #ifdef __STDC__
18898 # include <limits.h>
18899 #else
18900 # include <assert.h>
18901 #endif
18903 #undef $ac_func
18905 /* Override any gcc2 internal prototype to avoid an error. */
18906 #ifdef __cplusplus
18907 extern "C"
18909 #endif
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18912 char $ac_func ();
18913 /* The GNU C library defines this for functions which it implements
18914 to always fail with ENOSYS. Some functions are actually named
18915 something starting with __ and the normal name is an alias. */
18916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18917 choke me
18918 #else
18919 char (*f) () = $ac_func;
18920 #endif
18921 #ifdef __cplusplus
18923 #endif
18926 main ()
18928 return f != $ac_func;
18930 return 0;
18932 _ACEOF
18933 rm -f conftest.$ac_objext conftest$ac_exeext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18935 (eval $ac_link) 2>conftest.er1
18936 ac_status=$?
18937 grep -v '^ *+' conftest.er1 >conftest.err
18938 rm -f conftest.er1
18939 cat conftest.err >&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try='test -z "$ac_c_werror_flag"
18943 || test ! -s conftest.err'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; } &&
18949 { ac_try='test -s conftest$ac_exeext'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18952 ac_status=$?
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; }; then
18955 eval "$as_ac_var=yes"
18956 else
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18960 eval "$as_ac_var=no"
18962 rm -f conftest.err conftest.$ac_objext \
18963 conftest$ac_exeext conftest.$ac_ext
18965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18967 if test `eval echo '${'$as_ac_var'}'` = yes; then
18968 cat >>confdefs.h <<_ACEOF
18969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18970 _ACEOF
18973 done
18975 else
18977 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18978 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18979 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18980 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 else
18986 ac_ext=cc
18987 ac_cpp='$CXXCPP $CPPFLAGS'
18988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18992 cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 #include <math.h>
18999 #ifdef HAVE_IEEEFP_H
19000 #include <ieeefp.h>
19001 #endif
19004 main ()
19006 _isinf(0);
19008 return 0;
19010 _ACEOF
19011 rm -f conftest.$ac_objext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19013 (eval $ac_compile) 2>conftest.er1
19014 ac_status=$?
19015 grep -v '^ *+' conftest.er1 >conftest.err
19016 rm -f conftest.er1
19017 cat conftest.err >&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try='test -z "$ac_cxx_werror_flag"
19021 || test ! -s conftest.err'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19024 ac_status=$?
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; } &&
19027 { ac_try='test -s conftest.$ac_objext'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; }; then
19033 glibcxx_cv_func__isinf_use=yes
19034 else
19035 echo "$as_me: failed program was:" >&5
19036 sed 's/^/| /' conftest.$ac_ext >&5
19038 glibcxx_cv_func__isinf_use=no
19040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19041 ac_ext=c
19042 ac_cpp='$CPP $CPPFLAGS'
19043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19052 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19054 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19056 for ac_func in _isinf
19058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19059 echo "$as_me:$LINENO: checking for $ac_func" >&5
19060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19061 if eval "test \"\${$as_ac_var+set}\" = set"; then
19062 echo $ECHO_N "(cached) $ECHO_C" >&6
19063 else
19064 if test x$gcc_no_link = xyes; then
19065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19067 { (exit 1); exit 1; }; }
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19077 #define $ac_func innocuous_$ac_func
19079 /* System header to define __stub macros and hopefully few prototypes,
19080 which can conflict with char $ac_func (); below.
19081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19082 <limits.h> exists even on freestanding compilers. */
19084 #ifdef __STDC__
19085 # include <limits.h>
19086 #else
19087 # include <assert.h>
19088 #endif
19090 #undef $ac_func
19092 /* Override any gcc2 internal prototype to avoid an error. */
19093 #ifdef __cplusplus
19094 extern "C"
19096 #endif
19097 /* We use char because int might match the return type of a gcc2
19098 builtin and then its argument prototype would still apply. */
19099 char $ac_func ();
19100 /* The GNU C library defines this for functions which it implements
19101 to always fail with ENOSYS. Some functions are actually named
19102 something starting with __ and the normal name is an alias. */
19103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19104 choke me
19105 #else
19106 char (*f) () = $ac_func;
19107 #endif
19108 #ifdef __cplusplus
19110 #endif
19113 main ()
19115 return f != $ac_func;
19117 return 0;
19119 _ACEOF
19120 rm -f conftest.$ac_objext conftest$ac_exeext
19121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19122 (eval $ac_link) 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } &&
19129 { ac_try='test -z "$ac_c_werror_flag"
19130 || test ! -s conftest.err'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19133 ac_status=$?
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; } &&
19136 { ac_try='test -s conftest$ac_exeext'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19139 ac_status=$?
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; }; then
19142 eval "$as_ac_var=yes"
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19147 eval "$as_ac_var=no"
19149 rm -f conftest.err conftest.$ac_objext \
19150 conftest$ac_exeext conftest.$ac_ext
19152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19154 if test `eval echo '${'$as_ac_var'}'` = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19157 _ACEOF
19160 done
19170 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19171 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19172 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19173 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 else
19179 ac_ext=cc
19180 ac_cpp='$CXXCPP $CPPFLAGS'
19181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <math.h>
19192 #ifdef HAVE_IEEEFP_H
19193 #include <ieeefp.h>
19194 #endif
19197 main ()
19199 isnan(0);
19201 return 0;
19203 _ACEOF
19204 rm -f conftest.$ac_objext
19205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19206 (eval $ac_compile) 2>conftest.er1
19207 ac_status=$?
19208 grep -v '^ *+' conftest.er1 >conftest.err
19209 rm -f conftest.er1
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } &&
19213 { ac_try='test -z "$ac_cxx_werror_flag"
19214 || test ! -s conftest.err'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; } &&
19220 { ac_try='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 glibcxx_cv_func_isnan_use=yes
19227 else
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19231 glibcxx_cv_func_isnan_use=no
19233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19234 ac_ext=c
19235 ac_cpp='$CPP $CPPFLAGS'
19236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19245 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19247 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19249 for ac_func in isnan
19251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19252 echo "$as_me:$LINENO: checking for $ac_func" >&5
19253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19254 if eval "test \"\${$as_ac_var+set}\" = set"; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 else
19257 if test x$gcc_no_link = xyes; then
19258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19260 { (exit 1); exit 1; }; }
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19270 #define $ac_func innocuous_$ac_func
19272 /* System header to define __stub macros and hopefully few prototypes,
19273 which can conflict with char $ac_func (); below.
19274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19275 <limits.h> exists even on freestanding compilers. */
19277 #ifdef __STDC__
19278 # include <limits.h>
19279 #else
19280 # include <assert.h>
19281 #endif
19283 #undef $ac_func
19285 /* Override any gcc2 internal prototype to avoid an error. */
19286 #ifdef __cplusplus
19287 extern "C"
19289 #endif
19290 /* We use char because int might match the return type of a gcc2
19291 builtin and then its argument prototype would still apply. */
19292 char $ac_func ();
19293 /* The GNU C library defines this for functions which it implements
19294 to always fail with ENOSYS. Some functions are actually named
19295 something starting with __ and the normal name is an alias. */
19296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19297 choke me
19298 #else
19299 char (*f) () = $ac_func;
19300 #endif
19301 #ifdef __cplusplus
19303 #endif
19306 main ()
19308 return f != $ac_func;
19310 return 0;
19312 _ACEOF
19313 rm -f conftest.$ac_objext conftest$ac_exeext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19315 (eval $ac_link) 2>conftest.er1
19316 ac_status=$?
19317 grep -v '^ *+' conftest.er1 >conftest.err
19318 rm -f conftest.er1
19319 cat conftest.err >&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try='test -z "$ac_c_werror_flag"
19323 || test ! -s conftest.err'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19326 ac_status=$?
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; } &&
19329 { ac_try='test -s conftest$ac_exeext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 eval "$as_ac_var=yes"
19336 else
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19340 eval "$as_ac_var=no"
19342 rm -f conftest.err conftest.$ac_objext \
19343 conftest$ac_exeext conftest.$ac_ext
19345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19347 if test `eval echo '${'$as_ac_var'}'` = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19350 _ACEOF
19353 done
19355 else
19357 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19358 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19359 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19360 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19366 ac_ext=cc
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <math.h>
19379 #ifdef HAVE_IEEEFP_H
19380 #include <ieeefp.h>
19381 #endif
19384 main ()
19386 _isnan(0);
19388 return 0;
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19394 ac_status=$?
19395 grep -v '^ *+' conftest.er1 >conftest.err
19396 rm -f conftest.er1
19397 cat conftest.err >&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try='test -z "$ac_cxx_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19404 ac_status=$?
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19410 ac_status=$?
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19413 glibcxx_cv_func__isnan_use=yes
19414 else
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 glibcxx_cv_func__isnan_use=no
19420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19421 ac_ext=c
19422 ac_cpp='$CPP $CPPFLAGS'
19423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19432 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19434 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19436 for ac_func in _isnan
19438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19439 echo "$as_me:$LINENO: checking for $ac_func" >&5
19440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19441 if eval "test \"\${$as_ac_var+set}\" = set"; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 else
19444 if test x$gcc_no_link = xyes; then
19445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19447 { (exit 1); exit 1; }; }
19449 cat >conftest.$ac_ext <<_ACEOF
19450 /* confdefs.h. */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19457 #define $ac_func innocuous_$ac_func
19459 /* System header to define __stub macros and hopefully few prototypes,
19460 which can conflict with char $ac_func (); below.
19461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19462 <limits.h> exists even on freestanding compilers. */
19464 #ifdef __STDC__
19465 # include <limits.h>
19466 #else
19467 # include <assert.h>
19468 #endif
19470 #undef $ac_func
19472 /* Override any gcc2 internal prototype to avoid an error. */
19473 #ifdef __cplusplus
19474 extern "C"
19476 #endif
19477 /* We use char because int might match the return type of a gcc2
19478 builtin and then its argument prototype would still apply. */
19479 char $ac_func ();
19480 /* The GNU C library defines this for functions which it implements
19481 to always fail with ENOSYS. Some functions are actually named
19482 something starting with __ and the normal name is an alias. */
19483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19484 choke me
19485 #else
19486 char (*f) () = $ac_func;
19487 #endif
19488 #ifdef __cplusplus
19490 #endif
19493 main ()
19495 return f != $ac_func;
19497 return 0;
19499 _ACEOF
19500 rm -f conftest.$ac_objext conftest$ac_exeext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19502 (eval $ac_link) 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -z "$ac_c_werror_flag"
19510 || test ! -s conftest.err'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; } &&
19516 { ac_try='test -s conftest$ac_exeext'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19522 eval "$as_ac_var=yes"
19523 else
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19527 eval "$as_ac_var=no"
19529 rm -f conftest.err conftest.$ac_objext \
19530 conftest$ac_exeext conftest.$ac_ext
19532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19534 if test `eval echo '${'$as_ac_var'}'` = yes; then
19535 cat >>confdefs.h <<_ACEOF
19536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19537 _ACEOF
19540 done
19550 echo "$as_me:$LINENO: checking for finite declaration" >&5
19551 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19552 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19553 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19554 echo $ECHO_N "(cached) $ECHO_C" >&6
19555 else
19559 ac_ext=cc
19560 ac_cpp='$CXXCPP $CPPFLAGS'
19561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19565 cat >conftest.$ac_ext <<_ACEOF
19566 /* confdefs.h. */
19567 _ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19571 #include <math.h>
19572 #ifdef HAVE_IEEEFP_H
19573 #include <ieeefp.h>
19574 #endif
19577 main ()
19579 finite(0);
19581 return 0;
19583 _ACEOF
19584 rm -f conftest.$ac_objext
19585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19586 (eval $ac_compile) 2>conftest.er1
19587 ac_status=$?
19588 grep -v '^ *+' conftest.er1 >conftest.err
19589 rm -f conftest.er1
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try='test -z "$ac_cxx_werror_flag"
19594 || test ! -s conftest.err'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19597 ac_status=$?
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; } &&
19600 { ac_try='test -s conftest.$ac_objext'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19603 ac_status=$?
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19606 glibcxx_cv_func_finite_use=yes
19607 else
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19611 glibcxx_cv_func_finite_use=no
19613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19614 ac_ext=c
19615 ac_cpp='$CPP $CPPFLAGS'
19616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19625 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19627 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19629 for ac_func in finite
19631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19632 echo "$as_me:$LINENO: checking for $ac_func" >&5
19633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19634 if eval "test \"\${$as_ac_var+set}\" = set"; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19636 else
19637 if test x$gcc_no_link = xyes; then
19638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19640 { (exit 1); exit 1; }; }
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19650 #define $ac_func innocuous_$ac_func
19652 /* System header to define __stub macros and hopefully few prototypes,
19653 which can conflict with char $ac_func (); below.
19654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19655 <limits.h> exists even on freestanding compilers. */
19657 #ifdef __STDC__
19658 # include <limits.h>
19659 #else
19660 # include <assert.h>
19661 #endif
19663 #undef $ac_func
19665 /* Override any gcc2 internal prototype to avoid an error. */
19666 #ifdef __cplusplus
19667 extern "C"
19669 #endif
19670 /* We use char because int might match the return type of a gcc2
19671 builtin and then its argument prototype would still apply. */
19672 char $ac_func ();
19673 /* The GNU C library defines this for functions which it implements
19674 to always fail with ENOSYS. Some functions are actually named
19675 something starting with __ and the normal name is an alias. */
19676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19677 choke me
19678 #else
19679 char (*f) () = $ac_func;
19680 #endif
19681 #ifdef __cplusplus
19683 #endif
19686 main ()
19688 return f != $ac_func;
19690 return 0;
19692 _ACEOF
19693 rm -f conftest.$ac_objext conftest$ac_exeext
19694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19695 (eval $ac_link) 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } &&
19702 { ac_try='test -z "$ac_c_werror_flag"
19703 || test ! -s conftest.err'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19706 ac_status=$?
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; } &&
19709 { ac_try='test -s conftest$ac_exeext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 eval "$as_ac_var=yes"
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19720 eval "$as_ac_var=no"
19722 rm -f conftest.err conftest.$ac_objext \
19723 conftest$ac_exeext conftest.$ac_ext
19725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19727 if test `eval echo '${'$as_ac_var'}'` = yes; then
19728 cat >>confdefs.h <<_ACEOF
19729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19730 _ACEOF
19733 done
19735 else
19737 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19738 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19739 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19740 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19741 echo $ECHO_N "(cached) $ECHO_C" >&6
19742 else
19746 ac_ext=cc
19747 ac_cpp='$CXXCPP $CPPFLAGS'
19748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19752 cat >conftest.$ac_ext <<_ACEOF
19753 /* confdefs.h. */
19754 _ACEOF
19755 cat confdefs.h >>conftest.$ac_ext
19756 cat >>conftest.$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19758 #include <math.h>
19759 #ifdef HAVE_IEEEFP_H
19760 #include <ieeefp.h>
19761 #endif
19764 main ()
19766 _finite(0);
19768 return 0;
19770 _ACEOF
19771 rm -f conftest.$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -z "$ac_cxx_werror_flag"
19781 || test ! -s conftest.err'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19784 ac_status=$?
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try='test -s conftest.$ac_objext'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19790 ac_status=$?
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 glibcxx_cv_func__finite_use=yes
19794 else
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19798 glibcxx_cv_func__finite_use=no
19800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19801 ac_ext=c
19802 ac_cpp='$CPP $CPPFLAGS'
19803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19812 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19814 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19816 for ac_func in _finite
19818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19819 echo "$as_me:$LINENO: checking for $ac_func" >&5
19820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19821 if eval "test \"\${$as_ac_var+set}\" = set"; then
19822 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 else
19824 if test x$gcc_no_link = xyes; then
19825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19827 { (exit 1); exit 1; }; }
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19837 #define $ac_func innocuous_$ac_func
19839 /* System header to define __stub macros and hopefully few prototypes,
19840 which can conflict with char $ac_func (); below.
19841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19842 <limits.h> exists even on freestanding compilers. */
19844 #ifdef __STDC__
19845 # include <limits.h>
19846 #else
19847 # include <assert.h>
19848 #endif
19850 #undef $ac_func
19852 /* Override any gcc2 internal prototype to avoid an error. */
19853 #ifdef __cplusplus
19854 extern "C"
19856 #endif
19857 /* We use char because int might match the return type of a gcc2
19858 builtin and then its argument prototype would still apply. */
19859 char $ac_func ();
19860 /* The GNU C library defines this for functions which it implements
19861 to always fail with ENOSYS. Some functions are actually named
19862 something starting with __ and the normal name is an alias. */
19863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19864 choke me
19865 #else
19866 char (*f) () = $ac_func;
19867 #endif
19868 #ifdef __cplusplus
19870 #endif
19873 main ()
19875 return f != $ac_func;
19877 return 0;
19879 _ACEOF
19880 rm -f conftest.$ac_objext conftest$ac_exeext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19882 (eval $ac_link) 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
19889 { ac_try='test -z "$ac_c_werror_flag"
19890 || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19893 ac_status=$?
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest$ac_exeext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 eval "$as_ac_var=yes"
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19907 eval "$as_ac_var=no"
19909 rm -f conftest.err conftest.$ac_objext \
19910 conftest$ac_exeext conftest.$ac_ext
19912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19914 if test `eval echo '${'$as_ac_var'}'` = yes; then
19915 cat >>confdefs.h <<_ACEOF
19916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19917 _ACEOF
19920 done
19930 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19931 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19932 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19933 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19934 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 else
19939 ac_ext=cc
19940 ac_cpp='$CXXCPP $CPPFLAGS'
19941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19945 cat >conftest.$ac_ext <<_ACEOF
19946 /* confdefs.h. */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #include <math.h>
19953 main ()
19955 copysign(0, 0);
19957 return 0;
19959 _ACEOF
19960 rm -f conftest.$ac_objext
19961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19962 (eval $ac_compile) 2>conftest.er1
19963 ac_status=$?
19964 grep -v '^ *+' conftest.er1 >conftest.err
19965 rm -f conftest.er1
19966 cat conftest.err >&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); } &&
19969 { ac_try='test -z "$ac_cxx_werror_flag"
19970 || test ! -s conftest.err'
19971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972 (eval $ac_try) 2>&5
19973 ac_status=$?
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); }; } &&
19976 { ac_try='test -s conftest.$ac_objext'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; }; then
19982 glibcxx_cv_func_copysign_use=yes
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 glibcxx_cv_func_copysign_use=no
19989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19990 ac_ext=c
19991 ac_cpp='$CPP $CPPFLAGS'
19992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
20001 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
20003 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20005 for ac_func in copysign
20007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20008 echo "$as_me:$LINENO: checking for $ac_func" >&5
20009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20010 if eval "test \"\${$as_ac_var+set}\" = set"; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else
20013 if test x$gcc_no_link = xyes; then
20014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20016 { (exit 1); exit 1; }; }
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20026 #define $ac_func innocuous_$ac_func
20028 /* System header to define __stub macros and hopefully few prototypes,
20029 which can conflict with char $ac_func (); below.
20030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20031 <limits.h> exists even on freestanding compilers. */
20033 #ifdef __STDC__
20034 # include <limits.h>
20035 #else
20036 # include <assert.h>
20037 #endif
20039 #undef $ac_func
20041 /* Override any gcc2 internal prototype to avoid an error. */
20042 #ifdef __cplusplus
20043 extern "C"
20045 #endif
20046 /* We use char because int might match the return type of a gcc2
20047 builtin and then its argument prototype would still apply. */
20048 char $ac_func ();
20049 /* The GNU C library defines this for functions which it implements
20050 to always fail with ENOSYS. Some functions are actually named
20051 something starting with __ and the normal name is an alias. */
20052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20053 choke me
20054 #else
20055 char (*f) () = $ac_func;
20056 #endif
20057 #ifdef __cplusplus
20059 #endif
20062 main ()
20064 return f != $ac_func;
20066 return 0;
20068 _ACEOF
20069 rm -f conftest.$ac_objext conftest$ac_exeext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20071 (eval $ac_link) 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -z "$ac_c_werror_flag"
20079 || test ! -s conftest.err'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20082 ac_status=$?
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; } &&
20085 { ac_try='test -s conftest$ac_exeext'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; }; then
20091 eval "$as_ac_var=yes"
20092 else
20093 echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.$ac_ext >&5
20096 eval "$as_ac_var=no"
20098 rm -f conftest.err conftest.$ac_objext \
20099 conftest$ac_exeext conftest.$ac_ext
20101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20103 if test `eval echo '${'$as_ac_var'}'` = yes; then
20104 cat >>confdefs.h <<_ACEOF
20105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20106 _ACEOF
20109 done
20111 else
20113 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20114 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20115 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20116 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20122 ac_ext=cc
20123 ac_cpp='$CXXCPP $CPPFLAGS'
20124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 #include <math.h>
20136 main ()
20138 _copysign(0, 0);
20140 return 0;
20142 _ACEOF
20143 rm -f conftest.$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145 (eval $ac_compile) 2>conftest.er1
20146 ac_status=$?
20147 grep -v '^ *+' conftest.er1 >conftest.err
20148 rm -f conftest.er1
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_cxx_werror_flag"
20153 || test ! -s conftest.err'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20156 ac_status=$?
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; } &&
20159 { ac_try='test -s conftest.$ac_objext'
20160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161 (eval $ac_try) 2>&5
20162 ac_status=$?
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; }; then
20165 glibcxx_cv_func__copysign_use=yes
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20170 glibcxx_cv_func__copysign_use=no
20172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20173 ac_ext=c
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20184 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20186 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20188 for ac_func in _copysign
20190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20191 echo "$as_me:$LINENO: checking for $ac_func" >&5
20192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20193 if eval "test \"\${$as_ac_var+set}\" = set"; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 if test x$gcc_no_link = xyes; then
20197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20199 { (exit 1); exit 1; }; }
20201 cat >conftest.$ac_ext <<_ACEOF
20202 /* confdefs.h. */
20203 _ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20209 #define $ac_func innocuous_$ac_func
20211 /* System header to define __stub macros and hopefully few prototypes,
20212 which can conflict with char $ac_func (); below.
20213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20214 <limits.h> exists even on freestanding compilers. */
20216 #ifdef __STDC__
20217 # include <limits.h>
20218 #else
20219 # include <assert.h>
20220 #endif
20222 #undef $ac_func
20224 /* Override any gcc2 internal prototype to avoid an error. */
20225 #ifdef __cplusplus
20226 extern "C"
20228 #endif
20229 /* We use char because int might match the return type of a gcc2
20230 builtin and then its argument prototype would still apply. */
20231 char $ac_func ();
20232 /* The GNU C library defines this for functions which it implements
20233 to always fail with ENOSYS. Some functions are actually named
20234 something starting with __ and the normal name is an alias. */
20235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20236 choke me
20237 #else
20238 char (*f) () = $ac_func;
20239 #endif
20240 #ifdef __cplusplus
20242 #endif
20245 main ()
20247 return f != $ac_func;
20249 return 0;
20251 _ACEOF
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20254 (eval $ac_link) 2>conftest.er1
20255 ac_status=$?
20256 grep -v '^ *+' conftest.er1 >conftest.err
20257 rm -f conftest.er1
20258 cat conftest.err >&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } &&
20261 { ac_try='test -z "$ac_c_werror_flag"
20262 || test ! -s conftest.err'
20263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264 (eval $ac_try) 2>&5
20265 ac_status=$?
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; } &&
20268 { ac_try='test -s conftest$ac_exeext'
20269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270 (eval $ac_try) 2>&5
20271 ac_status=$?
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); }; }; then
20274 eval "$as_ac_var=yes"
20275 else
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20279 eval "$as_ac_var=no"
20281 rm -f conftest.err conftest.$ac_objext \
20282 conftest$ac_exeext conftest.$ac_ext
20284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20286 if test `eval echo '${'$as_ac_var'}'` = yes; then
20287 cat >>confdefs.h <<_ACEOF
20288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20289 _ACEOF
20292 done
20302 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20303 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20304 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20305 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20306 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 else
20311 ac_ext=cc
20312 ac_cpp='$CXXCPP $CPPFLAGS'
20313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20317 cat >conftest.$ac_ext <<_ACEOF
20318 /* confdefs.h. */
20319 _ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 #include <math.h>
20325 main ()
20327 sincos(0, 0, 0);
20329 return 0;
20331 _ACEOF
20332 rm -f conftest.$ac_objext
20333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20334 (eval $ac_compile) 2>conftest.er1
20335 ac_status=$?
20336 grep -v '^ *+' conftest.er1 >conftest.err
20337 rm -f conftest.er1
20338 cat conftest.err >&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); } &&
20341 { ac_try='test -z "$ac_cxx_werror_flag"
20342 || test ! -s conftest.err'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; } &&
20348 { ac_try='test -s conftest.$ac_objext'
20349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20350 (eval $ac_try) 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); }; }; then
20354 glibcxx_cv_func_sincos_use=yes
20355 else
20356 echo "$as_me: failed program was:" >&5
20357 sed 's/^/| /' conftest.$ac_ext >&5
20359 glibcxx_cv_func_sincos_use=no
20361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20362 ac_ext=c
20363 ac_cpp='$CPP $CPPFLAGS'
20364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20373 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20375 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20377 for ac_func in sincos
20379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20380 echo "$as_me:$LINENO: checking for $ac_func" >&5
20381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20382 if eval "test \"\${$as_ac_var+set}\" = set"; then
20383 echo $ECHO_N "(cached) $ECHO_C" >&6
20384 else
20385 if test x$gcc_no_link = xyes; then
20386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20388 { (exit 1); exit 1; }; }
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20398 #define $ac_func innocuous_$ac_func
20400 /* System header to define __stub macros and hopefully few prototypes,
20401 which can conflict with char $ac_func (); below.
20402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20403 <limits.h> exists even on freestanding compilers. */
20405 #ifdef __STDC__
20406 # include <limits.h>
20407 #else
20408 # include <assert.h>
20409 #endif
20411 #undef $ac_func
20413 /* Override any gcc2 internal prototype to avoid an error. */
20414 #ifdef __cplusplus
20415 extern "C"
20417 #endif
20418 /* We use char because int might match the return type of a gcc2
20419 builtin and then its argument prototype would still apply. */
20420 char $ac_func ();
20421 /* The GNU C library defines this for functions which it implements
20422 to always fail with ENOSYS. Some functions are actually named
20423 something starting with __ and the normal name is an alias. */
20424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20425 choke me
20426 #else
20427 char (*f) () = $ac_func;
20428 #endif
20429 #ifdef __cplusplus
20431 #endif
20434 main ()
20436 return f != $ac_func;
20438 return 0;
20440 _ACEOF
20441 rm -f conftest.$ac_objext conftest$ac_exeext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443 (eval $ac_link) 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } &&
20450 { ac_try='test -z "$ac_c_werror_flag"
20451 || test ! -s conftest.err'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20454 ac_status=$?
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; } &&
20457 { ac_try='test -s conftest$ac_exeext'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20460 ac_status=$?
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; }; then
20463 eval "$as_ac_var=yes"
20464 else
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20468 eval "$as_ac_var=no"
20470 rm -f conftest.err conftest.$ac_objext \
20471 conftest$ac_exeext conftest.$ac_ext
20473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20475 if test `eval echo '${'$as_ac_var'}'` = yes; then
20476 cat >>confdefs.h <<_ACEOF
20477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20478 _ACEOF
20481 done
20483 else
20485 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20486 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20487 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20488 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20494 ac_ext=cc
20495 ac_cpp='$CXXCPP $CPPFLAGS'
20496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20500 cat >conftest.$ac_ext <<_ACEOF
20501 /* confdefs.h. */
20502 _ACEOF
20503 cat confdefs.h >>conftest.$ac_ext
20504 cat >>conftest.$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 #include <math.h>
20508 main ()
20510 _sincos(0, 0, 0);
20512 return 0;
20514 _ACEOF
20515 rm -f conftest.$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517 (eval $ac_compile) 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -z "$ac_cxx_werror_flag"
20525 || test ! -s conftest.err'
20526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20527 (eval $ac_try) 2>&5
20528 ac_status=$?
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); }; } &&
20531 { ac_try='test -s conftest.$ac_objext'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20534 ac_status=$?
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; }; then
20537 glibcxx_cv_func__sincos_use=yes
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 glibcxx_cv_func__sincos_use=no
20544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20545 ac_ext=c
20546 ac_cpp='$CPP $CPPFLAGS'
20547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20556 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20558 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20560 for ac_func in _sincos
20562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20563 echo "$as_me:$LINENO: checking for $ac_func" >&5
20564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20565 if eval "test \"\${$as_ac_var+set}\" = set"; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568 if test x$gcc_no_link = xyes; then
20569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20571 { (exit 1); exit 1; }; }
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h. */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20581 #define $ac_func innocuous_$ac_func
20583 /* System header to define __stub macros and hopefully few prototypes,
20584 which can conflict with char $ac_func (); below.
20585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20586 <limits.h> exists even on freestanding compilers. */
20588 #ifdef __STDC__
20589 # include <limits.h>
20590 #else
20591 # include <assert.h>
20592 #endif
20594 #undef $ac_func
20596 /* Override any gcc2 internal prototype to avoid an error. */
20597 #ifdef __cplusplus
20598 extern "C"
20600 #endif
20601 /* We use char because int might match the return type of a gcc2
20602 builtin and then its argument prototype would still apply. */
20603 char $ac_func ();
20604 /* The GNU C library defines this for functions which it implements
20605 to always fail with ENOSYS. Some functions are actually named
20606 something starting with __ and the normal name is an alias. */
20607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20608 choke me
20609 #else
20610 char (*f) () = $ac_func;
20611 #endif
20612 #ifdef __cplusplus
20614 #endif
20617 main ()
20619 return f != $ac_func;
20621 return 0;
20623 _ACEOF
20624 rm -f conftest.$ac_objext conftest$ac_exeext
20625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20626 (eval $ac_link) 2>conftest.er1
20627 ac_status=$?
20628 grep -v '^ *+' conftest.er1 >conftest.err
20629 rm -f conftest.er1
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } &&
20633 { ac_try='test -z "$ac_c_werror_flag"
20634 || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try='test -s conftest$ac_exeext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 eval "$as_ac_var=yes"
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 eval "$as_ac_var=no"
20653 rm -f conftest.err conftest.$ac_objext \
20654 conftest$ac_exeext conftest.$ac_ext
20656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20658 if test `eval echo '${'$as_ac_var'}'` = yes; then
20659 cat >>confdefs.h <<_ACEOF
20660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20661 _ACEOF
20664 done
20674 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20675 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20676 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20677 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20678 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 else
20683 ac_ext=cc
20684 ac_cpp='$CXXCPP $CPPFLAGS'
20685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20689 cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h. */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 #include <math.h>
20696 #ifdef HAVE_IEEEFP_H
20697 #include <ieeefp.h>
20698 #endif
20701 main ()
20703 fpclass(0);
20705 return 0;
20707 _ACEOF
20708 rm -f conftest.$ac_objext
20709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20710 (eval $ac_compile) 2>conftest.er1
20711 ac_status=$?
20712 grep -v '^ *+' conftest.er1 >conftest.err
20713 rm -f conftest.er1
20714 cat conftest.err >&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } &&
20717 { ac_try='test -z "$ac_cxx_werror_flag"
20718 || test ! -s conftest.err'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; } &&
20724 { ac_try='test -s conftest.$ac_objext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20730 glibcxx_cv_func_fpclass_use=yes
20731 else
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20735 glibcxx_cv_func_fpclass_use=no
20737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20738 ac_ext=c
20739 ac_cpp='$CPP $CPPFLAGS'
20740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20749 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20751 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20753 for ac_func in fpclass
20755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20756 echo "$as_me:$LINENO: checking for $ac_func" >&5
20757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20758 if eval "test \"\${$as_ac_var+set}\" = set"; then
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20760 else
20761 if test x$gcc_no_link = xyes; then
20762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20764 { (exit 1); exit 1; }; }
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20774 #define $ac_func innocuous_$ac_func
20776 /* System header to define __stub macros and hopefully few prototypes,
20777 which can conflict with char $ac_func (); below.
20778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20779 <limits.h> exists even on freestanding compilers. */
20781 #ifdef __STDC__
20782 # include <limits.h>
20783 #else
20784 # include <assert.h>
20785 #endif
20787 #undef $ac_func
20789 /* Override any gcc2 internal prototype to avoid an error. */
20790 #ifdef __cplusplus
20791 extern "C"
20793 #endif
20794 /* We use char because int might match the return type of a gcc2
20795 builtin and then its argument prototype would still apply. */
20796 char $ac_func ();
20797 /* The GNU C library defines this for functions which it implements
20798 to always fail with ENOSYS. Some functions are actually named
20799 something starting with __ and the normal name is an alias. */
20800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20801 choke me
20802 #else
20803 char (*f) () = $ac_func;
20804 #endif
20805 #ifdef __cplusplus
20807 #endif
20810 main ()
20812 return f != $ac_func;
20814 return 0;
20816 _ACEOF
20817 rm -f conftest.$ac_objext conftest$ac_exeext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20819 (eval $ac_link) 2>conftest.er1
20820 ac_status=$?
20821 grep -v '^ *+' conftest.er1 >conftest.err
20822 rm -f conftest.er1
20823 cat conftest.err >&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -z "$ac_c_werror_flag"
20827 || test ! -s conftest.err'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; } &&
20833 { ac_try='test -s conftest$ac_exeext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 eval "$as_ac_var=yes"
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20844 eval "$as_ac_var=no"
20846 rm -f conftest.err conftest.$ac_objext \
20847 conftest$ac_exeext conftest.$ac_ext
20849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20851 if test `eval echo '${'$as_ac_var'}'` = yes; then
20852 cat >>confdefs.h <<_ACEOF
20853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20854 _ACEOF
20857 done
20859 else
20861 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20862 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20863 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20864 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20870 ac_ext=cc
20871 ac_cpp='$CXXCPP $CPPFLAGS'
20872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20876 cat >conftest.$ac_ext <<_ACEOF
20877 /* confdefs.h. */
20878 _ACEOF
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 #include <math.h>
20883 #ifdef HAVE_IEEEFP_H
20884 #include <ieeefp.h>
20885 #endif
20888 main ()
20890 _fpclass(0);
20892 return 0;
20894 _ACEOF
20895 rm -f conftest.$ac_objext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20897 (eval $ac_compile) 2>conftest.er1
20898 ac_status=$?
20899 grep -v '^ *+' conftest.er1 >conftest.err
20900 rm -f conftest.er1
20901 cat conftest.err >&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); } &&
20904 { ac_try='test -z "$ac_cxx_werror_flag"
20905 || test ! -s conftest.err'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20908 ac_status=$?
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; } &&
20911 { ac_try='test -s conftest.$ac_objext'
20912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913 (eval $ac_try) 2>&5
20914 ac_status=$?
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; }; then
20917 glibcxx_cv_func__fpclass_use=yes
20918 else
20919 echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20922 glibcxx_cv_func__fpclass_use=no
20924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20925 ac_ext=c
20926 ac_cpp='$CPP $CPPFLAGS'
20927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20936 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20938 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20940 for ac_func in _fpclass
20942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20943 echo "$as_me:$LINENO: checking for $ac_func" >&5
20944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20945 if eval "test \"\${$as_ac_var+set}\" = set"; then
20946 echo $ECHO_N "(cached) $ECHO_C" >&6
20947 else
20948 if test x$gcc_no_link = xyes; then
20949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20951 { (exit 1); exit 1; }; }
20953 cat >conftest.$ac_ext <<_ACEOF
20954 /* confdefs.h. */
20955 _ACEOF
20956 cat confdefs.h >>conftest.$ac_ext
20957 cat >>conftest.$ac_ext <<_ACEOF
20958 /* end confdefs.h. */
20959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20961 #define $ac_func innocuous_$ac_func
20963 /* System header to define __stub macros and hopefully few prototypes,
20964 which can conflict with char $ac_func (); below.
20965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20966 <limits.h> exists even on freestanding compilers. */
20968 #ifdef __STDC__
20969 # include <limits.h>
20970 #else
20971 # include <assert.h>
20972 #endif
20974 #undef $ac_func
20976 /* Override any gcc2 internal prototype to avoid an error. */
20977 #ifdef __cplusplus
20978 extern "C"
20980 #endif
20981 /* We use char because int might match the return type of a gcc2
20982 builtin and then its argument prototype would still apply. */
20983 char $ac_func ();
20984 /* The GNU C library defines this for functions which it implements
20985 to always fail with ENOSYS. Some functions are actually named
20986 something starting with __ and the normal name is an alias. */
20987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20988 choke me
20989 #else
20990 char (*f) () = $ac_func;
20991 #endif
20992 #ifdef __cplusplus
20994 #endif
20997 main ()
20999 return f != $ac_func;
21001 return 0;
21003 _ACEOF
21004 rm -f conftest.$ac_objext conftest$ac_exeext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21006 (eval $ac_link) 2>conftest.er1
21007 ac_status=$?
21008 grep -v '^ *+' conftest.er1 >conftest.err
21009 rm -f conftest.er1
21010 cat conftest.err >&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try='test -z "$ac_c_werror_flag"
21014 || test ! -s conftest.err'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21017 ac_status=$?
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; } &&
21020 { ac_try='test -s conftest$ac_exeext'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; }; then
21026 eval "$as_ac_var=yes"
21027 else
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21031 eval "$as_ac_var=no"
21033 rm -f conftest.err conftest.$ac_objext \
21034 conftest$ac_exeext conftest.$ac_ext
21036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21038 if test `eval echo '${'$as_ac_var'}'` = yes; then
21039 cat >>confdefs.h <<_ACEOF
21040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21041 _ACEOF
21044 done
21054 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21055 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21056 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21057 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 else
21063 ac_ext=cc
21064 ac_cpp='$CXXCPP $CPPFLAGS'
21065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 #include <math.h>
21076 #ifdef HAVE_IEEEFP_H
21077 #include <ieeefp.h>
21078 #endif
21081 main ()
21083 qfpclass(0);
21085 return 0;
21087 _ACEOF
21088 rm -f conftest.$ac_objext
21089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21090 (eval $ac_compile) 2>conftest.er1
21091 ac_status=$?
21092 grep -v '^ *+' conftest.er1 >conftest.err
21093 rm -f conftest.er1
21094 cat conftest.err >&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); } &&
21097 { ac_try='test -z "$ac_cxx_werror_flag"
21098 || test ! -s conftest.err'
21099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21100 (eval $ac_try) 2>&5
21101 ac_status=$?
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); }; } &&
21104 { ac_try='test -s conftest.$ac_objext'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 glibcxx_cv_func_qfpclass_use=yes
21111 else
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 glibcxx_cv_func_qfpclass_use=no
21117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21118 ac_ext=c
21119 ac_cpp='$CPP $CPPFLAGS'
21120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21129 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21131 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21133 for ac_func in qfpclass
21135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21136 echo "$as_me:$LINENO: checking for $ac_func" >&5
21137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21138 if eval "test \"\${$as_ac_var+set}\" = set"; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 else
21141 if test x$gcc_no_link = xyes; then
21142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21144 { (exit 1); exit 1; }; }
21146 cat >conftest.$ac_ext <<_ACEOF
21147 /* confdefs.h. */
21148 _ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21154 #define $ac_func innocuous_$ac_func
21156 /* System header to define __stub macros and hopefully few prototypes,
21157 which can conflict with char $ac_func (); below.
21158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21159 <limits.h> exists even on freestanding compilers. */
21161 #ifdef __STDC__
21162 # include <limits.h>
21163 #else
21164 # include <assert.h>
21165 #endif
21167 #undef $ac_func
21169 /* Override any gcc2 internal prototype to avoid an error. */
21170 #ifdef __cplusplus
21171 extern "C"
21173 #endif
21174 /* We use char because int might match the return type of a gcc2
21175 builtin and then its argument prototype would still apply. */
21176 char $ac_func ();
21177 /* The GNU C library defines this for functions which it implements
21178 to always fail with ENOSYS. Some functions are actually named
21179 something starting with __ and the normal name is an alias. */
21180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21181 choke me
21182 #else
21183 char (*f) () = $ac_func;
21184 #endif
21185 #ifdef __cplusplus
21187 #endif
21190 main ()
21192 return f != $ac_func;
21194 return 0;
21196 _ACEOF
21197 rm -f conftest.$ac_objext conftest$ac_exeext
21198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21199 (eval $ac_link) 2>conftest.er1
21200 ac_status=$?
21201 grep -v '^ *+' conftest.er1 >conftest.err
21202 rm -f conftest.er1
21203 cat conftest.err >&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 { ac_try='test -z "$ac_c_werror_flag"
21207 || test ! -s conftest.err'
21208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209 (eval $ac_try) 2>&5
21210 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; } &&
21213 { ac_try='test -s conftest$ac_exeext'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21216 ac_status=$?
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; }; then
21219 eval "$as_ac_var=yes"
21220 else
21221 echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.$ac_ext >&5
21224 eval "$as_ac_var=no"
21226 rm -f conftest.err conftest.$ac_objext \
21227 conftest$ac_exeext conftest.$ac_ext
21229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21231 if test `eval echo '${'$as_ac_var'}'` = yes; then
21232 cat >>confdefs.h <<_ACEOF
21233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21234 _ACEOF
21237 done
21239 else
21241 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21242 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21243 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21244 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21246 else
21250 ac_ext=cc
21251 ac_cpp='$CXXCPP $CPPFLAGS'
21252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21256 cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h. */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 #include <math.h>
21263 #ifdef HAVE_IEEEFP_H
21264 #include <ieeefp.h>
21265 #endif
21268 main ()
21270 _qfpclass(0);
21272 return 0;
21274 _ACEOF
21275 rm -f conftest.$ac_objext
21276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21277 (eval $ac_compile) 2>conftest.er1
21278 ac_status=$?
21279 grep -v '^ *+' conftest.er1 >conftest.err
21280 rm -f conftest.er1
21281 cat conftest.err >&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } &&
21284 { ac_try='test -z "$ac_cxx_werror_flag"
21285 || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 glibcxx_cv_func__qfpclass_use=yes
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21302 glibcxx_cv_func__qfpclass_use=no
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21316 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21318 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21320 for ac_func in _qfpclass
21322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21323 echo "$as_me:$LINENO: checking for $ac_func" >&5
21324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21325 if eval "test \"\${$as_ac_var+set}\" = set"; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328 if test x$gcc_no_link = xyes; then
21329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21331 { (exit 1); exit 1; }; }
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h. */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21341 #define $ac_func innocuous_$ac_func
21343 /* System header to define __stub macros and hopefully few prototypes,
21344 which can conflict with char $ac_func (); below.
21345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21346 <limits.h> exists even on freestanding compilers. */
21348 #ifdef __STDC__
21349 # include <limits.h>
21350 #else
21351 # include <assert.h>
21352 #endif
21354 #undef $ac_func
21356 /* Override any gcc2 internal prototype to avoid an error. */
21357 #ifdef __cplusplus
21358 extern "C"
21360 #endif
21361 /* We use char because int might match the return type of a gcc2
21362 builtin and then its argument prototype would still apply. */
21363 char $ac_func ();
21364 /* The GNU C library defines this for functions which it implements
21365 to always fail with ENOSYS. Some functions are actually named
21366 something starting with __ and the normal name is an alias. */
21367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21368 choke me
21369 #else
21370 char (*f) () = $ac_func;
21371 #endif
21372 #ifdef __cplusplus
21374 #endif
21377 main ()
21379 return f != $ac_func;
21381 return 0;
21383 _ACEOF
21384 rm -f conftest.$ac_objext conftest$ac_exeext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21386 (eval $ac_link) 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try='test -z "$ac_c_werror_flag"
21394 || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try='test -s conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 eval "$as_ac_var=yes"
21407 else
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21411 eval "$as_ac_var=no"
21413 rm -f conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext conftest.$ac_ext
21416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21418 if test `eval echo '${'$as_ac_var'}'` = yes; then
21419 cat >>confdefs.h <<_ACEOF
21420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21421 _ACEOF
21424 done
21434 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21435 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21436 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21437 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 else
21443 ac_ext=cc
21444 ac_cpp='$CXXCPP $CPPFLAGS'
21445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21449 cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h. */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 #include <math.h>
21457 main ()
21459 hypot(0, 0);
21461 return 0;
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466 (eval $ac_compile) 2>conftest.er1
21467 ac_status=$?
21468 grep -v '^ *+' conftest.er1 >conftest.err
21469 rm -f conftest.er1
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } &&
21473 { ac_try='test -z "$ac_cxx_werror_flag"
21474 || test ! -s conftest.err'
21475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476 (eval $ac_try) 2>&5
21477 ac_status=$?
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; } &&
21480 { ac_try='test -s conftest.$ac_objext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21483 ac_status=$?
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 glibcxx_cv_func_hypot_use=yes
21487 else
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21491 glibcxx_cv_func_hypot_use=no
21493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21494 ac_ext=c
21495 ac_cpp='$CPP $CPPFLAGS'
21496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21505 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21507 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21509 for ac_func in hypot
21511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21512 echo "$as_me:$LINENO: checking for $ac_func" >&5
21513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21514 if eval "test \"\${$as_ac_var+set}\" = set"; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 else
21517 if test x$gcc_no_link = xyes; then
21518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21520 { (exit 1); exit 1; }; }
21522 cat >conftest.$ac_ext <<_ACEOF
21523 /* confdefs.h. */
21524 _ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21530 #define $ac_func innocuous_$ac_func
21532 /* System header to define __stub macros and hopefully few prototypes,
21533 which can conflict with char $ac_func (); below.
21534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21535 <limits.h> exists even on freestanding compilers. */
21537 #ifdef __STDC__
21538 # include <limits.h>
21539 #else
21540 # include <assert.h>
21541 #endif
21543 #undef $ac_func
21545 /* Override any gcc2 internal prototype to avoid an error. */
21546 #ifdef __cplusplus
21547 extern "C"
21549 #endif
21550 /* We use char because int might match the return type of a gcc2
21551 builtin and then its argument prototype would still apply. */
21552 char $ac_func ();
21553 /* The GNU C library defines this for functions which it implements
21554 to always fail with ENOSYS. Some functions are actually named
21555 something starting with __ and the normal name is an alias. */
21556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21557 choke me
21558 #else
21559 char (*f) () = $ac_func;
21560 #endif
21561 #ifdef __cplusplus
21563 #endif
21566 main ()
21568 return f != $ac_func;
21570 return 0;
21572 _ACEOF
21573 rm -f conftest.$ac_objext conftest$ac_exeext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21575 (eval $ac_link) 2>conftest.er1
21576 ac_status=$?
21577 grep -v '^ *+' conftest.er1 >conftest.err
21578 rm -f conftest.er1
21579 cat conftest.err >&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -z "$ac_c_werror_flag"
21583 || test ! -s conftest.err'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; } &&
21589 { ac_try='test -s conftest$ac_exeext'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21592 ac_status=$?
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; }; then
21595 eval "$as_ac_var=yes"
21596 else
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21600 eval "$as_ac_var=no"
21602 rm -f conftest.err conftest.$ac_objext \
21603 conftest$ac_exeext conftest.$ac_ext
21605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21607 if test `eval echo '${'$as_ac_var'}'` = yes; then
21608 cat >>confdefs.h <<_ACEOF
21609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21610 _ACEOF
21613 done
21615 else
21617 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21618 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21619 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21620 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21626 ac_ext=cc
21627 ac_cpp='$CXXCPP $CPPFLAGS'
21628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21632 cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h. */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638 #include <math.h>
21640 main ()
21642 _hypot(0, 0);
21644 return 0;
21646 _ACEOF
21647 rm -f conftest.$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649 (eval $ac_compile) 2>conftest.er1
21650 ac_status=$?
21651 grep -v '^ *+' conftest.er1 >conftest.err
21652 rm -f conftest.er1
21653 cat conftest.err >&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } &&
21656 { ac_try='test -z "$ac_cxx_werror_flag"
21657 || test ! -s conftest.err'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21660 ac_status=$?
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; } &&
21663 { ac_try='test -s conftest.$ac_objext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21666 ac_status=$?
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21669 glibcxx_cv_func__hypot_use=yes
21670 else
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21674 glibcxx_cv_func__hypot_use=no
21676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21677 ac_ext=c
21678 ac_cpp='$CPP $CPPFLAGS'
21679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21687 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21688 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21690 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21692 for ac_func in _hypot
21694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21695 echo "$as_me:$LINENO: checking for $ac_func" >&5
21696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21697 if eval "test \"\${$as_ac_var+set}\" = set"; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21700 if test x$gcc_no_link = xyes; then
21701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21703 { (exit 1); exit 1; }; }
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21713 #define $ac_func innocuous_$ac_func
21715 /* System header to define __stub macros and hopefully few prototypes,
21716 which can conflict with char $ac_func (); below.
21717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21718 <limits.h> exists even on freestanding compilers. */
21720 #ifdef __STDC__
21721 # include <limits.h>
21722 #else
21723 # include <assert.h>
21724 #endif
21726 #undef $ac_func
21728 /* Override any gcc2 internal prototype to avoid an error. */
21729 #ifdef __cplusplus
21730 extern "C"
21732 #endif
21733 /* We use char because int might match the return type of a gcc2
21734 builtin and then its argument prototype would still apply. */
21735 char $ac_func ();
21736 /* The GNU C library defines this for functions which it implements
21737 to always fail with ENOSYS. Some functions are actually named
21738 something starting with __ and the normal name is an alias. */
21739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21740 choke me
21741 #else
21742 char (*f) () = $ac_func;
21743 #endif
21744 #ifdef __cplusplus
21746 #endif
21749 main ()
21751 return f != $ac_func;
21753 return 0;
21755 _ACEOF
21756 rm -f conftest.$ac_objext conftest$ac_exeext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21758 (eval $ac_link) 2>conftest.er1
21759 ac_status=$?
21760 grep -v '^ *+' conftest.er1 >conftest.err
21761 rm -f conftest.er1
21762 cat conftest.err >&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); } &&
21765 { ac_try='test -z "$ac_c_werror_flag"
21766 || test ! -s conftest.err'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21769 ac_status=$?
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; } &&
21772 { ac_try='test -s conftest$ac_exeext'
21773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774 (eval $ac_try) 2>&5
21775 ac_status=$?
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; }; then
21778 eval "$as_ac_var=yes"
21779 else
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21783 eval "$as_ac_var=no"
21785 rm -f conftest.err conftest.$ac_objext \
21786 conftest$ac_exeext conftest.$ac_ext
21788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21790 if test `eval echo '${'$as_ac_var'}'` = yes; then
21791 cat >>confdefs.h <<_ACEOF
21792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21793 _ACEOF
21796 done
21806 echo "$as_me:$LINENO: checking for float trig functions" >&5
21807 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21808 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21810 else
21814 ac_ext=cc
21815 ac_cpp='$CXXCPP $CPPFLAGS'
21816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #include <math.h>
21828 main ()
21830 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21832 return 0;
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try='test -z "$ac_cxx_werror_flag"
21845 || test ! -s conftest.err'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21848 ac_status=$?
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; } &&
21851 { ac_try='test -s conftest.$ac_objext'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21854 ac_status=$?
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21857 glibcxx_cv_func_float_trig_use=yes
21858 else
21859 echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.$ac_ext >&5
21862 glibcxx_cv_func_float_trig_use=no
21864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21865 ac_ext=c
21866 ac_cpp='$CPP $CPPFLAGS'
21867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21874 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21875 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21885 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21888 echo "$as_me:$LINENO: checking for $ac_func" >&5
21889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21890 if eval "test \"\${$as_ac_var+set}\" = set"; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893 if test x$gcc_no_link = xyes; then
21894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21896 { (exit 1); exit 1; }; }
21898 cat >conftest.$ac_ext <<_ACEOF
21899 /* confdefs.h. */
21900 _ACEOF
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21906 #define $ac_func innocuous_$ac_func
21908 /* System header to define __stub macros and hopefully few prototypes,
21909 which can conflict with char $ac_func (); below.
21910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21911 <limits.h> exists even on freestanding compilers. */
21913 #ifdef __STDC__
21914 # include <limits.h>
21915 #else
21916 # include <assert.h>
21917 #endif
21919 #undef $ac_func
21921 /* Override any gcc2 internal prototype to avoid an error. */
21922 #ifdef __cplusplus
21923 extern "C"
21925 #endif
21926 /* We use char because int might match the return type of a gcc2
21927 builtin and then its argument prototype would still apply. */
21928 char $ac_func ();
21929 /* The GNU C library defines this for functions which it implements
21930 to always fail with ENOSYS. Some functions are actually named
21931 something starting with __ and the normal name is an alias. */
21932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21933 choke me
21934 #else
21935 char (*f) () = $ac_func;
21936 #endif
21937 #ifdef __cplusplus
21939 #endif
21942 main ()
21944 return f != $ac_func;
21946 return 0;
21948 _ACEOF
21949 rm -f conftest.$ac_objext conftest$ac_exeext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951 (eval $ac_link) 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try='test -z "$ac_c_werror_flag"
21959 || test ! -s conftest.err'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; } &&
21965 { ac_try='test -s conftest$ac_exeext'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 eval "$as_ac_var=yes"
21972 else
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21976 eval "$as_ac_var=no"
21978 rm -f conftest.err conftest.$ac_objext \
21979 conftest$ac_exeext conftest.$ac_ext
21981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21983 if test `eval echo '${'$as_ac_var'}'` = yes; then
21984 cat >>confdefs.h <<_ACEOF
21985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21986 _ACEOF
21989 done
21991 else
21992 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21993 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21994 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21995 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 else
22000 ac_ext=cc
22001 ac_cpp='$CXXCPP $CPPFLAGS'
22002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22006 cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h. */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 #include <math.h>
22014 main ()
22016 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22018 return 0;
22020 _ACEOF
22021 rm -f conftest.$ac_objext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22023 (eval $ac_compile) 2>conftest.er1
22024 ac_status=$?
22025 grep -v '^ *+' conftest.er1 >conftest.err
22026 rm -f conftest.er1
22027 cat conftest.err >&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try='test -z "$ac_cxx_werror_flag"
22031 || test ! -s conftest.err'
22032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 (eval $ac_try) 2>&5
22034 ac_status=$?
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try='test -s conftest.$ac_objext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22040 ac_status=$?
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 glibcxx_cv_func__float_trig_use=yes
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22048 glibcxx_cv_func__float_trig_use=no
22050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22051 ac_ext=c
22052 ac_cpp='$CPP $CPPFLAGS'
22053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22059 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22060 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22061 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22071 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22074 echo "$as_me:$LINENO: checking for $ac_func" >&5
22075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22076 if eval "test \"\${$as_ac_var+set}\" = set"; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 else
22079 if test x$gcc_no_link = xyes; then
22080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22082 { (exit 1); exit 1; }; }
22084 cat >conftest.$ac_ext <<_ACEOF
22085 /* confdefs.h. */
22086 _ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22092 #define $ac_func innocuous_$ac_func
22094 /* System header to define __stub macros and hopefully few prototypes,
22095 which can conflict with char $ac_func (); below.
22096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22097 <limits.h> exists even on freestanding compilers. */
22099 #ifdef __STDC__
22100 # include <limits.h>
22101 #else
22102 # include <assert.h>
22103 #endif
22105 #undef $ac_func
22107 /* Override any gcc2 internal prototype to avoid an error. */
22108 #ifdef __cplusplus
22109 extern "C"
22111 #endif
22112 /* We use char because int might match the return type of a gcc2
22113 builtin and then its argument prototype would still apply. */
22114 char $ac_func ();
22115 /* The GNU C library defines this for functions which it implements
22116 to always fail with ENOSYS. Some functions are actually named
22117 something starting with __ and the normal name is an alias. */
22118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22119 choke me
22120 #else
22121 char (*f) () = $ac_func;
22122 #endif
22123 #ifdef __cplusplus
22125 #endif
22128 main ()
22130 return f != $ac_func;
22132 return 0;
22134 _ACEOF
22135 rm -f conftest.$ac_objext conftest$ac_exeext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22137 (eval $ac_link) 2>conftest.er1
22138 ac_status=$?
22139 grep -v '^ *+' conftest.er1 >conftest.err
22140 rm -f conftest.er1
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } &&
22144 { ac_try='test -z "$ac_c_werror_flag"
22145 || test ! -s conftest.err'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; } &&
22151 { ac_try='test -s conftest$ac_exeext'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22154 ac_status=$?
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 eval "$as_ac_var=yes"
22158 else
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 eval "$as_ac_var=no"
22164 rm -f conftest.err conftest.$ac_objext \
22165 conftest$ac_exeext conftest.$ac_ext
22167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22169 if test `eval echo '${'$as_ac_var'}'` = yes; then
22170 cat >>confdefs.h <<_ACEOF
22171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22172 _ACEOF
22175 done
22193 echo "$as_me:$LINENO: checking for float round functions" >&5
22194 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22195 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22196 echo $ECHO_N "(cached) $ECHO_C" >&6
22197 else
22201 ac_ext=cc
22202 ac_cpp='$CXXCPP $CPPFLAGS'
22203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22207 cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h. */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h. */
22213 #include <math.h>
22215 main ()
22217 ceilf (0); floorf (0);
22219 return 0;
22221 _ACEOF
22222 rm -f conftest.$ac_objext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22224 (eval $ac_compile) 2>conftest.er1
22225 ac_status=$?
22226 grep -v '^ *+' conftest.er1 >conftest.err
22227 rm -f conftest.er1
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_cxx_werror_flag"
22232 || test ! -s conftest.err'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; } &&
22238 { ac_try='test -s conftest.$ac_objext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22241 ac_status=$?
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 glibcxx_cv_func_float_round_use=yes
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22249 glibcxx_cv_func_float_round_use=no
22251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22252 ac_ext=c
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22261 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22262 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22265 for ac_func in ceilf floorf
22267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22268 echo "$as_me:$LINENO: checking for $ac_func" >&5
22269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22270 if eval "test \"\${$as_ac_var+set}\" = set"; then
22271 echo $ECHO_N "(cached) $ECHO_C" >&6
22272 else
22273 if test x$gcc_no_link = xyes; then
22274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22276 { (exit 1); exit 1; }; }
22278 cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h. */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22286 #define $ac_func innocuous_$ac_func
22288 /* System header to define __stub macros and hopefully few prototypes,
22289 which can conflict with char $ac_func (); below.
22290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22291 <limits.h> exists even on freestanding compilers. */
22293 #ifdef __STDC__
22294 # include <limits.h>
22295 #else
22296 # include <assert.h>
22297 #endif
22299 #undef $ac_func
22301 /* Override any gcc2 internal prototype to avoid an error. */
22302 #ifdef __cplusplus
22303 extern "C"
22305 #endif
22306 /* We use char because int might match the return type of a gcc2
22307 builtin and then its argument prototype would still apply. */
22308 char $ac_func ();
22309 /* The GNU C library defines this for functions which it implements
22310 to always fail with ENOSYS. Some functions are actually named
22311 something starting with __ and the normal name is an alias. */
22312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22313 choke me
22314 #else
22315 char (*f) () = $ac_func;
22316 #endif
22317 #ifdef __cplusplus
22319 #endif
22322 main ()
22324 return f != $ac_func;
22326 return 0;
22328 _ACEOF
22329 rm -f conftest.$ac_objext conftest$ac_exeext
22330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22331 (eval $ac_link) 2>conftest.er1
22332 ac_status=$?
22333 grep -v '^ *+' conftest.er1 >conftest.err
22334 rm -f conftest.er1
22335 cat conftest.err >&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } &&
22338 { ac_try='test -z "$ac_c_werror_flag"
22339 || test ! -s conftest.err'
22340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341 (eval $ac_try) 2>&5
22342 ac_status=$?
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); }; } &&
22345 { ac_try='test -s conftest$ac_exeext'
22346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22347 (eval $ac_try) 2>&5
22348 ac_status=$?
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); }; }; then
22351 eval "$as_ac_var=yes"
22352 else
22353 echo "$as_me: failed program was:" >&5
22354 sed 's/^/| /' conftest.$ac_ext >&5
22356 eval "$as_ac_var=no"
22358 rm -f conftest.err conftest.$ac_objext \
22359 conftest$ac_exeext conftest.$ac_ext
22361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22363 if test `eval echo '${'$as_ac_var'}'` = yes; then
22364 cat >>confdefs.h <<_ACEOF
22365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22366 _ACEOF
22369 done
22371 else
22372 echo "$as_me:$LINENO: checking for _float round functions" >&5
22373 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22374 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 else
22380 ac_ext=cc
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386 cat >conftest.$ac_ext <<_ACEOF
22387 /* confdefs.h. */
22388 _ACEOF
22389 cat confdefs.h >>conftest.$ac_ext
22390 cat >>conftest.$ac_ext <<_ACEOF
22391 /* end confdefs.h. */
22392 #include <math.h>
22394 main ()
22396 _ceilf (0); _floorf (0);
22398 return 0;
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22403 (eval $ac_compile) 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } &&
22410 { ac_try='test -z "$ac_cxx_werror_flag"
22411 || test ! -s conftest.err'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22414 ac_status=$?
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; } &&
22417 { ac_try='test -s conftest.$ac_objext'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22420 ac_status=$?
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 glibcxx_cv_func__float_round_use=yes
22424 else
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.$ac_ext >&5
22428 glibcxx_cv_func__float_round_use=no
22430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22431 ac_ext=c
22432 ac_cpp='$CPP $CPPFLAGS'
22433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22440 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22441 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22444 for ac_func in _ceilf _floorf
22446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22447 echo "$as_me:$LINENO: checking for $ac_func" >&5
22448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22449 if eval "test \"\${$as_ac_var+set}\" = set"; then
22450 echo $ECHO_N "(cached) $ECHO_C" >&6
22451 else
22452 if test x$gcc_no_link = xyes; then
22453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22455 { (exit 1); exit 1; }; }
22457 cat >conftest.$ac_ext <<_ACEOF
22458 /* confdefs.h. */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22465 #define $ac_func innocuous_$ac_func
22467 /* System header to define __stub macros and hopefully few prototypes,
22468 which can conflict with char $ac_func (); below.
22469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22470 <limits.h> exists even on freestanding compilers. */
22472 #ifdef __STDC__
22473 # include <limits.h>
22474 #else
22475 # include <assert.h>
22476 #endif
22478 #undef $ac_func
22480 /* Override any gcc2 internal prototype to avoid an error. */
22481 #ifdef __cplusplus
22482 extern "C"
22484 #endif
22485 /* We use char because int might match the return type of a gcc2
22486 builtin and then its argument prototype would still apply. */
22487 char $ac_func ();
22488 /* The GNU C library defines this for functions which it implements
22489 to always fail with ENOSYS. Some functions are actually named
22490 something starting with __ and the normal name is an alias. */
22491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22492 choke me
22493 #else
22494 char (*f) () = $ac_func;
22495 #endif
22496 #ifdef __cplusplus
22498 #endif
22501 main ()
22503 return f != $ac_func;
22505 return 0;
22507 _ACEOF
22508 rm -f conftest.$ac_objext conftest$ac_exeext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22510 (eval $ac_link) 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try='test -z "$ac_c_werror_flag"
22518 || test ! -s conftest.err'
22519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22520 (eval $ac_try) 2>&5
22521 ac_status=$?
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); }; } &&
22524 { ac_try='test -s conftest$ac_exeext'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; }; then
22530 eval "$as_ac_var=yes"
22531 else
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22535 eval "$as_ac_var=no"
22537 rm -f conftest.err conftest.$ac_objext \
22538 conftest$ac_exeext conftest.$ac_ext
22540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22542 if test `eval echo '${'$as_ac_var'}'` = yes; then
22543 cat >>confdefs.h <<_ACEOF
22544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22545 _ACEOF
22548 done
22560 echo "$as_me:$LINENO: checking for expf declaration" >&5
22561 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22562 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22563 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 else
22569 ac_ext=cc
22570 ac_cpp='$CXXCPP $CPPFLAGS'
22571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22575 cat >conftest.$ac_ext <<_ACEOF
22576 /* confdefs.h. */
22577 _ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581 #include <math.h>
22582 #ifdef HAVE_IEEEFP_H
22583 #include <ieeefp.h>
22584 #endif
22587 main ()
22589 expf(0);
22591 return 0;
22593 _ACEOF
22594 rm -f conftest.$ac_objext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22596 (eval $ac_compile) 2>conftest.er1
22597 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1
22600 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try='test -z "$ac_cxx_werror_flag"
22604 || test ! -s conftest.err'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } &&
22610 { ac_try='test -s conftest.$ac_objext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 glibcxx_cv_func_expf_use=yes
22617 else
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.$ac_ext >&5
22621 glibcxx_cv_func_expf_use=no
22623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22624 ac_ext=c
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22635 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22637 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22639 for ac_func in expf
22641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22642 echo "$as_me:$LINENO: checking for $ac_func" >&5
22643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22644 if eval "test \"\${$as_ac_var+set}\" = set"; then
22645 echo $ECHO_N "(cached) $ECHO_C" >&6
22646 else
22647 if test x$gcc_no_link = xyes; then
22648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22650 { (exit 1); exit 1; }; }
22652 cat >conftest.$ac_ext <<_ACEOF
22653 /* confdefs.h. */
22654 _ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22660 #define $ac_func innocuous_$ac_func
22662 /* System header to define __stub macros and hopefully few prototypes,
22663 which can conflict with char $ac_func (); below.
22664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22665 <limits.h> exists even on freestanding compilers. */
22667 #ifdef __STDC__
22668 # include <limits.h>
22669 #else
22670 # include <assert.h>
22671 #endif
22673 #undef $ac_func
22675 /* Override any gcc2 internal prototype to avoid an error. */
22676 #ifdef __cplusplus
22677 extern "C"
22679 #endif
22680 /* We use char because int might match the return type of a gcc2
22681 builtin and then its argument prototype would still apply. */
22682 char $ac_func ();
22683 /* The GNU C library defines this for functions which it implements
22684 to always fail with ENOSYS. Some functions are actually named
22685 something starting with __ and the normal name is an alias. */
22686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22687 choke me
22688 #else
22689 char (*f) () = $ac_func;
22690 #endif
22691 #ifdef __cplusplus
22693 #endif
22696 main ()
22698 return f != $ac_func;
22700 return 0;
22702 _ACEOF
22703 rm -f conftest.$ac_objext conftest$ac_exeext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22705 (eval $ac_link) 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try='test -z "$ac_c_werror_flag"
22713 || test ! -s conftest.err'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22716 ac_status=$?
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; } &&
22719 { ac_try='test -s conftest$ac_exeext'
22720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721 (eval $ac_try) 2>&5
22722 ac_status=$?
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); }; }; then
22725 eval "$as_ac_var=yes"
22726 else
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.$ac_ext >&5
22730 eval "$as_ac_var=no"
22732 rm -f conftest.err conftest.$ac_objext \
22733 conftest$ac_exeext conftest.$ac_ext
22735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22737 if test `eval echo '${'$as_ac_var'}'` = yes; then
22738 cat >>confdefs.h <<_ACEOF
22739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22740 _ACEOF
22743 done
22745 else
22747 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22748 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22749 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22750 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22752 else
22756 ac_ext=cc
22757 ac_cpp='$CXXCPP $CPPFLAGS'
22758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22762 cat >conftest.$ac_ext <<_ACEOF
22763 /* confdefs.h. */
22764 _ACEOF
22765 cat confdefs.h >>conftest.$ac_ext
22766 cat >>conftest.$ac_ext <<_ACEOF
22767 /* end confdefs.h. */
22768 #include <math.h>
22769 #ifdef HAVE_IEEEFP_H
22770 #include <ieeefp.h>
22771 #endif
22774 main ()
22776 _expf(0);
22778 return 0;
22780 _ACEOF
22781 rm -f conftest.$ac_objext
22782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22783 (eval $ac_compile) 2>conftest.er1
22784 ac_status=$?
22785 grep -v '^ *+' conftest.er1 >conftest.err
22786 rm -f conftest.er1
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } &&
22790 { ac_try='test -z "$ac_cxx_werror_flag"
22791 || test ! -s conftest.err'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; } &&
22797 { ac_try='test -s conftest.$ac_objext'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 glibcxx_cv_func__expf_use=yes
22804 else
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.$ac_ext >&5
22808 glibcxx_cv_func__expf_use=no
22810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22811 ac_ext=c
22812 ac_cpp='$CPP $CPPFLAGS'
22813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22822 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22824 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22826 for ac_func in _expf
22828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22829 echo "$as_me:$LINENO: checking for $ac_func" >&5
22830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22831 if eval "test \"\${$as_ac_var+set}\" = set"; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 else
22834 if test x$gcc_no_link = xyes; then
22835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22837 { (exit 1); exit 1; }; }
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h. */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22847 #define $ac_func innocuous_$ac_func
22849 /* System header to define __stub macros and hopefully few prototypes,
22850 which can conflict with char $ac_func (); below.
22851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22852 <limits.h> exists even on freestanding compilers. */
22854 #ifdef __STDC__
22855 # include <limits.h>
22856 #else
22857 # include <assert.h>
22858 #endif
22860 #undef $ac_func
22862 /* Override any gcc2 internal prototype to avoid an error. */
22863 #ifdef __cplusplus
22864 extern "C"
22866 #endif
22867 /* We use char because int might match the return type of a gcc2
22868 builtin and then its argument prototype would still apply. */
22869 char $ac_func ();
22870 /* The GNU C library defines this for functions which it implements
22871 to always fail with ENOSYS. Some functions are actually named
22872 something starting with __ and the normal name is an alias. */
22873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22874 choke me
22875 #else
22876 char (*f) () = $ac_func;
22877 #endif
22878 #ifdef __cplusplus
22880 #endif
22883 main ()
22885 return f != $ac_func;
22887 return 0;
22889 _ACEOF
22890 rm -f conftest.$ac_objext conftest$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892 (eval $ac_link) 2>conftest.er1
22893 ac_status=$?
22894 grep -v '^ *+' conftest.er1 >conftest.err
22895 rm -f conftest.er1
22896 cat conftest.err >&5
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); } &&
22899 { ac_try='test -z "$ac_c_werror_flag"
22900 || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22903 ac_status=$?
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try='test -s conftest$ac_exeext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 eval "$as_ac_var=yes"
22913 else
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22917 eval "$as_ac_var=no"
22919 rm -f conftest.err conftest.$ac_objext \
22920 conftest$ac_exeext conftest.$ac_ext
22922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22924 if test `eval echo '${'$as_ac_var'}'` = yes; then
22925 cat >>confdefs.h <<_ACEOF
22926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22927 _ACEOF
22930 done
22940 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22941 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22942 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22943 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22945 else
22949 ac_ext=cc
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961 #include <math.h>
22962 #ifdef HAVE_IEEEFP_H
22963 #include <ieeefp.h>
22964 #endif
22967 main ()
22969 isnanf(0);
22971 return 0;
22973 _ACEOF
22974 rm -f conftest.$ac_objext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22976 (eval $ac_compile) 2>conftest.er1
22977 ac_status=$?
22978 grep -v '^ *+' conftest.er1 >conftest.err
22979 rm -f conftest.er1
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } &&
22983 { ac_try='test -z "$ac_cxx_werror_flag"
22984 || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 glibcxx_cv_func_isnanf_use=yes
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23001 glibcxx_cv_func_isnanf_use=no
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23004 ac_ext=c
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23015 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
23017 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23019 for ac_func in isnanf
23021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23022 echo "$as_me:$LINENO: checking for $ac_func" >&5
23023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23024 if eval "test \"\${$as_ac_var+set}\" = set"; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027 if test x$gcc_no_link = xyes; then
23028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23030 { (exit 1); exit 1; }; }
23032 cat >conftest.$ac_ext <<_ACEOF
23033 /* confdefs.h. */
23034 _ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23040 #define $ac_func innocuous_$ac_func
23042 /* System header to define __stub macros and hopefully few prototypes,
23043 which can conflict with char $ac_func (); below.
23044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23045 <limits.h> exists even on freestanding compilers. */
23047 #ifdef __STDC__
23048 # include <limits.h>
23049 #else
23050 # include <assert.h>
23051 #endif
23053 #undef $ac_func
23055 /* Override any gcc2 internal prototype to avoid an error. */
23056 #ifdef __cplusplus
23057 extern "C"
23059 #endif
23060 /* We use char because int might match the return type of a gcc2
23061 builtin and then its argument prototype would still apply. */
23062 char $ac_func ();
23063 /* The GNU C library defines this for functions which it implements
23064 to always fail with ENOSYS. Some functions are actually named
23065 something starting with __ and the normal name is an alias. */
23066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23067 choke me
23068 #else
23069 char (*f) () = $ac_func;
23070 #endif
23071 #ifdef __cplusplus
23073 #endif
23076 main ()
23078 return f != $ac_func;
23080 return 0;
23082 _ACEOF
23083 rm -f conftest.$ac_objext conftest$ac_exeext
23084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23085 (eval $ac_link) 2>conftest.er1
23086 ac_status=$?
23087 grep -v '^ *+' conftest.er1 >conftest.err
23088 rm -f conftest.er1
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } &&
23092 { ac_try='test -z "$ac_c_werror_flag"
23093 || test ! -s conftest.err'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23096 ac_status=$?
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; } &&
23099 { ac_try='test -s conftest$ac_exeext'
23100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23101 (eval $ac_try) 2>&5
23102 ac_status=$?
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); }; }; then
23105 eval "$as_ac_var=yes"
23106 else
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.$ac_ext >&5
23110 eval "$as_ac_var=no"
23112 rm -f conftest.err conftest.$ac_objext \
23113 conftest$ac_exeext conftest.$ac_ext
23115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23117 if test `eval echo '${'$as_ac_var'}'` = yes; then
23118 cat >>confdefs.h <<_ACEOF
23119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23120 _ACEOF
23123 done
23125 else
23127 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23128 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23129 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23130 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23131 echo $ECHO_N "(cached) $ECHO_C" >&6
23132 else
23136 ac_ext=cc
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23142 cat >conftest.$ac_ext <<_ACEOF
23143 /* confdefs.h. */
23144 _ACEOF
23145 cat confdefs.h >>conftest.$ac_ext
23146 cat >>conftest.$ac_ext <<_ACEOF
23147 /* end confdefs.h. */
23148 #include <math.h>
23149 #ifdef HAVE_IEEEFP_H
23150 #include <ieeefp.h>
23151 #endif
23154 main ()
23156 _isnanf(0);
23158 return 0;
23160 _ACEOF
23161 rm -f conftest.$ac_objext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23163 (eval $ac_compile) 2>conftest.er1
23164 ac_status=$?
23165 grep -v '^ *+' conftest.er1 >conftest.err
23166 rm -f conftest.er1
23167 cat conftest.err >&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } &&
23170 { ac_try='test -z "$ac_cxx_werror_flag"
23171 || test ! -s conftest.err'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23174 ac_status=$?
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; } &&
23177 { ac_try='test -s conftest.$ac_objext'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23180 ac_status=$?
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; }; then
23183 glibcxx_cv_func__isnanf_use=yes
23184 else
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23188 glibcxx_cv_func__isnanf_use=no
23190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23202 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23204 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23206 for ac_func in _isnanf
23208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23209 echo "$as_me:$LINENO: checking for $ac_func" >&5
23210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23211 if eval "test \"\${$as_ac_var+set}\" = set"; then
23212 echo $ECHO_N "(cached) $ECHO_C" >&6
23213 else
23214 if test x$gcc_no_link = xyes; then
23215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23217 { (exit 1); exit 1; }; }
23219 cat >conftest.$ac_ext <<_ACEOF
23220 /* confdefs.h. */
23221 _ACEOF
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23227 #define $ac_func innocuous_$ac_func
23229 /* System header to define __stub macros and hopefully few prototypes,
23230 which can conflict with char $ac_func (); below.
23231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23232 <limits.h> exists even on freestanding compilers. */
23234 #ifdef __STDC__
23235 # include <limits.h>
23236 #else
23237 # include <assert.h>
23238 #endif
23240 #undef $ac_func
23242 /* Override any gcc2 internal prototype to avoid an error. */
23243 #ifdef __cplusplus
23244 extern "C"
23246 #endif
23247 /* We use char because int might match the return type of a gcc2
23248 builtin and then its argument prototype would still apply. */
23249 char $ac_func ();
23250 /* The GNU C library defines this for functions which it implements
23251 to always fail with ENOSYS. Some functions are actually named
23252 something starting with __ and the normal name is an alias. */
23253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23254 choke me
23255 #else
23256 char (*f) () = $ac_func;
23257 #endif
23258 #ifdef __cplusplus
23260 #endif
23263 main ()
23265 return f != $ac_func;
23267 return 0;
23269 _ACEOF
23270 rm -f conftest.$ac_objext conftest$ac_exeext
23271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23272 (eval $ac_link) 2>conftest.er1
23273 ac_status=$?
23274 grep -v '^ *+' conftest.er1 >conftest.err
23275 rm -f conftest.er1
23276 cat conftest.err >&5
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); } &&
23279 { ac_try='test -z "$ac_c_werror_flag"
23280 || test ! -s conftest.err'
23281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282 (eval $ac_try) 2>&5
23283 ac_status=$?
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; } &&
23286 { ac_try='test -s conftest$ac_exeext'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23289 ac_status=$?
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; }; then
23292 eval "$as_ac_var=yes"
23293 else
23294 echo "$as_me: failed program was:" >&5
23295 sed 's/^/| /' conftest.$ac_ext >&5
23297 eval "$as_ac_var=no"
23299 rm -f conftest.err conftest.$ac_objext \
23300 conftest$ac_exeext conftest.$ac_ext
23302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23304 if test `eval echo '${'$as_ac_var'}'` = yes; then
23305 cat >>confdefs.h <<_ACEOF
23306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23307 _ACEOF
23310 done
23320 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23321 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23322 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23323 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23329 ac_ext=cc
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23335 cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h. */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 #include <math.h>
23342 #ifdef HAVE_IEEEFP_H
23343 #include <ieeefp.h>
23344 #endif
23347 main ()
23349 isinff(0);
23351 return 0;
23353 _ACEOF
23354 rm -f conftest.$ac_objext
23355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23356 (eval $ac_compile) 2>conftest.er1
23357 ac_status=$?
23358 grep -v '^ *+' conftest.er1 >conftest.err
23359 rm -f conftest.er1
23360 cat conftest.err >&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } &&
23363 { ac_try='test -z "$ac_cxx_werror_flag"
23364 || test ! -s conftest.err'
23365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366 (eval $ac_try) 2>&5
23367 ac_status=$?
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); }; } &&
23370 { ac_try='test -s conftest.$ac_objext'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 glibcxx_cv_func_isinff_use=yes
23377 else
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23381 glibcxx_cv_func_isinff_use=no
23383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23384 ac_ext=c
23385 ac_cpp='$CPP $CPPFLAGS'
23386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23395 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23397 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23399 for ac_func in isinff
23401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23402 echo "$as_me:$LINENO: checking for $ac_func" >&5
23403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23404 if eval "test \"\${$as_ac_var+set}\" = set"; then
23405 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 else
23407 if test x$gcc_no_link = xyes; then
23408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23410 { (exit 1); exit 1; }; }
23412 cat >conftest.$ac_ext <<_ACEOF
23413 /* confdefs.h. */
23414 _ACEOF
23415 cat confdefs.h >>conftest.$ac_ext
23416 cat >>conftest.$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23420 #define $ac_func innocuous_$ac_func
23422 /* System header to define __stub macros and hopefully few prototypes,
23423 which can conflict with char $ac_func (); below.
23424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23425 <limits.h> exists even on freestanding compilers. */
23427 #ifdef __STDC__
23428 # include <limits.h>
23429 #else
23430 # include <assert.h>
23431 #endif
23433 #undef $ac_func
23435 /* Override any gcc2 internal prototype to avoid an error. */
23436 #ifdef __cplusplus
23437 extern "C"
23439 #endif
23440 /* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23442 char $ac_func ();
23443 /* The GNU C library defines this for functions which it implements
23444 to always fail with ENOSYS. Some functions are actually named
23445 something starting with __ and the normal name is an alias. */
23446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23447 choke me
23448 #else
23449 char (*f) () = $ac_func;
23450 #endif
23451 #ifdef __cplusplus
23453 #endif
23456 main ()
23458 return f != $ac_func;
23460 return 0;
23462 _ACEOF
23463 rm -f conftest.$ac_objext conftest$ac_exeext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23465 (eval $ac_link) 2>conftest.er1
23466 ac_status=$?
23467 grep -v '^ *+' conftest.er1 >conftest.err
23468 rm -f conftest.er1
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } &&
23472 { ac_try='test -z "$ac_c_werror_flag"
23473 || test ! -s conftest.err'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; } &&
23479 { ac_try='test -s conftest$ac_exeext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 eval "$as_ac_var=yes"
23486 else
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23490 eval "$as_ac_var=no"
23492 rm -f conftest.err conftest.$ac_objext \
23493 conftest$ac_exeext conftest.$ac_ext
23495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23497 if test `eval echo '${'$as_ac_var'}'` = yes; then
23498 cat >>confdefs.h <<_ACEOF
23499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23500 _ACEOF
23503 done
23505 else
23507 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23508 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23509 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23510 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23516 ac_ext=cc
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23534 main ()
23536 _isinff(0);
23538 return 0;
23540 _ACEOF
23541 rm -f conftest.$ac_objext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23543 (eval $ac_compile) 2>conftest.er1
23544 ac_status=$?
23545 grep -v '^ *+' conftest.er1 >conftest.err
23546 rm -f conftest.er1
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } &&
23550 { ac_try='test -z "$ac_cxx_werror_flag"
23551 || test ! -s conftest.err'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23554 ac_status=$?
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; } &&
23557 { ac_try='test -s conftest.$ac_objext'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23560 ac_status=$?
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; }; then
23563 glibcxx_cv_func__isinff_use=yes
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23568 glibcxx_cv_func__isinff_use=no
23570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23571 ac_ext=c
23572 ac_cpp='$CPP $CPPFLAGS'
23573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23582 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23584 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23586 for ac_func in _isinff
23588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23589 echo "$as_me:$LINENO: checking for $ac_func" >&5
23590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23591 if eval "test \"\${$as_ac_var+set}\" = set"; then
23592 echo $ECHO_N "(cached) $ECHO_C" >&6
23593 else
23594 if test x$gcc_no_link = xyes; then
23595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23597 { (exit 1); exit 1; }; }
23599 cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h. */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23607 #define $ac_func innocuous_$ac_func
23609 /* System header to define __stub macros and hopefully few prototypes,
23610 which can conflict with char $ac_func (); below.
23611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23612 <limits.h> exists even on freestanding compilers. */
23614 #ifdef __STDC__
23615 # include <limits.h>
23616 #else
23617 # include <assert.h>
23618 #endif
23620 #undef $ac_func
23622 /* Override any gcc2 internal prototype to avoid an error. */
23623 #ifdef __cplusplus
23624 extern "C"
23626 #endif
23627 /* We use char because int might match the return type of a gcc2
23628 builtin and then its argument prototype would still apply. */
23629 char $ac_func ();
23630 /* The GNU C library defines this for functions which it implements
23631 to always fail with ENOSYS. Some functions are actually named
23632 something starting with __ and the normal name is an alias. */
23633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23634 choke me
23635 #else
23636 char (*f) () = $ac_func;
23637 #endif
23638 #ifdef __cplusplus
23640 #endif
23643 main ()
23645 return f != $ac_func;
23647 return 0;
23649 _ACEOF
23650 rm -f conftest.$ac_objext conftest$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>conftest.er1
23653 ac_status=$?
23654 grep -v '^ *+' conftest.er1 >conftest.err
23655 rm -f conftest.er1
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try='test -z "$ac_c_werror_flag"
23660 || test ! -s conftest.err'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; } &&
23666 { ac_try='test -s conftest$ac_exeext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23669 ac_status=$?
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 eval "$as_ac_var=yes"
23673 else
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23677 eval "$as_ac_var=no"
23679 rm -f conftest.err conftest.$ac_objext \
23680 conftest$ac_exeext conftest.$ac_ext
23682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23684 if test `eval echo '${'$as_ac_var'}'` = yes; then
23685 cat >>confdefs.h <<_ACEOF
23686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23687 _ACEOF
23690 done
23700 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23701 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23702 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23703 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23705 else
23709 ac_ext=cc
23710 ac_cpp='$CXXCPP $CPPFLAGS'
23711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23715 cat >conftest.$ac_ext <<_ACEOF
23716 /* confdefs.h. */
23717 _ACEOF
23718 cat confdefs.h >>conftest.$ac_ext
23719 cat >>conftest.$ac_ext <<_ACEOF
23720 /* end confdefs.h. */
23721 #include <math.h>
23723 main ()
23725 atan2f(0, 0);
23727 return 0;
23729 _ACEOF
23730 rm -f conftest.$ac_objext
23731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23732 (eval $ac_compile) 2>conftest.er1
23733 ac_status=$?
23734 grep -v '^ *+' conftest.er1 >conftest.err
23735 rm -f conftest.er1
23736 cat conftest.err >&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); } &&
23739 { ac_try='test -z "$ac_cxx_werror_flag"
23740 || test ! -s conftest.err'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23743 ac_status=$?
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; } &&
23746 { ac_try='test -s conftest.$ac_objext'
23747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748 (eval $ac_try) 2>&5
23749 ac_status=$?
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; }; then
23752 glibcxx_cv_func_atan2f_use=yes
23753 else
23754 echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.$ac_ext >&5
23757 glibcxx_cv_func_atan2f_use=no
23759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23760 ac_ext=c
23761 ac_cpp='$CPP $CPPFLAGS'
23762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23771 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23773 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23775 for ac_func in atan2f
23777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23778 echo "$as_me:$LINENO: checking for $ac_func" >&5
23779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23780 if eval "test \"\${$as_ac_var+set}\" = set"; then
23781 echo $ECHO_N "(cached) $ECHO_C" >&6
23782 else
23783 if test x$gcc_no_link = xyes; then
23784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23786 { (exit 1); exit 1; }; }
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h. */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23796 #define $ac_func innocuous_$ac_func
23798 /* System header to define __stub macros and hopefully few prototypes,
23799 which can conflict with char $ac_func (); below.
23800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23801 <limits.h> exists even on freestanding compilers. */
23803 #ifdef __STDC__
23804 # include <limits.h>
23805 #else
23806 # include <assert.h>
23807 #endif
23809 #undef $ac_func
23811 /* Override any gcc2 internal prototype to avoid an error. */
23812 #ifdef __cplusplus
23813 extern "C"
23815 #endif
23816 /* We use char because int might match the return type of a gcc2
23817 builtin and then its argument prototype would still apply. */
23818 char $ac_func ();
23819 /* The GNU C library defines this for functions which it implements
23820 to always fail with ENOSYS. Some functions are actually named
23821 something starting with __ and the normal name is an alias. */
23822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23823 choke me
23824 #else
23825 char (*f) () = $ac_func;
23826 #endif
23827 #ifdef __cplusplus
23829 #endif
23832 main ()
23834 return f != $ac_func;
23836 return 0;
23838 _ACEOF
23839 rm -f conftest.$ac_objext conftest$ac_exeext
23840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23841 (eval $ac_link) 2>conftest.er1
23842 ac_status=$?
23843 grep -v '^ *+' conftest.er1 >conftest.err
23844 rm -f conftest.er1
23845 cat conftest.err >&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } &&
23848 { ac_try='test -z "$ac_c_werror_flag"
23849 || test ! -s conftest.err'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; } &&
23855 { ac_try='test -s conftest$ac_exeext'
23856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857 (eval $ac_try) 2>&5
23858 ac_status=$?
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); }; }; then
23861 eval "$as_ac_var=yes"
23862 else
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23866 eval "$as_ac_var=no"
23868 rm -f conftest.err conftest.$ac_objext \
23869 conftest$ac_exeext conftest.$ac_ext
23871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23873 if test `eval echo '${'$as_ac_var'}'` = yes; then
23874 cat >>confdefs.h <<_ACEOF
23875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23876 _ACEOF
23879 done
23881 else
23883 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23884 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23885 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23886 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 else
23892 ac_ext=cc
23893 ac_cpp='$CXXCPP $CPPFLAGS'
23894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23898 cat >conftest.$ac_ext <<_ACEOF
23899 /* confdefs.h. */
23900 _ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904 #include <math.h>
23906 main ()
23908 _atan2f(0, 0);
23910 return 0;
23912 _ACEOF
23913 rm -f conftest.$ac_objext
23914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23915 (eval $ac_compile) 2>conftest.er1
23916 ac_status=$?
23917 grep -v '^ *+' conftest.er1 >conftest.err
23918 rm -f conftest.er1
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } &&
23922 { ac_try='test -z "$ac_cxx_werror_flag"
23923 || test ! -s conftest.err'
23924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23925 (eval $ac_try) 2>&5
23926 ac_status=$?
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); }; } &&
23929 { ac_try='test -s conftest.$ac_objext'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23932 ac_status=$?
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; }; then
23935 glibcxx_cv_func__atan2f_use=yes
23936 else
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23940 glibcxx_cv_func__atan2f_use=no
23942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23943 ac_ext=c
23944 ac_cpp='$CPP $CPPFLAGS'
23945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23954 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23956 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23958 for ac_func in _atan2f
23960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23961 echo "$as_me:$LINENO: checking for $ac_func" >&5
23962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23963 if eval "test \"\${$as_ac_var+set}\" = set"; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 else
23966 if test x$gcc_no_link = xyes; then
23967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23969 { (exit 1); exit 1; }; }
23971 cat >conftest.$ac_ext <<_ACEOF
23972 /* confdefs.h. */
23973 _ACEOF
23974 cat confdefs.h >>conftest.$ac_ext
23975 cat >>conftest.$ac_ext <<_ACEOF
23976 /* end confdefs.h. */
23977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23979 #define $ac_func innocuous_$ac_func
23981 /* System header to define __stub macros and hopefully few prototypes,
23982 which can conflict with char $ac_func (); below.
23983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23984 <limits.h> exists even on freestanding compilers. */
23986 #ifdef __STDC__
23987 # include <limits.h>
23988 #else
23989 # include <assert.h>
23990 #endif
23992 #undef $ac_func
23994 /* Override any gcc2 internal prototype to avoid an error. */
23995 #ifdef __cplusplus
23996 extern "C"
23998 #endif
23999 /* We use char because int might match the return type of a gcc2
24000 builtin and then its argument prototype would still apply. */
24001 char $ac_func ();
24002 /* The GNU C library defines this for functions which it implements
24003 to always fail with ENOSYS. Some functions are actually named
24004 something starting with __ and the normal name is an alias. */
24005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24006 choke me
24007 #else
24008 char (*f) () = $ac_func;
24009 #endif
24010 #ifdef __cplusplus
24012 #endif
24015 main ()
24017 return f != $ac_func;
24019 return 0;
24021 _ACEOF
24022 rm -f conftest.$ac_objext conftest$ac_exeext
24023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24024 (eval $ac_link) 2>conftest.er1
24025 ac_status=$?
24026 grep -v '^ *+' conftest.er1 >conftest.err
24027 rm -f conftest.er1
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } &&
24031 { ac_try='test -z "$ac_c_werror_flag"
24032 || test ! -s conftest.err'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24035 ac_status=$?
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try='test -s conftest$ac_exeext'
24039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040 (eval $ac_try) 2>&5
24041 ac_status=$?
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); }; }; then
24044 eval "$as_ac_var=yes"
24045 else
24046 echo "$as_me: failed program was:" >&5
24047 sed 's/^/| /' conftest.$ac_ext >&5
24049 eval "$as_ac_var=no"
24051 rm -f conftest.err conftest.$ac_objext \
24052 conftest$ac_exeext conftest.$ac_ext
24054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24056 if test `eval echo '${'$as_ac_var'}'` = yes; then
24057 cat >>confdefs.h <<_ACEOF
24058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24059 _ACEOF
24062 done
24072 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24073 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24074 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24075 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24077 else
24081 ac_ext=cc
24082 ac_cpp='$CXXCPP $CPPFLAGS'
24083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24087 cat >conftest.$ac_ext <<_ACEOF
24088 /* confdefs.h. */
24089 _ACEOF
24090 cat confdefs.h >>conftest.$ac_ext
24091 cat >>conftest.$ac_ext <<_ACEOF
24092 /* end confdefs.h. */
24093 #include <math.h>
24094 #ifdef HAVE_IEEEFP_H
24095 #include <ieeefp.h>
24096 #endif
24099 main ()
24101 fabsf(0);
24103 return 0;
24105 _ACEOF
24106 rm -f conftest.$ac_objext
24107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24108 (eval $ac_compile) 2>conftest.er1
24109 ac_status=$?
24110 grep -v '^ *+' conftest.er1 >conftest.err
24111 rm -f conftest.er1
24112 cat conftest.err >&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); } &&
24115 { ac_try='test -z "$ac_cxx_werror_flag"
24116 || test ! -s conftest.err'
24117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118 (eval $ac_try) 2>&5
24119 ac_status=$?
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; } &&
24122 { ac_try='test -s conftest.$ac_objext'
24123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24124 (eval $ac_try) 2>&5
24125 ac_status=$?
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); }; }; then
24128 glibcxx_cv_func_fabsf_use=yes
24129 else
24130 echo "$as_me: failed program was:" >&5
24131 sed 's/^/| /' conftest.$ac_ext >&5
24133 glibcxx_cv_func_fabsf_use=no
24135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24136 ac_ext=c
24137 ac_cpp='$CPP $CPPFLAGS'
24138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24146 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24147 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24149 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24151 for ac_func in fabsf
24153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24154 echo "$as_me:$LINENO: checking for $ac_func" >&5
24155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24156 if eval "test \"\${$as_ac_var+set}\" = set"; then
24157 echo $ECHO_N "(cached) $ECHO_C" >&6
24158 else
24159 if test x$gcc_no_link = xyes; then
24160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24162 { (exit 1); exit 1; }; }
24164 cat >conftest.$ac_ext <<_ACEOF
24165 /* confdefs.h. */
24166 _ACEOF
24167 cat confdefs.h >>conftest.$ac_ext
24168 cat >>conftest.$ac_ext <<_ACEOF
24169 /* end confdefs.h. */
24170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24172 #define $ac_func innocuous_$ac_func
24174 /* System header to define __stub macros and hopefully few prototypes,
24175 which can conflict with char $ac_func (); below.
24176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24177 <limits.h> exists even on freestanding compilers. */
24179 #ifdef __STDC__
24180 # include <limits.h>
24181 #else
24182 # include <assert.h>
24183 #endif
24185 #undef $ac_func
24187 /* Override any gcc2 internal prototype to avoid an error. */
24188 #ifdef __cplusplus
24189 extern "C"
24191 #endif
24192 /* We use char because int might match the return type of a gcc2
24193 builtin and then its argument prototype would still apply. */
24194 char $ac_func ();
24195 /* The GNU C library defines this for functions which it implements
24196 to always fail with ENOSYS. Some functions are actually named
24197 something starting with __ and the normal name is an alias. */
24198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24199 choke me
24200 #else
24201 char (*f) () = $ac_func;
24202 #endif
24203 #ifdef __cplusplus
24205 #endif
24208 main ()
24210 return f != $ac_func;
24212 return 0;
24214 _ACEOF
24215 rm -f conftest.$ac_objext conftest$ac_exeext
24216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24217 (eval $ac_link) 2>conftest.er1
24218 ac_status=$?
24219 grep -v '^ *+' conftest.er1 >conftest.err
24220 rm -f conftest.er1
24221 cat conftest.err >&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } &&
24224 { ac_try='test -z "$ac_c_werror_flag"
24225 || test ! -s conftest.err'
24226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24227 (eval $ac_try) 2>&5
24228 ac_status=$?
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); }; } &&
24231 { ac_try='test -s conftest$ac_exeext'
24232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24233 (eval $ac_try) 2>&5
24234 ac_status=$?
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); }; }; then
24237 eval "$as_ac_var=yes"
24238 else
24239 echo "$as_me: failed program was:" >&5
24240 sed 's/^/| /' conftest.$ac_ext >&5
24242 eval "$as_ac_var=no"
24244 rm -f conftest.err conftest.$ac_objext \
24245 conftest$ac_exeext conftest.$ac_ext
24247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24249 if test `eval echo '${'$as_ac_var'}'` = yes; then
24250 cat >>confdefs.h <<_ACEOF
24251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24252 _ACEOF
24255 done
24257 else
24259 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24260 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24261 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24262 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24263 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 else
24268 ac_ext=cc
24269 ac_cpp='$CXXCPP $CPPFLAGS'
24270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 #ifdef HAVE_IEEEFP_H
24282 #include <ieeefp.h>
24283 #endif
24286 main ()
24288 _fabsf(0);
24290 return 0;
24292 _ACEOF
24293 rm -f conftest.$ac_objext
24294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24295 (eval $ac_compile) 2>conftest.er1
24296 ac_status=$?
24297 grep -v '^ *+' conftest.er1 >conftest.err
24298 rm -f conftest.er1
24299 cat conftest.err >&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } &&
24302 { ac_try='test -z "$ac_cxx_werror_flag"
24303 || test ! -s conftest.err'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24306 ac_status=$?
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; } &&
24309 { ac_try='test -s conftest.$ac_objext'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24312 ac_status=$?
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 glibcxx_cv_func__fabsf_use=yes
24316 else
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24320 glibcxx_cv_func__fabsf_use=no
24322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24323 ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24334 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24336 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24338 for ac_func in _fabsf
24340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24341 echo "$as_me:$LINENO: checking for $ac_func" >&5
24342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24343 if eval "test \"\${$as_ac_var+set}\" = set"; then
24344 echo $ECHO_N "(cached) $ECHO_C" >&6
24345 else
24346 if test x$gcc_no_link = xyes; then
24347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24349 { (exit 1); exit 1; }; }
24351 cat >conftest.$ac_ext <<_ACEOF
24352 /* confdefs.h. */
24353 _ACEOF
24354 cat confdefs.h >>conftest.$ac_ext
24355 cat >>conftest.$ac_ext <<_ACEOF
24356 /* end confdefs.h. */
24357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24359 #define $ac_func innocuous_$ac_func
24361 /* System header to define __stub macros and hopefully few prototypes,
24362 which can conflict with char $ac_func (); below.
24363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24364 <limits.h> exists even on freestanding compilers. */
24366 #ifdef __STDC__
24367 # include <limits.h>
24368 #else
24369 # include <assert.h>
24370 #endif
24372 #undef $ac_func
24374 /* Override any gcc2 internal prototype to avoid an error. */
24375 #ifdef __cplusplus
24376 extern "C"
24378 #endif
24379 /* We use char because int might match the return type of a gcc2
24380 builtin and then its argument prototype would still apply. */
24381 char $ac_func ();
24382 /* The GNU C library defines this for functions which it implements
24383 to always fail with ENOSYS. Some functions are actually named
24384 something starting with __ and the normal name is an alias. */
24385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24386 choke me
24387 #else
24388 char (*f) () = $ac_func;
24389 #endif
24390 #ifdef __cplusplus
24392 #endif
24395 main ()
24397 return f != $ac_func;
24399 return 0;
24401 _ACEOF
24402 rm -f conftest.$ac_objext conftest$ac_exeext
24403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24404 (eval $ac_link) 2>conftest.er1
24405 ac_status=$?
24406 grep -v '^ *+' conftest.er1 >conftest.err
24407 rm -f conftest.er1
24408 cat conftest.err >&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); } &&
24411 { ac_try='test -z "$ac_c_werror_flag"
24412 || test ! -s conftest.err'
24413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414 (eval $ac_try) 2>&5
24415 ac_status=$?
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); }; } &&
24418 { ac_try='test -s conftest$ac_exeext'
24419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420 (eval $ac_try) 2>&5
24421 ac_status=$?
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; }; then
24424 eval "$as_ac_var=yes"
24425 else
24426 echo "$as_me: failed program was:" >&5
24427 sed 's/^/| /' conftest.$ac_ext >&5
24429 eval "$as_ac_var=no"
24431 rm -f conftest.err conftest.$ac_objext \
24432 conftest$ac_exeext conftest.$ac_ext
24434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24436 if test `eval echo '${'$as_ac_var'}'` = yes; then
24437 cat >>confdefs.h <<_ACEOF
24438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24439 _ACEOF
24442 done
24452 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24453 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24454 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24455 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24456 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 else
24461 ac_ext=cc
24462 ac_cpp='$CXXCPP $CPPFLAGS'
24463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24467 cat >conftest.$ac_ext <<_ACEOF
24468 /* confdefs.h. */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 #include <math.h>
24475 main ()
24477 fmodf(0, 0);
24479 return 0;
24481 _ACEOF
24482 rm -f conftest.$ac_objext
24483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24484 (eval $ac_compile) 2>conftest.er1
24485 ac_status=$?
24486 grep -v '^ *+' conftest.er1 >conftest.err
24487 rm -f conftest.er1
24488 cat conftest.err >&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); } &&
24491 { ac_try='test -z "$ac_cxx_werror_flag"
24492 || test ! -s conftest.err'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; } &&
24498 { ac_try='test -s conftest.$ac_objext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24501 ac_status=$?
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 glibcxx_cv_func_fmodf_use=yes
24505 else
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24509 glibcxx_cv_func_fmodf_use=no
24511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24512 ac_ext=c
24513 ac_cpp='$CPP $CPPFLAGS'
24514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24523 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24525 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24527 for ac_func in fmodf
24529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24530 echo "$as_me:$LINENO: checking for $ac_func" >&5
24531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24532 if eval "test \"\${$as_ac_var+set}\" = set"; then
24533 echo $ECHO_N "(cached) $ECHO_C" >&6
24534 else
24535 if test x$gcc_no_link = xyes; then
24536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24538 { (exit 1); exit 1; }; }
24540 cat >conftest.$ac_ext <<_ACEOF
24541 /* confdefs.h. */
24542 _ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h. */
24546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24548 #define $ac_func innocuous_$ac_func
24550 /* System header to define __stub macros and hopefully few prototypes,
24551 which can conflict with char $ac_func (); below.
24552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24553 <limits.h> exists even on freestanding compilers. */
24555 #ifdef __STDC__
24556 # include <limits.h>
24557 #else
24558 # include <assert.h>
24559 #endif
24561 #undef $ac_func
24563 /* Override any gcc2 internal prototype to avoid an error. */
24564 #ifdef __cplusplus
24565 extern "C"
24567 #endif
24568 /* We use char because int might match the return type of a gcc2
24569 builtin and then its argument prototype would still apply. */
24570 char $ac_func ();
24571 /* The GNU C library defines this for functions which it implements
24572 to always fail with ENOSYS. Some functions are actually named
24573 something starting with __ and the normal name is an alias. */
24574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24575 choke me
24576 #else
24577 char (*f) () = $ac_func;
24578 #endif
24579 #ifdef __cplusplus
24581 #endif
24584 main ()
24586 return f != $ac_func;
24588 return 0;
24590 _ACEOF
24591 rm -f conftest.$ac_objext conftest$ac_exeext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24593 (eval $ac_link) 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try='test -z "$ac_c_werror_flag"
24601 || test ! -s conftest.err'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24604 ac_status=$?
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try='test -s conftest$ac_exeext'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24610 ac_status=$?
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; }; then
24613 eval "$as_ac_var=yes"
24614 else
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24618 eval "$as_ac_var=no"
24620 rm -f conftest.err conftest.$ac_objext \
24621 conftest$ac_exeext conftest.$ac_ext
24623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24625 if test `eval echo '${'$as_ac_var'}'` = yes; then
24626 cat >>confdefs.h <<_ACEOF
24627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24628 _ACEOF
24631 done
24633 else
24635 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24636 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24637 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24638 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24639 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 else
24644 ac_ext=cc
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24650 cat >conftest.$ac_ext <<_ACEOF
24651 /* confdefs.h. */
24652 _ACEOF
24653 cat confdefs.h >>conftest.$ac_ext
24654 cat >>conftest.$ac_ext <<_ACEOF
24655 /* end confdefs.h. */
24656 #include <math.h>
24658 main ()
24660 _fmodf(0, 0);
24662 return 0;
24664 _ACEOF
24665 rm -f conftest.$ac_objext
24666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24667 (eval $ac_compile) 2>conftest.er1
24668 ac_status=$?
24669 grep -v '^ *+' conftest.er1 >conftest.err
24670 rm -f conftest.er1
24671 cat conftest.err >&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); } &&
24674 { ac_try='test -z "$ac_cxx_werror_flag"
24675 || test ! -s conftest.err'
24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677 (eval $ac_try) 2>&5
24678 ac_status=$?
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); }; } &&
24681 { ac_try='test -s conftest.$ac_objext'
24682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683 (eval $ac_try) 2>&5
24684 ac_status=$?
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; }; then
24687 glibcxx_cv_func__fmodf_use=yes
24688 else
24689 echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.$ac_ext >&5
24692 glibcxx_cv_func__fmodf_use=no
24694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24695 ac_ext=c
24696 ac_cpp='$CPP $CPPFLAGS'
24697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24706 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24708 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24710 for ac_func in _fmodf
24712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24713 echo "$as_me:$LINENO: checking for $ac_func" >&5
24714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24715 if eval "test \"\${$as_ac_var+set}\" = set"; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24717 else
24718 if test x$gcc_no_link = xyes; then
24719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24721 { (exit 1); exit 1; }; }
24723 cat >conftest.$ac_ext <<_ACEOF
24724 /* confdefs.h. */
24725 _ACEOF
24726 cat confdefs.h >>conftest.$ac_ext
24727 cat >>conftest.$ac_ext <<_ACEOF
24728 /* end confdefs.h. */
24729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24731 #define $ac_func innocuous_$ac_func
24733 /* System header to define __stub macros and hopefully few prototypes,
24734 which can conflict with char $ac_func (); below.
24735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24736 <limits.h> exists even on freestanding compilers. */
24738 #ifdef __STDC__
24739 # include <limits.h>
24740 #else
24741 # include <assert.h>
24742 #endif
24744 #undef $ac_func
24746 /* Override any gcc2 internal prototype to avoid an error. */
24747 #ifdef __cplusplus
24748 extern "C"
24750 #endif
24751 /* We use char because int might match the return type of a gcc2
24752 builtin and then its argument prototype would still apply. */
24753 char $ac_func ();
24754 /* The GNU C library defines this for functions which it implements
24755 to always fail with ENOSYS. Some functions are actually named
24756 something starting with __ and the normal name is an alias. */
24757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24758 choke me
24759 #else
24760 char (*f) () = $ac_func;
24761 #endif
24762 #ifdef __cplusplus
24764 #endif
24767 main ()
24769 return f != $ac_func;
24771 return 0;
24773 _ACEOF
24774 rm -f conftest.$ac_objext conftest$ac_exeext
24775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24776 (eval $ac_link) 2>conftest.er1
24777 ac_status=$?
24778 grep -v '^ *+' conftest.er1 >conftest.err
24779 rm -f conftest.er1
24780 cat conftest.err >&5
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); } &&
24783 { ac_try='test -z "$ac_c_werror_flag"
24784 || test ! -s conftest.err'
24785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786 (eval $ac_try) 2>&5
24787 ac_status=$?
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); }; } &&
24790 { ac_try='test -s conftest$ac_exeext'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24793 ac_status=$?
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; }; then
24796 eval "$as_ac_var=yes"
24797 else
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.$ac_ext >&5
24801 eval "$as_ac_var=no"
24803 rm -f conftest.err conftest.$ac_objext \
24804 conftest$ac_exeext conftest.$ac_ext
24806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24808 if test `eval echo '${'$as_ac_var'}'` = yes; then
24809 cat >>confdefs.h <<_ACEOF
24810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24811 _ACEOF
24814 done
24824 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24825 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24826 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24827 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24833 ac_ext=cc
24834 ac_cpp='$CXXCPP $CPPFLAGS'
24835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24839 cat >conftest.$ac_ext <<_ACEOF
24840 /* confdefs.h. */
24841 _ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24845 #include <math.h>
24847 main ()
24849 frexpf(0, 0);
24851 return 0;
24853 _ACEOF
24854 rm -f conftest.$ac_objext
24855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24856 (eval $ac_compile) 2>conftest.er1
24857 ac_status=$?
24858 grep -v '^ *+' conftest.er1 >conftest.err
24859 rm -f conftest.er1
24860 cat conftest.err >&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); } &&
24863 { ac_try='test -z "$ac_cxx_werror_flag"
24864 || test ! -s conftest.err'
24865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866 (eval $ac_try) 2>&5
24867 ac_status=$?
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); }; } &&
24870 { ac_try='test -s conftest.$ac_objext'
24871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872 (eval $ac_try) 2>&5
24873 ac_status=$?
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); }; }; then
24876 glibcxx_cv_func_frexpf_use=yes
24877 else
24878 echo "$as_me: failed program was:" >&5
24879 sed 's/^/| /' conftest.$ac_ext >&5
24881 glibcxx_cv_func_frexpf_use=no
24883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24884 ac_ext=c
24885 ac_cpp='$CPP $CPPFLAGS'
24886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24895 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24897 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24899 for ac_func in frexpf
24901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24902 echo "$as_me:$LINENO: checking for $ac_func" >&5
24903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24904 if eval "test \"\${$as_ac_var+set}\" = set"; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 else
24907 if test x$gcc_no_link = xyes; then
24908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24910 { (exit 1); exit 1; }; }
24912 cat >conftest.$ac_ext <<_ACEOF
24913 /* confdefs.h. */
24914 _ACEOF
24915 cat confdefs.h >>conftest.$ac_ext
24916 cat >>conftest.$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24920 #define $ac_func innocuous_$ac_func
24922 /* System header to define __stub macros and hopefully few prototypes,
24923 which can conflict with char $ac_func (); below.
24924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24925 <limits.h> exists even on freestanding compilers. */
24927 #ifdef __STDC__
24928 # include <limits.h>
24929 #else
24930 # include <assert.h>
24931 #endif
24933 #undef $ac_func
24935 /* Override any gcc2 internal prototype to avoid an error. */
24936 #ifdef __cplusplus
24937 extern "C"
24939 #endif
24940 /* We use char because int might match the return type of a gcc2
24941 builtin and then its argument prototype would still apply. */
24942 char $ac_func ();
24943 /* The GNU C library defines this for functions which it implements
24944 to always fail with ENOSYS. Some functions are actually named
24945 something starting with __ and the normal name is an alias. */
24946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24947 choke me
24948 #else
24949 char (*f) () = $ac_func;
24950 #endif
24951 #ifdef __cplusplus
24953 #endif
24956 main ()
24958 return f != $ac_func;
24960 return 0;
24962 _ACEOF
24963 rm -f conftest.$ac_objext conftest$ac_exeext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24965 (eval $ac_link) 2>conftest.er1
24966 ac_status=$?
24967 grep -v '^ *+' conftest.er1 >conftest.err
24968 rm -f conftest.er1
24969 cat conftest.err >&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } &&
24972 { ac_try='test -z "$ac_c_werror_flag"
24973 || test ! -s conftest.err'
24974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24975 (eval $ac_try) 2>&5
24976 ac_status=$?
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); }; } &&
24979 { ac_try='test -s conftest$ac_exeext'
24980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24981 (eval $ac_try) 2>&5
24982 ac_status=$?
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); }; }; then
24985 eval "$as_ac_var=yes"
24986 else
24987 echo "$as_me: failed program was:" >&5
24988 sed 's/^/| /' conftest.$ac_ext >&5
24990 eval "$as_ac_var=no"
24992 rm -f conftest.err conftest.$ac_objext \
24993 conftest$ac_exeext conftest.$ac_ext
24995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24997 if test `eval echo '${'$as_ac_var'}'` = yes; then
24998 cat >>confdefs.h <<_ACEOF
24999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25000 _ACEOF
25003 done
25005 else
25007 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
25008 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
25009 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25010 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
25011 echo $ECHO_N "(cached) $ECHO_C" >&6
25012 else
25016 ac_ext=cc
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25022 cat >conftest.$ac_ext <<_ACEOF
25023 /* confdefs.h. */
25024 _ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25028 #include <math.h>
25030 main ()
25032 _frexpf(0, 0);
25034 return 0;
25036 _ACEOF
25037 rm -f conftest.$ac_objext
25038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25039 (eval $ac_compile) 2>conftest.er1
25040 ac_status=$?
25041 grep -v '^ *+' conftest.er1 >conftest.err
25042 rm -f conftest.er1
25043 cat conftest.err >&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } &&
25046 { ac_try='test -z "$ac_cxx_werror_flag"
25047 || test ! -s conftest.err'
25048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049 (eval $ac_try) 2>&5
25050 ac_status=$?
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; } &&
25053 { ac_try='test -s conftest.$ac_objext'
25054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25055 (eval $ac_try) 2>&5
25056 ac_status=$?
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); }; }; then
25059 glibcxx_cv_func__frexpf_use=yes
25060 else
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25064 glibcxx_cv_func__frexpf_use=no
25066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25067 ac_ext=c
25068 ac_cpp='$CPP $CPPFLAGS'
25069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25078 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25080 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25082 for ac_func in _frexpf
25084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25085 echo "$as_me:$LINENO: checking for $ac_func" >&5
25086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25087 if eval "test \"\${$as_ac_var+set}\" = set"; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090 if test x$gcc_no_link = xyes; then
25091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25093 { (exit 1); exit 1; }; }
25095 cat >conftest.$ac_ext <<_ACEOF
25096 /* confdefs.h. */
25097 _ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25103 #define $ac_func innocuous_$ac_func
25105 /* System header to define __stub macros and hopefully few prototypes,
25106 which can conflict with char $ac_func (); below.
25107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25108 <limits.h> exists even on freestanding compilers. */
25110 #ifdef __STDC__
25111 # include <limits.h>
25112 #else
25113 # include <assert.h>
25114 #endif
25116 #undef $ac_func
25118 /* Override any gcc2 internal prototype to avoid an error. */
25119 #ifdef __cplusplus
25120 extern "C"
25122 #endif
25123 /* We use char because int might match the return type of a gcc2
25124 builtin and then its argument prototype would still apply. */
25125 char $ac_func ();
25126 /* The GNU C library defines this for functions which it implements
25127 to always fail with ENOSYS. Some functions are actually named
25128 something starting with __ and the normal name is an alias. */
25129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25130 choke me
25131 #else
25132 char (*f) () = $ac_func;
25133 #endif
25134 #ifdef __cplusplus
25136 #endif
25139 main ()
25141 return f != $ac_func;
25143 return 0;
25145 _ACEOF
25146 rm -f conftest.$ac_objext conftest$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148 (eval $ac_link) 2>conftest.er1
25149 ac_status=$?
25150 grep -v '^ *+' conftest.er1 >conftest.err
25151 rm -f conftest.er1
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try='test -z "$ac_c_werror_flag"
25156 || test ! -s conftest.err'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25159 ac_status=$?
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; } &&
25162 { ac_try='test -s conftest$ac_exeext'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25165 ac_status=$?
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; }; then
25168 eval "$as_ac_var=yes"
25169 else
25170 echo "$as_me: failed program was:" >&5
25171 sed 's/^/| /' conftest.$ac_ext >&5
25173 eval "$as_ac_var=no"
25175 rm -f conftest.err conftest.$ac_objext \
25176 conftest$ac_exeext conftest.$ac_ext
25178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25180 if test `eval echo '${'$as_ac_var'}'` = yes; then
25181 cat >>confdefs.h <<_ACEOF
25182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25183 _ACEOF
25186 done
25196 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25197 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25198 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25199 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 else
25205 ac_ext=cc
25206 ac_cpp='$CXXCPP $CPPFLAGS'
25207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25211 cat >conftest.$ac_ext <<_ACEOF
25212 /* confdefs.h. */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217 #include <math.h>
25219 main ()
25221 hypotf(0, 0);
25223 return 0;
25225 _ACEOF
25226 rm -f conftest.$ac_objext
25227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25228 (eval $ac_compile) 2>conftest.er1
25229 ac_status=$?
25230 grep -v '^ *+' conftest.er1 >conftest.err
25231 rm -f conftest.er1
25232 cat conftest.err >&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); } &&
25235 { ac_try='test -z "$ac_cxx_werror_flag"
25236 || test ! -s conftest.err'
25237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25238 (eval $ac_try) 2>&5
25239 ac_status=$?
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); }; } &&
25242 { ac_try='test -s conftest.$ac_objext'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25245 ac_status=$?
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; }; then
25248 glibcxx_cv_func_hypotf_use=yes
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25253 glibcxx_cv_func_hypotf_use=no
25255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25256 ac_ext=c
25257 ac_cpp='$CPP $CPPFLAGS'
25258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25267 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25269 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25271 for ac_func in hypotf
25273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279 if test x$gcc_no_link = xyes; then
25280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25282 { (exit 1); exit 1; }; }
25284 cat >conftest.$ac_ext <<_ACEOF
25285 /* confdefs.h. */
25286 _ACEOF
25287 cat confdefs.h >>conftest.$ac_ext
25288 cat >>conftest.$ac_ext <<_ACEOF
25289 /* end confdefs.h. */
25290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25292 #define $ac_func innocuous_$ac_func
25294 /* System header to define __stub macros and hopefully few prototypes,
25295 which can conflict with char $ac_func (); below.
25296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25297 <limits.h> exists even on freestanding compilers. */
25299 #ifdef __STDC__
25300 # include <limits.h>
25301 #else
25302 # include <assert.h>
25303 #endif
25305 #undef $ac_func
25307 /* Override any gcc2 internal prototype to avoid an error. */
25308 #ifdef __cplusplus
25309 extern "C"
25311 #endif
25312 /* We use char because int might match the return type of a gcc2
25313 builtin and then its argument prototype would still apply. */
25314 char $ac_func ();
25315 /* The GNU C library defines this for functions which it implements
25316 to always fail with ENOSYS. Some functions are actually named
25317 something starting with __ and the normal name is an alias. */
25318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25319 choke me
25320 #else
25321 char (*f) () = $ac_func;
25322 #endif
25323 #ifdef __cplusplus
25325 #endif
25328 main ()
25330 return f != $ac_func;
25332 return 0;
25334 _ACEOF
25335 rm -f conftest.$ac_objext conftest$ac_exeext
25336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25337 (eval $ac_link) 2>conftest.er1
25338 ac_status=$?
25339 grep -v '^ *+' conftest.er1 >conftest.err
25340 rm -f conftest.er1
25341 cat conftest.err >&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } &&
25344 { ac_try='test -z "$ac_c_werror_flag"
25345 || test ! -s conftest.err'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; } &&
25351 { ac_try='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357 eval "$as_ac_var=yes"
25358 else
25359 echo "$as_me: failed program was:" >&5
25360 sed 's/^/| /' conftest.$ac_ext >&5
25362 eval "$as_ac_var=no"
25364 rm -f conftest.err conftest.$ac_objext \
25365 conftest$ac_exeext conftest.$ac_ext
25367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25369 if test `eval echo '${'$as_ac_var'}'` = yes; then
25370 cat >>confdefs.h <<_ACEOF
25371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25372 _ACEOF
25375 done
25377 else
25379 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25380 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25381 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25382 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25388 ac_ext=cc
25389 ac_cpp='$CXXCPP $CPPFLAGS'
25390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25394 cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h. */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25400 #include <math.h>
25402 main ()
25404 _hypotf(0, 0);
25406 return 0;
25408 _ACEOF
25409 rm -f conftest.$ac_objext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25411 (eval $ac_compile) 2>conftest.er1
25412 ac_status=$?
25413 grep -v '^ *+' conftest.er1 >conftest.err
25414 rm -f conftest.er1
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } &&
25418 { ac_try='test -z "$ac_cxx_werror_flag"
25419 || test ! -s conftest.err'
25420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421 (eval $ac_try) 2>&5
25422 ac_status=$?
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); }; } &&
25425 { ac_try='test -s conftest.$ac_objext'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; }; then
25431 glibcxx_cv_func__hypotf_use=yes
25432 else
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25436 glibcxx_cv_func__hypotf_use=no
25438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25439 ac_ext=c
25440 ac_cpp='$CPP $CPPFLAGS'
25441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25450 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25452 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25454 for ac_func in _hypotf
25456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25457 echo "$as_me:$LINENO: checking for $ac_func" >&5
25458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25459 if eval "test \"\${$as_ac_var+set}\" = set"; then
25460 echo $ECHO_N "(cached) $ECHO_C" >&6
25461 else
25462 if test x$gcc_no_link = xyes; then
25463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25465 { (exit 1); exit 1; }; }
25467 cat >conftest.$ac_ext <<_ACEOF
25468 /* confdefs.h. */
25469 _ACEOF
25470 cat confdefs.h >>conftest.$ac_ext
25471 cat >>conftest.$ac_ext <<_ACEOF
25472 /* end confdefs.h. */
25473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25475 #define $ac_func innocuous_$ac_func
25477 /* System header to define __stub macros and hopefully few prototypes,
25478 which can conflict with char $ac_func (); below.
25479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25480 <limits.h> exists even on freestanding compilers. */
25482 #ifdef __STDC__
25483 # include <limits.h>
25484 #else
25485 # include <assert.h>
25486 #endif
25488 #undef $ac_func
25490 /* Override any gcc2 internal prototype to avoid an error. */
25491 #ifdef __cplusplus
25492 extern "C"
25494 #endif
25495 /* We use char because int might match the return type of a gcc2
25496 builtin and then its argument prototype would still apply. */
25497 char $ac_func ();
25498 /* The GNU C library defines this for functions which it implements
25499 to always fail with ENOSYS. Some functions are actually named
25500 something starting with __ and the normal name is an alias. */
25501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25502 choke me
25503 #else
25504 char (*f) () = $ac_func;
25505 #endif
25506 #ifdef __cplusplus
25508 #endif
25511 main ()
25513 return f != $ac_func;
25515 return 0;
25517 _ACEOF
25518 rm -f conftest.$ac_objext conftest$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520 (eval $ac_link) 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -z "$ac_c_werror_flag"
25528 || test ! -s conftest.err'
25529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530 (eval $ac_try) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; } &&
25534 { ac_try='test -s conftest$ac_exeext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25537 ac_status=$?
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25540 eval "$as_ac_var=yes"
25541 else
25542 echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.$ac_ext >&5
25545 eval "$as_ac_var=no"
25547 rm -f conftest.err conftest.$ac_objext \
25548 conftest$ac_exeext conftest.$ac_ext
25550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25552 if test `eval echo '${'$as_ac_var'}'` = yes; then
25553 cat >>confdefs.h <<_ACEOF
25554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25555 _ACEOF
25558 done
25568 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25569 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25570 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25571 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25572 echo $ECHO_N "(cached) $ECHO_C" >&6
25573 else
25577 ac_ext=cc
25578 ac_cpp='$CXXCPP $CPPFLAGS'
25579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25583 cat >conftest.$ac_ext <<_ACEOF
25584 /* confdefs.h. */
25585 _ACEOF
25586 cat confdefs.h >>conftest.$ac_ext
25587 cat >>conftest.$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589 #include <math.h>
25591 main ()
25593 ldexpf(0, 0);
25595 return 0;
25597 _ACEOF
25598 rm -f conftest.$ac_objext
25599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25600 (eval $ac_compile) 2>conftest.er1
25601 ac_status=$?
25602 grep -v '^ *+' conftest.er1 >conftest.err
25603 rm -f conftest.er1
25604 cat conftest.err >&5
25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606 (exit $ac_status); } &&
25607 { ac_try='test -z "$ac_cxx_werror_flag"
25608 || test ! -s conftest.err'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25611 ac_status=$?
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; } &&
25614 { ac_try='test -s conftest.$ac_objext'
25615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616 (eval $ac_try) 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); }; }; then
25620 glibcxx_cv_func_ldexpf_use=yes
25621 else
25622 echo "$as_me: failed program was:" >&5
25623 sed 's/^/| /' conftest.$ac_ext >&5
25625 glibcxx_cv_func_ldexpf_use=no
25627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25628 ac_ext=c
25629 ac_cpp='$CPP $CPPFLAGS'
25630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25639 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25641 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25643 for ac_func in ldexpf
25645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25646 echo "$as_me:$LINENO: checking for $ac_func" >&5
25647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25648 if eval "test \"\${$as_ac_var+set}\" = set"; then
25649 echo $ECHO_N "(cached) $ECHO_C" >&6
25650 else
25651 if test x$gcc_no_link = xyes; then
25652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25654 { (exit 1); exit 1; }; }
25656 cat >conftest.$ac_ext <<_ACEOF
25657 /* confdefs.h. */
25658 _ACEOF
25659 cat confdefs.h >>conftest.$ac_ext
25660 cat >>conftest.$ac_ext <<_ACEOF
25661 /* end confdefs.h. */
25662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25664 #define $ac_func innocuous_$ac_func
25666 /* System header to define __stub macros and hopefully few prototypes,
25667 which can conflict with char $ac_func (); below.
25668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25669 <limits.h> exists even on freestanding compilers. */
25671 #ifdef __STDC__
25672 # include <limits.h>
25673 #else
25674 # include <assert.h>
25675 #endif
25677 #undef $ac_func
25679 /* Override any gcc2 internal prototype to avoid an error. */
25680 #ifdef __cplusplus
25681 extern "C"
25683 #endif
25684 /* We use char because int might match the return type of a gcc2
25685 builtin and then its argument prototype would still apply. */
25686 char $ac_func ();
25687 /* The GNU C library defines this for functions which it implements
25688 to always fail with ENOSYS. Some functions are actually named
25689 something starting with __ and the normal name is an alias. */
25690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25691 choke me
25692 #else
25693 char (*f) () = $ac_func;
25694 #endif
25695 #ifdef __cplusplus
25697 #endif
25700 main ()
25702 return f != $ac_func;
25704 return 0;
25706 _ACEOF
25707 rm -f conftest.$ac_objext conftest$ac_exeext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25709 (eval $ac_link) 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } &&
25716 { ac_try='test -z "$ac_c_werror_flag"
25717 || test ! -s conftest.err'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25720 ac_status=$?
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; } &&
25723 { ac_try='test -s conftest$ac_exeext'
25724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725 (eval $ac_try) 2>&5
25726 ac_status=$?
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); }; }; then
25729 eval "$as_ac_var=yes"
25730 else
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25734 eval "$as_ac_var=no"
25736 rm -f conftest.err conftest.$ac_objext \
25737 conftest$ac_exeext conftest.$ac_ext
25739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25741 if test `eval echo '${'$as_ac_var'}'` = yes; then
25742 cat >>confdefs.h <<_ACEOF
25743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25744 _ACEOF
25747 done
25749 else
25751 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25752 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25753 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25754 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25755 echo $ECHO_N "(cached) $ECHO_C" >&6
25756 else
25760 ac_ext=cc
25761 ac_cpp='$CXXCPP $CPPFLAGS'
25762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25766 cat >conftest.$ac_ext <<_ACEOF
25767 /* confdefs.h. */
25768 _ACEOF
25769 cat confdefs.h >>conftest.$ac_ext
25770 cat >>conftest.$ac_ext <<_ACEOF
25771 /* end confdefs.h. */
25772 #include <math.h>
25774 main ()
25776 _ldexpf(0, 0);
25778 return 0;
25780 _ACEOF
25781 rm -f conftest.$ac_objext
25782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25783 (eval $ac_compile) 2>conftest.er1
25784 ac_status=$?
25785 grep -v '^ *+' conftest.er1 >conftest.err
25786 rm -f conftest.er1
25787 cat conftest.err >&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); } &&
25790 { ac_try='test -z "$ac_cxx_werror_flag"
25791 || test ! -s conftest.err'
25792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793 (eval $ac_try) 2>&5
25794 ac_status=$?
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); }; } &&
25797 { ac_try='test -s conftest.$ac_objext'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25800 ac_status=$?
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; }; then
25803 glibcxx_cv_func__ldexpf_use=yes
25804 else
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.$ac_ext >&5
25808 glibcxx_cv_func__ldexpf_use=no
25810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25811 ac_ext=c
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25822 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25824 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25826 for ac_func in _ldexpf
25828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25829 echo "$as_me:$LINENO: checking for $ac_func" >&5
25830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25831 if eval "test \"\${$as_ac_var+set}\" = set"; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 else
25834 if test x$gcc_no_link = xyes; then
25835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25837 { (exit 1); exit 1; }; }
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h. */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25847 #define $ac_func innocuous_$ac_func
25849 /* System header to define __stub macros and hopefully few prototypes,
25850 which can conflict with char $ac_func (); below.
25851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25852 <limits.h> exists even on freestanding compilers. */
25854 #ifdef __STDC__
25855 # include <limits.h>
25856 #else
25857 # include <assert.h>
25858 #endif
25860 #undef $ac_func
25862 /* Override any gcc2 internal prototype to avoid an error. */
25863 #ifdef __cplusplus
25864 extern "C"
25866 #endif
25867 /* We use char because int might match the return type of a gcc2
25868 builtin and then its argument prototype would still apply. */
25869 char $ac_func ();
25870 /* The GNU C library defines this for functions which it implements
25871 to always fail with ENOSYS. Some functions are actually named
25872 something starting with __ and the normal name is an alias. */
25873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25874 choke me
25875 #else
25876 char (*f) () = $ac_func;
25877 #endif
25878 #ifdef __cplusplus
25880 #endif
25883 main ()
25885 return f != $ac_func;
25887 return 0;
25889 _ACEOF
25890 rm -f conftest.$ac_objext conftest$ac_exeext
25891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25892 (eval $ac_link) 2>conftest.er1
25893 ac_status=$?
25894 grep -v '^ *+' conftest.er1 >conftest.err
25895 rm -f conftest.er1
25896 cat conftest.err >&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try='test -z "$ac_c_werror_flag"
25900 || test ! -s conftest.err'
25901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25902 (eval $ac_try) 2>&5
25903 ac_status=$?
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); }; } &&
25906 { ac_try='test -s conftest$ac_exeext'
25907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908 (eval $ac_try) 2>&5
25909 ac_status=$?
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); }; }; then
25912 eval "$as_ac_var=yes"
25913 else
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25917 eval "$as_ac_var=no"
25919 rm -f conftest.err conftest.$ac_objext \
25920 conftest$ac_exeext conftest.$ac_ext
25922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25924 if test `eval echo '${'$as_ac_var'}'` = yes; then
25925 cat >>confdefs.h <<_ACEOF
25926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25927 _ACEOF
25930 done
25940 echo "$as_me:$LINENO: checking for logf declaration" >&5
25941 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25942 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25943 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25944 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 else
25949 ac_ext=cc
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25955 cat >conftest.$ac_ext <<_ACEOF
25956 /* confdefs.h. */
25957 _ACEOF
25958 cat confdefs.h >>conftest.$ac_ext
25959 cat >>conftest.$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 #include <math.h>
25962 #ifdef HAVE_IEEEFP_H
25963 #include <ieeefp.h>
25964 #endif
25967 main ()
25969 logf(0);
25971 return 0;
25973 _ACEOF
25974 rm -f conftest.$ac_objext
25975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25976 (eval $ac_compile) 2>conftest.er1
25977 ac_status=$?
25978 grep -v '^ *+' conftest.er1 >conftest.err
25979 rm -f conftest.er1
25980 cat conftest.err >&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } &&
25983 { ac_try='test -z "$ac_cxx_werror_flag"
25984 || test ! -s conftest.err'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25987 ac_status=$?
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; } &&
25990 { ac_try='test -s conftest.$ac_objext'
25991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992 (eval $ac_try) 2>&5
25993 ac_status=$?
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); }; }; then
25996 glibcxx_cv_func_logf_use=yes
25997 else
25998 echo "$as_me: failed program was:" >&5
25999 sed 's/^/| /' conftest.$ac_ext >&5
26001 glibcxx_cv_func_logf_use=no
26003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26004 ac_ext=c
26005 ac_cpp='$CPP $CPPFLAGS'
26006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
26015 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
26017 if test x$glibcxx_cv_func_logf_use = x"yes"; then
26019 for ac_func in logf
26021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26022 echo "$as_me:$LINENO: checking for $ac_func" >&5
26023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26024 if eval "test \"\${$as_ac_var+set}\" = set"; then
26025 echo $ECHO_N "(cached) $ECHO_C" >&6
26026 else
26027 if test x$gcc_no_link = xyes; then
26028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26030 { (exit 1); exit 1; }; }
26032 cat >conftest.$ac_ext <<_ACEOF
26033 /* confdefs.h. */
26034 _ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26040 #define $ac_func innocuous_$ac_func
26042 /* System header to define __stub macros and hopefully few prototypes,
26043 which can conflict with char $ac_func (); below.
26044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26045 <limits.h> exists even on freestanding compilers. */
26047 #ifdef __STDC__
26048 # include <limits.h>
26049 #else
26050 # include <assert.h>
26051 #endif
26053 #undef $ac_func
26055 /* Override any gcc2 internal prototype to avoid an error. */
26056 #ifdef __cplusplus
26057 extern "C"
26059 #endif
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char $ac_func ();
26063 /* The GNU C library defines this for functions which it implements
26064 to always fail with ENOSYS. Some functions are actually named
26065 something starting with __ and the normal name is an alias. */
26066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26067 choke me
26068 #else
26069 char (*f) () = $ac_func;
26070 #endif
26071 #ifdef __cplusplus
26073 #endif
26076 main ()
26078 return f != $ac_func;
26080 return 0;
26082 _ACEOF
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26085 (eval $ac_link) 2>conftest.er1
26086 ac_status=$?
26087 grep -v '^ *+' conftest.er1 >conftest.err
26088 rm -f conftest.er1
26089 cat conftest.err >&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); } &&
26092 { ac_try='test -z "$ac_c_werror_flag"
26093 || test ! -s conftest.err'
26094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095 (eval $ac_try) 2>&5
26096 ac_status=$?
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); }; } &&
26099 { ac_try='test -s conftest$ac_exeext'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26102 ac_status=$?
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; }; then
26105 eval "$as_ac_var=yes"
26106 else
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26110 eval "$as_ac_var=no"
26112 rm -f conftest.err conftest.$ac_objext \
26113 conftest$ac_exeext conftest.$ac_ext
26115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26117 if test `eval echo '${'$as_ac_var'}'` = yes; then
26118 cat >>confdefs.h <<_ACEOF
26119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26120 _ACEOF
26123 done
26125 else
26127 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26128 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26129 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26130 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 else
26136 ac_ext=cc
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26142 cat >conftest.$ac_ext <<_ACEOF
26143 /* confdefs.h. */
26144 _ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148 #include <math.h>
26149 #ifdef HAVE_IEEEFP_H
26150 #include <ieeefp.h>
26151 #endif
26154 main ()
26156 _logf(0);
26158 return 0;
26160 _ACEOF
26161 rm -f conftest.$ac_objext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26163 (eval $ac_compile) 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } &&
26170 { ac_try='test -z "$ac_cxx_werror_flag"
26171 || test ! -s conftest.err'
26172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26173 (eval $ac_try) 2>&5
26174 ac_status=$?
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); }; } &&
26177 { ac_try='test -s conftest.$ac_objext'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; }; then
26183 glibcxx_cv_func__logf_use=yes
26184 else
26185 echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26188 glibcxx_cv_func__logf_use=no
26190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26191 ac_ext=c
26192 ac_cpp='$CPP $CPPFLAGS'
26193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26202 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26204 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26206 for ac_func in _logf
26208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26209 echo "$as_me:$LINENO: checking for $ac_func" >&5
26210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26211 if eval "test \"\${$as_ac_var+set}\" = set"; then
26212 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 else
26214 if test x$gcc_no_link = xyes; then
26215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26217 { (exit 1); exit 1; }; }
26219 cat >conftest.$ac_ext <<_ACEOF
26220 /* confdefs.h. */
26221 _ACEOF
26222 cat confdefs.h >>conftest.$ac_ext
26223 cat >>conftest.$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26227 #define $ac_func innocuous_$ac_func
26229 /* System header to define __stub macros and hopefully few prototypes,
26230 which can conflict with char $ac_func (); below.
26231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26232 <limits.h> exists even on freestanding compilers. */
26234 #ifdef __STDC__
26235 # include <limits.h>
26236 #else
26237 # include <assert.h>
26238 #endif
26240 #undef $ac_func
26242 /* Override any gcc2 internal prototype to avoid an error. */
26243 #ifdef __cplusplus
26244 extern "C"
26246 #endif
26247 /* We use char because int might match the return type of a gcc2
26248 builtin and then its argument prototype would still apply. */
26249 char $ac_func ();
26250 /* The GNU C library defines this for functions which it implements
26251 to always fail with ENOSYS. Some functions are actually named
26252 something starting with __ and the normal name is an alias. */
26253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26254 choke me
26255 #else
26256 char (*f) () = $ac_func;
26257 #endif
26258 #ifdef __cplusplus
26260 #endif
26263 main ()
26265 return f != $ac_func;
26267 return 0;
26269 _ACEOF
26270 rm -f conftest.$ac_objext conftest$ac_exeext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26272 (eval $ac_link) 2>conftest.er1
26273 ac_status=$?
26274 grep -v '^ *+' conftest.er1 >conftest.err
26275 rm -f conftest.er1
26276 cat conftest.err >&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try='test -z "$ac_c_werror_flag"
26280 || test ! -s conftest.err'
26281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26282 (eval $ac_try) 2>&5
26283 ac_status=$?
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); }; } &&
26286 { ac_try='test -s conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26289 ac_status=$?
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 eval "$as_ac_var=yes"
26293 else
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26297 eval "$as_ac_var=no"
26299 rm -f conftest.err conftest.$ac_objext \
26300 conftest$ac_exeext conftest.$ac_ext
26302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26304 if test `eval echo '${'$as_ac_var'}'` = yes; then
26305 cat >>confdefs.h <<_ACEOF
26306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26307 _ACEOF
26310 done
26320 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26321 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26322 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26323 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26324 echo $ECHO_N "(cached) $ECHO_C" >&6
26325 else
26329 ac_ext=cc
26330 ac_cpp='$CXXCPP $CPPFLAGS'
26331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26335 cat >conftest.$ac_ext <<_ACEOF
26336 /* confdefs.h. */
26337 _ACEOF
26338 cat confdefs.h >>conftest.$ac_ext
26339 cat >>conftest.$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341 #include <math.h>
26342 #ifdef HAVE_IEEEFP_H
26343 #include <ieeefp.h>
26344 #endif
26347 main ()
26349 log10f(0);
26351 return 0;
26353 _ACEOF
26354 rm -f conftest.$ac_objext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26356 (eval $ac_compile) 2>conftest.er1
26357 ac_status=$?
26358 grep -v '^ *+' conftest.er1 >conftest.err
26359 rm -f conftest.er1
26360 cat conftest.err >&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); } &&
26363 { ac_try='test -z "$ac_cxx_werror_flag"
26364 || test ! -s conftest.err'
26365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366 (eval $ac_try) 2>&5
26367 ac_status=$?
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); }; } &&
26370 { ac_try='test -s conftest.$ac_objext'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26373 ac_status=$?
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; }; then
26376 glibcxx_cv_func_log10f_use=yes
26377 else
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26381 glibcxx_cv_func_log10f_use=no
26383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26395 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26397 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26399 for ac_func in log10f
26401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26402 echo "$as_me:$LINENO: checking for $ac_func" >&5
26403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26404 if eval "test \"\${$as_ac_var+set}\" = set"; then
26405 echo $ECHO_N "(cached) $ECHO_C" >&6
26406 else
26407 if test x$gcc_no_link = xyes; then
26408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26410 { (exit 1); exit 1; }; }
26412 cat >conftest.$ac_ext <<_ACEOF
26413 /* confdefs.h. */
26414 _ACEOF
26415 cat confdefs.h >>conftest.$ac_ext
26416 cat >>conftest.$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26420 #define $ac_func innocuous_$ac_func
26422 /* System header to define __stub macros and hopefully few prototypes,
26423 which can conflict with char $ac_func (); below.
26424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26425 <limits.h> exists even on freestanding compilers. */
26427 #ifdef __STDC__
26428 # include <limits.h>
26429 #else
26430 # include <assert.h>
26431 #endif
26433 #undef $ac_func
26435 /* Override any gcc2 internal prototype to avoid an error. */
26436 #ifdef __cplusplus
26437 extern "C"
26439 #endif
26440 /* We use char because int might match the return type of a gcc2
26441 builtin and then its argument prototype would still apply. */
26442 char $ac_func ();
26443 /* The GNU C library defines this for functions which it implements
26444 to always fail with ENOSYS. Some functions are actually named
26445 something starting with __ and the normal name is an alias. */
26446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26447 choke me
26448 #else
26449 char (*f) () = $ac_func;
26450 #endif
26451 #ifdef __cplusplus
26453 #endif
26456 main ()
26458 return f != $ac_func;
26460 return 0;
26462 _ACEOF
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26465 (eval $ac_link) 2>conftest.er1
26466 ac_status=$?
26467 grep -v '^ *+' conftest.er1 >conftest.err
26468 rm -f conftest.er1
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } &&
26472 { ac_try='test -z "$ac_c_werror_flag"
26473 || test ! -s conftest.err'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26476 ac_status=$?
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; } &&
26479 { ac_try='test -s conftest$ac_exeext'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26482 ac_status=$?
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; }; then
26485 eval "$as_ac_var=yes"
26486 else
26487 echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26490 eval "$as_ac_var=no"
26492 rm -f conftest.err conftest.$ac_objext \
26493 conftest$ac_exeext conftest.$ac_ext
26495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26497 if test `eval echo '${'$as_ac_var'}'` = yes; then
26498 cat >>confdefs.h <<_ACEOF
26499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26500 _ACEOF
26503 done
26505 else
26507 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26508 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26509 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26510 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 else
26516 ac_ext=cc
26517 ac_cpp='$CXXCPP $CPPFLAGS'
26518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26522 cat >conftest.$ac_ext <<_ACEOF
26523 /* confdefs.h. */
26524 _ACEOF
26525 cat confdefs.h >>conftest.$ac_ext
26526 cat >>conftest.$ac_ext <<_ACEOF
26527 /* end confdefs.h. */
26528 #include <math.h>
26529 #ifdef HAVE_IEEEFP_H
26530 #include <ieeefp.h>
26531 #endif
26534 main ()
26536 _log10f(0);
26538 return 0;
26540 _ACEOF
26541 rm -f conftest.$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543 (eval $ac_compile) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_cxx_werror_flag"
26551 || test ! -s conftest.err'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26554 ac_status=$?
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; } &&
26557 { ac_try='test -s conftest.$ac_objext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26560 ac_status=$?
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26563 glibcxx_cv_func__log10f_use=yes
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26568 glibcxx_cv_func__log10f_use=no
26570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26571 ac_ext=c
26572 ac_cpp='$CPP $CPPFLAGS'
26573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26582 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26584 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26586 for ac_func in _log10f
26588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26589 echo "$as_me:$LINENO: checking for $ac_func" >&5
26590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26591 if eval "test \"\${$as_ac_var+set}\" = set"; then
26592 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 else
26594 if test x$gcc_no_link = xyes; then
26595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26597 { (exit 1); exit 1; }; }
26599 cat >conftest.$ac_ext <<_ACEOF
26600 /* confdefs.h. */
26601 _ACEOF
26602 cat confdefs.h >>conftest.$ac_ext
26603 cat >>conftest.$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26607 #define $ac_func innocuous_$ac_func
26609 /* System header to define __stub macros and hopefully few prototypes,
26610 which can conflict with char $ac_func (); below.
26611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26612 <limits.h> exists even on freestanding compilers. */
26614 #ifdef __STDC__
26615 # include <limits.h>
26616 #else
26617 # include <assert.h>
26618 #endif
26620 #undef $ac_func
26622 /* Override any gcc2 internal prototype to avoid an error. */
26623 #ifdef __cplusplus
26624 extern "C"
26626 #endif
26627 /* We use char because int might match the return type of a gcc2
26628 builtin and then its argument prototype would still apply. */
26629 char $ac_func ();
26630 /* The GNU C library defines this for functions which it implements
26631 to always fail with ENOSYS. Some functions are actually named
26632 something starting with __ and the normal name is an alias. */
26633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26634 choke me
26635 #else
26636 char (*f) () = $ac_func;
26637 #endif
26638 #ifdef __cplusplus
26640 #endif
26643 main ()
26645 return f != $ac_func;
26647 return 0;
26649 _ACEOF
26650 rm -f conftest.$ac_objext conftest$ac_exeext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26652 (eval $ac_link) 2>conftest.er1
26653 ac_status=$?
26654 grep -v '^ *+' conftest.er1 >conftest.err
26655 rm -f conftest.er1
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try='test -z "$ac_c_werror_flag"
26660 || test ! -s conftest.err'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26663 ac_status=$?
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; } &&
26666 { ac_try='test -s conftest$ac_exeext'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26669 ac_status=$?
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; }; then
26672 eval "$as_ac_var=yes"
26673 else
26674 echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26677 eval "$as_ac_var=no"
26679 rm -f conftest.err conftest.$ac_objext \
26680 conftest$ac_exeext conftest.$ac_ext
26682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26684 if test `eval echo '${'$as_ac_var'}'` = yes; then
26685 cat >>confdefs.h <<_ACEOF
26686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26687 _ACEOF
26690 done
26700 echo "$as_me:$LINENO: checking for modff declaration" >&5
26701 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26702 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26703 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26709 ac_ext=cc
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <math.h>
26723 main ()
26725 modff(0, 0);
26727 return 0;
26729 _ACEOF
26730 rm -f conftest.$ac_objext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26732 (eval $ac_compile) 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } &&
26739 { ac_try='test -z "$ac_cxx_werror_flag"
26740 || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26743 ac_status=$?
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try='test -s conftest.$ac_objext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 glibcxx_cv_func_modff_use=yes
26753 else
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.$ac_ext >&5
26757 glibcxx_cv_func_modff_use=no
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26760 ac_ext=c
26761 ac_cpp='$CPP $CPPFLAGS'
26762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26771 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26773 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26775 for ac_func in modff
26777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26778 echo "$as_me:$LINENO: checking for $ac_func" >&5
26779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26780 if eval "test \"\${$as_ac_var+set}\" = set"; then
26781 echo $ECHO_N "(cached) $ECHO_C" >&6
26782 else
26783 if test x$gcc_no_link = xyes; then
26784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26786 { (exit 1); exit 1; }; }
26788 cat >conftest.$ac_ext <<_ACEOF
26789 /* confdefs.h. */
26790 _ACEOF
26791 cat confdefs.h >>conftest.$ac_ext
26792 cat >>conftest.$ac_ext <<_ACEOF
26793 /* end confdefs.h. */
26794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26796 #define $ac_func innocuous_$ac_func
26798 /* System header to define __stub macros and hopefully few prototypes,
26799 which can conflict with char $ac_func (); below.
26800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26801 <limits.h> exists even on freestanding compilers. */
26803 #ifdef __STDC__
26804 # include <limits.h>
26805 #else
26806 # include <assert.h>
26807 #endif
26809 #undef $ac_func
26811 /* Override any gcc2 internal prototype to avoid an error. */
26812 #ifdef __cplusplus
26813 extern "C"
26815 #endif
26816 /* We use char because int might match the return type of a gcc2
26817 builtin and then its argument prototype would still apply. */
26818 char $ac_func ();
26819 /* The GNU C library defines this for functions which it implements
26820 to always fail with ENOSYS. Some functions are actually named
26821 something starting with __ and the normal name is an alias. */
26822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26823 choke me
26824 #else
26825 char (*f) () = $ac_func;
26826 #endif
26827 #ifdef __cplusplus
26829 #endif
26832 main ()
26834 return f != $ac_func;
26836 return 0;
26838 _ACEOF
26839 rm -f conftest.$ac_objext conftest$ac_exeext
26840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26841 (eval $ac_link) 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } &&
26848 { ac_try='test -z "$ac_c_werror_flag"
26849 || test ! -s conftest.err'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26852 ac_status=$?
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; } &&
26855 { ac_try='test -s conftest$ac_exeext'
26856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26857 (eval $ac_try) 2>&5
26858 ac_status=$?
26859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26860 (exit $ac_status); }; }; then
26861 eval "$as_ac_var=yes"
26862 else
26863 echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.$ac_ext >&5
26866 eval "$as_ac_var=no"
26868 rm -f conftest.err conftest.$ac_objext \
26869 conftest$ac_exeext conftest.$ac_ext
26871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26873 if test `eval echo '${'$as_ac_var'}'` = yes; then
26874 cat >>confdefs.h <<_ACEOF
26875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26876 _ACEOF
26879 done
26881 else
26883 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26884 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26885 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26886 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26887 echo $ECHO_N "(cached) $ECHO_C" >&6
26888 else
26892 ac_ext=cc
26893 ac_cpp='$CXXCPP $CPPFLAGS'
26894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26898 cat >conftest.$ac_ext <<_ACEOF
26899 /* confdefs.h. */
26900 _ACEOF
26901 cat confdefs.h >>conftest.$ac_ext
26902 cat >>conftest.$ac_ext <<_ACEOF
26903 /* end confdefs.h. */
26904 #include <math.h>
26906 main ()
26908 _modff(0, 0);
26910 return 0;
26912 _ACEOF
26913 rm -f conftest.$ac_objext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26915 (eval $ac_compile) 2>conftest.er1
26916 ac_status=$?
26917 grep -v '^ *+' conftest.er1 >conftest.err
26918 rm -f conftest.er1
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try='test -z "$ac_cxx_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26926 ac_status=$?
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try='test -s conftest.$ac_objext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26932 ac_status=$?
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26935 glibcxx_cv_func__modff_use=yes
26936 else
26937 echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.$ac_ext >&5
26940 glibcxx_cv_func__modff_use=no
26942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26943 ac_ext=c
26944 ac_cpp='$CPP $CPPFLAGS'
26945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26954 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26956 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26958 for ac_func in _modff
26960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26961 echo "$as_me:$LINENO: checking for $ac_func" >&5
26962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26963 if eval "test \"\${$as_ac_var+set}\" = set"; then
26964 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 else
26966 if test x$gcc_no_link = xyes; then
26967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26969 { (exit 1); exit 1; }; }
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26979 #define $ac_func innocuous_$ac_func
26981 /* System header to define __stub macros and hopefully few prototypes,
26982 which can conflict with char $ac_func (); below.
26983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26984 <limits.h> exists even on freestanding compilers. */
26986 #ifdef __STDC__
26987 # include <limits.h>
26988 #else
26989 # include <assert.h>
26990 #endif
26992 #undef $ac_func
26994 /* Override any gcc2 internal prototype to avoid an error. */
26995 #ifdef __cplusplus
26996 extern "C"
26998 #endif
26999 /* We use char because int might match the return type of a gcc2
27000 builtin and then its argument prototype would still apply. */
27001 char $ac_func ();
27002 /* The GNU C library defines this for functions which it implements
27003 to always fail with ENOSYS. Some functions are actually named
27004 something starting with __ and the normal name is an alias. */
27005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27006 choke me
27007 #else
27008 char (*f) () = $ac_func;
27009 #endif
27010 #ifdef __cplusplus
27012 #endif
27015 main ()
27017 return f != $ac_func;
27019 return 0;
27021 _ACEOF
27022 rm -f conftest.$ac_objext conftest$ac_exeext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27024 (eval $ac_link) 2>conftest.er1
27025 ac_status=$?
27026 grep -v '^ *+' conftest.er1 >conftest.err
27027 rm -f conftest.er1
27028 cat conftest.err >&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); } &&
27031 { ac_try='test -z "$ac_c_werror_flag"
27032 || test ! -s conftest.err'
27033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034 (eval $ac_try) 2>&5
27035 ac_status=$?
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; } &&
27038 { ac_try='test -s conftest$ac_exeext'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; }; then
27044 eval "$as_ac_var=yes"
27045 else
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27049 eval "$as_ac_var=no"
27051 rm -f conftest.err conftest.$ac_objext \
27052 conftest$ac_exeext conftest.$ac_ext
27054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27056 if test `eval echo '${'$as_ac_var'}'` = yes; then
27057 cat >>confdefs.h <<_ACEOF
27058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27059 _ACEOF
27062 done
27072 echo "$as_me:$LINENO: checking for modf declaration" >&5
27073 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27074 if test x${glibcxx_cv_func_modf_use+set} != xset; then
27075 if test "${glibcxx_cv_func_modf_use+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27081 ac_ext=cc
27082 ac_cpp='$CXXCPP $CPPFLAGS'
27083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27087 cat >conftest.$ac_ext <<_ACEOF
27088 /* confdefs.h. */
27089 _ACEOF
27090 cat confdefs.h >>conftest.$ac_ext
27091 cat >>conftest.$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #include <math.h>
27095 main ()
27097 modf(0, 0);
27099 return 0;
27101 _ACEOF
27102 rm -f conftest.$ac_objext
27103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27104 (eval $ac_compile) 2>conftest.er1
27105 ac_status=$?
27106 grep -v '^ *+' conftest.er1 >conftest.err
27107 rm -f conftest.er1
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } &&
27111 { ac_try='test -z "$ac_cxx_werror_flag"
27112 || test ! -s conftest.err'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27115 ac_status=$?
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; } &&
27118 { ac_try='test -s conftest.$ac_objext'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27121 ac_status=$?
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; }; then
27124 glibcxx_cv_func_modf_use=yes
27125 else
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27129 glibcxx_cv_func_modf_use=no
27131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27132 ac_ext=c
27133 ac_cpp='$CPP $CPPFLAGS'
27134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27143 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27145 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27147 for ac_func in modf
27149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27150 echo "$as_me:$LINENO: checking for $ac_func" >&5
27151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27152 if eval "test \"\${$as_ac_var+set}\" = set"; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 else
27155 if test x$gcc_no_link = xyes; then
27156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27158 { (exit 1); exit 1; }; }
27160 cat >conftest.$ac_ext <<_ACEOF
27161 /* confdefs.h. */
27162 _ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27168 #define $ac_func innocuous_$ac_func
27170 /* System header to define __stub macros and hopefully few prototypes,
27171 which can conflict with char $ac_func (); below.
27172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27173 <limits.h> exists even on freestanding compilers. */
27175 #ifdef __STDC__
27176 # include <limits.h>
27177 #else
27178 # include <assert.h>
27179 #endif
27181 #undef $ac_func
27183 /* Override any gcc2 internal prototype to avoid an error. */
27184 #ifdef __cplusplus
27185 extern "C"
27187 #endif
27188 /* We use char because int might match the return type of a gcc2
27189 builtin and then its argument prototype would still apply. */
27190 char $ac_func ();
27191 /* The GNU C library defines this for functions which it implements
27192 to always fail with ENOSYS. Some functions are actually named
27193 something starting with __ and the normal name is an alias. */
27194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27195 choke me
27196 #else
27197 char (*f) () = $ac_func;
27198 #endif
27199 #ifdef __cplusplus
27201 #endif
27204 main ()
27206 return f != $ac_func;
27208 return 0;
27210 _ACEOF
27211 rm -f conftest.$ac_objext conftest$ac_exeext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27213 (eval $ac_link) 2>conftest.er1
27214 ac_status=$?
27215 grep -v '^ *+' conftest.er1 >conftest.err
27216 rm -f conftest.er1
27217 cat conftest.err >&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } &&
27220 { ac_try='test -z "$ac_c_werror_flag"
27221 || test ! -s conftest.err'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try='test -s conftest$ac_exeext'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27230 ac_status=$?
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; }; then
27233 eval "$as_ac_var=yes"
27234 else
27235 echo "$as_me: failed program was:" >&5
27236 sed 's/^/| /' conftest.$ac_ext >&5
27238 eval "$as_ac_var=no"
27240 rm -f conftest.err conftest.$ac_objext \
27241 conftest$ac_exeext conftest.$ac_ext
27243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27245 if test `eval echo '${'$as_ac_var'}'` = yes; then
27246 cat >>confdefs.h <<_ACEOF
27247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27248 _ACEOF
27251 done
27253 else
27255 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27256 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27257 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27258 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27259 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 else
27264 ac_ext=cc
27265 ac_cpp='$CXXCPP $CPPFLAGS'
27266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276 #include <math.h>
27278 main ()
27280 _modf(0, 0);
27282 return 0;
27284 _ACEOF
27285 rm -f conftest.$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287 (eval $ac_compile) 2>conftest.er1
27288 ac_status=$?
27289 grep -v '^ *+' conftest.er1 >conftest.err
27290 rm -f conftest.er1
27291 cat conftest.err >&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } &&
27294 { ac_try='test -z "$ac_cxx_werror_flag"
27295 || test ! -s conftest.err'
27296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297 (eval $ac_try) 2>&5
27298 ac_status=$?
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); }; } &&
27301 { ac_try='test -s conftest.$ac_objext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27307 glibcxx_cv_func__modf_use=yes
27308 else
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27312 glibcxx_cv_func__modf_use=no
27314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27315 ac_ext=c
27316 ac_cpp='$CPP $CPPFLAGS'
27317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27326 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27328 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27330 for ac_func in _modf
27332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27333 echo "$as_me:$LINENO: checking for $ac_func" >&5
27334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27335 if eval "test \"\${$as_ac_var+set}\" = set"; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338 if test x$gcc_no_link = xyes; then
27339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27341 { (exit 1); exit 1; }; }
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h. */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27351 #define $ac_func innocuous_$ac_func
27353 /* System header to define __stub macros and hopefully few prototypes,
27354 which can conflict with char $ac_func (); below.
27355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356 <limits.h> exists even on freestanding compilers. */
27358 #ifdef __STDC__
27359 # include <limits.h>
27360 #else
27361 # include <assert.h>
27362 #endif
27364 #undef $ac_func
27366 /* Override any gcc2 internal prototype to avoid an error. */
27367 #ifdef __cplusplus
27368 extern "C"
27370 #endif
27371 /* We use char because int might match the return type of a gcc2
27372 builtin and then its argument prototype would still apply. */
27373 char $ac_func ();
27374 /* The GNU C library defines this for functions which it implements
27375 to always fail with ENOSYS. Some functions are actually named
27376 something starting with __ and the normal name is an alias. */
27377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27378 choke me
27379 #else
27380 char (*f) () = $ac_func;
27381 #endif
27382 #ifdef __cplusplus
27384 #endif
27387 main ()
27389 return f != $ac_func;
27391 return 0;
27393 _ACEOF
27394 rm -f conftest.$ac_objext conftest$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>conftest.er1
27397 ac_status=$?
27398 grep -v '^ *+' conftest.er1 >conftest.err
27399 rm -f conftest.er1
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -z "$ac_c_werror_flag"
27404 || test ! -s conftest.err'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27407 ac_status=$?
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; } &&
27410 { ac_try='test -s conftest$ac_exeext'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27413 ac_status=$?
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; }; then
27416 eval "$as_ac_var=yes"
27417 else
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27421 eval "$as_ac_var=no"
27423 rm -f conftest.err conftest.$ac_objext \
27424 conftest$ac_exeext conftest.$ac_ext
27426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27428 if test `eval echo '${'$as_ac_var'}'` = yes; then
27429 cat >>confdefs.h <<_ACEOF
27430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27431 _ACEOF
27434 done
27444 echo "$as_me:$LINENO: checking for powf declaration" >&5
27445 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27446 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27447 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27448 echo $ECHO_N "(cached) $ECHO_C" >&6
27449 else
27453 ac_ext=cc
27454 ac_cpp='$CXXCPP $CPPFLAGS'
27455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465 #include <math.h>
27467 main ()
27469 powf(0, 0);
27471 return 0;
27473 _ACEOF
27474 rm -f conftest.$ac_objext
27475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27476 (eval $ac_compile) 2>conftest.er1
27477 ac_status=$?
27478 grep -v '^ *+' conftest.er1 >conftest.err
27479 rm -f conftest.er1
27480 cat conftest.err >&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); } &&
27483 { ac_try='test -z "$ac_cxx_werror_flag"
27484 || test ! -s conftest.err'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27487 ac_status=$?
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; } &&
27490 { ac_try='test -s conftest.$ac_objext'
27491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492 (eval $ac_try) 2>&5
27493 ac_status=$?
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); }; }; then
27496 glibcxx_cv_func_powf_use=yes
27497 else
27498 echo "$as_me: failed program was:" >&5
27499 sed 's/^/| /' conftest.$ac_ext >&5
27501 glibcxx_cv_func_powf_use=no
27503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27504 ac_ext=c
27505 ac_cpp='$CPP $CPPFLAGS'
27506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27515 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27517 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27519 for ac_func in powf
27521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27522 echo "$as_me:$LINENO: checking for $ac_func" >&5
27523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27524 if eval "test \"\${$as_ac_var+set}\" = set"; then
27525 echo $ECHO_N "(cached) $ECHO_C" >&6
27526 else
27527 if test x$gcc_no_link = xyes; then
27528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27530 { (exit 1); exit 1; }; }
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27540 #define $ac_func innocuous_$ac_func
27542 /* System header to define __stub macros and hopefully few prototypes,
27543 which can conflict with char $ac_func (); below.
27544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27545 <limits.h> exists even on freestanding compilers. */
27547 #ifdef __STDC__
27548 # include <limits.h>
27549 #else
27550 # include <assert.h>
27551 #endif
27553 #undef $ac_func
27555 /* Override any gcc2 internal prototype to avoid an error. */
27556 #ifdef __cplusplus
27557 extern "C"
27559 #endif
27560 /* We use char because int might match the return type of a gcc2
27561 builtin and then its argument prototype would still apply. */
27562 char $ac_func ();
27563 /* The GNU C library defines this for functions which it implements
27564 to always fail with ENOSYS. Some functions are actually named
27565 something starting with __ and the normal name is an alias. */
27566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27567 choke me
27568 #else
27569 char (*f) () = $ac_func;
27570 #endif
27571 #ifdef __cplusplus
27573 #endif
27576 main ()
27578 return f != $ac_func;
27580 return 0;
27582 _ACEOF
27583 rm -f conftest.$ac_objext conftest$ac_exeext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27585 (eval $ac_link) 2>conftest.er1
27586 ac_status=$?
27587 grep -v '^ *+' conftest.er1 >conftest.err
27588 rm -f conftest.er1
27589 cat conftest.err >&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } &&
27592 { ac_try='test -z "$ac_c_werror_flag"
27593 || test ! -s conftest.err'
27594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595 (eval $ac_try) 2>&5
27596 ac_status=$?
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); }; } &&
27599 { ac_try='test -s conftest$ac_exeext'
27600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601 (eval $ac_try) 2>&5
27602 ac_status=$?
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 eval "$as_ac_var=yes"
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27610 eval "$as_ac_var=no"
27612 rm -f conftest.err conftest.$ac_objext \
27613 conftest$ac_exeext conftest.$ac_ext
27615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27617 if test `eval echo '${'$as_ac_var'}'` = yes; then
27618 cat >>confdefs.h <<_ACEOF
27619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27620 _ACEOF
27623 done
27625 else
27627 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27628 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27629 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27630 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27631 echo $ECHO_N "(cached) $ECHO_C" >&6
27632 else
27636 ac_ext=cc
27637 ac_cpp='$CXXCPP $CPPFLAGS'
27638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27642 cat >conftest.$ac_ext <<_ACEOF
27643 /* confdefs.h. */
27644 _ACEOF
27645 cat confdefs.h >>conftest.$ac_ext
27646 cat >>conftest.$ac_ext <<_ACEOF
27647 /* end confdefs.h. */
27648 #include <math.h>
27650 main ()
27652 _powf(0, 0);
27654 return 0;
27656 _ACEOF
27657 rm -f conftest.$ac_objext
27658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27659 (eval $ac_compile) 2>conftest.er1
27660 ac_status=$?
27661 grep -v '^ *+' conftest.er1 >conftest.err
27662 rm -f conftest.er1
27663 cat conftest.err >&5
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } &&
27666 { ac_try='test -z "$ac_cxx_werror_flag"
27667 || test ! -s conftest.err'
27668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669 (eval $ac_try) 2>&5
27670 ac_status=$?
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); }; } &&
27673 { ac_try='test -s conftest.$ac_objext'
27674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27675 (eval $ac_try) 2>&5
27676 ac_status=$?
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); }; }; then
27679 glibcxx_cv_func__powf_use=yes
27680 else
27681 echo "$as_me: failed program was:" >&5
27682 sed 's/^/| /' conftest.$ac_ext >&5
27684 glibcxx_cv_func__powf_use=no
27686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27687 ac_ext=c
27688 ac_cpp='$CPP $CPPFLAGS'
27689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27698 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27700 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27702 for ac_func in _powf
27704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27705 echo "$as_me:$LINENO: checking for $ac_func" >&5
27706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27707 if eval "test \"\${$as_ac_var+set}\" = set"; then
27708 echo $ECHO_N "(cached) $ECHO_C" >&6
27709 else
27710 if test x$gcc_no_link = xyes; then
27711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27713 { (exit 1); exit 1; }; }
27715 cat >conftest.$ac_ext <<_ACEOF
27716 /* confdefs.h. */
27717 _ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h. */
27721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27723 #define $ac_func innocuous_$ac_func
27725 /* System header to define __stub macros and hopefully few prototypes,
27726 which can conflict with char $ac_func (); below.
27727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27728 <limits.h> exists even on freestanding compilers. */
27730 #ifdef __STDC__
27731 # include <limits.h>
27732 #else
27733 # include <assert.h>
27734 #endif
27736 #undef $ac_func
27738 /* Override any gcc2 internal prototype to avoid an error. */
27739 #ifdef __cplusplus
27740 extern "C"
27742 #endif
27743 /* We use char because int might match the return type of a gcc2
27744 builtin and then its argument prototype would still apply. */
27745 char $ac_func ();
27746 /* The GNU C library defines this for functions which it implements
27747 to always fail with ENOSYS. Some functions are actually named
27748 something starting with __ and the normal name is an alias. */
27749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27750 choke me
27751 #else
27752 char (*f) () = $ac_func;
27753 #endif
27754 #ifdef __cplusplus
27756 #endif
27759 main ()
27761 return f != $ac_func;
27763 return 0;
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768 (eval $ac_link) 2>conftest.er1
27769 ac_status=$?
27770 grep -v '^ *+' conftest.er1 >conftest.err
27771 rm -f conftest.er1
27772 cat conftest.err >&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); } &&
27775 { ac_try='test -z "$ac_c_werror_flag"
27776 || test ! -s conftest.err'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27779 ac_status=$?
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; } &&
27782 { ac_try='test -s conftest$ac_exeext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27785 ac_status=$?
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 eval "$as_ac_var=yes"
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27793 eval "$as_ac_var=no"
27795 rm -f conftest.err conftest.$ac_objext \
27796 conftest$ac_exeext conftest.$ac_ext
27798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27800 if test `eval echo '${'$as_ac_var'}'` = yes; then
27801 cat >>confdefs.h <<_ACEOF
27802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27803 _ACEOF
27806 done
27816 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27817 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27818 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27819 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27825 ac_ext=cc
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27831 cat >conftest.$ac_ext <<_ACEOF
27832 /* confdefs.h. */
27833 _ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27837 #include <math.h>
27838 #ifdef HAVE_IEEEFP_H
27839 #include <ieeefp.h>
27840 #endif
27843 main ()
27845 sqrtf(0);
27847 return 0;
27849 _ACEOF
27850 rm -f conftest.$ac_objext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27852 (eval $ac_compile) 2>conftest.er1
27853 ac_status=$?
27854 grep -v '^ *+' conftest.er1 >conftest.err
27855 rm -f conftest.er1
27856 cat conftest.err >&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try='test -z "$ac_cxx_werror_flag"
27860 || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27863 ac_status=$?
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try='test -s conftest.$ac_objext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27869 ac_status=$?
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 glibcxx_cv_func_sqrtf_use=yes
27873 else
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27877 glibcxx_cv_func_sqrtf_use=no
27879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27880 ac_ext=c
27881 ac_cpp='$CPP $CPPFLAGS'
27882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27891 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27893 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27895 for ac_func in sqrtf
27897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27898 echo "$as_me:$LINENO: checking for $ac_func" >&5
27899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27900 if eval "test \"\${$as_ac_var+set}\" = set"; then
27901 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 else
27903 if test x$gcc_no_link = xyes; then
27904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27906 { (exit 1); exit 1; }; }
27908 cat >conftest.$ac_ext <<_ACEOF
27909 /* confdefs.h. */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27916 #define $ac_func innocuous_$ac_func
27918 /* System header to define __stub macros and hopefully few prototypes,
27919 which can conflict with char $ac_func (); below.
27920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27921 <limits.h> exists even on freestanding compilers. */
27923 #ifdef __STDC__
27924 # include <limits.h>
27925 #else
27926 # include <assert.h>
27927 #endif
27929 #undef $ac_func
27931 /* Override any gcc2 internal prototype to avoid an error. */
27932 #ifdef __cplusplus
27933 extern "C"
27935 #endif
27936 /* We use char because int might match the return type of a gcc2
27937 builtin and then its argument prototype would still apply. */
27938 char $ac_func ();
27939 /* The GNU C library defines this for functions which it implements
27940 to always fail with ENOSYS. Some functions are actually named
27941 something starting with __ and the normal name is an alias. */
27942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27943 choke me
27944 #else
27945 char (*f) () = $ac_func;
27946 #endif
27947 #ifdef __cplusplus
27949 #endif
27952 main ()
27954 return f != $ac_func;
27956 return 0;
27958 _ACEOF
27959 rm -f conftest.$ac_objext conftest$ac_exeext
27960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27961 (eval $ac_link) 2>conftest.er1
27962 ac_status=$?
27963 grep -v '^ *+' conftest.er1 >conftest.err
27964 rm -f conftest.er1
27965 cat conftest.err >&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } &&
27968 { ac_try='test -z "$ac_c_werror_flag"
27969 || test ! -s conftest.err'
27970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971 (eval $ac_try) 2>&5
27972 ac_status=$?
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; } &&
27975 { ac_try='test -s conftest$ac_exeext'
27976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977 (eval $ac_try) 2>&5
27978 ac_status=$?
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27981 eval "$as_ac_var=yes"
27982 else
27983 echo "$as_me: failed program was:" >&5
27984 sed 's/^/| /' conftest.$ac_ext >&5
27986 eval "$as_ac_var=no"
27988 rm -f conftest.err conftest.$ac_objext \
27989 conftest$ac_exeext conftest.$ac_ext
27991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27993 if test `eval echo '${'$as_ac_var'}'` = yes; then
27994 cat >>confdefs.h <<_ACEOF
27995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27996 _ACEOF
27999 done
28001 else
28003 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
28004 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
28005 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
28006 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 else
28012 ac_ext=cc
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28018 cat >conftest.$ac_ext <<_ACEOF
28019 /* confdefs.h. */
28020 _ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28024 #include <math.h>
28025 #ifdef HAVE_IEEEFP_H
28026 #include <ieeefp.h>
28027 #endif
28030 main ()
28032 _sqrtf(0);
28034 return 0;
28036 _ACEOF
28037 rm -f conftest.$ac_objext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28039 (eval $ac_compile) 2>conftest.er1
28040 ac_status=$?
28041 grep -v '^ *+' conftest.er1 >conftest.err
28042 rm -f conftest.er1
28043 cat conftest.err >&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } &&
28046 { ac_try='test -z "$ac_cxx_werror_flag"
28047 || test ! -s conftest.err'
28048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28049 (eval $ac_try) 2>&5
28050 ac_status=$?
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; } &&
28053 { ac_try='test -s conftest.$ac_objext'
28054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28055 (eval $ac_try) 2>&5
28056 ac_status=$?
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); }; }; then
28059 glibcxx_cv_func__sqrtf_use=yes
28060 else
28061 echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.$ac_ext >&5
28064 glibcxx_cv_func__sqrtf_use=no
28066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28067 ac_ext=c
28068 ac_cpp='$CPP $CPPFLAGS'
28069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28078 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28080 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28082 for ac_func in _sqrtf
28084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28085 echo "$as_me:$LINENO: checking for $ac_func" >&5
28086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28087 if eval "test \"\${$as_ac_var+set}\" = set"; then
28088 echo $ECHO_N "(cached) $ECHO_C" >&6
28089 else
28090 if test x$gcc_no_link = xyes; then
28091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28093 { (exit 1); exit 1; }; }
28095 cat >conftest.$ac_ext <<_ACEOF
28096 /* confdefs.h. */
28097 _ACEOF
28098 cat confdefs.h >>conftest.$ac_ext
28099 cat >>conftest.$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28103 #define $ac_func innocuous_$ac_func
28105 /* System header to define __stub macros and hopefully few prototypes,
28106 which can conflict with char $ac_func (); below.
28107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28108 <limits.h> exists even on freestanding compilers. */
28110 #ifdef __STDC__
28111 # include <limits.h>
28112 #else
28113 # include <assert.h>
28114 #endif
28116 #undef $ac_func
28118 /* Override any gcc2 internal prototype to avoid an error. */
28119 #ifdef __cplusplus
28120 extern "C"
28122 #endif
28123 /* We use char because int might match the return type of a gcc2
28124 builtin and then its argument prototype would still apply. */
28125 char $ac_func ();
28126 /* The GNU C library defines this for functions which it implements
28127 to always fail with ENOSYS. Some functions are actually named
28128 something starting with __ and the normal name is an alias. */
28129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28130 choke me
28131 #else
28132 char (*f) () = $ac_func;
28133 #endif
28134 #ifdef __cplusplus
28136 #endif
28139 main ()
28141 return f != $ac_func;
28143 return 0;
28145 _ACEOF
28146 rm -f conftest.$ac_objext conftest$ac_exeext
28147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28148 (eval $ac_link) 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } &&
28155 { ac_try='test -z "$ac_c_werror_flag"
28156 || test ! -s conftest.err'
28157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28158 (eval $ac_try) 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; } &&
28162 { ac_try='test -s conftest$ac_exeext'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28165 ac_status=$?
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; }; then
28168 eval "$as_ac_var=yes"
28169 else
28170 echo "$as_me: failed program was:" >&5
28171 sed 's/^/| /' conftest.$ac_ext >&5
28173 eval "$as_ac_var=no"
28175 rm -f conftest.err conftest.$ac_objext \
28176 conftest$ac_exeext conftest.$ac_ext
28178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28180 if test `eval echo '${'$as_ac_var'}'` = yes; then
28181 cat >>confdefs.h <<_ACEOF
28182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28183 _ACEOF
28186 done
28196 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28197 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28198 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28199 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 else
28205 ac_ext=cc
28206 ac_cpp='$CXXCPP $CPPFLAGS'
28207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28211 cat >conftest.$ac_ext <<_ACEOF
28212 /* confdefs.h. */
28213 _ACEOF
28214 cat confdefs.h >>conftest.$ac_ext
28215 cat >>conftest.$ac_ext <<_ACEOF
28216 /* end confdefs.h. */
28217 #include <math.h>
28219 main ()
28221 sincosf(0, 0, 0);
28223 return 0;
28225 _ACEOF
28226 rm -f conftest.$ac_objext
28227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28228 (eval $ac_compile) 2>conftest.er1
28229 ac_status=$?
28230 grep -v '^ *+' conftest.er1 >conftest.err
28231 rm -f conftest.er1
28232 cat conftest.err >&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); } &&
28235 { ac_try='test -z "$ac_cxx_werror_flag"
28236 || test ! -s conftest.err'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; } &&
28242 { ac_try='test -s conftest.$ac_objext'
28243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244 (eval $ac_try) 2>&5
28245 ac_status=$?
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); }; }; then
28248 glibcxx_cv_func_sincosf_use=yes
28249 else
28250 echo "$as_me: failed program was:" >&5
28251 sed 's/^/| /' conftest.$ac_ext >&5
28253 glibcxx_cv_func_sincosf_use=no
28255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28256 ac_ext=c
28257 ac_cpp='$CPP $CPPFLAGS'
28258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28267 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28269 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28271 for ac_func in sincosf
28273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28274 echo "$as_me:$LINENO: checking for $ac_func" >&5
28275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28276 if eval "test \"\${$as_ac_var+set}\" = set"; then
28277 echo $ECHO_N "(cached) $ECHO_C" >&6
28278 else
28279 if test x$gcc_no_link = xyes; then
28280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28282 { (exit 1); exit 1; }; }
28284 cat >conftest.$ac_ext <<_ACEOF
28285 /* confdefs.h. */
28286 _ACEOF
28287 cat confdefs.h >>conftest.$ac_ext
28288 cat >>conftest.$ac_ext <<_ACEOF
28289 /* end confdefs.h. */
28290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28292 #define $ac_func innocuous_$ac_func
28294 /* System header to define __stub macros and hopefully few prototypes,
28295 which can conflict with char $ac_func (); below.
28296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28297 <limits.h> exists even on freestanding compilers. */
28299 #ifdef __STDC__
28300 # include <limits.h>
28301 #else
28302 # include <assert.h>
28303 #endif
28305 #undef $ac_func
28307 /* Override any gcc2 internal prototype to avoid an error. */
28308 #ifdef __cplusplus
28309 extern "C"
28311 #endif
28312 /* We use char because int might match the return type of a gcc2
28313 builtin and then its argument prototype would still apply. */
28314 char $ac_func ();
28315 /* The GNU C library defines this for functions which it implements
28316 to always fail with ENOSYS. Some functions are actually named
28317 something starting with __ and the normal name is an alias. */
28318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28319 choke me
28320 #else
28321 char (*f) () = $ac_func;
28322 #endif
28323 #ifdef __cplusplus
28325 #endif
28328 main ()
28330 return f != $ac_func;
28332 return 0;
28334 _ACEOF
28335 rm -f conftest.$ac_objext conftest$ac_exeext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28337 (eval $ac_link) 2>conftest.er1
28338 ac_status=$?
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try='test -z "$ac_c_werror_flag"
28345 || test ! -s conftest.err'
28346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347 (eval $ac_try) 2>&5
28348 ac_status=$?
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); }; } &&
28351 { ac_try='test -s conftest$ac_exeext'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28354 ac_status=$?
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; }; then
28357 eval "$as_ac_var=yes"
28358 else
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28362 eval "$as_ac_var=no"
28364 rm -f conftest.err conftest.$ac_objext \
28365 conftest$ac_exeext conftest.$ac_ext
28367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28369 if test `eval echo '${'$as_ac_var'}'` = yes; then
28370 cat >>confdefs.h <<_ACEOF
28371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28372 _ACEOF
28375 done
28377 else
28379 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28380 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28381 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28382 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28383 echo $ECHO_N "(cached) $ECHO_C" >&6
28384 else
28388 ac_ext=cc
28389 ac_cpp='$CXXCPP $CPPFLAGS'
28390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394 cat >conftest.$ac_ext <<_ACEOF
28395 /* confdefs.h. */
28396 _ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28400 #include <math.h>
28402 main ()
28404 _sincosf(0, 0, 0);
28406 return 0;
28408 _ACEOF
28409 rm -f conftest.$ac_objext
28410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28411 (eval $ac_compile) 2>conftest.er1
28412 ac_status=$?
28413 grep -v '^ *+' conftest.er1 >conftest.err
28414 rm -f conftest.er1
28415 cat conftest.err >&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); } &&
28418 { ac_try='test -z "$ac_cxx_werror_flag"
28419 || test ! -s conftest.err'
28420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421 (eval $ac_try) 2>&5
28422 ac_status=$?
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; } &&
28425 { ac_try='test -s conftest.$ac_objext'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28428 ac_status=$?
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; }; then
28431 glibcxx_cv_func__sincosf_use=yes
28432 else
28433 echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.$ac_ext >&5
28436 glibcxx_cv_func__sincosf_use=no
28438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28439 ac_ext=c
28440 ac_cpp='$CPP $CPPFLAGS'
28441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28450 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28452 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28454 for ac_func in _sincosf
28456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28457 echo "$as_me:$LINENO: checking for $ac_func" >&5
28458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28459 if eval "test \"\${$as_ac_var+set}\" = set"; then
28460 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 else
28462 if test x$gcc_no_link = xyes; then
28463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28465 { (exit 1); exit 1; }; }
28467 cat >conftest.$ac_ext <<_ACEOF
28468 /* confdefs.h. */
28469 _ACEOF
28470 cat confdefs.h >>conftest.$ac_ext
28471 cat >>conftest.$ac_ext <<_ACEOF
28472 /* end confdefs.h. */
28473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28475 #define $ac_func innocuous_$ac_func
28477 /* System header to define __stub macros and hopefully few prototypes,
28478 which can conflict with char $ac_func (); below.
28479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28480 <limits.h> exists even on freestanding compilers. */
28482 #ifdef __STDC__
28483 # include <limits.h>
28484 #else
28485 # include <assert.h>
28486 #endif
28488 #undef $ac_func
28490 /* Override any gcc2 internal prototype to avoid an error. */
28491 #ifdef __cplusplus
28492 extern "C"
28494 #endif
28495 /* We use char because int might match the return type of a gcc2
28496 builtin and then its argument prototype would still apply. */
28497 char $ac_func ();
28498 /* The GNU C library defines this for functions which it implements
28499 to always fail with ENOSYS. Some functions are actually named
28500 something starting with __ and the normal name is an alias. */
28501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28502 choke me
28503 #else
28504 char (*f) () = $ac_func;
28505 #endif
28506 #ifdef __cplusplus
28508 #endif
28511 main ()
28513 return f != $ac_func;
28515 return 0;
28517 _ACEOF
28518 rm -f conftest.$ac_objext conftest$ac_exeext
28519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28520 (eval $ac_link) 2>conftest.er1
28521 ac_status=$?
28522 grep -v '^ *+' conftest.er1 >conftest.err
28523 rm -f conftest.er1
28524 cat conftest.err >&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); } &&
28527 { ac_try='test -z "$ac_c_werror_flag"
28528 || test ! -s conftest.err'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; } &&
28534 { ac_try='test -s conftest$ac_exeext'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28537 ac_status=$?
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; }; then
28540 eval "$as_ac_var=yes"
28541 else
28542 echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.$ac_ext >&5
28545 eval "$as_ac_var=no"
28547 rm -f conftest.err conftest.$ac_objext \
28548 conftest$ac_exeext conftest.$ac_ext
28550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28552 if test `eval echo '${'$as_ac_var'}'` = yes; then
28553 cat >>confdefs.h <<_ACEOF
28554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28555 _ACEOF
28558 done
28568 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28569 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28570 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28571 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 else
28577 ac_ext=cc
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583 cat >conftest.$ac_ext <<_ACEOF
28584 /* confdefs.h. */
28585 _ACEOF
28586 cat confdefs.h >>conftest.$ac_ext
28587 cat >>conftest.$ac_ext <<_ACEOF
28588 /* end confdefs.h. */
28589 #include <math.h>
28590 #ifdef HAVE_IEEEFP_H
28591 #include <ieeefp.h>
28592 #endif
28595 main ()
28597 finitef(0);
28599 return 0;
28601 _ACEOF
28602 rm -f conftest.$ac_objext
28603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28604 (eval $ac_compile) 2>conftest.er1
28605 ac_status=$?
28606 grep -v '^ *+' conftest.er1 >conftest.err
28607 rm -f conftest.er1
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -z "$ac_cxx_werror_flag"
28612 || test ! -s conftest.err'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28615 ac_status=$?
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; } &&
28618 { ac_try='test -s conftest.$ac_objext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28621 ac_status=$?
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28624 glibcxx_cv_func_finitef_use=yes
28625 else
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.$ac_ext >&5
28629 glibcxx_cv_func_finitef_use=no
28631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28632 ac_ext=c
28633 ac_cpp='$CPP $CPPFLAGS'
28634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28643 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28645 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28647 for ac_func in finitef
28649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28650 echo "$as_me:$LINENO: checking for $ac_func" >&5
28651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28652 if eval "test \"\${$as_ac_var+set}\" = set"; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28654 else
28655 if test x$gcc_no_link = xyes; then
28656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28658 { (exit 1); exit 1; }; }
28660 cat >conftest.$ac_ext <<_ACEOF
28661 /* confdefs.h. */
28662 _ACEOF
28663 cat confdefs.h >>conftest.$ac_ext
28664 cat >>conftest.$ac_ext <<_ACEOF
28665 /* end confdefs.h. */
28666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28668 #define $ac_func innocuous_$ac_func
28670 /* System header to define __stub macros and hopefully few prototypes,
28671 which can conflict with char $ac_func (); below.
28672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28673 <limits.h> exists even on freestanding compilers. */
28675 #ifdef __STDC__
28676 # include <limits.h>
28677 #else
28678 # include <assert.h>
28679 #endif
28681 #undef $ac_func
28683 /* Override any gcc2 internal prototype to avoid an error. */
28684 #ifdef __cplusplus
28685 extern "C"
28687 #endif
28688 /* We use char because int might match the return type of a gcc2
28689 builtin and then its argument prototype would still apply. */
28690 char $ac_func ();
28691 /* The GNU C library defines this for functions which it implements
28692 to always fail with ENOSYS. Some functions are actually named
28693 something starting with __ and the normal name is an alias. */
28694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28695 choke me
28696 #else
28697 char (*f) () = $ac_func;
28698 #endif
28699 #ifdef __cplusplus
28701 #endif
28704 main ()
28706 return f != $ac_func;
28708 return 0;
28710 _ACEOF
28711 rm -f conftest.$ac_objext conftest$ac_exeext
28712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28713 (eval $ac_link) 2>conftest.er1
28714 ac_status=$?
28715 grep -v '^ *+' conftest.er1 >conftest.err
28716 rm -f conftest.er1
28717 cat conftest.err >&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); } &&
28720 { ac_try='test -z "$ac_c_werror_flag"
28721 || test ! -s conftest.err'
28722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28723 (eval $ac_try) 2>&5
28724 ac_status=$?
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); }; } &&
28727 { ac_try='test -s conftest$ac_exeext'
28728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28729 (eval $ac_try) 2>&5
28730 ac_status=$?
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; }; then
28733 eval "$as_ac_var=yes"
28734 else
28735 echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.$ac_ext >&5
28738 eval "$as_ac_var=no"
28740 rm -f conftest.err conftest.$ac_objext \
28741 conftest$ac_exeext conftest.$ac_ext
28743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28745 if test `eval echo '${'$as_ac_var'}'` = yes; then
28746 cat >>confdefs.h <<_ACEOF
28747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28748 _ACEOF
28751 done
28753 else
28755 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28756 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28757 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28758 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28759 echo $ECHO_N "(cached) $ECHO_C" >&6
28760 else
28764 ac_ext=cc
28765 ac_cpp='$CXXCPP $CPPFLAGS'
28766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28770 cat >conftest.$ac_ext <<_ACEOF
28771 /* confdefs.h. */
28772 _ACEOF
28773 cat confdefs.h >>conftest.$ac_ext
28774 cat >>conftest.$ac_ext <<_ACEOF
28775 /* end confdefs.h. */
28776 #include <math.h>
28777 #ifdef HAVE_IEEEFP_H
28778 #include <ieeefp.h>
28779 #endif
28782 main ()
28784 _finitef(0);
28786 return 0;
28788 _ACEOF
28789 rm -f conftest.$ac_objext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28791 (eval $ac_compile) 2>conftest.er1
28792 ac_status=$?
28793 grep -v '^ *+' conftest.er1 >conftest.err
28794 rm -f conftest.er1
28795 cat conftest.err >&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try='test -z "$ac_cxx_werror_flag"
28799 || test ! -s conftest.err'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; } &&
28805 { ac_try='test -s conftest.$ac_objext'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28808 ac_status=$?
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; }; then
28811 glibcxx_cv_func__finitef_use=yes
28812 else
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28816 glibcxx_cv_func__finitef_use=no
28818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28819 ac_ext=c
28820 ac_cpp='$CPP $CPPFLAGS'
28821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28830 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28832 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28834 for ac_func in _finitef
28836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28837 echo "$as_me:$LINENO: checking for $ac_func" >&5
28838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28839 if eval "test \"\${$as_ac_var+set}\" = set"; then
28840 echo $ECHO_N "(cached) $ECHO_C" >&6
28841 else
28842 if test x$gcc_no_link = xyes; then
28843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28845 { (exit 1); exit 1; }; }
28847 cat >conftest.$ac_ext <<_ACEOF
28848 /* confdefs.h. */
28849 _ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28855 #define $ac_func innocuous_$ac_func
28857 /* System header to define __stub macros and hopefully few prototypes,
28858 which can conflict with char $ac_func (); below.
28859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28860 <limits.h> exists even on freestanding compilers. */
28862 #ifdef __STDC__
28863 # include <limits.h>
28864 #else
28865 # include <assert.h>
28866 #endif
28868 #undef $ac_func
28870 /* Override any gcc2 internal prototype to avoid an error. */
28871 #ifdef __cplusplus
28872 extern "C"
28874 #endif
28875 /* We use char because int might match the return type of a gcc2
28876 builtin and then its argument prototype would still apply. */
28877 char $ac_func ();
28878 /* The GNU C library defines this for functions which it implements
28879 to always fail with ENOSYS. Some functions are actually named
28880 something starting with __ and the normal name is an alias. */
28881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28882 choke me
28883 #else
28884 char (*f) () = $ac_func;
28885 #endif
28886 #ifdef __cplusplus
28888 #endif
28891 main ()
28893 return f != $ac_func;
28895 return 0;
28897 _ACEOF
28898 rm -f conftest.$ac_objext conftest$ac_exeext
28899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28900 (eval $ac_link) 2>conftest.er1
28901 ac_status=$?
28902 grep -v '^ *+' conftest.er1 >conftest.err
28903 rm -f conftest.er1
28904 cat conftest.err >&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } &&
28907 { ac_try='test -z "$ac_c_werror_flag"
28908 || test ! -s conftest.err'
28909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910 (eval $ac_try) 2>&5
28911 ac_status=$?
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); }; } &&
28914 { ac_try='test -s conftest$ac_exeext'
28915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28916 (eval $ac_try) 2>&5
28917 ac_status=$?
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); }; }; then
28920 eval "$as_ac_var=yes"
28921 else
28922 echo "$as_me: failed program was:" >&5
28923 sed 's/^/| /' conftest.$ac_ext >&5
28925 eval "$as_ac_var=no"
28927 rm -f conftest.err conftest.$ac_objext \
28928 conftest$ac_exeext conftest.$ac_ext
28930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28932 if test `eval echo '${'$as_ac_var'}'` = yes; then
28933 cat >>confdefs.h <<_ACEOF
28934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28935 _ACEOF
28938 done
28948 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28949 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28950 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28951 echo $ECHO_N "(cached) $ECHO_C" >&6
28952 else
28956 ac_ext=cc
28957 ac_cpp='$CXXCPP $CPPFLAGS'
28958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28962 cat >conftest.$ac_ext <<_ACEOF
28963 /* confdefs.h. */
28964 _ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28968 #include <math.h>
28970 main ()
28972 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28974 return 0;
28976 _ACEOF
28977 rm -f conftest.$ac_objext
28978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28979 (eval $ac_compile) 2>conftest.er1
28980 ac_status=$?
28981 grep -v '^ *+' conftest.er1 >conftest.err
28982 rm -f conftest.er1
28983 cat conftest.err >&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); } &&
28986 { ac_try='test -z "$ac_cxx_werror_flag"
28987 || test ! -s conftest.err'
28988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989 (eval $ac_try) 2>&5
28990 ac_status=$?
28991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); }; } &&
28993 { ac_try='test -s conftest.$ac_objext'
28994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28995 (eval $ac_try) 2>&5
28996 ac_status=$?
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); }; }; then
28999 glibcxx_cv_func_long_double_trig_use=yes
29000 else
29001 echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.$ac_ext >&5
29004 glibcxx_cv_func_long_double_trig_use=no
29006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29007 ac_ext=c
29008 ac_cpp='$CPP $CPPFLAGS'
29009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
29016 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
29017 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29027 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035 if test x$gcc_no_link = xyes; then
29036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29038 { (exit 1); exit 1; }; }
29040 cat >conftest.$ac_ext <<_ACEOF
29041 /* confdefs.h. */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29048 #define $ac_func innocuous_$ac_func
29050 /* System header to define __stub macros and hopefully few prototypes,
29051 which can conflict with char $ac_func (); below.
29052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053 <limits.h> exists even on freestanding compilers. */
29055 #ifdef __STDC__
29056 # include <limits.h>
29057 #else
29058 # include <assert.h>
29059 #endif
29061 #undef $ac_func
29063 /* Override any gcc2 internal prototype to avoid an error. */
29064 #ifdef __cplusplus
29065 extern "C"
29067 #endif
29068 /* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29070 char $ac_func ();
29071 /* The GNU C library defines this for functions which it implements
29072 to always fail with ENOSYS. Some functions are actually named
29073 something starting with __ and the normal name is an alias. */
29074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29075 choke me
29076 #else
29077 char (*f) () = $ac_func;
29078 #endif
29079 #ifdef __cplusplus
29081 #endif
29084 main ()
29086 return f != $ac_func;
29088 return 0;
29090 _ACEOF
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093 (eval $ac_link) 2>conftest.er1
29094 ac_status=$?
29095 grep -v '^ *+' conftest.er1 >conftest.err
29096 rm -f conftest.er1
29097 cat conftest.err >&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } &&
29100 { ac_try='test -z "$ac_c_werror_flag"
29101 || test ! -s conftest.err'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; } &&
29107 { ac_try='test -s conftest$ac_exeext'
29108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109 (eval $ac_try) 2>&5
29110 ac_status=$?
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113 eval "$as_ac_var=yes"
29114 else
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29118 eval "$as_ac_var=no"
29120 rm -f conftest.err conftest.$ac_objext \
29121 conftest$ac_exeext conftest.$ac_ext
29123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29125 if test `eval echo '${'$as_ac_var'}'` = yes; then
29126 cat >>confdefs.h <<_ACEOF
29127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128 _ACEOF
29131 done
29133 else
29134 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29135 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29136 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29137 echo $ECHO_N "(cached) $ECHO_C" >&6
29138 else
29142 ac_ext=cc
29143 ac_cpp='$CXXCPP $CPPFLAGS'
29144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29148 cat >conftest.$ac_ext <<_ACEOF
29149 /* confdefs.h. */
29150 _ACEOF
29151 cat confdefs.h >>conftest.$ac_ext
29152 cat >>conftest.$ac_ext <<_ACEOF
29153 /* end confdefs.h. */
29154 #include <math.h>
29156 main ()
29158 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29160 return 0;
29162 _ACEOF
29163 rm -f conftest.$ac_objext
29164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29165 (eval $ac_compile) 2>conftest.er1
29166 ac_status=$?
29167 grep -v '^ *+' conftest.er1 >conftest.err
29168 rm -f conftest.er1
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } &&
29172 { ac_try='test -z "$ac_cxx_werror_flag"
29173 || test ! -s conftest.err'
29174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175 (eval $ac_try) 2>&5
29176 ac_status=$?
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); }; } &&
29179 { ac_try='test -s conftest.$ac_objext'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29182 ac_status=$?
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; }; then
29185 glibcxx_cv_func__long_double_trig_use=yes
29186 else
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.$ac_ext >&5
29190 glibcxx_cv_func__long_double_trig_use=no
29192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29193 ac_ext=c
29194 ac_cpp='$CPP $CPPFLAGS'
29195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29202 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29203 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29213 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29216 echo "$as_me:$LINENO: checking for $ac_func" >&5
29217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29218 if eval "test \"\${$as_ac_var+set}\" = set"; then
29219 echo $ECHO_N "(cached) $ECHO_C" >&6
29220 else
29221 if test x$gcc_no_link = xyes; then
29222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29224 { (exit 1); exit 1; }; }
29226 cat >conftest.$ac_ext <<_ACEOF
29227 /* confdefs.h. */
29228 _ACEOF
29229 cat confdefs.h >>conftest.$ac_ext
29230 cat >>conftest.$ac_ext <<_ACEOF
29231 /* end confdefs.h. */
29232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29234 #define $ac_func innocuous_$ac_func
29236 /* System header to define __stub macros and hopefully few prototypes,
29237 which can conflict with char $ac_func (); below.
29238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29239 <limits.h> exists even on freestanding compilers. */
29241 #ifdef __STDC__
29242 # include <limits.h>
29243 #else
29244 # include <assert.h>
29245 #endif
29247 #undef $ac_func
29249 /* Override any gcc2 internal prototype to avoid an error. */
29250 #ifdef __cplusplus
29251 extern "C"
29253 #endif
29254 /* We use char because int might match the return type of a gcc2
29255 builtin and then its argument prototype would still apply. */
29256 char $ac_func ();
29257 /* The GNU C library defines this for functions which it implements
29258 to always fail with ENOSYS. Some functions are actually named
29259 something starting with __ and the normal name is an alias. */
29260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29261 choke me
29262 #else
29263 char (*f) () = $ac_func;
29264 #endif
29265 #ifdef __cplusplus
29267 #endif
29270 main ()
29272 return f != $ac_func;
29274 return 0;
29276 _ACEOF
29277 rm -f conftest.$ac_objext conftest$ac_exeext
29278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29279 (eval $ac_link) 2>conftest.er1
29280 ac_status=$?
29281 grep -v '^ *+' conftest.er1 >conftest.err
29282 rm -f conftest.er1
29283 cat conftest.err >&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } &&
29286 { ac_try='test -z "$ac_c_werror_flag"
29287 || test ! -s conftest.err'
29288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 (eval $ac_try) 2>&5
29290 ac_status=$?
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); }; } &&
29293 { ac_try='test -s conftest$ac_exeext'
29294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 (eval $ac_try) 2>&5
29296 ac_status=$?
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); }; }; then
29299 eval "$as_ac_var=yes"
29300 else
29301 echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29304 eval "$as_ac_var=no"
29306 rm -f conftest.err conftest.$ac_objext \
29307 conftest$ac_exeext conftest.$ac_ext
29309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29311 if test `eval echo '${'$as_ac_var'}'` = yes; then
29312 cat >>confdefs.h <<_ACEOF
29313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29314 _ACEOF
29317 done
29335 echo "$as_me:$LINENO: checking for long double round functions" >&5
29336 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29337 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 else
29343 ac_ext=cc
29344 ac_cpp='$CXXCPP $CPPFLAGS'
29345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29349 cat >conftest.$ac_ext <<_ACEOF
29350 /* confdefs.h. */
29351 _ACEOF
29352 cat confdefs.h >>conftest.$ac_ext
29353 cat >>conftest.$ac_ext <<_ACEOF
29354 /* end confdefs.h. */
29355 #include <math.h>
29357 main ()
29359 ceill (0); floorl (0);
29361 return 0;
29363 _ACEOF
29364 rm -f conftest.$ac_objext
29365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29366 (eval $ac_compile) 2>conftest.er1
29367 ac_status=$?
29368 grep -v '^ *+' conftest.er1 >conftest.err
29369 rm -f conftest.er1
29370 cat conftest.err >&5
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); } &&
29373 { ac_try='test -z "$ac_cxx_werror_flag"
29374 || test ! -s conftest.err'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; } &&
29380 { ac_try='test -s conftest.$ac_objext'
29381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382 (eval $ac_try) 2>&5
29383 ac_status=$?
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); }; }; then
29386 glibcxx_cv_func_long_double_round_use=yes
29387 else
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29391 glibcxx_cv_func_long_double_round_use=no
29393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29394 ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29403 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29404 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29407 for ac_func in ceill floorl
29409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29410 echo "$as_me:$LINENO: checking for $ac_func" >&5
29411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29412 if eval "test \"\${$as_ac_var+set}\" = set"; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29415 if test x$gcc_no_link = xyes; then
29416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29418 { (exit 1); exit 1; }; }
29420 cat >conftest.$ac_ext <<_ACEOF
29421 /* confdefs.h. */
29422 _ACEOF
29423 cat confdefs.h >>conftest.$ac_ext
29424 cat >>conftest.$ac_ext <<_ACEOF
29425 /* end confdefs.h. */
29426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29428 #define $ac_func innocuous_$ac_func
29430 /* System header to define __stub macros and hopefully few prototypes,
29431 which can conflict with char $ac_func (); below.
29432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29433 <limits.h> exists even on freestanding compilers. */
29435 #ifdef __STDC__
29436 # include <limits.h>
29437 #else
29438 # include <assert.h>
29439 #endif
29441 #undef $ac_func
29443 /* Override any gcc2 internal prototype to avoid an error. */
29444 #ifdef __cplusplus
29445 extern "C"
29447 #endif
29448 /* We use char because int might match the return type of a gcc2
29449 builtin and then its argument prototype would still apply. */
29450 char $ac_func ();
29451 /* The GNU C library defines this for functions which it implements
29452 to always fail with ENOSYS. Some functions are actually named
29453 something starting with __ and the normal name is an alias. */
29454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29455 choke me
29456 #else
29457 char (*f) () = $ac_func;
29458 #endif
29459 #ifdef __cplusplus
29461 #endif
29464 main ()
29466 return f != $ac_func;
29468 return 0;
29470 _ACEOF
29471 rm -f conftest.$ac_objext conftest$ac_exeext
29472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29473 (eval $ac_link) 2>conftest.er1
29474 ac_status=$?
29475 grep -v '^ *+' conftest.er1 >conftest.err
29476 rm -f conftest.er1
29477 cat conftest.err >&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try='test -z "$ac_c_werror_flag"
29481 || test ! -s conftest.err'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29484 ac_status=$?
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; } &&
29487 { ac_try='test -s conftest$ac_exeext'
29488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29489 (eval $ac_try) 2>&5
29490 ac_status=$?
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; }; then
29493 eval "$as_ac_var=yes"
29494 else
29495 echo "$as_me: failed program was:" >&5
29496 sed 's/^/| /' conftest.$ac_ext >&5
29498 eval "$as_ac_var=no"
29500 rm -f conftest.err conftest.$ac_objext \
29501 conftest$ac_exeext conftest.$ac_ext
29503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29505 if test `eval echo '${'$as_ac_var'}'` = yes; then
29506 cat >>confdefs.h <<_ACEOF
29507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29508 _ACEOF
29511 done
29513 else
29514 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29515 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29516 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 else
29522 ac_ext=cc
29523 ac_cpp='$CXXCPP $CPPFLAGS'
29524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29528 cat >conftest.$ac_ext <<_ACEOF
29529 /* confdefs.h. */
29530 _ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29534 #include <math.h>
29536 main ()
29538 _ceill (0); _floorl (0);
29540 return 0;
29542 _ACEOF
29543 rm -f conftest.$ac_objext
29544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29545 (eval $ac_compile) 2>conftest.er1
29546 ac_status=$?
29547 grep -v '^ *+' conftest.er1 >conftest.err
29548 rm -f conftest.er1
29549 cat conftest.err >&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); } &&
29552 { ac_try='test -z "$ac_cxx_werror_flag"
29553 || test ! -s conftest.err'
29554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555 (eval $ac_try) 2>&5
29556 ac_status=$?
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); }; } &&
29559 { ac_try='test -s conftest.$ac_objext'
29560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561 (eval $ac_try) 2>&5
29562 ac_status=$?
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); }; }; then
29565 glibcxx_cv_func__long_double_round_use=yes
29566 else
29567 echo "$as_me: failed program was:" >&5
29568 sed 's/^/| /' conftest.$ac_ext >&5
29570 glibcxx_cv_func__long_double_round_use=no
29572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29573 ac_ext=c
29574 ac_cpp='$CPP $CPPFLAGS'
29575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29582 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29583 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29586 for ac_func in _ceill _floorl
29588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29589 echo "$as_me:$LINENO: checking for $ac_func" >&5
29590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29591 if eval "test \"\${$as_ac_var+set}\" = set"; then
29592 echo $ECHO_N "(cached) $ECHO_C" >&6
29593 else
29594 if test x$gcc_no_link = xyes; then
29595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29597 { (exit 1); exit 1; }; }
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h. */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29607 #define $ac_func innocuous_$ac_func
29609 /* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char $ac_func (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29614 #ifdef __STDC__
29615 # include <limits.h>
29616 #else
29617 # include <assert.h>
29618 #endif
29620 #undef $ac_func
29622 /* Override any gcc2 internal prototype to avoid an error. */
29623 #ifdef __cplusplus
29624 extern "C"
29626 #endif
29627 /* We use char because int might match the return type of a gcc2
29628 builtin and then its argument prototype would still apply. */
29629 char $ac_func ();
29630 /* The GNU C library defines this for functions which it implements
29631 to always fail with ENOSYS. Some functions are actually named
29632 something starting with __ and the normal name is an alias. */
29633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29634 choke me
29635 #else
29636 char (*f) () = $ac_func;
29637 #endif
29638 #ifdef __cplusplus
29640 #endif
29643 main ()
29645 return f != $ac_func;
29647 return 0;
29649 _ACEOF
29650 rm -f conftest.$ac_objext conftest$ac_exeext
29651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29652 (eval $ac_link) 2>conftest.er1
29653 ac_status=$?
29654 grep -v '^ *+' conftest.er1 >conftest.err
29655 rm -f conftest.er1
29656 cat conftest.err >&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); } &&
29659 { ac_try='test -z "$ac_c_werror_flag"
29660 || test ! -s conftest.err'
29661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29662 (eval $ac_try) 2>&5
29663 ac_status=$?
29664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665 (exit $ac_status); }; } &&
29666 { ac_try='test -s conftest$ac_exeext'
29667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29668 (eval $ac_try) 2>&5
29669 ac_status=$?
29670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29671 (exit $ac_status); }; }; then
29672 eval "$as_ac_var=yes"
29673 else
29674 echo "$as_me: failed program was:" >&5
29675 sed 's/^/| /' conftest.$ac_ext >&5
29677 eval "$as_ac_var=no"
29679 rm -f conftest.err conftest.$ac_objext \
29680 conftest$ac_exeext conftest.$ac_ext
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29684 if test `eval echo '${'$as_ac_var'}'` = yes; then
29685 cat >>confdefs.h <<_ACEOF
29686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29687 _ACEOF
29690 done
29702 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29703 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29704 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29705 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29707 else
29711 ac_ext=cc
29712 ac_cpp='$CXXCPP $CPPFLAGS'
29713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723 #include <math.h>
29724 #ifdef HAVE_IEEEFP_H
29725 #include <ieeefp.h>
29726 #endif
29729 main ()
29731 isnanl(0);
29733 return 0;
29735 _ACEOF
29736 rm -f conftest.$ac_objext
29737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29738 (eval $ac_compile) 2>conftest.er1
29739 ac_status=$?
29740 grep -v '^ *+' conftest.er1 >conftest.err
29741 rm -f conftest.er1
29742 cat conftest.err >&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); } &&
29745 { ac_try='test -z "$ac_cxx_werror_flag"
29746 || test ! -s conftest.err'
29747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29748 (eval $ac_try) 2>&5
29749 ac_status=$?
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); }; } &&
29752 { ac_try='test -s conftest.$ac_objext'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29755 ac_status=$?
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; }; then
29758 glibcxx_cv_func_isnanl_use=yes
29759 else
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29763 glibcxx_cv_func_isnanl_use=no
29765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29766 ac_ext=c
29767 ac_cpp='$CPP $CPPFLAGS'
29768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29777 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29779 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29781 for ac_func in isnanl
29783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29784 echo "$as_me:$LINENO: checking for $ac_func" >&5
29785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29786 if eval "test \"\${$as_ac_var+set}\" = set"; then
29787 echo $ECHO_N "(cached) $ECHO_C" >&6
29788 else
29789 if test x$gcc_no_link = xyes; then
29790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29792 { (exit 1); exit 1; }; }
29794 cat >conftest.$ac_ext <<_ACEOF
29795 /* confdefs.h. */
29796 _ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h. */
29800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29802 #define $ac_func innocuous_$ac_func
29804 /* System header to define __stub macros and hopefully few prototypes,
29805 which can conflict with char $ac_func (); below.
29806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29807 <limits.h> exists even on freestanding compilers. */
29809 #ifdef __STDC__
29810 # include <limits.h>
29811 #else
29812 # include <assert.h>
29813 #endif
29815 #undef $ac_func
29817 /* Override any gcc2 internal prototype to avoid an error. */
29818 #ifdef __cplusplus
29819 extern "C"
29821 #endif
29822 /* We use char because int might match the return type of a gcc2
29823 builtin and then its argument prototype would still apply. */
29824 char $ac_func ();
29825 /* The GNU C library defines this for functions which it implements
29826 to always fail with ENOSYS. Some functions are actually named
29827 something starting with __ and the normal name is an alias. */
29828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29829 choke me
29830 #else
29831 char (*f) () = $ac_func;
29832 #endif
29833 #ifdef __cplusplus
29835 #endif
29838 main ()
29840 return f != $ac_func;
29842 return 0;
29844 _ACEOF
29845 rm -f conftest.$ac_objext conftest$ac_exeext
29846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29847 (eval $ac_link) 2>conftest.er1
29848 ac_status=$?
29849 grep -v '^ *+' conftest.er1 >conftest.err
29850 rm -f conftest.er1
29851 cat conftest.err >&5
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); } &&
29854 { ac_try='test -z "$ac_c_werror_flag"
29855 || test ! -s conftest.err'
29856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857 (eval $ac_try) 2>&5
29858 ac_status=$?
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); }; } &&
29861 { ac_try='test -s conftest$ac_exeext'
29862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863 (eval $ac_try) 2>&5
29864 ac_status=$?
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); }; }; then
29867 eval "$as_ac_var=yes"
29868 else
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29872 eval "$as_ac_var=no"
29874 rm -f conftest.err conftest.$ac_objext \
29875 conftest$ac_exeext conftest.$ac_ext
29877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29879 if test `eval echo '${'$as_ac_var'}'` = yes; then
29880 cat >>confdefs.h <<_ACEOF
29881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29882 _ACEOF
29885 done
29887 else
29889 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29890 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29891 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29892 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29893 echo $ECHO_N "(cached) $ECHO_C" >&6
29894 else
29898 ac_ext=cc
29899 ac_cpp='$CXXCPP $CPPFLAGS'
29900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29904 cat >conftest.$ac_ext <<_ACEOF
29905 /* confdefs.h. */
29906 _ACEOF
29907 cat confdefs.h >>conftest.$ac_ext
29908 cat >>conftest.$ac_ext <<_ACEOF
29909 /* end confdefs.h. */
29910 #include <math.h>
29911 #ifdef HAVE_IEEEFP_H
29912 #include <ieeefp.h>
29913 #endif
29916 main ()
29918 _isnanl(0);
29920 return 0;
29922 _ACEOF
29923 rm -f conftest.$ac_objext
29924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29925 (eval $ac_compile) 2>conftest.er1
29926 ac_status=$?
29927 grep -v '^ *+' conftest.er1 >conftest.err
29928 rm -f conftest.er1
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } &&
29932 { ac_try='test -z "$ac_cxx_werror_flag"
29933 || test ! -s conftest.err'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29936 ac_status=$?
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; } &&
29939 { ac_try='test -s conftest.$ac_objext'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29942 ac_status=$?
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; }; then
29945 glibcxx_cv_func__isnanl_use=yes
29946 else
29947 echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.$ac_ext >&5
29950 glibcxx_cv_func__isnanl_use=no
29952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29953 ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29964 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29966 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29968 for ac_func in _isnanl
29970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29971 echo "$as_me:$LINENO: checking for $ac_func" >&5
29972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29973 if eval "test \"\${$as_ac_var+set}\" = set"; then
29974 echo $ECHO_N "(cached) $ECHO_C" >&6
29975 else
29976 if test x$gcc_no_link = xyes; then
29977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29979 { (exit 1); exit 1; }; }
29981 cat >conftest.$ac_ext <<_ACEOF
29982 /* confdefs.h. */
29983 _ACEOF
29984 cat confdefs.h >>conftest.$ac_ext
29985 cat >>conftest.$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29989 #define $ac_func innocuous_$ac_func
29991 /* System header to define __stub macros and hopefully few prototypes,
29992 which can conflict with char $ac_func (); below.
29993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29994 <limits.h> exists even on freestanding compilers. */
29996 #ifdef __STDC__
29997 # include <limits.h>
29998 #else
29999 # include <assert.h>
30000 #endif
30002 #undef $ac_func
30004 /* Override any gcc2 internal prototype to avoid an error. */
30005 #ifdef __cplusplus
30006 extern "C"
30008 #endif
30009 /* We use char because int might match the return type of a gcc2
30010 builtin and then its argument prototype would still apply. */
30011 char $ac_func ();
30012 /* The GNU C library defines this for functions which it implements
30013 to always fail with ENOSYS. Some functions are actually named
30014 something starting with __ and the normal name is an alias. */
30015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30016 choke me
30017 #else
30018 char (*f) () = $ac_func;
30019 #endif
30020 #ifdef __cplusplus
30022 #endif
30025 main ()
30027 return f != $ac_func;
30029 return 0;
30031 _ACEOF
30032 rm -f conftest.$ac_objext conftest$ac_exeext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30034 (eval $ac_link) 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } &&
30041 { ac_try='test -z "$ac_c_werror_flag"
30042 || test ! -s conftest.err'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30045 ac_status=$?
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; } &&
30048 { ac_try='test -s conftest$ac_exeext'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30051 ac_status=$?
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; }; then
30054 eval "$as_ac_var=yes"
30055 else
30056 echo "$as_me: failed program was:" >&5
30057 sed 's/^/| /' conftest.$ac_ext >&5
30059 eval "$as_ac_var=no"
30061 rm -f conftest.err conftest.$ac_objext \
30062 conftest$ac_exeext conftest.$ac_ext
30064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30066 if test `eval echo '${'$as_ac_var'}'` = yes; then
30067 cat >>confdefs.h <<_ACEOF
30068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30069 _ACEOF
30072 done
30082 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30083 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30084 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30085 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 else
30091 ac_ext=cc
30092 ac_cpp='$CXXCPP $CPPFLAGS'
30093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30097 cat >conftest.$ac_ext <<_ACEOF
30098 /* confdefs.h. */
30099 _ACEOF
30100 cat confdefs.h >>conftest.$ac_ext
30101 cat >>conftest.$ac_ext <<_ACEOF
30102 /* end confdefs.h. */
30103 #include <math.h>
30104 #ifdef HAVE_IEEEFP_H
30105 #include <ieeefp.h>
30106 #endif
30109 main ()
30111 isinfl(0);
30113 return 0;
30115 _ACEOF
30116 rm -f conftest.$ac_objext
30117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30118 (eval $ac_compile) 2>conftest.er1
30119 ac_status=$?
30120 grep -v '^ *+' conftest.er1 >conftest.err
30121 rm -f conftest.er1
30122 cat conftest.err >&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); } &&
30125 { ac_try='test -z "$ac_cxx_werror_flag"
30126 || test ! -s conftest.err'
30127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30128 (eval $ac_try) 2>&5
30129 ac_status=$?
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); }; } &&
30132 { ac_try='test -s conftest.$ac_objext'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30135 ac_status=$?
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; }; then
30138 glibcxx_cv_func_isinfl_use=yes
30139 else
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.$ac_ext >&5
30143 glibcxx_cv_func_isinfl_use=no
30145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30146 ac_ext=c
30147 ac_cpp='$CPP $CPPFLAGS'
30148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30157 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30159 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30161 for ac_func in isinfl
30163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30164 echo "$as_me:$LINENO: checking for $ac_func" >&5
30165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30166 if eval "test \"\${$as_ac_var+set}\" = set"; then
30167 echo $ECHO_N "(cached) $ECHO_C" >&6
30168 else
30169 if test x$gcc_no_link = xyes; then
30170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30172 { (exit 1); exit 1; }; }
30174 cat >conftest.$ac_ext <<_ACEOF
30175 /* confdefs.h. */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30182 #define $ac_func innocuous_$ac_func
30184 /* System header to define __stub macros and hopefully few prototypes,
30185 which can conflict with char $ac_func (); below.
30186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30187 <limits.h> exists even on freestanding compilers. */
30189 #ifdef __STDC__
30190 # include <limits.h>
30191 #else
30192 # include <assert.h>
30193 #endif
30195 #undef $ac_func
30197 /* Override any gcc2 internal prototype to avoid an error. */
30198 #ifdef __cplusplus
30199 extern "C"
30201 #endif
30202 /* We use char because int might match the return type of a gcc2
30203 builtin and then its argument prototype would still apply. */
30204 char $ac_func ();
30205 /* The GNU C library defines this for functions which it implements
30206 to always fail with ENOSYS. Some functions are actually named
30207 something starting with __ and the normal name is an alias. */
30208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30209 choke me
30210 #else
30211 char (*f) () = $ac_func;
30212 #endif
30213 #ifdef __cplusplus
30215 #endif
30218 main ()
30220 return f != $ac_func;
30222 return 0;
30224 _ACEOF
30225 rm -f conftest.$ac_objext conftest$ac_exeext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30227 (eval $ac_link) 2>conftest.er1
30228 ac_status=$?
30229 grep -v '^ *+' conftest.er1 >conftest.err
30230 rm -f conftest.er1
30231 cat conftest.err >&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); } &&
30234 { ac_try='test -z "$ac_c_werror_flag"
30235 || test ! -s conftest.err'
30236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237 (eval $ac_try) 2>&5
30238 ac_status=$?
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); }; } &&
30241 { ac_try='test -s conftest$ac_exeext'
30242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30243 (eval $ac_try) 2>&5
30244 ac_status=$?
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); }; }; then
30247 eval "$as_ac_var=yes"
30248 else
30249 echo "$as_me: failed program was:" >&5
30250 sed 's/^/| /' conftest.$ac_ext >&5
30252 eval "$as_ac_var=no"
30254 rm -f conftest.err conftest.$ac_objext \
30255 conftest$ac_exeext conftest.$ac_ext
30257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30259 if test `eval echo '${'$as_ac_var'}'` = yes; then
30260 cat >>confdefs.h <<_ACEOF
30261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30262 _ACEOF
30265 done
30267 else
30269 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30270 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30271 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30272 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30273 echo $ECHO_N "(cached) $ECHO_C" >&6
30274 else
30278 ac_ext=cc
30279 ac_cpp='$CXXCPP $CPPFLAGS'
30280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30284 cat >conftest.$ac_ext <<_ACEOF
30285 /* confdefs.h. */
30286 _ACEOF
30287 cat confdefs.h >>conftest.$ac_ext
30288 cat >>conftest.$ac_ext <<_ACEOF
30289 /* end confdefs.h. */
30290 #include <math.h>
30291 #ifdef HAVE_IEEEFP_H
30292 #include <ieeefp.h>
30293 #endif
30296 main ()
30298 _isinfl(0);
30300 return 0;
30302 _ACEOF
30303 rm -f conftest.$ac_objext
30304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30305 (eval $ac_compile) 2>conftest.er1
30306 ac_status=$?
30307 grep -v '^ *+' conftest.er1 >conftest.err
30308 rm -f conftest.er1
30309 cat conftest.err >&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); } &&
30312 { ac_try='test -z "$ac_cxx_werror_flag"
30313 || test ! -s conftest.err'
30314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30315 (eval $ac_try) 2>&5
30316 ac_status=$?
30317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318 (exit $ac_status); }; } &&
30319 { ac_try='test -s conftest.$ac_objext'
30320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30321 (eval $ac_try) 2>&5
30322 ac_status=$?
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); }; }; then
30325 glibcxx_cv_func__isinfl_use=yes
30326 else
30327 echo "$as_me: failed program was:" >&5
30328 sed 's/^/| /' conftest.$ac_ext >&5
30330 glibcxx_cv_func__isinfl_use=no
30332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30333 ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30344 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30346 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30348 for ac_func in _isinfl
30350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30351 echo "$as_me:$LINENO: checking for $ac_func" >&5
30352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30353 if eval "test \"\${$as_ac_var+set}\" = set"; then
30354 echo $ECHO_N "(cached) $ECHO_C" >&6
30355 else
30356 if test x$gcc_no_link = xyes; then
30357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30359 { (exit 1); exit 1; }; }
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h. */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30369 #define $ac_func innocuous_$ac_func
30371 /* System header to define __stub macros and hopefully few prototypes,
30372 which can conflict with char $ac_func (); below.
30373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30374 <limits.h> exists even on freestanding compilers. */
30376 #ifdef __STDC__
30377 # include <limits.h>
30378 #else
30379 # include <assert.h>
30380 #endif
30382 #undef $ac_func
30384 /* Override any gcc2 internal prototype to avoid an error. */
30385 #ifdef __cplusplus
30386 extern "C"
30388 #endif
30389 /* We use char because int might match the return type of a gcc2
30390 builtin and then its argument prototype would still apply. */
30391 char $ac_func ();
30392 /* The GNU C library defines this for functions which it implements
30393 to always fail with ENOSYS. Some functions are actually named
30394 something starting with __ and the normal name is an alias. */
30395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30396 choke me
30397 #else
30398 char (*f) () = $ac_func;
30399 #endif
30400 #ifdef __cplusplus
30402 #endif
30405 main ()
30407 return f != $ac_func;
30409 return 0;
30411 _ACEOF
30412 rm -f conftest.$ac_objext conftest$ac_exeext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30414 (eval $ac_link) 2>conftest.er1
30415 ac_status=$?
30416 grep -v '^ *+' conftest.er1 >conftest.err
30417 rm -f conftest.er1
30418 cat conftest.err >&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); } &&
30421 { ac_try='test -z "$ac_c_werror_flag"
30422 || test ! -s conftest.err'
30423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30424 (eval $ac_try) 2>&5
30425 ac_status=$?
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; } &&
30428 { ac_try='test -s conftest$ac_exeext'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; }; then
30434 eval "$as_ac_var=yes"
30435 else
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30439 eval "$as_ac_var=no"
30441 rm -f conftest.err conftest.$ac_objext \
30442 conftest$ac_exeext conftest.$ac_ext
30444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30446 if test `eval echo '${'$as_ac_var'}'` = yes; then
30447 cat >>confdefs.h <<_ACEOF
30448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30449 _ACEOF
30452 done
30462 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30463 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30464 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30465 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30466 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 else
30471 ac_ext=cc
30472 ac_cpp='$CXXCPP $CPPFLAGS'
30473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30477 cat >conftest.$ac_ext <<_ACEOF
30478 /* confdefs.h. */
30479 _ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30483 #include <math.h>
30485 main ()
30487 copysignl(0, 0);
30489 return 0;
30491 _ACEOF
30492 rm -f conftest.$ac_objext
30493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30494 (eval $ac_compile) 2>conftest.er1
30495 ac_status=$?
30496 grep -v '^ *+' conftest.er1 >conftest.err
30497 rm -f conftest.er1
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } &&
30501 { ac_try='test -z "$ac_cxx_werror_flag"
30502 || test ! -s conftest.err'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; } &&
30508 { ac_try='test -s conftest.$ac_objext'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; }; then
30514 glibcxx_cv_func_copysignl_use=yes
30515 else
30516 echo "$as_me: failed program was:" >&5
30517 sed 's/^/| /' conftest.$ac_ext >&5
30519 glibcxx_cv_func_copysignl_use=no
30521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30522 ac_ext=c
30523 ac_cpp='$CPP $CPPFLAGS'
30524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30533 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30535 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30537 for ac_func in copysignl
30539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30540 echo "$as_me:$LINENO: checking for $ac_func" >&5
30541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30542 if eval "test \"\${$as_ac_var+set}\" = set"; then
30543 echo $ECHO_N "(cached) $ECHO_C" >&6
30544 else
30545 if test x$gcc_no_link = xyes; then
30546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30548 { (exit 1); exit 1; }; }
30550 cat >conftest.$ac_ext <<_ACEOF
30551 /* confdefs.h. */
30552 _ACEOF
30553 cat confdefs.h >>conftest.$ac_ext
30554 cat >>conftest.$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30558 #define $ac_func innocuous_$ac_func
30560 /* System header to define __stub macros and hopefully few prototypes,
30561 which can conflict with char $ac_func (); below.
30562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30563 <limits.h> exists even on freestanding compilers. */
30565 #ifdef __STDC__
30566 # include <limits.h>
30567 #else
30568 # include <assert.h>
30569 #endif
30571 #undef $ac_func
30573 /* Override any gcc2 internal prototype to avoid an error. */
30574 #ifdef __cplusplus
30575 extern "C"
30577 #endif
30578 /* We use char because int might match the return type of a gcc2
30579 builtin and then its argument prototype would still apply. */
30580 char $ac_func ();
30581 /* The GNU C library defines this for functions which it implements
30582 to always fail with ENOSYS. Some functions are actually named
30583 something starting with __ and the normal name is an alias. */
30584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30585 choke me
30586 #else
30587 char (*f) () = $ac_func;
30588 #endif
30589 #ifdef __cplusplus
30591 #endif
30594 main ()
30596 return f != $ac_func;
30598 return 0;
30600 _ACEOF
30601 rm -f conftest.$ac_objext conftest$ac_exeext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30603 (eval $ac_link) 2>conftest.er1
30604 ac_status=$?
30605 grep -v '^ *+' conftest.er1 >conftest.err
30606 rm -f conftest.er1
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } &&
30610 { ac_try='test -z "$ac_c_werror_flag"
30611 || test ! -s conftest.err'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30614 ac_status=$?
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; } &&
30617 { ac_try='test -s conftest$ac_exeext'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30620 ac_status=$?
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; }; then
30623 eval "$as_ac_var=yes"
30624 else
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30628 eval "$as_ac_var=no"
30630 rm -f conftest.err conftest.$ac_objext \
30631 conftest$ac_exeext conftest.$ac_ext
30633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30635 if test `eval echo '${'$as_ac_var'}'` = yes; then
30636 cat >>confdefs.h <<_ACEOF
30637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30638 _ACEOF
30641 done
30643 else
30645 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30646 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30647 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30648 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30649 echo $ECHO_N "(cached) $ECHO_C" >&6
30650 else
30654 ac_ext=cc
30655 ac_cpp='$CXXCPP $CPPFLAGS'
30656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30660 cat >conftest.$ac_ext <<_ACEOF
30661 /* confdefs.h. */
30662 _ACEOF
30663 cat confdefs.h >>conftest.$ac_ext
30664 cat >>conftest.$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30666 #include <math.h>
30668 main ()
30670 _copysignl(0, 0);
30672 return 0;
30674 _ACEOF
30675 rm -f conftest.$ac_objext
30676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30677 (eval $ac_compile) 2>conftest.er1
30678 ac_status=$?
30679 grep -v '^ *+' conftest.er1 >conftest.err
30680 rm -f conftest.er1
30681 cat conftest.err >&5
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); } &&
30684 { ac_try='test -z "$ac_cxx_werror_flag"
30685 || test ! -s conftest.err'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30688 ac_status=$?
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; } &&
30691 { ac_try='test -s conftest.$ac_objext'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30694 ac_status=$?
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; }; then
30697 glibcxx_cv_func__copysignl_use=yes
30698 else
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30702 glibcxx_cv_func__copysignl_use=no
30704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30705 ac_ext=c
30706 ac_cpp='$CPP $CPPFLAGS'
30707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30716 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30718 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30720 for ac_func in _copysignl
30722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 echo "$as_me:$LINENO: checking for $ac_func" >&5
30724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725 if eval "test \"\${$as_ac_var+set}\" = set"; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30727 else
30728 if test x$gcc_no_link = xyes; then
30729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30731 { (exit 1); exit 1; }; }
30733 cat >conftest.$ac_ext <<_ACEOF
30734 /* confdefs.h. */
30735 _ACEOF
30736 cat confdefs.h >>conftest.$ac_ext
30737 cat >>conftest.$ac_ext <<_ACEOF
30738 /* end confdefs.h. */
30739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30741 #define $ac_func innocuous_$ac_func
30743 /* System header to define __stub macros and hopefully few prototypes,
30744 which can conflict with char $ac_func (); below.
30745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30746 <limits.h> exists even on freestanding compilers. */
30748 #ifdef __STDC__
30749 # include <limits.h>
30750 #else
30751 # include <assert.h>
30752 #endif
30754 #undef $ac_func
30756 /* Override any gcc2 internal prototype to avoid an error. */
30757 #ifdef __cplusplus
30758 extern "C"
30760 #endif
30761 /* We use char because int might match the return type of a gcc2
30762 builtin and then its argument prototype would still apply. */
30763 char $ac_func ();
30764 /* The GNU C library defines this for functions which it implements
30765 to always fail with ENOSYS. Some functions are actually named
30766 something starting with __ and the normal name is an alias. */
30767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30768 choke me
30769 #else
30770 char (*f) () = $ac_func;
30771 #endif
30772 #ifdef __cplusplus
30774 #endif
30777 main ()
30779 return f != $ac_func;
30781 return 0;
30783 _ACEOF
30784 rm -f conftest.$ac_objext conftest$ac_exeext
30785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30786 (eval $ac_link) 2>conftest.er1
30787 ac_status=$?
30788 grep -v '^ *+' conftest.er1 >conftest.err
30789 rm -f conftest.er1
30790 cat conftest.err >&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } &&
30793 { ac_try='test -z "$ac_c_werror_flag"
30794 || test ! -s conftest.err'
30795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30796 (eval $ac_try) 2>&5
30797 ac_status=$?
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); }; } &&
30800 { ac_try='test -s conftest$ac_exeext'
30801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30802 (eval $ac_try) 2>&5
30803 ac_status=$?
30804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805 (exit $ac_status); }; }; then
30806 eval "$as_ac_var=yes"
30807 else
30808 echo "$as_me: failed program was:" >&5
30809 sed 's/^/| /' conftest.$ac_ext >&5
30811 eval "$as_ac_var=no"
30813 rm -f conftest.err conftest.$ac_objext \
30814 conftest$ac_exeext conftest.$ac_ext
30816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30818 if test `eval echo '${'$as_ac_var'}'` = yes; then
30819 cat >>confdefs.h <<_ACEOF
30820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30821 _ACEOF
30824 done
30834 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30835 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30836 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30837 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30838 echo $ECHO_N "(cached) $ECHO_C" >&6
30839 else
30843 ac_ext=cc
30844 ac_cpp='$CXXCPP $CPPFLAGS'
30845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 #include <math.h>
30857 main ()
30859 atan2l(0, 0);
30861 return 0;
30863 _ACEOF
30864 rm -f conftest.$ac_objext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30866 (eval $ac_compile) 2>conftest.er1
30867 ac_status=$?
30868 grep -v '^ *+' conftest.er1 >conftest.err
30869 rm -f conftest.er1
30870 cat conftest.err >&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); } &&
30873 { ac_try='test -z "$ac_cxx_werror_flag"
30874 || test ! -s conftest.err'
30875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30876 (eval $ac_try) 2>&5
30877 ac_status=$?
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); }; } &&
30880 { ac_try='test -s conftest.$ac_objext'
30881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30882 (eval $ac_try) 2>&5
30883 ac_status=$?
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; }; then
30886 glibcxx_cv_func_atan2l_use=yes
30887 else
30888 echo "$as_me: failed program was:" >&5
30889 sed 's/^/| /' conftest.$ac_ext >&5
30891 glibcxx_cv_func_atan2l_use=no
30893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30894 ac_ext=c
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30905 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30907 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30909 for ac_func in atan2l
30911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30912 echo "$as_me:$LINENO: checking for $ac_func" >&5
30913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30914 if eval "test \"\${$as_ac_var+set}\" = set"; then
30915 echo $ECHO_N "(cached) $ECHO_C" >&6
30916 else
30917 if test x$gcc_no_link = xyes; then
30918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30920 { (exit 1); exit 1; }; }
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30930 #define $ac_func innocuous_$ac_func
30932 /* System header to define __stub macros and hopefully few prototypes,
30933 which can conflict with char $ac_func (); below.
30934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30935 <limits.h> exists even on freestanding compilers. */
30937 #ifdef __STDC__
30938 # include <limits.h>
30939 #else
30940 # include <assert.h>
30941 #endif
30943 #undef $ac_func
30945 /* Override any gcc2 internal prototype to avoid an error. */
30946 #ifdef __cplusplus
30947 extern "C"
30949 #endif
30950 /* We use char because int might match the return type of a gcc2
30951 builtin and then its argument prototype would still apply. */
30952 char $ac_func ();
30953 /* The GNU C library defines this for functions which it implements
30954 to always fail with ENOSYS. Some functions are actually named
30955 something starting with __ and the normal name is an alias. */
30956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30957 choke me
30958 #else
30959 char (*f) () = $ac_func;
30960 #endif
30961 #ifdef __cplusplus
30963 #endif
30966 main ()
30968 return f != $ac_func;
30970 return 0;
30972 _ACEOF
30973 rm -f conftest.$ac_objext conftest$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975 (eval $ac_link) 2>conftest.er1
30976 ac_status=$?
30977 grep -v '^ *+' conftest.er1 >conftest.err
30978 rm -f conftest.er1
30979 cat conftest.err >&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try='test -z "$ac_c_werror_flag"
30983 || test ! -s conftest.err'
30984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30985 (eval $ac_try) 2>&5
30986 ac_status=$?
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); }; } &&
30989 { ac_try='test -s conftest$ac_exeext'
30990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991 (eval $ac_try) 2>&5
30992 ac_status=$?
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); }; }; then
30995 eval "$as_ac_var=yes"
30996 else
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
31000 eval "$as_ac_var=no"
31002 rm -f conftest.err conftest.$ac_objext \
31003 conftest$ac_exeext conftest.$ac_ext
31005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31007 if test `eval echo '${'$as_ac_var'}'` = yes; then
31008 cat >>confdefs.h <<_ACEOF
31009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31010 _ACEOF
31013 done
31015 else
31017 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
31018 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31019 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31020 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31021 echo $ECHO_N "(cached) $ECHO_C" >&6
31022 else
31026 ac_ext=cc
31027 ac_cpp='$CXXCPP $CPPFLAGS'
31028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31032 cat >conftest.$ac_ext <<_ACEOF
31033 /* confdefs.h. */
31034 _ACEOF
31035 cat confdefs.h >>conftest.$ac_ext
31036 cat >>conftest.$ac_ext <<_ACEOF
31037 /* end confdefs.h. */
31038 #include <math.h>
31040 main ()
31042 _atan2l(0, 0);
31044 return 0;
31046 _ACEOF
31047 rm -f conftest.$ac_objext
31048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31049 (eval $ac_compile) 2>conftest.er1
31050 ac_status=$?
31051 grep -v '^ *+' conftest.er1 >conftest.err
31052 rm -f conftest.er1
31053 cat conftest.err >&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); } &&
31056 { ac_try='test -z "$ac_cxx_werror_flag"
31057 || test ! -s conftest.err'
31058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059 (eval $ac_try) 2>&5
31060 ac_status=$?
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); }; } &&
31063 { ac_try='test -s conftest.$ac_objext'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; }; then
31069 glibcxx_cv_func__atan2l_use=yes
31070 else
31071 echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31074 glibcxx_cv_func__atan2l_use=no
31076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31077 ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31088 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31090 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31092 for ac_func in _atan2l
31094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31095 echo "$as_me:$LINENO: checking for $ac_func" >&5
31096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31097 if eval "test \"\${$as_ac_var+set}\" = set"; then
31098 echo $ECHO_N "(cached) $ECHO_C" >&6
31099 else
31100 if test x$gcc_no_link = xyes; then
31101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31103 { (exit 1); exit 1; }; }
31105 cat >conftest.$ac_ext <<_ACEOF
31106 /* confdefs.h. */
31107 _ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h. */
31111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31113 #define $ac_func innocuous_$ac_func
31115 /* System header to define __stub macros and hopefully few prototypes,
31116 which can conflict with char $ac_func (); below.
31117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31118 <limits.h> exists even on freestanding compilers. */
31120 #ifdef __STDC__
31121 # include <limits.h>
31122 #else
31123 # include <assert.h>
31124 #endif
31126 #undef $ac_func
31128 /* Override any gcc2 internal prototype to avoid an error. */
31129 #ifdef __cplusplus
31130 extern "C"
31132 #endif
31133 /* We use char because int might match the return type of a gcc2
31134 builtin and then its argument prototype would still apply. */
31135 char $ac_func ();
31136 /* The GNU C library defines this for functions which it implements
31137 to always fail with ENOSYS. Some functions are actually named
31138 something starting with __ and the normal name is an alias. */
31139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31140 choke me
31141 #else
31142 char (*f) () = $ac_func;
31143 #endif
31144 #ifdef __cplusplus
31146 #endif
31149 main ()
31151 return f != $ac_func;
31153 return 0;
31155 _ACEOF
31156 rm -f conftest.$ac_objext conftest$ac_exeext
31157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31158 (eval $ac_link) 2>conftest.er1
31159 ac_status=$?
31160 grep -v '^ *+' conftest.er1 >conftest.err
31161 rm -f conftest.er1
31162 cat conftest.err >&5
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); } &&
31165 { ac_try='test -z "$ac_c_werror_flag"
31166 || test ! -s conftest.err'
31167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168 (eval $ac_try) 2>&5
31169 ac_status=$?
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); }; } &&
31172 { ac_try='test -s conftest$ac_exeext'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31175 ac_status=$?
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; }; then
31178 eval "$as_ac_var=yes"
31179 else
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.$ac_ext >&5
31183 eval "$as_ac_var=no"
31185 rm -f conftest.err conftest.$ac_objext \
31186 conftest$ac_exeext conftest.$ac_ext
31188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31190 if test `eval echo '${'$as_ac_var'}'` = yes; then
31191 cat >>confdefs.h <<_ACEOF
31192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31193 _ACEOF
31196 done
31206 echo "$as_me:$LINENO: checking for expl declaration" >&5
31207 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31208 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31209 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31210 echo $ECHO_N "(cached) $ECHO_C" >&6
31211 else
31215 ac_ext=cc
31216 ac_cpp='$CXXCPP $CPPFLAGS'
31217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31221 cat >conftest.$ac_ext <<_ACEOF
31222 /* confdefs.h. */
31223 _ACEOF
31224 cat confdefs.h >>conftest.$ac_ext
31225 cat >>conftest.$ac_ext <<_ACEOF
31226 /* end confdefs.h. */
31227 #include <math.h>
31228 #ifdef HAVE_IEEEFP_H
31229 #include <ieeefp.h>
31230 #endif
31233 main ()
31235 expl(0);
31237 return 0;
31239 _ACEOF
31240 rm -f conftest.$ac_objext
31241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31242 (eval $ac_compile) 2>conftest.er1
31243 ac_status=$?
31244 grep -v '^ *+' conftest.er1 >conftest.err
31245 rm -f conftest.er1
31246 cat conftest.err >&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); } &&
31249 { ac_try='test -z "$ac_cxx_werror_flag"
31250 || test ! -s conftest.err'
31251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252 (eval $ac_try) 2>&5
31253 ac_status=$?
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); }; } &&
31256 { ac_try='test -s conftest.$ac_objext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31259 ac_status=$?
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 glibcxx_cv_func_expl_use=yes
31263 else
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.$ac_ext >&5
31267 glibcxx_cv_func_expl_use=no
31269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31270 ac_ext=c
31271 ac_cpp='$CPP $CPPFLAGS'
31272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31281 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31283 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31285 for ac_func in expl
31287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31288 echo "$as_me:$LINENO: checking for $ac_func" >&5
31289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31290 if eval "test \"\${$as_ac_var+set}\" = set"; then
31291 echo $ECHO_N "(cached) $ECHO_C" >&6
31292 else
31293 if test x$gcc_no_link = xyes; then
31294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31296 { (exit 1); exit 1; }; }
31298 cat >conftest.$ac_ext <<_ACEOF
31299 /* confdefs.h. */
31300 _ACEOF
31301 cat confdefs.h >>conftest.$ac_ext
31302 cat >>conftest.$ac_ext <<_ACEOF
31303 /* end confdefs.h. */
31304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31306 #define $ac_func innocuous_$ac_func
31308 /* System header to define __stub macros and hopefully few prototypes,
31309 which can conflict with char $ac_func (); below.
31310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31311 <limits.h> exists even on freestanding compilers. */
31313 #ifdef __STDC__
31314 # include <limits.h>
31315 #else
31316 # include <assert.h>
31317 #endif
31319 #undef $ac_func
31321 /* Override any gcc2 internal prototype to avoid an error. */
31322 #ifdef __cplusplus
31323 extern "C"
31325 #endif
31326 /* We use char because int might match the return type of a gcc2
31327 builtin and then its argument prototype would still apply. */
31328 char $ac_func ();
31329 /* The GNU C library defines this for functions which it implements
31330 to always fail with ENOSYS. Some functions are actually named
31331 something starting with __ and the normal name is an alias. */
31332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31333 choke me
31334 #else
31335 char (*f) () = $ac_func;
31336 #endif
31337 #ifdef __cplusplus
31339 #endif
31342 main ()
31344 return f != $ac_func;
31346 return 0;
31348 _ACEOF
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31351 (eval $ac_link) 2>conftest.er1
31352 ac_status=$?
31353 grep -v '^ *+' conftest.er1 >conftest.err
31354 rm -f conftest.er1
31355 cat conftest.err >&5
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try='test -z "$ac_c_werror_flag"
31359 || test ! -s conftest.err'
31360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361 (eval $ac_try) 2>&5
31362 ac_status=$?
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); }; } &&
31365 { ac_try='test -s conftest$ac_exeext'
31366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367 (eval $ac_try) 2>&5
31368 ac_status=$?
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; }; then
31371 eval "$as_ac_var=yes"
31372 else
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31376 eval "$as_ac_var=no"
31378 rm -f conftest.err conftest.$ac_objext \
31379 conftest$ac_exeext conftest.$ac_ext
31381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31383 if test `eval echo '${'$as_ac_var'}'` = yes; then
31384 cat >>confdefs.h <<_ACEOF
31385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31386 _ACEOF
31389 done
31391 else
31393 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31394 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31395 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31396 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31402 ac_ext=cc
31403 ac_cpp='$CXXCPP $CPPFLAGS'
31404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31408 cat >conftest.$ac_ext <<_ACEOF
31409 /* confdefs.h. */
31410 _ACEOF
31411 cat confdefs.h >>conftest.$ac_ext
31412 cat >>conftest.$ac_ext <<_ACEOF
31413 /* end confdefs.h. */
31414 #include <math.h>
31415 #ifdef HAVE_IEEEFP_H
31416 #include <ieeefp.h>
31417 #endif
31420 main ()
31422 _expl(0);
31424 return 0;
31426 _ACEOF
31427 rm -f conftest.$ac_objext
31428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31429 (eval $ac_compile) 2>conftest.er1
31430 ac_status=$?
31431 grep -v '^ *+' conftest.er1 >conftest.err
31432 rm -f conftest.er1
31433 cat conftest.err >&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); } &&
31436 { ac_try='test -z "$ac_cxx_werror_flag"
31437 || test ! -s conftest.err'
31438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31439 (eval $ac_try) 2>&5
31440 ac_status=$?
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); }; } &&
31443 { ac_try='test -s conftest.$ac_objext'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31446 ac_status=$?
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; }; then
31449 glibcxx_cv_func__expl_use=yes
31450 else
31451 echo "$as_me: failed program was:" >&5
31452 sed 's/^/| /' conftest.$ac_ext >&5
31454 glibcxx_cv_func__expl_use=no
31456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31457 ac_ext=c
31458 ac_cpp='$CPP $CPPFLAGS'
31459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31468 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31470 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31472 for ac_func in _expl
31474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31475 echo "$as_me:$LINENO: checking for $ac_func" >&5
31476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31477 if eval "test \"\${$as_ac_var+set}\" = set"; then
31478 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 else
31480 if test x$gcc_no_link = xyes; then
31481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31483 { (exit 1); exit 1; }; }
31485 cat >conftest.$ac_ext <<_ACEOF
31486 /* confdefs.h. */
31487 _ACEOF
31488 cat confdefs.h >>conftest.$ac_ext
31489 cat >>conftest.$ac_ext <<_ACEOF
31490 /* end confdefs.h. */
31491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31493 #define $ac_func innocuous_$ac_func
31495 /* System header to define __stub macros and hopefully few prototypes,
31496 which can conflict with char $ac_func (); below.
31497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31498 <limits.h> exists even on freestanding compilers. */
31500 #ifdef __STDC__
31501 # include <limits.h>
31502 #else
31503 # include <assert.h>
31504 #endif
31506 #undef $ac_func
31508 /* Override any gcc2 internal prototype to avoid an error. */
31509 #ifdef __cplusplus
31510 extern "C"
31512 #endif
31513 /* We use char because int might match the return type of a gcc2
31514 builtin and then its argument prototype would still apply. */
31515 char $ac_func ();
31516 /* The GNU C library defines this for functions which it implements
31517 to always fail with ENOSYS. Some functions are actually named
31518 something starting with __ and the normal name is an alias. */
31519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31520 choke me
31521 #else
31522 char (*f) () = $ac_func;
31523 #endif
31524 #ifdef __cplusplus
31526 #endif
31529 main ()
31531 return f != $ac_func;
31533 return 0;
31535 _ACEOF
31536 rm -f conftest.$ac_objext conftest$ac_exeext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31538 (eval $ac_link) 2>conftest.er1
31539 ac_status=$?
31540 grep -v '^ *+' conftest.er1 >conftest.err
31541 rm -f conftest.er1
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } &&
31545 { ac_try='test -z "$ac_c_werror_flag"
31546 || test ! -s conftest.err'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31549 ac_status=$?
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; } &&
31552 { ac_try='test -s conftest$ac_exeext'
31553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31554 (eval $ac_try) 2>&5
31555 ac_status=$?
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); }; }; then
31558 eval "$as_ac_var=yes"
31559 else
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31563 eval "$as_ac_var=no"
31565 rm -f conftest.err conftest.$ac_objext \
31566 conftest$ac_exeext conftest.$ac_ext
31568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31570 if test `eval echo '${'$as_ac_var'}'` = yes; then
31571 cat >>confdefs.h <<_ACEOF
31572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31573 _ACEOF
31576 done
31586 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31587 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31588 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31589 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31590 echo $ECHO_N "(cached) $ECHO_C" >&6
31591 else
31595 ac_ext=cc
31596 ac_cpp='$CXXCPP $CPPFLAGS'
31597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31601 cat >conftest.$ac_ext <<_ACEOF
31602 /* confdefs.h. */
31603 _ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31607 #include <math.h>
31608 #ifdef HAVE_IEEEFP_H
31609 #include <ieeefp.h>
31610 #endif
31613 main ()
31615 fabsl(0);
31617 return 0;
31619 _ACEOF
31620 rm -f conftest.$ac_objext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31622 (eval $ac_compile) 2>conftest.er1
31623 ac_status=$?
31624 grep -v '^ *+' conftest.er1 >conftest.err
31625 rm -f conftest.er1
31626 cat conftest.err >&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); } &&
31629 { ac_try='test -z "$ac_cxx_werror_flag"
31630 || test ! -s conftest.err'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31633 ac_status=$?
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; } &&
31636 { ac_try='test -s conftest.$ac_objext'
31637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638 (eval $ac_try) 2>&5
31639 ac_status=$?
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); }; }; then
31642 glibcxx_cv_func_fabsl_use=yes
31643 else
31644 echo "$as_me: failed program was:" >&5
31645 sed 's/^/| /' conftest.$ac_ext >&5
31647 glibcxx_cv_func_fabsl_use=no
31649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31650 ac_ext=c
31651 ac_cpp='$CPP $CPPFLAGS'
31652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31660 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31661 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31663 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31665 for ac_func in fabsl
31667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31668 echo "$as_me:$LINENO: checking for $ac_func" >&5
31669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31670 if eval "test \"\${$as_ac_var+set}\" = set"; then
31671 echo $ECHO_N "(cached) $ECHO_C" >&6
31672 else
31673 if test x$gcc_no_link = xyes; then
31674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31676 { (exit 1); exit 1; }; }
31678 cat >conftest.$ac_ext <<_ACEOF
31679 /* confdefs.h. */
31680 _ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31686 #define $ac_func innocuous_$ac_func
31688 /* System header to define __stub macros and hopefully few prototypes,
31689 which can conflict with char $ac_func (); below.
31690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31691 <limits.h> exists even on freestanding compilers. */
31693 #ifdef __STDC__
31694 # include <limits.h>
31695 #else
31696 # include <assert.h>
31697 #endif
31699 #undef $ac_func
31701 /* Override any gcc2 internal prototype to avoid an error. */
31702 #ifdef __cplusplus
31703 extern "C"
31705 #endif
31706 /* We use char because int might match the return type of a gcc2
31707 builtin and then its argument prototype would still apply. */
31708 char $ac_func ();
31709 /* The GNU C library defines this for functions which it implements
31710 to always fail with ENOSYS. Some functions are actually named
31711 something starting with __ and the normal name is an alias. */
31712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31713 choke me
31714 #else
31715 char (*f) () = $ac_func;
31716 #endif
31717 #ifdef __cplusplus
31719 #endif
31722 main ()
31724 return f != $ac_func;
31726 return 0;
31728 _ACEOF
31729 rm -f conftest.$ac_objext conftest$ac_exeext
31730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31731 (eval $ac_link) 2>conftest.er1
31732 ac_status=$?
31733 grep -v '^ *+' conftest.er1 >conftest.err
31734 rm -f conftest.er1
31735 cat conftest.err >&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); } &&
31738 { ac_try='test -z "$ac_c_werror_flag"
31739 || test ! -s conftest.err'
31740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31741 (eval $ac_try) 2>&5
31742 ac_status=$?
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); }; } &&
31745 { ac_try='test -s conftest$ac_exeext'
31746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31747 (eval $ac_try) 2>&5
31748 ac_status=$?
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; }; then
31751 eval "$as_ac_var=yes"
31752 else
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31756 eval "$as_ac_var=no"
31758 rm -f conftest.err conftest.$ac_objext \
31759 conftest$ac_exeext conftest.$ac_ext
31761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31763 if test `eval echo '${'$as_ac_var'}'` = yes; then
31764 cat >>confdefs.h <<_ACEOF
31765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31766 _ACEOF
31769 done
31771 else
31773 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31774 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31775 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31776 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31777 echo $ECHO_N "(cached) $ECHO_C" >&6
31778 else
31782 ac_ext=cc
31783 ac_cpp='$CXXCPP $CPPFLAGS'
31784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31788 cat >conftest.$ac_ext <<_ACEOF
31789 /* confdefs.h. */
31790 _ACEOF
31791 cat confdefs.h >>conftest.$ac_ext
31792 cat >>conftest.$ac_ext <<_ACEOF
31793 /* end confdefs.h. */
31794 #include <math.h>
31795 #ifdef HAVE_IEEEFP_H
31796 #include <ieeefp.h>
31797 #endif
31800 main ()
31802 _fabsl(0);
31804 return 0;
31806 _ACEOF
31807 rm -f conftest.$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809 (eval $ac_compile) 2>conftest.er1
31810 ac_status=$?
31811 grep -v '^ *+' conftest.er1 >conftest.err
31812 rm -f conftest.er1
31813 cat conftest.err >&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try='test -z "$ac_cxx_werror_flag"
31817 || test ! -s conftest.err'
31818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819 (eval $ac_try) 2>&5
31820 ac_status=$?
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; } &&
31823 { ac_try='test -s conftest.$ac_objext'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31826 ac_status=$?
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; }; then
31829 glibcxx_cv_func__fabsl_use=yes
31830 else
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31834 glibcxx_cv_func__fabsl_use=no
31836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31837 ac_ext=c
31838 ac_cpp='$CPP $CPPFLAGS'
31839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31848 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31850 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31852 for ac_func in _fabsl
31854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31855 echo "$as_me:$LINENO: checking for $ac_func" >&5
31856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31857 if eval "test \"\${$as_ac_var+set}\" = set"; then
31858 echo $ECHO_N "(cached) $ECHO_C" >&6
31859 else
31860 if test x$gcc_no_link = xyes; then
31861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31863 { (exit 1); exit 1; }; }
31865 cat >conftest.$ac_ext <<_ACEOF
31866 /* confdefs.h. */
31867 _ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31873 #define $ac_func innocuous_$ac_func
31875 /* System header to define __stub macros and hopefully few prototypes,
31876 which can conflict with char $ac_func (); below.
31877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31878 <limits.h> exists even on freestanding compilers. */
31880 #ifdef __STDC__
31881 # include <limits.h>
31882 #else
31883 # include <assert.h>
31884 #endif
31886 #undef $ac_func
31888 /* Override any gcc2 internal prototype to avoid an error. */
31889 #ifdef __cplusplus
31890 extern "C"
31892 #endif
31893 /* We use char because int might match the return type of a gcc2
31894 builtin and then its argument prototype would still apply. */
31895 char $ac_func ();
31896 /* The GNU C library defines this for functions which it implements
31897 to always fail with ENOSYS. Some functions are actually named
31898 something starting with __ and the normal name is an alias. */
31899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31900 choke me
31901 #else
31902 char (*f) () = $ac_func;
31903 #endif
31904 #ifdef __cplusplus
31906 #endif
31909 main ()
31911 return f != $ac_func;
31913 return 0;
31915 _ACEOF
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31918 (eval $ac_link) 2>conftest.er1
31919 ac_status=$?
31920 grep -v '^ *+' conftest.er1 >conftest.err
31921 rm -f conftest.er1
31922 cat conftest.err >&5
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); } &&
31925 { ac_try='test -z "$ac_c_werror_flag"
31926 || test ! -s conftest.err'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31929 ac_status=$?
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; } &&
31932 { ac_try='test -s conftest$ac_exeext'
31933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934 (eval $ac_try) 2>&5
31935 ac_status=$?
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); }; }; then
31938 eval "$as_ac_var=yes"
31939 else
31940 echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.$ac_ext >&5
31943 eval "$as_ac_var=no"
31945 rm -f conftest.err conftest.$ac_objext \
31946 conftest$ac_exeext conftest.$ac_ext
31948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31950 if test `eval echo '${'$as_ac_var'}'` = yes; then
31951 cat >>confdefs.h <<_ACEOF
31952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31953 _ACEOF
31956 done
31966 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31967 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31968 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31969 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 else
31975 ac_ext=cc
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981 cat >conftest.$ac_ext <<_ACEOF
31982 /* confdefs.h. */
31983 _ACEOF
31984 cat confdefs.h >>conftest.$ac_ext
31985 cat >>conftest.$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987 #include <math.h>
31989 main ()
31991 fmodl(0, 0);
31993 return 0;
31995 _ACEOF
31996 rm -f conftest.$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 (eval $ac_compile) 2>conftest.er1
31999 ac_status=$?
32000 grep -v '^ *+' conftest.er1 >conftest.err
32001 rm -f conftest.er1
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } &&
32005 { ac_try='test -z "$ac_cxx_werror_flag"
32006 || test ! -s conftest.err'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32009 ac_status=$?
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; } &&
32012 { ac_try='test -s conftest.$ac_objext'
32013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32014 (eval $ac_try) 2>&5
32015 ac_status=$?
32016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 (exit $ac_status); }; }; then
32018 glibcxx_cv_func_fmodl_use=yes
32019 else
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.$ac_ext >&5
32023 glibcxx_cv_func_fmodl_use=no
32025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32026 ac_ext=c
32027 ac_cpp='$CPP $CPPFLAGS'
32028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32037 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32039 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32041 for ac_func in fmodl
32043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32044 echo "$as_me:$LINENO: checking for $ac_func" >&5
32045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32046 if eval "test \"\${$as_ac_var+set}\" = set"; then
32047 echo $ECHO_N "(cached) $ECHO_C" >&6
32048 else
32049 if test x$gcc_no_link = xyes; then
32050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32052 { (exit 1); exit 1; }; }
32054 cat >conftest.$ac_ext <<_ACEOF
32055 /* confdefs.h. */
32056 _ACEOF
32057 cat confdefs.h >>conftest.$ac_ext
32058 cat >>conftest.$ac_ext <<_ACEOF
32059 /* end confdefs.h. */
32060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32062 #define $ac_func innocuous_$ac_func
32064 /* System header to define __stub macros and hopefully few prototypes,
32065 which can conflict with char $ac_func (); below.
32066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32067 <limits.h> exists even on freestanding compilers. */
32069 #ifdef __STDC__
32070 # include <limits.h>
32071 #else
32072 # include <assert.h>
32073 #endif
32075 #undef $ac_func
32077 /* Override any gcc2 internal prototype to avoid an error. */
32078 #ifdef __cplusplus
32079 extern "C"
32081 #endif
32082 /* We use char because int might match the return type of a gcc2
32083 builtin and then its argument prototype would still apply. */
32084 char $ac_func ();
32085 /* The GNU C library defines this for functions which it implements
32086 to always fail with ENOSYS. Some functions are actually named
32087 something starting with __ and the normal name is an alias. */
32088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32089 choke me
32090 #else
32091 char (*f) () = $ac_func;
32092 #endif
32093 #ifdef __cplusplus
32095 #endif
32098 main ()
32100 return f != $ac_func;
32102 return 0;
32104 _ACEOF
32105 rm -f conftest.$ac_objext conftest$ac_exeext
32106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32107 (eval $ac_link) 2>conftest.er1
32108 ac_status=$?
32109 grep -v '^ *+' conftest.er1 >conftest.err
32110 rm -f conftest.er1
32111 cat conftest.err >&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); } &&
32114 { ac_try='test -z "$ac_c_werror_flag"
32115 || test ! -s conftest.err'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32118 ac_status=$?
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; } &&
32121 { ac_try='test -s conftest$ac_exeext'
32122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123 (eval $ac_try) 2>&5
32124 ac_status=$?
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); }; }; then
32127 eval "$as_ac_var=yes"
32128 else
32129 echo "$as_me: failed program was:" >&5
32130 sed 's/^/| /' conftest.$ac_ext >&5
32132 eval "$as_ac_var=no"
32134 rm -f conftest.err conftest.$ac_objext \
32135 conftest$ac_exeext conftest.$ac_ext
32137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32139 if test `eval echo '${'$as_ac_var'}'` = yes; then
32140 cat >>confdefs.h <<_ACEOF
32141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32142 _ACEOF
32145 done
32147 else
32149 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32150 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32151 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32152 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32158 ac_ext=cc
32159 ac_cpp='$CXXCPP $CPPFLAGS'
32160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32164 cat >conftest.$ac_ext <<_ACEOF
32165 /* confdefs.h. */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32170 #include <math.h>
32172 main ()
32174 _fmodl(0, 0);
32176 return 0;
32178 _ACEOF
32179 rm -f conftest.$ac_objext
32180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32181 (eval $ac_compile) 2>conftest.er1
32182 ac_status=$?
32183 grep -v '^ *+' conftest.er1 >conftest.err
32184 rm -f conftest.er1
32185 cat conftest.err >&5
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); } &&
32188 { ac_try='test -z "$ac_cxx_werror_flag"
32189 || test ! -s conftest.err'
32190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32191 (eval $ac_try) 2>&5
32192 ac_status=$?
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); }; } &&
32195 { ac_try='test -s conftest.$ac_objext'
32196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197 (eval $ac_try) 2>&5
32198 ac_status=$?
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; }; then
32201 glibcxx_cv_func__fmodl_use=yes
32202 else
32203 echo "$as_me: failed program was:" >&5
32204 sed 's/^/| /' conftest.$ac_ext >&5
32206 glibcxx_cv_func__fmodl_use=no
32208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32209 ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32220 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32222 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32224 for ac_func in _fmodl
32226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32227 echo "$as_me:$LINENO: checking for $ac_func" >&5
32228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32229 if eval "test \"\${$as_ac_var+set}\" = set"; then
32230 echo $ECHO_N "(cached) $ECHO_C" >&6
32231 else
32232 if test x$gcc_no_link = xyes; then
32233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32235 { (exit 1); exit 1; }; }
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32245 #define $ac_func innocuous_$ac_func
32247 /* System header to define __stub macros and hopefully few prototypes,
32248 which can conflict with char $ac_func (); below.
32249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32250 <limits.h> exists even on freestanding compilers. */
32252 #ifdef __STDC__
32253 # include <limits.h>
32254 #else
32255 # include <assert.h>
32256 #endif
32258 #undef $ac_func
32260 /* Override any gcc2 internal prototype to avoid an error. */
32261 #ifdef __cplusplus
32262 extern "C"
32264 #endif
32265 /* We use char because int might match the return type of a gcc2
32266 builtin and then its argument prototype would still apply. */
32267 char $ac_func ();
32268 /* The GNU C library defines this for functions which it implements
32269 to always fail with ENOSYS. Some functions are actually named
32270 something starting with __ and the normal name is an alias. */
32271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32272 choke me
32273 #else
32274 char (*f) () = $ac_func;
32275 #endif
32276 #ifdef __cplusplus
32278 #endif
32281 main ()
32283 return f != $ac_func;
32285 return 0;
32287 _ACEOF
32288 rm -f conftest.$ac_objext conftest$ac_exeext
32289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32290 (eval $ac_link) 2>conftest.er1
32291 ac_status=$?
32292 grep -v '^ *+' conftest.er1 >conftest.err
32293 rm -f conftest.er1
32294 cat conftest.err >&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } &&
32297 { ac_try='test -z "$ac_c_werror_flag"
32298 || test ! -s conftest.err'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32301 ac_status=$?
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; } &&
32304 { ac_try='test -s conftest$ac_exeext'
32305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32306 (eval $ac_try) 2>&5
32307 ac_status=$?
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); }; }; then
32310 eval "$as_ac_var=yes"
32311 else
32312 echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.$ac_ext >&5
32315 eval "$as_ac_var=no"
32317 rm -f conftest.err conftest.$ac_objext \
32318 conftest$ac_exeext conftest.$ac_ext
32320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32322 if test `eval echo '${'$as_ac_var'}'` = yes; then
32323 cat >>confdefs.h <<_ACEOF
32324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32325 _ACEOF
32328 done
32338 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32339 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32340 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32341 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32342 echo $ECHO_N "(cached) $ECHO_C" >&6
32343 else
32347 ac_ext=cc
32348 ac_cpp='$CXXCPP $CPPFLAGS'
32349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32353 cat >conftest.$ac_ext <<_ACEOF
32354 /* confdefs.h. */
32355 _ACEOF
32356 cat confdefs.h >>conftest.$ac_ext
32357 cat >>conftest.$ac_ext <<_ACEOF
32358 /* end confdefs.h. */
32359 #include <math.h>
32361 main ()
32363 frexpl(0, 0);
32365 return 0;
32367 _ACEOF
32368 rm -f conftest.$ac_objext
32369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32370 (eval $ac_compile) 2>conftest.er1
32371 ac_status=$?
32372 grep -v '^ *+' conftest.er1 >conftest.err
32373 rm -f conftest.er1
32374 cat conftest.err >&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } &&
32377 { ac_try='test -z "$ac_cxx_werror_flag"
32378 || test ! -s conftest.err'
32379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380 (eval $ac_try) 2>&5
32381 ac_status=$?
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); }; } &&
32384 { ac_try='test -s conftest.$ac_objext'
32385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32386 (eval $ac_try) 2>&5
32387 ac_status=$?
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); }; }; then
32390 glibcxx_cv_func_frexpl_use=yes
32391 else
32392 echo "$as_me: failed program was:" >&5
32393 sed 's/^/| /' conftest.$ac_ext >&5
32395 glibcxx_cv_func_frexpl_use=no
32397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32398 ac_ext=c
32399 ac_cpp='$CPP $CPPFLAGS'
32400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32409 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32411 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32413 for ac_func in frexpl
32415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32416 echo "$as_me:$LINENO: checking for $ac_func" >&5
32417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32418 if eval "test \"\${$as_ac_var+set}\" = set"; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 else
32421 if test x$gcc_no_link = xyes; then
32422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32424 { (exit 1); exit 1; }; }
32426 cat >conftest.$ac_ext <<_ACEOF
32427 /* confdefs.h. */
32428 _ACEOF
32429 cat confdefs.h >>conftest.$ac_ext
32430 cat >>conftest.$ac_ext <<_ACEOF
32431 /* end confdefs.h. */
32432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32434 #define $ac_func innocuous_$ac_func
32436 /* System header to define __stub macros and hopefully few prototypes,
32437 which can conflict with char $ac_func (); below.
32438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32439 <limits.h> exists even on freestanding compilers. */
32441 #ifdef __STDC__
32442 # include <limits.h>
32443 #else
32444 # include <assert.h>
32445 #endif
32447 #undef $ac_func
32449 /* Override any gcc2 internal prototype to avoid an error. */
32450 #ifdef __cplusplus
32451 extern "C"
32453 #endif
32454 /* We use char because int might match the return type of a gcc2
32455 builtin and then its argument prototype would still apply. */
32456 char $ac_func ();
32457 /* The GNU C library defines this for functions which it implements
32458 to always fail with ENOSYS. Some functions are actually named
32459 something starting with __ and the normal name is an alias. */
32460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32461 choke me
32462 #else
32463 char (*f) () = $ac_func;
32464 #endif
32465 #ifdef __cplusplus
32467 #endif
32470 main ()
32472 return f != $ac_func;
32474 return 0;
32476 _ACEOF
32477 rm -f conftest.$ac_objext conftest$ac_exeext
32478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32479 (eval $ac_link) 2>conftest.er1
32480 ac_status=$?
32481 grep -v '^ *+' conftest.er1 >conftest.err
32482 rm -f conftest.er1
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try='test -z "$ac_c_werror_flag"
32487 || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32490 ac_status=$?
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try='test -s conftest$ac_exeext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32496 ac_status=$?
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 eval "$as_ac_var=yes"
32500 else
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32504 eval "$as_ac_var=no"
32506 rm -f conftest.err conftest.$ac_objext \
32507 conftest$ac_exeext conftest.$ac_ext
32509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32511 if test `eval echo '${'$as_ac_var'}'` = yes; then
32512 cat >>confdefs.h <<_ACEOF
32513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32514 _ACEOF
32517 done
32519 else
32521 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32522 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32523 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32524 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 else
32530 ac_ext=cc
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32536 cat >conftest.$ac_ext <<_ACEOF
32537 /* confdefs.h. */
32538 _ACEOF
32539 cat confdefs.h >>conftest.$ac_ext
32540 cat >>conftest.$ac_ext <<_ACEOF
32541 /* end confdefs.h. */
32542 #include <math.h>
32544 main ()
32546 _frexpl(0, 0);
32548 return 0;
32550 _ACEOF
32551 rm -f conftest.$ac_objext
32552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32553 (eval $ac_compile) 2>conftest.er1
32554 ac_status=$?
32555 grep -v '^ *+' conftest.er1 >conftest.err
32556 rm -f conftest.er1
32557 cat conftest.err >&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); } &&
32560 { ac_try='test -z "$ac_cxx_werror_flag"
32561 || test ! -s conftest.err'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; } &&
32567 { ac_try='test -s conftest.$ac_objext'
32568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569 (eval $ac_try) 2>&5
32570 ac_status=$?
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); }; }; then
32573 glibcxx_cv_func__frexpl_use=yes
32574 else
32575 echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.$ac_ext >&5
32578 glibcxx_cv_func__frexpl_use=no
32580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32581 ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32592 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32594 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32596 for ac_func in _frexpl
32598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32599 echo "$as_me:$LINENO: checking for $ac_func" >&5
32600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32601 if eval "test \"\${$as_ac_var+set}\" = set"; then
32602 echo $ECHO_N "(cached) $ECHO_C" >&6
32603 else
32604 if test x$gcc_no_link = xyes; then
32605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32607 { (exit 1); exit 1; }; }
32609 cat >conftest.$ac_ext <<_ACEOF
32610 /* confdefs.h. */
32611 _ACEOF
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32617 #define $ac_func innocuous_$ac_func
32619 /* System header to define __stub macros and hopefully few prototypes,
32620 which can conflict with char $ac_func (); below.
32621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32622 <limits.h> exists even on freestanding compilers. */
32624 #ifdef __STDC__
32625 # include <limits.h>
32626 #else
32627 # include <assert.h>
32628 #endif
32630 #undef $ac_func
32632 /* Override any gcc2 internal prototype to avoid an error. */
32633 #ifdef __cplusplus
32634 extern "C"
32636 #endif
32637 /* We use char because int might match the return type of a gcc2
32638 builtin and then its argument prototype would still apply. */
32639 char $ac_func ();
32640 /* The GNU C library defines this for functions which it implements
32641 to always fail with ENOSYS. Some functions are actually named
32642 something starting with __ and the normal name is an alias. */
32643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32644 choke me
32645 #else
32646 char (*f) () = $ac_func;
32647 #endif
32648 #ifdef __cplusplus
32650 #endif
32653 main ()
32655 return f != $ac_func;
32657 return 0;
32659 _ACEOF
32660 rm -f conftest.$ac_objext conftest$ac_exeext
32661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32662 (eval $ac_link) 2>conftest.er1
32663 ac_status=$?
32664 grep -v '^ *+' conftest.er1 >conftest.err
32665 rm -f conftest.er1
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } &&
32669 { ac_try='test -z "$ac_c_werror_flag"
32670 || test ! -s conftest.err'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32673 ac_status=$?
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; } &&
32676 { ac_try='test -s conftest$ac_exeext'
32677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32678 (eval $ac_try) 2>&5
32679 ac_status=$?
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); }; }; then
32682 eval "$as_ac_var=yes"
32683 else
32684 echo "$as_me: failed program was:" >&5
32685 sed 's/^/| /' conftest.$ac_ext >&5
32687 eval "$as_ac_var=no"
32689 rm -f conftest.err conftest.$ac_objext \
32690 conftest$ac_exeext conftest.$ac_ext
32692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32694 if test `eval echo '${'$as_ac_var'}'` = yes; then
32695 cat >>confdefs.h <<_ACEOF
32696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32697 _ACEOF
32700 done
32710 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32711 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32712 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32713 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32714 echo $ECHO_N "(cached) $ECHO_C" >&6
32715 else
32719 ac_ext=cc
32720 ac_cpp='$CXXCPP $CPPFLAGS'
32721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32725 cat >conftest.$ac_ext <<_ACEOF
32726 /* confdefs.h. */
32727 _ACEOF
32728 cat confdefs.h >>conftest.$ac_ext
32729 cat >>conftest.$ac_ext <<_ACEOF
32730 /* end confdefs.h. */
32731 #include <math.h>
32733 main ()
32735 hypotl(0, 0);
32737 return 0;
32739 _ACEOF
32740 rm -f conftest.$ac_objext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32742 (eval $ac_compile) 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } &&
32749 { ac_try='test -z "$ac_cxx_werror_flag"
32750 || test ! -s conftest.err'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; } &&
32756 { ac_try='test -s conftest.$ac_objext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32759 ac_status=$?
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32762 glibcxx_cv_func_hypotl_use=yes
32763 else
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32767 glibcxx_cv_func_hypotl_use=no
32769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32770 ac_ext=c
32771 ac_cpp='$CPP $CPPFLAGS'
32772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32781 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32783 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32785 for ac_func in hypotl
32787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32788 echo "$as_me:$LINENO: checking for $ac_func" >&5
32789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32790 if eval "test \"\${$as_ac_var+set}\" = set"; then
32791 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 else
32793 if test x$gcc_no_link = xyes; then
32794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32796 { (exit 1); exit 1; }; }
32798 cat >conftest.$ac_ext <<_ACEOF
32799 /* confdefs.h. */
32800 _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32806 #define $ac_func innocuous_$ac_func
32808 /* System header to define __stub macros and hopefully few prototypes,
32809 which can conflict with char $ac_func (); below.
32810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32811 <limits.h> exists even on freestanding compilers. */
32813 #ifdef __STDC__
32814 # include <limits.h>
32815 #else
32816 # include <assert.h>
32817 #endif
32819 #undef $ac_func
32821 /* Override any gcc2 internal prototype to avoid an error. */
32822 #ifdef __cplusplus
32823 extern "C"
32825 #endif
32826 /* We use char because int might match the return type of a gcc2
32827 builtin and then its argument prototype would still apply. */
32828 char $ac_func ();
32829 /* The GNU C library defines this for functions which it implements
32830 to always fail with ENOSYS. Some functions are actually named
32831 something starting with __ and the normal name is an alias. */
32832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32833 choke me
32834 #else
32835 char (*f) () = $ac_func;
32836 #endif
32837 #ifdef __cplusplus
32839 #endif
32842 main ()
32844 return f != $ac_func;
32846 return 0;
32848 _ACEOF
32849 rm -f conftest.$ac_objext conftest$ac_exeext
32850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32851 (eval $ac_link) 2>conftest.er1
32852 ac_status=$?
32853 grep -v '^ *+' conftest.er1 >conftest.err
32854 rm -f conftest.er1
32855 cat conftest.err >&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } &&
32858 { ac_try='test -z "$ac_c_werror_flag"
32859 || test ! -s conftest.err'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32862 ac_status=$?
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; } &&
32865 { ac_try='test -s conftest$ac_exeext'
32866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867 (eval $ac_try) 2>&5
32868 ac_status=$?
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); }; }; then
32871 eval "$as_ac_var=yes"
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32876 eval "$as_ac_var=no"
32878 rm -f conftest.err conftest.$ac_objext \
32879 conftest$ac_exeext conftest.$ac_ext
32881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32883 if test `eval echo '${'$as_ac_var'}'` = yes; then
32884 cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32886 _ACEOF
32889 done
32891 else
32893 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32894 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32895 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32896 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32897 echo $ECHO_N "(cached) $ECHO_C" >&6
32898 else
32902 ac_ext=cc
32903 ac_cpp='$CXXCPP $CPPFLAGS'
32904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32908 cat >conftest.$ac_ext <<_ACEOF
32909 /* confdefs.h. */
32910 _ACEOF
32911 cat confdefs.h >>conftest.$ac_ext
32912 cat >>conftest.$ac_ext <<_ACEOF
32913 /* end confdefs.h. */
32914 #include <math.h>
32916 main ()
32918 _hypotl(0, 0);
32920 return 0;
32922 _ACEOF
32923 rm -f conftest.$ac_objext
32924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32925 (eval $ac_compile) 2>conftest.er1
32926 ac_status=$?
32927 grep -v '^ *+' conftest.er1 >conftest.err
32928 rm -f conftest.er1
32929 cat conftest.err >&5
32930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931 (exit $ac_status); } &&
32932 { ac_try='test -z "$ac_cxx_werror_flag"
32933 || test ! -s conftest.err'
32934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935 (eval $ac_try) 2>&5
32936 ac_status=$?
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; } &&
32939 { ac_try='test -s conftest.$ac_objext'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32942 ac_status=$?
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; }; then
32945 glibcxx_cv_func__hypotl_use=yes
32946 else
32947 echo "$as_me: failed program was:" >&5
32948 sed 's/^/| /' conftest.$ac_ext >&5
32950 glibcxx_cv_func__hypotl_use=no
32952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32953 ac_ext=c
32954 ac_cpp='$CPP $CPPFLAGS'
32955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32964 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32966 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32968 for ac_func in _hypotl
32970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32971 echo "$as_me:$LINENO: checking for $ac_func" >&5
32972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32973 if eval "test \"\${$as_ac_var+set}\" = set"; then
32974 echo $ECHO_N "(cached) $ECHO_C" >&6
32975 else
32976 if test x$gcc_no_link = xyes; then
32977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32979 { (exit 1); exit 1; }; }
32981 cat >conftest.$ac_ext <<_ACEOF
32982 /* confdefs.h. */
32983 _ACEOF
32984 cat confdefs.h >>conftest.$ac_ext
32985 cat >>conftest.$ac_ext <<_ACEOF
32986 /* end confdefs.h. */
32987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32989 #define $ac_func innocuous_$ac_func
32991 /* System header to define __stub macros and hopefully few prototypes,
32992 which can conflict with char $ac_func (); below.
32993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32994 <limits.h> exists even on freestanding compilers. */
32996 #ifdef __STDC__
32997 # include <limits.h>
32998 #else
32999 # include <assert.h>
33000 #endif
33002 #undef $ac_func
33004 /* Override any gcc2 internal prototype to avoid an error. */
33005 #ifdef __cplusplus
33006 extern "C"
33008 #endif
33009 /* We use char because int might match the return type of a gcc2
33010 builtin and then its argument prototype would still apply. */
33011 char $ac_func ();
33012 /* The GNU C library defines this for functions which it implements
33013 to always fail with ENOSYS. Some functions are actually named
33014 something starting with __ and the normal name is an alias. */
33015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33016 choke me
33017 #else
33018 char (*f) () = $ac_func;
33019 #endif
33020 #ifdef __cplusplus
33022 #endif
33025 main ()
33027 return f != $ac_func;
33029 return 0;
33031 _ACEOF
33032 rm -f conftest.$ac_objext conftest$ac_exeext
33033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33034 (eval $ac_link) 2>conftest.er1
33035 ac_status=$?
33036 grep -v '^ *+' conftest.er1 >conftest.err
33037 rm -f conftest.er1
33038 cat conftest.err >&5
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); } &&
33041 { ac_try='test -z "$ac_c_werror_flag"
33042 || test ! -s conftest.err'
33043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33044 (eval $ac_try) 2>&5
33045 ac_status=$?
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; } &&
33048 { ac_try='test -s conftest$ac_exeext'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; }; then
33054 eval "$as_ac_var=yes"
33055 else
33056 echo "$as_me: failed program was:" >&5
33057 sed 's/^/| /' conftest.$ac_ext >&5
33059 eval "$as_ac_var=no"
33061 rm -f conftest.err conftest.$ac_objext \
33062 conftest$ac_exeext conftest.$ac_ext
33064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33066 if test `eval echo '${'$as_ac_var'}'` = yes; then
33067 cat >>confdefs.h <<_ACEOF
33068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33069 _ACEOF
33072 done
33082 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33083 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33084 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33085 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33086 echo $ECHO_N "(cached) $ECHO_C" >&6
33087 else
33091 ac_ext=cc
33092 ac_cpp='$CXXCPP $CPPFLAGS'
33093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33097 cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h. */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 #include <math.h>
33105 main ()
33107 ldexpl(0, 0);
33109 return 0;
33111 _ACEOF
33112 rm -f conftest.$ac_objext
33113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33114 (eval $ac_compile) 2>conftest.er1
33115 ac_status=$?
33116 grep -v '^ *+' conftest.er1 >conftest.err
33117 rm -f conftest.er1
33118 cat conftest.err >&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); } &&
33121 { ac_try='test -z "$ac_cxx_werror_flag"
33122 || test ! -s conftest.err'
33123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33124 (eval $ac_try) 2>&5
33125 ac_status=$?
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); }; } &&
33128 { ac_try='test -s conftest.$ac_objext'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33131 ac_status=$?
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; }; then
33134 glibcxx_cv_func_ldexpl_use=yes
33135 else
33136 echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.$ac_ext >&5
33139 glibcxx_cv_func_ldexpl_use=no
33141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33142 ac_ext=c
33143 ac_cpp='$CPP $CPPFLAGS'
33144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33153 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33155 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33157 for ac_func in ldexpl
33159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33160 echo "$as_me:$LINENO: checking for $ac_func" >&5
33161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33162 if eval "test \"\${$as_ac_var+set}\" = set"; then
33163 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 else
33165 if test x$gcc_no_link = xyes; then
33166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33168 { (exit 1); exit 1; }; }
33170 cat >conftest.$ac_ext <<_ACEOF
33171 /* confdefs.h. */
33172 _ACEOF
33173 cat confdefs.h >>conftest.$ac_ext
33174 cat >>conftest.$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33178 #define $ac_func innocuous_$ac_func
33180 /* System header to define __stub macros and hopefully few prototypes,
33181 which can conflict with char $ac_func (); below.
33182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33183 <limits.h> exists even on freestanding compilers. */
33185 #ifdef __STDC__
33186 # include <limits.h>
33187 #else
33188 # include <assert.h>
33189 #endif
33191 #undef $ac_func
33193 /* Override any gcc2 internal prototype to avoid an error. */
33194 #ifdef __cplusplus
33195 extern "C"
33197 #endif
33198 /* We use char because int might match the return type of a gcc2
33199 builtin and then its argument prototype would still apply. */
33200 char $ac_func ();
33201 /* The GNU C library defines this for functions which it implements
33202 to always fail with ENOSYS. Some functions are actually named
33203 something starting with __ and the normal name is an alias. */
33204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33205 choke me
33206 #else
33207 char (*f) () = $ac_func;
33208 #endif
33209 #ifdef __cplusplus
33211 #endif
33214 main ()
33216 return f != $ac_func;
33218 return 0;
33220 _ACEOF
33221 rm -f conftest.$ac_objext conftest$ac_exeext
33222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33223 (eval $ac_link) 2>conftest.er1
33224 ac_status=$?
33225 grep -v '^ *+' conftest.er1 >conftest.err
33226 rm -f conftest.er1
33227 cat conftest.err >&5
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); } &&
33230 { ac_try='test -z "$ac_c_werror_flag"
33231 || test ! -s conftest.err'
33232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233 (eval $ac_try) 2>&5
33234 ac_status=$?
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); }; } &&
33237 { ac_try='test -s conftest$ac_exeext'
33238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33239 (eval $ac_try) 2>&5
33240 ac_status=$?
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); }; }; then
33243 eval "$as_ac_var=yes"
33244 else
33245 echo "$as_me: failed program was:" >&5
33246 sed 's/^/| /' conftest.$ac_ext >&5
33248 eval "$as_ac_var=no"
33250 rm -f conftest.err conftest.$ac_objext \
33251 conftest$ac_exeext conftest.$ac_ext
33253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33255 if test `eval echo '${'$as_ac_var'}'` = yes; then
33256 cat >>confdefs.h <<_ACEOF
33257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33258 _ACEOF
33261 done
33263 else
33265 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33266 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33267 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33268 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33269 echo $ECHO_N "(cached) $ECHO_C" >&6
33270 else
33274 ac_ext=cc
33275 ac_cpp='$CXXCPP $CPPFLAGS'
33276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33280 cat >conftest.$ac_ext <<_ACEOF
33281 /* confdefs.h. */
33282 _ACEOF
33283 cat confdefs.h >>conftest.$ac_ext
33284 cat >>conftest.$ac_ext <<_ACEOF
33285 /* end confdefs.h. */
33286 #include <math.h>
33288 main ()
33290 _ldexpl(0, 0);
33292 return 0;
33294 _ACEOF
33295 rm -f conftest.$ac_objext
33296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33297 (eval $ac_compile) 2>conftest.er1
33298 ac_status=$?
33299 grep -v '^ *+' conftest.er1 >conftest.err
33300 rm -f conftest.er1
33301 cat conftest.err >&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); } &&
33304 { ac_try='test -z "$ac_cxx_werror_flag"
33305 || test ! -s conftest.err'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33308 ac_status=$?
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; } &&
33311 { ac_try='test -s conftest.$ac_objext'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33314 ac_status=$?
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; }; then
33317 glibcxx_cv_func__ldexpl_use=yes
33318 else
33319 echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.$ac_ext >&5
33322 glibcxx_cv_func__ldexpl_use=no
33324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33325 ac_ext=c
33326 ac_cpp='$CPP $CPPFLAGS'
33327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33336 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33338 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33340 for ac_func in _ldexpl
33342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33343 echo "$as_me:$LINENO: checking for $ac_func" >&5
33344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33345 if eval "test \"\${$as_ac_var+set}\" = set"; then
33346 echo $ECHO_N "(cached) $ECHO_C" >&6
33347 else
33348 if test x$gcc_no_link = xyes; then
33349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33351 { (exit 1); exit 1; }; }
33353 cat >conftest.$ac_ext <<_ACEOF
33354 /* confdefs.h. */
33355 _ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h. */
33359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33361 #define $ac_func innocuous_$ac_func
33363 /* System header to define __stub macros and hopefully few prototypes,
33364 which can conflict with char $ac_func (); below.
33365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33366 <limits.h> exists even on freestanding compilers. */
33368 #ifdef __STDC__
33369 # include <limits.h>
33370 #else
33371 # include <assert.h>
33372 #endif
33374 #undef $ac_func
33376 /* Override any gcc2 internal prototype to avoid an error. */
33377 #ifdef __cplusplus
33378 extern "C"
33380 #endif
33381 /* We use char because int might match the return type of a gcc2
33382 builtin and then its argument prototype would still apply. */
33383 char $ac_func ();
33384 /* The GNU C library defines this for functions which it implements
33385 to always fail with ENOSYS. Some functions are actually named
33386 something starting with __ and the normal name is an alias. */
33387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33388 choke me
33389 #else
33390 char (*f) () = $ac_func;
33391 #endif
33392 #ifdef __cplusplus
33394 #endif
33397 main ()
33399 return f != $ac_func;
33401 return 0;
33403 _ACEOF
33404 rm -f conftest.$ac_objext conftest$ac_exeext
33405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33406 (eval $ac_link) 2>conftest.er1
33407 ac_status=$?
33408 grep -v '^ *+' conftest.er1 >conftest.err
33409 rm -f conftest.er1
33410 cat conftest.err >&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); } &&
33413 { ac_try='test -z "$ac_c_werror_flag"
33414 || test ! -s conftest.err'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33417 ac_status=$?
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; } &&
33420 { ac_try='test -s conftest$ac_exeext'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; }; then
33426 eval "$as_ac_var=yes"
33427 else
33428 echo "$as_me: failed program was:" >&5
33429 sed 's/^/| /' conftest.$ac_ext >&5
33431 eval "$as_ac_var=no"
33433 rm -f conftest.err conftest.$ac_objext \
33434 conftest$ac_exeext conftest.$ac_ext
33436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33438 if test `eval echo '${'$as_ac_var'}'` = yes; then
33439 cat >>confdefs.h <<_ACEOF
33440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33441 _ACEOF
33444 done
33454 echo "$as_me:$LINENO: checking for logl declaration" >&5
33455 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33456 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33457 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33458 echo $ECHO_N "(cached) $ECHO_C" >&6
33459 else
33463 ac_ext=cc
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33469 cat >conftest.$ac_ext <<_ACEOF
33470 /* confdefs.h. */
33471 _ACEOF
33472 cat confdefs.h >>conftest.$ac_ext
33473 cat >>conftest.$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 #include <math.h>
33476 #ifdef HAVE_IEEEFP_H
33477 #include <ieeefp.h>
33478 #endif
33481 main ()
33483 logl(0);
33485 return 0;
33487 _ACEOF
33488 rm -f conftest.$ac_objext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33490 (eval $ac_compile) 2>conftest.er1
33491 ac_status=$?
33492 grep -v '^ *+' conftest.er1 >conftest.err
33493 rm -f conftest.er1
33494 cat conftest.err >&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try='test -z "$ac_cxx_werror_flag"
33498 || test ! -s conftest.err'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33501 ac_status=$?
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; } &&
33504 { ac_try='test -s conftest.$ac_objext'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; }; then
33510 glibcxx_cv_func_logl_use=yes
33511 else
33512 echo "$as_me: failed program was:" >&5
33513 sed 's/^/| /' conftest.$ac_ext >&5
33515 glibcxx_cv_func_logl_use=no
33517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33518 ac_ext=c
33519 ac_cpp='$CPP $CPPFLAGS'
33520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33529 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33531 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33533 for ac_func in logl
33535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33536 echo "$as_me:$LINENO: checking for $ac_func" >&5
33537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33538 if eval "test \"\${$as_ac_var+set}\" = set"; then
33539 echo $ECHO_N "(cached) $ECHO_C" >&6
33540 else
33541 if test x$gcc_no_link = xyes; then
33542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33544 { (exit 1); exit 1; }; }
33546 cat >conftest.$ac_ext <<_ACEOF
33547 /* confdefs.h. */
33548 _ACEOF
33549 cat confdefs.h >>conftest.$ac_ext
33550 cat >>conftest.$ac_ext <<_ACEOF
33551 /* end confdefs.h. */
33552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33554 #define $ac_func innocuous_$ac_func
33556 /* System header to define __stub macros and hopefully few prototypes,
33557 which can conflict with char $ac_func (); below.
33558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33559 <limits.h> exists even on freestanding compilers. */
33561 #ifdef __STDC__
33562 # include <limits.h>
33563 #else
33564 # include <assert.h>
33565 #endif
33567 #undef $ac_func
33569 /* Override any gcc2 internal prototype to avoid an error. */
33570 #ifdef __cplusplus
33571 extern "C"
33573 #endif
33574 /* We use char because int might match the return type of a gcc2
33575 builtin and then its argument prototype would still apply. */
33576 char $ac_func ();
33577 /* The GNU C library defines this for functions which it implements
33578 to always fail with ENOSYS. Some functions are actually named
33579 something starting with __ and the normal name is an alias. */
33580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33581 choke me
33582 #else
33583 char (*f) () = $ac_func;
33584 #endif
33585 #ifdef __cplusplus
33587 #endif
33590 main ()
33592 return f != $ac_func;
33594 return 0;
33596 _ACEOF
33597 rm -f conftest.$ac_objext conftest$ac_exeext
33598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33599 (eval $ac_link) 2>conftest.er1
33600 ac_status=$?
33601 grep -v '^ *+' conftest.er1 >conftest.err
33602 rm -f conftest.er1
33603 cat conftest.err >&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); } &&
33606 { ac_try='test -z "$ac_c_werror_flag"
33607 || test ! -s conftest.err'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33610 ac_status=$?
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; } &&
33613 { ac_try='test -s conftest$ac_exeext'
33614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33615 (eval $ac_try) 2>&5
33616 ac_status=$?
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); }; }; then
33619 eval "$as_ac_var=yes"
33620 else
33621 echo "$as_me: failed program was:" >&5
33622 sed 's/^/| /' conftest.$ac_ext >&5
33624 eval "$as_ac_var=no"
33626 rm -f conftest.err conftest.$ac_objext \
33627 conftest$ac_exeext conftest.$ac_ext
33629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33631 if test `eval echo '${'$as_ac_var'}'` = yes; then
33632 cat >>confdefs.h <<_ACEOF
33633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33634 _ACEOF
33637 done
33639 else
33641 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33642 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33643 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33644 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33645 echo $ECHO_N "(cached) $ECHO_C" >&6
33646 else
33650 ac_ext=cc
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33656 cat >conftest.$ac_ext <<_ACEOF
33657 /* confdefs.h. */
33658 _ACEOF
33659 cat confdefs.h >>conftest.$ac_ext
33660 cat >>conftest.$ac_ext <<_ACEOF
33661 /* end confdefs.h. */
33662 #include <math.h>
33663 #ifdef HAVE_IEEEFP_H
33664 #include <ieeefp.h>
33665 #endif
33668 main ()
33670 _logl(0);
33672 return 0;
33674 _ACEOF
33675 rm -f conftest.$ac_objext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33677 (eval $ac_compile) 2>conftest.er1
33678 ac_status=$?
33679 grep -v '^ *+' conftest.er1 >conftest.err
33680 rm -f conftest.er1
33681 cat conftest.err >&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } &&
33684 { ac_try='test -z "$ac_cxx_werror_flag"
33685 || test ! -s conftest.err'
33686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687 (eval $ac_try) 2>&5
33688 ac_status=$?
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; } &&
33691 { ac_try='test -s conftest.$ac_objext'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33694 ac_status=$?
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; }; then
33697 glibcxx_cv_func__logl_use=yes
33698 else
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33702 glibcxx_cv_func__logl_use=no
33704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33705 ac_ext=c
33706 ac_cpp='$CPP $CPPFLAGS'
33707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33716 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33718 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33720 for ac_func in _logl
33722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33723 echo "$as_me:$LINENO: checking for $ac_func" >&5
33724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33725 if eval "test \"\${$as_ac_var+set}\" = set"; then
33726 echo $ECHO_N "(cached) $ECHO_C" >&6
33727 else
33728 if test x$gcc_no_link = xyes; then
33729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33731 { (exit 1); exit 1; }; }
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h. */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33741 #define $ac_func innocuous_$ac_func
33743 /* System header to define __stub macros and hopefully few prototypes,
33744 which can conflict with char $ac_func (); below.
33745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33746 <limits.h> exists even on freestanding compilers. */
33748 #ifdef __STDC__
33749 # include <limits.h>
33750 #else
33751 # include <assert.h>
33752 #endif
33754 #undef $ac_func
33756 /* Override any gcc2 internal prototype to avoid an error. */
33757 #ifdef __cplusplus
33758 extern "C"
33760 #endif
33761 /* We use char because int might match the return type of a gcc2
33762 builtin and then its argument prototype would still apply. */
33763 char $ac_func ();
33764 /* The GNU C library defines this for functions which it implements
33765 to always fail with ENOSYS. Some functions are actually named
33766 something starting with __ and the normal name is an alias. */
33767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33768 choke me
33769 #else
33770 char (*f) () = $ac_func;
33771 #endif
33772 #ifdef __cplusplus
33774 #endif
33777 main ()
33779 return f != $ac_func;
33781 return 0;
33783 _ACEOF
33784 rm -f conftest.$ac_objext conftest$ac_exeext
33785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33786 (eval $ac_link) 2>conftest.er1
33787 ac_status=$?
33788 grep -v '^ *+' conftest.er1 >conftest.err
33789 rm -f conftest.er1
33790 cat conftest.err >&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); } &&
33793 { ac_try='test -z "$ac_c_werror_flag"
33794 || test ! -s conftest.err'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33797 ac_status=$?
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; } &&
33800 { ac_try='test -s conftest$ac_exeext'
33801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33802 (eval $ac_try) 2>&5
33803 ac_status=$?
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); }; }; then
33806 eval "$as_ac_var=yes"
33807 else
33808 echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33811 eval "$as_ac_var=no"
33813 rm -f conftest.err conftest.$ac_objext \
33814 conftest$ac_exeext conftest.$ac_ext
33816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33818 if test `eval echo '${'$as_ac_var'}'` = yes; then
33819 cat >>confdefs.h <<_ACEOF
33820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33821 _ACEOF
33824 done
33834 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33835 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33836 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33837 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33838 echo $ECHO_N "(cached) $ECHO_C" >&6
33839 else
33843 ac_ext=cc
33844 ac_cpp='$CXXCPP $CPPFLAGS'
33845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33849 cat >conftest.$ac_ext <<_ACEOF
33850 /* confdefs.h. */
33851 _ACEOF
33852 cat confdefs.h >>conftest.$ac_ext
33853 cat >>conftest.$ac_ext <<_ACEOF
33854 /* end confdefs.h. */
33855 #include <math.h>
33856 #ifdef HAVE_IEEEFP_H
33857 #include <ieeefp.h>
33858 #endif
33861 main ()
33863 log10l(0);
33865 return 0;
33867 _ACEOF
33868 rm -f conftest.$ac_objext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33870 (eval $ac_compile) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_cxx_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest.$ac_objext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 glibcxx_cv_func_log10l_use=yes
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33895 glibcxx_cv_func_log10l_use=no
33897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33898 ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33909 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33911 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33913 for ac_func in log10l
33915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33916 echo "$as_me:$LINENO: checking for $ac_func" >&5
33917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33918 if eval "test \"\${$as_ac_var+set}\" = set"; then
33919 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 else
33921 if test x$gcc_no_link = xyes; then
33922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33924 { (exit 1); exit 1; }; }
33926 cat >conftest.$ac_ext <<_ACEOF
33927 /* confdefs.h. */
33928 _ACEOF
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33934 #define $ac_func innocuous_$ac_func
33936 /* System header to define __stub macros and hopefully few prototypes,
33937 which can conflict with char $ac_func (); below.
33938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33939 <limits.h> exists even on freestanding compilers. */
33941 #ifdef __STDC__
33942 # include <limits.h>
33943 #else
33944 # include <assert.h>
33945 #endif
33947 #undef $ac_func
33949 /* Override any gcc2 internal prototype to avoid an error. */
33950 #ifdef __cplusplus
33951 extern "C"
33953 #endif
33954 /* We use char because int might match the return type of a gcc2
33955 builtin and then its argument prototype would still apply. */
33956 char $ac_func ();
33957 /* The GNU C library defines this for functions which it implements
33958 to always fail with ENOSYS. Some functions are actually named
33959 something starting with __ and the normal name is an alias. */
33960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33961 choke me
33962 #else
33963 char (*f) () = $ac_func;
33964 #endif
33965 #ifdef __cplusplus
33967 #endif
33970 main ()
33972 return f != $ac_func;
33974 return 0;
33976 _ACEOF
33977 rm -f conftest.$ac_objext conftest$ac_exeext
33978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33979 (eval $ac_link) 2>conftest.er1
33980 ac_status=$?
33981 grep -v '^ *+' conftest.er1 >conftest.err
33982 rm -f conftest.er1
33983 cat conftest.err >&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); } &&
33986 { ac_try='test -z "$ac_c_werror_flag"
33987 || test ! -s conftest.err'
33988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33989 (eval $ac_try) 2>&5
33990 ac_status=$?
33991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992 (exit $ac_status); }; } &&
33993 { ac_try='test -s conftest$ac_exeext'
33994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33995 (eval $ac_try) 2>&5
33996 ac_status=$?
33997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33998 (exit $ac_status); }; }; then
33999 eval "$as_ac_var=yes"
34000 else
34001 echo "$as_me: failed program was:" >&5
34002 sed 's/^/| /' conftest.$ac_ext >&5
34004 eval "$as_ac_var=no"
34006 rm -f conftest.err conftest.$ac_objext \
34007 conftest$ac_exeext conftest.$ac_ext
34009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34011 if test `eval echo '${'$as_ac_var'}'` = yes; then
34012 cat >>confdefs.h <<_ACEOF
34013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34014 _ACEOF
34017 done
34019 else
34021 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34022 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34023 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34024 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 else
34030 ac_ext=cc
34031 ac_cpp='$CXXCPP $CPPFLAGS'
34032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34036 cat >conftest.$ac_ext <<_ACEOF
34037 /* confdefs.h. */
34038 _ACEOF
34039 cat confdefs.h >>conftest.$ac_ext
34040 cat >>conftest.$ac_ext <<_ACEOF
34041 /* end confdefs.h. */
34042 #include <math.h>
34043 #ifdef HAVE_IEEEFP_H
34044 #include <ieeefp.h>
34045 #endif
34048 main ()
34050 _log10l(0);
34052 return 0;
34054 _ACEOF
34055 rm -f conftest.$ac_objext
34056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34057 (eval $ac_compile) 2>conftest.er1
34058 ac_status=$?
34059 grep -v '^ *+' conftest.er1 >conftest.err
34060 rm -f conftest.er1
34061 cat conftest.err >&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } &&
34064 { ac_try='test -z "$ac_cxx_werror_flag"
34065 || test ! -s conftest.err'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34068 ac_status=$?
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; } &&
34071 { ac_try='test -s conftest.$ac_objext'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; }; then
34077 glibcxx_cv_func__log10l_use=yes
34078 else
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34082 glibcxx_cv_func__log10l_use=no
34084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34085 ac_ext=c
34086 ac_cpp='$CPP $CPPFLAGS'
34087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34096 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34098 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34100 for ac_func in _log10l
34102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34103 echo "$as_me:$LINENO: checking for $ac_func" >&5
34104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34105 if eval "test \"\${$as_ac_var+set}\" = set"; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34108 if test x$gcc_no_link = xyes; then
34109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34111 { (exit 1); exit 1; }; }
34113 cat >conftest.$ac_ext <<_ACEOF
34114 /* confdefs.h. */
34115 _ACEOF
34116 cat confdefs.h >>conftest.$ac_ext
34117 cat >>conftest.$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34121 #define $ac_func innocuous_$ac_func
34123 /* System header to define __stub macros and hopefully few prototypes,
34124 which can conflict with char $ac_func (); below.
34125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34126 <limits.h> exists even on freestanding compilers. */
34128 #ifdef __STDC__
34129 # include <limits.h>
34130 #else
34131 # include <assert.h>
34132 #endif
34134 #undef $ac_func
34136 /* Override any gcc2 internal prototype to avoid an error. */
34137 #ifdef __cplusplus
34138 extern "C"
34140 #endif
34141 /* We use char because int might match the return type of a gcc2
34142 builtin and then its argument prototype would still apply. */
34143 char $ac_func ();
34144 /* The GNU C library defines this for functions which it implements
34145 to always fail with ENOSYS. Some functions are actually named
34146 something starting with __ and the normal name is an alias. */
34147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34148 choke me
34149 #else
34150 char (*f) () = $ac_func;
34151 #endif
34152 #ifdef __cplusplus
34154 #endif
34157 main ()
34159 return f != $ac_func;
34161 return 0;
34163 _ACEOF
34164 rm -f conftest.$ac_objext conftest$ac_exeext
34165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34166 (eval $ac_link) 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } &&
34173 { ac_try='test -z "$ac_c_werror_flag"
34174 || test ! -s conftest.err'
34175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34176 (eval $ac_try) 2>&5
34177 ac_status=$?
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); }; } &&
34180 { ac_try='test -s conftest$ac_exeext'
34181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34182 (eval $ac_try) 2>&5
34183 ac_status=$?
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); }; }; then
34186 eval "$as_ac_var=yes"
34187 else
34188 echo "$as_me: failed program was:" >&5
34189 sed 's/^/| /' conftest.$ac_ext >&5
34191 eval "$as_ac_var=no"
34193 rm -f conftest.err conftest.$ac_objext \
34194 conftest$ac_exeext conftest.$ac_ext
34196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34198 if test `eval echo '${'$as_ac_var'}'` = yes; then
34199 cat >>confdefs.h <<_ACEOF
34200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34201 _ACEOF
34204 done
34214 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34215 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34216 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34217 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34218 echo $ECHO_N "(cached) $ECHO_C" >&6
34219 else
34223 ac_ext=cc
34224 ac_cpp='$CXXCPP $CPPFLAGS'
34225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34229 cat >conftest.$ac_ext <<_ACEOF
34230 /* confdefs.h. */
34231 _ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34235 #include <math.h>
34237 main ()
34239 modfl(0, 0);
34241 return 0;
34243 _ACEOF
34244 rm -f conftest.$ac_objext
34245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34246 (eval $ac_compile) 2>conftest.er1
34247 ac_status=$?
34248 grep -v '^ *+' conftest.er1 >conftest.err
34249 rm -f conftest.er1
34250 cat conftest.err >&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } &&
34253 { ac_try='test -z "$ac_cxx_werror_flag"
34254 || test ! -s conftest.err'
34255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256 (eval $ac_try) 2>&5
34257 ac_status=$?
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); }; } &&
34260 { ac_try='test -s conftest.$ac_objext'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34263 ac_status=$?
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; }; then
34266 glibcxx_cv_func_modfl_use=yes
34267 else
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34271 glibcxx_cv_func_modfl_use=no
34273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34274 ac_ext=c
34275 ac_cpp='$CPP $CPPFLAGS'
34276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34284 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34285 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34287 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34289 for ac_func in modfl
34291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34292 echo "$as_me:$LINENO: checking for $ac_func" >&5
34293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34294 if eval "test \"\${$as_ac_var+set}\" = set"; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34296 else
34297 if test x$gcc_no_link = xyes; then
34298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34300 { (exit 1); exit 1; }; }
34302 cat >conftest.$ac_ext <<_ACEOF
34303 /* confdefs.h. */
34304 _ACEOF
34305 cat confdefs.h >>conftest.$ac_ext
34306 cat >>conftest.$ac_ext <<_ACEOF
34307 /* end confdefs.h. */
34308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34310 #define $ac_func innocuous_$ac_func
34312 /* System header to define __stub macros and hopefully few prototypes,
34313 which can conflict with char $ac_func (); below.
34314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34315 <limits.h> exists even on freestanding compilers. */
34317 #ifdef __STDC__
34318 # include <limits.h>
34319 #else
34320 # include <assert.h>
34321 #endif
34323 #undef $ac_func
34325 /* Override any gcc2 internal prototype to avoid an error. */
34326 #ifdef __cplusplus
34327 extern "C"
34329 #endif
34330 /* We use char because int might match the return type of a gcc2
34331 builtin and then its argument prototype would still apply. */
34332 char $ac_func ();
34333 /* The GNU C library defines this for functions which it implements
34334 to always fail with ENOSYS. Some functions are actually named
34335 something starting with __ and the normal name is an alias. */
34336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34337 choke me
34338 #else
34339 char (*f) () = $ac_func;
34340 #endif
34341 #ifdef __cplusplus
34343 #endif
34346 main ()
34348 return f != $ac_func;
34350 return 0;
34352 _ACEOF
34353 rm -f conftest.$ac_objext conftest$ac_exeext
34354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34355 (eval $ac_link) 2>conftest.er1
34356 ac_status=$?
34357 grep -v '^ *+' conftest.er1 >conftest.err
34358 rm -f conftest.er1
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } &&
34362 { ac_try='test -z "$ac_c_werror_flag"
34363 || test ! -s conftest.err'
34364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365 (eval $ac_try) 2>&5
34366 ac_status=$?
34367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 (exit $ac_status); }; } &&
34369 { ac_try='test -s conftest$ac_exeext'
34370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371 (eval $ac_try) 2>&5
34372 ac_status=$?
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); }; }; then
34375 eval "$as_ac_var=yes"
34376 else
34377 echo "$as_me: failed program was:" >&5
34378 sed 's/^/| /' conftest.$ac_ext >&5
34380 eval "$as_ac_var=no"
34382 rm -f conftest.err conftest.$ac_objext \
34383 conftest$ac_exeext conftest.$ac_ext
34385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34387 if test `eval echo '${'$as_ac_var'}'` = yes; then
34388 cat >>confdefs.h <<_ACEOF
34389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34390 _ACEOF
34393 done
34395 else
34397 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34398 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34399 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34400 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 else
34406 ac_ext=cc
34407 ac_cpp='$CXXCPP $CPPFLAGS'
34408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34412 cat >conftest.$ac_ext <<_ACEOF
34413 /* confdefs.h. */
34414 _ACEOF
34415 cat confdefs.h >>conftest.$ac_ext
34416 cat >>conftest.$ac_ext <<_ACEOF
34417 /* end confdefs.h. */
34418 #include <math.h>
34420 main ()
34422 _modfl(0, 0);
34424 return 0;
34426 _ACEOF
34427 rm -f conftest.$ac_objext
34428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34429 (eval $ac_compile) 2>conftest.er1
34430 ac_status=$?
34431 grep -v '^ *+' conftest.er1 >conftest.err
34432 rm -f conftest.er1
34433 cat conftest.err >&5
34434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435 (exit $ac_status); } &&
34436 { ac_try='test -z "$ac_cxx_werror_flag"
34437 || test ! -s conftest.err'
34438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34439 (eval $ac_try) 2>&5
34440 ac_status=$?
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); }; } &&
34443 { ac_try='test -s conftest.$ac_objext'
34444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34445 (eval $ac_try) 2>&5
34446 ac_status=$?
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); }; }; then
34449 glibcxx_cv_func__modfl_use=yes
34450 else
34451 echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.$ac_ext >&5
34454 glibcxx_cv_func__modfl_use=no
34456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34457 ac_ext=c
34458 ac_cpp='$CPP $CPPFLAGS'
34459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34468 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34470 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34472 for ac_func in _modfl
34474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34475 echo "$as_me:$LINENO: checking for $ac_func" >&5
34476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34477 if eval "test \"\${$as_ac_var+set}\" = set"; then
34478 echo $ECHO_N "(cached) $ECHO_C" >&6
34479 else
34480 if test x$gcc_no_link = xyes; then
34481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34483 { (exit 1); exit 1; }; }
34485 cat >conftest.$ac_ext <<_ACEOF
34486 /* confdefs.h. */
34487 _ACEOF
34488 cat confdefs.h >>conftest.$ac_ext
34489 cat >>conftest.$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34493 #define $ac_func innocuous_$ac_func
34495 /* System header to define __stub macros and hopefully few prototypes,
34496 which can conflict with char $ac_func (); below.
34497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34498 <limits.h> exists even on freestanding compilers. */
34500 #ifdef __STDC__
34501 # include <limits.h>
34502 #else
34503 # include <assert.h>
34504 #endif
34506 #undef $ac_func
34508 /* Override any gcc2 internal prototype to avoid an error. */
34509 #ifdef __cplusplus
34510 extern "C"
34512 #endif
34513 /* We use char because int might match the return type of a gcc2
34514 builtin and then its argument prototype would still apply. */
34515 char $ac_func ();
34516 /* The GNU C library defines this for functions which it implements
34517 to always fail with ENOSYS. Some functions are actually named
34518 something starting with __ and the normal name is an alias. */
34519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34520 choke me
34521 #else
34522 char (*f) () = $ac_func;
34523 #endif
34524 #ifdef __cplusplus
34526 #endif
34529 main ()
34531 return f != $ac_func;
34533 return 0;
34535 _ACEOF
34536 rm -f conftest.$ac_objext conftest$ac_exeext
34537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34538 (eval $ac_link) 2>conftest.er1
34539 ac_status=$?
34540 grep -v '^ *+' conftest.er1 >conftest.err
34541 rm -f conftest.er1
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } &&
34545 { ac_try='test -z "$ac_c_werror_flag"
34546 || test ! -s conftest.err'
34547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34548 (eval $ac_try) 2>&5
34549 ac_status=$?
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); }; } &&
34552 { ac_try='test -s conftest$ac_exeext'
34553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554 (eval $ac_try) 2>&5
34555 ac_status=$?
34556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 (exit $ac_status); }; }; then
34558 eval "$as_ac_var=yes"
34559 else
34560 echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.$ac_ext >&5
34563 eval "$as_ac_var=no"
34565 rm -f conftest.err conftest.$ac_objext \
34566 conftest$ac_exeext conftest.$ac_ext
34568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34570 if test `eval echo '${'$as_ac_var'}'` = yes; then
34571 cat >>confdefs.h <<_ACEOF
34572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34573 _ACEOF
34576 done
34586 echo "$as_me:$LINENO: checking for powl declaration" >&5
34587 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34588 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34589 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34590 echo $ECHO_N "(cached) $ECHO_C" >&6
34591 else
34595 ac_ext=cc
34596 ac_cpp='$CXXCPP $CPPFLAGS'
34597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34601 cat >conftest.$ac_ext <<_ACEOF
34602 /* confdefs.h. */
34603 _ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34607 #include <math.h>
34609 main ()
34611 powl(0, 0);
34613 return 0;
34615 _ACEOF
34616 rm -f conftest.$ac_objext
34617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34618 (eval $ac_compile) 2>conftest.er1
34619 ac_status=$?
34620 grep -v '^ *+' conftest.er1 >conftest.err
34621 rm -f conftest.er1
34622 cat conftest.err >&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } &&
34625 { ac_try='test -z "$ac_cxx_werror_flag"
34626 || test ! -s conftest.err'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34629 ac_status=$?
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; } &&
34632 { ac_try='test -s conftest.$ac_objext'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34635 ac_status=$?
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; }; then
34638 glibcxx_cv_func_powl_use=yes
34639 else
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.$ac_ext >&5
34643 glibcxx_cv_func_powl_use=no
34645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34646 ac_ext=c
34647 ac_cpp='$CPP $CPPFLAGS'
34648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34657 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34659 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34661 for ac_func in powl
34663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34664 echo "$as_me:$LINENO: checking for $ac_func" >&5
34665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34666 if eval "test \"\${$as_ac_var+set}\" = set"; then
34667 echo $ECHO_N "(cached) $ECHO_C" >&6
34668 else
34669 if test x$gcc_no_link = xyes; then
34670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34672 { (exit 1); exit 1; }; }
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34682 #define $ac_func innocuous_$ac_func
34684 /* System header to define __stub macros and hopefully few prototypes,
34685 which can conflict with char $ac_func (); below.
34686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34687 <limits.h> exists even on freestanding compilers. */
34689 #ifdef __STDC__
34690 # include <limits.h>
34691 #else
34692 # include <assert.h>
34693 #endif
34695 #undef $ac_func
34697 /* Override any gcc2 internal prototype to avoid an error. */
34698 #ifdef __cplusplus
34699 extern "C"
34701 #endif
34702 /* We use char because int might match the return type of a gcc2
34703 builtin and then its argument prototype would still apply. */
34704 char $ac_func ();
34705 /* The GNU C library defines this for functions which it implements
34706 to always fail with ENOSYS. Some functions are actually named
34707 something starting with __ and the normal name is an alias. */
34708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34709 choke me
34710 #else
34711 char (*f) () = $ac_func;
34712 #endif
34713 #ifdef __cplusplus
34715 #endif
34718 main ()
34720 return f != $ac_func;
34722 return 0;
34724 _ACEOF
34725 rm -f conftest.$ac_objext conftest$ac_exeext
34726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34727 (eval $ac_link) 2>conftest.er1
34728 ac_status=$?
34729 grep -v '^ *+' conftest.er1 >conftest.err
34730 rm -f conftest.er1
34731 cat conftest.err >&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } &&
34734 { ac_try='test -z "$ac_c_werror_flag"
34735 || test ! -s conftest.err'
34736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34737 (eval $ac_try) 2>&5
34738 ac_status=$?
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); }; } &&
34741 { ac_try='test -s conftest$ac_exeext'
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34744 ac_status=$?
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; }; then
34747 eval "$as_ac_var=yes"
34748 else
34749 echo "$as_me: failed program was:" >&5
34750 sed 's/^/| /' conftest.$ac_ext >&5
34752 eval "$as_ac_var=no"
34754 rm -f conftest.err conftest.$ac_objext \
34755 conftest$ac_exeext conftest.$ac_ext
34757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34759 if test `eval echo '${'$as_ac_var'}'` = yes; then
34760 cat >>confdefs.h <<_ACEOF
34761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34762 _ACEOF
34765 done
34767 else
34769 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34770 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34771 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34772 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34773 echo $ECHO_N "(cached) $ECHO_C" >&6
34774 else
34778 ac_ext=cc
34779 ac_cpp='$CXXCPP $CPPFLAGS'
34780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34784 cat >conftest.$ac_ext <<_ACEOF
34785 /* confdefs.h. */
34786 _ACEOF
34787 cat confdefs.h >>conftest.$ac_ext
34788 cat >>conftest.$ac_ext <<_ACEOF
34789 /* end confdefs.h. */
34790 #include <math.h>
34792 main ()
34794 _powl(0, 0);
34796 return 0;
34798 _ACEOF
34799 rm -f conftest.$ac_objext
34800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34801 (eval $ac_compile) 2>conftest.er1
34802 ac_status=$?
34803 grep -v '^ *+' conftest.er1 >conftest.err
34804 rm -f conftest.er1
34805 cat conftest.err >&5
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); } &&
34808 { ac_try='test -z "$ac_cxx_werror_flag"
34809 || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try='test -s conftest.$ac_objext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34818 ac_status=$?
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34821 glibcxx_cv_func__powl_use=yes
34822 else
34823 echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.$ac_ext >&5
34826 glibcxx_cv_func__powl_use=no
34828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34829 ac_ext=c
34830 ac_cpp='$CPP $CPPFLAGS'
34831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34840 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34842 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34844 for ac_func in _powl
34846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34847 echo "$as_me:$LINENO: checking for $ac_func" >&5
34848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34849 if eval "test \"\${$as_ac_var+set}\" = set"; then
34850 echo $ECHO_N "(cached) $ECHO_C" >&6
34851 else
34852 if test x$gcc_no_link = xyes; then
34853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34855 { (exit 1); exit 1; }; }
34857 cat >conftest.$ac_ext <<_ACEOF
34858 /* confdefs.h. */
34859 _ACEOF
34860 cat confdefs.h >>conftest.$ac_ext
34861 cat >>conftest.$ac_ext <<_ACEOF
34862 /* end confdefs.h. */
34863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34865 #define $ac_func innocuous_$ac_func
34867 /* System header to define __stub macros and hopefully few prototypes,
34868 which can conflict with char $ac_func (); below.
34869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34870 <limits.h> exists even on freestanding compilers. */
34872 #ifdef __STDC__
34873 # include <limits.h>
34874 #else
34875 # include <assert.h>
34876 #endif
34878 #undef $ac_func
34880 /* Override any gcc2 internal prototype to avoid an error. */
34881 #ifdef __cplusplus
34882 extern "C"
34884 #endif
34885 /* We use char because int might match the return type of a gcc2
34886 builtin and then its argument prototype would still apply. */
34887 char $ac_func ();
34888 /* The GNU C library defines this for functions which it implements
34889 to always fail with ENOSYS. Some functions are actually named
34890 something starting with __ and the normal name is an alias. */
34891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34892 choke me
34893 #else
34894 char (*f) () = $ac_func;
34895 #endif
34896 #ifdef __cplusplus
34898 #endif
34901 main ()
34903 return f != $ac_func;
34905 return 0;
34907 _ACEOF
34908 rm -f conftest.$ac_objext conftest$ac_exeext
34909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34910 (eval $ac_link) 2>conftest.er1
34911 ac_status=$?
34912 grep -v '^ *+' conftest.er1 >conftest.err
34913 rm -f conftest.er1
34914 cat conftest.err >&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); } &&
34917 { ac_try='test -z "$ac_c_werror_flag"
34918 || test ! -s conftest.err'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34921 ac_status=$?
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; } &&
34924 { ac_try='test -s conftest$ac_exeext'
34925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34926 (eval $ac_try) 2>&5
34927 ac_status=$?
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); }; }; then
34930 eval "$as_ac_var=yes"
34931 else
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34935 eval "$as_ac_var=no"
34937 rm -f conftest.err conftest.$ac_objext \
34938 conftest$ac_exeext conftest.$ac_ext
34940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34942 if test `eval echo '${'$as_ac_var'}'` = yes; then
34943 cat >>confdefs.h <<_ACEOF
34944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34945 _ACEOF
34948 done
34958 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34959 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34960 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34961 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 else
34967 ac_ext=cc
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34973 cat >conftest.$ac_ext <<_ACEOF
34974 /* confdefs.h. */
34975 _ACEOF
34976 cat confdefs.h >>conftest.$ac_ext
34977 cat >>conftest.$ac_ext <<_ACEOF
34978 /* end confdefs.h. */
34979 #include <math.h>
34980 #ifdef HAVE_IEEEFP_H
34981 #include <ieeefp.h>
34982 #endif
34985 main ()
34987 sqrtl(0);
34989 return 0;
34991 _ACEOF
34992 rm -f conftest.$ac_objext
34993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34994 (eval $ac_compile) 2>conftest.er1
34995 ac_status=$?
34996 grep -v '^ *+' conftest.er1 >conftest.err
34997 rm -f conftest.er1
34998 cat conftest.err >&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } &&
35001 { ac_try='test -z "$ac_cxx_werror_flag"
35002 || test ! -s conftest.err'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35005 ac_status=$?
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; } &&
35008 { ac_try='test -s conftest.$ac_objext'
35009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010 (eval $ac_try) 2>&5
35011 ac_status=$?
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); }; }; then
35014 glibcxx_cv_func_sqrtl_use=yes
35015 else
35016 echo "$as_me: failed program was:" >&5
35017 sed 's/^/| /' conftest.$ac_ext >&5
35019 glibcxx_cv_func_sqrtl_use=no
35021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35022 ac_ext=c
35023 ac_cpp='$CPP $CPPFLAGS'
35024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35033 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35035 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35037 for ac_func in sqrtl
35039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35040 echo "$as_me:$LINENO: checking for $ac_func" >&5
35041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35042 if eval "test \"\${$as_ac_var+set}\" = set"; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 else
35045 if test x$gcc_no_link = xyes; then
35046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35048 { (exit 1); exit 1; }; }
35050 cat >conftest.$ac_ext <<_ACEOF
35051 /* confdefs.h. */
35052 _ACEOF
35053 cat confdefs.h >>conftest.$ac_ext
35054 cat >>conftest.$ac_ext <<_ACEOF
35055 /* end confdefs.h. */
35056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35058 #define $ac_func innocuous_$ac_func
35060 /* System header to define __stub macros and hopefully few prototypes,
35061 which can conflict with char $ac_func (); below.
35062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35063 <limits.h> exists even on freestanding compilers. */
35065 #ifdef __STDC__
35066 # include <limits.h>
35067 #else
35068 # include <assert.h>
35069 #endif
35071 #undef $ac_func
35073 /* Override any gcc2 internal prototype to avoid an error. */
35074 #ifdef __cplusplus
35075 extern "C"
35077 #endif
35078 /* We use char because int might match the return type of a gcc2
35079 builtin and then its argument prototype would still apply. */
35080 char $ac_func ();
35081 /* The GNU C library defines this for functions which it implements
35082 to always fail with ENOSYS. Some functions are actually named
35083 something starting with __ and the normal name is an alias. */
35084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35085 choke me
35086 #else
35087 char (*f) () = $ac_func;
35088 #endif
35089 #ifdef __cplusplus
35091 #endif
35094 main ()
35096 return f != $ac_func;
35098 return 0;
35100 _ACEOF
35101 rm -f conftest.$ac_objext conftest$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>conftest.er1
35104 ac_status=$?
35105 grep -v '^ *+' conftest.er1 >conftest.err
35106 rm -f conftest.er1
35107 cat conftest.err >&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } &&
35110 { ac_try='test -z "$ac_c_werror_flag"
35111 || test ! -s conftest.err'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; } &&
35117 { ac_try='test -s conftest$ac_exeext'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35120 ac_status=$?
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; }; then
35123 eval "$as_ac_var=yes"
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35128 eval "$as_ac_var=no"
35130 rm -f conftest.err conftest.$ac_objext \
35131 conftest$ac_exeext conftest.$ac_ext
35133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h <<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35138 _ACEOF
35141 done
35143 else
35145 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35146 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35147 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35148 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35149 echo $ECHO_N "(cached) $ECHO_C" >&6
35150 else
35154 ac_ext=cc
35155 ac_cpp='$CXXCPP $CPPFLAGS'
35156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35160 cat >conftest.$ac_ext <<_ACEOF
35161 /* confdefs.h. */
35162 _ACEOF
35163 cat confdefs.h >>conftest.$ac_ext
35164 cat >>conftest.$ac_ext <<_ACEOF
35165 /* end confdefs.h. */
35166 #include <math.h>
35167 #ifdef HAVE_IEEEFP_H
35168 #include <ieeefp.h>
35169 #endif
35172 main ()
35174 _sqrtl(0);
35176 return 0;
35178 _ACEOF
35179 rm -f conftest.$ac_objext
35180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35181 (eval $ac_compile) 2>conftest.er1
35182 ac_status=$?
35183 grep -v '^ *+' conftest.er1 >conftest.err
35184 rm -f conftest.er1
35185 cat conftest.err >&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); } &&
35188 { ac_try='test -z "$ac_cxx_werror_flag"
35189 || test ! -s conftest.err'
35190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191 (eval $ac_try) 2>&5
35192 ac_status=$?
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); }; } &&
35195 { ac_try='test -s conftest.$ac_objext'
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35198 ac_status=$?
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; }; then
35201 glibcxx_cv_func__sqrtl_use=yes
35202 else
35203 echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35206 glibcxx_cv_func__sqrtl_use=no
35208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35209 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35220 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35222 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35224 for ac_func in _sqrtl
35226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35227 echo "$as_me:$LINENO: checking for $ac_func" >&5
35228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35229 if eval "test \"\${$as_ac_var+set}\" = set"; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232 if test x$gcc_no_link = xyes; then
35233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35235 { (exit 1); exit 1; }; }
35237 cat >conftest.$ac_ext <<_ACEOF
35238 /* confdefs.h. */
35239 _ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35245 #define $ac_func innocuous_$ac_func
35247 /* System header to define __stub macros and hopefully few prototypes,
35248 which can conflict with char $ac_func (); below.
35249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35250 <limits.h> exists even on freestanding compilers. */
35252 #ifdef __STDC__
35253 # include <limits.h>
35254 #else
35255 # include <assert.h>
35256 #endif
35258 #undef $ac_func
35260 /* Override any gcc2 internal prototype to avoid an error. */
35261 #ifdef __cplusplus
35262 extern "C"
35264 #endif
35265 /* We use char because int might match the return type of a gcc2
35266 builtin and then its argument prototype would still apply. */
35267 char $ac_func ();
35268 /* The GNU C library defines this for functions which it implements
35269 to always fail with ENOSYS. Some functions are actually named
35270 something starting with __ and the normal name is an alias. */
35271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35272 choke me
35273 #else
35274 char (*f) () = $ac_func;
35275 #endif
35276 #ifdef __cplusplus
35278 #endif
35281 main ()
35283 return f != $ac_func;
35285 return 0;
35287 _ACEOF
35288 rm -f conftest.$ac_objext conftest$ac_exeext
35289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35290 (eval $ac_link) 2>conftest.er1
35291 ac_status=$?
35292 grep -v '^ *+' conftest.er1 >conftest.err
35293 rm -f conftest.er1
35294 cat conftest.err >&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } &&
35297 { ac_try='test -z "$ac_c_werror_flag"
35298 || test ! -s conftest.err'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35301 ac_status=$?
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; } &&
35304 { ac_try='test -s conftest$ac_exeext'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35307 ac_status=$?
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; }; then
35310 eval "$as_ac_var=yes"
35311 else
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35315 eval "$as_ac_var=no"
35317 rm -f conftest.err conftest.$ac_objext \
35318 conftest$ac_exeext conftest.$ac_ext
35320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35322 if test `eval echo '${'$as_ac_var'}'` = yes; then
35323 cat >>confdefs.h <<_ACEOF
35324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35325 _ACEOF
35328 done
35338 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35339 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35340 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35341 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35342 echo $ECHO_N "(cached) $ECHO_C" >&6
35343 else
35347 ac_ext=cc
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35353 cat >conftest.$ac_ext <<_ACEOF
35354 /* confdefs.h. */
35355 _ACEOF
35356 cat confdefs.h >>conftest.$ac_ext
35357 cat >>conftest.$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 #include <math.h>
35361 main ()
35363 sincosl(0, 0, 0);
35365 return 0;
35367 _ACEOF
35368 rm -f conftest.$ac_objext
35369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35370 (eval $ac_compile) 2>conftest.er1
35371 ac_status=$?
35372 grep -v '^ *+' conftest.er1 >conftest.err
35373 rm -f conftest.er1
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } &&
35377 { ac_try='test -z "$ac_cxx_werror_flag"
35378 || test ! -s conftest.err'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35381 ac_status=$?
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; } &&
35384 { ac_try='test -s conftest.$ac_objext'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35387 ac_status=$?
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; }; then
35390 glibcxx_cv_func_sincosl_use=yes
35391 else
35392 echo "$as_me: failed program was:" >&5
35393 sed 's/^/| /' conftest.$ac_ext >&5
35395 glibcxx_cv_func_sincosl_use=no
35397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35398 ac_ext=c
35399 ac_cpp='$CPP $CPPFLAGS'
35400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35409 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35413 for ac_func in sincosl
35415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35416 echo "$as_me:$LINENO: checking for $ac_func" >&5
35417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35418 if eval "test \"\${$as_ac_var+set}\" = set"; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 else
35421 if test x$gcc_no_link = xyes; then
35422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35424 { (exit 1); exit 1; }; }
35426 cat >conftest.$ac_ext <<_ACEOF
35427 /* confdefs.h. */
35428 _ACEOF
35429 cat confdefs.h >>conftest.$ac_ext
35430 cat >>conftest.$ac_ext <<_ACEOF
35431 /* end confdefs.h. */
35432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35434 #define $ac_func innocuous_$ac_func
35436 /* System header to define __stub macros and hopefully few prototypes,
35437 which can conflict with char $ac_func (); below.
35438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35439 <limits.h> exists even on freestanding compilers. */
35441 #ifdef __STDC__
35442 # include <limits.h>
35443 #else
35444 # include <assert.h>
35445 #endif
35447 #undef $ac_func
35449 /* Override any gcc2 internal prototype to avoid an error. */
35450 #ifdef __cplusplus
35451 extern "C"
35453 #endif
35454 /* We use char because int might match the return type of a gcc2
35455 builtin and then its argument prototype would still apply. */
35456 char $ac_func ();
35457 /* The GNU C library defines this for functions which it implements
35458 to always fail with ENOSYS. Some functions are actually named
35459 something starting with __ and the normal name is an alias. */
35460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35461 choke me
35462 #else
35463 char (*f) () = $ac_func;
35464 #endif
35465 #ifdef __cplusplus
35467 #endif
35470 main ()
35472 return f != $ac_func;
35474 return 0;
35476 _ACEOF
35477 rm -f conftest.$ac_objext conftest$ac_exeext
35478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35479 (eval $ac_link) 2>conftest.er1
35480 ac_status=$?
35481 grep -v '^ *+' conftest.er1 >conftest.err
35482 rm -f conftest.er1
35483 cat conftest.err >&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); } &&
35486 { ac_try='test -z "$ac_c_werror_flag"
35487 || test ! -s conftest.err'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; } &&
35493 { ac_try='test -s conftest$ac_exeext'
35494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495 (eval $ac_try) 2>&5
35496 ac_status=$?
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); }; }; then
35499 eval "$as_ac_var=yes"
35500 else
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35504 eval "$as_ac_var=no"
35506 rm -f conftest.err conftest.$ac_objext \
35507 conftest$ac_exeext conftest.$ac_ext
35509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35511 if test `eval echo '${'$as_ac_var'}'` = yes; then
35512 cat >>confdefs.h <<_ACEOF
35513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35514 _ACEOF
35517 done
35519 else
35521 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35522 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35523 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35524 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35525 echo $ECHO_N "(cached) $ECHO_C" >&6
35526 else
35530 ac_ext=cc
35531 ac_cpp='$CXXCPP $CPPFLAGS'
35532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35536 cat >conftest.$ac_ext <<_ACEOF
35537 /* confdefs.h. */
35538 _ACEOF
35539 cat confdefs.h >>conftest.$ac_ext
35540 cat >>conftest.$ac_ext <<_ACEOF
35541 /* end confdefs.h. */
35542 #include <math.h>
35544 main ()
35546 _sincosl(0, 0, 0);
35548 return 0;
35550 _ACEOF
35551 rm -f conftest.$ac_objext
35552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35553 (eval $ac_compile) 2>conftest.er1
35554 ac_status=$?
35555 grep -v '^ *+' conftest.er1 >conftest.err
35556 rm -f conftest.er1
35557 cat conftest.err >&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } &&
35560 { ac_try='test -z "$ac_cxx_werror_flag"
35561 || test ! -s conftest.err'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35564 ac_status=$?
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } &&
35567 { ac_try='test -s conftest.$ac_objext'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35570 ac_status=$?
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; }; then
35573 glibcxx_cv_func__sincosl_use=yes
35574 else
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.$ac_ext >&5
35578 glibcxx_cv_func__sincosl_use=no
35580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35581 ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35592 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35594 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35596 for ac_func in _sincosl
35598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35599 echo "$as_me:$LINENO: checking for $ac_func" >&5
35600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35601 if eval "test \"\${$as_ac_var+set}\" = set"; then
35602 echo $ECHO_N "(cached) $ECHO_C" >&6
35603 else
35604 if test x$gcc_no_link = xyes; then
35605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35607 { (exit 1); exit 1; }; }
35609 cat >conftest.$ac_ext <<_ACEOF
35610 /* confdefs.h. */
35611 _ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35617 #define $ac_func innocuous_$ac_func
35619 /* System header to define __stub macros and hopefully few prototypes,
35620 which can conflict with char $ac_func (); below.
35621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35622 <limits.h> exists even on freestanding compilers. */
35624 #ifdef __STDC__
35625 # include <limits.h>
35626 #else
35627 # include <assert.h>
35628 #endif
35630 #undef $ac_func
35632 /* Override any gcc2 internal prototype to avoid an error. */
35633 #ifdef __cplusplus
35634 extern "C"
35636 #endif
35637 /* We use char because int might match the return type of a gcc2
35638 builtin and then its argument prototype would still apply. */
35639 char $ac_func ();
35640 /* The GNU C library defines this for functions which it implements
35641 to always fail with ENOSYS. Some functions are actually named
35642 something starting with __ and the normal name is an alias. */
35643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35644 choke me
35645 #else
35646 char (*f) () = $ac_func;
35647 #endif
35648 #ifdef __cplusplus
35650 #endif
35653 main ()
35655 return f != $ac_func;
35657 return 0;
35659 _ACEOF
35660 rm -f conftest.$ac_objext conftest$ac_exeext
35661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35662 (eval $ac_link) 2>conftest.er1
35663 ac_status=$?
35664 grep -v '^ *+' conftest.er1 >conftest.err
35665 rm -f conftest.er1
35666 cat conftest.err >&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); } &&
35669 { ac_try='test -z "$ac_c_werror_flag"
35670 || test ! -s conftest.err'
35671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672 (eval $ac_try) 2>&5
35673 ac_status=$?
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); }; } &&
35676 { ac_try='test -s conftest$ac_exeext'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35679 ac_status=$?
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; }; then
35682 eval "$as_ac_var=yes"
35683 else
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35687 eval "$as_ac_var=no"
35689 rm -f conftest.err conftest.$ac_objext \
35690 conftest$ac_exeext conftest.$ac_ext
35692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35694 if test `eval echo '${'$as_ac_var'}'` = yes; then
35695 cat >>confdefs.h <<_ACEOF
35696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35697 _ACEOF
35700 done
35710 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35711 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35712 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35713 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35714 echo $ECHO_N "(cached) $ECHO_C" >&6
35715 else
35719 ac_ext=cc
35720 ac_cpp='$CXXCPP $CPPFLAGS'
35721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35725 cat >conftest.$ac_ext <<_ACEOF
35726 /* confdefs.h. */
35727 _ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35731 #include <math.h>
35732 #ifdef HAVE_IEEEFP_H
35733 #include <ieeefp.h>
35734 #endif
35737 main ()
35739 finitel(0);
35741 return 0;
35743 _ACEOF
35744 rm -f conftest.$ac_objext
35745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35746 (eval $ac_compile) 2>conftest.er1
35747 ac_status=$?
35748 grep -v '^ *+' conftest.er1 >conftest.err
35749 rm -f conftest.er1
35750 cat conftest.err >&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } &&
35753 { ac_try='test -z "$ac_cxx_werror_flag"
35754 || test ! -s conftest.err'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35757 ac_status=$?
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; } &&
35760 { ac_try='test -s conftest.$ac_objext'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35763 ac_status=$?
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; }; then
35766 glibcxx_cv_func_finitel_use=yes
35767 else
35768 echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.$ac_ext >&5
35771 glibcxx_cv_func_finitel_use=no
35773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35774 ac_ext=c
35775 ac_cpp='$CPP $CPPFLAGS'
35776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35785 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35787 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35789 for ac_func in finitel
35791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35792 echo "$as_me:$LINENO: checking for $ac_func" >&5
35793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35794 if eval "test \"\${$as_ac_var+set}\" = set"; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35796 else
35797 if test x$gcc_no_link = xyes; then
35798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35800 { (exit 1); exit 1; }; }
35802 cat >conftest.$ac_ext <<_ACEOF
35803 /* confdefs.h. */
35804 _ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35810 #define $ac_func innocuous_$ac_func
35812 /* System header to define __stub macros and hopefully few prototypes,
35813 which can conflict with char $ac_func (); below.
35814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35815 <limits.h> exists even on freestanding compilers. */
35817 #ifdef __STDC__
35818 # include <limits.h>
35819 #else
35820 # include <assert.h>
35821 #endif
35823 #undef $ac_func
35825 /* Override any gcc2 internal prototype to avoid an error. */
35826 #ifdef __cplusplus
35827 extern "C"
35829 #endif
35830 /* We use char because int might match the return type of a gcc2
35831 builtin and then its argument prototype would still apply. */
35832 char $ac_func ();
35833 /* The GNU C library defines this for functions which it implements
35834 to always fail with ENOSYS. Some functions are actually named
35835 something starting with __ and the normal name is an alias. */
35836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35837 choke me
35838 #else
35839 char (*f) () = $ac_func;
35840 #endif
35841 #ifdef __cplusplus
35843 #endif
35846 main ()
35848 return f != $ac_func;
35850 return 0;
35852 _ACEOF
35853 rm -f conftest.$ac_objext conftest$ac_exeext
35854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35855 (eval $ac_link) 2>conftest.er1
35856 ac_status=$?
35857 grep -v '^ *+' conftest.er1 >conftest.err
35858 rm -f conftest.er1
35859 cat conftest.err >&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } &&
35862 { ac_try='test -z "$ac_c_werror_flag"
35863 || test ! -s conftest.err'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; } &&
35869 { ac_try='test -s conftest$ac_exeext'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35872 ac_status=$?
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; }; then
35875 eval "$as_ac_var=yes"
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35880 eval "$as_ac_var=no"
35882 rm -f conftest.err conftest.$ac_objext \
35883 conftest$ac_exeext conftest.$ac_ext
35885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35887 if test `eval echo '${'$as_ac_var'}'` = yes; then
35888 cat >>confdefs.h <<_ACEOF
35889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35890 _ACEOF
35893 done
35895 else
35897 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35898 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35899 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35900 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35901 echo $ECHO_N "(cached) $ECHO_C" >&6
35902 else
35906 ac_ext=cc
35907 ac_cpp='$CXXCPP $CPPFLAGS'
35908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35912 cat >conftest.$ac_ext <<_ACEOF
35913 /* confdefs.h. */
35914 _ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35918 #include <math.h>
35919 #ifdef HAVE_IEEEFP_H
35920 #include <ieeefp.h>
35921 #endif
35924 main ()
35926 _finitel(0);
35928 return 0;
35930 _ACEOF
35931 rm -f conftest.$ac_objext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35933 (eval $ac_compile) 2>conftest.er1
35934 ac_status=$?
35935 grep -v '^ *+' conftest.er1 >conftest.err
35936 rm -f conftest.er1
35937 cat conftest.err >&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); } &&
35940 { ac_try='test -z "$ac_cxx_werror_flag"
35941 || test ! -s conftest.err'
35942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35943 (eval $ac_try) 2>&5
35944 ac_status=$?
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); }; } &&
35947 { ac_try='test -s conftest.$ac_objext'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35950 ac_status=$?
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; }; then
35953 glibcxx_cv_func__finitel_use=yes
35954 else
35955 echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.$ac_ext >&5
35958 glibcxx_cv_func__finitel_use=no
35960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35961 ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35972 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35974 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35976 for ac_func in _finitel
35978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35979 echo "$as_me:$LINENO: checking for $ac_func" >&5
35980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35981 if eval "test \"\${$as_ac_var+set}\" = set"; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35983 else
35984 if test x$gcc_no_link = xyes; then
35985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35987 { (exit 1); exit 1; }; }
35989 cat >conftest.$ac_ext <<_ACEOF
35990 /* confdefs.h. */
35991 _ACEOF
35992 cat confdefs.h >>conftest.$ac_ext
35993 cat >>conftest.$ac_ext <<_ACEOF
35994 /* end confdefs.h. */
35995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35997 #define $ac_func innocuous_$ac_func
35999 /* System header to define __stub macros and hopefully few prototypes,
36000 which can conflict with char $ac_func (); below.
36001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36002 <limits.h> exists even on freestanding compilers. */
36004 #ifdef __STDC__
36005 # include <limits.h>
36006 #else
36007 # include <assert.h>
36008 #endif
36010 #undef $ac_func
36012 /* Override any gcc2 internal prototype to avoid an error. */
36013 #ifdef __cplusplus
36014 extern "C"
36016 #endif
36017 /* We use char because int might match the return type of a gcc2
36018 builtin and then its argument prototype would still apply. */
36019 char $ac_func ();
36020 /* The GNU C library defines this for functions which it implements
36021 to always fail with ENOSYS. Some functions are actually named
36022 something starting with __ and the normal name is an alias. */
36023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36024 choke me
36025 #else
36026 char (*f) () = $ac_func;
36027 #endif
36028 #ifdef __cplusplus
36030 #endif
36033 main ()
36035 return f != $ac_func;
36037 return 0;
36039 _ACEOF
36040 rm -f conftest.$ac_objext conftest$ac_exeext
36041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36042 (eval $ac_link) 2>conftest.er1
36043 ac_status=$?
36044 grep -v '^ *+' conftest.er1 >conftest.err
36045 rm -f conftest.er1
36046 cat conftest.err >&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } &&
36049 { ac_try='test -z "$ac_c_werror_flag"
36050 || test ! -s conftest.err'
36051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36052 (eval $ac_try) 2>&5
36053 ac_status=$?
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); }; } &&
36056 { ac_try='test -s conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 eval "$as_ac_var=yes"
36063 else
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.$ac_ext >&5
36067 eval "$as_ac_var=no"
36069 rm -f conftest.err conftest.$ac_objext \
36070 conftest$ac_exeext conftest.$ac_ext
36072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36074 if test `eval echo '${'$as_ac_var'}'` = yes; then
36075 cat >>confdefs.h <<_ACEOF
36076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36077 _ACEOF
36080 done
36089 LIBS="$ac_save_LIBS"
36090 CXXFLAGS="$ac_save_CXXFLAGS"
36094 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36095 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36096 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36097 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 else
36103 ac_ext=cc
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36109 cat >conftest.$ac_ext <<_ACEOF
36110 /* confdefs.h. */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <math.h>
36117 main ()
36119 __builtin_abs(0);
36121 return 0;
36123 _ACEOF
36124 rm -f conftest.$ac_objext
36125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36126 (eval $ac_compile) 2>conftest.er1
36127 ac_status=$?
36128 grep -v '^ *+' conftest.er1 >conftest.err
36129 rm -f conftest.er1
36130 cat conftest.err >&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); } &&
36133 { ac_try='test -z "$ac_cxx_werror_flag"
36134 || test ! -s conftest.err'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36137 ac_status=$?
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; } &&
36140 { ac_try='test -s conftest.$ac_objext'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36143 ac_status=$?
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; }; then
36146 glibcxx_cv_func___builtin_abs_use=yes
36147 else
36148 echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.$ac_ext >&5
36151 glibcxx_cv_func___builtin_abs_use=no
36153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36154 ac_ext=c
36155 ac_cpp='$CPP $CPPFLAGS'
36156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36164 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36165 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36166 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36167 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36168 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36169 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36170 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36171 echo $ECHO_N "(cached) $ECHO_C" >&6
36172 else
36174 if test x$gcc_no_link = xyes; then
36175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36177 { (exit 1); exit 1; }; }
36179 cat >conftest.$ac_ext <<_ACEOF
36180 /* confdefs.h. */
36181 _ACEOF
36182 cat confdefs.h >>conftest.$ac_ext
36183 cat >>conftest.$ac_ext <<_ACEOF
36184 /* end confdefs.h. */
36185 #include <math.h>
36187 main ()
36189 __builtin_abs(0);
36191 return 0;
36193 _ACEOF
36194 rm -f conftest.$ac_objext conftest$ac_exeext
36195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36196 (eval $ac_link) 2>conftest.er1
36197 ac_status=$?
36198 grep -v '^ *+' conftest.er1 >conftest.err
36199 rm -f conftest.er1
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } &&
36203 { ac_try='test -z "$ac_c_werror_flag"
36204 || test ! -s conftest.err'
36205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36206 (eval $ac_try) 2>&5
36207 ac_status=$?
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); }; } &&
36210 { ac_try='test -s conftest$ac_exeext'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36213 ac_status=$?
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; }; then
36216 glibcxx_cv_func___builtin_abs_link=yes
36217 else
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36221 glibcxx_cv_func___builtin_abs_link=no
36223 rm -f conftest.err conftest.$ac_objext \
36224 conftest$ac_exeext conftest.$ac_ext
36229 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36230 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36232 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36234 cat >>confdefs.h <<\_ACEOF
36235 #define HAVE___BUILTIN_ABS 1
36236 _ACEOF
36243 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36244 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36245 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36246 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36247 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 else
36252 ac_ext=cc
36253 ac_cpp='$CXXCPP $CPPFLAGS'
36254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36258 cat >conftest.$ac_ext <<_ACEOF
36259 /* confdefs.h. */
36260 _ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264 #include <math.h>
36266 main ()
36268 __builtin_fabsf(0);
36270 return 0;
36272 _ACEOF
36273 rm -f conftest.$ac_objext
36274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36275 (eval $ac_compile) 2>conftest.er1
36276 ac_status=$?
36277 grep -v '^ *+' conftest.er1 >conftest.err
36278 rm -f conftest.er1
36279 cat conftest.err >&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); } &&
36282 { ac_try='test -z "$ac_cxx_werror_flag"
36283 || test ! -s conftest.err'
36284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36285 (eval $ac_try) 2>&5
36286 ac_status=$?
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); }; } &&
36289 { ac_try='test -s conftest.$ac_objext'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36292 ac_status=$?
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; }; then
36295 glibcxx_cv_func___builtin_fabsf_use=yes
36296 else
36297 echo "$as_me: failed program was:" >&5
36298 sed 's/^/| /' conftest.$ac_ext >&5
36300 glibcxx_cv_func___builtin_fabsf_use=no
36302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36303 ac_ext=c
36304 ac_cpp='$CPP $CPPFLAGS'
36305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36314 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36315 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36316 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36317 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36318 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36319 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36323 if test x$gcc_no_link = xyes; then
36324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36326 { (exit 1); exit 1; }; }
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h. */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 #include <math.h>
36336 main ()
36338 __builtin_fabsf(0);
36340 return 0;
36342 _ACEOF
36343 rm -f conftest.$ac_objext conftest$ac_exeext
36344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36345 (eval $ac_link) 2>conftest.er1
36346 ac_status=$?
36347 grep -v '^ *+' conftest.er1 >conftest.err
36348 rm -f conftest.er1
36349 cat conftest.err >&5
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); } &&
36352 { ac_try='test -z "$ac_c_werror_flag"
36353 || test ! -s conftest.err'
36354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355 (eval $ac_try) 2>&5
36356 ac_status=$?
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); }; } &&
36359 { ac_try='test -s conftest$ac_exeext'
36360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361 (eval $ac_try) 2>&5
36362 ac_status=$?
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); }; }; then
36365 glibcxx_cv_func___builtin_fabsf_link=yes
36366 else
36367 echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.$ac_ext >&5
36370 glibcxx_cv_func___builtin_fabsf_link=no
36372 rm -f conftest.err conftest.$ac_objext \
36373 conftest$ac_exeext conftest.$ac_ext
36378 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36379 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36381 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36383 cat >>confdefs.h <<\_ACEOF
36384 #define HAVE___BUILTIN_FABSF 1
36385 _ACEOF
36392 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36393 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36394 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36395 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36401 ac_ext=cc
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36407 cat >conftest.$ac_ext <<_ACEOF
36408 /* confdefs.h. */
36409 _ACEOF
36410 cat confdefs.h >>conftest.$ac_ext
36411 cat >>conftest.$ac_ext <<_ACEOF
36412 /* end confdefs.h. */
36413 #include <math.h>
36415 main ()
36417 __builtin_fabs(0);
36419 return 0;
36421 _ACEOF
36422 rm -f conftest.$ac_objext
36423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36424 (eval $ac_compile) 2>conftest.er1
36425 ac_status=$?
36426 grep -v '^ *+' conftest.er1 >conftest.err
36427 rm -f conftest.er1
36428 cat conftest.err >&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); } &&
36431 { ac_try='test -z "$ac_cxx_werror_flag"
36432 || test ! -s conftest.err'
36433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36434 (eval $ac_try) 2>&5
36435 ac_status=$?
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); }; } &&
36438 { ac_try='test -s conftest.$ac_objext'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36441 ac_status=$?
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; }; then
36444 glibcxx_cv_func___builtin_fabs_use=yes
36445 else
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36449 glibcxx_cv_func___builtin_fabs_use=no
36451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36452 ac_ext=c
36453 ac_cpp='$CPP $CPPFLAGS'
36454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36463 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36464 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36465 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36466 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36467 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36468 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 else
36472 if test x$gcc_no_link = xyes; then
36473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36475 { (exit 1); exit 1; }; }
36477 cat >conftest.$ac_ext <<_ACEOF
36478 /* confdefs.h. */
36479 _ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36483 #include <math.h>
36485 main ()
36487 __builtin_fabs(0);
36489 return 0;
36491 _ACEOF
36492 rm -f conftest.$ac_objext conftest$ac_exeext
36493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36494 (eval $ac_link) 2>conftest.er1
36495 ac_status=$?
36496 grep -v '^ *+' conftest.er1 >conftest.err
36497 rm -f conftest.er1
36498 cat conftest.err >&5
36499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500 (exit $ac_status); } &&
36501 { ac_try='test -z "$ac_c_werror_flag"
36502 || test ! -s conftest.err'
36503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36504 (eval $ac_try) 2>&5
36505 ac_status=$?
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); }; } &&
36508 { ac_try='test -s conftest$ac_exeext'
36509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510 (eval $ac_try) 2>&5
36511 ac_status=$?
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); }; }; then
36514 glibcxx_cv_func___builtin_fabs_link=yes
36515 else
36516 echo "$as_me: failed program was:" >&5
36517 sed 's/^/| /' conftest.$ac_ext >&5
36519 glibcxx_cv_func___builtin_fabs_link=no
36521 rm -f conftest.err conftest.$ac_objext \
36522 conftest$ac_exeext conftest.$ac_ext
36527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36528 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36530 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36532 cat >>confdefs.h <<\_ACEOF
36533 #define HAVE___BUILTIN_FABS 1
36534 _ACEOF
36541 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36542 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36543 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36544 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36545 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 else
36550 ac_ext=cc
36551 ac_cpp='$CXXCPP $CPPFLAGS'
36552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36556 cat >conftest.$ac_ext <<_ACEOF
36557 /* confdefs.h. */
36558 _ACEOF
36559 cat confdefs.h >>conftest.$ac_ext
36560 cat >>conftest.$ac_ext <<_ACEOF
36561 /* end confdefs.h. */
36562 #include <math.h>
36564 main ()
36566 __builtin_fabsl(0);
36568 return 0;
36570 _ACEOF
36571 rm -f conftest.$ac_objext
36572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36573 (eval $ac_compile) 2>conftest.er1
36574 ac_status=$?
36575 grep -v '^ *+' conftest.er1 >conftest.err
36576 rm -f conftest.er1
36577 cat conftest.err >&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); } &&
36580 { ac_try='test -z "$ac_cxx_werror_flag"
36581 || test ! -s conftest.err'
36582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583 (eval $ac_try) 2>&5
36584 ac_status=$?
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); }; } &&
36587 { ac_try='test -s conftest.$ac_objext'
36588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36589 (eval $ac_try) 2>&5
36590 ac_status=$?
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); }; }; then
36593 glibcxx_cv_func___builtin_fabsl_use=yes
36594 else
36595 echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.$ac_ext >&5
36598 glibcxx_cv_func___builtin_fabsl_use=no
36600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36601 ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36612 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36613 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36614 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36615 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36616 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36617 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36618 echo $ECHO_N "(cached) $ECHO_C" >&6
36619 else
36621 if test x$gcc_no_link = xyes; then
36622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36624 { (exit 1); exit 1; }; }
36626 cat >conftest.$ac_ext <<_ACEOF
36627 /* confdefs.h. */
36628 _ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 #include <math.h>
36634 main ()
36636 __builtin_fabsl(0);
36638 return 0;
36640 _ACEOF
36641 rm -f conftest.$ac_objext conftest$ac_exeext
36642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36643 (eval $ac_link) 2>conftest.er1
36644 ac_status=$?
36645 grep -v '^ *+' conftest.er1 >conftest.err
36646 rm -f conftest.er1
36647 cat conftest.err >&5
36648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649 (exit $ac_status); } &&
36650 { ac_try='test -z "$ac_c_werror_flag"
36651 || test ! -s conftest.err'
36652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36653 (eval $ac_try) 2>&5
36654 ac_status=$?
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); }; } &&
36657 { ac_try='test -s conftest$ac_exeext'
36658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659 (eval $ac_try) 2>&5
36660 ac_status=$?
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; }; then
36663 glibcxx_cv_func___builtin_fabsl_link=yes
36664 else
36665 echo "$as_me: failed program was:" >&5
36666 sed 's/^/| /' conftest.$ac_ext >&5
36668 glibcxx_cv_func___builtin_fabsl_link=no
36670 rm -f conftest.err conftest.$ac_objext \
36671 conftest$ac_exeext conftest.$ac_ext
36676 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36677 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36679 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36681 cat >>confdefs.h <<\_ACEOF
36682 #define HAVE___BUILTIN_FABSL 1
36683 _ACEOF
36690 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36691 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36692 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36693 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 else
36699 ac_ext=cc
36700 ac_cpp='$CXXCPP $CPPFLAGS'
36701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36705 cat >conftest.$ac_ext <<_ACEOF
36706 /* confdefs.h. */
36707 _ACEOF
36708 cat confdefs.h >>conftest.$ac_ext
36709 cat >>conftest.$ac_ext <<_ACEOF
36710 /* end confdefs.h. */
36711 #include <math.h>
36713 main ()
36715 __builtin_labs(0);
36717 return 0;
36719 _ACEOF
36720 rm -f conftest.$ac_objext
36721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36722 (eval $ac_compile) 2>conftest.er1
36723 ac_status=$?
36724 grep -v '^ *+' conftest.er1 >conftest.err
36725 rm -f conftest.er1
36726 cat conftest.err >&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } &&
36729 { ac_try='test -z "$ac_cxx_werror_flag"
36730 || test ! -s conftest.err'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36733 ac_status=$?
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; } &&
36736 { ac_try='test -s conftest.$ac_objext'
36737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738 (eval $ac_try) 2>&5
36739 ac_status=$?
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); }; }; then
36742 glibcxx_cv_func___builtin_labs_use=yes
36743 else
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36747 glibcxx_cv_func___builtin_labs_use=no
36749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36750 ac_ext=c
36751 ac_cpp='$CPP $CPPFLAGS'
36752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36761 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36762 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36763 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36764 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36765 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36766 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36768 else
36770 if test x$gcc_no_link = xyes; then
36771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36773 { (exit 1); exit 1; }; }
36775 cat >conftest.$ac_ext <<_ACEOF
36776 /* confdefs.h. */
36777 _ACEOF
36778 cat confdefs.h >>conftest.$ac_ext
36779 cat >>conftest.$ac_ext <<_ACEOF
36780 /* end confdefs.h. */
36781 #include <math.h>
36783 main ()
36785 __builtin_labs(0);
36787 return 0;
36789 _ACEOF
36790 rm -f conftest.$ac_objext conftest$ac_exeext
36791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36792 (eval $ac_link) 2>conftest.er1
36793 ac_status=$?
36794 grep -v '^ *+' conftest.er1 >conftest.err
36795 rm -f conftest.er1
36796 cat conftest.err >&5
36797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798 (exit $ac_status); } &&
36799 { ac_try='test -z "$ac_c_werror_flag"
36800 || test ! -s conftest.err'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; } &&
36806 { ac_try='test -s conftest$ac_exeext'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36809 ac_status=$?
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; }; then
36812 glibcxx_cv_func___builtin_labs_link=yes
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36817 glibcxx_cv_func___builtin_labs_link=no
36819 rm -f conftest.err conftest.$ac_objext \
36820 conftest$ac_exeext conftest.$ac_ext
36825 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36826 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36828 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36830 cat >>confdefs.h <<\_ACEOF
36831 #define HAVE___BUILTIN_LABS 1
36832 _ACEOF
36840 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36841 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36842 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36843 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36844 echo $ECHO_N "(cached) $ECHO_C" >&6
36845 else
36849 ac_ext=cc
36850 ac_cpp='$CXXCPP $CPPFLAGS'
36851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36855 cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h. */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 #include <math.h>
36863 main ()
36865 __builtin_sqrtf(0);
36867 return 0;
36869 _ACEOF
36870 rm -f conftest.$ac_objext
36871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36872 (eval $ac_compile) 2>conftest.er1
36873 ac_status=$?
36874 grep -v '^ *+' conftest.er1 >conftest.err
36875 rm -f conftest.er1
36876 cat conftest.err >&5
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); } &&
36879 { ac_try='test -z "$ac_cxx_werror_flag"
36880 || test ! -s conftest.err'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36883 ac_status=$?
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; } &&
36886 { ac_try='test -s conftest.$ac_objext'
36887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888 (eval $ac_try) 2>&5
36889 ac_status=$?
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); }; }; then
36892 glibcxx_cv_func___builtin_sqrtf_use=yes
36893 else
36894 echo "$as_me: failed program was:" >&5
36895 sed 's/^/| /' conftest.$ac_ext >&5
36897 glibcxx_cv_func___builtin_sqrtf_use=no
36899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36900 ac_ext=c
36901 ac_cpp='$CPP $CPPFLAGS'
36902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36911 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36912 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36913 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36914 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36915 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36916 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36917 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 else
36920 if test x$gcc_no_link = xyes; then
36921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36923 { (exit 1); exit 1; }; }
36925 cat >conftest.$ac_ext <<_ACEOF
36926 /* confdefs.h. */
36927 _ACEOF
36928 cat confdefs.h >>conftest.$ac_ext
36929 cat >>conftest.$ac_ext <<_ACEOF
36930 /* end confdefs.h. */
36931 #include <math.h>
36933 main ()
36935 __builtin_sqrtf(0);
36937 return 0;
36939 _ACEOF
36940 rm -f conftest.$ac_objext conftest$ac_exeext
36941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36942 (eval $ac_link) 2>conftest.er1
36943 ac_status=$?
36944 grep -v '^ *+' conftest.er1 >conftest.err
36945 rm -f conftest.er1
36946 cat conftest.err >&5
36947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948 (exit $ac_status); } &&
36949 { ac_try='test -z "$ac_c_werror_flag"
36950 || test ! -s conftest.err'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36953 ac_status=$?
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; } &&
36956 { ac_try='test -s conftest$ac_exeext'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36959 ac_status=$?
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; }; then
36962 glibcxx_cv_func___builtin_sqrtf_link=yes
36963 else
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.$ac_ext >&5
36967 glibcxx_cv_func___builtin_sqrtf_link=no
36969 rm -f conftest.err conftest.$ac_objext \
36970 conftest$ac_exeext conftest.$ac_ext
36975 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36976 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36978 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36980 cat >>confdefs.h <<\_ACEOF
36981 #define HAVE___BUILTIN_SQRTF 1
36982 _ACEOF
36989 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36990 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36991 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36992 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36993 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 else
36998 ac_ext=cc
36999 ac_cpp='$CXXCPP $CPPFLAGS'
37000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37004 cat >conftest.$ac_ext <<_ACEOF
37005 /* confdefs.h. */
37006 _ACEOF
37007 cat confdefs.h >>conftest.$ac_ext
37008 cat >>conftest.$ac_ext <<_ACEOF
37009 /* end confdefs.h. */
37010 #include <math.h>
37012 main ()
37014 __builtin_sqrt(0);
37016 return 0;
37018 _ACEOF
37019 rm -f conftest.$ac_objext
37020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37021 (eval $ac_compile) 2>conftest.er1
37022 ac_status=$?
37023 grep -v '^ *+' conftest.er1 >conftest.err
37024 rm -f conftest.er1
37025 cat conftest.err >&5
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); } &&
37028 { ac_try='test -z "$ac_cxx_werror_flag"
37029 || test ! -s conftest.err'
37030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37031 (eval $ac_try) 2>&5
37032 ac_status=$?
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); }; } &&
37035 { ac_try='test -s conftest.$ac_objext'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; }; then
37041 glibcxx_cv_func___builtin_sqrt_use=yes
37042 else
37043 echo "$as_me: failed program was:" >&5
37044 sed 's/^/| /' conftest.$ac_ext >&5
37046 glibcxx_cv_func___builtin_sqrt_use=no
37048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37049 ac_ext=c
37050 ac_cpp='$CPP $CPPFLAGS'
37051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37061 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37062 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37063 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37064 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37065 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37066 echo $ECHO_N "(cached) $ECHO_C" >&6
37067 else
37069 if test x$gcc_no_link = xyes; then
37070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37072 { (exit 1); exit 1; }; }
37074 cat >conftest.$ac_ext <<_ACEOF
37075 /* confdefs.h. */
37076 _ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080 #include <math.h>
37082 main ()
37084 __builtin_sqrt(0);
37086 return 0;
37088 _ACEOF
37089 rm -f conftest.$ac_objext conftest$ac_exeext
37090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37091 (eval $ac_link) 2>conftest.er1
37092 ac_status=$?
37093 grep -v '^ *+' conftest.er1 >conftest.err
37094 rm -f conftest.er1
37095 cat conftest.err >&5
37096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097 (exit $ac_status); } &&
37098 { ac_try='test -z "$ac_c_werror_flag"
37099 || test ! -s conftest.err'
37100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101 (eval $ac_try) 2>&5
37102 ac_status=$?
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); }; } &&
37105 { ac_try='test -s conftest$ac_exeext'
37106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107 (eval $ac_try) 2>&5
37108 ac_status=$?
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); }; }; then
37111 glibcxx_cv_func___builtin_sqrt_link=yes
37112 else
37113 echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37116 glibcxx_cv_func___builtin_sqrt_link=no
37118 rm -f conftest.err conftest.$ac_objext \
37119 conftest$ac_exeext conftest.$ac_ext
37124 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37127 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37129 cat >>confdefs.h <<\_ACEOF
37130 #define HAVE___BUILTIN_SQRT 1
37131 _ACEOF
37138 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37139 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37140 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37141 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37142 echo $ECHO_N "(cached) $ECHO_C" >&6
37143 else
37147 ac_ext=cc
37148 ac_cpp='$CXXCPP $CPPFLAGS'
37149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37153 cat >conftest.$ac_ext <<_ACEOF
37154 /* confdefs.h. */
37155 _ACEOF
37156 cat confdefs.h >>conftest.$ac_ext
37157 cat >>conftest.$ac_ext <<_ACEOF
37158 /* end confdefs.h. */
37159 #include <math.h>
37161 main ()
37163 __builtin_sqrtl(0);
37165 return 0;
37167 _ACEOF
37168 rm -f conftest.$ac_objext
37169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37170 (eval $ac_compile) 2>conftest.er1
37171 ac_status=$?
37172 grep -v '^ *+' conftest.er1 >conftest.err
37173 rm -f conftest.er1
37174 cat conftest.err >&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); } &&
37177 { ac_try='test -z "$ac_cxx_werror_flag"
37178 || test ! -s conftest.err'
37179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37180 (eval $ac_try) 2>&5
37181 ac_status=$?
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); }; } &&
37184 { ac_try='test -s conftest.$ac_objext'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37187 ac_status=$?
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; }; then
37190 glibcxx_cv_func___builtin_sqrtl_use=yes
37191 else
37192 echo "$as_me: failed program was:" >&5
37193 sed 's/^/| /' conftest.$ac_ext >&5
37195 glibcxx_cv_func___builtin_sqrtl_use=no
37197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37198 ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37210 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37211 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37212 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37213 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37214 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37218 if test x$gcc_no_link = xyes; then
37219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37221 { (exit 1); exit 1; }; }
37223 cat >conftest.$ac_ext <<_ACEOF
37224 /* confdefs.h. */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229 #include <math.h>
37231 main ()
37233 __builtin_sqrtl(0);
37235 return 0;
37237 _ACEOF
37238 rm -f conftest.$ac_objext conftest$ac_exeext
37239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37240 (eval $ac_link) 2>conftest.er1
37241 ac_status=$?
37242 grep -v '^ *+' conftest.er1 >conftest.err
37243 rm -f conftest.er1
37244 cat conftest.err >&5
37245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37246 (exit $ac_status); } &&
37247 { ac_try='test -z "$ac_c_werror_flag"
37248 || test ! -s conftest.err'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37251 ac_status=$?
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; } &&
37254 { ac_try='test -s conftest$ac_exeext'
37255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256 (eval $ac_try) 2>&5
37257 ac_status=$?
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); }; }; then
37260 glibcxx_cv_func___builtin_sqrtl_link=yes
37261 else
37262 echo "$as_me: failed program was:" >&5
37263 sed 's/^/| /' conftest.$ac_ext >&5
37265 glibcxx_cv_func___builtin_sqrtl_link=no
37267 rm -f conftest.err conftest.$ac_objext \
37268 conftest$ac_exeext conftest.$ac_ext
37273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37276 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37278 cat >>confdefs.h <<\_ACEOF
37279 #define HAVE___BUILTIN_SQRTL 1
37280 _ACEOF
37288 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37289 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37290 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37291 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37292 echo $ECHO_N "(cached) $ECHO_C" >&6
37293 else
37297 ac_ext=cc
37298 ac_cpp='$CXXCPP $CPPFLAGS'
37299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37303 cat >conftest.$ac_ext <<_ACEOF
37304 /* confdefs.h. */
37305 _ACEOF
37306 cat confdefs.h >>conftest.$ac_ext
37307 cat >>conftest.$ac_ext <<_ACEOF
37308 /* end confdefs.h. */
37309 #include <math.h>
37311 main ()
37313 __builtin_sinf(0);
37315 return 0;
37317 _ACEOF
37318 rm -f conftest.$ac_objext
37319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37320 (eval $ac_compile) 2>conftest.er1
37321 ac_status=$?
37322 grep -v '^ *+' conftest.er1 >conftest.err
37323 rm -f conftest.er1
37324 cat conftest.err >&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } &&
37327 { ac_try='test -z "$ac_cxx_werror_flag"
37328 || test ! -s conftest.err'
37329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37330 (eval $ac_try) 2>&5
37331 ac_status=$?
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); }; } &&
37334 { ac_try='test -s conftest.$ac_objext'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37337 ac_status=$?
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; }; then
37340 glibcxx_cv_func___builtin_sinf_use=yes
37341 else
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37345 glibcxx_cv_func___builtin_sinf_use=no
37347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37348 ac_ext=c
37349 ac_cpp='$CPP $CPPFLAGS'
37350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37360 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37361 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37362 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37363 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37364 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37365 echo $ECHO_N "(cached) $ECHO_C" >&6
37366 else
37368 if test x$gcc_no_link = xyes; then
37369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37371 { (exit 1); exit 1; }; }
37373 cat >conftest.$ac_ext <<_ACEOF
37374 /* confdefs.h. */
37375 _ACEOF
37376 cat confdefs.h >>conftest.$ac_ext
37377 cat >>conftest.$ac_ext <<_ACEOF
37378 /* end confdefs.h. */
37379 #include <math.h>
37381 main ()
37383 __builtin_sinf(0);
37385 return 0;
37387 _ACEOF
37388 rm -f conftest.$ac_objext conftest$ac_exeext
37389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37390 (eval $ac_link) 2>conftest.er1
37391 ac_status=$?
37392 grep -v '^ *+' conftest.er1 >conftest.err
37393 rm -f conftest.er1
37394 cat conftest.err >&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); } &&
37397 { ac_try='test -z "$ac_c_werror_flag"
37398 || test ! -s conftest.err'
37399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37400 (eval $ac_try) 2>&5
37401 ac_status=$?
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); }; } &&
37404 { ac_try='test -s conftest$ac_exeext'
37405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406 (eval $ac_try) 2>&5
37407 ac_status=$?
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; }; then
37410 glibcxx_cv_func___builtin_sinf_link=yes
37411 else
37412 echo "$as_me: failed program was:" >&5
37413 sed 's/^/| /' conftest.$ac_ext >&5
37415 glibcxx_cv_func___builtin_sinf_link=no
37417 rm -f conftest.err conftest.$ac_objext \
37418 conftest$ac_exeext conftest.$ac_ext
37423 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37426 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37428 cat >>confdefs.h <<\_ACEOF
37429 #define HAVE___BUILTIN_SINF 1
37430 _ACEOF
37437 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37438 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37439 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37440 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37446 ac_ext=cc
37447 ac_cpp='$CXXCPP $CPPFLAGS'
37448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37452 cat >conftest.$ac_ext <<_ACEOF
37453 /* confdefs.h. */
37454 _ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37458 #include <math.h>
37460 main ()
37462 __builtin_sin(0);
37464 return 0;
37466 _ACEOF
37467 rm -f conftest.$ac_objext
37468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37469 (eval $ac_compile) 2>conftest.er1
37470 ac_status=$?
37471 grep -v '^ *+' conftest.er1 >conftest.err
37472 rm -f conftest.er1
37473 cat conftest.err >&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } &&
37476 { ac_try='test -z "$ac_cxx_werror_flag"
37477 || test ! -s conftest.err'
37478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37479 (eval $ac_try) 2>&5
37480 ac_status=$?
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); }; } &&
37483 { ac_try='test -s conftest.$ac_objext'
37484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37485 (eval $ac_try) 2>&5
37486 ac_status=$?
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); }; }; then
37489 glibcxx_cv_func___builtin_sin_use=yes
37490 else
37491 echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37494 glibcxx_cv_func___builtin_sin_use=no
37496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37497 ac_ext=c
37498 ac_cpp='$CPP $CPPFLAGS'
37499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37509 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37510 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37511 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37512 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37513 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37517 if test x$gcc_no_link = xyes; then
37518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37520 { (exit 1); exit 1; }; }
37522 cat >conftest.$ac_ext <<_ACEOF
37523 /* confdefs.h. */
37524 _ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h. */
37528 #include <math.h>
37530 main ()
37532 __builtin_sin(0);
37534 return 0;
37536 _ACEOF
37537 rm -f conftest.$ac_objext conftest$ac_exeext
37538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37539 (eval $ac_link) 2>conftest.er1
37540 ac_status=$?
37541 grep -v '^ *+' conftest.er1 >conftest.err
37542 rm -f conftest.er1
37543 cat conftest.err >&5
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); } &&
37546 { ac_try='test -z "$ac_c_werror_flag"
37547 || test ! -s conftest.err'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37550 ac_status=$?
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; } &&
37553 { ac_try='test -s conftest$ac_exeext'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37556 ac_status=$?
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; }; then
37559 glibcxx_cv_func___builtin_sin_link=yes
37560 else
37561 echo "$as_me: failed program was:" >&5
37562 sed 's/^/| /' conftest.$ac_ext >&5
37564 glibcxx_cv_func___builtin_sin_link=no
37566 rm -f conftest.err conftest.$ac_objext \
37567 conftest$ac_exeext conftest.$ac_ext
37572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37573 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37575 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37577 cat >>confdefs.h <<\_ACEOF
37578 #define HAVE___BUILTIN_SIN 1
37579 _ACEOF
37586 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37587 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37588 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37589 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37590 echo $ECHO_N "(cached) $ECHO_C" >&6
37591 else
37595 ac_ext=cc
37596 ac_cpp='$CXXCPP $CPPFLAGS'
37597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 #include <math.h>
37609 main ()
37611 __builtin_sinl(0);
37613 return 0;
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618 (eval $ac_compile) 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try='test -z "$ac_cxx_werror_flag"
37626 || test ! -s conftest.err'
37627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37628 (eval $ac_try) 2>&5
37629 ac_status=$?
37630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631 (exit $ac_status); }; } &&
37632 { ac_try='test -s conftest.$ac_objext'
37633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634 (eval $ac_try) 2>&5
37635 ac_status=$?
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; }; then
37638 glibcxx_cv_func___builtin_sinl_use=yes
37639 else
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37643 glibcxx_cv_func___builtin_sinl_use=no
37645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37646 ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37658 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37659 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37660 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37661 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37662 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37663 echo $ECHO_N "(cached) $ECHO_C" >&6
37664 else
37666 if test x$gcc_no_link = xyes; then
37667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37669 { (exit 1); exit 1; }; }
37671 cat >conftest.$ac_ext <<_ACEOF
37672 /* confdefs.h. */
37673 _ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37677 #include <math.h>
37679 main ()
37681 __builtin_sinl(0);
37683 return 0;
37685 _ACEOF
37686 rm -f conftest.$ac_objext conftest$ac_exeext
37687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37688 (eval $ac_link) 2>conftest.er1
37689 ac_status=$?
37690 grep -v '^ *+' conftest.er1 >conftest.err
37691 rm -f conftest.er1
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } &&
37695 { ac_try='test -z "$ac_c_werror_flag"
37696 || test ! -s conftest.err'
37697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698 (eval $ac_try) 2>&5
37699 ac_status=$?
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); }; } &&
37702 { ac_try='test -s conftest$ac_exeext'
37703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704 (eval $ac_try) 2>&5
37705 ac_status=$?
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); }; }; then
37708 glibcxx_cv_func___builtin_sinl_link=yes
37709 else
37710 echo "$as_me: failed program was:" >&5
37711 sed 's/^/| /' conftest.$ac_ext >&5
37713 glibcxx_cv_func___builtin_sinl_link=no
37715 rm -f conftest.err conftest.$ac_objext \
37716 conftest$ac_exeext conftest.$ac_ext
37721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37722 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37724 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37726 cat >>confdefs.h <<\_ACEOF
37727 #define HAVE___BUILTIN_SINL 1
37728 _ACEOF
37736 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37737 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37738 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37739 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37745 ac_ext=cc
37746 ac_cpp='$CXXCPP $CPPFLAGS'
37747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37751 cat >conftest.$ac_ext <<_ACEOF
37752 /* confdefs.h. */
37753 _ACEOF
37754 cat confdefs.h >>conftest.$ac_ext
37755 cat >>conftest.$ac_ext <<_ACEOF
37756 /* end confdefs.h. */
37757 #include <math.h>
37759 main ()
37761 __builtin_cosf(0);
37763 return 0;
37765 _ACEOF
37766 rm -f conftest.$ac_objext
37767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37768 (eval $ac_compile) 2>conftest.er1
37769 ac_status=$?
37770 grep -v '^ *+' conftest.er1 >conftest.err
37771 rm -f conftest.er1
37772 cat conftest.err >&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); } &&
37775 { ac_try='test -z "$ac_cxx_werror_flag"
37776 || test ! -s conftest.err'
37777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37778 (eval $ac_try) 2>&5
37779 ac_status=$?
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); }; } &&
37782 { ac_try='test -s conftest.$ac_objext'
37783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784 (eval $ac_try) 2>&5
37785 ac_status=$?
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); }; }; then
37788 glibcxx_cv_func___builtin_cosf_use=yes
37789 else
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37793 glibcxx_cv_func___builtin_cosf_use=no
37795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37796 ac_ext=c
37797 ac_cpp='$CPP $CPPFLAGS'
37798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37807 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37808 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37809 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37810 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37811 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37812 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37816 if test x$gcc_no_link = xyes; then
37817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37819 { (exit 1); exit 1; }; }
37821 cat >conftest.$ac_ext <<_ACEOF
37822 /* confdefs.h. */
37823 _ACEOF
37824 cat confdefs.h >>conftest.$ac_ext
37825 cat >>conftest.$ac_ext <<_ACEOF
37826 /* end confdefs.h. */
37827 #include <math.h>
37829 main ()
37831 __builtin_cosf(0);
37833 return 0;
37835 _ACEOF
37836 rm -f conftest.$ac_objext conftest$ac_exeext
37837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37838 (eval $ac_link) 2>conftest.er1
37839 ac_status=$?
37840 grep -v '^ *+' conftest.er1 >conftest.err
37841 rm -f conftest.er1
37842 cat conftest.err >&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } &&
37845 { ac_try='test -z "$ac_c_werror_flag"
37846 || test ! -s conftest.err'
37847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37848 (eval $ac_try) 2>&5
37849 ac_status=$?
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); }; } &&
37852 { ac_try='test -s conftest$ac_exeext'
37853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854 (eval $ac_try) 2>&5
37855 ac_status=$?
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); }; }; then
37858 glibcxx_cv_func___builtin_cosf_link=yes
37859 else
37860 echo "$as_me: failed program was:" >&5
37861 sed 's/^/| /' conftest.$ac_ext >&5
37863 glibcxx_cv_func___builtin_cosf_link=no
37865 rm -f conftest.err conftest.$ac_objext \
37866 conftest$ac_exeext conftest.$ac_ext
37871 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37872 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37874 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37876 cat >>confdefs.h <<\_ACEOF
37877 #define HAVE___BUILTIN_COSF 1
37878 _ACEOF
37885 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37886 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37887 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37888 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37889 echo $ECHO_N "(cached) $ECHO_C" >&6
37890 else
37894 ac_ext=cc
37895 ac_cpp='$CXXCPP $CPPFLAGS'
37896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37900 cat >conftest.$ac_ext <<_ACEOF
37901 /* confdefs.h. */
37902 _ACEOF
37903 cat confdefs.h >>conftest.$ac_ext
37904 cat >>conftest.$ac_ext <<_ACEOF
37905 /* end confdefs.h. */
37906 #include <math.h>
37908 main ()
37910 __builtin_cos(0);
37912 return 0;
37914 _ACEOF
37915 rm -f conftest.$ac_objext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37917 (eval $ac_compile) 2>conftest.er1
37918 ac_status=$?
37919 grep -v '^ *+' conftest.er1 >conftest.err
37920 rm -f conftest.er1
37921 cat conftest.err >&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } &&
37924 { ac_try='test -z "$ac_cxx_werror_flag"
37925 || test ! -s conftest.err'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; } &&
37931 { ac_try='test -s conftest.$ac_objext'
37932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933 (eval $ac_try) 2>&5
37934 ac_status=$?
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 glibcxx_cv_func___builtin_cos_use=yes
37938 else
37939 echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.$ac_ext >&5
37942 glibcxx_cv_func___builtin_cos_use=no
37944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37945 ac_ext=c
37946 ac_cpp='$CPP $CPPFLAGS'
37947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37955 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37956 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37957 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37958 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37959 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37960 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37961 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37962 echo $ECHO_N "(cached) $ECHO_C" >&6
37963 else
37965 if test x$gcc_no_link = xyes; then
37966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37968 { (exit 1); exit 1; }; }
37970 cat >conftest.$ac_ext <<_ACEOF
37971 /* confdefs.h. */
37972 _ACEOF
37973 cat confdefs.h >>conftest.$ac_ext
37974 cat >>conftest.$ac_ext <<_ACEOF
37975 /* end confdefs.h. */
37976 #include <math.h>
37978 main ()
37980 __builtin_cos(0);
37982 return 0;
37984 _ACEOF
37985 rm -f conftest.$ac_objext conftest$ac_exeext
37986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37987 (eval $ac_link) 2>conftest.er1
37988 ac_status=$?
37989 grep -v '^ *+' conftest.er1 >conftest.err
37990 rm -f conftest.er1
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } &&
37994 { ac_try='test -z "$ac_c_werror_flag"
37995 || test ! -s conftest.err'
37996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37997 (eval $ac_try) 2>&5
37998 ac_status=$?
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); }; } &&
38001 { ac_try='test -s conftest$ac_exeext'
38002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003 (eval $ac_try) 2>&5
38004 ac_status=$?
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); }; }; then
38007 glibcxx_cv_func___builtin_cos_link=yes
38008 else
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38012 glibcxx_cv_func___builtin_cos_link=no
38014 rm -f conftest.err conftest.$ac_objext \
38015 conftest$ac_exeext conftest.$ac_ext
38020 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38021 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38023 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38025 cat >>confdefs.h <<\_ACEOF
38026 #define HAVE___BUILTIN_COS 1
38027 _ACEOF
38034 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38035 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38036 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38037 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38043 ac_ext=cc
38044 ac_cpp='$CXXCPP $CPPFLAGS'
38045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38049 cat >conftest.$ac_ext <<_ACEOF
38050 /* confdefs.h. */
38051 _ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38055 #include <math.h>
38057 main ()
38059 __builtin_cosl(0);
38061 return 0;
38063 _ACEOF
38064 rm -f conftest.$ac_objext
38065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38066 (eval $ac_compile) 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } &&
38073 { ac_try='test -z "$ac_cxx_werror_flag"
38074 || test ! -s conftest.err'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38077 ac_status=$?
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; } &&
38080 { ac_try='test -s conftest.$ac_objext'
38081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38082 (eval $ac_try) 2>&5
38083 ac_status=$?
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); }; }; then
38086 glibcxx_cv_func___builtin_cosl_use=yes
38087 else
38088 echo "$as_me: failed program was:" >&5
38089 sed 's/^/| /' conftest.$ac_ext >&5
38091 glibcxx_cv_func___builtin_cosl_use=no
38093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38094 ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38105 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38106 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38107 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38108 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38109 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38110 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 else
38114 if test x$gcc_no_link = xyes; then
38115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38117 { (exit 1); exit 1; }; }
38119 cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h. */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125 #include <math.h>
38127 main ()
38129 __builtin_cosl(0);
38131 return 0;
38133 _ACEOF
38134 rm -f conftest.$ac_objext conftest$ac_exeext
38135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38136 (eval $ac_link) 2>conftest.er1
38137 ac_status=$?
38138 grep -v '^ *+' conftest.er1 >conftest.err
38139 rm -f conftest.er1
38140 cat conftest.err >&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } &&
38143 { ac_try='test -z "$ac_c_werror_flag"
38144 || test ! -s conftest.err'
38145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146 (eval $ac_try) 2>&5
38147 ac_status=$?
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); }; } &&
38150 { ac_try='test -s conftest$ac_exeext'
38151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38152 (eval $ac_try) 2>&5
38153 ac_status=$?
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); }; }; then
38156 glibcxx_cv_func___builtin_cosl_link=yes
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38161 glibcxx_cv_func___builtin_cosl_link=no
38163 rm -f conftest.err conftest.$ac_objext \
38164 conftest$ac_exeext conftest.$ac_ext
38169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38170 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38172 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38174 cat >>confdefs.h <<\_ACEOF
38175 #define HAVE___BUILTIN_COSL 1
38176 _ACEOF
38185 echo "$as_me:$LINENO: checking for main in -lm" >&5
38186 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38187 if test "${ac_cv_lib_m_main+set}" = set; then
38188 echo $ECHO_N "(cached) $ECHO_C" >&6
38189 else
38190 ac_check_lib_save_LIBS=$LIBS
38191 LIBS="-lm $LIBS"
38192 if test x$gcc_no_link = xyes; then
38193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38195 { (exit 1); exit 1; }; }
38197 cat >conftest.$ac_ext <<_ACEOF
38198 /* confdefs.h. */
38199 _ACEOF
38200 cat confdefs.h >>conftest.$ac_ext
38201 cat >>conftest.$ac_ext <<_ACEOF
38202 /* end confdefs.h. */
38206 main ()
38208 main ();
38210 return 0;
38212 _ACEOF
38213 rm -f conftest.$ac_objext conftest$ac_exeext
38214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38215 (eval $ac_link) 2>conftest.er1
38216 ac_status=$?
38217 grep -v '^ *+' conftest.er1 >conftest.err
38218 rm -f conftest.er1
38219 cat conftest.err >&5
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); } &&
38222 { ac_try='test -z "$ac_c_werror_flag"
38223 || test ! -s conftest.err'
38224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225 (eval $ac_try) 2>&5
38226 ac_status=$?
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); }; } &&
38229 { ac_try='test -s conftest$ac_exeext'
38230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38231 (eval $ac_try) 2>&5
38232 ac_status=$?
38233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234 (exit $ac_status); }; }; then
38235 ac_cv_lib_m_main=yes
38236 else
38237 echo "$as_me: failed program was:" >&5
38238 sed 's/^/| /' conftest.$ac_ext >&5
38240 ac_cv_lib_m_main=no
38242 rm -f conftest.err conftest.$ac_objext \
38243 conftest$ac_exeext conftest.$ac_ext
38244 LIBS=$ac_check_lib_save_LIBS
38246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38247 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38248 if test $ac_cv_lib_m_main = yes; then
38249 cat >>confdefs.h <<_ACEOF
38250 #define HAVE_LIBM 1
38251 _ACEOF
38253 LIBS="-lm $LIBS"
38258 for ac_func in copysignf
38260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38261 echo "$as_me:$LINENO: checking for $ac_func" >&5
38262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38263 if eval "test \"\${$as_ac_var+set}\" = set"; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 else
38266 if test x$gcc_no_link = xyes; then
38267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38269 { (exit 1); exit 1; }; }
38271 cat >conftest.$ac_ext <<_ACEOF
38272 /* confdefs.h. */
38273 _ACEOF
38274 cat confdefs.h >>conftest.$ac_ext
38275 cat >>conftest.$ac_ext <<_ACEOF
38276 /* end confdefs.h. */
38277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38279 #define $ac_func innocuous_$ac_func
38281 /* System header to define __stub macros and hopefully few prototypes,
38282 which can conflict with char $ac_func (); below.
38283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38284 <limits.h> exists even on freestanding compilers. */
38286 #ifdef __STDC__
38287 # include <limits.h>
38288 #else
38289 # include <assert.h>
38290 #endif
38292 #undef $ac_func
38294 /* Override any gcc2 internal prototype to avoid an error. */
38295 #ifdef __cplusplus
38296 extern "C"
38298 #endif
38299 /* We use char because int might match the return type of a gcc2
38300 builtin and then its argument prototype would still apply. */
38301 char $ac_func ();
38302 /* The GNU C library defines this for functions which it implements
38303 to always fail with ENOSYS. Some functions are actually named
38304 something starting with __ and the normal name is an alias. */
38305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38306 choke me
38307 #else
38308 char (*f) () = $ac_func;
38309 #endif
38310 #ifdef __cplusplus
38312 #endif
38315 main ()
38317 return f != $ac_func;
38319 return 0;
38321 _ACEOF
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38324 (eval $ac_link) 2>conftest.er1
38325 ac_status=$?
38326 grep -v '^ *+' conftest.er1 >conftest.err
38327 rm -f conftest.er1
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } &&
38331 { ac_try='test -z "$ac_c_werror_flag"
38332 || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38335 ac_status=$?
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try='test -s conftest$ac_exeext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38341 ac_status=$?
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 eval "$as_ac_var=yes"
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38349 eval "$as_ac_var=no"
38351 rm -f conftest.err conftest.$ac_objext \
38352 conftest$ac_exeext conftest.$ac_ext
38354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38356 if test `eval echo '${'$as_ac_var'}'` = yes; then
38357 cat >>confdefs.h <<_ACEOF
38358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38359 _ACEOF
38361 else
38362 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38364 done
38368 for ac_func in __signbit
38370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38371 echo "$as_me:$LINENO: checking for $ac_func" >&5
38372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38373 if eval "test \"\${$as_ac_var+set}\" = set"; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376 if test x$gcc_no_link = xyes; then
38377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38379 { (exit 1); exit 1; }; }
38381 cat >conftest.$ac_ext <<_ACEOF
38382 /* confdefs.h. */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38389 #define $ac_func innocuous_$ac_func
38391 /* System header to define __stub macros and hopefully few prototypes,
38392 which can conflict with char $ac_func (); below.
38393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38394 <limits.h> exists even on freestanding compilers. */
38396 #ifdef __STDC__
38397 # include <limits.h>
38398 #else
38399 # include <assert.h>
38400 #endif
38402 #undef $ac_func
38404 /* Override any gcc2 internal prototype to avoid an error. */
38405 #ifdef __cplusplus
38406 extern "C"
38408 #endif
38409 /* We use char because int might match the return type of a gcc2
38410 builtin and then its argument prototype would still apply. */
38411 char $ac_func ();
38412 /* The GNU C library defines this for functions which it implements
38413 to always fail with ENOSYS. Some functions are actually named
38414 something starting with __ and the normal name is an alias. */
38415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38416 choke me
38417 #else
38418 char (*f) () = $ac_func;
38419 #endif
38420 #ifdef __cplusplus
38422 #endif
38425 main ()
38427 return f != $ac_func;
38429 return 0;
38431 _ACEOF
38432 rm -f conftest.$ac_objext conftest$ac_exeext
38433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38434 (eval $ac_link) 2>conftest.er1
38435 ac_status=$?
38436 grep -v '^ *+' conftest.er1 >conftest.err
38437 rm -f conftest.er1
38438 cat conftest.err >&5
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); } &&
38441 { ac_try='test -z "$ac_c_werror_flag"
38442 || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try='test -s conftest$ac_exeext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38451 ac_status=$?
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 eval "$as_ac_var=yes"
38455 else
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38459 eval "$as_ac_var=no"
38461 rm -f conftest.err conftest.$ac_objext \
38462 conftest$ac_exeext conftest.$ac_ext
38464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38466 if test `eval echo '${'$as_ac_var'}'` = yes; then
38467 cat >>confdefs.h <<_ACEOF
38468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38469 _ACEOF
38471 else
38472 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38474 done
38478 for ac_func in __signbitf
38480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38481 echo "$as_me:$LINENO: checking for $ac_func" >&5
38482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38483 if eval "test \"\${$as_ac_var+set}\" = set"; then
38484 echo $ECHO_N "(cached) $ECHO_C" >&6
38485 else
38486 if test x$gcc_no_link = xyes; then
38487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38489 { (exit 1); exit 1; }; }
38491 cat >conftest.$ac_ext <<_ACEOF
38492 /* confdefs.h. */
38493 _ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h. */
38497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38499 #define $ac_func innocuous_$ac_func
38501 /* System header to define __stub macros and hopefully few prototypes,
38502 which can conflict with char $ac_func (); below.
38503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38504 <limits.h> exists even on freestanding compilers. */
38506 #ifdef __STDC__
38507 # include <limits.h>
38508 #else
38509 # include <assert.h>
38510 #endif
38512 #undef $ac_func
38514 /* Override any gcc2 internal prototype to avoid an error. */
38515 #ifdef __cplusplus
38516 extern "C"
38518 #endif
38519 /* We use char because int might match the return type of a gcc2
38520 builtin and then its argument prototype would still apply. */
38521 char $ac_func ();
38522 /* The GNU C library defines this for functions which it implements
38523 to always fail with ENOSYS. Some functions are actually named
38524 something starting with __ and the normal name is an alias. */
38525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38526 choke me
38527 #else
38528 char (*f) () = $ac_func;
38529 #endif
38530 #ifdef __cplusplus
38532 #endif
38535 main ()
38537 return f != $ac_func;
38539 return 0;
38541 _ACEOF
38542 rm -f conftest.$ac_objext conftest$ac_exeext
38543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38544 (eval $ac_link) 2>conftest.er1
38545 ac_status=$?
38546 grep -v '^ *+' conftest.er1 >conftest.err
38547 rm -f conftest.er1
38548 cat conftest.err >&5
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); } &&
38551 { ac_try='test -z "$ac_c_werror_flag"
38552 || test ! -s conftest.err'
38553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38554 (eval $ac_try) 2>&5
38555 ac_status=$?
38556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557 (exit $ac_status); }; } &&
38558 { ac_try='test -s conftest$ac_exeext'
38559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38560 (eval $ac_try) 2>&5
38561 ac_status=$?
38562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563 (exit $ac_status); }; }; then
38564 eval "$as_ac_var=yes"
38565 else
38566 echo "$as_me: failed program was:" >&5
38567 sed 's/^/| /' conftest.$ac_ext >&5
38569 eval "$as_ac_var=no"
38571 rm -f conftest.err conftest.$ac_objext \
38572 conftest$ac_exeext conftest.$ac_ext
38574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38576 if test `eval echo '${'$as_ac_var'}'` = yes; then
38577 cat >>confdefs.h <<_ACEOF
38578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38579 _ACEOF
38581 else
38582 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38584 done
38587 if test x$ac_cv_func_copysignl = x"yes"; then
38589 for ac_func in __signbitl
38591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38592 echo "$as_me:$LINENO: checking for $ac_func" >&5
38593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38594 if eval "test \"\${$as_ac_var+set}\" = set"; then
38595 echo $ECHO_N "(cached) $ECHO_C" >&6
38596 else
38597 if test x$gcc_no_link = xyes; then
38598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38600 { (exit 1); exit 1; }; }
38602 cat >conftest.$ac_ext <<_ACEOF
38603 /* confdefs.h. */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38610 #define $ac_func innocuous_$ac_func
38612 /* System header to define __stub macros and hopefully few prototypes,
38613 which can conflict with char $ac_func (); below.
38614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38615 <limits.h> exists even on freestanding compilers. */
38617 #ifdef __STDC__
38618 # include <limits.h>
38619 #else
38620 # include <assert.h>
38621 #endif
38623 #undef $ac_func
38625 /* Override any gcc2 internal prototype to avoid an error. */
38626 #ifdef __cplusplus
38627 extern "C"
38629 #endif
38630 /* We use char because int might match the return type of a gcc2
38631 builtin and then its argument prototype would still apply. */
38632 char $ac_func ();
38633 /* The GNU C library defines this for functions which it implements
38634 to always fail with ENOSYS. Some functions are actually named
38635 something starting with __ and the normal name is an alias. */
38636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38637 choke me
38638 #else
38639 char (*f) () = $ac_func;
38640 #endif
38641 #ifdef __cplusplus
38643 #endif
38646 main ()
38648 return f != $ac_func;
38650 return 0;
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38655 (eval $ac_link) 2>conftest.er1
38656 ac_status=$?
38657 grep -v '^ *+' conftest.er1 >conftest.err
38658 rm -f conftest.er1
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } &&
38662 { ac_try='test -z "$ac_c_werror_flag"
38663 || test ! -s conftest.err'
38664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38665 (eval $ac_try) 2>&5
38666 ac_status=$?
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); }; } &&
38669 { ac_try='test -s conftest$ac_exeext'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38672 ac_status=$?
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; }; then
38675 eval "$as_ac_var=yes"
38676 else
38677 echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38680 eval "$as_ac_var=no"
38682 rm -f conftest.err conftest.$ac_objext \
38683 conftest$ac_exeext conftest.$ac_ext
38685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38687 if test `eval echo '${'$as_ac_var'}'` = yes; then
38688 cat >>confdefs.h <<_ACEOF
38689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38690 _ACEOF
38692 else
38693 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38695 done
38699 # Used in libmath/Makefile.am.
38700 if test -n "$LIBMATHOBJS"; then
38701 need_libmath=yes
38706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38707 ac_save_CXXFLAGS="$CXXFLAGS"
38708 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38711 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38712 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38713 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38714 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 else
38720 ac_ext=cc
38721 ac_cpp='$CXXCPP $CPPFLAGS'
38722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38726 cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h. */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732 #include <stdlib.h>
38734 main ()
38736 strtold(0, 0);
38738 return 0;
38740 _ACEOF
38741 rm -f conftest.$ac_objext
38742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38743 (eval $ac_compile) 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try='test -z "$ac_cxx_werror_flag"
38751 || test ! -s conftest.err'
38752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38753 (eval $ac_try) 2>&5
38754 ac_status=$?
38755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756 (exit $ac_status); }; } &&
38757 { ac_try='test -s conftest.$ac_objext'
38758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38759 (eval $ac_try) 2>&5
38760 ac_status=$?
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; }; then
38763 glibcxx_cv_func_strtold_use=yes
38764 else
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38768 glibcxx_cv_func_strtold_use=no
38770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38771 ac_ext=c
38772 ac_cpp='$CPP $CPPFLAGS'
38773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38782 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38783 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38785 for ac_func in strtold
38787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38788 echo "$as_me:$LINENO: checking for $ac_func" >&5
38789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38790 if eval "test \"\${$as_ac_var+set}\" = set"; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38792 else
38793 if test x$gcc_no_link = xyes; then
38794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38796 { (exit 1); exit 1; }; }
38798 cat >conftest.$ac_ext <<_ACEOF
38799 /* confdefs.h. */
38800 _ACEOF
38801 cat confdefs.h >>conftest.$ac_ext
38802 cat >>conftest.$ac_ext <<_ACEOF
38803 /* end confdefs.h. */
38804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38806 #define $ac_func innocuous_$ac_func
38808 /* System header to define __stub macros and hopefully few prototypes,
38809 which can conflict with char $ac_func (); below.
38810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38811 <limits.h> exists even on freestanding compilers. */
38813 #ifdef __STDC__
38814 # include <limits.h>
38815 #else
38816 # include <assert.h>
38817 #endif
38819 #undef $ac_func
38821 /* Override any gcc2 internal prototype to avoid an error. */
38822 #ifdef __cplusplus
38823 extern "C"
38825 #endif
38826 /* We use char because int might match the return type of a gcc2
38827 builtin and then its argument prototype would still apply. */
38828 char $ac_func ();
38829 /* The GNU C library defines this for functions which it implements
38830 to always fail with ENOSYS. Some functions are actually named
38831 something starting with __ and the normal name is an alias. */
38832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38833 choke me
38834 #else
38835 char (*f) () = $ac_func;
38836 #endif
38837 #ifdef __cplusplus
38839 #endif
38842 main ()
38844 return f != $ac_func;
38846 return 0;
38848 _ACEOF
38849 rm -f conftest.$ac_objext conftest$ac_exeext
38850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38851 (eval $ac_link) 2>conftest.er1
38852 ac_status=$?
38853 grep -v '^ *+' conftest.er1 >conftest.err
38854 rm -f conftest.er1
38855 cat conftest.err >&5
38856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857 (exit $ac_status); } &&
38858 { ac_try='test -z "$ac_c_werror_flag"
38859 || test ! -s conftest.err'
38860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861 (eval $ac_try) 2>&5
38862 ac_status=$?
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); }; } &&
38865 { ac_try='test -s conftest$ac_exeext'
38866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38867 (eval $ac_try) 2>&5
38868 ac_status=$?
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); }; }; then
38871 eval "$as_ac_var=yes"
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38876 eval "$as_ac_var=no"
38878 rm -f conftest.err conftest.$ac_objext \
38879 conftest$ac_exeext conftest.$ac_ext
38881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38883 if test `eval echo '${'$as_ac_var'}'` = yes; then
38884 cat >>confdefs.h <<_ACEOF
38885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38886 _ACEOF
38889 done
38897 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38898 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38899 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38900 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38901 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 else
38906 ac_ext=cc
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912 cat >conftest.$ac_ext <<_ACEOF
38913 /* confdefs.h. */
38914 _ACEOF
38915 cat confdefs.h >>conftest.$ac_ext
38916 cat >>conftest.$ac_ext <<_ACEOF
38917 /* end confdefs.h. */
38918 #include <stdlib.h>
38920 main ()
38922 strtof(0, 0);
38924 return 0;
38926 _ACEOF
38927 rm -f conftest.$ac_objext
38928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38929 (eval $ac_compile) 2>conftest.er1
38930 ac_status=$?
38931 grep -v '^ *+' conftest.er1 >conftest.err
38932 rm -f conftest.er1
38933 cat conftest.err >&5
38934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935 (exit $ac_status); } &&
38936 { ac_try='test -z "$ac_cxx_werror_flag"
38937 || test ! -s conftest.err'
38938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38939 (eval $ac_try) 2>&5
38940 ac_status=$?
38941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38942 (exit $ac_status); }; } &&
38943 { ac_try='test -s conftest.$ac_objext'
38944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38945 (eval $ac_try) 2>&5
38946 ac_status=$?
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); }; }; then
38949 glibcxx_cv_func_strtof_use=yes
38950 else
38951 echo "$as_me: failed program was:" >&5
38952 sed 's/^/| /' conftest.$ac_ext >&5
38954 glibcxx_cv_func_strtof_use=no
38956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38957 ac_ext=c
38958 ac_cpp='$CPP $CPPFLAGS'
38959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38968 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38969 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38971 for ac_func in strtof
38973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38974 echo "$as_me:$LINENO: checking for $ac_func" >&5
38975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38976 if eval "test \"\${$as_ac_var+set}\" = set"; then
38977 echo $ECHO_N "(cached) $ECHO_C" >&6
38978 else
38979 if test x$gcc_no_link = xyes; then
38980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38982 { (exit 1); exit 1; }; }
38984 cat >conftest.$ac_ext <<_ACEOF
38985 /* confdefs.h. */
38986 _ACEOF
38987 cat confdefs.h >>conftest.$ac_ext
38988 cat >>conftest.$ac_ext <<_ACEOF
38989 /* end confdefs.h. */
38990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38992 #define $ac_func innocuous_$ac_func
38994 /* System header to define __stub macros and hopefully few prototypes,
38995 which can conflict with char $ac_func (); below.
38996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38997 <limits.h> exists even on freestanding compilers. */
38999 #ifdef __STDC__
39000 # include <limits.h>
39001 #else
39002 # include <assert.h>
39003 #endif
39005 #undef $ac_func
39007 /* Override any gcc2 internal prototype to avoid an error. */
39008 #ifdef __cplusplus
39009 extern "C"
39011 #endif
39012 /* We use char because int might match the return type of a gcc2
39013 builtin and then its argument prototype would still apply. */
39014 char $ac_func ();
39015 /* The GNU C library defines this for functions which it implements
39016 to always fail with ENOSYS. Some functions are actually named
39017 something starting with __ and the normal name is an alias. */
39018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39019 choke me
39020 #else
39021 char (*f) () = $ac_func;
39022 #endif
39023 #ifdef __cplusplus
39025 #endif
39028 main ()
39030 return f != $ac_func;
39032 return 0;
39034 _ACEOF
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39037 (eval $ac_link) 2>conftest.er1
39038 ac_status=$?
39039 grep -v '^ *+' conftest.er1 >conftest.err
39040 rm -f conftest.er1
39041 cat conftest.err >&5
39042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043 (exit $ac_status); } &&
39044 { ac_try='test -z "$ac_c_werror_flag"
39045 || test ! -s conftest.err'
39046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39047 (eval $ac_try) 2>&5
39048 ac_status=$?
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); }; } &&
39051 { ac_try='test -s conftest$ac_exeext'
39052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 (eval $ac_try) 2>&5
39054 ac_status=$?
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); }; }; then
39057 eval "$as_ac_var=yes"
39058 else
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39062 eval "$as_ac_var=no"
39064 rm -f conftest.err conftest.$ac_objext \
39065 conftest$ac_exeext conftest.$ac_ext
39067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39069 if test `eval echo '${'$as_ac_var'}'` = yes; then
39070 cat >>confdefs.h <<_ACEOF
39071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39072 _ACEOF
39075 done
39083 CXXFLAGS="$ac_save_CXXFLAGS"
39086 # For showmanyc_helper().
39089 for ac_header in sys/ioctl.h sys/filio.h
39091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39093 echo "$as_me:$LINENO: checking for $ac_header" >&5
39094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39096 echo $ECHO_N "(cached) $ECHO_C" >&6
39098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39100 else
39101 # Is the header compilable?
39102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39104 cat >conftest.$ac_ext <<_ACEOF
39105 /* confdefs.h. */
39106 _ACEOF
39107 cat confdefs.h >>conftest.$ac_ext
39108 cat >>conftest.$ac_ext <<_ACEOF
39109 /* end confdefs.h. */
39110 $ac_includes_default
39111 #include <$ac_header>
39112 _ACEOF
39113 rm -f conftest.$ac_objext
39114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39115 (eval $ac_compile) 2>conftest.er1
39116 ac_status=$?
39117 grep -v '^ *+' conftest.er1 >conftest.err
39118 rm -f conftest.er1
39119 cat conftest.err >&5
39120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39121 (exit $ac_status); } &&
39122 { ac_try='test -z "$ac_c_werror_flag"
39123 || test ! -s conftest.err'
39124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39125 (eval $ac_try) 2>&5
39126 ac_status=$?
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); }; } &&
39129 { ac_try='test -s conftest.$ac_objext'
39130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39131 (eval $ac_try) 2>&5
39132 ac_status=$?
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); }; }; then
39135 ac_header_compiler=yes
39136 else
39137 echo "$as_me: failed program was:" >&5
39138 sed 's/^/| /' conftest.$ac_ext >&5
39140 ac_header_compiler=no
39142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39144 echo "${ECHO_T}$ac_header_compiler" >&6
39146 # Is the header present?
39147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39149 cat >conftest.$ac_ext <<_ACEOF
39150 /* confdefs.h. */
39151 _ACEOF
39152 cat confdefs.h >>conftest.$ac_ext
39153 cat >>conftest.$ac_ext <<_ACEOF
39154 /* end confdefs.h. */
39155 #include <$ac_header>
39156 _ACEOF
39157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39159 ac_status=$?
39160 grep -v '^ *+' conftest.er1 >conftest.err
39161 rm -f conftest.er1
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } >/dev/null; then
39165 if test -s conftest.err; then
39166 ac_cpp_err=$ac_c_preproc_warn_flag
39167 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39168 else
39169 ac_cpp_err=
39171 else
39172 ac_cpp_err=yes
39174 if test -z "$ac_cpp_err"; then
39175 ac_header_preproc=yes
39176 else
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39180 ac_header_preproc=no
39182 rm -f conftest.err conftest.$ac_ext
39183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39184 echo "${ECHO_T}$ac_header_preproc" >&6
39186 # So? What about this header?
39187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39188 yes:no: )
39189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39193 ac_header_preproc=yes
39195 no:yes:* )
39196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39209 cat <<\_ASBOX
39210 ## ----------------------------------------- ##
39211 ## Report this to the package-unused lists. ##
39212 ## ----------------------------------------- ##
39213 _ASBOX
39215 sed "s/^/$as_me: WARNING: /" >&2
39217 esac
39218 echo "$as_me:$LINENO: checking for $ac_header" >&5
39219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 else
39223 eval "$as_ac_Header=\$ac_header_preproc"
39225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39230 cat >>confdefs.h <<_ACEOF
39231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39232 _ACEOF
39236 done
39239 echo "$as_me:$LINENO: checking for poll" >&5
39240 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39241 if test "${glibcxx_cv_POLL+set}" = set; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39245 if test x$gcc_no_link = xyes; then
39246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39248 { (exit 1); exit 1; }; }
39250 cat >conftest.$ac_ext <<_ACEOF
39251 /* confdefs.h. */
39252 _ACEOF
39253 cat confdefs.h >>conftest.$ac_ext
39254 cat >>conftest.$ac_ext <<_ACEOF
39255 /* end confdefs.h. */
39256 #include <poll.h>
39258 main ()
39260 struct pollfd pfd[1];
39261 pfd[0].events = POLLIN;
39262 poll(pfd, 1, 0);
39264 return 0;
39266 _ACEOF
39267 rm -f conftest.$ac_objext conftest$ac_exeext
39268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39269 (eval $ac_link) 2>conftest.er1
39270 ac_status=$?
39271 grep -v '^ *+' conftest.er1 >conftest.err
39272 rm -f conftest.er1
39273 cat conftest.err >&5
39274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275 (exit $ac_status); } &&
39276 { ac_try='test -z "$ac_c_werror_flag"
39277 || test ! -s conftest.err'
39278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279 (eval $ac_try) 2>&5
39280 ac_status=$?
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); }; } &&
39283 { ac_try='test -s conftest$ac_exeext'
39284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285 (eval $ac_try) 2>&5
39286 ac_status=$?
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); }; }; then
39289 glibcxx_cv_POLL=yes
39290 else
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39294 glibcxx_cv_POLL=no
39296 rm -f conftest.err conftest.$ac_objext \
39297 conftest$ac_exeext conftest.$ac_ext
39301 if test $glibcxx_cv_POLL = yes; then
39303 cat >>confdefs.h <<\_ACEOF
39304 #define HAVE_POLL 1
39305 _ACEOF
39308 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39309 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39312 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39313 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39314 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39318 if test x$gcc_no_link = xyes; then
39319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39321 { (exit 1); exit 1; }; }
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h. */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39329 #include <sys/stat.h>
39331 main ()
39333 struct stat buffer;
39334 fstat(0, &buffer);
39335 S_ISREG(buffer.st_mode);
39337 return 0;
39339 _ACEOF
39340 rm -f conftest.$ac_objext conftest$ac_exeext
39341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39342 (eval $ac_link) 2>conftest.er1
39343 ac_status=$?
39344 grep -v '^ *+' conftest.er1 >conftest.err
39345 rm -f conftest.er1
39346 cat conftest.err >&5
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); } &&
39349 { ac_try='test -z "$ac_c_werror_flag"
39350 || test ! -s conftest.err'
39351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39352 (eval $ac_try) 2>&5
39353 ac_status=$?
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); }; } &&
39356 { ac_try='test -s conftest$ac_exeext'
39357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39358 (eval $ac_try) 2>&5
39359 ac_status=$?
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); }; }; then
39362 glibcxx_cv_S_ISREG=yes
39363 else
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39367 glibcxx_cv_S_ISREG=no
39369 rm -f conftest.err conftest.$ac_objext \
39370 conftest$ac_exeext conftest.$ac_ext
39374 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39378 if test x$gcc_no_link = xyes; then
39379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39381 { (exit 1); exit 1; }; }
39383 cat >conftest.$ac_ext <<_ACEOF
39384 /* confdefs.h. */
39385 _ACEOF
39386 cat confdefs.h >>conftest.$ac_ext
39387 cat >>conftest.$ac_ext <<_ACEOF
39388 /* end confdefs.h. */
39389 #include <sys/stat.h>
39391 main ()
39393 struct stat buffer;
39394 fstat(0, &buffer);
39395 S_IFREG & buffer.st_mode;
39397 return 0;
39399 _ACEOF
39400 rm -f conftest.$ac_objext conftest$ac_exeext
39401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39402 (eval $ac_link) 2>conftest.er1
39403 ac_status=$?
39404 grep -v '^ *+' conftest.er1 >conftest.err
39405 rm -f conftest.er1
39406 cat conftest.err >&5
39407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39408 (exit $ac_status); } &&
39409 { ac_try='test -z "$ac_c_werror_flag"
39410 || test ! -s conftest.err'
39411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39412 (eval $ac_try) 2>&5
39413 ac_status=$?
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); }; } &&
39416 { ac_try='test -s conftest$ac_exeext'
39417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39418 (eval $ac_try) 2>&5
39419 ac_status=$?
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); }; }; then
39422 glibcxx_cv_S_IFREG=yes
39423 else
39424 echo "$as_me: failed program was:" >&5
39425 sed 's/^/| /' conftest.$ac_ext >&5
39427 glibcxx_cv_S_IFREG=no
39429 rm -f conftest.err conftest.$ac_objext \
39430 conftest$ac_exeext conftest.$ac_ext
39434 res=no
39435 if test $glibcxx_cv_S_ISREG = yes; then
39437 cat >>confdefs.h <<\_ACEOF
39438 #define HAVE_S_ISREG 1
39439 _ACEOF
39441 res=S_ISREG
39442 elif test $glibcxx_cv_S_IFREG = yes; then
39444 cat >>confdefs.h <<\_ACEOF
39445 #define HAVE_S_IFREG 1
39446 _ACEOF
39448 res=S_IFREG
39450 echo "$as_me:$LINENO: result: $res" >&5
39451 echo "${ECHO_T}$res" >&6
39454 # For xsputn_2().
39456 for ac_header in sys/uio.h
39458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39460 echo "$as_me:$LINENO: checking for $ac_header" >&5
39461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39467 else
39468 # Is the header compilable?
39469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39471 cat >conftest.$ac_ext <<_ACEOF
39472 /* confdefs.h. */
39473 _ACEOF
39474 cat confdefs.h >>conftest.$ac_ext
39475 cat >>conftest.$ac_ext <<_ACEOF
39476 /* end confdefs.h. */
39477 $ac_includes_default
39478 #include <$ac_header>
39479 _ACEOF
39480 rm -f conftest.$ac_objext
39481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39482 (eval $ac_compile) 2>conftest.er1
39483 ac_status=$?
39484 grep -v '^ *+' conftest.er1 >conftest.err
39485 rm -f conftest.er1
39486 cat conftest.err >&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); } &&
39489 { ac_try='test -z "$ac_c_werror_flag"
39490 || test ! -s conftest.err'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; } &&
39496 { ac_try='test -s conftest.$ac_objext'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39499 ac_status=$?
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; }; then
39502 ac_header_compiler=yes
39503 else
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39507 ac_header_compiler=no
39509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39511 echo "${ECHO_T}$ac_header_compiler" >&6
39513 # Is the header present?
39514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39516 cat >conftest.$ac_ext <<_ACEOF
39517 /* confdefs.h. */
39518 _ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522 #include <$ac_header>
39523 _ACEOF
39524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39526 ac_status=$?
39527 grep -v '^ *+' conftest.er1 >conftest.err
39528 rm -f conftest.er1
39529 cat conftest.err >&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } >/dev/null; then
39532 if test -s conftest.err; then
39533 ac_cpp_err=$ac_c_preproc_warn_flag
39534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39535 else
39536 ac_cpp_err=
39538 else
39539 ac_cpp_err=yes
39541 if test -z "$ac_cpp_err"; then
39542 ac_header_preproc=yes
39543 else
39544 echo "$as_me: failed program was:" >&5
39545 sed 's/^/| /' conftest.$ac_ext >&5
39547 ac_header_preproc=no
39549 rm -f conftest.err conftest.$ac_ext
39550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39551 echo "${ECHO_T}$ac_header_preproc" >&6
39553 # So? What about this header?
39554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39555 yes:no: )
39556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39560 ac_header_preproc=yes
39562 no:yes:* )
39563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39576 cat <<\_ASBOX
39577 ## ----------------------------------------- ##
39578 ## Report this to the package-unused lists. ##
39579 ## ----------------------------------------- ##
39580 _ASBOX
39582 sed "s/^/$as_me: WARNING: /" >&2
39584 esac
39585 echo "$as_me:$LINENO: checking for $ac_header" >&5
39586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39588 echo $ECHO_N "(cached) $ECHO_C" >&6
39589 else
39590 eval "$as_ac_Header=\$ac_header_preproc"
39592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39597 cat >>confdefs.h <<_ACEOF
39598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39599 _ACEOF
39603 done
39606 echo "$as_me:$LINENO: checking for writev" >&5
39607 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39608 if test "${glibcxx_cv_WRITEV+set}" = set; then
39609 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 else
39612 if test x$gcc_no_link = xyes; then
39613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39615 { (exit 1); exit 1; }; }
39617 cat >conftest.$ac_ext <<_ACEOF
39618 /* confdefs.h. */
39619 _ACEOF
39620 cat confdefs.h >>conftest.$ac_ext
39621 cat >>conftest.$ac_ext <<_ACEOF
39622 /* end confdefs.h. */
39623 #include <sys/uio.h>
39625 main ()
39627 struct iovec iov[2];
39628 writev(0, iov, 0);
39630 return 0;
39632 _ACEOF
39633 rm -f conftest.$ac_objext conftest$ac_exeext
39634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39635 (eval $ac_link) 2>conftest.er1
39636 ac_status=$?
39637 grep -v '^ *+' conftest.er1 >conftest.err
39638 rm -f conftest.er1
39639 cat conftest.err >&5
39640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39641 (exit $ac_status); } &&
39642 { ac_try='test -z "$ac_c_werror_flag"
39643 || test ! -s conftest.err'
39644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39645 (eval $ac_try) 2>&5
39646 ac_status=$?
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); }; } &&
39649 { ac_try='test -s conftest$ac_exeext'
39650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39651 (eval $ac_try) 2>&5
39652 ac_status=$?
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); }; }; then
39655 glibcxx_cv_WRITEV=yes
39656 else
39657 echo "$as_me: failed program was:" >&5
39658 sed 's/^/| /' conftest.$ac_ext >&5
39660 glibcxx_cv_WRITEV=no
39662 rm -f conftest.err conftest.$ac_objext \
39663 conftest$ac_exeext conftest.$ac_ext
39667 if test $glibcxx_cv_WRITEV = yes; then
39669 cat >>confdefs.h <<\_ACEOF
39670 #define HAVE_WRITEV 1
39671 _ACEOF
39674 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39675 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39678 # For the __streamoff_base_type typedef.
39680 echo "$as_me:$LINENO: checking for int64_t" >&5
39681 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39682 if test "${glibcxx_cv_INT64_T+set}" = set; then
39683 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 else
39686 cat >conftest.$ac_ext <<_ACEOF
39687 /* confdefs.h. */
39688 _ACEOF
39689 cat confdefs.h >>conftest.$ac_ext
39690 cat >>conftest.$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39692 #include <stdint.h>
39694 main ()
39696 int64_t var;
39698 return 0;
39700 _ACEOF
39701 rm -f conftest.$ac_objext
39702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39703 (eval $ac_compile) 2>conftest.er1
39704 ac_status=$?
39705 grep -v '^ *+' conftest.er1 >conftest.err
39706 rm -f conftest.er1
39707 cat conftest.err >&5
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); } &&
39710 { ac_try='test -z "$ac_c_werror_flag"
39711 || test ! -s conftest.err'
39712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39713 (eval $ac_try) 2>&5
39714 ac_status=$?
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); }; } &&
39717 { ac_try='test -s conftest.$ac_objext'
39718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719 (eval $ac_try) 2>&5
39720 ac_status=$?
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); }; }; then
39723 glibcxx_cv_INT64_T=yes
39724 else
39725 echo "$as_me: failed program was:" >&5
39726 sed 's/^/| /' conftest.$ac_ext >&5
39728 glibcxx_cv_INT64_T=no
39730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39734 if test $glibcxx_cv_INT64_T = yes; then
39736 cat >>confdefs.h <<\_ACEOF
39737 #define HAVE_INT64_T 1
39738 _ACEOF
39741 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39742 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39745 # For LFS support.
39749 ac_ext=cc
39750 ac_cpp='$CXXCPP $CPPFLAGS'
39751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39755 ac_save_CXXFLAGS="$CXXFLAGS"
39756 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39757 echo "$as_me:$LINENO: checking for LFS support" >&5
39758 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39759 if test "${glibcxx_cv_LFS+set}" = set; then
39760 echo $ECHO_N "(cached) $ECHO_C" >&6
39761 else
39763 if test x$gcc_no_link = xyes; then
39764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39766 { (exit 1); exit 1; }; }
39768 cat >conftest.$ac_ext <<_ACEOF
39769 /* confdefs.h. */
39770 _ACEOF
39771 cat confdefs.h >>conftest.$ac_ext
39772 cat >>conftest.$ac_ext <<_ACEOF
39773 /* end confdefs.h. */
39774 #include <unistd.h>
39775 #include <stdio.h>
39776 #include <sys/stat.h>
39779 main ()
39781 FILE* fp;
39782 fopen64("t", "w");
39783 fseeko64(fp, 0, SEEK_CUR);
39784 ftello64(fp);
39785 lseek64(1, 0, SEEK_CUR);
39786 struct stat64 buf;
39787 fstat64(1, &buf);
39789 return 0;
39791 _ACEOF
39792 rm -f conftest.$ac_objext conftest$ac_exeext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39794 (eval $ac_link) 2>conftest.er1
39795 ac_status=$?
39796 grep -v '^ *+' conftest.er1 >conftest.err
39797 rm -f conftest.er1
39798 cat conftest.err >&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } &&
39801 { ac_try='test -z "$ac_cxx_werror_flag"
39802 || test ! -s conftest.err'
39803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39804 (eval $ac_try) 2>&5
39805 ac_status=$?
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); }; } &&
39808 { ac_try='test -s conftest$ac_exeext'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39811 ac_status=$?
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; }; then
39814 glibcxx_cv_LFS=yes
39815 else
39816 echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.$ac_ext >&5
39819 glibcxx_cv_LFS=no
39821 rm -f conftest.err conftest.$ac_objext \
39822 conftest$ac_exeext conftest.$ac_ext
39826 if test $glibcxx_cv_LFS = yes; then
39828 cat >>confdefs.h <<\_ACEOF
39829 #define _GLIBCXX_USE_LFS 1
39830 _ACEOF
39833 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39834 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39835 CXXFLAGS="$ac_save_CXXFLAGS"
39836 ac_ext=c
39837 ac_cpp='$CPP $CPPFLAGS'
39838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39844 # For C99 support to TR1.
39849 ac_ext=cc
39850 ac_cpp='$CXXCPP $CPPFLAGS'
39851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39856 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39857 # undefined and fake C99 facilities may be spuriously enabled.
39858 ac_save_CXXFLAGS="$CXXFLAGS"
39859 CXXFLAGS="$CXXFLAGS -std=c++98"
39861 # Check for the existence of <complex.h> complex math functions used
39862 # by tr1/complex.
39864 for ac_header in complex.h
39866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39868 echo "$as_me:$LINENO: checking for $ac_header" >&5
39869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39871 echo $ECHO_N "(cached) $ECHO_C" >&6
39873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39875 else
39876 # Is the header compilable?
39877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39879 cat >conftest.$ac_ext <<_ACEOF
39880 /* confdefs.h. */
39881 _ACEOF
39882 cat confdefs.h >>conftest.$ac_ext
39883 cat >>conftest.$ac_ext <<_ACEOF
39884 /* end confdefs.h. */
39885 $ac_includes_default
39886 #include <$ac_header>
39887 _ACEOF
39888 rm -f conftest.$ac_objext
39889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39890 (eval $ac_compile) 2>conftest.er1
39891 ac_status=$?
39892 grep -v '^ *+' conftest.er1 >conftest.err
39893 rm -f conftest.er1
39894 cat conftest.err >&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); } &&
39897 { ac_try='test -z "$ac_cxx_werror_flag"
39898 || test ! -s conftest.err'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39901 ac_status=$?
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; } &&
39904 { ac_try='test -s conftest.$ac_objext'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39907 ac_status=$?
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; }; then
39910 ac_header_compiler=yes
39911 else
39912 echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.$ac_ext >&5
39915 ac_header_compiler=no
39917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39919 echo "${ECHO_T}$ac_header_compiler" >&6
39921 # Is the header present?
39922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39924 cat >conftest.$ac_ext <<_ACEOF
39925 /* confdefs.h. */
39926 _ACEOF
39927 cat confdefs.h >>conftest.$ac_ext
39928 cat >>conftest.$ac_ext <<_ACEOF
39929 /* end confdefs.h. */
39930 #include <$ac_header>
39931 _ACEOF
39932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39934 ac_status=$?
39935 grep -v '^ *+' conftest.er1 >conftest.err
39936 rm -f conftest.er1
39937 cat conftest.err >&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } >/dev/null; then
39940 if test -s conftest.err; then
39941 ac_cpp_err=$ac_cxx_preproc_warn_flag
39942 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39943 else
39944 ac_cpp_err=
39946 else
39947 ac_cpp_err=yes
39949 if test -z "$ac_cpp_err"; then
39950 ac_header_preproc=yes
39951 else
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39955 ac_header_preproc=no
39957 rm -f conftest.err conftest.$ac_ext
39958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39959 echo "${ECHO_T}$ac_header_preproc" >&6
39961 # So? What about this header?
39962 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39963 yes:no: )
39964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39968 ac_header_preproc=yes
39970 no:yes:* )
39971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39984 cat <<\_ASBOX
39985 ## ----------------------------------------- ##
39986 ## Report this to the package-unused lists. ##
39987 ## ----------------------------------------- ##
39988 _ASBOX
39990 sed "s/^/$as_me: WARNING: /" >&2
39992 esac
39993 echo "$as_me:$LINENO: checking for $ac_header" >&5
39994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39996 echo $ECHO_N "(cached) $ECHO_C" >&6
39997 else
39998 eval "$as_ac_Header=\$ac_header_preproc"
40000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40005 cat >>confdefs.h <<_ACEOF
40006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40007 _ACEOF
40008 ac_has_complex_h=yes
40009 else
40010 ac_has_complex_h=no
40013 done
40015 ac_c99_complex_tr1=no;
40016 if test x"$ac_has_complex_h" = x"yes"; then
40017 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
40018 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40019 cat >conftest.$ac_ext <<_ACEOF
40020 /* confdefs.h. */
40021 _ACEOF
40022 cat confdefs.h >>conftest.$ac_ext
40023 cat >>conftest.$ac_ext <<_ACEOF
40024 /* end confdefs.h. */
40025 #include <complex.h>
40027 main ()
40029 typedef __complex__ float float_type; float_type tmpf;
40030 cacosf(tmpf);
40031 casinf(tmpf);
40032 catanf(tmpf);
40033 cacoshf(tmpf);
40034 casinhf(tmpf);
40035 catanhf(tmpf);
40036 typedef __complex__ double double_type; double_type tmpd;
40037 cacos(tmpd);
40038 casin(tmpd);
40039 catan(tmpd);
40040 cacosh(tmpd);
40041 casinh(tmpd);
40042 catanh(tmpd);
40043 typedef __complex__ long double ld_type; ld_type tmpld;
40044 cacosl(tmpld);
40045 casinl(tmpld);
40046 catanl(tmpld);
40047 cacoshl(tmpld);
40048 casinhl(tmpld);
40049 catanhl(tmpld);
40052 return 0;
40054 _ACEOF
40055 rm -f conftest.$ac_objext
40056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40057 (eval $ac_compile) 2>conftest.er1
40058 ac_status=$?
40059 grep -v '^ *+' conftest.er1 >conftest.err
40060 rm -f conftest.er1
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } &&
40064 { ac_try='test -z "$ac_cxx_werror_flag"
40065 || test ! -s conftest.err'
40066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40067 (eval $ac_try) 2>&5
40068 ac_status=$?
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); }; } &&
40071 { ac_try='test -s conftest.$ac_objext'
40072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40073 (eval $ac_try) 2>&5
40074 ac_status=$?
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); }; }; then
40077 ac_c99_complex_tr1=yes
40078 else
40079 echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.$ac_ext >&5
40082 ac_c99_complex_tr1=no
40084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40086 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40087 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40088 if test x"$ac_c99_complex_tr1" = x"yes"; then
40090 cat >>confdefs.h <<\_ACEOF
40091 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40092 _ACEOF
40096 # Check for the existence of <ctype.h> functions.
40097 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40098 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40099 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40100 echo $ECHO_N "(cached) $ECHO_C" >&6
40101 else
40103 cat >conftest.$ac_ext <<_ACEOF
40104 /* confdefs.h. */
40105 _ACEOF
40106 cat confdefs.h >>conftest.$ac_ext
40107 cat >>conftest.$ac_ext <<_ACEOF
40108 /* end confdefs.h. */
40109 #include <ctype.h>
40111 main ()
40113 int ch;
40114 int ret;
40115 ret = isblank(ch);
40118 return 0;
40120 _ACEOF
40121 rm -f conftest.$ac_objext
40122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40123 (eval $ac_compile) 2>conftest.er1
40124 ac_status=$?
40125 grep -v '^ *+' conftest.er1 >conftest.err
40126 rm -f conftest.er1
40127 cat conftest.err >&5
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); } &&
40130 { ac_try='test -z "$ac_cxx_werror_flag"
40131 || test ! -s conftest.err'
40132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40133 (eval $ac_try) 2>&5
40134 ac_status=$?
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); }; } &&
40137 { ac_try='test -s conftest.$ac_objext'
40138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139 (eval $ac_try) 2>&5
40140 ac_status=$?
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; }; then
40143 glibcxx_cv_c99_ctype_tr1=yes
40144 else
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40148 glibcxx_cv_c99_ctype_tr1=no
40150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40154 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40155 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40156 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40158 cat >>confdefs.h <<\_ACEOF
40159 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40160 _ACEOF
40164 # Check for the existence of <fenv.h> functions.
40166 for ac_header in fenv.h
40168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40170 echo "$as_me:$LINENO: checking for $ac_header" >&5
40171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40173 echo $ECHO_N "(cached) $ECHO_C" >&6
40175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40177 else
40178 # Is the header compilable?
40179 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40180 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40181 cat >conftest.$ac_ext <<_ACEOF
40182 /* confdefs.h. */
40183 _ACEOF
40184 cat confdefs.h >>conftest.$ac_ext
40185 cat >>conftest.$ac_ext <<_ACEOF
40186 /* end confdefs.h. */
40187 $ac_includes_default
40188 #include <$ac_header>
40189 _ACEOF
40190 rm -f conftest.$ac_objext
40191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40192 (eval $ac_compile) 2>conftest.er1
40193 ac_status=$?
40194 grep -v '^ *+' conftest.er1 >conftest.err
40195 rm -f conftest.er1
40196 cat conftest.err >&5
40197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198 (exit $ac_status); } &&
40199 { ac_try='test -z "$ac_cxx_werror_flag"
40200 || test ! -s conftest.err'
40201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202 (eval $ac_try) 2>&5
40203 ac_status=$?
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); }; } &&
40206 { ac_try='test -s conftest.$ac_objext'
40207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208 (eval $ac_try) 2>&5
40209 ac_status=$?
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; }; then
40212 ac_header_compiler=yes
40213 else
40214 echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.$ac_ext >&5
40217 ac_header_compiler=no
40219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40221 echo "${ECHO_T}$ac_header_compiler" >&6
40223 # Is the header present?
40224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40226 cat >conftest.$ac_ext <<_ACEOF
40227 /* confdefs.h. */
40228 _ACEOF
40229 cat confdefs.h >>conftest.$ac_ext
40230 cat >>conftest.$ac_ext <<_ACEOF
40231 /* end confdefs.h. */
40232 #include <$ac_header>
40233 _ACEOF
40234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40235 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40236 ac_status=$?
40237 grep -v '^ *+' conftest.er1 >conftest.err
40238 rm -f conftest.er1
40239 cat conftest.err >&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } >/dev/null; then
40242 if test -s conftest.err; then
40243 ac_cpp_err=$ac_cxx_preproc_warn_flag
40244 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40245 else
40246 ac_cpp_err=
40248 else
40249 ac_cpp_err=yes
40251 if test -z "$ac_cpp_err"; then
40252 ac_header_preproc=yes
40253 else
40254 echo "$as_me: failed program was:" >&5
40255 sed 's/^/| /' conftest.$ac_ext >&5
40257 ac_header_preproc=no
40259 rm -f conftest.err conftest.$ac_ext
40260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40261 echo "${ECHO_T}$ac_header_preproc" >&6
40263 # So? What about this header?
40264 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40265 yes:no: )
40266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40270 ac_header_preproc=yes
40272 no:yes:* )
40273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40286 cat <<\_ASBOX
40287 ## ----------------------------------------- ##
40288 ## Report this to the package-unused lists. ##
40289 ## ----------------------------------------- ##
40290 _ASBOX
40292 sed "s/^/$as_me: WARNING: /" >&2
40294 esac
40295 echo "$as_me:$LINENO: checking for $ac_header" >&5
40296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40298 echo $ECHO_N "(cached) $ECHO_C" >&6
40299 else
40300 eval "$as_ac_Header=\$ac_header_preproc"
40302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40307 cat >>confdefs.h <<_ACEOF
40308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40309 _ACEOF
40310 ac_has_fenv_h=yes
40311 else
40312 ac_has_fenv_h=no
40315 done
40317 ac_c99_fenv_tr1=no;
40318 if test x"$ac_has_fenv_h" = x"yes"; then
40319 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40320 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40321 cat >conftest.$ac_ext <<_ACEOF
40322 /* confdefs.h. */
40323 _ACEOF
40324 cat confdefs.h >>conftest.$ac_ext
40325 cat >>conftest.$ac_ext <<_ACEOF
40326 /* end confdefs.h. */
40327 #include <fenv.h>
40329 main ()
40331 int except, mode;
40332 fexcept_t* pflag;
40333 fenv_t* penv;
40334 int ret;
40335 ret = feclearexcept(except);
40336 ret = fegetexceptflag(pflag, except);
40337 ret = feraiseexcept(except);
40338 ret = fesetexceptflag(pflag, except);
40339 ret = fetestexcept(except);
40340 ret = fegetround();
40341 ret = fesetround(mode);
40342 ret = fegetenv(penv);
40343 ret = feholdexcept(penv);
40344 ret = fesetenv(penv);
40345 ret = feupdateenv(penv);
40348 return 0;
40350 _ACEOF
40351 rm -f conftest.$ac_objext
40352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40353 (eval $ac_compile) 2>conftest.er1
40354 ac_status=$?
40355 grep -v '^ *+' conftest.er1 >conftest.err
40356 rm -f conftest.er1
40357 cat conftest.err >&5
40358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359 (exit $ac_status); } &&
40360 { ac_try='test -z "$ac_cxx_werror_flag"
40361 || test ! -s conftest.err'
40362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40363 (eval $ac_try) 2>&5
40364 ac_status=$?
40365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366 (exit $ac_status); }; } &&
40367 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
40373 ac_c99_fenv_tr1=yes
40374 else
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40378 ac_c99_fenv_tr1=no
40380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40382 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40383 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40384 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40386 cat >>confdefs.h <<\_ACEOF
40387 #define _GLIBCXX_USE_C99_FENV_TR1 1
40388 _ACEOF
40392 # Check for the existence of <stdint.h> types.
40393 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40394 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40395 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40396 echo $ECHO_N "(cached) $ECHO_C" >&6
40397 else
40399 cat >conftest.$ac_ext <<_ACEOF
40400 /* confdefs.h. */
40401 _ACEOF
40402 cat confdefs.h >>conftest.$ac_ext
40403 cat >>conftest.$ac_ext <<_ACEOF
40404 /* end confdefs.h. */
40405 #include <stdint.h>
40407 main ()
40409 typedef int8_t my_int8_t;
40410 typedef int16_t my_int16_t;
40411 typedef int32_t my_int32_t;
40412 typedef int64_t my_int64_t;
40413 typedef int_fast8_t my_int_fast8_t;
40414 typedef int_fast16_t my_int_fast16_t;
40415 typedef int_fast32_t my_int_fast32_t;
40416 typedef int_fast64_t my_int_fast64_t;
40417 typedef int_least8_t my_int_least8_t;
40418 typedef int_least16_t my_int_least16_t;
40419 typedef int_least32_t my_int_least32_t;
40420 typedef int_least64_t my_int_least64_t;
40421 typedef intmax_t my_intmax_t;
40422 typedef intptr_t my_intptr_t;
40423 typedef uint8_t my_uint8_t;
40424 typedef uint16_t my_uint16_t;
40425 typedef uint32_t my_uint32_t;
40426 typedef uint64_t my_uint64_t;
40427 typedef uint_fast8_t my_uint_fast8_t;
40428 typedef uint_fast16_t my_uint_fast16_t;
40429 typedef uint_fast32_t my_uint_fast32_t;
40430 typedef uint_fast64_t my_uint_fast64_t;
40431 typedef uint_least8_t my_uint_least8_t;
40432 typedef uint_least16_t my_uint_least16_t;
40433 typedef uint_least32_t my_uint_least32_t;
40434 typedef uint_least64_t my_uint_least64_t;
40435 typedef uintmax_t my_uintmax_t;
40436 typedef uintptr_t my_uintptr_t;
40439 return 0;
40441 _ACEOF
40442 rm -f conftest.$ac_objext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40444 (eval $ac_compile) 2>conftest.er1
40445 ac_status=$?
40446 grep -v '^ *+' conftest.er1 >conftest.err
40447 rm -f conftest.er1
40448 cat conftest.err >&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } &&
40451 { ac_try='test -z "$ac_cxx_werror_flag"
40452 || test ! -s conftest.err'
40453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454 (eval $ac_try) 2>&5
40455 ac_status=$?
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); }; } &&
40458 { ac_try='test -s conftest.$ac_objext'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40461 ac_status=$?
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; }; then
40464 glibcxx_cv_c99_stdint_tr1=yes
40465 else
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.$ac_ext >&5
40469 glibcxx_cv_c99_stdint_tr1=no
40471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40475 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40476 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40477 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40479 cat >>confdefs.h <<\_ACEOF
40480 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40481 _ACEOF
40485 # Check for the existence of <math.h> functions.
40486 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40487 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40488 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40489 echo $ECHO_N "(cached) $ECHO_C" >&6
40490 else
40492 cat >conftest.$ac_ext <<_ACEOF
40493 /* confdefs.h. */
40494 _ACEOF
40495 cat confdefs.h >>conftest.$ac_ext
40496 cat >>conftest.$ac_ext <<_ACEOF
40497 /* end confdefs.h. */
40498 #include <math.h>
40500 main ()
40502 typedef double_t my_double_t;
40503 typedef float_t my_float_t;
40504 acosh(0.0);
40505 acoshf(0.0f);
40506 acoshl(0.0l);
40507 asinh(0.0);
40508 asinhf(0.0f);
40509 asinhl(0.0l);
40510 atanh(0.0);
40511 atanhf(0.0f);
40512 atanhl(0.0l);
40513 cbrt(0.0);
40514 cbrtf(0.0f);
40515 cbrtl(0.0l);
40516 copysign(0.0, 0.0);
40517 copysignf(0.0f, 0.0f);
40518 copysignl(0.0l, 0.0l);
40519 erf(0.0);
40520 erff(0.0f);
40521 erfl(0.0l);
40522 erfc(0.0);
40523 erfcf(0.0f);
40524 erfcl(0.0l);
40525 exp2(0.0);
40526 exp2f(0.0f);
40527 exp2l(0.0l);
40528 expm1(0.0);
40529 expm1f(0.0f);
40530 expm1l(0.0l);
40531 fdim(0.0, 0.0);
40532 fdimf(0.0f, 0.0f);
40533 fdiml(0.0l, 0.0l);
40534 fma(0.0, 0.0, 0.0);
40535 fmaf(0.0f, 0.0f, 0.0f);
40536 fmal(0.0l, 0.0l, 0.0l);
40537 fmax(0.0, 0.0);
40538 fmaxf(0.0f, 0.0f);
40539 fmaxl(0.0l, 0.0l);
40540 fmin(0.0, 0.0);
40541 fminf(0.0f, 0.0f);
40542 fminl(0.0l, 0.0l);
40543 hypot(0.0, 0.0);
40544 hypotf(0.0f, 0.0f);
40545 hypotl(0.0l, 0.0l);
40546 ilogb(0.0);
40547 ilogbf(0.0f);
40548 ilogbl(0.0l);
40549 lgamma(0.0);
40550 lgammaf(0.0f);
40551 lgammal(0.0l);
40552 llrint(0.0);
40553 llrintf(0.0f);
40554 llrintl(0.0l);
40555 llround(0.0);
40556 llroundf(0.0f);
40557 llroundl(0.0l);
40558 log1p(0.0);
40559 log1pf(0.0f);
40560 log1pl(0.0l);
40561 log2(0.0);
40562 log2f(0.0f);
40563 log2l(0.0l);
40564 logb(0.0);
40565 logbf(0.0f);
40566 logbl(0.0l);
40567 lrint(0.0);
40568 lrintf(0.0f);
40569 lrintl(0.0l);
40570 lround(0.0);
40571 lroundf(0.0f);
40572 lroundl(0.0l);
40573 nan(0);
40574 nanf(0);
40575 nanl(0);
40576 nearbyint(0.0);
40577 nearbyintf(0.0f);
40578 nearbyintl(0.0l);
40579 nextafter(0.0, 0.0);
40580 nextafterf(0.0f, 0.0f);
40581 nextafterl(0.0l, 0.0l);
40582 nexttoward(0.0, 0.0);
40583 nexttowardf(0.0f, 0.0f);
40584 nexttowardl(0.0l, 0.0l);
40585 remainder(0.0, 0.0);
40586 remainderf(0.0f, 0.0f);
40587 remainderl(0.0l, 0.0l);
40588 remquo(0.0, 0.0, 0);
40589 remquo(0.0f, 0.0f, 0);
40590 remquo(0.0l, 0.0l, 0);
40591 rint(0.0);
40592 rintf(0.0f);
40593 rintl(0.0l);
40594 round(0.0);
40595 roundf(0.0f);
40596 roundl(0.0l);
40597 scalbln(0.0, 0l);
40598 scalblnf(0.0f, 0l);
40599 scalblnl(0.0l, 0l);
40600 scalbn(0.0, 0);
40601 scalbnf(0.0f, 0);
40602 scalbnl(0.0l, 0);
40603 tgamma(0.0);
40604 tgammaf(0.0f);
40605 tgammal(0.0l);
40606 trunc(0.0);
40607 truncf(0.0f);
40608 truncl(0.0l);
40611 return 0;
40613 _ACEOF
40614 rm -f conftest.$ac_objext
40615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40616 (eval $ac_compile) 2>conftest.er1
40617 ac_status=$?
40618 grep -v '^ *+' conftest.er1 >conftest.err
40619 rm -f conftest.er1
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } &&
40623 { ac_try='test -z "$ac_cxx_werror_flag"
40624 || test ! -s conftest.err'
40625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40626 (eval $ac_try) 2>&5
40627 ac_status=$?
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); }; } &&
40630 { ac_try='test -s conftest.$ac_objext'
40631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40632 (eval $ac_try) 2>&5
40633 ac_status=$?
40634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40635 (exit $ac_status); }; }; then
40636 glibcxx_cv_c99_math_tr1=yes
40637 else
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40641 glibcxx_cv_c99_math_tr1=no
40643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40647 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40648 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40649 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40651 cat >>confdefs.h <<\_ACEOF
40652 #define _GLIBCXX_USE_C99_MATH_TR1 1
40653 _ACEOF
40657 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40658 # sense if the previous check fails, per C99, 7.8/1).
40659 ac_c99_inttypes_tr1=no;
40660 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40661 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40662 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40663 cat >conftest.$ac_ext <<_ACEOF
40664 /* confdefs.h. */
40665 _ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40669 #include <inttypes.h>
40671 main ()
40673 intmax_t i, numer, denom, base;
40674 const char* s;
40675 char** endptr;
40676 intmax_t ret = imaxabs(i);
40677 imaxdiv_t dret = imaxdiv(numer, denom);
40678 ret = strtoimax(s, endptr, base);
40679 uintmax_t uret = strtoumax(s, endptr, base);
40682 return 0;
40684 _ACEOF
40685 rm -f conftest.$ac_objext
40686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40687 (eval $ac_compile) 2>conftest.er1
40688 ac_status=$?
40689 grep -v '^ *+' conftest.er1 >conftest.err
40690 rm -f conftest.er1
40691 cat conftest.err >&5
40692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40693 (exit $ac_status); } &&
40694 { ac_try='test -z "$ac_cxx_werror_flag"
40695 || test ! -s conftest.err'
40696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40697 (eval $ac_try) 2>&5
40698 ac_status=$?
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); }; } &&
40701 { ac_try='test -s conftest.$ac_objext'
40702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40703 (eval $ac_try) 2>&5
40704 ac_status=$?
40705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706 (exit $ac_status); }; }; then
40707 ac_c99_inttypes_tr1=yes
40708 else
40709 echo "$as_me: failed program was:" >&5
40710 sed 's/^/| /' conftest.$ac_ext >&5
40712 ac_c99_inttypes_tr1=no
40714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40716 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40717 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40718 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40720 cat >>confdefs.h <<\_ACEOF
40721 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40722 _ACEOF
40726 # Check for the existence of the <stdbool.h> header.
40728 for ac_header in stdbool.h
40730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40732 echo "$as_me:$LINENO: checking for $ac_header" >&5
40733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40735 echo $ECHO_N "(cached) $ECHO_C" >&6
40737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40739 else
40740 # Is the header compilable?
40741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40743 cat >conftest.$ac_ext <<_ACEOF
40744 /* confdefs.h. */
40745 _ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749 $ac_includes_default
40750 #include <$ac_header>
40751 _ACEOF
40752 rm -f conftest.$ac_objext
40753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40754 (eval $ac_compile) 2>conftest.er1
40755 ac_status=$?
40756 grep -v '^ *+' conftest.er1 >conftest.err
40757 rm -f conftest.er1
40758 cat conftest.err >&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); } &&
40761 { ac_try='test -z "$ac_cxx_werror_flag"
40762 || test ! -s conftest.err'
40763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40764 (eval $ac_try) 2>&5
40765 ac_status=$?
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); }; } &&
40768 { ac_try='test -s conftest.$ac_objext'
40769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40770 (eval $ac_try) 2>&5
40771 ac_status=$?
40772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773 (exit $ac_status); }; }; then
40774 ac_header_compiler=yes
40775 else
40776 echo "$as_me: failed program was:" >&5
40777 sed 's/^/| /' conftest.$ac_ext >&5
40779 ac_header_compiler=no
40781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40783 echo "${ECHO_T}$ac_header_compiler" >&6
40785 # Is the header present?
40786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40788 cat >conftest.$ac_ext <<_ACEOF
40789 /* confdefs.h. */
40790 _ACEOF
40791 cat confdefs.h >>conftest.$ac_ext
40792 cat >>conftest.$ac_ext <<_ACEOF
40793 /* end confdefs.h. */
40794 #include <$ac_header>
40795 _ACEOF
40796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40798 ac_status=$?
40799 grep -v '^ *+' conftest.er1 >conftest.err
40800 rm -f conftest.er1
40801 cat conftest.err >&5
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); } >/dev/null; then
40804 if test -s conftest.err; then
40805 ac_cpp_err=$ac_cxx_preproc_warn_flag
40806 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40807 else
40808 ac_cpp_err=
40810 else
40811 ac_cpp_err=yes
40813 if test -z "$ac_cpp_err"; then
40814 ac_header_preproc=yes
40815 else
40816 echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.$ac_ext >&5
40819 ac_header_preproc=no
40821 rm -f conftest.err conftest.$ac_ext
40822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40823 echo "${ECHO_T}$ac_header_preproc" >&6
40825 # So? What about this header?
40826 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40827 yes:no: )
40828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40832 ac_header_preproc=yes
40834 no:yes:* )
40835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40848 cat <<\_ASBOX
40849 ## ----------------------------------------- ##
40850 ## Report this to the package-unused lists. ##
40851 ## ----------------------------------------- ##
40852 _ASBOX
40854 sed "s/^/$as_me: WARNING: /" >&2
40856 esac
40857 echo "$as_me:$LINENO: checking for $ac_header" >&5
40858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40860 echo $ECHO_N "(cached) $ECHO_C" >&6
40861 else
40862 eval "$as_ac_Header=\$ac_header_preproc"
40864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40869 cat >>confdefs.h <<_ACEOF
40870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40871 _ACEOF
40875 done
40878 CXXFLAGS="$ac_save_CXXFLAGS"
40879 ac_ext=c
40880 ac_cpp='$CPP $CPPFLAGS'
40881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40887 # For dev/random and dev/urandom for TR1.
40890 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40891 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40892 if test "${glibcxx_cv_random_tr1+set}" = set; then
40893 echo $ECHO_N "(cached) $ECHO_C" >&6
40894 else
40896 if test "$cross_compiling" = yes; then
40897 glibcxx_cv_random_tr1=no
40898 else
40899 cat >conftest.$ac_ext <<_ACEOF
40900 /* confdefs.h. */
40901 _ACEOF
40902 cat confdefs.h >>conftest.$ac_ext
40903 cat >>conftest.$ac_ext <<_ACEOF
40904 /* end confdefs.h. */
40905 #include <stdio.h>
40906 int main()
40908 return !(fopen("/dev/random", "r")
40909 && fopen("/dev/urandom", "r"));
40912 _ACEOF
40913 rm -f conftest$ac_exeext
40914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40915 (eval $ac_link) 2>&5
40916 ac_status=$?
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40920 (eval $ac_try) 2>&5
40921 ac_status=$?
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); }; }; then
40924 glibcxx_cv_random_tr1=yes
40925 else
40926 echo "$as_me: program exited with status $ac_status" >&5
40927 echo "$as_me: failed program was:" >&5
40928 sed 's/^/| /' conftest.$ac_ext >&5
40930 ( exit $ac_status )
40931 glibcxx_cv_random_tr1=no
40933 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40938 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40939 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40940 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40942 cat >>confdefs.h <<\_ACEOF
40943 #define _GLIBCXX_USE_RANDOM_TR1 1
40944 _ACEOF
40950 # For clock_gettime support.
40955 ac_ext=cc
40956 ac_cpp='$CXXCPP $CPPFLAGS'
40957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40961 ac_save_CXXFLAGS="$CXXFLAGS"
40962 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40965 for ac_header in unistd.h
40967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40969 echo "$as_me:$LINENO: checking for $ac_header" >&5
40970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40972 echo $ECHO_N "(cached) $ECHO_C" >&6
40974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40976 else
40977 # Is the header compilable?
40978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40980 cat >conftest.$ac_ext <<_ACEOF
40981 /* confdefs.h. */
40982 _ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h. */
40986 $ac_includes_default
40987 #include <$ac_header>
40988 _ACEOF
40989 rm -f conftest.$ac_objext
40990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40991 (eval $ac_compile) 2>conftest.er1
40992 ac_status=$?
40993 grep -v '^ *+' conftest.er1 >conftest.err
40994 rm -f conftest.er1
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } &&
40998 { ac_try='test -z "$ac_cxx_werror_flag"
40999 || test ! -s conftest.err'
41000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41001 (eval $ac_try) 2>&5
41002 ac_status=$?
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); }; } &&
41005 { ac_try='test -s conftest.$ac_objext'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; }; then
41011 ac_header_compiler=yes
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41016 ac_header_compiler=no
41018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41020 echo "${ECHO_T}$ac_header_compiler" >&6
41022 # Is the header present?
41023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41025 cat >conftest.$ac_ext <<_ACEOF
41026 /* confdefs.h. */
41027 _ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41031 #include <$ac_header>
41032 _ACEOF
41033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41035 ac_status=$?
41036 grep -v '^ *+' conftest.er1 >conftest.err
41037 rm -f conftest.er1
41038 cat conftest.err >&5
41039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41040 (exit $ac_status); } >/dev/null; then
41041 if test -s conftest.err; then
41042 ac_cpp_err=$ac_cxx_preproc_warn_flag
41043 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41044 else
41045 ac_cpp_err=
41047 else
41048 ac_cpp_err=yes
41050 if test -z "$ac_cpp_err"; then
41051 ac_header_preproc=yes
41052 else
41053 echo "$as_me: failed program was:" >&5
41054 sed 's/^/| /' conftest.$ac_ext >&5
41056 ac_header_preproc=no
41058 rm -f conftest.err conftest.$ac_ext
41059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41060 echo "${ECHO_T}$ac_header_preproc" >&6
41062 # So? What about this header?
41063 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41064 yes:no: )
41065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41069 ac_header_preproc=yes
41071 no:yes:* )
41072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41085 cat <<\_ASBOX
41086 ## ----------------------------------------- ##
41087 ## Report this to the package-unused lists. ##
41088 ## ----------------------------------------- ##
41089 _ASBOX
41091 sed "s/^/$as_me: WARNING: /" >&2
41093 esac
41094 echo "$as_me:$LINENO: checking for $ac_header" >&5
41095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41097 echo $ECHO_N "(cached) $ECHO_C" >&6
41098 else
41099 eval "$as_ac_Header=\$ac_header_preproc"
41101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41106 cat >>confdefs.h <<_ACEOF
41107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41108 _ACEOF
41109 ac_has_unistd_h=yes
41110 else
41111 ac_has_unistd_h=no
41114 done
41117 ac_has_clock_monotonic=no;
41118 ac_has_clock_realtime=no;
41119 if test x"$ac_has_unistd_h" = x"yes"; then
41120 echo "$as_me:$LINENO: checking for monotonic clock" >&5
41121 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
41122 if test x$gcc_no_link = xyes; then
41123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41125 { (exit 1); exit 1; }; }
41127 cat >conftest.$ac_ext <<_ACEOF
41128 /* confdefs.h. */
41129 _ACEOF
41130 cat confdefs.h >>conftest.$ac_ext
41131 cat >>conftest.$ac_ext <<_ACEOF
41132 /* end confdefs.h. */
41133 #include <unistd.h>
41134 #include <time.h>
41137 main ()
41139 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
41140 timespec tp;
41141 #endif
41142 clock_gettime(CLOCK_MONOTONIC, &tp);
41145 return 0;
41147 _ACEOF
41148 rm -f conftest.$ac_objext conftest$ac_exeext
41149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41150 (eval $ac_link) 2>conftest.er1
41151 ac_status=$?
41152 grep -v '^ *+' conftest.er1 >conftest.err
41153 rm -f conftest.er1
41154 cat conftest.err >&5
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); } &&
41157 { ac_try='test -z "$ac_cxx_werror_flag"
41158 || test ! -s conftest.err'
41159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41160 (eval $ac_try) 2>&5
41161 ac_status=$?
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); }; } &&
41164 { ac_try='test -s conftest$ac_exeext'
41165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41166 (eval $ac_try) 2>&5
41167 ac_status=$?
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); }; }; then
41170 ac_has_clock_monotonic=yes
41171 else
41172 echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.$ac_ext >&5
41175 ac_has_clock_monotonic=no
41177 rm -f conftest.err conftest.$ac_objext \
41178 conftest$ac_exeext conftest.$ac_ext
41180 echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
41181 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
41183 echo "$as_me:$LINENO: checking for realtime clock" >&5
41184 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
41185 if test x$gcc_no_link = xyes; then
41186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41188 { (exit 1); exit 1; }; }
41190 cat >conftest.$ac_ext <<_ACEOF
41191 /* confdefs.h. */
41192 _ACEOF
41193 cat confdefs.h >>conftest.$ac_ext
41194 cat >>conftest.$ac_ext <<_ACEOF
41195 /* end confdefs.h. */
41196 #include <unistd.h>
41197 #include <time.h>
41200 main ()
41202 #if _POSIX_TIMERS > 0
41203 timespec tp;
41204 #endif
41205 clock_gettime(CLOCK_REALTIME, &tp);
41208 return 0;
41210 _ACEOF
41211 rm -f conftest.$ac_objext conftest$ac_exeext
41212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41213 (eval $ac_link) 2>conftest.er1
41214 ac_status=$?
41215 grep -v '^ *+' conftest.er1 >conftest.err
41216 rm -f conftest.er1
41217 cat conftest.err >&5
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); } &&
41220 { ac_try='test -z "$ac_cxx_werror_flag"
41221 || test ! -s conftest.err'
41222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41223 (eval $ac_try) 2>&5
41224 ac_status=$?
41225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226 (exit $ac_status); }; } &&
41227 { ac_try='test -s conftest$ac_exeext'
41228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41229 (eval $ac_try) 2>&5
41230 ac_status=$?
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); }; }; then
41233 ac_has_clock_realtime=yes
41234 else
41235 echo "$as_me: failed program was:" >&5
41236 sed 's/^/| /' conftest.$ac_ext >&5
41238 ac_has_clock_realtime=no
41240 rm -f conftest.err conftest.$ac_objext \
41241 conftest$ac_exeext conftest.$ac_ext
41243 echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
41244 echo "${ECHO_T}$ac_has_clock_realtime" >&6
41247 if test x"$ac_has_clock_monotonic" = x"yes"; then
41249 cat >>confdefs.h <<\_ACEOF
41250 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
41251 _ACEOF
41255 if test x"$ac_has_clock_realtime" = x"yes"; then
41257 cat >>confdefs.h <<\_ACEOF
41258 #define _GLIBCXX_USE_CLOCK_REALTIME 1
41259 _ACEOF
41263 CXXFLAGS="$ac_save_CXXFLAGS"
41264 ac_ext=c
41265 ac_cpp='$CPP $CPPFLAGS'
41266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41272 # For gettimeofday support.
41277 ac_ext=cc
41278 ac_cpp='$CXXCPP $CPPFLAGS'
41279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41283 ac_save_CXXFLAGS="$CXXFLAGS"
41284 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41286 ac_has_gettimeofday=no;
41288 for ac_header in sys/time.h
41290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41292 echo "$as_me:$LINENO: checking for $ac_header" >&5
41293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41295 echo $ECHO_N "(cached) $ECHO_C" >&6
41297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41299 else
41300 # Is the header compilable?
41301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41303 cat >conftest.$ac_ext <<_ACEOF
41304 /* confdefs.h. */
41305 _ACEOF
41306 cat confdefs.h >>conftest.$ac_ext
41307 cat >>conftest.$ac_ext <<_ACEOF
41308 /* end confdefs.h. */
41309 $ac_includes_default
41310 #include <$ac_header>
41311 _ACEOF
41312 rm -f conftest.$ac_objext
41313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41314 (eval $ac_compile) 2>conftest.er1
41315 ac_status=$?
41316 grep -v '^ *+' conftest.er1 >conftest.err
41317 rm -f conftest.er1
41318 cat conftest.err >&5
41319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320 (exit $ac_status); } &&
41321 { ac_try='test -z "$ac_cxx_werror_flag"
41322 || test ! -s conftest.err'
41323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41324 (eval $ac_try) 2>&5
41325 ac_status=$?
41326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41327 (exit $ac_status); }; } &&
41328 { ac_try='test -s conftest.$ac_objext'
41329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41330 (eval $ac_try) 2>&5
41331 ac_status=$?
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); }; }; then
41334 ac_header_compiler=yes
41335 else
41336 echo "$as_me: failed program was:" >&5
41337 sed 's/^/| /' conftest.$ac_ext >&5
41339 ac_header_compiler=no
41341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41343 echo "${ECHO_T}$ac_header_compiler" >&6
41345 # Is the header present?
41346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41348 cat >conftest.$ac_ext <<_ACEOF
41349 /* confdefs.h. */
41350 _ACEOF
41351 cat confdefs.h >>conftest.$ac_ext
41352 cat >>conftest.$ac_ext <<_ACEOF
41353 /* end confdefs.h. */
41354 #include <$ac_header>
41355 _ACEOF
41356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41358 ac_status=$?
41359 grep -v '^ *+' conftest.er1 >conftest.err
41360 rm -f conftest.er1
41361 cat conftest.err >&5
41362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41363 (exit $ac_status); } >/dev/null; then
41364 if test -s conftest.err; then
41365 ac_cpp_err=$ac_cxx_preproc_warn_flag
41366 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41367 else
41368 ac_cpp_err=
41370 else
41371 ac_cpp_err=yes
41373 if test -z "$ac_cpp_err"; then
41374 ac_header_preproc=yes
41375 else
41376 echo "$as_me: failed program was:" >&5
41377 sed 's/^/| /' conftest.$ac_ext >&5
41379 ac_header_preproc=no
41381 rm -f conftest.err conftest.$ac_ext
41382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41383 echo "${ECHO_T}$ac_header_preproc" >&6
41385 # So? What about this header?
41386 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41387 yes:no: )
41388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41392 ac_header_preproc=yes
41394 no:yes:* )
41395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41408 cat <<\_ASBOX
41409 ## ----------------------------------------- ##
41410 ## Report this to the package-unused lists. ##
41411 ## ----------------------------------------- ##
41412 _ASBOX
41414 sed "s/^/$as_me: WARNING: /" >&2
41416 esac
41417 echo "$as_me:$LINENO: checking for $ac_header" >&5
41418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41420 echo $ECHO_N "(cached) $ECHO_C" >&6
41421 else
41422 eval "$as_ac_Header=\$ac_header_preproc"
41424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41429 cat >>confdefs.h <<_ACEOF
41430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41431 _ACEOF
41432 ac_has_sys_time_h=yes
41433 else
41434 ac_has_sys_time_h=no
41437 done
41439 if test x"$ac_has_sys_time_h" = x"yes"; then
41440 echo "$as_me:$LINENO: checking for gettimeofday" >&5
41441 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
41442 if test x$gcc_no_link = xyes; then
41443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41445 { (exit 1); exit 1; }; }
41447 cat >conftest.$ac_ext <<_ACEOF
41448 /* confdefs.h. */
41449 _ACEOF
41450 cat confdefs.h >>conftest.$ac_ext
41451 cat >>conftest.$ac_ext <<_ACEOF
41452 /* end confdefs.h. */
41453 #include <sys/time.h>
41455 main ()
41457 timeval tv; gettimeofday(&tv, 0);
41459 return 0;
41461 _ACEOF
41462 rm -f conftest.$ac_objext conftest$ac_exeext
41463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41464 (eval $ac_link) 2>conftest.er1
41465 ac_status=$?
41466 grep -v '^ *+' conftest.er1 >conftest.err
41467 rm -f conftest.er1
41468 cat conftest.err >&5
41469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41470 (exit $ac_status); } &&
41471 { ac_try='test -z "$ac_cxx_werror_flag"
41472 || test ! -s conftest.err'
41473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41474 (eval $ac_try) 2>&5
41475 ac_status=$?
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); }; } &&
41478 { ac_try='test -s conftest$ac_exeext'
41479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41480 (eval $ac_try) 2>&5
41481 ac_status=$?
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); }; }; then
41484 ac_has_gettimeofday=yes
41485 else
41486 echo "$as_me: failed program was:" >&5
41487 sed 's/^/| /' conftest.$ac_ext >&5
41489 ac_has_gettimeofday=no
41491 rm -f conftest.err conftest.$ac_objext \
41492 conftest$ac_exeext conftest.$ac_ext
41494 echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
41495 echo "${ECHO_T}$ac_has_gettimeofday" >&6
41498 if test x"$ac_has_gettimeofday" = x"yes"; then
41500 cat >>confdefs.h <<\_ACEOF
41501 #define _GLIBCXX_USE_GETTIMEOFDAY 1
41502 _ACEOF
41506 CXXFLAGS="$ac_save_CXXFLAGS"
41507 ac_ext=c
41508 ac_cpp='$CPP $CPPFLAGS'
41509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41515 # For TLS support.
41517 # Check whether --enable-tls or --disable-tls was given.
41518 if test "${enable_tls+set}" = set; then
41519 enableval="$enable_tls"
41521 case "$enableval" in
41522 yes|no) ;;
41523 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41524 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41525 { (exit 1); exit 1; }; } ;;
41526 esac
41528 else
41529 enable_tls=yes
41532 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41533 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41534 if test "${gcc_cv_have_tls+set}" = set; then
41535 echo $ECHO_N "(cached) $ECHO_C" >&6
41536 else
41538 if test "$cross_compiling" = yes; then
41539 if test x$gcc_no_link = xyes; then
41540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41542 { (exit 1); exit 1; }; }
41544 cat >conftest.$ac_ext <<_ACEOF
41545 __thread int a; int b; int main() { return a = b; }
41546 _ACEOF
41547 rm -f conftest.$ac_objext conftest$ac_exeext
41548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41549 (eval $ac_link) 2>conftest.er1
41550 ac_status=$?
41551 grep -v '^ *+' conftest.er1 >conftest.err
41552 rm -f conftest.er1
41553 cat conftest.err >&5
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); } &&
41556 { ac_try='test -z "$ac_c_werror_flag"
41557 || test ! -s conftest.err'
41558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41559 (eval $ac_try) 2>&5
41560 ac_status=$?
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); }; } &&
41563 { ac_try='test -s conftest$ac_exeext'
41564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41565 (eval $ac_try) 2>&5
41566 ac_status=$?
41567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568 (exit $ac_status); }; }; then
41569 gcc_cv_have_tls=yes
41570 else
41571 echo "$as_me: failed program was:" >&5
41572 sed 's/^/| /' conftest.$ac_ext >&5
41574 gcc_cv_have_tls=no
41576 rm -f conftest.err conftest.$ac_objext \
41577 conftest$ac_exeext conftest.$ac_ext
41580 else
41581 cat >conftest.$ac_ext <<_ACEOF
41582 __thread int a; int b; int main() { return a = b; }
41583 _ACEOF
41584 rm -f conftest$ac_exeext
41585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41586 (eval $ac_link) 2>&5
41587 ac_status=$?
41588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591 (eval $ac_try) 2>&5
41592 ac_status=$?
41593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594 (exit $ac_status); }; }; then
41595 chktls_save_LDFLAGS="$LDFLAGS"
41596 LDFLAGS="-static $LDFLAGS"
41597 if test x$gcc_no_link = xyes; then
41598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41600 { (exit 1); exit 1; }; }
41602 cat >conftest.$ac_ext <<_ACEOF
41603 int main() { return 0; }
41604 _ACEOF
41605 rm -f conftest.$ac_objext conftest$ac_exeext
41606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41607 (eval $ac_link) 2>conftest.er1
41608 ac_status=$?
41609 grep -v '^ *+' conftest.er1 >conftest.err
41610 rm -f conftest.er1
41611 cat conftest.err >&5
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); } &&
41614 { ac_try='test -z "$ac_c_werror_flag"
41615 || test ! -s conftest.err'
41616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41617 (eval $ac_try) 2>&5
41618 ac_status=$?
41619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620 (exit $ac_status); }; } &&
41621 { ac_try='test -s conftest$ac_exeext'
41622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41623 (eval $ac_try) 2>&5
41624 ac_status=$?
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); }; }; then
41627 if test "$cross_compiling" = yes; then
41628 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41629 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41630 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41631 See \`config.log' for more details." >&5
41632 echo "$as_me: error: cannot run test program while cross compiling
41633 See \`config.log' for more details." >&2;}
41634 { (exit 1); exit 1; }; }; }
41635 else
41636 cat >conftest.$ac_ext <<_ACEOF
41637 __thread int a; int b; int main() { return a = b; }
41638 _ACEOF
41639 rm -f conftest$ac_exeext
41640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41641 (eval $ac_link) 2>&5
41642 ac_status=$?
41643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41646 (eval $ac_try) 2>&5
41647 ac_status=$?
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); }; }; then
41650 gcc_cv_have_tls=yes
41651 else
41652 echo "$as_me: program exited with status $ac_status" >&5
41653 echo "$as_me: failed program was:" >&5
41654 sed 's/^/| /' conftest.$ac_ext >&5
41656 ( exit $ac_status )
41657 gcc_cv_have_tls=no
41659 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41661 else
41662 echo "$as_me: failed program was:" >&5
41663 sed 's/^/| /' conftest.$ac_ext >&5
41665 gcc_cv_have_tls=yes
41667 rm -f conftest.err conftest.$ac_objext \
41668 conftest$ac_exeext conftest.$ac_ext
41669 LDFLAGS="$chktls_save_LDFLAGS"
41670 if test $gcc_cv_have_tls = yes; then
41671 chktls_save_CFLAGS="$CFLAGS"
41672 thread_CFLAGS=failed
41673 for flag in '' '-pthread' '-lpthread'; do
41674 CFLAGS="$flag $chktls_save_CFLAGS"
41675 if test x$gcc_no_link = xyes; then
41676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41678 { (exit 1); exit 1; }; }
41680 cat >conftest.$ac_ext <<_ACEOF
41681 /* confdefs.h. */
41682 _ACEOF
41683 cat confdefs.h >>conftest.$ac_ext
41684 cat >>conftest.$ac_ext <<_ACEOF
41685 /* end confdefs.h. */
41686 #include <pthread.h>
41687 void *g(void *d) { return NULL; }
41689 main ()
41691 pthread_t t; pthread_create(&t,NULL,g,NULL);
41693 return 0;
41695 _ACEOF
41696 rm -f conftest.$ac_objext conftest$ac_exeext
41697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41698 (eval $ac_link) 2>conftest.er1
41699 ac_status=$?
41700 grep -v '^ *+' conftest.er1 >conftest.err
41701 rm -f conftest.er1
41702 cat conftest.err >&5
41703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704 (exit $ac_status); } &&
41705 { ac_try='test -z "$ac_c_werror_flag"
41706 || test ! -s conftest.err'
41707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41708 (eval $ac_try) 2>&5
41709 ac_status=$?
41710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41711 (exit $ac_status); }; } &&
41712 { ac_try='test -s conftest$ac_exeext'
41713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41714 (eval $ac_try) 2>&5
41715 ac_status=$?
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); }; }; then
41718 thread_CFLAGS="$flag"
41719 else
41720 echo "$as_me: failed program was:" >&5
41721 sed 's/^/| /' conftest.$ac_ext >&5
41724 rm -f conftest.err conftest.$ac_objext \
41725 conftest$ac_exeext conftest.$ac_ext
41726 if test "X$thread_CFLAGS" != Xfailed; then
41727 break
41729 done
41730 CFLAGS="$chktls_save_CFLAGS"
41731 if test "X$thread_CFLAGS" != Xfailed; then
41732 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41733 if test "$cross_compiling" = yes; then
41734 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41735 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41736 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41737 See \`config.log' for more details." >&5
41738 echo "$as_me: error: cannot run test program while cross compiling
41739 See \`config.log' for more details." >&2;}
41740 { (exit 1); exit 1; }; }; }
41741 else
41742 cat >conftest.$ac_ext <<_ACEOF
41743 /* confdefs.h. */
41744 _ACEOF
41745 cat confdefs.h >>conftest.$ac_ext
41746 cat >>conftest.$ac_ext <<_ACEOF
41747 /* end confdefs.h. */
41748 #include <pthread.h>
41749 __thread int a;
41750 static int *a_in_other_thread;
41751 static void *
41752 thread_func (void *arg)
41754 a_in_other_thread = &a;
41755 return (void *)0;
41758 main ()
41760 pthread_t thread;
41761 void *thread_retval;
41762 int *a_in_main_thread;
41763 if (pthread_create (&thread, (pthread_attr_t *)0,
41764 thread_func, (void *)0))
41765 return 0;
41766 a_in_main_thread = &a;
41767 if (pthread_join (thread, &thread_retval))
41768 return 0;
41769 return (a_in_other_thread == a_in_main_thread);
41771 return 0;
41773 _ACEOF
41774 rm -f conftest$ac_exeext
41775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41776 (eval $ac_link) 2>&5
41777 ac_status=$?
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41781 (eval $ac_try) 2>&5
41782 ac_status=$?
41783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41784 (exit $ac_status); }; }; then
41785 gcc_cv_have_tls=yes
41786 else
41787 echo "$as_me: program exited with status $ac_status" >&5
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.$ac_ext >&5
41791 ( exit $ac_status )
41792 gcc_cv_have_tls=no
41794 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41796 CFLAGS="$chktls_save_CFLAGS"
41799 else
41800 echo "$as_me: program exited with status $ac_status" >&5
41801 echo "$as_me: failed program was:" >&5
41802 sed 's/^/| /' conftest.$ac_ext >&5
41804 ( exit $ac_status )
41805 gcc_cv_have_tls=no
41807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41810 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41811 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41812 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41814 cat >>confdefs.h <<\_ACEOF
41815 #define HAVE_TLS 1
41816 _ACEOF
41820 # For _Unwind_GetIPInfo.
41824 ac_ext=cc
41825 ac_cpp='$CXXCPP $CPPFLAGS'
41826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41830 ac_save_CXXFLAGS="$CXXFLAGS"
41831 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41832 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41833 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41834 if test "${gcc_cv_getipinfo+set}" = set; then
41835 echo $ECHO_N "(cached) $ECHO_C" >&6
41836 else
41838 if test x$gcc_no_link = xyes; then
41839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41841 { (exit 1); exit 1; }; }
41843 cat >conftest.$ac_ext <<_ACEOF
41844 /* confdefs.h. */
41845 _ACEOF
41846 cat confdefs.h >>conftest.$ac_ext
41847 cat >>conftest.$ac_ext <<_ACEOF
41848 /* end confdefs.h. */
41849 extern "C" { extern void _Unwind_GetIPInfo(); }
41851 main ()
41853 _Unwind_GetIPInfo();
41855 return 0;
41857 _ACEOF
41858 rm -f conftest.$ac_objext conftest$ac_exeext
41859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41860 (eval $ac_link) 2>conftest.er1
41861 ac_status=$?
41862 grep -v '^ *+' conftest.er1 >conftest.err
41863 rm -f conftest.er1
41864 cat conftest.err >&5
41865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41866 (exit $ac_status); } &&
41867 { ac_try='test -z "$ac_cxx_werror_flag"
41868 || test ! -s conftest.err'
41869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41870 (eval $ac_try) 2>&5
41871 ac_status=$?
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); }; } &&
41874 { ac_try='test -s conftest$ac_exeext'
41875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41876 (eval $ac_try) 2>&5
41877 ac_status=$?
41878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41879 (exit $ac_status); }; }; then
41880 gcc_cv_getipinfo=yes
41881 else
41882 echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.$ac_ext >&5
41885 gcc_cv_getipinfo=no
41887 rm -f conftest.err conftest.$ac_objext \
41888 conftest$ac_exeext conftest.$ac_ext
41892 if test $gcc_cv_getipinfo = yes; then
41894 cat >>confdefs.h <<\_ACEOF
41895 #define HAVE_GETIPINFO 1
41896 _ACEOF
41899 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41900 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41901 CXXFLAGS="$ac_save_CXXFLAGS"
41902 ac_ext=c
41903 ac_cpp='$CPP $CPPFLAGS'
41904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41911 if test "${ac_cv_header_locale_h+set}" = set; then
41912 echo "$as_me:$LINENO: checking for locale.h" >&5
41913 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41914 if test "${ac_cv_header_locale_h+set}" = set; then
41915 echo $ECHO_N "(cached) $ECHO_C" >&6
41917 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41918 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41919 else
41920 # Is the header compilable?
41921 echo "$as_me:$LINENO: checking locale.h usability" >&5
41922 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41923 cat >conftest.$ac_ext <<_ACEOF
41924 /* confdefs.h. */
41925 _ACEOF
41926 cat confdefs.h >>conftest.$ac_ext
41927 cat >>conftest.$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929 $ac_includes_default
41930 #include <locale.h>
41931 _ACEOF
41932 rm -f conftest.$ac_objext
41933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41934 (eval $ac_compile) 2>conftest.er1
41935 ac_status=$?
41936 grep -v '^ *+' conftest.er1 >conftest.err
41937 rm -f conftest.er1
41938 cat conftest.err >&5
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); } &&
41941 { ac_try='test -z "$ac_c_werror_flag"
41942 || test ! -s conftest.err'
41943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41944 (eval $ac_try) 2>&5
41945 ac_status=$?
41946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41947 (exit $ac_status); }; } &&
41948 { ac_try='test -s conftest.$ac_objext'
41949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41950 (eval $ac_try) 2>&5
41951 ac_status=$?
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); }; }; then
41954 ac_header_compiler=yes
41955 else
41956 echo "$as_me: failed program was:" >&5
41957 sed 's/^/| /' conftest.$ac_ext >&5
41959 ac_header_compiler=no
41961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41963 echo "${ECHO_T}$ac_header_compiler" >&6
41965 # Is the header present?
41966 echo "$as_me:$LINENO: checking locale.h presence" >&5
41967 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41968 cat >conftest.$ac_ext <<_ACEOF
41969 /* confdefs.h. */
41970 _ACEOF
41971 cat confdefs.h >>conftest.$ac_ext
41972 cat >>conftest.$ac_ext <<_ACEOF
41973 /* end confdefs.h. */
41974 #include <locale.h>
41975 _ACEOF
41976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41978 ac_status=$?
41979 grep -v '^ *+' conftest.er1 >conftest.err
41980 rm -f conftest.er1
41981 cat conftest.err >&5
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); } >/dev/null; then
41984 if test -s conftest.err; then
41985 ac_cpp_err=$ac_c_preproc_warn_flag
41986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41987 else
41988 ac_cpp_err=
41990 else
41991 ac_cpp_err=yes
41993 if test -z "$ac_cpp_err"; then
41994 ac_header_preproc=yes
41995 else
41996 echo "$as_me: failed program was:" >&5
41997 sed 's/^/| /' conftest.$ac_ext >&5
41999 ac_header_preproc=no
42001 rm -f conftest.err conftest.$ac_ext
42002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42003 echo "${ECHO_T}$ac_header_preproc" >&6
42005 # So? What about this header?
42006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42007 yes:no: )
42008 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
42009 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42010 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
42011 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
42012 ac_header_preproc=yes
42014 no:yes:* )
42015 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
42016 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
42017 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
42018 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
42019 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
42020 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
42021 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
42022 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
42023 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
42024 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
42025 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
42026 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
42028 cat <<\_ASBOX
42029 ## ----------------------------------------- ##
42030 ## Report this to the package-unused lists. ##
42031 ## ----------------------------------------- ##
42032 _ASBOX
42034 sed "s/^/$as_me: WARNING: /" >&2
42036 esac
42037 echo "$as_me:$LINENO: checking for locale.h" >&5
42038 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42039 if test "${ac_cv_header_locale_h+set}" = set; then
42040 echo $ECHO_N "(cached) $ECHO_C" >&6
42041 else
42042 ac_cv_header_locale_h=$ac_header_preproc
42044 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42045 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42048 if test $ac_cv_header_locale_h = yes; then
42050 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
42051 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
42052 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
42053 echo $ECHO_N "(cached) $ECHO_C" >&6
42054 else
42055 if test x$gcc_no_link = xyes; then
42056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42058 { (exit 1); exit 1; }; }
42060 cat >conftest.$ac_ext <<_ACEOF
42061 /* confdefs.h. */
42062 _ACEOF
42063 cat confdefs.h >>conftest.$ac_ext
42064 cat >>conftest.$ac_ext <<_ACEOF
42065 /* end confdefs.h. */
42066 #include <locale.h>
42068 main ()
42070 return LC_MESSAGES
42072 return 0;
42074 _ACEOF
42075 rm -f conftest.$ac_objext conftest$ac_exeext
42076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42077 (eval $ac_link) 2>conftest.er1
42078 ac_status=$?
42079 grep -v '^ *+' conftest.er1 >conftest.err
42080 rm -f conftest.er1
42081 cat conftest.err >&5
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); } &&
42084 { ac_try='test -z "$ac_c_werror_flag"
42085 || test ! -s conftest.err'
42086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42087 (eval $ac_try) 2>&5
42088 ac_status=$?
42089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090 (exit $ac_status); }; } &&
42091 { ac_try='test -s conftest$ac_exeext'
42092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42093 (eval $ac_try) 2>&5
42094 ac_status=$?
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); }; }; then
42097 ac_cv_val_LC_MESSAGES=yes
42098 else
42099 echo "$as_me: failed program was:" >&5
42100 sed 's/^/| /' conftest.$ac_ext >&5
42102 ac_cv_val_LC_MESSAGES=no
42104 rm -f conftest.err conftest.$ac_objext \
42105 conftest$ac_exeext conftest.$ac_ext
42107 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
42108 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
42109 if test $ac_cv_val_LC_MESSAGES = yes; then
42111 cat >>confdefs.h <<\_ACEOF
42112 #define HAVE_LC_MESSAGES 1
42113 _ACEOF
42122 cat >conftest.$ac_ext <<_ACEOF
42123 /* confdefs.h. */
42124 _ACEOF
42125 cat confdefs.h >>conftest.$ac_ext
42126 cat >>conftest.$ac_ext <<_ACEOF
42127 /* end confdefs.h. */
42128 #include <setjmp.h>
42130 main ()
42132 sigjmp_buf env;
42133 while (! sigsetjmp (env, 1))
42134 siglongjmp (env, 1);
42137 return 0;
42139 _ACEOF
42140 rm -f conftest.$ac_objext
42141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42142 (eval $ac_compile) 2>conftest.er1
42143 ac_status=$?
42144 grep -v '^ *+' conftest.er1 >conftest.err
42145 rm -f conftest.er1
42146 cat conftest.err >&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } &&
42149 { ac_try='test -z "$ac_c_werror_flag"
42150 || test ! -s conftest.err'
42151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42152 (eval $ac_try) 2>&5
42153 ac_status=$?
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); }; } &&
42156 { ac_try='test -s conftest.$ac_objext'
42157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42158 (eval $ac_try) 2>&5
42159 ac_status=$?
42160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42161 (exit $ac_status); }; }; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define HAVE_SIGSETJMP 1
42165 _ACEOF
42167 else
42168 echo "$as_me: failed program was:" >&5
42169 sed 's/^/| /' conftest.$ac_ext >&5
42172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42174 if test x$gcc_no_link = xyes; then
42175 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
42176 ac_cv_func_mmap_fixed_mapped=no
42179 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
42182 for ac_header in stdlib.h unistd.h
42184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42186 echo "$as_me:$LINENO: checking for $ac_header" >&5
42187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42189 echo $ECHO_N "(cached) $ECHO_C" >&6
42191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42193 else
42194 # Is the header compilable?
42195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42197 cat >conftest.$ac_ext <<_ACEOF
42198 /* confdefs.h. */
42199 _ACEOF
42200 cat confdefs.h >>conftest.$ac_ext
42201 cat >>conftest.$ac_ext <<_ACEOF
42202 /* end confdefs.h. */
42203 $ac_includes_default
42204 #include <$ac_header>
42205 _ACEOF
42206 rm -f conftest.$ac_objext
42207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42208 (eval $ac_compile) 2>conftest.er1
42209 ac_status=$?
42210 grep -v '^ *+' conftest.er1 >conftest.err
42211 rm -f conftest.er1
42212 cat conftest.err >&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); } &&
42215 { ac_try='test -z "$ac_c_werror_flag"
42216 || test ! -s conftest.err'
42217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42218 (eval $ac_try) 2>&5
42219 ac_status=$?
42220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221 (exit $ac_status); }; } &&
42222 { ac_try='test -s conftest.$ac_objext'
42223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42224 (eval $ac_try) 2>&5
42225 ac_status=$?
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); }; }; then
42228 ac_header_compiler=yes
42229 else
42230 echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.$ac_ext >&5
42233 ac_header_compiler=no
42235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42237 echo "${ECHO_T}$ac_header_compiler" >&6
42239 # Is the header present?
42240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42242 cat >conftest.$ac_ext <<_ACEOF
42243 /* confdefs.h. */
42244 _ACEOF
42245 cat confdefs.h >>conftest.$ac_ext
42246 cat >>conftest.$ac_ext <<_ACEOF
42247 /* end confdefs.h. */
42248 #include <$ac_header>
42249 _ACEOF
42250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42252 ac_status=$?
42253 grep -v '^ *+' conftest.er1 >conftest.err
42254 rm -f conftest.er1
42255 cat conftest.err >&5
42256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42257 (exit $ac_status); } >/dev/null; then
42258 if test -s conftest.err; then
42259 ac_cpp_err=$ac_c_preproc_warn_flag
42260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42261 else
42262 ac_cpp_err=
42264 else
42265 ac_cpp_err=yes
42267 if test -z "$ac_cpp_err"; then
42268 ac_header_preproc=yes
42269 else
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42273 ac_header_preproc=no
42275 rm -f conftest.err conftest.$ac_ext
42276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42277 echo "${ECHO_T}$ac_header_preproc" >&6
42279 # So? What about this header?
42280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42281 yes:no: )
42282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42286 ac_header_preproc=yes
42288 no:yes:* )
42289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42302 cat <<\_ASBOX
42303 ## ----------------------------------------- ##
42304 ## Report this to the package-unused lists. ##
42305 ## ----------------------------------------- ##
42306 _ASBOX
42308 sed "s/^/$as_me: WARNING: /" >&2
42310 esac
42311 echo "$as_me:$LINENO: checking for $ac_header" >&5
42312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42314 echo $ECHO_N "(cached) $ECHO_C" >&6
42315 else
42316 eval "$as_ac_Header=\$ac_header_preproc"
42318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42323 cat >>confdefs.h <<_ACEOF
42324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42325 _ACEOF
42329 done
42332 for ac_func in getpagesize
42334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42335 echo "$as_me:$LINENO: checking for $ac_func" >&5
42336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42337 if eval "test \"\${$as_ac_var+set}\" = set"; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42339 else
42340 if test x$gcc_no_link = xyes; then
42341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42343 { (exit 1); exit 1; }; }
42345 cat >conftest.$ac_ext <<_ACEOF
42346 /* confdefs.h. */
42347 _ACEOF
42348 cat confdefs.h >>conftest.$ac_ext
42349 cat >>conftest.$ac_ext <<_ACEOF
42350 /* end confdefs.h. */
42351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42353 #define $ac_func innocuous_$ac_func
42355 /* System header to define __stub macros and hopefully few prototypes,
42356 which can conflict with char $ac_func (); below.
42357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42358 <limits.h> exists even on freestanding compilers. */
42360 #ifdef __STDC__
42361 # include <limits.h>
42362 #else
42363 # include <assert.h>
42364 #endif
42366 #undef $ac_func
42368 /* Override any gcc2 internal prototype to avoid an error. */
42369 #ifdef __cplusplus
42370 extern "C"
42372 #endif
42373 /* We use char because int might match the return type of a gcc2
42374 builtin and then its argument prototype would still apply. */
42375 char $ac_func ();
42376 /* The GNU C library defines this for functions which it implements
42377 to always fail with ENOSYS. Some functions are actually named
42378 something starting with __ and the normal name is an alias. */
42379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42380 choke me
42381 #else
42382 char (*f) () = $ac_func;
42383 #endif
42384 #ifdef __cplusplus
42386 #endif
42389 main ()
42391 return f != $ac_func;
42393 return 0;
42395 _ACEOF
42396 rm -f conftest.$ac_objext conftest$ac_exeext
42397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42398 (eval $ac_link) 2>conftest.er1
42399 ac_status=$?
42400 grep -v '^ *+' conftest.er1 >conftest.err
42401 rm -f conftest.er1
42402 cat conftest.err >&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); } &&
42405 { ac_try='test -z "$ac_c_werror_flag"
42406 || test ! -s conftest.err'
42407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42408 (eval $ac_try) 2>&5
42409 ac_status=$?
42410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42411 (exit $ac_status); }; } &&
42412 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
42418 eval "$as_ac_var=yes"
42419 else
42420 echo "$as_me: failed program was:" >&5
42421 sed 's/^/| /' conftest.$ac_ext >&5
42423 eval "$as_ac_var=no"
42425 rm -f conftest.err conftest.$ac_objext \
42426 conftest$ac_exeext conftest.$ac_ext
42428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42430 if test `eval echo '${'$as_ac_var'}'` = yes; then
42431 cat >>confdefs.h <<_ACEOF
42432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42433 _ACEOF
42436 done
42438 echo "$as_me:$LINENO: checking for working mmap" >&5
42439 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
42440 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
42441 echo $ECHO_N "(cached) $ECHO_C" >&6
42442 else
42443 if test "$cross_compiling" = yes; then
42444 ac_cv_func_mmap_fixed_mapped=no
42445 else
42446 cat >conftest.$ac_ext <<_ACEOF
42447 /* confdefs.h. */
42448 _ACEOF
42449 cat confdefs.h >>conftest.$ac_ext
42450 cat >>conftest.$ac_ext <<_ACEOF
42451 /* end confdefs.h. */
42452 $ac_includes_default
42453 /* malloc might have been renamed as rpl_malloc. */
42454 #undef malloc
42456 /* Thanks to Mike Haertel and Jim Avera for this test.
42457 Here is a matrix of mmap possibilities:
42458 mmap private not fixed
42459 mmap private fixed at somewhere currently unmapped
42460 mmap private fixed at somewhere already mapped
42461 mmap shared not fixed
42462 mmap shared fixed at somewhere currently unmapped
42463 mmap shared fixed at somewhere already mapped
42464 For private mappings, we should verify that changes cannot be read()
42465 back from the file, nor mmap's back from the file at a different
42466 address. (There have been systems where private was not correctly
42467 implemented like the infamous i386 svr4.0, and systems where the
42468 VM page cache was not coherent with the file system buffer cache
42469 like early versions of FreeBSD and possibly contemporary NetBSD.)
42470 For shared mappings, we should conversely verify that changes get
42471 propagated back to all the places they're supposed to be.
42473 Grep wants private fixed already mapped.
42474 The main things grep needs to know about mmap are:
42475 * does it exist and is it safe to write into the mmap'd area
42476 * how to use it (BSD variants) */
42478 #include <fcntl.h>
42479 #include <sys/mman.h>
42481 #if !STDC_HEADERS && !HAVE_STDLIB_H
42482 char *malloc ();
42483 #endif
42485 /* This mess was copied from the GNU getpagesize.h. */
42486 #if !HAVE_GETPAGESIZE
42487 /* Assume that all systems that can run configure have sys/param.h. */
42488 # if !HAVE_SYS_PARAM_H
42489 # define HAVE_SYS_PARAM_H 1
42490 # endif
42492 # ifdef _SC_PAGESIZE
42493 # define getpagesize() sysconf(_SC_PAGESIZE)
42494 # else /* no _SC_PAGESIZE */
42495 # if HAVE_SYS_PARAM_H
42496 # include <sys/param.h>
42497 # ifdef EXEC_PAGESIZE
42498 # define getpagesize() EXEC_PAGESIZE
42499 # else /* no EXEC_PAGESIZE */
42500 # ifdef NBPG
42501 # define getpagesize() NBPG * CLSIZE
42502 # ifndef CLSIZE
42503 # define CLSIZE 1
42504 # endif /* no CLSIZE */
42505 # else /* no NBPG */
42506 # ifdef NBPC
42507 # define getpagesize() NBPC
42508 # else /* no NBPC */
42509 # ifdef PAGESIZE
42510 # define getpagesize() PAGESIZE
42511 # endif /* PAGESIZE */
42512 # endif /* no NBPC */
42513 # endif /* no NBPG */
42514 # endif /* no EXEC_PAGESIZE */
42515 # else /* no HAVE_SYS_PARAM_H */
42516 # define getpagesize() 8192 /* punt totally */
42517 # endif /* no HAVE_SYS_PARAM_H */
42518 # endif /* no _SC_PAGESIZE */
42520 #endif /* no HAVE_GETPAGESIZE */
42523 main ()
42525 char *data, *data2, *data3;
42526 int i, pagesize;
42527 int fd;
42529 pagesize = getpagesize ();
42531 /* First, make a file with some known garbage in it. */
42532 data = (char *) malloc (pagesize);
42533 if (!data)
42534 exit (1);
42535 for (i = 0; i < pagesize; ++i)
42536 *(data + i) = rand ();
42537 umask (0);
42538 fd = creat ("conftest.mmap", 0600);
42539 if (fd < 0)
42540 exit (1);
42541 if (write (fd, data, pagesize) != pagesize)
42542 exit (1);
42543 close (fd);
42545 /* Next, try to mmap the file at a fixed address which already has
42546 something else allocated at it. If we can, also make sure that
42547 we see the same garbage. */
42548 fd = open ("conftest.mmap", O_RDWR);
42549 if (fd < 0)
42550 exit (1);
42551 data2 = (char *) malloc (2 * pagesize);
42552 if (!data2)
42553 exit (1);
42554 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
42555 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
42556 MAP_PRIVATE | MAP_FIXED, fd, 0L))
42557 exit (1);
42558 for (i = 0; i < pagesize; ++i)
42559 if (*(data + i) != *(data2 + i))
42560 exit (1);
42562 /* Finally, make sure that changes to the mapped area do not
42563 percolate back to the file as seen by read(). (This is a bug on
42564 some variants of i386 svr4.0.) */
42565 for (i = 0; i < pagesize; ++i)
42566 *(data2 + i) = *(data2 + i) + 1;
42567 data3 = (char *) malloc (pagesize);
42568 if (!data3)
42569 exit (1);
42570 if (read (fd, data3, pagesize) != pagesize)
42571 exit (1);
42572 for (i = 0; i < pagesize; ++i)
42573 if (*(data + i) != *(data3 + i))
42574 exit (1);
42575 close (fd);
42576 exit (0);
42578 _ACEOF
42579 rm -f conftest$ac_exeext
42580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42581 (eval $ac_link) 2>&5
42582 ac_status=$?
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586 (eval $ac_try) 2>&5
42587 ac_status=$?
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; }; then
42590 ac_cv_func_mmap_fixed_mapped=yes
42591 else
42592 echo "$as_me: program exited with status $ac_status" >&5
42593 echo "$as_me: failed program was:" >&5
42594 sed 's/^/| /' conftest.$ac_ext >&5
42596 ( exit $ac_status )
42597 ac_cv_func_mmap_fixed_mapped=no
42599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42602 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42603 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42604 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42606 cat >>confdefs.h <<\_ACEOF
42607 #define HAVE_MMAP 1
42608 _ACEOF
42611 rm -f conftest.mmap
42615 # For iconv support.
42617 if test "X$prefix" = "XNONE"; then
42618 acl_final_prefix="$ac_default_prefix"
42619 else
42620 acl_final_prefix="$prefix"
42622 if test "X$exec_prefix" = "XNONE"; then
42623 acl_final_exec_prefix='${prefix}'
42624 else
42625 acl_final_exec_prefix="$exec_prefix"
42627 acl_save_prefix="$prefix"
42628 prefix="$acl_final_prefix"
42629 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42630 prefix="$acl_save_prefix"
42633 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42634 if test "${with_gnu_ld+set}" = set; then
42635 withval="$with_gnu_ld"
42636 test "$withval" = no || with_gnu_ld=yes
42637 else
42638 with_gnu_ld=no
42640 # Prepare PATH_SEPARATOR.
42641 # The user is always right.
42642 if test "${PATH_SEPARATOR+set}" != set; then
42643 echo "#! /bin/sh" >conf$$.sh
42644 echo "exit 0" >>conf$$.sh
42645 chmod +x conf$$.sh
42646 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42647 PATH_SEPARATOR=';'
42648 else
42649 PATH_SEPARATOR=:
42651 rm -f conf$$.sh
42653 ac_prog=ld
42654 if test "$GCC" = yes; then
42655 # Check if gcc -print-prog-name=ld gives a path.
42656 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42657 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42658 case $host in
42659 *-*-mingw*)
42660 # gcc leaves a trailing carriage return which upsets mingw
42661 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42663 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42664 esac
42665 case $ac_prog in
42666 # Accept absolute paths.
42667 [\\/]* | [A-Za-z]:[\\/]*)
42668 re_direlt='/[^/][^/]*/\.\./'
42669 # Canonicalize the path of ld
42670 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42671 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42672 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42673 done
42674 test -z "$LD" && LD="$ac_prog"
42677 # If it fails, then pretend we aren't using GCC.
42678 ac_prog=ld
42681 # If it is relative, then search for the first ld in PATH.
42682 with_gnu_ld=unknown
42684 esac
42685 elif test "$with_gnu_ld" = yes; then
42686 echo "$as_me:$LINENO: checking for GNU ld" >&5
42687 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42688 else
42689 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42690 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42692 if test "${acl_cv_path_LD+set}" = set; then
42693 echo $ECHO_N "(cached) $ECHO_C" >&6
42694 else
42695 if test -z "$LD"; then
42696 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42697 for ac_dir in $PATH; do
42698 test -z "$ac_dir" && ac_dir=.
42699 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42700 acl_cv_path_LD="$ac_dir/$ac_prog"
42701 # Check to see if the program is GNU ld. I'd rather use --version,
42702 # but apparently some GNU ld's only accept -v.
42703 # Break only if it was the GNU/non-GNU ld that we prefer.
42704 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42705 test "$with_gnu_ld" != no && break
42706 else
42707 test "$with_gnu_ld" != yes && break
42710 done
42711 IFS="$ac_save_ifs"
42712 else
42713 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42717 LD="$acl_cv_path_LD"
42718 if test -n "$LD"; then
42719 echo "$as_me:$LINENO: result: $LD" >&5
42720 echo "${ECHO_T}$LD" >&6
42721 else
42722 echo "$as_me:$LINENO: result: no" >&5
42723 echo "${ECHO_T}no" >&6
42725 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42726 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42727 { (exit 1); exit 1; }; }
42728 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42729 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42730 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42731 echo $ECHO_N "(cached) $ECHO_C" >&6
42732 else
42733 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42734 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42735 acl_cv_prog_gnu_ld=yes
42736 else
42737 acl_cv_prog_gnu_ld=no
42740 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42741 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42742 with_gnu_ld=$acl_cv_prog_gnu_ld
42746 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42747 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42748 if test "${acl_cv_rpath+set}" = set; then
42749 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 else
42752 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42753 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42754 . ./conftest.sh
42755 rm -f ./conftest.sh
42756 acl_cv_rpath=done
42759 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42760 echo "${ECHO_T}$acl_cv_rpath" >&6
42761 wl="$acl_cv_wl"
42762 libext="$acl_cv_libext"
42763 shlibext="$acl_cv_shlibext"
42764 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42765 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42766 hardcode_direct="$acl_cv_hardcode_direct"
42767 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42768 # Check whether --enable-rpath or --disable-rpath was given.
42769 if test "${enable_rpath+set}" = set; then
42770 enableval="$enable_rpath"
42772 else
42773 enable_rpath=yes
42782 use_additional=yes
42784 acl_save_prefix="$prefix"
42785 prefix="$acl_final_prefix"
42786 acl_save_exec_prefix="$exec_prefix"
42787 exec_prefix="$acl_final_exec_prefix"
42789 eval additional_includedir=\"$includedir\"
42790 eval additional_libdir=\"$libdir\"
42792 exec_prefix="$acl_save_exec_prefix"
42793 prefix="$acl_save_prefix"
42796 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42797 if test "${with_libiconv_prefix+set}" = set; then
42798 withval="$with_libiconv_prefix"
42800 if test "X$withval" = "Xno"; then
42801 use_additional=no
42802 else
42803 if test "X$withval" = "X"; then
42805 acl_save_prefix="$prefix"
42806 prefix="$acl_final_prefix"
42807 acl_save_exec_prefix="$exec_prefix"
42808 exec_prefix="$acl_final_exec_prefix"
42810 eval additional_includedir=\"$includedir\"
42811 eval additional_libdir=\"$libdir\"
42813 exec_prefix="$acl_save_exec_prefix"
42814 prefix="$acl_save_prefix"
42816 else
42817 additional_includedir="$withval/include"
42818 additional_libdir="$withval/lib"
42823 LIBICONV=
42824 LTLIBICONV=
42825 INCICONV=
42826 rpathdirs=
42827 ltrpathdirs=
42828 names_already_handled=
42829 names_next_round='iconv '
42830 while test -n "$names_next_round"; do
42831 names_this_round="$names_next_round"
42832 names_next_round=
42833 for name in $names_this_round; do
42834 already_handled=
42835 for n in $names_already_handled; do
42836 if test "$n" = "$name"; then
42837 already_handled=yes
42838 break
42840 done
42841 if test -z "$already_handled"; then
42842 names_already_handled="$names_already_handled $name"
42843 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42844 eval value=\"\$HAVE_LIB$uppername\"
42845 if test -n "$value"; then
42846 if test "$value" = yes; then
42847 eval value=\"\$LIB$uppername\"
42848 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42849 eval value=\"\$LTLIB$uppername\"
42850 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42851 else
42854 else
42855 found_dir=
42856 found_la=
42857 found_so=
42858 found_a=
42859 if test $use_additional = yes; then
42860 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42861 found_dir="$additional_libdir"
42862 found_so="$additional_libdir/lib$name.$shlibext"
42863 if test -f "$additional_libdir/lib$name.la"; then
42864 found_la="$additional_libdir/lib$name.la"
42866 else
42867 if test -f "$additional_libdir/lib$name.$libext"; then
42868 found_dir="$additional_libdir"
42869 found_a="$additional_libdir/lib$name.$libext"
42870 if test -f "$additional_libdir/lib$name.la"; then
42871 found_la="$additional_libdir/lib$name.la"
42876 if test "X$found_dir" = "X"; then
42877 for x in $LDFLAGS $LTLIBICONV; do
42879 acl_save_prefix="$prefix"
42880 prefix="$acl_final_prefix"
42881 acl_save_exec_prefix="$exec_prefix"
42882 exec_prefix="$acl_final_exec_prefix"
42883 eval x=\"$x\"
42884 exec_prefix="$acl_save_exec_prefix"
42885 prefix="$acl_save_prefix"
42887 case "$x" in
42888 -L*)
42889 dir=`echo "X$x" | sed -e 's/^X-L//'`
42890 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42891 found_dir="$dir"
42892 found_so="$dir/lib$name.$shlibext"
42893 if test -f "$dir/lib$name.la"; then
42894 found_la="$dir/lib$name.la"
42896 else
42897 if test -f "$dir/lib$name.$libext"; then
42898 found_dir="$dir"
42899 found_a="$dir/lib$name.$libext"
42900 if test -f "$dir/lib$name.la"; then
42901 found_la="$dir/lib$name.la"
42906 esac
42907 if test "X$found_dir" != "X"; then
42908 break
42910 done
42912 if test "X$found_dir" != "X"; then
42913 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42914 if test "X$found_so" != "X"; then
42915 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42916 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42917 else
42918 haveit=
42919 for x in $ltrpathdirs; do
42920 if test "X$x" = "X$found_dir"; then
42921 haveit=yes
42922 break
42924 done
42925 if test -z "$haveit"; then
42926 ltrpathdirs="$ltrpathdirs $found_dir"
42928 if test "$hardcode_direct" = yes; then
42929 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42930 else
42931 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42932 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42933 haveit=
42934 for x in $rpathdirs; do
42935 if test "X$x" = "X$found_dir"; then
42936 haveit=yes
42937 break
42939 done
42940 if test -z "$haveit"; then
42941 rpathdirs="$rpathdirs $found_dir"
42943 else
42944 haveit=
42945 for x in $LDFLAGS $LIBICONV; do
42947 acl_save_prefix="$prefix"
42948 prefix="$acl_final_prefix"
42949 acl_save_exec_prefix="$exec_prefix"
42950 exec_prefix="$acl_final_exec_prefix"
42951 eval x=\"$x\"
42952 exec_prefix="$acl_save_exec_prefix"
42953 prefix="$acl_save_prefix"
42955 if test "X$x" = "X-L$found_dir"; then
42956 haveit=yes
42957 break
42959 done
42960 if test -z "$haveit"; then
42961 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42963 if test "$hardcode_minus_L" != no; then
42964 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42965 else
42966 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42971 else
42972 if test "X$found_a" != "X"; then
42973 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42974 else
42975 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42978 additional_includedir=
42979 case "$found_dir" in
42980 */lib | */lib/)
42981 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42982 additional_includedir="$basedir/include"
42984 esac
42985 if test "X$additional_includedir" != "X"; then
42986 if test "X$additional_includedir" != "X/usr/include"; then
42987 haveit=
42988 if test "X$additional_includedir" = "X/usr/local/include"; then
42989 if test -n "$GCC"; then
42990 case $host_os in
42991 linux*) haveit=yes;;
42992 esac
42995 if test -z "$haveit"; then
42996 for x in $CPPFLAGS $INCICONV; do
42998 acl_save_prefix="$prefix"
42999 prefix="$acl_final_prefix"
43000 acl_save_exec_prefix="$exec_prefix"
43001 exec_prefix="$acl_final_exec_prefix"
43002 eval x=\"$x\"
43003 exec_prefix="$acl_save_exec_prefix"
43004 prefix="$acl_save_prefix"
43006 if test "X$x" = "X-I$additional_includedir"; then
43007 haveit=yes
43008 break
43010 done
43011 if test -z "$haveit"; then
43012 if test -d "$additional_includedir"; then
43013 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
43019 if test -n "$found_la"; then
43020 save_libdir="$libdir"
43021 case "$found_la" in
43022 */* | *\\*) . "$found_la" ;;
43023 *) . "./$found_la" ;;
43024 esac
43025 libdir="$save_libdir"
43026 for dep in $dependency_libs; do
43027 case "$dep" in
43028 -L*)
43029 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
43030 if test "X$additional_libdir" != "X/usr/lib"; then
43031 haveit=
43032 if test "X$additional_libdir" = "X/usr/local/lib"; then
43033 if test -n "$GCC"; then
43034 case $host_os in
43035 linux*) haveit=yes;;
43036 esac
43039 if test -z "$haveit"; then
43040 haveit=
43041 for x in $LDFLAGS $LIBICONV; do
43043 acl_save_prefix="$prefix"
43044 prefix="$acl_final_prefix"
43045 acl_save_exec_prefix="$exec_prefix"
43046 exec_prefix="$acl_final_exec_prefix"
43047 eval x=\"$x\"
43048 exec_prefix="$acl_save_exec_prefix"
43049 prefix="$acl_save_prefix"
43051 if test "X$x" = "X-L$additional_libdir"; then
43052 haveit=yes
43053 break
43055 done
43056 if test -z "$haveit"; then
43057 if test -d "$additional_libdir"; then
43058 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
43061 haveit=
43062 for x in $LDFLAGS $LTLIBICONV; do
43064 acl_save_prefix="$prefix"
43065 prefix="$acl_final_prefix"
43066 acl_save_exec_prefix="$exec_prefix"
43067 exec_prefix="$acl_final_exec_prefix"
43068 eval x=\"$x\"
43069 exec_prefix="$acl_save_exec_prefix"
43070 prefix="$acl_save_prefix"
43072 if test "X$x" = "X-L$additional_libdir"; then
43073 haveit=yes
43074 break
43076 done
43077 if test -z "$haveit"; then
43078 if test -d "$additional_libdir"; then
43079 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
43085 -R*)
43086 dir=`echo "X$dep" | sed -e 's/^X-R//'`
43087 if test "$enable_rpath" != no; then
43088 haveit=
43089 for x in $rpathdirs; do
43090 if test "X$x" = "X$dir"; then
43091 haveit=yes
43092 break
43094 done
43095 if test -z "$haveit"; then
43096 rpathdirs="$rpathdirs $dir"
43098 haveit=
43099 for x in $ltrpathdirs; do
43100 if test "X$x" = "X$dir"; then
43101 haveit=yes
43102 break
43104 done
43105 if test -z "$haveit"; then
43106 ltrpathdirs="$ltrpathdirs $dir"
43110 -l*)
43111 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
43113 *.la)
43114 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
43117 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
43118 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
43120 esac
43121 done
43123 else
43124 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
43125 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
43129 done
43130 done
43131 if test "X$rpathdirs" != "X"; then
43132 if test -n "$hardcode_libdir_separator"; then
43133 alldirs=
43134 for found_dir in $rpathdirs; do
43135 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
43136 done
43137 acl_save_libdir="$libdir"
43138 libdir="$alldirs"
43139 eval flag=\"$hardcode_libdir_flag_spec\"
43140 libdir="$acl_save_libdir"
43141 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43142 else
43143 for found_dir in $rpathdirs; do
43144 acl_save_libdir="$libdir"
43145 libdir="$found_dir"
43146 eval flag=\"$hardcode_libdir_flag_spec\"
43147 libdir="$acl_save_libdir"
43148 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43149 done
43152 if test "X$ltrpathdirs" != "X"; then
43153 for found_dir in $ltrpathdirs; do
43154 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
43155 done
43164 am_save_CPPFLAGS="$CPPFLAGS"
43166 for element in $INCICONV; do
43167 haveit=
43168 for x in $CPPFLAGS; do
43170 acl_save_prefix="$prefix"
43171 prefix="$acl_final_prefix"
43172 acl_save_exec_prefix="$exec_prefix"
43173 exec_prefix="$acl_final_exec_prefix"
43174 eval x=\"$x\"
43175 exec_prefix="$acl_save_exec_prefix"
43176 prefix="$acl_save_prefix"
43178 if test "X$x" = "X$element"; then
43179 haveit=yes
43180 break
43182 done
43183 if test -z "$haveit"; then
43184 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43186 done
43189 echo "$as_me:$LINENO: checking for iconv" >&5
43190 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
43191 if test "${am_cv_func_iconv+set}" = set; then
43192 echo $ECHO_N "(cached) $ECHO_C" >&6
43193 else
43195 am_cv_func_iconv="no, consider installing GNU libiconv"
43196 am_cv_lib_iconv=no
43197 if test x$gcc_no_link = xyes; then
43198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43200 { (exit 1); exit 1; }; }
43202 cat >conftest.$ac_ext <<_ACEOF
43203 /* confdefs.h. */
43204 _ACEOF
43205 cat confdefs.h >>conftest.$ac_ext
43206 cat >>conftest.$ac_ext <<_ACEOF
43207 /* end confdefs.h. */
43208 #include <stdlib.h>
43209 #include <iconv.h>
43211 main ()
43213 iconv_t cd = iconv_open("","");
43214 iconv(cd,NULL,NULL,NULL,NULL);
43215 iconv_close(cd);
43217 return 0;
43219 _ACEOF
43220 rm -f conftest.$ac_objext conftest$ac_exeext
43221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43222 (eval $ac_link) 2>conftest.er1
43223 ac_status=$?
43224 grep -v '^ *+' conftest.er1 >conftest.err
43225 rm -f conftest.er1
43226 cat conftest.err >&5
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); } &&
43229 { ac_try='test -z "$ac_c_werror_flag"
43230 || test ! -s conftest.err'
43231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43232 (eval $ac_try) 2>&5
43233 ac_status=$?
43234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); }; } &&
43236 { ac_try='test -s conftest$ac_exeext'
43237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43238 (eval $ac_try) 2>&5
43239 ac_status=$?
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); }; }; then
43242 am_cv_func_iconv=yes
43243 else
43244 echo "$as_me: failed program was:" >&5
43245 sed 's/^/| /' conftest.$ac_ext >&5
43248 rm -f conftest.err conftest.$ac_objext \
43249 conftest$ac_exeext conftest.$ac_ext
43250 if test "$am_cv_func_iconv" != yes; then
43251 am_save_LIBS="$LIBS"
43252 LIBS="$LIBS $LIBICONV"
43253 if test x$gcc_no_link = xyes; then
43254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43256 { (exit 1); exit 1; }; }
43258 cat >conftest.$ac_ext <<_ACEOF
43259 /* confdefs.h. */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43264 #include <stdlib.h>
43265 #include <iconv.h>
43267 main ()
43269 iconv_t cd = iconv_open("","");
43270 iconv(cd,NULL,NULL,NULL,NULL);
43271 iconv_close(cd);
43273 return 0;
43275 _ACEOF
43276 rm -f conftest.$ac_objext conftest$ac_exeext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43278 (eval $ac_link) 2>conftest.er1
43279 ac_status=$?
43280 grep -v '^ *+' conftest.er1 >conftest.err
43281 rm -f conftest.er1
43282 cat conftest.err >&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } &&
43285 { ac_try='test -z "$ac_c_werror_flag"
43286 || test ! -s conftest.err'
43287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43288 (eval $ac_try) 2>&5
43289 ac_status=$?
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); }; } &&
43292 { ac_try='test -s conftest$ac_exeext'
43293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43294 (eval $ac_try) 2>&5
43295 ac_status=$?
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); }; }; then
43298 am_cv_lib_iconv=yes
43299 am_cv_func_iconv=yes
43300 else
43301 echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.$ac_ext >&5
43305 rm -f conftest.err conftest.$ac_objext \
43306 conftest$ac_exeext conftest.$ac_ext
43307 LIBS="$am_save_LIBS"
43311 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
43312 echo "${ECHO_T}$am_cv_func_iconv" >&6
43313 if test "$am_cv_func_iconv" = yes; then
43315 cat >>confdefs.h <<\_ACEOF
43316 #define HAVE_ICONV 1
43317 _ACEOF
43320 if test "$am_cv_lib_iconv" = yes; then
43321 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
43322 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
43323 echo "$as_me:$LINENO: result: $LIBICONV" >&5
43324 echo "${ECHO_T}$LIBICONV" >&6
43325 else
43326 CPPFLAGS="$am_save_CPPFLAGS"
43327 LIBICONV=
43328 LTLIBICONV=
43333 if test "$am_cv_func_iconv" = yes; then
43334 echo "$as_me:$LINENO: checking for iconv declaration" >&5
43335 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
43336 if test "${am_cv_proto_iconv+set}" = set; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43338 else
43340 cat >conftest.$ac_ext <<_ACEOF
43341 /* confdefs.h. */
43342 _ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43347 #include <stdlib.h>
43348 #include <iconv.h>
43349 extern
43350 #ifdef __cplusplus
43352 #endif
43353 #if defined(__STDC__) || defined(__cplusplus)
43354 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43355 #else
43356 size_t iconv();
43357 #endif
43360 main ()
43364 return 0;
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43369 (eval $ac_compile) 2>conftest.er1
43370 ac_status=$?
43371 grep -v '^ *+' conftest.er1 >conftest.err
43372 rm -f conftest.er1
43373 cat conftest.err >&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); } &&
43376 { ac_try='test -z "$ac_c_werror_flag"
43377 || test ! -s conftest.err'
43378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379 (eval $ac_try) 2>&5
43380 ac_status=$?
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); }; } &&
43383 { ac_try='test -s conftest.$ac_objext'
43384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43385 (eval $ac_try) 2>&5
43386 ac_status=$?
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); }; }; then
43389 am_cv_proto_iconv_arg1=""
43390 else
43391 echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43394 am_cv_proto_iconv_arg1="const"
43396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43397 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);"
43400 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43401 echo "$as_me:$LINENO: result: ${ac_t:-
43402 }$am_cv_proto_iconv" >&5
43403 echo "${ECHO_T}${ac_t:-
43404 }$am_cv_proto_iconv" >&6
43406 cat >>confdefs.h <<_ACEOF
43407 #define ICONV_CONST $am_cv_proto_iconv_arg1
43408 _ACEOF
43413 else
43415 # This lets us hard-code the functionality we know we'll have in the cross
43416 # target environment. "Let" is a sugar-coated word placed on an especially
43417 # dull and tedious hack, actually.
43419 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
43420 # that involve linking, can't be used:
43421 # "cannot open sim-crt0.o"
43422 # "cannot open crt0.o"
43423 # etc. All this is because there currently exists no unified, consistent
43424 # way for top level CC information to be passed down to target directories:
43425 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
43426 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
43427 # crosses can be removed.
43429 # If Canadian cross, then don't pick up tools from the build directory.
43430 # Used only in GLIBCXX_EXPORT_INCLUDES.
43431 if test -n "$with_cross_host" &&
43432 test x"$build_alias" != x"$with_cross_host" &&
43433 test x"$build" != x"$target";
43434 then
43435 CANADIAN=yes
43436 else
43437 CANADIAN=no
43440 # Construct crosses by hand, eliminating bits that need ld...
43441 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
43442 # GLIBCXX_CHECK_MATH_SUPPORT
43444 # First, test for "known" system libraries. We may be using newlib even
43445 # on a hosted environment.
43446 if test "x${with_newlib}" = "xyes"; then
43447 os_include_dir="os/newlib"
43448 cat >>confdefs.h <<\_ACEOF
43449 #define HAVE_HYPOT 1
43450 _ACEOF
43453 # GLIBCXX_CHECK_STDLIB_SUPPORT
43454 cat >>confdefs.h <<\_ACEOF
43455 #define HAVE_STRTOF 1
43456 _ACEOF
43458 # AC_FUNC_MMAP
43459 cat >>confdefs.h <<\_ACEOF
43460 #define HAVE_MMAP 1
43461 _ACEOF
43464 cat >>confdefs.h <<\_ACEOF
43465 #define HAVE_ACOSF 1
43466 _ACEOF
43468 cat >>confdefs.h <<\_ACEOF
43469 #define HAVE_ASINF 1
43470 _ACEOF
43472 cat >>confdefs.h <<\_ACEOF
43473 #define HAVE_ATAN2F 1
43474 _ACEOF
43476 cat >>confdefs.h <<\_ACEOF
43477 #define HAVE_ATANF 1
43478 _ACEOF
43480 cat >>confdefs.h <<\_ACEOF
43481 #define HAVE_CEILF 1
43482 _ACEOF
43484 cat >>confdefs.h <<\_ACEOF
43485 #define HAVE_COPYSIGN 1
43486 _ACEOF
43488 cat >>confdefs.h <<\_ACEOF
43489 #define HAVE_COPYSIGNF 1
43490 _ACEOF
43492 cat >>confdefs.h <<\_ACEOF
43493 #define HAVE_COSF 1
43494 _ACEOF
43496 cat >>confdefs.h <<\_ACEOF
43497 #define HAVE_COSHF 1
43498 _ACEOF
43500 cat >>confdefs.h <<\_ACEOF
43501 #define HAVE_EXPF 1
43502 _ACEOF
43504 cat >>confdefs.h <<\_ACEOF
43505 #define HAVE_FABSF 1
43506 _ACEOF
43508 cat >>confdefs.h <<\_ACEOF
43509 #define HAVE_FLOORF 1
43510 _ACEOF
43512 cat >>confdefs.h <<\_ACEOF
43513 #define HAVE_FMODF 1
43514 _ACEOF
43516 cat >>confdefs.h <<\_ACEOF
43517 #define HAVE_FREXPF 1
43518 _ACEOF
43520 cat >>confdefs.h <<\_ACEOF
43521 #define HAVE_LDEXPF 1
43522 _ACEOF
43524 cat >>confdefs.h <<\_ACEOF
43525 #define HAVE_LOG10F 1
43526 _ACEOF
43528 cat >>confdefs.h <<\_ACEOF
43529 #define HAVE_LOGF 1
43530 _ACEOF
43532 cat >>confdefs.h <<\_ACEOF
43533 #define HAVE_MODFF 1
43534 _ACEOF
43536 cat >>confdefs.h <<\_ACEOF
43537 #define HAVE_POWF 1
43538 _ACEOF
43540 cat >>confdefs.h <<\_ACEOF
43541 #define HAVE_SINF 1
43542 _ACEOF
43544 cat >>confdefs.h <<\_ACEOF
43545 #define HAVE_SINHF 1
43546 _ACEOF
43548 cat >>confdefs.h <<\_ACEOF
43549 #define HAVE_SQRTF 1
43550 _ACEOF
43552 cat >>confdefs.h <<\_ACEOF
43553 #define HAVE_TANF 1
43554 _ACEOF
43556 cat >>confdefs.h <<\_ACEOF
43557 #define HAVE_TANHF 1
43558 _ACEOF
43561 cat >>confdefs.h <<\_ACEOF
43562 #define HAVE_S_ISREG 1
43563 _ACEOF
43565 cat >>confdefs.h <<\_ACEOF
43566 #define HAVE_S_IFREG 1
43567 _ACEOF
43570 cat >>confdefs.h <<\_ACEOF
43571 #define HAVE_ICONV 1
43572 _ACEOF
43574 else
43576 # Base decisions on target environment.
43577 case "${host}" in
43578 arm*-*-symbianelf*)
43579 # This is a freestanding configuration; there is nothing to do here.
43582 mips*-sde-elf*)
43583 # These definitions are for the SDE C library rather than newlib.
43599 for ac_header in float.h inttypes.h locale.h \
43600 stdint.h stdlib.h string.h unistd.h wchar.h \
43601 machine/endian.h sys/ioctl.h sys/resource.h \
43602 sys/stat.h sys/time.h sys/types.h sys/uio.h
43604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43606 echo "$as_me:$LINENO: checking for $ac_header" >&5
43607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43609 echo $ECHO_N "(cached) $ECHO_C" >&6
43611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43613 else
43614 # Is the header compilable?
43615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43617 cat >conftest.$ac_ext <<_ACEOF
43618 /* confdefs.h. */
43619 _ACEOF
43620 cat confdefs.h >>conftest.$ac_ext
43621 cat >>conftest.$ac_ext <<_ACEOF
43622 /* end confdefs.h. */
43623 $ac_includes_default
43624 #include <$ac_header>
43625 _ACEOF
43626 rm -f conftest.$ac_objext
43627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43628 (eval $ac_compile) 2>conftest.er1
43629 ac_status=$?
43630 grep -v '^ *+' conftest.er1 >conftest.err
43631 rm -f conftest.er1
43632 cat conftest.err >&5
43633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43634 (exit $ac_status); } &&
43635 { ac_try='test -z "$ac_c_werror_flag"
43636 || test ! -s conftest.err'
43637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43638 (eval $ac_try) 2>&5
43639 ac_status=$?
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); }; } &&
43642 { ac_try='test -s conftest.$ac_objext'
43643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43644 (eval $ac_try) 2>&5
43645 ac_status=$?
43646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43647 (exit $ac_status); }; }; then
43648 ac_header_compiler=yes
43649 else
43650 echo "$as_me: failed program was:" >&5
43651 sed 's/^/| /' conftest.$ac_ext >&5
43653 ac_header_compiler=no
43655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43657 echo "${ECHO_T}$ac_header_compiler" >&6
43659 # Is the header present?
43660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43662 cat >conftest.$ac_ext <<_ACEOF
43663 /* confdefs.h. */
43664 _ACEOF
43665 cat confdefs.h >>conftest.$ac_ext
43666 cat >>conftest.$ac_ext <<_ACEOF
43667 /* end confdefs.h. */
43668 #include <$ac_header>
43669 _ACEOF
43670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43672 ac_status=$?
43673 grep -v '^ *+' conftest.er1 >conftest.err
43674 rm -f conftest.er1
43675 cat conftest.err >&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } >/dev/null; then
43678 if test -s conftest.err; then
43679 ac_cpp_err=$ac_c_preproc_warn_flag
43680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43681 else
43682 ac_cpp_err=
43684 else
43685 ac_cpp_err=yes
43687 if test -z "$ac_cpp_err"; then
43688 ac_header_preproc=yes
43689 else
43690 echo "$as_me: failed program was:" >&5
43691 sed 's/^/| /' conftest.$ac_ext >&5
43693 ac_header_preproc=no
43695 rm -f conftest.err conftest.$ac_ext
43696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43697 echo "${ECHO_T}$ac_header_preproc" >&6
43699 # So? What about this header?
43700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43701 yes:no: )
43702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43706 ac_header_preproc=yes
43708 no:yes:* )
43709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43722 cat <<\_ASBOX
43723 ## ----------------------------------------- ##
43724 ## Report this to the package-unused lists. ##
43725 ## ----------------------------------------- ##
43726 _ASBOX
43728 sed "s/^/$as_me: WARNING: /" >&2
43730 esac
43731 echo "$as_me:$LINENO: checking for $ac_header" >&5
43732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43734 echo $ECHO_N "(cached) $ECHO_C" >&6
43735 else
43736 eval "$as_ac_Header=\$ac_header_preproc"
43738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43743 cat >>confdefs.h <<_ACEOF
43744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43745 _ACEOF
43749 done
43751 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43754 # All these tests are for C++; save the language and the compiler flags.
43755 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43756 # found in GLIBCXX_CONFIGURE.
43759 ac_ext=cc
43760 ac_cpp='$CXXCPP $CPPFLAGS'
43761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43765 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43766 ac_save_CXXFLAGS="$CXXFLAGS"
43768 # Check for maintainer-mode bits.
43769 if test x"$USE_MAINTAINER_MODE" = xno; then
43770 WERROR=''
43771 else
43772 WERROR='-Werror'
43775 # Check for -ffunction-sections -fdata-sections
43776 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43777 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43778 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43779 cat >conftest.$ac_ext <<_ACEOF
43780 /* confdefs.h. */
43781 _ACEOF
43782 cat confdefs.h >>conftest.$ac_ext
43783 cat >>conftest.$ac_ext <<_ACEOF
43784 /* end confdefs.h. */
43785 int foo; void bar() { };
43787 main ()
43791 return 0;
43793 _ACEOF
43794 rm -f conftest.$ac_objext
43795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43796 (eval $ac_compile) 2>conftest.er1
43797 ac_status=$?
43798 grep -v '^ *+' conftest.er1 >conftest.err
43799 rm -f conftest.er1
43800 cat conftest.err >&5
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); } &&
43803 { ac_try='test -z "$ac_cxx_werror_flag"
43804 || test ! -s conftest.err'
43805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806 (eval $ac_try) 2>&5
43807 ac_status=$?
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); }; } &&
43810 { ac_try='test -s conftest.$ac_objext'
43811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43812 (eval $ac_try) 2>&5
43813 ac_status=$?
43814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815 (exit $ac_status); }; }; then
43816 ac_fdsections=yes
43817 else
43818 echo "$as_me: failed program was:" >&5
43819 sed 's/^/| /' conftest.$ac_ext >&5
43821 ac_fdsections=no
43823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43824 if test "$ac_test_CXXFLAGS" = set; then
43825 CXXFLAGS="$ac_save_CXXFLAGS"
43826 else
43827 # this is the suspicious part
43828 CXXFLAGS=''
43830 if test x"$ac_fdsections" = x"yes"; then
43831 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43833 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43834 echo "${ECHO_T}$ac_fdsections" >&6
43836 ac_ext=c
43837 ac_cpp='$CPP $CPPFLAGS'
43838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43846 # If we're not using GNU ld, then there's no point in even trying these
43847 # tests. Check for that first. We should have already tested for gld
43848 # by now (in libtool), but require it now just to be safe...
43849 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43850 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43854 # The name set by libtool depends on the version of libtool. Shame on us
43855 # for depending on an impl detail, but c'est la vie. Older versions used
43856 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43857 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43858 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43859 # set (hence we're using an older libtool), then set it.
43860 if test x${with_gnu_ld+set} != xset; then
43861 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43862 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43863 with_gnu_ld=no
43864 else
43865 with_gnu_ld=$ac_cv_prog_gnu_ld
43869 # Start by getting the version number. I think the libtool test already
43870 # does some of this, but throws away the result.
43871 glibcxx_ld_is_gold=no
43872 if test x"$with_gnu_ld" = x"yes"; then
43873 echo "$as_me:$LINENO: checking for ld version" >&5
43874 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43876 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43877 glibcxx_ld_is_gold=yes
43879 ldver=`$LD --version 2>/dev/null | head -1 | \
43880 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43882 glibcxx_gnu_ld_version=`echo $ldver | \
43883 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43884 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43885 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43888 # Set --gc-sections.
43889 glibcxx_have_gc_sections=no
43890 if test "$glibcxx_ld_is_gold" = "yes"; then
43891 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43892 glibcxx_have_gc_sections=yes
43894 else
43895 glibcxx_gcsections_min_ld=21602
43896 if test x"$with_gnu_ld" = x"yes" &&
43897 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43898 glibcxx_have_gc_sections=yes
43901 if test "$glibcxx_have_gc_sections" = "yes"; then
43902 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43903 # NB: This flag only works reliably after 2.16.1. Configure tests
43904 # for this are difficult, so hard wire a value that should work.
43906 ac_test_CFLAGS="${CFLAGS+set}"
43907 ac_save_CFLAGS="$CFLAGS"
43908 CFLAGS='-Wl,--gc-sections'
43910 # Check for -Wl,--gc-sections
43911 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43912 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43913 if test x$gcc_no_link = xyes; then
43914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43916 { (exit 1); exit 1; }; }
43918 cat >conftest.$ac_ext <<_ACEOF
43919 /* confdefs.h. */
43920 _ACEOF
43921 cat confdefs.h >>conftest.$ac_ext
43922 cat >>conftest.$ac_ext <<_ACEOF
43923 /* end confdefs.h. */
43924 int one(void) { return 1; }
43925 int two(void) { return 2; }
43928 main ()
43930 two();
43932 return 0;
43934 _ACEOF
43935 rm -f conftest.$ac_objext conftest$ac_exeext
43936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43937 (eval $ac_link) 2>conftest.er1
43938 ac_status=$?
43939 grep -v '^ *+' conftest.er1 >conftest.err
43940 rm -f conftest.er1
43941 cat conftest.err >&5
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); } &&
43944 { ac_try='test -z "$ac_c_werror_flag"
43945 || test ! -s conftest.err'
43946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43947 (eval $ac_try) 2>&5
43948 ac_status=$?
43949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43950 (exit $ac_status); }; } &&
43951 { ac_try='test -s conftest$ac_exeext'
43952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43953 (eval $ac_try) 2>&5
43954 ac_status=$?
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; }; then
43957 ac_gcsections=yes
43958 else
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43962 ac_gcsections=no
43964 rm -f conftest.err conftest.$ac_objext \
43965 conftest$ac_exeext conftest.$ac_ext
43966 if test "$ac_gcsections" = "yes"; then
43967 rm -f conftest.c
43968 touch conftest.c
43969 if $CC -c conftest.c; then
43970 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43971 grep "Warning: gc-sections option ignored" > /dev/null; then
43972 ac_gcsections=no
43975 rm -f conftest.c conftest.o conftest
43977 if test "$ac_gcsections" = "yes"; then
43978 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43980 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43981 echo "${ECHO_T}$ac_gcsections" >&6
43983 if test "$ac_test_CFLAGS" = set; then
43984 CFLAGS="$ac_save_CFLAGS"
43985 else
43986 # this is the suspicious part
43987 CFLAGS=''
43991 # Set -z,relro.
43992 # Note this is only for shared objects.
43993 ac_ld_relro=no
43994 if test x"$with_gnu_ld" = x"yes"; then
43995 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43996 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43997 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43998 if test -n "$cxx_z_relo"; then
43999 OPT_LDFLAGS="-Wl,-z,relro"
44000 ac_ld_relro=yes
44002 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
44003 echo "${ECHO_T}$ac_ld_relro" >&6
44006 # Set linker optimization flags.
44007 if test x"$with_gnu_ld" = x"yes"; then
44008 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44015 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44016 ac_save_CXXFLAGS="$CXXFLAGS"
44017 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44019 echo "$as_me:$LINENO: checking for sin in -lm" >&5
44020 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
44021 if test "${ac_cv_lib_m_sin+set}" = set; then
44022 echo $ECHO_N "(cached) $ECHO_C" >&6
44023 else
44024 ac_check_lib_save_LIBS=$LIBS
44025 LIBS="-lm $LIBS"
44026 if test x$gcc_no_link = xyes; then
44027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44029 { (exit 1); exit 1; }; }
44031 cat >conftest.$ac_ext <<_ACEOF
44032 /* confdefs.h. */
44033 _ACEOF
44034 cat confdefs.h >>conftest.$ac_ext
44035 cat >>conftest.$ac_ext <<_ACEOF
44036 /* end confdefs.h. */
44038 /* Override any gcc2 internal prototype to avoid an error. */
44039 #ifdef __cplusplus
44040 extern "C"
44041 #endif
44042 /* We use char because int might match the return type of a gcc2
44043 builtin and then its argument prototype would still apply. */
44044 char sin ();
44046 main ()
44048 sin ();
44050 return 0;
44052 _ACEOF
44053 rm -f conftest.$ac_objext conftest$ac_exeext
44054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44055 (eval $ac_link) 2>conftest.er1
44056 ac_status=$?
44057 grep -v '^ *+' conftest.er1 >conftest.err
44058 rm -f conftest.er1
44059 cat conftest.err >&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } &&
44062 { ac_try='test -z "$ac_c_werror_flag"
44063 || test ! -s conftest.err'
44064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44065 (eval $ac_try) 2>&5
44066 ac_status=$?
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); }; } &&
44069 { ac_try='test -s conftest$ac_exeext'
44070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44071 (eval $ac_try) 2>&5
44072 ac_status=$?
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); }; }; then
44075 ac_cv_lib_m_sin=yes
44076 else
44077 echo "$as_me: failed program was:" >&5
44078 sed 's/^/| /' conftest.$ac_ext >&5
44080 ac_cv_lib_m_sin=no
44082 rm -f conftest.err conftest.$ac_objext \
44083 conftest$ac_exeext conftest.$ac_ext
44084 LIBS=$ac_check_lib_save_LIBS
44086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
44087 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
44088 if test $ac_cv_lib_m_sin = yes; then
44089 libm="-lm"
44092 ac_save_LIBS="$LIBS"
44093 LIBS="$LIBS $libm"
44097 echo "$as_me:$LINENO: checking for isinf declaration" >&5
44098 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
44099 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44100 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
44101 echo $ECHO_N "(cached) $ECHO_C" >&6
44102 else
44106 ac_ext=cc
44107 ac_cpp='$CXXCPP $CPPFLAGS'
44108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44112 cat >conftest.$ac_ext <<_ACEOF
44113 /* confdefs.h. */
44114 _ACEOF
44115 cat confdefs.h >>conftest.$ac_ext
44116 cat >>conftest.$ac_ext <<_ACEOF
44117 /* end confdefs.h. */
44118 #include <math.h>
44119 #ifdef HAVE_IEEEFP_H
44120 #include <ieeefp.h>
44121 #endif
44124 main ()
44126 isinf(0);
44128 return 0;
44130 _ACEOF
44131 rm -f conftest.$ac_objext
44132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44133 (eval $ac_compile) 2>conftest.er1
44134 ac_status=$?
44135 grep -v '^ *+' conftest.er1 >conftest.err
44136 rm -f conftest.er1
44137 cat conftest.err >&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); } &&
44140 { ac_try='test -z "$ac_cxx_werror_flag"
44141 || test ! -s conftest.err'
44142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44143 (eval $ac_try) 2>&5
44144 ac_status=$?
44145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146 (exit $ac_status); }; } &&
44147 { ac_try='test -s conftest.$ac_objext'
44148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149 (eval $ac_try) 2>&5
44150 ac_status=$?
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); }; }; then
44153 glibcxx_cv_func_isinf_use=yes
44154 else
44155 echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44158 glibcxx_cv_func_isinf_use=no
44160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44161 ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44171 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
44172 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
44174 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44176 for ac_func in isinf
44178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44179 echo "$as_me:$LINENO: checking for $ac_func" >&5
44180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44181 if eval "test \"\${$as_ac_var+set}\" = set"; then
44182 echo $ECHO_N "(cached) $ECHO_C" >&6
44183 else
44184 if test x$gcc_no_link = xyes; then
44185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44187 { (exit 1); exit 1; }; }
44189 cat >conftest.$ac_ext <<_ACEOF
44190 /* confdefs.h. */
44191 _ACEOF
44192 cat confdefs.h >>conftest.$ac_ext
44193 cat >>conftest.$ac_ext <<_ACEOF
44194 /* end confdefs.h. */
44195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44197 #define $ac_func innocuous_$ac_func
44199 /* System header to define __stub macros and hopefully few prototypes,
44200 which can conflict with char $ac_func (); below.
44201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44202 <limits.h> exists even on freestanding compilers. */
44204 #ifdef __STDC__
44205 # include <limits.h>
44206 #else
44207 # include <assert.h>
44208 #endif
44210 #undef $ac_func
44212 /* Override any gcc2 internal prototype to avoid an error. */
44213 #ifdef __cplusplus
44214 extern "C"
44216 #endif
44217 /* We use char because int might match the return type of a gcc2
44218 builtin and then its argument prototype would still apply. */
44219 char $ac_func ();
44220 /* The GNU C library defines this for functions which it implements
44221 to always fail with ENOSYS. Some functions are actually named
44222 something starting with __ and the normal name is an alias. */
44223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44224 choke me
44225 #else
44226 char (*f) () = $ac_func;
44227 #endif
44228 #ifdef __cplusplus
44230 #endif
44233 main ()
44235 return f != $ac_func;
44237 return 0;
44239 _ACEOF
44240 rm -f conftest.$ac_objext conftest$ac_exeext
44241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44242 (eval $ac_link) 2>conftest.er1
44243 ac_status=$?
44244 grep -v '^ *+' conftest.er1 >conftest.err
44245 rm -f conftest.er1
44246 cat conftest.err >&5
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); } &&
44249 { ac_try='test -z "$ac_c_werror_flag"
44250 || test ! -s conftest.err'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44253 ac_status=$?
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; } &&
44256 { ac_try='test -s conftest$ac_exeext'
44257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44258 (eval $ac_try) 2>&5
44259 ac_status=$?
44260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261 (exit $ac_status); }; }; then
44262 eval "$as_ac_var=yes"
44263 else
44264 echo "$as_me: failed program was:" >&5
44265 sed 's/^/| /' conftest.$ac_ext >&5
44267 eval "$as_ac_var=no"
44269 rm -f conftest.err conftest.$ac_objext \
44270 conftest$ac_exeext conftest.$ac_ext
44272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44274 if test `eval echo '${'$as_ac_var'}'` = yes; then
44275 cat >>confdefs.h <<_ACEOF
44276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44277 _ACEOF
44280 done
44282 else
44284 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
44285 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
44286 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44287 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
44288 echo $ECHO_N "(cached) $ECHO_C" >&6
44289 else
44293 ac_ext=cc
44294 ac_cpp='$CXXCPP $CPPFLAGS'
44295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44299 cat >conftest.$ac_ext <<_ACEOF
44300 /* confdefs.h. */
44301 _ACEOF
44302 cat confdefs.h >>conftest.$ac_ext
44303 cat >>conftest.$ac_ext <<_ACEOF
44304 /* end confdefs.h. */
44305 #include <math.h>
44306 #ifdef HAVE_IEEEFP_H
44307 #include <ieeefp.h>
44308 #endif
44311 main ()
44313 _isinf(0);
44315 return 0;
44317 _ACEOF
44318 rm -f conftest.$ac_objext
44319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44320 (eval $ac_compile) 2>conftest.er1
44321 ac_status=$?
44322 grep -v '^ *+' conftest.er1 >conftest.err
44323 rm -f conftest.er1
44324 cat conftest.err >&5
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); } &&
44327 { ac_try='test -z "$ac_cxx_werror_flag"
44328 || test ! -s conftest.err'
44329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44330 (eval $ac_try) 2>&5
44331 ac_status=$?
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); }; } &&
44334 { ac_try='test -s conftest.$ac_objext'
44335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44336 (eval $ac_try) 2>&5
44337 ac_status=$?
44338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44339 (exit $ac_status); }; }; then
44340 glibcxx_cv_func__isinf_use=yes
44341 else
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44345 glibcxx_cv_func__isinf_use=no
44347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44348 ac_ext=c
44349 ac_cpp='$CPP $CPPFLAGS'
44350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
44359 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
44361 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44363 for ac_func in _isinf
44365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44366 echo "$as_me:$LINENO: checking for $ac_func" >&5
44367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44368 if eval "test \"\${$as_ac_var+set}\" = set"; then
44369 echo $ECHO_N "(cached) $ECHO_C" >&6
44370 else
44371 if test x$gcc_no_link = xyes; then
44372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44374 { (exit 1); exit 1; }; }
44376 cat >conftest.$ac_ext <<_ACEOF
44377 /* confdefs.h. */
44378 _ACEOF
44379 cat confdefs.h >>conftest.$ac_ext
44380 cat >>conftest.$ac_ext <<_ACEOF
44381 /* end confdefs.h. */
44382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44384 #define $ac_func innocuous_$ac_func
44386 /* System header to define __stub macros and hopefully few prototypes,
44387 which can conflict with char $ac_func (); below.
44388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44389 <limits.h> exists even on freestanding compilers. */
44391 #ifdef __STDC__
44392 # include <limits.h>
44393 #else
44394 # include <assert.h>
44395 #endif
44397 #undef $ac_func
44399 /* Override any gcc2 internal prototype to avoid an error. */
44400 #ifdef __cplusplus
44401 extern "C"
44403 #endif
44404 /* We use char because int might match the return type of a gcc2
44405 builtin and then its argument prototype would still apply. */
44406 char $ac_func ();
44407 /* The GNU C library defines this for functions which it implements
44408 to always fail with ENOSYS. Some functions are actually named
44409 something starting with __ and the normal name is an alias. */
44410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44411 choke me
44412 #else
44413 char (*f) () = $ac_func;
44414 #endif
44415 #ifdef __cplusplus
44417 #endif
44420 main ()
44422 return f != $ac_func;
44424 return 0;
44426 _ACEOF
44427 rm -f conftest.$ac_objext conftest$ac_exeext
44428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44429 (eval $ac_link) 2>conftest.er1
44430 ac_status=$?
44431 grep -v '^ *+' conftest.er1 >conftest.err
44432 rm -f conftest.er1
44433 cat conftest.err >&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); } &&
44436 { ac_try='test -z "$ac_c_werror_flag"
44437 || test ! -s conftest.err'
44438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44439 (eval $ac_try) 2>&5
44440 ac_status=$?
44441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44442 (exit $ac_status); }; } &&
44443 { ac_try='test -s conftest$ac_exeext'
44444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44445 (eval $ac_try) 2>&5
44446 ac_status=$?
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); }; }; then
44449 eval "$as_ac_var=yes"
44450 else
44451 echo "$as_me: failed program was:" >&5
44452 sed 's/^/| /' conftest.$ac_ext >&5
44454 eval "$as_ac_var=no"
44456 rm -f conftest.err conftest.$ac_objext \
44457 conftest$ac_exeext conftest.$ac_ext
44459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44461 if test `eval echo '${'$as_ac_var'}'` = yes; then
44462 cat >>confdefs.h <<_ACEOF
44463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44464 _ACEOF
44467 done
44477 echo "$as_me:$LINENO: checking for isnan declaration" >&5
44478 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
44479 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44480 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
44481 echo $ECHO_N "(cached) $ECHO_C" >&6
44482 else
44486 ac_ext=cc
44487 ac_cpp='$CXXCPP $CPPFLAGS'
44488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44492 cat >conftest.$ac_ext <<_ACEOF
44493 /* confdefs.h. */
44494 _ACEOF
44495 cat confdefs.h >>conftest.$ac_ext
44496 cat >>conftest.$ac_ext <<_ACEOF
44497 /* end confdefs.h. */
44498 #include <math.h>
44499 #ifdef HAVE_IEEEFP_H
44500 #include <ieeefp.h>
44501 #endif
44504 main ()
44506 isnan(0);
44508 return 0;
44510 _ACEOF
44511 rm -f conftest.$ac_objext
44512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44513 (eval $ac_compile) 2>conftest.er1
44514 ac_status=$?
44515 grep -v '^ *+' conftest.er1 >conftest.err
44516 rm -f conftest.er1
44517 cat conftest.err >&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } &&
44520 { ac_try='test -z "$ac_cxx_werror_flag"
44521 || test ! -s conftest.err'
44522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44523 (eval $ac_try) 2>&5
44524 ac_status=$?
44525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44526 (exit $ac_status); }; } &&
44527 { ac_try='test -s conftest.$ac_objext'
44528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44529 (eval $ac_try) 2>&5
44530 ac_status=$?
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); }; }; then
44533 glibcxx_cv_func_isnan_use=yes
44534 else
44535 echo "$as_me: failed program was:" >&5
44536 sed 's/^/| /' conftest.$ac_ext >&5
44538 glibcxx_cv_func_isnan_use=no
44540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44541 ac_ext=c
44542 ac_cpp='$CPP $CPPFLAGS'
44543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
44552 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
44554 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44556 for ac_func in isnan
44558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44559 echo "$as_me:$LINENO: checking for $ac_func" >&5
44560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44561 if eval "test \"\${$as_ac_var+set}\" = set"; then
44562 echo $ECHO_N "(cached) $ECHO_C" >&6
44563 else
44564 if test x$gcc_no_link = xyes; then
44565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44567 { (exit 1); exit 1; }; }
44569 cat >conftest.$ac_ext <<_ACEOF
44570 /* confdefs.h. */
44571 _ACEOF
44572 cat confdefs.h >>conftest.$ac_ext
44573 cat >>conftest.$ac_ext <<_ACEOF
44574 /* end confdefs.h. */
44575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44577 #define $ac_func innocuous_$ac_func
44579 /* System header to define __stub macros and hopefully few prototypes,
44580 which can conflict with char $ac_func (); below.
44581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44582 <limits.h> exists even on freestanding compilers. */
44584 #ifdef __STDC__
44585 # include <limits.h>
44586 #else
44587 # include <assert.h>
44588 #endif
44590 #undef $ac_func
44592 /* Override any gcc2 internal prototype to avoid an error. */
44593 #ifdef __cplusplus
44594 extern "C"
44596 #endif
44597 /* We use char because int might match the return type of a gcc2
44598 builtin and then its argument prototype would still apply. */
44599 char $ac_func ();
44600 /* The GNU C library defines this for functions which it implements
44601 to always fail with ENOSYS. Some functions are actually named
44602 something starting with __ and the normal name is an alias. */
44603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44604 choke me
44605 #else
44606 char (*f) () = $ac_func;
44607 #endif
44608 #ifdef __cplusplus
44610 #endif
44613 main ()
44615 return f != $ac_func;
44617 return 0;
44619 _ACEOF
44620 rm -f conftest.$ac_objext conftest$ac_exeext
44621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44622 (eval $ac_link) 2>conftest.er1
44623 ac_status=$?
44624 grep -v '^ *+' conftest.er1 >conftest.err
44625 rm -f conftest.er1
44626 cat conftest.err >&5
44627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44628 (exit $ac_status); } &&
44629 { ac_try='test -z "$ac_c_werror_flag"
44630 || test ! -s conftest.err'
44631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44632 (eval $ac_try) 2>&5
44633 ac_status=$?
44634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44635 (exit $ac_status); }; } &&
44636 { ac_try='test -s conftest$ac_exeext'
44637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44638 (eval $ac_try) 2>&5
44639 ac_status=$?
44640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641 (exit $ac_status); }; }; then
44642 eval "$as_ac_var=yes"
44643 else
44644 echo "$as_me: failed program was:" >&5
44645 sed 's/^/| /' conftest.$ac_ext >&5
44647 eval "$as_ac_var=no"
44649 rm -f conftest.err conftest.$ac_objext \
44650 conftest$ac_exeext conftest.$ac_ext
44652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44654 if test `eval echo '${'$as_ac_var'}'` = yes; then
44655 cat >>confdefs.h <<_ACEOF
44656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44657 _ACEOF
44660 done
44662 else
44664 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44665 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44666 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44667 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44668 echo $ECHO_N "(cached) $ECHO_C" >&6
44669 else
44673 ac_ext=cc
44674 ac_cpp='$CXXCPP $CPPFLAGS'
44675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44679 cat >conftest.$ac_ext <<_ACEOF
44680 /* confdefs.h. */
44681 _ACEOF
44682 cat confdefs.h >>conftest.$ac_ext
44683 cat >>conftest.$ac_ext <<_ACEOF
44684 /* end confdefs.h. */
44685 #include <math.h>
44686 #ifdef HAVE_IEEEFP_H
44687 #include <ieeefp.h>
44688 #endif
44691 main ()
44693 _isnan(0);
44695 return 0;
44697 _ACEOF
44698 rm -f conftest.$ac_objext
44699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44700 (eval $ac_compile) 2>conftest.er1
44701 ac_status=$?
44702 grep -v '^ *+' conftest.er1 >conftest.err
44703 rm -f conftest.er1
44704 cat conftest.err >&5
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); } &&
44707 { ac_try='test -z "$ac_cxx_werror_flag"
44708 || test ! -s conftest.err'
44709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44710 (eval $ac_try) 2>&5
44711 ac_status=$?
44712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44713 (exit $ac_status); }; } &&
44714 { ac_try='test -s conftest.$ac_objext'
44715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44716 (eval $ac_try) 2>&5
44717 ac_status=$?
44718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44719 (exit $ac_status); }; }; then
44720 glibcxx_cv_func__isnan_use=yes
44721 else
44722 echo "$as_me: failed program was:" >&5
44723 sed 's/^/| /' conftest.$ac_ext >&5
44725 glibcxx_cv_func__isnan_use=no
44727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44728 ac_ext=c
44729 ac_cpp='$CPP $CPPFLAGS'
44730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44739 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44741 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44743 for ac_func in _isnan
44745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44746 echo "$as_me:$LINENO: checking for $ac_func" >&5
44747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44748 if eval "test \"\${$as_ac_var+set}\" = set"; then
44749 echo $ECHO_N "(cached) $ECHO_C" >&6
44750 else
44751 if test x$gcc_no_link = xyes; then
44752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44754 { (exit 1); exit 1; }; }
44756 cat >conftest.$ac_ext <<_ACEOF
44757 /* confdefs.h. */
44758 _ACEOF
44759 cat confdefs.h >>conftest.$ac_ext
44760 cat >>conftest.$ac_ext <<_ACEOF
44761 /* end confdefs.h. */
44762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44764 #define $ac_func innocuous_$ac_func
44766 /* System header to define __stub macros and hopefully few prototypes,
44767 which can conflict with char $ac_func (); below.
44768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44769 <limits.h> exists even on freestanding compilers. */
44771 #ifdef __STDC__
44772 # include <limits.h>
44773 #else
44774 # include <assert.h>
44775 #endif
44777 #undef $ac_func
44779 /* Override any gcc2 internal prototype to avoid an error. */
44780 #ifdef __cplusplus
44781 extern "C"
44783 #endif
44784 /* We use char because int might match the return type of a gcc2
44785 builtin and then its argument prototype would still apply. */
44786 char $ac_func ();
44787 /* The GNU C library defines this for functions which it implements
44788 to always fail with ENOSYS. Some functions are actually named
44789 something starting with __ and the normal name is an alias. */
44790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44791 choke me
44792 #else
44793 char (*f) () = $ac_func;
44794 #endif
44795 #ifdef __cplusplus
44797 #endif
44800 main ()
44802 return f != $ac_func;
44804 return 0;
44806 _ACEOF
44807 rm -f conftest.$ac_objext conftest$ac_exeext
44808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44809 (eval $ac_link) 2>conftest.er1
44810 ac_status=$?
44811 grep -v '^ *+' conftest.er1 >conftest.err
44812 rm -f conftest.er1
44813 cat conftest.err >&5
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); } &&
44816 { ac_try='test -z "$ac_c_werror_flag"
44817 || test ! -s conftest.err'
44818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44819 (eval $ac_try) 2>&5
44820 ac_status=$?
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); }; } &&
44823 { ac_try='test -s conftest$ac_exeext'
44824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44825 (eval $ac_try) 2>&5
44826 ac_status=$?
44827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828 (exit $ac_status); }; }; then
44829 eval "$as_ac_var=yes"
44830 else
44831 echo "$as_me: failed program was:" >&5
44832 sed 's/^/| /' conftest.$ac_ext >&5
44834 eval "$as_ac_var=no"
44836 rm -f conftest.err conftest.$ac_objext \
44837 conftest$ac_exeext conftest.$ac_ext
44839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44841 if test `eval echo '${'$as_ac_var'}'` = yes; then
44842 cat >>confdefs.h <<_ACEOF
44843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44844 _ACEOF
44847 done
44857 echo "$as_me:$LINENO: checking for finite declaration" >&5
44858 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44859 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44860 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44861 echo $ECHO_N "(cached) $ECHO_C" >&6
44862 else
44866 ac_ext=cc
44867 ac_cpp='$CXXCPP $CPPFLAGS'
44868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44872 cat >conftest.$ac_ext <<_ACEOF
44873 /* confdefs.h. */
44874 _ACEOF
44875 cat confdefs.h >>conftest.$ac_ext
44876 cat >>conftest.$ac_ext <<_ACEOF
44877 /* end confdefs.h. */
44878 #include <math.h>
44879 #ifdef HAVE_IEEEFP_H
44880 #include <ieeefp.h>
44881 #endif
44884 main ()
44886 finite(0);
44888 return 0;
44890 _ACEOF
44891 rm -f conftest.$ac_objext
44892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44893 (eval $ac_compile) 2>conftest.er1
44894 ac_status=$?
44895 grep -v '^ *+' conftest.er1 >conftest.err
44896 rm -f conftest.er1
44897 cat conftest.err >&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } &&
44900 { ac_try='test -z "$ac_cxx_werror_flag"
44901 || test ! -s conftest.err'
44902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44903 (eval $ac_try) 2>&5
44904 ac_status=$?
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); }; } &&
44907 { ac_try='test -s conftest.$ac_objext'
44908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44909 (eval $ac_try) 2>&5
44910 ac_status=$?
44911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44912 (exit $ac_status); }; }; then
44913 glibcxx_cv_func_finite_use=yes
44914 else
44915 echo "$as_me: failed program was:" >&5
44916 sed 's/^/| /' conftest.$ac_ext >&5
44918 glibcxx_cv_func_finite_use=no
44920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44921 ac_ext=c
44922 ac_cpp='$CPP $CPPFLAGS'
44923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44931 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44932 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44934 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44936 for ac_func in finite
44938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44939 echo "$as_me:$LINENO: checking for $ac_func" >&5
44940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44941 if eval "test \"\${$as_ac_var+set}\" = set"; then
44942 echo $ECHO_N "(cached) $ECHO_C" >&6
44943 else
44944 if test x$gcc_no_link = xyes; then
44945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44947 { (exit 1); exit 1; }; }
44949 cat >conftest.$ac_ext <<_ACEOF
44950 /* confdefs.h. */
44951 _ACEOF
44952 cat confdefs.h >>conftest.$ac_ext
44953 cat >>conftest.$ac_ext <<_ACEOF
44954 /* end confdefs.h. */
44955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44957 #define $ac_func innocuous_$ac_func
44959 /* System header to define __stub macros and hopefully few prototypes,
44960 which can conflict with char $ac_func (); below.
44961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44962 <limits.h> exists even on freestanding compilers. */
44964 #ifdef __STDC__
44965 # include <limits.h>
44966 #else
44967 # include <assert.h>
44968 #endif
44970 #undef $ac_func
44972 /* Override any gcc2 internal prototype to avoid an error. */
44973 #ifdef __cplusplus
44974 extern "C"
44976 #endif
44977 /* We use char because int might match the return type of a gcc2
44978 builtin and then its argument prototype would still apply. */
44979 char $ac_func ();
44980 /* The GNU C library defines this for functions which it implements
44981 to always fail with ENOSYS. Some functions are actually named
44982 something starting with __ and the normal name is an alias. */
44983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44984 choke me
44985 #else
44986 char (*f) () = $ac_func;
44987 #endif
44988 #ifdef __cplusplus
44990 #endif
44993 main ()
44995 return f != $ac_func;
44997 return 0;
44999 _ACEOF
45000 rm -f conftest.$ac_objext conftest$ac_exeext
45001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45002 (eval $ac_link) 2>conftest.er1
45003 ac_status=$?
45004 grep -v '^ *+' conftest.er1 >conftest.err
45005 rm -f conftest.er1
45006 cat conftest.err >&5
45007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008 (exit $ac_status); } &&
45009 { ac_try='test -z "$ac_c_werror_flag"
45010 || test ! -s conftest.err'
45011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45012 (eval $ac_try) 2>&5
45013 ac_status=$?
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); }; } &&
45016 { ac_try='test -s conftest$ac_exeext'
45017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45018 (eval $ac_try) 2>&5
45019 ac_status=$?
45020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021 (exit $ac_status); }; }; then
45022 eval "$as_ac_var=yes"
45023 else
45024 echo "$as_me: failed program was:" >&5
45025 sed 's/^/| /' conftest.$ac_ext >&5
45027 eval "$as_ac_var=no"
45029 rm -f conftest.err conftest.$ac_objext \
45030 conftest$ac_exeext conftest.$ac_ext
45032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45034 if test `eval echo '${'$as_ac_var'}'` = yes; then
45035 cat >>confdefs.h <<_ACEOF
45036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45037 _ACEOF
45040 done
45042 else
45044 echo "$as_me:$LINENO: checking for _finite declaration" >&5
45045 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
45046 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45047 if test "${glibcxx_cv_func__finite_use+set}" = set; then
45048 echo $ECHO_N "(cached) $ECHO_C" >&6
45049 else
45053 ac_ext=cc
45054 ac_cpp='$CXXCPP $CPPFLAGS'
45055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45059 cat >conftest.$ac_ext <<_ACEOF
45060 /* confdefs.h. */
45061 _ACEOF
45062 cat confdefs.h >>conftest.$ac_ext
45063 cat >>conftest.$ac_ext <<_ACEOF
45064 /* end confdefs.h. */
45065 #include <math.h>
45066 #ifdef HAVE_IEEEFP_H
45067 #include <ieeefp.h>
45068 #endif
45071 main ()
45073 _finite(0);
45075 return 0;
45077 _ACEOF
45078 rm -f conftest.$ac_objext
45079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45080 (eval $ac_compile) 2>conftest.er1
45081 ac_status=$?
45082 grep -v '^ *+' conftest.er1 >conftest.err
45083 rm -f conftest.er1
45084 cat conftest.err >&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); } &&
45087 { ac_try='test -z "$ac_cxx_werror_flag"
45088 || test ! -s conftest.err'
45089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45090 (eval $ac_try) 2>&5
45091 ac_status=$?
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); }; } &&
45094 { ac_try='test -s conftest.$ac_objext'
45095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45096 (eval $ac_try) 2>&5
45097 ac_status=$?
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; }; then
45100 glibcxx_cv_func__finite_use=yes
45101 else
45102 echo "$as_me: failed program was:" >&5
45103 sed 's/^/| /' conftest.$ac_ext >&5
45105 glibcxx_cv_func__finite_use=no
45107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45108 ac_ext=c
45109 ac_cpp='$CPP $CPPFLAGS'
45110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
45119 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
45121 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45123 for ac_func in _finite
45125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45126 echo "$as_me:$LINENO: checking for $ac_func" >&5
45127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45128 if eval "test \"\${$as_ac_var+set}\" = set"; then
45129 echo $ECHO_N "(cached) $ECHO_C" >&6
45130 else
45131 if test x$gcc_no_link = xyes; then
45132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45134 { (exit 1); exit 1; }; }
45136 cat >conftest.$ac_ext <<_ACEOF
45137 /* confdefs.h. */
45138 _ACEOF
45139 cat confdefs.h >>conftest.$ac_ext
45140 cat >>conftest.$ac_ext <<_ACEOF
45141 /* end confdefs.h. */
45142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45144 #define $ac_func innocuous_$ac_func
45146 /* System header to define __stub macros and hopefully few prototypes,
45147 which can conflict with char $ac_func (); below.
45148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45149 <limits.h> exists even on freestanding compilers. */
45151 #ifdef __STDC__
45152 # include <limits.h>
45153 #else
45154 # include <assert.h>
45155 #endif
45157 #undef $ac_func
45159 /* Override any gcc2 internal prototype to avoid an error. */
45160 #ifdef __cplusplus
45161 extern "C"
45163 #endif
45164 /* We use char because int might match the return type of a gcc2
45165 builtin and then its argument prototype would still apply. */
45166 char $ac_func ();
45167 /* The GNU C library defines this for functions which it implements
45168 to always fail with ENOSYS. Some functions are actually named
45169 something starting with __ and the normal name is an alias. */
45170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45171 choke me
45172 #else
45173 char (*f) () = $ac_func;
45174 #endif
45175 #ifdef __cplusplus
45177 #endif
45180 main ()
45182 return f != $ac_func;
45184 return 0;
45186 _ACEOF
45187 rm -f conftest.$ac_objext conftest$ac_exeext
45188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45189 (eval $ac_link) 2>conftest.er1
45190 ac_status=$?
45191 grep -v '^ *+' conftest.er1 >conftest.err
45192 rm -f conftest.er1
45193 cat conftest.err >&5
45194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45195 (exit $ac_status); } &&
45196 { ac_try='test -z "$ac_c_werror_flag"
45197 || test ! -s conftest.err'
45198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45199 (eval $ac_try) 2>&5
45200 ac_status=$?
45201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45202 (exit $ac_status); }; } &&
45203 { ac_try='test -s conftest$ac_exeext'
45204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45205 (eval $ac_try) 2>&5
45206 ac_status=$?
45207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45208 (exit $ac_status); }; }; then
45209 eval "$as_ac_var=yes"
45210 else
45211 echo "$as_me: failed program was:" >&5
45212 sed 's/^/| /' conftest.$ac_ext >&5
45214 eval "$as_ac_var=no"
45216 rm -f conftest.err conftest.$ac_objext \
45217 conftest$ac_exeext conftest.$ac_ext
45219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45221 if test `eval echo '${'$as_ac_var'}'` = yes; then
45222 cat >>confdefs.h <<_ACEOF
45223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45224 _ACEOF
45227 done
45237 echo "$as_me:$LINENO: checking for copysign declaration" >&5
45238 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
45239 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
45240 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
45241 echo $ECHO_N "(cached) $ECHO_C" >&6
45242 else
45246 ac_ext=cc
45247 ac_cpp='$CXXCPP $CPPFLAGS'
45248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45252 cat >conftest.$ac_ext <<_ACEOF
45253 /* confdefs.h. */
45254 _ACEOF
45255 cat confdefs.h >>conftest.$ac_ext
45256 cat >>conftest.$ac_ext <<_ACEOF
45257 /* end confdefs.h. */
45258 #include <math.h>
45260 main ()
45262 copysign(0, 0);
45264 return 0;
45266 _ACEOF
45267 rm -f conftest.$ac_objext
45268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45269 (eval $ac_compile) 2>conftest.er1
45270 ac_status=$?
45271 grep -v '^ *+' conftest.er1 >conftest.err
45272 rm -f conftest.er1
45273 cat conftest.err >&5
45274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45275 (exit $ac_status); } &&
45276 { ac_try='test -z "$ac_cxx_werror_flag"
45277 || test ! -s conftest.err'
45278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45279 (eval $ac_try) 2>&5
45280 ac_status=$?
45281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45282 (exit $ac_status); }; } &&
45283 { ac_try='test -s conftest.$ac_objext'
45284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45285 (eval $ac_try) 2>&5
45286 ac_status=$?
45287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45288 (exit $ac_status); }; }; then
45289 glibcxx_cv_func_copysign_use=yes
45290 else
45291 echo "$as_me: failed program was:" >&5
45292 sed 's/^/| /' conftest.$ac_ext >&5
45294 glibcxx_cv_func_copysign_use=no
45296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45297 ac_ext=c
45298 ac_cpp='$CPP $CPPFLAGS'
45299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
45308 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
45310 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
45312 for ac_func in copysign
45314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45315 echo "$as_me:$LINENO: checking for $ac_func" >&5
45316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45317 if eval "test \"\${$as_ac_var+set}\" = set"; then
45318 echo $ECHO_N "(cached) $ECHO_C" >&6
45319 else
45320 if test x$gcc_no_link = xyes; then
45321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45323 { (exit 1); exit 1; }; }
45325 cat >conftest.$ac_ext <<_ACEOF
45326 /* confdefs.h. */
45327 _ACEOF
45328 cat confdefs.h >>conftest.$ac_ext
45329 cat >>conftest.$ac_ext <<_ACEOF
45330 /* end confdefs.h. */
45331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45333 #define $ac_func innocuous_$ac_func
45335 /* System header to define __stub macros and hopefully few prototypes,
45336 which can conflict with char $ac_func (); below.
45337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45338 <limits.h> exists even on freestanding compilers. */
45340 #ifdef __STDC__
45341 # include <limits.h>
45342 #else
45343 # include <assert.h>
45344 #endif
45346 #undef $ac_func
45348 /* Override any gcc2 internal prototype to avoid an error. */
45349 #ifdef __cplusplus
45350 extern "C"
45352 #endif
45353 /* We use char because int might match the return type of a gcc2
45354 builtin and then its argument prototype would still apply. */
45355 char $ac_func ();
45356 /* The GNU C library defines this for functions which it implements
45357 to always fail with ENOSYS. Some functions are actually named
45358 something starting with __ and the normal name is an alias. */
45359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45360 choke me
45361 #else
45362 char (*f) () = $ac_func;
45363 #endif
45364 #ifdef __cplusplus
45366 #endif
45369 main ()
45371 return f != $ac_func;
45373 return 0;
45375 _ACEOF
45376 rm -f conftest.$ac_objext conftest$ac_exeext
45377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45378 (eval $ac_link) 2>conftest.er1
45379 ac_status=$?
45380 grep -v '^ *+' conftest.er1 >conftest.err
45381 rm -f conftest.er1
45382 cat conftest.err >&5
45383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45384 (exit $ac_status); } &&
45385 { ac_try='test -z "$ac_c_werror_flag"
45386 || test ! -s conftest.err'
45387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45388 (eval $ac_try) 2>&5
45389 ac_status=$?
45390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45391 (exit $ac_status); }; } &&
45392 { ac_try='test -s conftest$ac_exeext'
45393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45394 (eval $ac_try) 2>&5
45395 ac_status=$?
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); }; }; then
45398 eval "$as_ac_var=yes"
45399 else
45400 echo "$as_me: failed program was:" >&5
45401 sed 's/^/| /' conftest.$ac_ext >&5
45403 eval "$as_ac_var=no"
45405 rm -f conftest.err conftest.$ac_objext \
45406 conftest$ac_exeext conftest.$ac_ext
45408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45410 if test `eval echo '${'$as_ac_var'}'` = yes; then
45411 cat >>confdefs.h <<_ACEOF
45412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45413 _ACEOF
45416 done
45418 else
45420 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
45421 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
45422 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
45423 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
45424 echo $ECHO_N "(cached) $ECHO_C" >&6
45425 else
45429 ac_ext=cc
45430 ac_cpp='$CXXCPP $CPPFLAGS'
45431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45435 cat >conftest.$ac_ext <<_ACEOF
45436 /* confdefs.h. */
45437 _ACEOF
45438 cat confdefs.h >>conftest.$ac_ext
45439 cat >>conftest.$ac_ext <<_ACEOF
45440 /* end confdefs.h. */
45441 #include <math.h>
45443 main ()
45445 _copysign(0, 0);
45447 return 0;
45449 _ACEOF
45450 rm -f conftest.$ac_objext
45451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45452 (eval $ac_compile) 2>conftest.er1
45453 ac_status=$?
45454 grep -v '^ *+' conftest.er1 >conftest.err
45455 rm -f conftest.er1
45456 cat conftest.err >&5
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); } &&
45459 { ac_try='test -z "$ac_cxx_werror_flag"
45460 || test ! -s conftest.err'
45461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45462 (eval $ac_try) 2>&5
45463 ac_status=$?
45464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45465 (exit $ac_status); }; } &&
45466 { ac_try='test -s conftest.$ac_objext'
45467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45468 (eval $ac_try) 2>&5
45469 ac_status=$?
45470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45471 (exit $ac_status); }; }; then
45472 glibcxx_cv_func__copysign_use=yes
45473 else
45474 echo "$as_me: failed program was:" >&5
45475 sed 's/^/| /' conftest.$ac_ext >&5
45477 glibcxx_cv_func__copysign_use=no
45479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45480 ac_ext=c
45481 ac_cpp='$CPP $CPPFLAGS'
45482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45490 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
45491 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
45493 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
45495 for ac_func in _copysign
45497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45498 echo "$as_me:$LINENO: checking for $ac_func" >&5
45499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45500 if eval "test \"\${$as_ac_var+set}\" = set"; then
45501 echo $ECHO_N "(cached) $ECHO_C" >&6
45502 else
45503 if test x$gcc_no_link = xyes; then
45504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45506 { (exit 1); exit 1; }; }
45508 cat >conftest.$ac_ext <<_ACEOF
45509 /* confdefs.h. */
45510 _ACEOF
45511 cat confdefs.h >>conftest.$ac_ext
45512 cat >>conftest.$ac_ext <<_ACEOF
45513 /* end confdefs.h. */
45514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45516 #define $ac_func innocuous_$ac_func
45518 /* System header to define __stub macros and hopefully few prototypes,
45519 which can conflict with char $ac_func (); below.
45520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45521 <limits.h> exists even on freestanding compilers. */
45523 #ifdef __STDC__
45524 # include <limits.h>
45525 #else
45526 # include <assert.h>
45527 #endif
45529 #undef $ac_func
45531 /* Override any gcc2 internal prototype to avoid an error. */
45532 #ifdef __cplusplus
45533 extern "C"
45535 #endif
45536 /* We use char because int might match the return type of a gcc2
45537 builtin and then its argument prototype would still apply. */
45538 char $ac_func ();
45539 /* The GNU C library defines this for functions which it implements
45540 to always fail with ENOSYS. Some functions are actually named
45541 something starting with __ and the normal name is an alias. */
45542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45543 choke me
45544 #else
45545 char (*f) () = $ac_func;
45546 #endif
45547 #ifdef __cplusplus
45549 #endif
45552 main ()
45554 return f != $ac_func;
45556 return 0;
45558 _ACEOF
45559 rm -f conftest.$ac_objext conftest$ac_exeext
45560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45561 (eval $ac_link) 2>conftest.er1
45562 ac_status=$?
45563 grep -v '^ *+' conftest.er1 >conftest.err
45564 rm -f conftest.er1
45565 cat conftest.err >&5
45566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45567 (exit $ac_status); } &&
45568 { ac_try='test -z "$ac_c_werror_flag"
45569 || test ! -s conftest.err'
45570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45571 (eval $ac_try) 2>&5
45572 ac_status=$?
45573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45574 (exit $ac_status); }; } &&
45575 { ac_try='test -s conftest$ac_exeext'
45576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45577 (eval $ac_try) 2>&5
45578 ac_status=$?
45579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45580 (exit $ac_status); }; }; then
45581 eval "$as_ac_var=yes"
45582 else
45583 echo "$as_me: failed program was:" >&5
45584 sed 's/^/| /' conftest.$ac_ext >&5
45586 eval "$as_ac_var=no"
45588 rm -f conftest.err conftest.$ac_objext \
45589 conftest$ac_exeext conftest.$ac_ext
45591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45593 if test `eval echo '${'$as_ac_var'}'` = yes; then
45594 cat >>confdefs.h <<_ACEOF
45595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45596 _ACEOF
45599 done
45609 echo "$as_me:$LINENO: checking for sincos declaration" >&5
45610 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45611 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45612 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45613 echo $ECHO_N "(cached) $ECHO_C" >&6
45614 else
45618 ac_ext=cc
45619 ac_cpp='$CXXCPP $CPPFLAGS'
45620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45624 cat >conftest.$ac_ext <<_ACEOF
45625 /* confdefs.h. */
45626 _ACEOF
45627 cat confdefs.h >>conftest.$ac_ext
45628 cat >>conftest.$ac_ext <<_ACEOF
45629 /* end confdefs.h. */
45630 #include <math.h>
45632 main ()
45634 sincos(0, 0, 0);
45636 return 0;
45638 _ACEOF
45639 rm -f conftest.$ac_objext
45640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45641 (eval $ac_compile) 2>conftest.er1
45642 ac_status=$?
45643 grep -v '^ *+' conftest.er1 >conftest.err
45644 rm -f conftest.er1
45645 cat conftest.err >&5
45646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45647 (exit $ac_status); } &&
45648 { ac_try='test -z "$ac_cxx_werror_flag"
45649 || test ! -s conftest.err'
45650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45651 (eval $ac_try) 2>&5
45652 ac_status=$?
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); }; } &&
45655 { ac_try='test -s conftest.$ac_objext'
45656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45657 (eval $ac_try) 2>&5
45658 ac_status=$?
45659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45660 (exit $ac_status); }; }; then
45661 glibcxx_cv_func_sincos_use=yes
45662 else
45663 echo "$as_me: failed program was:" >&5
45664 sed 's/^/| /' conftest.$ac_ext >&5
45666 glibcxx_cv_func_sincos_use=no
45668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45669 ac_ext=c
45670 ac_cpp='$CPP $CPPFLAGS'
45671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45679 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45680 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45682 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45684 for ac_func in sincos
45686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45687 echo "$as_me:$LINENO: checking for $ac_func" >&5
45688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45689 if eval "test \"\${$as_ac_var+set}\" = set"; then
45690 echo $ECHO_N "(cached) $ECHO_C" >&6
45691 else
45692 if test x$gcc_no_link = xyes; then
45693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45695 { (exit 1); exit 1; }; }
45697 cat >conftest.$ac_ext <<_ACEOF
45698 /* confdefs.h. */
45699 _ACEOF
45700 cat confdefs.h >>conftest.$ac_ext
45701 cat >>conftest.$ac_ext <<_ACEOF
45702 /* end confdefs.h. */
45703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45705 #define $ac_func innocuous_$ac_func
45707 /* System header to define __stub macros and hopefully few prototypes,
45708 which can conflict with char $ac_func (); below.
45709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45710 <limits.h> exists even on freestanding compilers. */
45712 #ifdef __STDC__
45713 # include <limits.h>
45714 #else
45715 # include <assert.h>
45716 #endif
45718 #undef $ac_func
45720 /* Override any gcc2 internal prototype to avoid an error. */
45721 #ifdef __cplusplus
45722 extern "C"
45724 #endif
45725 /* We use char because int might match the return type of a gcc2
45726 builtin and then its argument prototype would still apply. */
45727 char $ac_func ();
45728 /* The GNU C library defines this for functions which it implements
45729 to always fail with ENOSYS. Some functions are actually named
45730 something starting with __ and the normal name is an alias. */
45731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45732 choke me
45733 #else
45734 char (*f) () = $ac_func;
45735 #endif
45736 #ifdef __cplusplus
45738 #endif
45741 main ()
45743 return f != $ac_func;
45745 return 0;
45747 _ACEOF
45748 rm -f conftest.$ac_objext conftest$ac_exeext
45749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45750 (eval $ac_link) 2>conftest.er1
45751 ac_status=$?
45752 grep -v '^ *+' conftest.er1 >conftest.err
45753 rm -f conftest.er1
45754 cat conftest.err >&5
45755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45756 (exit $ac_status); } &&
45757 { ac_try='test -z "$ac_c_werror_flag"
45758 || test ! -s conftest.err'
45759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45760 (eval $ac_try) 2>&5
45761 ac_status=$?
45762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763 (exit $ac_status); }; } &&
45764 { ac_try='test -s conftest$ac_exeext'
45765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45766 (eval $ac_try) 2>&5
45767 ac_status=$?
45768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45769 (exit $ac_status); }; }; then
45770 eval "$as_ac_var=yes"
45771 else
45772 echo "$as_me: failed program was:" >&5
45773 sed 's/^/| /' conftest.$ac_ext >&5
45775 eval "$as_ac_var=no"
45777 rm -f conftest.err conftest.$ac_objext \
45778 conftest$ac_exeext conftest.$ac_ext
45780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45782 if test `eval echo '${'$as_ac_var'}'` = yes; then
45783 cat >>confdefs.h <<_ACEOF
45784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45785 _ACEOF
45788 done
45790 else
45792 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45793 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45794 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45795 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45796 echo $ECHO_N "(cached) $ECHO_C" >&6
45797 else
45801 ac_ext=cc
45802 ac_cpp='$CXXCPP $CPPFLAGS'
45803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45807 cat >conftest.$ac_ext <<_ACEOF
45808 /* confdefs.h. */
45809 _ACEOF
45810 cat confdefs.h >>conftest.$ac_ext
45811 cat >>conftest.$ac_ext <<_ACEOF
45812 /* end confdefs.h. */
45813 #include <math.h>
45815 main ()
45817 _sincos(0, 0, 0);
45819 return 0;
45821 _ACEOF
45822 rm -f conftest.$ac_objext
45823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45824 (eval $ac_compile) 2>conftest.er1
45825 ac_status=$?
45826 grep -v '^ *+' conftest.er1 >conftest.err
45827 rm -f conftest.er1
45828 cat conftest.err >&5
45829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45830 (exit $ac_status); } &&
45831 { ac_try='test -z "$ac_cxx_werror_flag"
45832 || test ! -s conftest.err'
45833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45834 (eval $ac_try) 2>&5
45835 ac_status=$?
45836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45837 (exit $ac_status); }; } &&
45838 { ac_try='test -s conftest.$ac_objext'
45839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45840 (eval $ac_try) 2>&5
45841 ac_status=$?
45842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45843 (exit $ac_status); }; }; then
45844 glibcxx_cv_func__sincos_use=yes
45845 else
45846 echo "$as_me: failed program was:" >&5
45847 sed 's/^/| /' conftest.$ac_ext >&5
45849 glibcxx_cv_func__sincos_use=no
45851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45852 ac_ext=c
45853 ac_cpp='$CPP $CPPFLAGS'
45854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45862 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45863 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45865 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45867 for ac_func in _sincos
45869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45870 echo "$as_me:$LINENO: checking for $ac_func" >&5
45871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45872 if eval "test \"\${$as_ac_var+set}\" = set"; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45874 else
45875 if test x$gcc_no_link = xyes; then
45876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45878 { (exit 1); exit 1; }; }
45880 cat >conftest.$ac_ext <<_ACEOF
45881 /* confdefs.h. */
45882 _ACEOF
45883 cat confdefs.h >>conftest.$ac_ext
45884 cat >>conftest.$ac_ext <<_ACEOF
45885 /* end confdefs.h. */
45886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45888 #define $ac_func innocuous_$ac_func
45890 /* System header to define __stub macros and hopefully few prototypes,
45891 which can conflict with char $ac_func (); below.
45892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45893 <limits.h> exists even on freestanding compilers. */
45895 #ifdef __STDC__
45896 # include <limits.h>
45897 #else
45898 # include <assert.h>
45899 #endif
45901 #undef $ac_func
45903 /* Override any gcc2 internal prototype to avoid an error. */
45904 #ifdef __cplusplus
45905 extern "C"
45907 #endif
45908 /* We use char because int might match the return type of a gcc2
45909 builtin and then its argument prototype would still apply. */
45910 char $ac_func ();
45911 /* The GNU C library defines this for functions which it implements
45912 to always fail with ENOSYS. Some functions are actually named
45913 something starting with __ and the normal name is an alias. */
45914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45915 choke me
45916 #else
45917 char (*f) () = $ac_func;
45918 #endif
45919 #ifdef __cplusplus
45921 #endif
45924 main ()
45926 return f != $ac_func;
45928 return 0;
45930 _ACEOF
45931 rm -f conftest.$ac_objext conftest$ac_exeext
45932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45933 (eval $ac_link) 2>conftest.er1
45934 ac_status=$?
45935 grep -v '^ *+' conftest.er1 >conftest.err
45936 rm -f conftest.er1
45937 cat conftest.err >&5
45938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939 (exit $ac_status); } &&
45940 { ac_try='test -z "$ac_c_werror_flag"
45941 || test ! -s conftest.err'
45942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45943 (eval $ac_try) 2>&5
45944 ac_status=$?
45945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45946 (exit $ac_status); }; } &&
45947 { ac_try='test -s conftest$ac_exeext'
45948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45949 (eval $ac_try) 2>&5
45950 ac_status=$?
45951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45952 (exit $ac_status); }; }; then
45953 eval "$as_ac_var=yes"
45954 else
45955 echo "$as_me: failed program was:" >&5
45956 sed 's/^/| /' conftest.$ac_ext >&5
45958 eval "$as_ac_var=no"
45960 rm -f conftest.err conftest.$ac_objext \
45961 conftest$ac_exeext conftest.$ac_ext
45963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45965 if test `eval echo '${'$as_ac_var'}'` = yes; then
45966 cat >>confdefs.h <<_ACEOF
45967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45968 _ACEOF
45971 done
45981 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45982 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45983 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45984 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45985 echo $ECHO_N "(cached) $ECHO_C" >&6
45986 else
45990 ac_ext=cc
45991 ac_cpp='$CXXCPP $CPPFLAGS'
45992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45996 cat >conftest.$ac_ext <<_ACEOF
45997 /* confdefs.h. */
45998 _ACEOF
45999 cat confdefs.h >>conftest.$ac_ext
46000 cat >>conftest.$ac_ext <<_ACEOF
46001 /* end confdefs.h. */
46002 #include <math.h>
46003 #ifdef HAVE_IEEEFP_H
46004 #include <ieeefp.h>
46005 #endif
46008 main ()
46010 fpclass(0);
46012 return 0;
46014 _ACEOF
46015 rm -f conftest.$ac_objext
46016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46017 (eval $ac_compile) 2>conftest.er1
46018 ac_status=$?
46019 grep -v '^ *+' conftest.er1 >conftest.err
46020 rm -f conftest.er1
46021 cat conftest.err >&5
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); } &&
46024 { ac_try='test -z "$ac_cxx_werror_flag"
46025 || test ! -s conftest.err'
46026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46027 (eval $ac_try) 2>&5
46028 ac_status=$?
46029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46030 (exit $ac_status); }; } &&
46031 { ac_try='test -s conftest.$ac_objext'
46032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46033 (eval $ac_try) 2>&5
46034 ac_status=$?
46035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036 (exit $ac_status); }; }; then
46037 glibcxx_cv_func_fpclass_use=yes
46038 else
46039 echo "$as_me: failed program was:" >&5
46040 sed 's/^/| /' conftest.$ac_ext >&5
46042 glibcxx_cv_func_fpclass_use=no
46044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46045 ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
46056 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
46058 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46060 for ac_func in fpclass
46062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46063 echo "$as_me:$LINENO: checking for $ac_func" >&5
46064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46065 if eval "test \"\${$as_ac_var+set}\" = set"; then
46066 echo $ECHO_N "(cached) $ECHO_C" >&6
46067 else
46068 if test x$gcc_no_link = xyes; then
46069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46071 { (exit 1); exit 1; }; }
46073 cat >conftest.$ac_ext <<_ACEOF
46074 /* confdefs.h. */
46075 _ACEOF
46076 cat confdefs.h >>conftest.$ac_ext
46077 cat >>conftest.$ac_ext <<_ACEOF
46078 /* end confdefs.h. */
46079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46081 #define $ac_func innocuous_$ac_func
46083 /* System header to define __stub macros and hopefully few prototypes,
46084 which can conflict with char $ac_func (); below.
46085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46086 <limits.h> exists even on freestanding compilers. */
46088 #ifdef __STDC__
46089 # include <limits.h>
46090 #else
46091 # include <assert.h>
46092 #endif
46094 #undef $ac_func
46096 /* Override any gcc2 internal prototype to avoid an error. */
46097 #ifdef __cplusplus
46098 extern "C"
46100 #endif
46101 /* We use char because int might match the return type of a gcc2
46102 builtin and then its argument prototype would still apply. */
46103 char $ac_func ();
46104 /* The GNU C library defines this for functions which it implements
46105 to always fail with ENOSYS. Some functions are actually named
46106 something starting with __ and the normal name is an alias. */
46107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46108 choke me
46109 #else
46110 char (*f) () = $ac_func;
46111 #endif
46112 #ifdef __cplusplus
46114 #endif
46117 main ()
46119 return f != $ac_func;
46121 return 0;
46123 _ACEOF
46124 rm -f conftest.$ac_objext conftest$ac_exeext
46125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46126 (eval $ac_link) 2>conftest.er1
46127 ac_status=$?
46128 grep -v '^ *+' conftest.er1 >conftest.err
46129 rm -f conftest.er1
46130 cat conftest.err >&5
46131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132 (exit $ac_status); } &&
46133 { ac_try='test -z "$ac_c_werror_flag"
46134 || test ! -s conftest.err'
46135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46136 (eval $ac_try) 2>&5
46137 ac_status=$?
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); }; } &&
46140 { ac_try='test -s conftest$ac_exeext'
46141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46142 (eval $ac_try) 2>&5
46143 ac_status=$?
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); }; }; then
46146 eval "$as_ac_var=yes"
46147 else
46148 echo "$as_me: failed program was:" >&5
46149 sed 's/^/| /' conftest.$ac_ext >&5
46151 eval "$as_ac_var=no"
46153 rm -f conftest.err conftest.$ac_objext \
46154 conftest$ac_exeext conftest.$ac_ext
46156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46158 if test `eval echo '${'$as_ac_var'}'` = yes; then
46159 cat >>confdefs.h <<_ACEOF
46160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46161 _ACEOF
46164 done
46166 else
46168 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
46169 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
46170 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46171 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
46172 echo $ECHO_N "(cached) $ECHO_C" >&6
46173 else
46177 ac_ext=cc
46178 ac_cpp='$CXXCPP $CPPFLAGS'
46179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46183 cat >conftest.$ac_ext <<_ACEOF
46184 /* confdefs.h. */
46185 _ACEOF
46186 cat confdefs.h >>conftest.$ac_ext
46187 cat >>conftest.$ac_ext <<_ACEOF
46188 /* end confdefs.h. */
46189 #include <math.h>
46190 #ifdef HAVE_IEEEFP_H
46191 #include <ieeefp.h>
46192 #endif
46195 main ()
46197 _fpclass(0);
46199 return 0;
46201 _ACEOF
46202 rm -f conftest.$ac_objext
46203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46204 (eval $ac_compile) 2>conftest.er1
46205 ac_status=$?
46206 grep -v '^ *+' conftest.er1 >conftest.err
46207 rm -f conftest.er1
46208 cat conftest.err >&5
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); } &&
46211 { ac_try='test -z "$ac_cxx_werror_flag"
46212 || test ! -s conftest.err'
46213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46214 (eval $ac_try) 2>&5
46215 ac_status=$?
46216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46217 (exit $ac_status); }; } &&
46218 { ac_try='test -s conftest.$ac_objext'
46219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46220 (eval $ac_try) 2>&5
46221 ac_status=$?
46222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46223 (exit $ac_status); }; }; then
46224 glibcxx_cv_func__fpclass_use=yes
46225 else
46226 echo "$as_me: failed program was:" >&5
46227 sed 's/^/| /' conftest.$ac_ext >&5
46229 glibcxx_cv_func__fpclass_use=no
46231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46232 ac_ext=c
46233 ac_cpp='$CPP $CPPFLAGS'
46234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
46243 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
46245 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46247 for ac_func in _fpclass
46249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46250 echo "$as_me:$LINENO: checking for $ac_func" >&5
46251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46252 if eval "test \"\${$as_ac_var+set}\" = set"; then
46253 echo $ECHO_N "(cached) $ECHO_C" >&6
46254 else
46255 if test x$gcc_no_link = xyes; then
46256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46258 { (exit 1); exit 1; }; }
46260 cat >conftest.$ac_ext <<_ACEOF
46261 /* confdefs.h. */
46262 _ACEOF
46263 cat confdefs.h >>conftest.$ac_ext
46264 cat >>conftest.$ac_ext <<_ACEOF
46265 /* end confdefs.h. */
46266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46268 #define $ac_func innocuous_$ac_func
46270 /* System header to define __stub macros and hopefully few prototypes,
46271 which can conflict with char $ac_func (); below.
46272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46273 <limits.h> exists even on freestanding compilers. */
46275 #ifdef __STDC__
46276 # include <limits.h>
46277 #else
46278 # include <assert.h>
46279 #endif
46281 #undef $ac_func
46283 /* Override any gcc2 internal prototype to avoid an error. */
46284 #ifdef __cplusplus
46285 extern "C"
46287 #endif
46288 /* We use char because int might match the return type of a gcc2
46289 builtin and then its argument prototype would still apply. */
46290 char $ac_func ();
46291 /* The GNU C library defines this for functions which it implements
46292 to always fail with ENOSYS. Some functions are actually named
46293 something starting with __ and the normal name is an alias. */
46294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46295 choke me
46296 #else
46297 char (*f) () = $ac_func;
46298 #endif
46299 #ifdef __cplusplus
46301 #endif
46304 main ()
46306 return f != $ac_func;
46308 return 0;
46310 _ACEOF
46311 rm -f conftest.$ac_objext conftest$ac_exeext
46312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46313 (eval $ac_link) 2>conftest.er1
46314 ac_status=$?
46315 grep -v '^ *+' conftest.er1 >conftest.err
46316 rm -f conftest.er1
46317 cat conftest.err >&5
46318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319 (exit $ac_status); } &&
46320 { ac_try='test -z "$ac_c_werror_flag"
46321 || test ! -s conftest.err'
46322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46323 (eval $ac_try) 2>&5
46324 ac_status=$?
46325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46326 (exit $ac_status); }; } &&
46327 { ac_try='test -s conftest$ac_exeext'
46328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46329 (eval $ac_try) 2>&5
46330 ac_status=$?
46331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332 (exit $ac_status); }; }; then
46333 eval "$as_ac_var=yes"
46334 else
46335 echo "$as_me: failed program was:" >&5
46336 sed 's/^/| /' conftest.$ac_ext >&5
46338 eval "$as_ac_var=no"
46340 rm -f conftest.err conftest.$ac_objext \
46341 conftest$ac_exeext conftest.$ac_ext
46343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46345 if test `eval echo '${'$as_ac_var'}'` = yes; then
46346 cat >>confdefs.h <<_ACEOF
46347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46348 _ACEOF
46351 done
46361 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
46362 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
46363 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46364 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
46365 echo $ECHO_N "(cached) $ECHO_C" >&6
46366 else
46370 ac_ext=cc
46371 ac_cpp='$CXXCPP $CPPFLAGS'
46372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46376 cat >conftest.$ac_ext <<_ACEOF
46377 /* confdefs.h. */
46378 _ACEOF
46379 cat confdefs.h >>conftest.$ac_ext
46380 cat >>conftest.$ac_ext <<_ACEOF
46381 /* end confdefs.h. */
46382 #include <math.h>
46383 #ifdef HAVE_IEEEFP_H
46384 #include <ieeefp.h>
46385 #endif
46388 main ()
46390 qfpclass(0);
46392 return 0;
46394 _ACEOF
46395 rm -f conftest.$ac_objext
46396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46397 (eval $ac_compile) 2>conftest.er1
46398 ac_status=$?
46399 grep -v '^ *+' conftest.er1 >conftest.err
46400 rm -f conftest.er1
46401 cat conftest.err >&5
46402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403 (exit $ac_status); } &&
46404 { ac_try='test -z "$ac_cxx_werror_flag"
46405 || test ! -s conftest.err'
46406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46407 (eval $ac_try) 2>&5
46408 ac_status=$?
46409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46410 (exit $ac_status); }; } &&
46411 { ac_try='test -s conftest.$ac_objext'
46412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46413 (eval $ac_try) 2>&5
46414 ac_status=$?
46415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46416 (exit $ac_status); }; }; then
46417 glibcxx_cv_func_qfpclass_use=yes
46418 else
46419 echo "$as_me: failed program was:" >&5
46420 sed 's/^/| /' conftest.$ac_ext >&5
46422 glibcxx_cv_func_qfpclass_use=no
46424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46425 ac_ext=c
46426 ac_cpp='$CPP $CPPFLAGS'
46427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
46436 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
46438 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46440 for ac_func in qfpclass
46442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46443 echo "$as_me:$LINENO: checking for $ac_func" >&5
46444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46445 if eval "test \"\${$as_ac_var+set}\" = set"; then
46446 echo $ECHO_N "(cached) $ECHO_C" >&6
46447 else
46448 if test x$gcc_no_link = xyes; then
46449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46451 { (exit 1); exit 1; }; }
46453 cat >conftest.$ac_ext <<_ACEOF
46454 /* confdefs.h. */
46455 _ACEOF
46456 cat confdefs.h >>conftest.$ac_ext
46457 cat >>conftest.$ac_ext <<_ACEOF
46458 /* end confdefs.h. */
46459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46461 #define $ac_func innocuous_$ac_func
46463 /* System header to define __stub macros and hopefully few prototypes,
46464 which can conflict with char $ac_func (); below.
46465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46466 <limits.h> exists even on freestanding compilers. */
46468 #ifdef __STDC__
46469 # include <limits.h>
46470 #else
46471 # include <assert.h>
46472 #endif
46474 #undef $ac_func
46476 /* Override any gcc2 internal prototype to avoid an error. */
46477 #ifdef __cplusplus
46478 extern "C"
46480 #endif
46481 /* We use char because int might match the return type of a gcc2
46482 builtin and then its argument prototype would still apply. */
46483 char $ac_func ();
46484 /* The GNU C library defines this for functions which it implements
46485 to always fail with ENOSYS. Some functions are actually named
46486 something starting with __ and the normal name is an alias. */
46487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46488 choke me
46489 #else
46490 char (*f) () = $ac_func;
46491 #endif
46492 #ifdef __cplusplus
46494 #endif
46497 main ()
46499 return f != $ac_func;
46501 return 0;
46503 _ACEOF
46504 rm -f conftest.$ac_objext conftest$ac_exeext
46505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46506 (eval $ac_link) 2>conftest.er1
46507 ac_status=$?
46508 grep -v '^ *+' conftest.er1 >conftest.err
46509 rm -f conftest.er1
46510 cat conftest.err >&5
46511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512 (exit $ac_status); } &&
46513 { ac_try='test -z "$ac_c_werror_flag"
46514 || test ! -s conftest.err'
46515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46516 (eval $ac_try) 2>&5
46517 ac_status=$?
46518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46519 (exit $ac_status); }; } &&
46520 { ac_try='test -s conftest$ac_exeext'
46521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46522 (eval $ac_try) 2>&5
46523 ac_status=$?
46524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46525 (exit $ac_status); }; }; then
46526 eval "$as_ac_var=yes"
46527 else
46528 echo "$as_me: failed program was:" >&5
46529 sed 's/^/| /' conftest.$ac_ext >&5
46531 eval "$as_ac_var=no"
46533 rm -f conftest.err conftest.$ac_objext \
46534 conftest$ac_exeext conftest.$ac_ext
46536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46538 if test `eval echo '${'$as_ac_var'}'` = yes; then
46539 cat >>confdefs.h <<_ACEOF
46540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46541 _ACEOF
46544 done
46546 else
46548 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
46549 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
46550 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46551 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
46552 echo $ECHO_N "(cached) $ECHO_C" >&6
46553 else
46557 ac_ext=cc
46558 ac_cpp='$CXXCPP $CPPFLAGS'
46559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46563 cat >conftest.$ac_ext <<_ACEOF
46564 /* confdefs.h. */
46565 _ACEOF
46566 cat confdefs.h >>conftest.$ac_ext
46567 cat >>conftest.$ac_ext <<_ACEOF
46568 /* end confdefs.h. */
46569 #include <math.h>
46570 #ifdef HAVE_IEEEFP_H
46571 #include <ieeefp.h>
46572 #endif
46575 main ()
46577 _qfpclass(0);
46579 return 0;
46581 _ACEOF
46582 rm -f conftest.$ac_objext
46583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46584 (eval $ac_compile) 2>conftest.er1
46585 ac_status=$?
46586 grep -v '^ *+' conftest.er1 >conftest.err
46587 rm -f conftest.er1
46588 cat conftest.err >&5
46589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46590 (exit $ac_status); } &&
46591 { ac_try='test -z "$ac_cxx_werror_flag"
46592 || test ! -s conftest.err'
46593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46594 (eval $ac_try) 2>&5
46595 ac_status=$?
46596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46597 (exit $ac_status); }; } &&
46598 { ac_try='test -s conftest.$ac_objext'
46599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46600 (eval $ac_try) 2>&5
46601 ac_status=$?
46602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46603 (exit $ac_status); }; }; then
46604 glibcxx_cv_func__qfpclass_use=yes
46605 else
46606 echo "$as_me: failed program was:" >&5
46607 sed 's/^/| /' conftest.$ac_ext >&5
46609 glibcxx_cv_func__qfpclass_use=no
46611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46612 ac_ext=c
46613 ac_cpp='$CPP $CPPFLAGS'
46614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46623 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46625 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46627 for ac_func in _qfpclass
46629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46630 echo "$as_me:$LINENO: checking for $ac_func" >&5
46631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46632 if eval "test \"\${$as_ac_var+set}\" = set"; then
46633 echo $ECHO_N "(cached) $ECHO_C" >&6
46634 else
46635 if test x$gcc_no_link = xyes; then
46636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46638 { (exit 1); exit 1; }; }
46640 cat >conftest.$ac_ext <<_ACEOF
46641 /* confdefs.h. */
46642 _ACEOF
46643 cat confdefs.h >>conftest.$ac_ext
46644 cat >>conftest.$ac_ext <<_ACEOF
46645 /* end confdefs.h. */
46646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46648 #define $ac_func innocuous_$ac_func
46650 /* System header to define __stub macros and hopefully few prototypes,
46651 which can conflict with char $ac_func (); below.
46652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46653 <limits.h> exists even on freestanding compilers. */
46655 #ifdef __STDC__
46656 # include <limits.h>
46657 #else
46658 # include <assert.h>
46659 #endif
46661 #undef $ac_func
46663 /* Override any gcc2 internal prototype to avoid an error. */
46664 #ifdef __cplusplus
46665 extern "C"
46667 #endif
46668 /* We use char because int might match the return type of a gcc2
46669 builtin and then its argument prototype would still apply. */
46670 char $ac_func ();
46671 /* The GNU C library defines this for functions which it implements
46672 to always fail with ENOSYS. Some functions are actually named
46673 something starting with __ and the normal name is an alias. */
46674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46675 choke me
46676 #else
46677 char (*f) () = $ac_func;
46678 #endif
46679 #ifdef __cplusplus
46681 #endif
46684 main ()
46686 return f != $ac_func;
46688 return 0;
46690 _ACEOF
46691 rm -f conftest.$ac_objext conftest$ac_exeext
46692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46693 (eval $ac_link) 2>conftest.er1
46694 ac_status=$?
46695 grep -v '^ *+' conftest.er1 >conftest.err
46696 rm -f conftest.er1
46697 cat conftest.err >&5
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); } &&
46700 { ac_try='test -z "$ac_c_werror_flag"
46701 || test ! -s conftest.err'
46702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46703 (eval $ac_try) 2>&5
46704 ac_status=$?
46705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46706 (exit $ac_status); }; } &&
46707 { ac_try='test -s conftest$ac_exeext'
46708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46709 (eval $ac_try) 2>&5
46710 ac_status=$?
46711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46712 (exit $ac_status); }; }; then
46713 eval "$as_ac_var=yes"
46714 else
46715 echo "$as_me: failed program was:" >&5
46716 sed 's/^/| /' conftest.$ac_ext >&5
46718 eval "$as_ac_var=no"
46720 rm -f conftest.err conftest.$ac_objext \
46721 conftest$ac_exeext conftest.$ac_ext
46723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46725 if test `eval echo '${'$as_ac_var'}'` = yes; then
46726 cat >>confdefs.h <<_ACEOF
46727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46728 _ACEOF
46731 done
46741 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46742 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46743 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46744 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46745 echo $ECHO_N "(cached) $ECHO_C" >&6
46746 else
46750 ac_ext=cc
46751 ac_cpp='$CXXCPP $CPPFLAGS'
46752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46756 cat >conftest.$ac_ext <<_ACEOF
46757 /* confdefs.h. */
46758 _ACEOF
46759 cat confdefs.h >>conftest.$ac_ext
46760 cat >>conftest.$ac_ext <<_ACEOF
46761 /* end confdefs.h. */
46762 #include <math.h>
46764 main ()
46766 hypot(0, 0);
46768 return 0;
46770 _ACEOF
46771 rm -f conftest.$ac_objext
46772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46773 (eval $ac_compile) 2>conftest.er1
46774 ac_status=$?
46775 grep -v '^ *+' conftest.er1 >conftest.err
46776 rm -f conftest.er1
46777 cat conftest.err >&5
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); } &&
46780 { ac_try='test -z "$ac_cxx_werror_flag"
46781 || test ! -s conftest.err'
46782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46783 (eval $ac_try) 2>&5
46784 ac_status=$?
46785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46786 (exit $ac_status); }; } &&
46787 { ac_try='test -s conftest.$ac_objext'
46788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46789 (eval $ac_try) 2>&5
46790 ac_status=$?
46791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792 (exit $ac_status); }; }; then
46793 glibcxx_cv_func_hypot_use=yes
46794 else
46795 echo "$as_me: failed program was:" >&5
46796 sed 's/^/| /' conftest.$ac_ext >&5
46798 glibcxx_cv_func_hypot_use=no
46800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46801 ac_ext=c
46802 ac_cpp='$CPP $CPPFLAGS'
46803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46812 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46814 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46816 for ac_func in hypot
46818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46819 echo "$as_me:$LINENO: checking for $ac_func" >&5
46820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46821 if eval "test \"\${$as_ac_var+set}\" = set"; then
46822 echo $ECHO_N "(cached) $ECHO_C" >&6
46823 else
46824 if test x$gcc_no_link = xyes; then
46825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46827 { (exit 1); exit 1; }; }
46829 cat >conftest.$ac_ext <<_ACEOF
46830 /* confdefs.h. */
46831 _ACEOF
46832 cat confdefs.h >>conftest.$ac_ext
46833 cat >>conftest.$ac_ext <<_ACEOF
46834 /* end confdefs.h. */
46835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46837 #define $ac_func innocuous_$ac_func
46839 /* System header to define __stub macros and hopefully few prototypes,
46840 which can conflict with char $ac_func (); below.
46841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46842 <limits.h> exists even on freestanding compilers. */
46844 #ifdef __STDC__
46845 # include <limits.h>
46846 #else
46847 # include <assert.h>
46848 #endif
46850 #undef $ac_func
46852 /* Override any gcc2 internal prototype to avoid an error. */
46853 #ifdef __cplusplus
46854 extern "C"
46856 #endif
46857 /* We use char because int might match the return type of a gcc2
46858 builtin and then its argument prototype would still apply. */
46859 char $ac_func ();
46860 /* The GNU C library defines this for functions which it implements
46861 to always fail with ENOSYS. Some functions are actually named
46862 something starting with __ and the normal name is an alias. */
46863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46864 choke me
46865 #else
46866 char (*f) () = $ac_func;
46867 #endif
46868 #ifdef __cplusplus
46870 #endif
46873 main ()
46875 return f != $ac_func;
46877 return 0;
46879 _ACEOF
46880 rm -f conftest.$ac_objext conftest$ac_exeext
46881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46882 (eval $ac_link) 2>conftest.er1
46883 ac_status=$?
46884 grep -v '^ *+' conftest.er1 >conftest.err
46885 rm -f conftest.er1
46886 cat conftest.err >&5
46887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46888 (exit $ac_status); } &&
46889 { ac_try='test -z "$ac_c_werror_flag"
46890 || test ! -s conftest.err'
46891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46892 (eval $ac_try) 2>&5
46893 ac_status=$?
46894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46895 (exit $ac_status); }; } &&
46896 { ac_try='test -s conftest$ac_exeext'
46897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46898 (eval $ac_try) 2>&5
46899 ac_status=$?
46900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46901 (exit $ac_status); }; }; then
46902 eval "$as_ac_var=yes"
46903 else
46904 echo "$as_me: failed program was:" >&5
46905 sed 's/^/| /' conftest.$ac_ext >&5
46907 eval "$as_ac_var=no"
46909 rm -f conftest.err conftest.$ac_objext \
46910 conftest$ac_exeext conftest.$ac_ext
46912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46914 if test `eval echo '${'$as_ac_var'}'` = yes; then
46915 cat >>confdefs.h <<_ACEOF
46916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46917 _ACEOF
46920 done
46922 else
46924 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46925 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46926 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46927 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46928 echo $ECHO_N "(cached) $ECHO_C" >&6
46929 else
46933 ac_ext=cc
46934 ac_cpp='$CXXCPP $CPPFLAGS'
46935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46939 cat >conftest.$ac_ext <<_ACEOF
46940 /* confdefs.h. */
46941 _ACEOF
46942 cat confdefs.h >>conftest.$ac_ext
46943 cat >>conftest.$ac_ext <<_ACEOF
46944 /* end confdefs.h. */
46945 #include <math.h>
46947 main ()
46949 _hypot(0, 0);
46951 return 0;
46953 _ACEOF
46954 rm -f conftest.$ac_objext
46955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46956 (eval $ac_compile) 2>conftest.er1
46957 ac_status=$?
46958 grep -v '^ *+' conftest.er1 >conftest.err
46959 rm -f conftest.er1
46960 cat conftest.err >&5
46961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962 (exit $ac_status); } &&
46963 { ac_try='test -z "$ac_cxx_werror_flag"
46964 || test ! -s conftest.err'
46965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46966 (eval $ac_try) 2>&5
46967 ac_status=$?
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); }; } &&
46970 { ac_try='test -s conftest.$ac_objext'
46971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46972 (eval $ac_try) 2>&5
46973 ac_status=$?
46974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46975 (exit $ac_status); }; }; then
46976 glibcxx_cv_func__hypot_use=yes
46977 else
46978 echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46981 glibcxx_cv_func__hypot_use=no
46983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46984 ac_ext=c
46985 ac_cpp='$CPP $CPPFLAGS'
46986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46995 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46997 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46999 for ac_func in _hypot
47001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47002 echo "$as_me:$LINENO: checking for $ac_func" >&5
47003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47004 if eval "test \"\${$as_ac_var+set}\" = set"; then
47005 echo $ECHO_N "(cached) $ECHO_C" >&6
47006 else
47007 if test x$gcc_no_link = xyes; then
47008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47010 { (exit 1); exit 1; }; }
47012 cat >conftest.$ac_ext <<_ACEOF
47013 /* confdefs.h. */
47014 _ACEOF
47015 cat confdefs.h >>conftest.$ac_ext
47016 cat >>conftest.$ac_ext <<_ACEOF
47017 /* end confdefs.h. */
47018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47020 #define $ac_func innocuous_$ac_func
47022 /* System header to define __stub macros and hopefully few prototypes,
47023 which can conflict with char $ac_func (); below.
47024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47025 <limits.h> exists even on freestanding compilers. */
47027 #ifdef __STDC__
47028 # include <limits.h>
47029 #else
47030 # include <assert.h>
47031 #endif
47033 #undef $ac_func
47035 /* Override any gcc2 internal prototype to avoid an error. */
47036 #ifdef __cplusplus
47037 extern "C"
47039 #endif
47040 /* We use char because int might match the return type of a gcc2
47041 builtin and then its argument prototype would still apply. */
47042 char $ac_func ();
47043 /* The GNU C library defines this for functions which it implements
47044 to always fail with ENOSYS. Some functions are actually named
47045 something starting with __ and the normal name is an alias. */
47046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47047 choke me
47048 #else
47049 char (*f) () = $ac_func;
47050 #endif
47051 #ifdef __cplusplus
47053 #endif
47056 main ()
47058 return f != $ac_func;
47060 return 0;
47062 _ACEOF
47063 rm -f conftest.$ac_objext conftest$ac_exeext
47064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47065 (eval $ac_link) 2>conftest.er1
47066 ac_status=$?
47067 grep -v '^ *+' conftest.er1 >conftest.err
47068 rm -f conftest.er1
47069 cat conftest.err >&5
47070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47071 (exit $ac_status); } &&
47072 { ac_try='test -z "$ac_c_werror_flag"
47073 || test ! -s conftest.err'
47074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47075 (eval $ac_try) 2>&5
47076 ac_status=$?
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); }; } &&
47079 { ac_try='test -s conftest$ac_exeext'
47080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47081 (eval $ac_try) 2>&5
47082 ac_status=$?
47083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47084 (exit $ac_status); }; }; then
47085 eval "$as_ac_var=yes"
47086 else
47087 echo "$as_me: failed program was:" >&5
47088 sed 's/^/| /' conftest.$ac_ext >&5
47090 eval "$as_ac_var=no"
47092 rm -f conftest.err conftest.$ac_objext \
47093 conftest$ac_exeext conftest.$ac_ext
47095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47097 if test `eval echo '${'$as_ac_var'}'` = yes; then
47098 cat >>confdefs.h <<_ACEOF
47099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47100 _ACEOF
47103 done
47113 echo "$as_me:$LINENO: checking for float trig functions" >&5
47114 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
47115 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
47116 echo $ECHO_N "(cached) $ECHO_C" >&6
47117 else
47121 ac_ext=cc
47122 ac_cpp='$CXXCPP $CPPFLAGS'
47123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47127 cat >conftest.$ac_ext <<_ACEOF
47128 /* confdefs.h. */
47129 _ACEOF
47130 cat confdefs.h >>conftest.$ac_ext
47131 cat >>conftest.$ac_ext <<_ACEOF
47132 /* end confdefs.h. */
47133 #include <math.h>
47135 main ()
47137 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47139 return 0;
47141 _ACEOF
47142 rm -f conftest.$ac_objext
47143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47144 (eval $ac_compile) 2>conftest.er1
47145 ac_status=$?
47146 grep -v '^ *+' conftest.er1 >conftest.err
47147 rm -f conftest.er1
47148 cat conftest.err >&5
47149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47150 (exit $ac_status); } &&
47151 { ac_try='test -z "$ac_cxx_werror_flag"
47152 || test ! -s conftest.err'
47153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154 (eval $ac_try) 2>&5
47155 ac_status=$?
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); }; } &&
47158 { ac_try='test -s conftest.$ac_objext'
47159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47160 (eval $ac_try) 2>&5
47161 ac_status=$?
47162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163 (exit $ac_status); }; }; then
47164 glibcxx_cv_func_float_trig_use=yes
47165 else
47166 echo "$as_me: failed program was:" >&5
47167 sed 's/^/| /' conftest.$ac_ext >&5
47169 glibcxx_cv_func_float_trig_use=no
47171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47172 ac_ext=c
47173 ac_cpp='$CPP $CPPFLAGS'
47174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
47181 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
47182 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47192 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47195 echo "$as_me:$LINENO: checking for $ac_func" >&5
47196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47197 if eval "test \"\${$as_ac_var+set}\" = set"; then
47198 echo $ECHO_N "(cached) $ECHO_C" >&6
47199 else
47200 if test x$gcc_no_link = xyes; then
47201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47203 { (exit 1); exit 1; }; }
47205 cat >conftest.$ac_ext <<_ACEOF
47206 /* confdefs.h. */
47207 _ACEOF
47208 cat confdefs.h >>conftest.$ac_ext
47209 cat >>conftest.$ac_ext <<_ACEOF
47210 /* end confdefs.h. */
47211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47213 #define $ac_func innocuous_$ac_func
47215 /* System header to define __stub macros and hopefully few prototypes,
47216 which can conflict with char $ac_func (); below.
47217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47218 <limits.h> exists even on freestanding compilers. */
47220 #ifdef __STDC__
47221 # include <limits.h>
47222 #else
47223 # include <assert.h>
47224 #endif
47226 #undef $ac_func
47228 /* Override any gcc2 internal prototype to avoid an error. */
47229 #ifdef __cplusplus
47230 extern "C"
47232 #endif
47233 /* We use char because int might match the return type of a gcc2
47234 builtin and then its argument prototype would still apply. */
47235 char $ac_func ();
47236 /* The GNU C library defines this for functions which it implements
47237 to always fail with ENOSYS. Some functions are actually named
47238 something starting with __ and the normal name is an alias. */
47239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47240 choke me
47241 #else
47242 char (*f) () = $ac_func;
47243 #endif
47244 #ifdef __cplusplus
47246 #endif
47249 main ()
47251 return f != $ac_func;
47253 return 0;
47255 _ACEOF
47256 rm -f conftest.$ac_objext conftest$ac_exeext
47257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47258 (eval $ac_link) 2>conftest.er1
47259 ac_status=$?
47260 grep -v '^ *+' conftest.er1 >conftest.err
47261 rm -f conftest.er1
47262 cat conftest.err >&5
47263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47264 (exit $ac_status); } &&
47265 { ac_try='test -z "$ac_c_werror_flag"
47266 || test ! -s conftest.err'
47267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47268 (eval $ac_try) 2>&5
47269 ac_status=$?
47270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47271 (exit $ac_status); }; } &&
47272 { ac_try='test -s conftest$ac_exeext'
47273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47274 (eval $ac_try) 2>&5
47275 ac_status=$?
47276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47277 (exit $ac_status); }; }; then
47278 eval "$as_ac_var=yes"
47279 else
47280 echo "$as_me: failed program was:" >&5
47281 sed 's/^/| /' conftest.$ac_ext >&5
47283 eval "$as_ac_var=no"
47285 rm -f conftest.err conftest.$ac_objext \
47286 conftest$ac_exeext conftest.$ac_ext
47288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47290 if test `eval echo '${'$as_ac_var'}'` = yes; then
47291 cat >>confdefs.h <<_ACEOF
47292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47293 _ACEOF
47296 done
47298 else
47299 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47300 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47301 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47302 echo $ECHO_N "(cached) $ECHO_C" >&6
47303 else
47307 ac_ext=cc
47308 ac_cpp='$CXXCPP $CPPFLAGS'
47309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47313 cat >conftest.$ac_ext <<_ACEOF
47314 /* confdefs.h. */
47315 _ACEOF
47316 cat confdefs.h >>conftest.$ac_ext
47317 cat >>conftest.$ac_ext <<_ACEOF
47318 /* end confdefs.h. */
47319 #include <math.h>
47321 main ()
47323 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47325 return 0;
47327 _ACEOF
47328 rm -f conftest.$ac_objext
47329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47330 (eval $ac_compile) 2>conftest.er1
47331 ac_status=$?
47332 grep -v '^ *+' conftest.er1 >conftest.err
47333 rm -f conftest.er1
47334 cat conftest.err >&5
47335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47336 (exit $ac_status); } &&
47337 { ac_try='test -z "$ac_cxx_werror_flag"
47338 || test ! -s conftest.err'
47339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47340 (eval $ac_try) 2>&5
47341 ac_status=$?
47342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47343 (exit $ac_status); }; } &&
47344 { ac_try='test -s conftest.$ac_objext'
47345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47346 (eval $ac_try) 2>&5
47347 ac_status=$?
47348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47349 (exit $ac_status); }; }; then
47350 glibcxx_cv_func__float_trig_use=yes
47351 else
47352 echo "$as_me: failed program was:" >&5
47353 sed 's/^/| /' conftest.$ac_ext >&5
47355 glibcxx_cv_func__float_trig_use=no
47357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47358 ac_ext=c
47359 ac_cpp='$CPP $CPPFLAGS'
47360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47367 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47368 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47378 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47381 echo "$as_me:$LINENO: checking for $ac_func" >&5
47382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47383 if eval "test \"\${$as_ac_var+set}\" = set"; then
47384 echo $ECHO_N "(cached) $ECHO_C" >&6
47385 else
47386 if test x$gcc_no_link = xyes; then
47387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47389 { (exit 1); exit 1; }; }
47391 cat >conftest.$ac_ext <<_ACEOF
47392 /* confdefs.h. */
47393 _ACEOF
47394 cat confdefs.h >>conftest.$ac_ext
47395 cat >>conftest.$ac_ext <<_ACEOF
47396 /* end confdefs.h. */
47397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47399 #define $ac_func innocuous_$ac_func
47401 /* System header to define __stub macros and hopefully few prototypes,
47402 which can conflict with char $ac_func (); below.
47403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47404 <limits.h> exists even on freestanding compilers. */
47406 #ifdef __STDC__
47407 # include <limits.h>
47408 #else
47409 # include <assert.h>
47410 #endif
47412 #undef $ac_func
47414 /* Override any gcc2 internal prototype to avoid an error. */
47415 #ifdef __cplusplus
47416 extern "C"
47418 #endif
47419 /* We use char because int might match the return type of a gcc2
47420 builtin and then its argument prototype would still apply. */
47421 char $ac_func ();
47422 /* The GNU C library defines this for functions which it implements
47423 to always fail with ENOSYS. Some functions are actually named
47424 something starting with __ and the normal name is an alias. */
47425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47426 choke me
47427 #else
47428 char (*f) () = $ac_func;
47429 #endif
47430 #ifdef __cplusplus
47432 #endif
47435 main ()
47437 return f != $ac_func;
47439 return 0;
47441 _ACEOF
47442 rm -f conftest.$ac_objext conftest$ac_exeext
47443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47444 (eval $ac_link) 2>conftest.er1
47445 ac_status=$?
47446 grep -v '^ *+' conftest.er1 >conftest.err
47447 rm -f conftest.er1
47448 cat conftest.err >&5
47449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47450 (exit $ac_status); } &&
47451 { ac_try='test -z "$ac_c_werror_flag"
47452 || test ! -s conftest.err'
47453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47454 (eval $ac_try) 2>&5
47455 ac_status=$?
47456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47457 (exit $ac_status); }; } &&
47458 { ac_try='test -s conftest$ac_exeext'
47459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47460 (eval $ac_try) 2>&5
47461 ac_status=$?
47462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47463 (exit $ac_status); }; }; then
47464 eval "$as_ac_var=yes"
47465 else
47466 echo "$as_me: failed program was:" >&5
47467 sed 's/^/| /' conftest.$ac_ext >&5
47469 eval "$as_ac_var=no"
47471 rm -f conftest.err conftest.$ac_objext \
47472 conftest$ac_exeext conftest.$ac_ext
47474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47476 if test `eval echo '${'$as_ac_var'}'` = yes; then
47477 cat >>confdefs.h <<_ACEOF
47478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47479 _ACEOF
47482 done
47500 echo "$as_me:$LINENO: checking for float round functions" >&5
47501 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
47502 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
47503 echo $ECHO_N "(cached) $ECHO_C" >&6
47504 else
47508 ac_ext=cc
47509 ac_cpp='$CXXCPP $CPPFLAGS'
47510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47514 cat >conftest.$ac_ext <<_ACEOF
47515 /* confdefs.h. */
47516 _ACEOF
47517 cat confdefs.h >>conftest.$ac_ext
47518 cat >>conftest.$ac_ext <<_ACEOF
47519 /* end confdefs.h. */
47520 #include <math.h>
47522 main ()
47524 ceilf (0); floorf (0);
47526 return 0;
47528 _ACEOF
47529 rm -f conftest.$ac_objext
47530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47531 (eval $ac_compile) 2>conftest.er1
47532 ac_status=$?
47533 grep -v '^ *+' conftest.er1 >conftest.err
47534 rm -f conftest.er1
47535 cat conftest.err >&5
47536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537 (exit $ac_status); } &&
47538 { ac_try='test -z "$ac_cxx_werror_flag"
47539 || test ! -s conftest.err'
47540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47541 (eval $ac_try) 2>&5
47542 ac_status=$?
47543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47544 (exit $ac_status); }; } &&
47545 { ac_try='test -s conftest.$ac_objext'
47546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47547 (eval $ac_try) 2>&5
47548 ac_status=$?
47549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47550 (exit $ac_status); }; }; then
47551 glibcxx_cv_func_float_round_use=yes
47552 else
47553 echo "$as_me: failed program was:" >&5
47554 sed 's/^/| /' conftest.$ac_ext >&5
47556 glibcxx_cv_func_float_round_use=no
47558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47559 ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
47568 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
47569 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47572 for ac_func in ceilf floorf
47574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47575 echo "$as_me:$LINENO: checking for $ac_func" >&5
47576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47577 if eval "test \"\${$as_ac_var+set}\" = set"; then
47578 echo $ECHO_N "(cached) $ECHO_C" >&6
47579 else
47580 if test x$gcc_no_link = xyes; then
47581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47583 { (exit 1); exit 1; }; }
47585 cat >conftest.$ac_ext <<_ACEOF
47586 /* confdefs.h. */
47587 _ACEOF
47588 cat confdefs.h >>conftest.$ac_ext
47589 cat >>conftest.$ac_ext <<_ACEOF
47590 /* end confdefs.h. */
47591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47593 #define $ac_func innocuous_$ac_func
47595 /* System header to define __stub macros and hopefully few prototypes,
47596 which can conflict with char $ac_func (); below.
47597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47598 <limits.h> exists even on freestanding compilers. */
47600 #ifdef __STDC__
47601 # include <limits.h>
47602 #else
47603 # include <assert.h>
47604 #endif
47606 #undef $ac_func
47608 /* Override any gcc2 internal prototype to avoid an error. */
47609 #ifdef __cplusplus
47610 extern "C"
47612 #endif
47613 /* We use char because int might match the return type of a gcc2
47614 builtin and then its argument prototype would still apply. */
47615 char $ac_func ();
47616 /* The GNU C library defines this for functions which it implements
47617 to always fail with ENOSYS. Some functions are actually named
47618 something starting with __ and the normal name is an alias. */
47619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47620 choke me
47621 #else
47622 char (*f) () = $ac_func;
47623 #endif
47624 #ifdef __cplusplus
47626 #endif
47629 main ()
47631 return f != $ac_func;
47633 return 0;
47635 _ACEOF
47636 rm -f conftest.$ac_objext conftest$ac_exeext
47637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47638 (eval $ac_link) 2>conftest.er1
47639 ac_status=$?
47640 grep -v '^ *+' conftest.er1 >conftest.err
47641 rm -f conftest.er1
47642 cat conftest.err >&5
47643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47644 (exit $ac_status); } &&
47645 { ac_try='test -z "$ac_c_werror_flag"
47646 || test ! -s conftest.err'
47647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47648 (eval $ac_try) 2>&5
47649 ac_status=$?
47650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47651 (exit $ac_status); }; } &&
47652 { ac_try='test -s conftest$ac_exeext'
47653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47654 (eval $ac_try) 2>&5
47655 ac_status=$?
47656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47657 (exit $ac_status); }; }; then
47658 eval "$as_ac_var=yes"
47659 else
47660 echo "$as_me: failed program was:" >&5
47661 sed 's/^/| /' conftest.$ac_ext >&5
47663 eval "$as_ac_var=no"
47665 rm -f conftest.err conftest.$ac_objext \
47666 conftest$ac_exeext conftest.$ac_ext
47668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47670 if test `eval echo '${'$as_ac_var'}'` = yes; then
47671 cat >>confdefs.h <<_ACEOF
47672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47673 _ACEOF
47676 done
47678 else
47679 echo "$as_me:$LINENO: checking for _float round functions" >&5
47680 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47681 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47682 echo $ECHO_N "(cached) $ECHO_C" >&6
47683 else
47687 ac_ext=cc
47688 ac_cpp='$CXXCPP $CPPFLAGS'
47689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47693 cat >conftest.$ac_ext <<_ACEOF
47694 /* confdefs.h. */
47695 _ACEOF
47696 cat confdefs.h >>conftest.$ac_ext
47697 cat >>conftest.$ac_ext <<_ACEOF
47698 /* end confdefs.h. */
47699 #include <math.h>
47701 main ()
47703 _ceilf (0); _floorf (0);
47705 return 0;
47707 _ACEOF
47708 rm -f conftest.$ac_objext
47709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47710 (eval $ac_compile) 2>conftest.er1
47711 ac_status=$?
47712 grep -v '^ *+' conftest.er1 >conftest.err
47713 rm -f conftest.er1
47714 cat conftest.err >&5
47715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47716 (exit $ac_status); } &&
47717 { ac_try='test -z "$ac_cxx_werror_flag"
47718 || test ! -s conftest.err'
47719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47720 (eval $ac_try) 2>&5
47721 ac_status=$?
47722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723 (exit $ac_status); }; } &&
47724 { ac_try='test -s conftest.$ac_objext'
47725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47726 (eval $ac_try) 2>&5
47727 ac_status=$?
47728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729 (exit $ac_status); }; }; then
47730 glibcxx_cv_func__float_round_use=yes
47731 else
47732 echo "$as_me: failed program was:" >&5
47733 sed 's/^/| /' conftest.$ac_ext >&5
47735 glibcxx_cv_func__float_round_use=no
47737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47738 ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47747 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47748 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47751 for ac_func in _ceilf _floorf
47753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47754 echo "$as_me:$LINENO: checking for $ac_func" >&5
47755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47756 if eval "test \"\${$as_ac_var+set}\" = set"; then
47757 echo $ECHO_N "(cached) $ECHO_C" >&6
47758 else
47759 if test x$gcc_no_link = xyes; then
47760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47762 { (exit 1); exit 1; }; }
47764 cat >conftest.$ac_ext <<_ACEOF
47765 /* confdefs.h. */
47766 _ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h. */
47770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47772 #define $ac_func innocuous_$ac_func
47774 /* System header to define __stub macros and hopefully few prototypes,
47775 which can conflict with char $ac_func (); below.
47776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47777 <limits.h> exists even on freestanding compilers. */
47779 #ifdef __STDC__
47780 # include <limits.h>
47781 #else
47782 # include <assert.h>
47783 #endif
47785 #undef $ac_func
47787 /* Override any gcc2 internal prototype to avoid an error. */
47788 #ifdef __cplusplus
47789 extern "C"
47791 #endif
47792 /* We use char because int might match the return type of a gcc2
47793 builtin and then its argument prototype would still apply. */
47794 char $ac_func ();
47795 /* The GNU C library defines this for functions which it implements
47796 to always fail with ENOSYS. Some functions are actually named
47797 something starting with __ and the normal name is an alias. */
47798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47799 choke me
47800 #else
47801 char (*f) () = $ac_func;
47802 #endif
47803 #ifdef __cplusplus
47805 #endif
47808 main ()
47810 return f != $ac_func;
47812 return 0;
47814 _ACEOF
47815 rm -f conftest.$ac_objext conftest$ac_exeext
47816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47817 (eval $ac_link) 2>conftest.er1
47818 ac_status=$?
47819 grep -v '^ *+' conftest.er1 >conftest.err
47820 rm -f conftest.er1
47821 cat conftest.err >&5
47822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47823 (exit $ac_status); } &&
47824 { ac_try='test -z "$ac_c_werror_flag"
47825 || test ! -s conftest.err'
47826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47827 (eval $ac_try) 2>&5
47828 ac_status=$?
47829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47830 (exit $ac_status); }; } &&
47831 { ac_try='test -s conftest$ac_exeext'
47832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47833 (eval $ac_try) 2>&5
47834 ac_status=$?
47835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47836 (exit $ac_status); }; }; then
47837 eval "$as_ac_var=yes"
47838 else
47839 echo "$as_me: failed program was:" >&5
47840 sed 's/^/| /' conftest.$ac_ext >&5
47842 eval "$as_ac_var=no"
47844 rm -f conftest.err conftest.$ac_objext \
47845 conftest$ac_exeext conftest.$ac_ext
47847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47849 if test `eval echo '${'$as_ac_var'}'` = yes; then
47850 cat >>confdefs.h <<_ACEOF
47851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47852 _ACEOF
47855 done
47867 echo "$as_me:$LINENO: checking for expf declaration" >&5
47868 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47869 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47870 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47871 echo $ECHO_N "(cached) $ECHO_C" >&6
47872 else
47876 ac_ext=cc
47877 ac_cpp='$CXXCPP $CPPFLAGS'
47878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47882 cat >conftest.$ac_ext <<_ACEOF
47883 /* confdefs.h. */
47884 _ACEOF
47885 cat confdefs.h >>conftest.$ac_ext
47886 cat >>conftest.$ac_ext <<_ACEOF
47887 /* end confdefs.h. */
47888 #include <math.h>
47889 #ifdef HAVE_IEEEFP_H
47890 #include <ieeefp.h>
47891 #endif
47894 main ()
47896 expf(0);
47898 return 0;
47900 _ACEOF
47901 rm -f conftest.$ac_objext
47902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47903 (eval $ac_compile) 2>conftest.er1
47904 ac_status=$?
47905 grep -v '^ *+' conftest.er1 >conftest.err
47906 rm -f conftest.er1
47907 cat conftest.err >&5
47908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47909 (exit $ac_status); } &&
47910 { ac_try='test -z "$ac_cxx_werror_flag"
47911 || test ! -s conftest.err'
47912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47913 (eval $ac_try) 2>&5
47914 ac_status=$?
47915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47916 (exit $ac_status); }; } &&
47917 { ac_try='test -s conftest.$ac_objext'
47918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47919 (eval $ac_try) 2>&5
47920 ac_status=$?
47921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47922 (exit $ac_status); }; }; then
47923 glibcxx_cv_func_expf_use=yes
47924 else
47925 echo "$as_me: failed program was:" >&5
47926 sed 's/^/| /' conftest.$ac_ext >&5
47928 glibcxx_cv_func_expf_use=no
47930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47931 ac_ext=c
47932 ac_cpp='$CPP $CPPFLAGS'
47933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47942 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47944 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47946 for ac_func in expf
47948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47949 echo "$as_me:$LINENO: checking for $ac_func" >&5
47950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47951 if eval "test \"\${$as_ac_var+set}\" = set"; then
47952 echo $ECHO_N "(cached) $ECHO_C" >&6
47953 else
47954 if test x$gcc_no_link = xyes; then
47955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47957 { (exit 1); exit 1; }; }
47959 cat >conftest.$ac_ext <<_ACEOF
47960 /* confdefs.h. */
47961 _ACEOF
47962 cat confdefs.h >>conftest.$ac_ext
47963 cat >>conftest.$ac_ext <<_ACEOF
47964 /* end confdefs.h. */
47965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47967 #define $ac_func innocuous_$ac_func
47969 /* System header to define __stub macros and hopefully few prototypes,
47970 which can conflict with char $ac_func (); below.
47971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47972 <limits.h> exists even on freestanding compilers. */
47974 #ifdef __STDC__
47975 # include <limits.h>
47976 #else
47977 # include <assert.h>
47978 #endif
47980 #undef $ac_func
47982 /* Override any gcc2 internal prototype to avoid an error. */
47983 #ifdef __cplusplus
47984 extern "C"
47986 #endif
47987 /* We use char because int might match the return type of a gcc2
47988 builtin and then its argument prototype would still apply. */
47989 char $ac_func ();
47990 /* The GNU C library defines this for functions which it implements
47991 to always fail with ENOSYS. Some functions are actually named
47992 something starting with __ and the normal name is an alias. */
47993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47994 choke me
47995 #else
47996 char (*f) () = $ac_func;
47997 #endif
47998 #ifdef __cplusplus
48000 #endif
48003 main ()
48005 return f != $ac_func;
48007 return 0;
48009 _ACEOF
48010 rm -f conftest.$ac_objext conftest$ac_exeext
48011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48012 (eval $ac_link) 2>conftest.er1
48013 ac_status=$?
48014 grep -v '^ *+' conftest.er1 >conftest.err
48015 rm -f conftest.er1
48016 cat conftest.err >&5
48017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48018 (exit $ac_status); } &&
48019 { ac_try='test -z "$ac_c_werror_flag"
48020 || test ! -s conftest.err'
48021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48022 (eval $ac_try) 2>&5
48023 ac_status=$?
48024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48025 (exit $ac_status); }; } &&
48026 { ac_try='test -s conftest$ac_exeext'
48027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48028 (eval $ac_try) 2>&5
48029 ac_status=$?
48030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48031 (exit $ac_status); }; }; then
48032 eval "$as_ac_var=yes"
48033 else
48034 echo "$as_me: failed program was:" >&5
48035 sed 's/^/| /' conftest.$ac_ext >&5
48037 eval "$as_ac_var=no"
48039 rm -f conftest.err conftest.$ac_objext \
48040 conftest$ac_exeext conftest.$ac_ext
48042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48044 if test `eval echo '${'$as_ac_var'}'` = yes; then
48045 cat >>confdefs.h <<_ACEOF
48046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48047 _ACEOF
48050 done
48052 else
48054 echo "$as_me:$LINENO: checking for _expf declaration" >&5
48055 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
48056 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48057 if test "${glibcxx_cv_func__expf_use+set}" = set; then
48058 echo $ECHO_N "(cached) $ECHO_C" >&6
48059 else
48063 ac_ext=cc
48064 ac_cpp='$CXXCPP $CPPFLAGS'
48065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069 cat >conftest.$ac_ext <<_ACEOF
48070 /* confdefs.h. */
48071 _ACEOF
48072 cat confdefs.h >>conftest.$ac_ext
48073 cat >>conftest.$ac_ext <<_ACEOF
48074 /* end confdefs.h. */
48075 #include <math.h>
48076 #ifdef HAVE_IEEEFP_H
48077 #include <ieeefp.h>
48078 #endif
48081 main ()
48083 _expf(0);
48085 return 0;
48087 _ACEOF
48088 rm -f conftest.$ac_objext
48089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48090 (eval $ac_compile) 2>conftest.er1
48091 ac_status=$?
48092 grep -v '^ *+' conftest.er1 >conftest.err
48093 rm -f conftest.er1
48094 cat conftest.err >&5
48095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48096 (exit $ac_status); } &&
48097 { ac_try='test -z "$ac_cxx_werror_flag"
48098 || test ! -s conftest.err'
48099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48100 (eval $ac_try) 2>&5
48101 ac_status=$?
48102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48103 (exit $ac_status); }; } &&
48104 { ac_try='test -s conftest.$ac_objext'
48105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48106 (eval $ac_try) 2>&5
48107 ac_status=$?
48108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48109 (exit $ac_status); }; }; then
48110 glibcxx_cv_func__expf_use=yes
48111 else
48112 echo "$as_me: failed program was:" >&5
48113 sed 's/^/| /' conftest.$ac_ext >&5
48115 glibcxx_cv_func__expf_use=no
48117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48118 ac_ext=c
48119 ac_cpp='$CPP $CPPFLAGS'
48120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
48129 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
48131 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48133 for ac_func in _expf
48135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48136 echo "$as_me:$LINENO: checking for $ac_func" >&5
48137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48138 if eval "test \"\${$as_ac_var+set}\" = set"; then
48139 echo $ECHO_N "(cached) $ECHO_C" >&6
48140 else
48141 if test x$gcc_no_link = xyes; then
48142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48144 { (exit 1); exit 1; }; }
48146 cat >conftest.$ac_ext <<_ACEOF
48147 /* confdefs.h. */
48148 _ACEOF
48149 cat confdefs.h >>conftest.$ac_ext
48150 cat >>conftest.$ac_ext <<_ACEOF
48151 /* end confdefs.h. */
48152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48154 #define $ac_func innocuous_$ac_func
48156 /* System header to define __stub macros and hopefully few prototypes,
48157 which can conflict with char $ac_func (); below.
48158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48159 <limits.h> exists even on freestanding compilers. */
48161 #ifdef __STDC__
48162 # include <limits.h>
48163 #else
48164 # include <assert.h>
48165 #endif
48167 #undef $ac_func
48169 /* Override any gcc2 internal prototype to avoid an error. */
48170 #ifdef __cplusplus
48171 extern "C"
48173 #endif
48174 /* We use char because int might match the return type of a gcc2
48175 builtin and then its argument prototype would still apply. */
48176 char $ac_func ();
48177 /* The GNU C library defines this for functions which it implements
48178 to always fail with ENOSYS. Some functions are actually named
48179 something starting with __ and the normal name is an alias. */
48180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48181 choke me
48182 #else
48183 char (*f) () = $ac_func;
48184 #endif
48185 #ifdef __cplusplus
48187 #endif
48190 main ()
48192 return f != $ac_func;
48194 return 0;
48196 _ACEOF
48197 rm -f conftest.$ac_objext conftest$ac_exeext
48198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48199 (eval $ac_link) 2>conftest.er1
48200 ac_status=$?
48201 grep -v '^ *+' conftest.er1 >conftest.err
48202 rm -f conftest.er1
48203 cat conftest.err >&5
48204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48205 (exit $ac_status); } &&
48206 { ac_try='test -z "$ac_c_werror_flag"
48207 || test ! -s conftest.err'
48208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48209 (eval $ac_try) 2>&5
48210 ac_status=$?
48211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48212 (exit $ac_status); }; } &&
48213 { ac_try='test -s conftest$ac_exeext'
48214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48215 (eval $ac_try) 2>&5
48216 ac_status=$?
48217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48218 (exit $ac_status); }; }; then
48219 eval "$as_ac_var=yes"
48220 else
48221 echo "$as_me: failed program was:" >&5
48222 sed 's/^/| /' conftest.$ac_ext >&5
48224 eval "$as_ac_var=no"
48226 rm -f conftest.err conftest.$ac_objext \
48227 conftest$ac_exeext conftest.$ac_ext
48229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48231 if test `eval echo '${'$as_ac_var'}'` = yes; then
48232 cat >>confdefs.h <<_ACEOF
48233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48234 _ACEOF
48237 done
48247 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
48248 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
48249 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48250 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
48251 echo $ECHO_N "(cached) $ECHO_C" >&6
48252 else
48256 ac_ext=cc
48257 ac_cpp='$CXXCPP $CPPFLAGS'
48258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48262 cat >conftest.$ac_ext <<_ACEOF
48263 /* confdefs.h. */
48264 _ACEOF
48265 cat confdefs.h >>conftest.$ac_ext
48266 cat >>conftest.$ac_ext <<_ACEOF
48267 /* end confdefs.h. */
48268 #include <math.h>
48269 #ifdef HAVE_IEEEFP_H
48270 #include <ieeefp.h>
48271 #endif
48274 main ()
48276 isnanf(0);
48278 return 0;
48280 _ACEOF
48281 rm -f conftest.$ac_objext
48282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48283 (eval $ac_compile) 2>conftest.er1
48284 ac_status=$?
48285 grep -v '^ *+' conftest.er1 >conftest.err
48286 rm -f conftest.er1
48287 cat conftest.err >&5
48288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48289 (exit $ac_status); } &&
48290 { ac_try='test -z "$ac_cxx_werror_flag"
48291 || test ! -s conftest.err'
48292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48293 (eval $ac_try) 2>&5
48294 ac_status=$?
48295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296 (exit $ac_status); }; } &&
48297 { ac_try='test -s conftest.$ac_objext'
48298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48299 (eval $ac_try) 2>&5
48300 ac_status=$?
48301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48302 (exit $ac_status); }; }; then
48303 glibcxx_cv_func_isnanf_use=yes
48304 else
48305 echo "$as_me: failed program was:" >&5
48306 sed 's/^/| /' conftest.$ac_ext >&5
48308 glibcxx_cv_func_isnanf_use=no
48310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48311 ac_ext=c
48312 ac_cpp='$CPP $CPPFLAGS'
48313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
48322 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
48324 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48326 for ac_func in isnanf
48328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48329 echo "$as_me:$LINENO: checking for $ac_func" >&5
48330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48331 if eval "test \"\${$as_ac_var+set}\" = set"; then
48332 echo $ECHO_N "(cached) $ECHO_C" >&6
48333 else
48334 if test x$gcc_no_link = xyes; then
48335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48337 { (exit 1); exit 1; }; }
48339 cat >conftest.$ac_ext <<_ACEOF
48340 /* confdefs.h. */
48341 _ACEOF
48342 cat confdefs.h >>conftest.$ac_ext
48343 cat >>conftest.$ac_ext <<_ACEOF
48344 /* end confdefs.h. */
48345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48347 #define $ac_func innocuous_$ac_func
48349 /* System header to define __stub macros and hopefully few prototypes,
48350 which can conflict with char $ac_func (); below.
48351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48352 <limits.h> exists even on freestanding compilers. */
48354 #ifdef __STDC__
48355 # include <limits.h>
48356 #else
48357 # include <assert.h>
48358 #endif
48360 #undef $ac_func
48362 /* Override any gcc2 internal prototype to avoid an error. */
48363 #ifdef __cplusplus
48364 extern "C"
48366 #endif
48367 /* We use char because int might match the return type of a gcc2
48368 builtin and then its argument prototype would still apply. */
48369 char $ac_func ();
48370 /* The GNU C library defines this for functions which it implements
48371 to always fail with ENOSYS. Some functions are actually named
48372 something starting with __ and the normal name is an alias. */
48373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48374 choke me
48375 #else
48376 char (*f) () = $ac_func;
48377 #endif
48378 #ifdef __cplusplus
48380 #endif
48383 main ()
48385 return f != $ac_func;
48387 return 0;
48389 _ACEOF
48390 rm -f conftest.$ac_objext conftest$ac_exeext
48391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48392 (eval $ac_link) 2>conftest.er1
48393 ac_status=$?
48394 grep -v '^ *+' conftest.er1 >conftest.err
48395 rm -f conftest.er1
48396 cat conftest.err >&5
48397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398 (exit $ac_status); } &&
48399 { ac_try='test -z "$ac_c_werror_flag"
48400 || test ! -s conftest.err'
48401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48402 (eval $ac_try) 2>&5
48403 ac_status=$?
48404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48405 (exit $ac_status); }; } &&
48406 { ac_try='test -s conftest$ac_exeext'
48407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48408 (eval $ac_try) 2>&5
48409 ac_status=$?
48410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48411 (exit $ac_status); }; }; then
48412 eval "$as_ac_var=yes"
48413 else
48414 echo "$as_me: failed program was:" >&5
48415 sed 's/^/| /' conftest.$ac_ext >&5
48417 eval "$as_ac_var=no"
48419 rm -f conftest.err conftest.$ac_objext \
48420 conftest$ac_exeext conftest.$ac_ext
48422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48424 if test `eval echo '${'$as_ac_var'}'` = yes; then
48425 cat >>confdefs.h <<_ACEOF
48426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48427 _ACEOF
48430 done
48432 else
48434 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
48435 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
48436 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48437 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
48438 echo $ECHO_N "(cached) $ECHO_C" >&6
48439 else
48443 ac_ext=cc
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48449 cat >conftest.$ac_ext <<_ACEOF
48450 /* confdefs.h. */
48451 _ACEOF
48452 cat confdefs.h >>conftest.$ac_ext
48453 cat >>conftest.$ac_ext <<_ACEOF
48454 /* end confdefs.h. */
48455 #include <math.h>
48456 #ifdef HAVE_IEEEFP_H
48457 #include <ieeefp.h>
48458 #endif
48461 main ()
48463 _isnanf(0);
48465 return 0;
48467 _ACEOF
48468 rm -f conftest.$ac_objext
48469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48470 (eval $ac_compile) 2>conftest.er1
48471 ac_status=$?
48472 grep -v '^ *+' conftest.er1 >conftest.err
48473 rm -f conftest.er1
48474 cat conftest.err >&5
48475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476 (exit $ac_status); } &&
48477 { ac_try='test -z "$ac_cxx_werror_flag"
48478 || test ! -s conftest.err'
48479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48480 (eval $ac_try) 2>&5
48481 ac_status=$?
48482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48483 (exit $ac_status); }; } &&
48484 { ac_try='test -s conftest.$ac_objext'
48485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48486 (eval $ac_try) 2>&5
48487 ac_status=$?
48488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48489 (exit $ac_status); }; }; then
48490 glibcxx_cv_func__isnanf_use=yes
48491 else
48492 echo "$as_me: failed program was:" >&5
48493 sed 's/^/| /' conftest.$ac_ext >&5
48495 glibcxx_cv_func__isnanf_use=no
48497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48498 ac_ext=c
48499 ac_cpp='$CPP $CPPFLAGS'
48500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
48509 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
48511 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48513 for ac_func in _isnanf
48515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48516 echo "$as_me:$LINENO: checking for $ac_func" >&5
48517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48518 if eval "test \"\${$as_ac_var+set}\" = set"; then
48519 echo $ECHO_N "(cached) $ECHO_C" >&6
48520 else
48521 if test x$gcc_no_link = xyes; then
48522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48524 { (exit 1); exit 1; }; }
48526 cat >conftest.$ac_ext <<_ACEOF
48527 /* confdefs.h. */
48528 _ACEOF
48529 cat confdefs.h >>conftest.$ac_ext
48530 cat >>conftest.$ac_ext <<_ACEOF
48531 /* end confdefs.h. */
48532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48534 #define $ac_func innocuous_$ac_func
48536 /* System header to define __stub macros and hopefully few prototypes,
48537 which can conflict with char $ac_func (); below.
48538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48539 <limits.h> exists even on freestanding compilers. */
48541 #ifdef __STDC__
48542 # include <limits.h>
48543 #else
48544 # include <assert.h>
48545 #endif
48547 #undef $ac_func
48549 /* Override any gcc2 internal prototype to avoid an error. */
48550 #ifdef __cplusplus
48551 extern "C"
48553 #endif
48554 /* We use char because int might match the return type of a gcc2
48555 builtin and then its argument prototype would still apply. */
48556 char $ac_func ();
48557 /* The GNU C library defines this for functions which it implements
48558 to always fail with ENOSYS. Some functions are actually named
48559 something starting with __ and the normal name is an alias. */
48560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48561 choke me
48562 #else
48563 char (*f) () = $ac_func;
48564 #endif
48565 #ifdef __cplusplus
48567 #endif
48570 main ()
48572 return f != $ac_func;
48574 return 0;
48576 _ACEOF
48577 rm -f conftest.$ac_objext conftest$ac_exeext
48578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48579 (eval $ac_link) 2>conftest.er1
48580 ac_status=$?
48581 grep -v '^ *+' conftest.er1 >conftest.err
48582 rm -f conftest.er1
48583 cat conftest.err >&5
48584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48585 (exit $ac_status); } &&
48586 { ac_try='test -z "$ac_c_werror_flag"
48587 || test ! -s conftest.err'
48588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48589 (eval $ac_try) 2>&5
48590 ac_status=$?
48591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48592 (exit $ac_status); }; } &&
48593 { ac_try='test -s conftest$ac_exeext'
48594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48595 (eval $ac_try) 2>&5
48596 ac_status=$?
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); }; }; then
48599 eval "$as_ac_var=yes"
48600 else
48601 echo "$as_me: failed program was:" >&5
48602 sed 's/^/| /' conftest.$ac_ext >&5
48604 eval "$as_ac_var=no"
48606 rm -f conftest.err conftest.$ac_objext \
48607 conftest$ac_exeext conftest.$ac_ext
48609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48611 if test `eval echo '${'$as_ac_var'}'` = yes; then
48612 cat >>confdefs.h <<_ACEOF
48613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48614 _ACEOF
48617 done
48627 echo "$as_me:$LINENO: checking for isinff declaration" >&5
48628 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48629 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48630 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48631 echo $ECHO_N "(cached) $ECHO_C" >&6
48632 else
48636 ac_ext=cc
48637 ac_cpp='$CXXCPP $CPPFLAGS'
48638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48642 cat >conftest.$ac_ext <<_ACEOF
48643 /* confdefs.h. */
48644 _ACEOF
48645 cat confdefs.h >>conftest.$ac_ext
48646 cat >>conftest.$ac_ext <<_ACEOF
48647 /* end confdefs.h. */
48648 #include <math.h>
48649 #ifdef HAVE_IEEEFP_H
48650 #include <ieeefp.h>
48651 #endif
48654 main ()
48656 isinff(0);
48658 return 0;
48660 _ACEOF
48661 rm -f conftest.$ac_objext
48662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48663 (eval $ac_compile) 2>conftest.er1
48664 ac_status=$?
48665 grep -v '^ *+' conftest.er1 >conftest.err
48666 rm -f conftest.er1
48667 cat conftest.err >&5
48668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48669 (exit $ac_status); } &&
48670 { ac_try='test -z "$ac_cxx_werror_flag"
48671 || test ! -s conftest.err'
48672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48673 (eval $ac_try) 2>&5
48674 ac_status=$?
48675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48676 (exit $ac_status); }; } &&
48677 { ac_try='test -s conftest.$ac_objext'
48678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48679 (eval $ac_try) 2>&5
48680 ac_status=$?
48681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48682 (exit $ac_status); }; }; then
48683 glibcxx_cv_func_isinff_use=yes
48684 else
48685 echo "$as_me: failed program was:" >&5
48686 sed 's/^/| /' conftest.$ac_ext >&5
48688 glibcxx_cv_func_isinff_use=no
48690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48691 ac_ext=c
48692 ac_cpp='$CPP $CPPFLAGS'
48693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48702 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48704 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48706 for ac_func in isinff
48708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48709 echo "$as_me:$LINENO: checking for $ac_func" >&5
48710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48711 if eval "test \"\${$as_ac_var+set}\" = set"; then
48712 echo $ECHO_N "(cached) $ECHO_C" >&6
48713 else
48714 if test x$gcc_no_link = xyes; then
48715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48717 { (exit 1); exit 1; }; }
48719 cat >conftest.$ac_ext <<_ACEOF
48720 /* confdefs.h. */
48721 _ACEOF
48722 cat confdefs.h >>conftest.$ac_ext
48723 cat >>conftest.$ac_ext <<_ACEOF
48724 /* end confdefs.h. */
48725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48727 #define $ac_func innocuous_$ac_func
48729 /* System header to define __stub macros and hopefully few prototypes,
48730 which can conflict with char $ac_func (); below.
48731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48732 <limits.h> exists even on freestanding compilers. */
48734 #ifdef __STDC__
48735 # include <limits.h>
48736 #else
48737 # include <assert.h>
48738 #endif
48740 #undef $ac_func
48742 /* Override any gcc2 internal prototype to avoid an error. */
48743 #ifdef __cplusplus
48744 extern "C"
48746 #endif
48747 /* We use char because int might match the return type of a gcc2
48748 builtin and then its argument prototype would still apply. */
48749 char $ac_func ();
48750 /* The GNU C library defines this for functions which it implements
48751 to always fail with ENOSYS. Some functions are actually named
48752 something starting with __ and the normal name is an alias. */
48753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48754 choke me
48755 #else
48756 char (*f) () = $ac_func;
48757 #endif
48758 #ifdef __cplusplus
48760 #endif
48763 main ()
48765 return f != $ac_func;
48767 return 0;
48769 _ACEOF
48770 rm -f conftest.$ac_objext conftest$ac_exeext
48771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48772 (eval $ac_link) 2>conftest.er1
48773 ac_status=$?
48774 grep -v '^ *+' conftest.er1 >conftest.err
48775 rm -f conftest.er1
48776 cat conftest.err >&5
48777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48778 (exit $ac_status); } &&
48779 { ac_try='test -z "$ac_c_werror_flag"
48780 || test ! -s conftest.err'
48781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48782 (eval $ac_try) 2>&5
48783 ac_status=$?
48784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48785 (exit $ac_status); }; } &&
48786 { ac_try='test -s conftest$ac_exeext'
48787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48788 (eval $ac_try) 2>&5
48789 ac_status=$?
48790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791 (exit $ac_status); }; }; then
48792 eval "$as_ac_var=yes"
48793 else
48794 echo "$as_me: failed program was:" >&5
48795 sed 's/^/| /' conftest.$ac_ext >&5
48797 eval "$as_ac_var=no"
48799 rm -f conftest.err conftest.$ac_objext \
48800 conftest$ac_exeext conftest.$ac_ext
48802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48804 if test `eval echo '${'$as_ac_var'}'` = yes; then
48805 cat >>confdefs.h <<_ACEOF
48806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48807 _ACEOF
48810 done
48812 else
48814 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48815 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48816 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48817 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48818 echo $ECHO_N "(cached) $ECHO_C" >&6
48819 else
48823 ac_ext=cc
48824 ac_cpp='$CXXCPP $CPPFLAGS'
48825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48829 cat >conftest.$ac_ext <<_ACEOF
48830 /* confdefs.h. */
48831 _ACEOF
48832 cat confdefs.h >>conftest.$ac_ext
48833 cat >>conftest.$ac_ext <<_ACEOF
48834 /* end confdefs.h. */
48835 #include <math.h>
48836 #ifdef HAVE_IEEEFP_H
48837 #include <ieeefp.h>
48838 #endif
48841 main ()
48843 _isinff(0);
48845 return 0;
48847 _ACEOF
48848 rm -f conftest.$ac_objext
48849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48850 (eval $ac_compile) 2>conftest.er1
48851 ac_status=$?
48852 grep -v '^ *+' conftest.er1 >conftest.err
48853 rm -f conftest.er1
48854 cat conftest.err >&5
48855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48856 (exit $ac_status); } &&
48857 { ac_try='test -z "$ac_cxx_werror_flag"
48858 || test ! -s conftest.err'
48859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48860 (eval $ac_try) 2>&5
48861 ac_status=$?
48862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48863 (exit $ac_status); }; } &&
48864 { ac_try='test -s conftest.$ac_objext'
48865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48866 (eval $ac_try) 2>&5
48867 ac_status=$?
48868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48869 (exit $ac_status); }; }; then
48870 glibcxx_cv_func__isinff_use=yes
48871 else
48872 echo "$as_me: failed program was:" >&5
48873 sed 's/^/| /' conftest.$ac_ext >&5
48875 glibcxx_cv_func__isinff_use=no
48877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48878 ac_ext=c
48879 ac_cpp='$CPP $CPPFLAGS'
48880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48889 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48891 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48893 for ac_func in _isinff
48895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48896 echo "$as_me:$LINENO: checking for $ac_func" >&5
48897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48898 if eval "test \"\${$as_ac_var+set}\" = set"; then
48899 echo $ECHO_N "(cached) $ECHO_C" >&6
48900 else
48901 if test x$gcc_no_link = xyes; then
48902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48904 { (exit 1); exit 1; }; }
48906 cat >conftest.$ac_ext <<_ACEOF
48907 /* confdefs.h. */
48908 _ACEOF
48909 cat confdefs.h >>conftest.$ac_ext
48910 cat >>conftest.$ac_ext <<_ACEOF
48911 /* end confdefs.h. */
48912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48914 #define $ac_func innocuous_$ac_func
48916 /* System header to define __stub macros and hopefully few prototypes,
48917 which can conflict with char $ac_func (); below.
48918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48919 <limits.h> exists even on freestanding compilers. */
48921 #ifdef __STDC__
48922 # include <limits.h>
48923 #else
48924 # include <assert.h>
48925 #endif
48927 #undef $ac_func
48929 /* Override any gcc2 internal prototype to avoid an error. */
48930 #ifdef __cplusplus
48931 extern "C"
48933 #endif
48934 /* We use char because int might match the return type of a gcc2
48935 builtin and then its argument prototype would still apply. */
48936 char $ac_func ();
48937 /* The GNU C library defines this for functions which it implements
48938 to always fail with ENOSYS. Some functions are actually named
48939 something starting with __ and the normal name is an alias. */
48940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48941 choke me
48942 #else
48943 char (*f) () = $ac_func;
48944 #endif
48945 #ifdef __cplusplus
48947 #endif
48950 main ()
48952 return f != $ac_func;
48954 return 0;
48956 _ACEOF
48957 rm -f conftest.$ac_objext conftest$ac_exeext
48958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48959 (eval $ac_link) 2>conftest.er1
48960 ac_status=$?
48961 grep -v '^ *+' conftest.er1 >conftest.err
48962 rm -f conftest.er1
48963 cat conftest.err >&5
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); } &&
48966 { ac_try='test -z "$ac_c_werror_flag"
48967 || test ! -s conftest.err'
48968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48969 (eval $ac_try) 2>&5
48970 ac_status=$?
48971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48972 (exit $ac_status); }; } &&
48973 { ac_try='test -s conftest$ac_exeext'
48974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48975 (eval $ac_try) 2>&5
48976 ac_status=$?
48977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48978 (exit $ac_status); }; }; then
48979 eval "$as_ac_var=yes"
48980 else
48981 echo "$as_me: failed program was:" >&5
48982 sed 's/^/| /' conftest.$ac_ext >&5
48984 eval "$as_ac_var=no"
48986 rm -f conftest.err conftest.$ac_objext \
48987 conftest$ac_exeext conftest.$ac_ext
48989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48991 if test `eval echo '${'$as_ac_var'}'` = yes; then
48992 cat >>confdefs.h <<_ACEOF
48993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48994 _ACEOF
48997 done
49007 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
49008 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
49009 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49010 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
49011 echo $ECHO_N "(cached) $ECHO_C" >&6
49012 else
49016 ac_ext=cc
49017 ac_cpp='$CXXCPP $CPPFLAGS'
49018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022 cat >conftest.$ac_ext <<_ACEOF
49023 /* confdefs.h. */
49024 _ACEOF
49025 cat confdefs.h >>conftest.$ac_ext
49026 cat >>conftest.$ac_ext <<_ACEOF
49027 /* end confdefs.h. */
49028 #include <math.h>
49030 main ()
49032 atan2f(0, 0);
49034 return 0;
49036 _ACEOF
49037 rm -f conftest.$ac_objext
49038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49039 (eval $ac_compile) 2>conftest.er1
49040 ac_status=$?
49041 grep -v '^ *+' conftest.er1 >conftest.err
49042 rm -f conftest.er1
49043 cat conftest.err >&5
49044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49045 (exit $ac_status); } &&
49046 { ac_try='test -z "$ac_cxx_werror_flag"
49047 || test ! -s conftest.err'
49048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49049 (eval $ac_try) 2>&5
49050 ac_status=$?
49051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49052 (exit $ac_status); }; } &&
49053 { ac_try='test -s conftest.$ac_objext'
49054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49055 (eval $ac_try) 2>&5
49056 ac_status=$?
49057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058 (exit $ac_status); }; }; then
49059 glibcxx_cv_func_atan2f_use=yes
49060 else
49061 echo "$as_me: failed program was:" >&5
49062 sed 's/^/| /' conftest.$ac_ext >&5
49064 glibcxx_cv_func_atan2f_use=no
49066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49067 ac_ext=c
49068 ac_cpp='$CPP $CPPFLAGS'
49069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
49078 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
49080 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49082 for ac_func in atan2f
49084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49085 echo "$as_me:$LINENO: checking for $ac_func" >&5
49086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49087 if eval "test \"\${$as_ac_var+set}\" = set"; then
49088 echo $ECHO_N "(cached) $ECHO_C" >&6
49089 else
49090 if test x$gcc_no_link = xyes; then
49091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49093 { (exit 1); exit 1; }; }
49095 cat >conftest.$ac_ext <<_ACEOF
49096 /* confdefs.h. */
49097 _ACEOF
49098 cat confdefs.h >>conftest.$ac_ext
49099 cat >>conftest.$ac_ext <<_ACEOF
49100 /* end confdefs.h. */
49101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49103 #define $ac_func innocuous_$ac_func
49105 /* System header to define __stub macros and hopefully few prototypes,
49106 which can conflict with char $ac_func (); below.
49107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49108 <limits.h> exists even on freestanding compilers. */
49110 #ifdef __STDC__
49111 # include <limits.h>
49112 #else
49113 # include <assert.h>
49114 #endif
49116 #undef $ac_func
49118 /* Override any gcc2 internal prototype to avoid an error. */
49119 #ifdef __cplusplus
49120 extern "C"
49122 #endif
49123 /* We use char because int might match the return type of a gcc2
49124 builtin and then its argument prototype would still apply. */
49125 char $ac_func ();
49126 /* The GNU C library defines this for functions which it implements
49127 to always fail with ENOSYS. Some functions are actually named
49128 something starting with __ and the normal name is an alias. */
49129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49130 choke me
49131 #else
49132 char (*f) () = $ac_func;
49133 #endif
49134 #ifdef __cplusplus
49136 #endif
49139 main ()
49141 return f != $ac_func;
49143 return 0;
49145 _ACEOF
49146 rm -f conftest.$ac_objext conftest$ac_exeext
49147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49148 (eval $ac_link) 2>conftest.er1
49149 ac_status=$?
49150 grep -v '^ *+' conftest.er1 >conftest.err
49151 rm -f conftest.er1
49152 cat conftest.err >&5
49153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49154 (exit $ac_status); } &&
49155 { ac_try='test -z "$ac_c_werror_flag"
49156 || test ! -s conftest.err'
49157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49158 (eval $ac_try) 2>&5
49159 ac_status=$?
49160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161 (exit $ac_status); }; } &&
49162 { ac_try='test -s conftest$ac_exeext'
49163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49164 (eval $ac_try) 2>&5
49165 ac_status=$?
49166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167 (exit $ac_status); }; }; then
49168 eval "$as_ac_var=yes"
49169 else
49170 echo "$as_me: failed program was:" >&5
49171 sed 's/^/| /' conftest.$ac_ext >&5
49173 eval "$as_ac_var=no"
49175 rm -f conftest.err conftest.$ac_objext \
49176 conftest$ac_exeext conftest.$ac_ext
49178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49180 if test `eval echo '${'$as_ac_var'}'` = yes; then
49181 cat >>confdefs.h <<_ACEOF
49182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49183 _ACEOF
49186 done
49188 else
49190 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
49191 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
49192 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49193 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
49194 echo $ECHO_N "(cached) $ECHO_C" >&6
49195 else
49199 ac_ext=cc
49200 ac_cpp='$CXXCPP $CPPFLAGS'
49201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49205 cat >conftest.$ac_ext <<_ACEOF
49206 /* confdefs.h. */
49207 _ACEOF
49208 cat confdefs.h >>conftest.$ac_ext
49209 cat >>conftest.$ac_ext <<_ACEOF
49210 /* end confdefs.h. */
49211 #include <math.h>
49213 main ()
49215 _atan2f(0, 0);
49217 return 0;
49219 _ACEOF
49220 rm -f conftest.$ac_objext
49221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49222 (eval $ac_compile) 2>conftest.er1
49223 ac_status=$?
49224 grep -v '^ *+' conftest.er1 >conftest.err
49225 rm -f conftest.er1
49226 cat conftest.err >&5
49227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49228 (exit $ac_status); } &&
49229 { ac_try='test -z "$ac_cxx_werror_flag"
49230 || test ! -s conftest.err'
49231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49232 (eval $ac_try) 2>&5
49233 ac_status=$?
49234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49235 (exit $ac_status); }; } &&
49236 { ac_try='test -s conftest.$ac_objext'
49237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49238 (eval $ac_try) 2>&5
49239 ac_status=$?
49240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49241 (exit $ac_status); }; }; then
49242 glibcxx_cv_func__atan2f_use=yes
49243 else
49244 echo "$as_me: failed program was:" >&5
49245 sed 's/^/| /' conftest.$ac_ext >&5
49247 glibcxx_cv_func__atan2f_use=no
49249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49250 ac_ext=c
49251 ac_cpp='$CPP $CPPFLAGS'
49252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
49261 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
49263 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49265 for ac_func in _atan2f
49267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49268 echo "$as_me:$LINENO: checking for $ac_func" >&5
49269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49270 if eval "test \"\${$as_ac_var+set}\" = set"; then
49271 echo $ECHO_N "(cached) $ECHO_C" >&6
49272 else
49273 if test x$gcc_no_link = xyes; then
49274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49276 { (exit 1); exit 1; }; }
49278 cat >conftest.$ac_ext <<_ACEOF
49279 /* confdefs.h. */
49280 _ACEOF
49281 cat confdefs.h >>conftest.$ac_ext
49282 cat >>conftest.$ac_ext <<_ACEOF
49283 /* end confdefs.h. */
49284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49286 #define $ac_func innocuous_$ac_func
49288 /* System header to define __stub macros and hopefully few prototypes,
49289 which can conflict with char $ac_func (); below.
49290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49291 <limits.h> exists even on freestanding compilers. */
49293 #ifdef __STDC__
49294 # include <limits.h>
49295 #else
49296 # include <assert.h>
49297 #endif
49299 #undef $ac_func
49301 /* Override any gcc2 internal prototype to avoid an error. */
49302 #ifdef __cplusplus
49303 extern "C"
49305 #endif
49306 /* We use char because int might match the return type of a gcc2
49307 builtin and then its argument prototype would still apply. */
49308 char $ac_func ();
49309 /* The GNU C library defines this for functions which it implements
49310 to always fail with ENOSYS. Some functions are actually named
49311 something starting with __ and the normal name is an alias. */
49312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49313 choke me
49314 #else
49315 char (*f) () = $ac_func;
49316 #endif
49317 #ifdef __cplusplus
49319 #endif
49322 main ()
49324 return f != $ac_func;
49326 return 0;
49328 _ACEOF
49329 rm -f conftest.$ac_objext conftest$ac_exeext
49330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49331 (eval $ac_link) 2>conftest.er1
49332 ac_status=$?
49333 grep -v '^ *+' conftest.er1 >conftest.err
49334 rm -f conftest.er1
49335 cat conftest.err >&5
49336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49337 (exit $ac_status); } &&
49338 { ac_try='test -z "$ac_c_werror_flag"
49339 || test ! -s conftest.err'
49340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49341 (eval $ac_try) 2>&5
49342 ac_status=$?
49343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49344 (exit $ac_status); }; } &&
49345 { ac_try='test -s conftest$ac_exeext'
49346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49347 (eval $ac_try) 2>&5
49348 ac_status=$?
49349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49350 (exit $ac_status); }; }; then
49351 eval "$as_ac_var=yes"
49352 else
49353 echo "$as_me: failed program was:" >&5
49354 sed 's/^/| /' conftest.$ac_ext >&5
49356 eval "$as_ac_var=no"
49358 rm -f conftest.err conftest.$ac_objext \
49359 conftest$ac_exeext conftest.$ac_ext
49361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49363 if test `eval echo '${'$as_ac_var'}'` = yes; then
49364 cat >>confdefs.h <<_ACEOF
49365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49366 _ACEOF
49369 done
49379 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
49380 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
49381 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49382 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
49383 echo $ECHO_N "(cached) $ECHO_C" >&6
49384 else
49388 ac_ext=cc
49389 ac_cpp='$CXXCPP $CPPFLAGS'
49390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49394 cat >conftest.$ac_ext <<_ACEOF
49395 /* confdefs.h. */
49396 _ACEOF
49397 cat confdefs.h >>conftest.$ac_ext
49398 cat >>conftest.$ac_ext <<_ACEOF
49399 /* end confdefs.h. */
49400 #include <math.h>
49401 #ifdef HAVE_IEEEFP_H
49402 #include <ieeefp.h>
49403 #endif
49406 main ()
49408 fabsf(0);
49410 return 0;
49412 _ACEOF
49413 rm -f conftest.$ac_objext
49414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49415 (eval $ac_compile) 2>conftest.er1
49416 ac_status=$?
49417 grep -v '^ *+' conftest.er1 >conftest.err
49418 rm -f conftest.er1
49419 cat conftest.err >&5
49420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421 (exit $ac_status); } &&
49422 { ac_try='test -z "$ac_cxx_werror_flag"
49423 || test ! -s conftest.err'
49424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49425 (eval $ac_try) 2>&5
49426 ac_status=$?
49427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49428 (exit $ac_status); }; } &&
49429 { ac_try='test -s conftest.$ac_objext'
49430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49431 (eval $ac_try) 2>&5
49432 ac_status=$?
49433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49434 (exit $ac_status); }; }; then
49435 glibcxx_cv_func_fabsf_use=yes
49436 else
49437 echo "$as_me: failed program was:" >&5
49438 sed 's/^/| /' conftest.$ac_ext >&5
49440 glibcxx_cv_func_fabsf_use=no
49442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49443 ac_ext=c
49444 ac_cpp='$CPP $CPPFLAGS'
49445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
49454 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
49456 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49458 for ac_func in fabsf
49460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49461 echo "$as_me:$LINENO: checking for $ac_func" >&5
49462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49463 if eval "test \"\${$as_ac_var+set}\" = set"; then
49464 echo $ECHO_N "(cached) $ECHO_C" >&6
49465 else
49466 if test x$gcc_no_link = xyes; then
49467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49469 { (exit 1); exit 1; }; }
49471 cat >conftest.$ac_ext <<_ACEOF
49472 /* confdefs.h. */
49473 _ACEOF
49474 cat confdefs.h >>conftest.$ac_ext
49475 cat >>conftest.$ac_ext <<_ACEOF
49476 /* end confdefs.h. */
49477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49479 #define $ac_func innocuous_$ac_func
49481 /* System header to define __stub macros and hopefully few prototypes,
49482 which can conflict with char $ac_func (); below.
49483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49484 <limits.h> exists even on freestanding compilers. */
49486 #ifdef __STDC__
49487 # include <limits.h>
49488 #else
49489 # include <assert.h>
49490 #endif
49492 #undef $ac_func
49494 /* Override any gcc2 internal prototype to avoid an error. */
49495 #ifdef __cplusplus
49496 extern "C"
49498 #endif
49499 /* We use char because int might match the return type of a gcc2
49500 builtin and then its argument prototype would still apply. */
49501 char $ac_func ();
49502 /* The GNU C library defines this for functions which it implements
49503 to always fail with ENOSYS. Some functions are actually named
49504 something starting with __ and the normal name is an alias. */
49505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49506 choke me
49507 #else
49508 char (*f) () = $ac_func;
49509 #endif
49510 #ifdef __cplusplus
49512 #endif
49515 main ()
49517 return f != $ac_func;
49519 return 0;
49521 _ACEOF
49522 rm -f conftest.$ac_objext conftest$ac_exeext
49523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49524 (eval $ac_link) 2>conftest.er1
49525 ac_status=$?
49526 grep -v '^ *+' conftest.er1 >conftest.err
49527 rm -f conftest.er1
49528 cat conftest.err >&5
49529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530 (exit $ac_status); } &&
49531 { ac_try='test -z "$ac_c_werror_flag"
49532 || test ! -s conftest.err'
49533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49534 (eval $ac_try) 2>&5
49535 ac_status=$?
49536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49537 (exit $ac_status); }; } &&
49538 { ac_try='test -s conftest$ac_exeext'
49539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49540 (eval $ac_try) 2>&5
49541 ac_status=$?
49542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543 (exit $ac_status); }; }; then
49544 eval "$as_ac_var=yes"
49545 else
49546 echo "$as_me: failed program was:" >&5
49547 sed 's/^/| /' conftest.$ac_ext >&5
49549 eval "$as_ac_var=no"
49551 rm -f conftest.err conftest.$ac_objext \
49552 conftest$ac_exeext conftest.$ac_ext
49554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49556 if test `eval echo '${'$as_ac_var'}'` = yes; then
49557 cat >>confdefs.h <<_ACEOF
49558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49559 _ACEOF
49562 done
49564 else
49566 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
49567 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
49568 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49569 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
49570 echo $ECHO_N "(cached) $ECHO_C" >&6
49571 else
49575 ac_ext=cc
49576 ac_cpp='$CXXCPP $CPPFLAGS'
49577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49581 cat >conftest.$ac_ext <<_ACEOF
49582 /* confdefs.h. */
49583 _ACEOF
49584 cat confdefs.h >>conftest.$ac_ext
49585 cat >>conftest.$ac_ext <<_ACEOF
49586 /* end confdefs.h. */
49587 #include <math.h>
49588 #ifdef HAVE_IEEEFP_H
49589 #include <ieeefp.h>
49590 #endif
49593 main ()
49595 _fabsf(0);
49597 return 0;
49599 _ACEOF
49600 rm -f conftest.$ac_objext
49601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49602 (eval $ac_compile) 2>conftest.er1
49603 ac_status=$?
49604 grep -v '^ *+' conftest.er1 >conftest.err
49605 rm -f conftest.er1
49606 cat conftest.err >&5
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); } &&
49609 { ac_try='test -z "$ac_cxx_werror_flag"
49610 || test ! -s conftest.err'
49611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49612 (eval $ac_try) 2>&5
49613 ac_status=$?
49614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49615 (exit $ac_status); }; } &&
49616 { ac_try='test -s conftest.$ac_objext'
49617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49618 (eval $ac_try) 2>&5
49619 ac_status=$?
49620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49621 (exit $ac_status); }; }; then
49622 glibcxx_cv_func__fabsf_use=yes
49623 else
49624 echo "$as_me: failed program was:" >&5
49625 sed 's/^/| /' conftest.$ac_ext >&5
49627 glibcxx_cv_func__fabsf_use=no
49629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49630 ac_ext=c
49631 ac_cpp='$CPP $CPPFLAGS'
49632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49641 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49643 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49645 for ac_func in _fabsf
49647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49648 echo "$as_me:$LINENO: checking for $ac_func" >&5
49649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49650 if eval "test \"\${$as_ac_var+set}\" = set"; then
49651 echo $ECHO_N "(cached) $ECHO_C" >&6
49652 else
49653 if test x$gcc_no_link = xyes; then
49654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49656 { (exit 1); exit 1; }; }
49658 cat >conftest.$ac_ext <<_ACEOF
49659 /* confdefs.h. */
49660 _ACEOF
49661 cat confdefs.h >>conftest.$ac_ext
49662 cat >>conftest.$ac_ext <<_ACEOF
49663 /* end confdefs.h. */
49664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49666 #define $ac_func innocuous_$ac_func
49668 /* System header to define __stub macros and hopefully few prototypes,
49669 which can conflict with char $ac_func (); below.
49670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49671 <limits.h> exists even on freestanding compilers. */
49673 #ifdef __STDC__
49674 # include <limits.h>
49675 #else
49676 # include <assert.h>
49677 #endif
49679 #undef $ac_func
49681 /* Override any gcc2 internal prototype to avoid an error. */
49682 #ifdef __cplusplus
49683 extern "C"
49685 #endif
49686 /* We use char because int might match the return type of a gcc2
49687 builtin and then its argument prototype would still apply. */
49688 char $ac_func ();
49689 /* The GNU C library defines this for functions which it implements
49690 to always fail with ENOSYS. Some functions are actually named
49691 something starting with __ and the normal name is an alias. */
49692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49693 choke me
49694 #else
49695 char (*f) () = $ac_func;
49696 #endif
49697 #ifdef __cplusplus
49699 #endif
49702 main ()
49704 return f != $ac_func;
49706 return 0;
49708 _ACEOF
49709 rm -f conftest.$ac_objext conftest$ac_exeext
49710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49711 (eval $ac_link) 2>conftest.er1
49712 ac_status=$?
49713 grep -v '^ *+' conftest.er1 >conftest.err
49714 rm -f conftest.er1
49715 cat conftest.err >&5
49716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49717 (exit $ac_status); } &&
49718 { ac_try='test -z "$ac_c_werror_flag"
49719 || test ! -s conftest.err'
49720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49721 (eval $ac_try) 2>&5
49722 ac_status=$?
49723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724 (exit $ac_status); }; } &&
49725 { ac_try='test -s conftest$ac_exeext'
49726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49727 (eval $ac_try) 2>&5
49728 ac_status=$?
49729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49730 (exit $ac_status); }; }; then
49731 eval "$as_ac_var=yes"
49732 else
49733 echo "$as_me: failed program was:" >&5
49734 sed 's/^/| /' conftest.$ac_ext >&5
49736 eval "$as_ac_var=no"
49738 rm -f conftest.err conftest.$ac_objext \
49739 conftest$ac_exeext conftest.$ac_ext
49741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49743 if test `eval echo '${'$as_ac_var'}'` = yes; then
49744 cat >>confdefs.h <<_ACEOF
49745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49746 _ACEOF
49749 done
49759 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49760 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49761 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49762 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49763 echo $ECHO_N "(cached) $ECHO_C" >&6
49764 else
49768 ac_ext=cc
49769 ac_cpp='$CXXCPP $CPPFLAGS'
49770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49774 cat >conftest.$ac_ext <<_ACEOF
49775 /* confdefs.h. */
49776 _ACEOF
49777 cat confdefs.h >>conftest.$ac_ext
49778 cat >>conftest.$ac_ext <<_ACEOF
49779 /* end confdefs.h. */
49780 #include <math.h>
49782 main ()
49784 fmodf(0, 0);
49786 return 0;
49788 _ACEOF
49789 rm -f conftest.$ac_objext
49790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49791 (eval $ac_compile) 2>conftest.er1
49792 ac_status=$?
49793 grep -v '^ *+' conftest.er1 >conftest.err
49794 rm -f conftest.er1
49795 cat conftest.err >&5
49796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797 (exit $ac_status); } &&
49798 { ac_try='test -z "$ac_cxx_werror_flag"
49799 || test ! -s conftest.err'
49800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49801 (eval $ac_try) 2>&5
49802 ac_status=$?
49803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49804 (exit $ac_status); }; } &&
49805 { ac_try='test -s conftest.$ac_objext'
49806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49807 (eval $ac_try) 2>&5
49808 ac_status=$?
49809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810 (exit $ac_status); }; }; then
49811 glibcxx_cv_func_fmodf_use=yes
49812 else
49813 echo "$as_me: failed program was:" >&5
49814 sed 's/^/| /' conftest.$ac_ext >&5
49816 glibcxx_cv_func_fmodf_use=no
49818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49819 ac_ext=c
49820 ac_cpp='$CPP $CPPFLAGS'
49821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49830 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49832 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49834 for ac_func in fmodf
49836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49837 echo "$as_me:$LINENO: checking for $ac_func" >&5
49838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49839 if eval "test \"\${$as_ac_var+set}\" = set"; then
49840 echo $ECHO_N "(cached) $ECHO_C" >&6
49841 else
49842 if test x$gcc_no_link = xyes; then
49843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49845 { (exit 1); exit 1; }; }
49847 cat >conftest.$ac_ext <<_ACEOF
49848 /* confdefs.h. */
49849 _ACEOF
49850 cat confdefs.h >>conftest.$ac_ext
49851 cat >>conftest.$ac_ext <<_ACEOF
49852 /* end confdefs.h. */
49853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49855 #define $ac_func innocuous_$ac_func
49857 /* System header to define __stub macros and hopefully few prototypes,
49858 which can conflict with char $ac_func (); below.
49859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49860 <limits.h> exists even on freestanding compilers. */
49862 #ifdef __STDC__
49863 # include <limits.h>
49864 #else
49865 # include <assert.h>
49866 #endif
49868 #undef $ac_func
49870 /* Override any gcc2 internal prototype to avoid an error. */
49871 #ifdef __cplusplus
49872 extern "C"
49874 #endif
49875 /* We use char because int might match the return type of a gcc2
49876 builtin and then its argument prototype would still apply. */
49877 char $ac_func ();
49878 /* The GNU C library defines this for functions which it implements
49879 to always fail with ENOSYS. Some functions are actually named
49880 something starting with __ and the normal name is an alias. */
49881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49882 choke me
49883 #else
49884 char (*f) () = $ac_func;
49885 #endif
49886 #ifdef __cplusplus
49888 #endif
49891 main ()
49893 return f != $ac_func;
49895 return 0;
49897 _ACEOF
49898 rm -f conftest.$ac_objext conftest$ac_exeext
49899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49900 (eval $ac_link) 2>conftest.er1
49901 ac_status=$?
49902 grep -v '^ *+' conftest.er1 >conftest.err
49903 rm -f conftest.er1
49904 cat conftest.err >&5
49905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906 (exit $ac_status); } &&
49907 { ac_try='test -z "$ac_c_werror_flag"
49908 || test ! -s conftest.err'
49909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49910 (eval $ac_try) 2>&5
49911 ac_status=$?
49912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49913 (exit $ac_status); }; } &&
49914 { ac_try='test -s conftest$ac_exeext'
49915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49916 (eval $ac_try) 2>&5
49917 ac_status=$?
49918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49919 (exit $ac_status); }; }; then
49920 eval "$as_ac_var=yes"
49921 else
49922 echo "$as_me: failed program was:" >&5
49923 sed 's/^/| /' conftest.$ac_ext >&5
49925 eval "$as_ac_var=no"
49927 rm -f conftest.err conftest.$ac_objext \
49928 conftest$ac_exeext conftest.$ac_ext
49930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49932 if test `eval echo '${'$as_ac_var'}'` = yes; then
49933 cat >>confdefs.h <<_ACEOF
49934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49935 _ACEOF
49938 done
49940 else
49942 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49943 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49944 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49945 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49946 echo $ECHO_N "(cached) $ECHO_C" >&6
49947 else
49951 ac_ext=cc
49952 ac_cpp='$CXXCPP $CPPFLAGS'
49953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49957 cat >conftest.$ac_ext <<_ACEOF
49958 /* confdefs.h. */
49959 _ACEOF
49960 cat confdefs.h >>conftest.$ac_ext
49961 cat >>conftest.$ac_ext <<_ACEOF
49962 /* end confdefs.h. */
49963 #include <math.h>
49965 main ()
49967 _fmodf(0, 0);
49969 return 0;
49971 _ACEOF
49972 rm -f conftest.$ac_objext
49973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49974 (eval $ac_compile) 2>conftest.er1
49975 ac_status=$?
49976 grep -v '^ *+' conftest.er1 >conftest.err
49977 rm -f conftest.er1
49978 cat conftest.err >&5
49979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49980 (exit $ac_status); } &&
49981 { ac_try='test -z "$ac_cxx_werror_flag"
49982 || test ! -s conftest.err'
49983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49984 (eval $ac_try) 2>&5
49985 ac_status=$?
49986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49987 (exit $ac_status); }; } &&
49988 { ac_try='test -s conftest.$ac_objext'
49989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49990 (eval $ac_try) 2>&5
49991 ac_status=$?
49992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49993 (exit $ac_status); }; }; then
49994 glibcxx_cv_func__fmodf_use=yes
49995 else
49996 echo "$as_me: failed program was:" >&5
49997 sed 's/^/| /' conftest.$ac_ext >&5
49999 glibcxx_cv_func__fmodf_use=no
50001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50002 ac_ext=c
50003 ac_cpp='$CPP $CPPFLAGS'
50004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
50013 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
50015 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50017 for ac_func in _fmodf
50019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50020 echo "$as_me:$LINENO: checking for $ac_func" >&5
50021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50022 if eval "test \"\${$as_ac_var+set}\" = set"; then
50023 echo $ECHO_N "(cached) $ECHO_C" >&6
50024 else
50025 if test x$gcc_no_link = xyes; then
50026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50028 { (exit 1); exit 1; }; }
50030 cat >conftest.$ac_ext <<_ACEOF
50031 /* confdefs.h. */
50032 _ACEOF
50033 cat confdefs.h >>conftest.$ac_ext
50034 cat >>conftest.$ac_ext <<_ACEOF
50035 /* end confdefs.h. */
50036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50038 #define $ac_func innocuous_$ac_func
50040 /* System header to define __stub macros and hopefully few prototypes,
50041 which can conflict with char $ac_func (); below.
50042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50043 <limits.h> exists even on freestanding compilers. */
50045 #ifdef __STDC__
50046 # include <limits.h>
50047 #else
50048 # include <assert.h>
50049 #endif
50051 #undef $ac_func
50053 /* Override any gcc2 internal prototype to avoid an error. */
50054 #ifdef __cplusplus
50055 extern "C"
50057 #endif
50058 /* We use char because int might match the return type of a gcc2
50059 builtin and then its argument prototype would still apply. */
50060 char $ac_func ();
50061 /* The GNU C library defines this for functions which it implements
50062 to always fail with ENOSYS. Some functions are actually named
50063 something starting with __ and the normal name is an alias. */
50064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50065 choke me
50066 #else
50067 char (*f) () = $ac_func;
50068 #endif
50069 #ifdef __cplusplus
50071 #endif
50074 main ()
50076 return f != $ac_func;
50078 return 0;
50080 _ACEOF
50081 rm -f conftest.$ac_objext conftest$ac_exeext
50082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50083 (eval $ac_link) 2>conftest.er1
50084 ac_status=$?
50085 grep -v '^ *+' conftest.er1 >conftest.err
50086 rm -f conftest.er1
50087 cat conftest.err >&5
50088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089 (exit $ac_status); } &&
50090 { ac_try='test -z "$ac_c_werror_flag"
50091 || test ! -s conftest.err'
50092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50093 (eval $ac_try) 2>&5
50094 ac_status=$?
50095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096 (exit $ac_status); }; } &&
50097 { ac_try='test -s conftest$ac_exeext'
50098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099 (eval $ac_try) 2>&5
50100 ac_status=$?
50101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102 (exit $ac_status); }; }; then
50103 eval "$as_ac_var=yes"
50104 else
50105 echo "$as_me: failed program was:" >&5
50106 sed 's/^/| /' conftest.$ac_ext >&5
50108 eval "$as_ac_var=no"
50110 rm -f conftest.err conftest.$ac_objext \
50111 conftest$ac_exeext conftest.$ac_ext
50113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50115 if test `eval echo '${'$as_ac_var'}'` = yes; then
50116 cat >>confdefs.h <<_ACEOF
50117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50118 _ACEOF
50121 done
50131 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
50132 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
50133 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50134 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
50135 echo $ECHO_N "(cached) $ECHO_C" >&6
50136 else
50140 ac_ext=cc
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50146 cat >conftest.$ac_ext <<_ACEOF
50147 /* confdefs.h. */
50148 _ACEOF
50149 cat confdefs.h >>conftest.$ac_ext
50150 cat >>conftest.$ac_ext <<_ACEOF
50151 /* end confdefs.h. */
50152 #include <math.h>
50154 main ()
50156 frexpf(0, 0);
50158 return 0;
50160 _ACEOF
50161 rm -f conftest.$ac_objext
50162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50163 (eval $ac_compile) 2>conftest.er1
50164 ac_status=$?
50165 grep -v '^ *+' conftest.er1 >conftest.err
50166 rm -f conftest.er1
50167 cat conftest.err >&5
50168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50169 (exit $ac_status); } &&
50170 { ac_try='test -z "$ac_cxx_werror_flag"
50171 || test ! -s conftest.err'
50172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50173 (eval $ac_try) 2>&5
50174 ac_status=$?
50175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50176 (exit $ac_status); }; } &&
50177 { ac_try='test -s conftest.$ac_objext'
50178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50179 (eval $ac_try) 2>&5
50180 ac_status=$?
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); }; }; then
50183 glibcxx_cv_func_frexpf_use=yes
50184 else
50185 echo "$as_me: failed program was:" >&5
50186 sed 's/^/| /' conftest.$ac_ext >&5
50188 glibcxx_cv_func_frexpf_use=no
50190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50191 ac_ext=c
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
50202 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
50204 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50206 for ac_func in frexpf
50208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50209 echo "$as_me:$LINENO: checking for $ac_func" >&5
50210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50211 if eval "test \"\${$as_ac_var+set}\" = set"; then
50212 echo $ECHO_N "(cached) $ECHO_C" >&6
50213 else
50214 if test x$gcc_no_link = xyes; then
50215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50217 { (exit 1); exit 1; }; }
50219 cat >conftest.$ac_ext <<_ACEOF
50220 /* confdefs.h. */
50221 _ACEOF
50222 cat confdefs.h >>conftest.$ac_ext
50223 cat >>conftest.$ac_ext <<_ACEOF
50224 /* end confdefs.h. */
50225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50227 #define $ac_func innocuous_$ac_func
50229 /* System header to define __stub macros and hopefully few prototypes,
50230 which can conflict with char $ac_func (); below.
50231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50232 <limits.h> exists even on freestanding compilers. */
50234 #ifdef __STDC__
50235 # include <limits.h>
50236 #else
50237 # include <assert.h>
50238 #endif
50240 #undef $ac_func
50242 /* Override any gcc2 internal prototype to avoid an error. */
50243 #ifdef __cplusplus
50244 extern "C"
50246 #endif
50247 /* We use char because int might match the return type of a gcc2
50248 builtin and then its argument prototype would still apply. */
50249 char $ac_func ();
50250 /* The GNU C library defines this for functions which it implements
50251 to always fail with ENOSYS. Some functions are actually named
50252 something starting with __ and the normal name is an alias. */
50253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50254 choke me
50255 #else
50256 char (*f) () = $ac_func;
50257 #endif
50258 #ifdef __cplusplus
50260 #endif
50263 main ()
50265 return f != $ac_func;
50267 return 0;
50269 _ACEOF
50270 rm -f conftest.$ac_objext conftest$ac_exeext
50271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50272 (eval $ac_link) 2>conftest.er1
50273 ac_status=$?
50274 grep -v '^ *+' conftest.er1 >conftest.err
50275 rm -f conftest.er1
50276 cat conftest.err >&5
50277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50278 (exit $ac_status); } &&
50279 { ac_try='test -z "$ac_c_werror_flag"
50280 || test ! -s conftest.err'
50281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50282 (eval $ac_try) 2>&5
50283 ac_status=$?
50284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50285 (exit $ac_status); }; } &&
50286 { ac_try='test -s conftest$ac_exeext'
50287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288 (eval $ac_try) 2>&5
50289 ac_status=$?
50290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291 (exit $ac_status); }; }; then
50292 eval "$as_ac_var=yes"
50293 else
50294 echo "$as_me: failed program was:" >&5
50295 sed 's/^/| /' conftest.$ac_ext >&5
50297 eval "$as_ac_var=no"
50299 rm -f conftest.err conftest.$ac_objext \
50300 conftest$ac_exeext conftest.$ac_ext
50302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50304 if test `eval echo '${'$as_ac_var'}'` = yes; then
50305 cat >>confdefs.h <<_ACEOF
50306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50307 _ACEOF
50310 done
50312 else
50314 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
50315 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
50316 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50317 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
50318 echo $ECHO_N "(cached) $ECHO_C" >&6
50319 else
50323 ac_ext=cc
50324 ac_cpp='$CXXCPP $CPPFLAGS'
50325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50329 cat >conftest.$ac_ext <<_ACEOF
50330 /* confdefs.h. */
50331 _ACEOF
50332 cat confdefs.h >>conftest.$ac_ext
50333 cat >>conftest.$ac_ext <<_ACEOF
50334 /* end confdefs.h. */
50335 #include <math.h>
50337 main ()
50339 _frexpf(0, 0);
50341 return 0;
50343 _ACEOF
50344 rm -f conftest.$ac_objext
50345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50346 (eval $ac_compile) 2>conftest.er1
50347 ac_status=$?
50348 grep -v '^ *+' conftest.er1 >conftest.err
50349 rm -f conftest.er1
50350 cat conftest.err >&5
50351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50352 (exit $ac_status); } &&
50353 { ac_try='test -z "$ac_cxx_werror_flag"
50354 || test ! -s conftest.err'
50355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50356 (eval $ac_try) 2>&5
50357 ac_status=$?
50358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50359 (exit $ac_status); }; } &&
50360 { ac_try='test -s conftest.$ac_objext'
50361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50362 (eval $ac_try) 2>&5
50363 ac_status=$?
50364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50365 (exit $ac_status); }; }; then
50366 glibcxx_cv_func__frexpf_use=yes
50367 else
50368 echo "$as_me: failed program was:" >&5
50369 sed 's/^/| /' conftest.$ac_ext >&5
50371 glibcxx_cv_func__frexpf_use=no
50373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50374 ac_ext=c
50375 ac_cpp='$CPP $CPPFLAGS'
50376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
50385 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
50387 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50389 for ac_func in _frexpf
50391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50392 echo "$as_me:$LINENO: checking for $ac_func" >&5
50393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50394 if eval "test \"\${$as_ac_var+set}\" = set"; then
50395 echo $ECHO_N "(cached) $ECHO_C" >&6
50396 else
50397 if test x$gcc_no_link = xyes; then
50398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50400 { (exit 1); exit 1; }; }
50402 cat >conftest.$ac_ext <<_ACEOF
50403 /* confdefs.h. */
50404 _ACEOF
50405 cat confdefs.h >>conftest.$ac_ext
50406 cat >>conftest.$ac_ext <<_ACEOF
50407 /* end confdefs.h. */
50408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50410 #define $ac_func innocuous_$ac_func
50412 /* System header to define __stub macros and hopefully few prototypes,
50413 which can conflict with char $ac_func (); below.
50414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50415 <limits.h> exists even on freestanding compilers. */
50417 #ifdef __STDC__
50418 # include <limits.h>
50419 #else
50420 # include <assert.h>
50421 #endif
50423 #undef $ac_func
50425 /* Override any gcc2 internal prototype to avoid an error. */
50426 #ifdef __cplusplus
50427 extern "C"
50429 #endif
50430 /* We use char because int might match the return type of a gcc2
50431 builtin and then its argument prototype would still apply. */
50432 char $ac_func ();
50433 /* The GNU C library defines this for functions which it implements
50434 to always fail with ENOSYS. Some functions are actually named
50435 something starting with __ and the normal name is an alias. */
50436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50437 choke me
50438 #else
50439 char (*f) () = $ac_func;
50440 #endif
50441 #ifdef __cplusplus
50443 #endif
50446 main ()
50448 return f != $ac_func;
50450 return 0;
50452 _ACEOF
50453 rm -f conftest.$ac_objext conftest$ac_exeext
50454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50455 (eval $ac_link) 2>conftest.er1
50456 ac_status=$?
50457 grep -v '^ *+' conftest.er1 >conftest.err
50458 rm -f conftest.er1
50459 cat conftest.err >&5
50460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50461 (exit $ac_status); } &&
50462 { ac_try='test -z "$ac_c_werror_flag"
50463 || test ! -s conftest.err'
50464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50465 (eval $ac_try) 2>&5
50466 ac_status=$?
50467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50468 (exit $ac_status); }; } &&
50469 { ac_try='test -s conftest$ac_exeext'
50470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50471 (eval $ac_try) 2>&5
50472 ac_status=$?
50473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50474 (exit $ac_status); }; }; then
50475 eval "$as_ac_var=yes"
50476 else
50477 echo "$as_me: failed program was:" >&5
50478 sed 's/^/| /' conftest.$ac_ext >&5
50480 eval "$as_ac_var=no"
50482 rm -f conftest.err conftest.$ac_objext \
50483 conftest$ac_exeext conftest.$ac_ext
50485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50487 if test `eval echo '${'$as_ac_var'}'` = yes; then
50488 cat >>confdefs.h <<_ACEOF
50489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50490 _ACEOF
50493 done
50503 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
50504 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
50505 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50506 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
50507 echo $ECHO_N "(cached) $ECHO_C" >&6
50508 else
50512 ac_ext=cc
50513 ac_cpp='$CXXCPP $CPPFLAGS'
50514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50518 cat >conftest.$ac_ext <<_ACEOF
50519 /* confdefs.h. */
50520 _ACEOF
50521 cat confdefs.h >>conftest.$ac_ext
50522 cat >>conftest.$ac_ext <<_ACEOF
50523 /* end confdefs.h. */
50524 #include <math.h>
50526 main ()
50528 hypotf(0, 0);
50530 return 0;
50532 _ACEOF
50533 rm -f conftest.$ac_objext
50534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50535 (eval $ac_compile) 2>conftest.er1
50536 ac_status=$?
50537 grep -v '^ *+' conftest.er1 >conftest.err
50538 rm -f conftest.er1
50539 cat conftest.err >&5
50540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50541 (exit $ac_status); } &&
50542 { ac_try='test -z "$ac_cxx_werror_flag"
50543 || test ! -s conftest.err'
50544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50545 (eval $ac_try) 2>&5
50546 ac_status=$?
50547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50548 (exit $ac_status); }; } &&
50549 { ac_try='test -s conftest.$ac_objext'
50550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50551 (eval $ac_try) 2>&5
50552 ac_status=$?
50553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50554 (exit $ac_status); }; }; then
50555 glibcxx_cv_func_hypotf_use=yes
50556 else
50557 echo "$as_me: failed program was:" >&5
50558 sed 's/^/| /' conftest.$ac_ext >&5
50560 glibcxx_cv_func_hypotf_use=no
50562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50563 ac_ext=c
50564 ac_cpp='$CPP $CPPFLAGS'
50565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50574 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50576 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50578 for ac_func in hypotf
50580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50581 echo "$as_me:$LINENO: checking for $ac_func" >&5
50582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50583 if eval "test \"\${$as_ac_var+set}\" = set"; then
50584 echo $ECHO_N "(cached) $ECHO_C" >&6
50585 else
50586 if test x$gcc_no_link = xyes; then
50587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50589 { (exit 1); exit 1; }; }
50591 cat >conftest.$ac_ext <<_ACEOF
50592 /* confdefs.h. */
50593 _ACEOF
50594 cat confdefs.h >>conftest.$ac_ext
50595 cat >>conftest.$ac_ext <<_ACEOF
50596 /* end confdefs.h. */
50597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50599 #define $ac_func innocuous_$ac_func
50601 /* System header to define __stub macros and hopefully few prototypes,
50602 which can conflict with char $ac_func (); below.
50603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50604 <limits.h> exists even on freestanding compilers. */
50606 #ifdef __STDC__
50607 # include <limits.h>
50608 #else
50609 # include <assert.h>
50610 #endif
50612 #undef $ac_func
50614 /* Override any gcc2 internal prototype to avoid an error. */
50615 #ifdef __cplusplus
50616 extern "C"
50618 #endif
50619 /* We use char because int might match the return type of a gcc2
50620 builtin and then its argument prototype would still apply. */
50621 char $ac_func ();
50622 /* The GNU C library defines this for functions which it implements
50623 to always fail with ENOSYS. Some functions are actually named
50624 something starting with __ and the normal name is an alias. */
50625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50626 choke me
50627 #else
50628 char (*f) () = $ac_func;
50629 #endif
50630 #ifdef __cplusplus
50632 #endif
50635 main ()
50637 return f != $ac_func;
50639 return 0;
50641 _ACEOF
50642 rm -f conftest.$ac_objext conftest$ac_exeext
50643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50644 (eval $ac_link) 2>conftest.er1
50645 ac_status=$?
50646 grep -v '^ *+' conftest.er1 >conftest.err
50647 rm -f conftest.er1
50648 cat conftest.err >&5
50649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50650 (exit $ac_status); } &&
50651 { ac_try='test -z "$ac_c_werror_flag"
50652 || test ! -s conftest.err'
50653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50654 (eval $ac_try) 2>&5
50655 ac_status=$?
50656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50657 (exit $ac_status); }; } &&
50658 { ac_try='test -s conftest$ac_exeext'
50659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50660 (eval $ac_try) 2>&5
50661 ac_status=$?
50662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50663 (exit $ac_status); }; }; then
50664 eval "$as_ac_var=yes"
50665 else
50666 echo "$as_me: failed program was:" >&5
50667 sed 's/^/| /' conftest.$ac_ext >&5
50669 eval "$as_ac_var=no"
50671 rm -f conftest.err conftest.$ac_objext \
50672 conftest$ac_exeext conftest.$ac_ext
50674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50676 if test `eval echo '${'$as_ac_var'}'` = yes; then
50677 cat >>confdefs.h <<_ACEOF
50678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50679 _ACEOF
50682 done
50684 else
50686 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50687 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50688 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50689 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50690 echo $ECHO_N "(cached) $ECHO_C" >&6
50691 else
50695 ac_ext=cc
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701 cat >conftest.$ac_ext <<_ACEOF
50702 /* confdefs.h. */
50703 _ACEOF
50704 cat confdefs.h >>conftest.$ac_ext
50705 cat >>conftest.$ac_ext <<_ACEOF
50706 /* end confdefs.h. */
50707 #include <math.h>
50709 main ()
50711 _hypotf(0, 0);
50713 return 0;
50715 _ACEOF
50716 rm -f conftest.$ac_objext
50717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50718 (eval $ac_compile) 2>conftest.er1
50719 ac_status=$?
50720 grep -v '^ *+' conftest.er1 >conftest.err
50721 rm -f conftest.er1
50722 cat conftest.err >&5
50723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50724 (exit $ac_status); } &&
50725 { ac_try='test -z "$ac_cxx_werror_flag"
50726 || test ! -s conftest.err'
50727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50728 (eval $ac_try) 2>&5
50729 ac_status=$?
50730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731 (exit $ac_status); }; } &&
50732 { ac_try='test -s conftest.$ac_objext'
50733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50734 (eval $ac_try) 2>&5
50735 ac_status=$?
50736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50737 (exit $ac_status); }; }; then
50738 glibcxx_cv_func__hypotf_use=yes
50739 else
50740 echo "$as_me: failed program was:" >&5
50741 sed 's/^/| /' conftest.$ac_ext >&5
50743 glibcxx_cv_func__hypotf_use=no
50745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50746 ac_ext=c
50747 ac_cpp='$CPP $CPPFLAGS'
50748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50757 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50759 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50761 for ac_func in _hypotf
50763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50764 echo "$as_me:$LINENO: checking for $ac_func" >&5
50765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50766 if eval "test \"\${$as_ac_var+set}\" = set"; then
50767 echo $ECHO_N "(cached) $ECHO_C" >&6
50768 else
50769 if test x$gcc_no_link = xyes; then
50770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50772 { (exit 1); exit 1; }; }
50774 cat >conftest.$ac_ext <<_ACEOF
50775 /* confdefs.h. */
50776 _ACEOF
50777 cat confdefs.h >>conftest.$ac_ext
50778 cat >>conftest.$ac_ext <<_ACEOF
50779 /* end confdefs.h. */
50780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50782 #define $ac_func innocuous_$ac_func
50784 /* System header to define __stub macros and hopefully few prototypes,
50785 which can conflict with char $ac_func (); below.
50786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50787 <limits.h> exists even on freestanding compilers. */
50789 #ifdef __STDC__
50790 # include <limits.h>
50791 #else
50792 # include <assert.h>
50793 #endif
50795 #undef $ac_func
50797 /* Override any gcc2 internal prototype to avoid an error. */
50798 #ifdef __cplusplus
50799 extern "C"
50801 #endif
50802 /* We use char because int might match the return type of a gcc2
50803 builtin and then its argument prototype would still apply. */
50804 char $ac_func ();
50805 /* The GNU C library defines this for functions which it implements
50806 to always fail with ENOSYS. Some functions are actually named
50807 something starting with __ and the normal name is an alias. */
50808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50809 choke me
50810 #else
50811 char (*f) () = $ac_func;
50812 #endif
50813 #ifdef __cplusplus
50815 #endif
50818 main ()
50820 return f != $ac_func;
50822 return 0;
50824 _ACEOF
50825 rm -f conftest.$ac_objext conftest$ac_exeext
50826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50827 (eval $ac_link) 2>conftest.er1
50828 ac_status=$?
50829 grep -v '^ *+' conftest.er1 >conftest.err
50830 rm -f conftest.er1
50831 cat conftest.err >&5
50832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50833 (exit $ac_status); } &&
50834 { ac_try='test -z "$ac_c_werror_flag"
50835 || test ! -s conftest.err'
50836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50837 (eval $ac_try) 2>&5
50838 ac_status=$?
50839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50840 (exit $ac_status); }; } &&
50841 { ac_try='test -s conftest$ac_exeext'
50842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50843 (eval $ac_try) 2>&5
50844 ac_status=$?
50845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50846 (exit $ac_status); }; }; then
50847 eval "$as_ac_var=yes"
50848 else
50849 echo "$as_me: failed program was:" >&5
50850 sed 's/^/| /' conftest.$ac_ext >&5
50852 eval "$as_ac_var=no"
50854 rm -f conftest.err conftest.$ac_objext \
50855 conftest$ac_exeext conftest.$ac_ext
50857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50859 if test `eval echo '${'$as_ac_var'}'` = yes; then
50860 cat >>confdefs.h <<_ACEOF
50861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50862 _ACEOF
50865 done
50875 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50876 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50877 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50878 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50879 echo $ECHO_N "(cached) $ECHO_C" >&6
50880 else
50884 ac_ext=cc
50885 ac_cpp='$CXXCPP $CPPFLAGS'
50886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50890 cat >conftest.$ac_ext <<_ACEOF
50891 /* confdefs.h. */
50892 _ACEOF
50893 cat confdefs.h >>conftest.$ac_ext
50894 cat >>conftest.$ac_ext <<_ACEOF
50895 /* end confdefs.h. */
50896 #include <math.h>
50898 main ()
50900 ldexpf(0, 0);
50902 return 0;
50904 _ACEOF
50905 rm -f conftest.$ac_objext
50906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50907 (eval $ac_compile) 2>conftest.er1
50908 ac_status=$?
50909 grep -v '^ *+' conftest.er1 >conftest.err
50910 rm -f conftest.er1
50911 cat conftest.err >&5
50912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50913 (exit $ac_status); } &&
50914 { ac_try='test -z "$ac_cxx_werror_flag"
50915 || test ! -s conftest.err'
50916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50917 (eval $ac_try) 2>&5
50918 ac_status=$?
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); }; } &&
50921 { ac_try='test -s conftest.$ac_objext'
50922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50923 (eval $ac_try) 2>&5
50924 ac_status=$?
50925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50926 (exit $ac_status); }; }; then
50927 glibcxx_cv_func_ldexpf_use=yes
50928 else
50929 echo "$as_me: failed program was:" >&5
50930 sed 's/^/| /' conftest.$ac_ext >&5
50932 glibcxx_cv_func_ldexpf_use=no
50934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50935 ac_ext=c
50936 ac_cpp='$CPP $CPPFLAGS'
50937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50946 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50948 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50950 for ac_func in ldexpf
50952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50953 echo "$as_me:$LINENO: checking for $ac_func" >&5
50954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50955 if eval "test \"\${$as_ac_var+set}\" = set"; then
50956 echo $ECHO_N "(cached) $ECHO_C" >&6
50957 else
50958 if test x$gcc_no_link = xyes; then
50959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50961 { (exit 1); exit 1; }; }
50963 cat >conftest.$ac_ext <<_ACEOF
50964 /* confdefs.h. */
50965 _ACEOF
50966 cat confdefs.h >>conftest.$ac_ext
50967 cat >>conftest.$ac_ext <<_ACEOF
50968 /* end confdefs.h. */
50969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50971 #define $ac_func innocuous_$ac_func
50973 /* System header to define __stub macros and hopefully few prototypes,
50974 which can conflict with char $ac_func (); below.
50975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50976 <limits.h> exists even on freestanding compilers. */
50978 #ifdef __STDC__
50979 # include <limits.h>
50980 #else
50981 # include <assert.h>
50982 #endif
50984 #undef $ac_func
50986 /* Override any gcc2 internal prototype to avoid an error. */
50987 #ifdef __cplusplus
50988 extern "C"
50990 #endif
50991 /* We use char because int might match the return type of a gcc2
50992 builtin and then its argument prototype would still apply. */
50993 char $ac_func ();
50994 /* The GNU C library defines this for functions which it implements
50995 to always fail with ENOSYS. Some functions are actually named
50996 something starting with __ and the normal name is an alias. */
50997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50998 choke me
50999 #else
51000 char (*f) () = $ac_func;
51001 #endif
51002 #ifdef __cplusplus
51004 #endif
51007 main ()
51009 return f != $ac_func;
51011 return 0;
51013 _ACEOF
51014 rm -f conftest.$ac_objext conftest$ac_exeext
51015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51016 (eval $ac_link) 2>conftest.er1
51017 ac_status=$?
51018 grep -v '^ *+' conftest.er1 >conftest.err
51019 rm -f conftest.er1
51020 cat conftest.err >&5
51021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51022 (exit $ac_status); } &&
51023 { ac_try='test -z "$ac_c_werror_flag"
51024 || test ! -s conftest.err'
51025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51026 (eval $ac_try) 2>&5
51027 ac_status=$?
51028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51029 (exit $ac_status); }; } &&
51030 { ac_try='test -s conftest$ac_exeext'
51031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51032 (eval $ac_try) 2>&5
51033 ac_status=$?
51034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51035 (exit $ac_status); }; }; then
51036 eval "$as_ac_var=yes"
51037 else
51038 echo "$as_me: failed program was:" >&5
51039 sed 's/^/| /' conftest.$ac_ext >&5
51041 eval "$as_ac_var=no"
51043 rm -f conftest.err conftest.$ac_objext \
51044 conftest$ac_exeext conftest.$ac_ext
51046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51048 if test `eval echo '${'$as_ac_var'}'` = yes; then
51049 cat >>confdefs.h <<_ACEOF
51050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51051 _ACEOF
51054 done
51056 else
51058 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
51059 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
51060 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
51061 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
51062 echo $ECHO_N "(cached) $ECHO_C" >&6
51063 else
51067 ac_ext=cc
51068 ac_cpp='$CXXCPP $CPPFLAGS'
51069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51073 cat >conftest.$ac_ext <<_ACEOF
51074 /* confdefs.h. */
51075 _ACEOF
51076 cat confdefs.h >>conftest.$ac_ext
51077 cat >>conftest.$ac_ext <<_ACEOF
51078 /* end confdefs.h. */
51079 #include <math.h>
51081 main ()
51083 _ldexpf(0, 0);
51085 return 0;
51087 _ACEOF
51088 rm -f conftest.$ac_objext
51089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51090 (eval $ac_compile) 2>conftest.er1
51091 ac_status=$?
51092 grep -v '^ *+' conftest.er1 >conftest.err
51093 rm -f conftest.er1
51094 cat conftest.err >&5
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); } &&
51097 { ac_try='test -z "$ac_cxx_werror_flag"
51098 || test ! -s conftest.err'
51099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51100 (eval $ac_try) 2>&5
51101 ac_status=$?
51102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51103 (exit $ac_status); }; } &&
51104 { ac_try='test -s conftest.$ac_objext'
51105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51106 (eval $ac_try) 2>&5
51107 ac_status=$?
51108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51109 (exit $ac_status); }; }; then
51110 glibcxx_cv_func__ldexpf_use=yes
51111 else
51112 echo "$as_me: failed program was:" >&5
51113 sed 's/^/| /' conftest.$ac_ext >&5
51115 glibcxx_cv_func__ldexpf_use=no
51117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51118 ac_ext=c
51119 ac_cpp='$CPP $CPPFLAGS'
51120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
51129 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
51131 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
51133 for ac_func in _ldexpf
51135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51136 echo "$as_me:$LINENO: checking for $ac_func" >&5
51137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51138 if eval "test \"\${$as_ac_var+set}\" = set"; then
51139 echo $ECHO_N "(cached) $ECHO_C" >&6
51140 else
51141 if test x$gcc_no_link = xyes; then
51142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51144 { (exit 1); exit 1; }; }
51146 cat >conftest.$ac_ext <<_ACEOF
51147 /* confdefs.h. */
51148 _ACEOF
51149 cat confdefs.h >>conftest.$ac_ext
51150 cat >>conftest.$ac_ext <<_ACEOF
51151 /* end confdefs.h. */
51152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51154 #define $ac_func innocuous_$ac_func
51156 /* System header to define __stub macros and hopefully few prototypes,
51157 which can conflict with char $ac_func (); below.
51158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51159 <limits.h> exists even on freestanding compilers. */
51161 #ifdef __STDC__
51162 # include <limits.h>
51163 #else
51164 # include <assert.h>
51165 #endif
51167 #undef $ac_func
51169 /* Override any gcc2 internal prototype to avoid an error. */
51170 #ifdef __cplusplus
51171 extern "C"
51173 #endif
51174 /* We use char because int might match the return type of a gcc2
51175 builtin and then its argument prototype would still apply. */
51176 char $ac_func ();
51177 /* The GNU C library defines this for functions which it implements
51178 to always fail with ENOSYS. Some functions are actually named
51179 something starting with __ and the normal name is an alias. */
51180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51181 choke me
51182 #else
51183 char (*f) () = $ac_func;
51184 #endif
51185 #ifdef __cplusplus
51187 #endif
51190 main ()
51192 return f != $ac_func;
51194 return 0;
51196 _ACEOF
51197 rm -f conftest.$ac_objext conftest$ac_exeext
51198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51199 (eval $ac_link) 2>conftest.er1
51200 ac_status=$?
51201 grep -v '^ *+' conftest.er1 >conftest.err
51202 rm -f conftest.er1
51203 cat conftest.err >&5
51204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51205 (exit $ac_status); } &&
51206 { ac_try='test -z "$ac_c_werror_flag"
51207 || test ! -s conftest.err'
51208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51209 (eval $ac_try) 2>&5
51210 ac_status=$?
51211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51212 (exit $ac_status); }; } &&
51213 { ac_try='test -s conftest$ac_exeext'
51214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51215 (eval $ac_try) 2>&5
51216 ac_status=$?
51217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51218 (exit $ac_status); }; }; then
51219 eval "$as_ac_var=yes"
51220 else
51221 echo "$as_me: failed program was:" >&5
51222 sed 's/^/| /' conftest.$ac_ext >&5
51224 eval "$as_ac_var=no"
51226 rm -f conftest.err conftest.$ac_objext \
51227 conftest$ac_exeext conftest.$ac_ext
51229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51231 if test `eval echo '${'$as_ac_var'}'` = yes; then
51232 cat >>confdefs.h <<_ACEOF
51233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51234 _ACEOF
51237 done
51247 echo "$as_me:$LINENO: checking for logf declaration" >&5
51248 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
51249 if test x${glibcxx_cv_func_logf_use+set} != xset; then
51250 if test "${glibcxx_cv_func_logf_use+set}" = set; then
51251 echo $ECHO_N "(cached) $ECHO_C" >&6
51252 else
51256 ac_ext=cc
51257 ac_cpp='$CXXCPP $CPPFLAGS'
51258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51262 cat >conftest.$ac_ext <<_ACEOF
51263 /* confdefs.h. */
51264 _ACEOF
51265 cat confdefs.h >>conftest.$ac_ext
51266 cat >>conftest.$ac_ext <<_ACEOF
51267 /* end confdefs.h. */
51268 #include <math.h>
51269 #ifdef HAVE_IEEEFP_H
51270 #include <ieeefp.h>
51271 #endif
51274 main ()
51276 logf(0);
51278 return 0;
51280 _ACEOF
51281 rm -f conftest.$ac_objext
51282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51283 (eval $ac_compile) 2>conftest.er1
51284 ac_status=$?
51285 grep -v '^ *+' conftest.er1 >conftest.err
51286 rm -f conftest.er1
51287 cat conftest.err >&5
51288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51289 (exit $ac_status); } &&
51290 { ac_try='test -z "$ac_cxx_werror_flag"
51291 || test ! -s conftest.err'
51292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51293 (eval $ac_try) 2>&5
51294 ac_status=$?
51295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51296 (exit $ac_status); }; } &&
51297 { ac_try='test -s conftest.$ac_objext'
51298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51299 (eval $ac_try) 2>&5
51300 ac_status=$?
51301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51302 (exit $ac_status); }; }; then
51303 glibcxx_cv_func_logf_use=yes
51304 else
51305 echo "$as_me: failed program was:" >&5
51306 sed 's/^/| /' conftest.$ac_ext >&5
51308 glibcxx_cv_func_logf_use=no
51310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51311 ac_ext=c
51312 ac_cpp='$CPP $CPPFLAGS'
51313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
51322 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
51324 if test x$glibcxx_cv_func_logf_use = x"yes"; then
51326 for ac_func in logf
51328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51329 echo "$as_me:$LINENO: checking for $ac_func" >&5
51330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51331 if eval "test \"\${$as_ac_var+set}\" = set"; then
51332 echo $ECHO_N "(cached) $ECHO_C" >&6
51333 else
51334 if test x$gcc_no_link = xyes; then
51335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51337 { (exit 1); exit 1; }; }
51339 cat >conftest.$ac_ext <<_ACEOF
51340 /* confdefs.h. */
51341 _ACEOF
51342 cat confdefs.h >>conftest.$ac_ext
51343 cat >>conftest.$ac_ext <<_ACEOF
51344 /* end confdefs.h. */
51345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51347 #define $ac_func innocuous_$ac_func
51349 /* System header to define __stub macros and hopefully few prototypes,
51350 which can conflict with char $ac_func (); below.
51351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51352 <limits.h> exists even on freestanding compilers. */
51354 #ifdef __STDC__
51355 # include <limits.h>
51356 #else
51357 # include <assert.h>
51358 #endif
51360 #undef $ac_func
51362 /* Override any gcc2 internal prototype to avoid an error. */
51363 #ifdef __cplusplus
51364 extern "C"
51366 #endif
51367 /* We use char because int might match the return type of a gcc2
51368 builtin and then its argument prototype would still apply. */
51369 char $ac_func ();
51370 /* The GNU C library defines this for functions which it implements
51371 to always fail with ENOSYS. Some functions are actually named
51372 something starting with __ and the normal name is an alias. */
51373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51374 choke me
51375 #else
51376 char (*f) () = $ac_func;
51377 #endif
51378 #ifdef __cplusplus
51380 #endif
51383 main ()
51385 return f != $ac_func;
51387 return 0;
51389 _ACEOF
51390 rm -f conftest.$ac_objext conftest$ac_exeext
51391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51392 (eval $ac_link) 2>conftest.er1
51393 ac_status=$?
51394 grep -v '^ *+' conftest.er1 >conftest.err
51395 rm -f conftest.er1
51396 cat conftest.err >&5
51397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51398 (exit $ac_status); } &&
51399 { ac_try='test -z "$ac_c_werror_flag"
51400 || test ! -s conftest.err'
51401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51402 (eval $ac_try) 2>&5
51403 ac_status=$?
51404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51405 (exit $ac_status); }; } &&
51406 { ac_try='test -s conftest$ac_exeext'
51407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51408 (eval $ac_try) 2>&5
51409 ac_status=$?
51410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411 (exit $ac_status); }; }; then
51412 eval "$as_ac_var=yes"
51413 else
51414 echo "$as_me: failed program was:" >&5
51415 sed 's/^/| /' conftest.$ac_ext >&5
51417 eval "$as_ac_var=no"
51419 rm -f conftest.err conftest.$ac_objext \
51420 conftest$ac_exeext conftest.$ac_ext
51422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51424 if test `eval echo '${'$as_ac_var'}'` = yes; then
51425 cat >>confdefs.h <<_ACEOF
51426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51427 _ACEOF
51430 done
51432 else
51434 echo "$as_me:$LINENO: checking for _logf declaration" >&5
51435 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
51436 if test x${glibcxx_cv_func__logf_use+set} != xset; then
51437 if test "${glibcxx_cv_func__logf_use+set}" = set; then
51438 echo $ECHO_N "(cached) $ECHO_C" >&6
51439 else
51443 ac_ext=cc
51444 ac_cpp='$CXXCPP $CPPFLAGS'
51445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51449 cat >conftest.$ac_ext <<_ACEOF
51450 /* confdefs.h. */
51451 _ACEOF
51452 cat confdefs.h >>conftest.$ac_ext
51453 cat >>conftest.$ac_ext <<_ACEOF
51454 /* end confdefs.h. */
51455 #include <math.h>
51456 #ifdef HAVE_IEEEFP_H
51457 #include <ieeefp.h>
51458 #endif
51461 main ()
51463 _logf(0);
51465 return 0;
51467 _ACEOF
51468 rm -f conftest.$ac_objext
51469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51470 (eval $ac_compile) 2>conftest.er1
51471 ac_status=$?
51472 grep -v '^ *+' conftest.er1 >conftest.err
51473 rm -f conftest.er1
51474 cat conftest.err >&5
51475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51476 (exit $ac_status); } &&
51477 { ac_try='test -z "$ac_cxx_werror_flag"
51478 || test ! -s conftest.err'
51479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51480 (eval $ac_try) 2>&5
51481 ac_status=$?
51482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51483 (exit $ac_status); }; } &&
51484 { ac_try='test -s conftest.$ac_objext'
51485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51486 (eval $ac_try) 2>&5
51487 ac_status=$?
51488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51489 (exit $ac_status); }; }; then
51490 glibcxx_cv_func__logf_use=yes
51491 else
51492 echo "$as_me: failed program was:" >&5
51493 sed 's/^/| /' conftest.$ac_ext >&5
51495 glibcxx_cv_func__logf_use=no
51497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51498 ac_ext=c
51499 ac_cpp='$CPP $CPPFLAGS'
51500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
51509 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
51511 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51513 for ac_func in _logf
51515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51516 echo "$as_me:$LINENO: checking for $ac_func" >&5
51517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51518 if eval "test \"\${$as_ac_var+set}\" = set"; then
51519 echo $ECHO_N "(cached) $ECHO_C" >&6
51520 else
51521 if test x$gcc_no_link = xyes; then
51522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51524 { (exit 1); exit 1; }; }
51526 cat >conftest.$ac_ext <<_ACEOF
51527 /* confdefs.h. */
51528 _ACEOF
51529 cat confdefs.h >>conftest.$ac_ext
51530 cat >>conftest.$ac_ext <<_ACEOF
51531 /* end confdefs.h. */
51532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51534 #define $ac_func innocuous_$ac_func
51536 /* System header to define __stub macros and hopefully few prototypes,
51537 which can conflict with char $ac_func (); below.
51538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51539 <limits.h> exists even on freestanding compilers. */
51541 #ifdef __STDC__
51542 # include <limits.h>
51543 #else
51544 # include <assert.h>
51545 #endif
51547 #undef $ac_func
51549 /* Override any gcc2 internal prototype to avoid an error. */
51550 #ifdef __cplusplus
51551 extern "C"
51553 #endif
51554 /* We use char because int might match the return type of a gcc2
51555 builtin and then its argument prototype would still apply. */
51556 char $ac_func ();
51557 /* The GNU C library defines this for functions which it implements
51558 to always fail with ENOSYS. Some functions are actually named
51559 something starting with __ and the normal name is an alias. */
51560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51561 choke me
51562 #else
51563 char (*f) () = $ac_func;
51564 #endif
51565 #ifdef __cplusplus
51567 #endif
51570 main ()
51572 return f != $ac_func;
51574 return 0;
51576 _ACEOF
51577 rm -f conftest.$ac_objext conftest$ac_exeext
51578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51579 (eval $ac_link) 2>conftest.er1
51580 ac_status=$?
51581 grep -v '^ *+' conftest.er1 >conftest.err
51582 rm -f conftest.er1
51583 cat conftest.err >&5
51584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51585 (exit $ac_status); } &&
51586 { ac_try='test -z "$ac_c_werror_flag"
51587 || test ! -s conftest.err'
51588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51589 (eval $ac_try) 2>&5
51590 ac_status=$?
51591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51592 (exit $ac_status); }; } &&
51593 { ac_try='test -s conftest$ac_exeext'
51594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51595 (eval $ac_try) 2>&5
51596 ac_status=$?
51597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598 (exit $ac_status); }; }; then
51599 eval "$as_ac_var=yes"
51600 else
51601 echo "$as_me: failed program was:" >&5
51602 sed 's/^/| /' conftest.$ac_ext >&5
51604 eval "$as_ac_var=no"
51606 rm -f conftest.err conftest.$ac_objext \
51607 conftest$ac_exeext conftest.$ac_ext
51609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51611 if test `eval echo '${'$as_ac_var'}'` = yes; then
51612 cat >>confdefs.h <<_ACEOF
51613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51614 _ACEOF
51617 done
51627 echo "$as_me:$LINENO: checking for log10f declaration" >&5
51628 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51629 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51630 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51631 echo $ECHO_N "(cached) $ECHO_C" >&6
51632 else
51636 ac_ext=cc
51637 ac_cpp='$CXXCPP $CPPFLAGS'
51638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51642 cat >conftest.$ac_ext <<_ACEOF
51643 /* confdefs.h. */
51644 _ACEOF
51645 cat confdefs.h >>conftest.$ac_ext
51646 cat >>conftest.$ac_ext <<_ACEOF
51647 /* end confdefs.h. */
51648 #include <math.h>
51649 #ifdef HAVE_IEEEFP_H
51650 #include <ieeefp.h>
51651 #endif
51654 main ()
51656 log10f(0);
51658 return 0;
51660 _ACEOF
51661 rm -f conftest.$ac_objext
51662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51663 (eval $ac_compile) 2>conftest.er1
51664 ac_status=$?
51665 grep -v '^ *+' conftest.er1 >conftest.err
51666 rm -f conftest.er1
51667 cat conftest.err >&5
51668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51669 (exit $ac_status); } &&
51670 { ac_try='test -z "$ac_cxx_werror_flag"
51671 || test ! -s conftest.err'
51672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51673 (eval $ac_try) 2>&5
51674 ac_status=$?
51675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51676 (exit $ac_status); }; } &&
51677 { ac_try='test -s conftest.$ac_objext'
51678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51679 (eval $ac_try) 2>&5
51680 ac_status=$?
51681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51682 (exit $ac_status); }; }; then
51683 glibcxx_cv_func_log10f_use=yes
51684 else
51685 echo "$as_me: failed program was:" >&5
51686 sed 's/^/| /' conftest.$ac_ext >&5
51688 glibcxx_cv_func_log10f_use=no
51690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51691 ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51702 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51704 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51706 for ac_func in log10f
51708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51709 echo "$as_me:$LINENO: checking for $ac_func" >&5
51710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51711 if eval "test \"\${$as_ac_var+set}\" = set"; then
51712 echo $ECHO_N "(cached) $ECHO_C" >&6
51713 else
51714 if test x$gcc_no_link = xyes; then
51715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51717 { (exit 1); exit 1; }; }
51719 cat >conftest.$ac_ext <<_ACEOF
51720 /* confdefs.h. */
51721 _ACEOF
51722 cat confdefs.h >>conftest.$ac_ext
51723 cat >>conftest.$ac_ext <<_ACEOF
51724 /* end confdefs.h. */
51725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51727 #define $ac_func innocuous_$ac_func
51729 /* System header to define __stub macros and hopefully few prototypes,
51730 which can conflict with char $ac_func (); below.
51731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51732 <limits.h> exists even on freestanding compilers. */
51734 #ifdef __STDC__
51735 # include <limits.h>
51736 #else
51737 # include <assert.h>
51738 #endif
51740 #undef $ac_func
51742 /* Override any gcc2 internal prototype to avoid an error. */
51743 #ifdef __cplusplus
51744 extern "C"
51746 #endif
51747 /* We use char because int might match the return type of a gcc2
51748 builtin and then its argument prototype would still apply. */
51749 char $ac_func ();
51750 /* The GNU C library defines this for functions which it implements
51751 to always fail with ENOSYS. Some functions are actually named
51752 something starting with __ and the normal name is an alias. */
51753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51754 choke me
51755 #else
51756 char (*f) () = $ac_func;
51757 #endif
51758 #ifdef __cplusplus
51760 #endif
51763 main ()
51765 return f != $ac_func;
51767 return 0;
51769 _ACEOF
51770 rm -f conftest.$ac_objext conftest$ac_exeext
51771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51772 (eval $ac_link) 2>conftest.er1
51773 ac_status=$?
51774 grep -v '^ *+' conftest.er1 >conftest.err
51775 rm -f conftest.er1
51776 cat conftest.err >&5
51777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51778 (exit $ac_status); } &&
51779 { ac_try='test -z "$ac_c_werror_flag"
51780 || test ! -s conftest.err'
51781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51782 (eval $ac_try) 2>&5
51783 ac_status=$?
51784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51785 (exit $ac_status); }; } &&
51786 { ac_try='test -s conftest$ac_exeext'
51787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51788 (eval $ac_try) 2>&5
51789 ac_status=$?
51790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51791 (exit $ac_status); }; }; then
51792 eval "$as_ac_var=yes"
51793 else
51794 echo "$as_me: failed program was:" >&5
51795 sed 's/^/| /' conftest.$ac_ext >&5
51797 eval "$as_ac_var=no"
51799 rm -f conftest.err conftest.$ac_objext \
51800 conftest$ac_exeext conftest.$ac_ext
51802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51804 if test `eval echo '${'$as_ac_var'}'` = yes; then
51805 cat >>confdefs.h <<_ACEOF
51806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51807 _ACEOF
51810 done
51812 else
51814 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51815 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51816 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51817 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51818 echo $ECHO_N "(cached) $ECHO_C" >&6
51819 else
51823 ac_ext=cc
51824 ac_cpp='$CXXCPP $CPPFLAGS'
51825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51829 cat >conftest.$ac_ext <<_ACEOF
51830 /* confdefs.h. */
51831 _ACEOF
51832 cat confdefs.h >>conftest.$ac_ext
51833 cat >>conftest.$ac_ext <<_ACEOF
51834 /* end confdefs.h. */
51835 #include <math.h>
51836 #ifdef HAVE_IEEEFP_H
51837 #include <ieeefp.h>
51838 #endif
51841 main ()
51843 _log10f(0);
51845 return 0;
51847 _ACEOF
51848 rm -f conftest.$ac_objext
51849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51850 (eval $ac_compile) 2>conftest.er1
51851 ac_status=$?
51852 grep -v '^ *+' conftest.er1 >conftest.err
51853 rm -f conftest.er1
51854 cat conftest.err >&5
51855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51856 (exit $ac_status); } &&
51857 { ac_try='test -z "$ac_cxx_werror_flag"
51858 || test ! -s conftest.err'
51859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51860 (eval $ac_try) 2>&5
51861 ac_status=$?
51862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51863 (exit $ac_status); }; } &&
51864 { ac_try='test -s conftest.$ac_objext'
51865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51866 (eval $ac_try) 2>&5
51867 ac_status=$?
51868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51869 (exit $ac_status); }; }; then
51870 glibcxx_cv_func__log10f_use=yes
51871 else
51872 echo "$as_me: failed program was:" >&5
51873 sed 's/^/| /' conftest.$ac_ext >&5
51875 glibcxx_cv_func__log10f_use=no
51877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51878 ac_ext=c
51879 ac_cpp='$CPP $CPPFLAGS'
51880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51889 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51891 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51893 for ac_func in _log10f
51895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51896 echo "$as_me:$LINENO: checking for $ac_func" >&5
51897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51898 if eval "test \"\${$as_ac_var+set}\" = set"; then
51899 echo $ECHO_N "(cached) $ECHO_C" >&6
51900 else
51901 if test x$gcc_no_link = xyes; then
51902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51904 { (exit 1); exit 1; }; }
51906 cat >conftest.$ac_ext <<_ACEOF
51907 /* confdefs.h. */
51908 _ACEOF
51909 cat confdefs.h >>conftest.$ac_ext
51910 cat >>conftest.$ac_ext <<_ACEOF
51911 /* end confdefs.h. */
51912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51914 #define $ac_func innocuous_$ac_func
51916 /* System header to define __stub macros and hopefully few prototypes,
51917 which can conflict with char $ac_func (); below.
51918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51919 <limits.h> exists even on freestanding compilers. */
51921 #ifdef __STDC__
51922 # include <limits.h>
51923 #else
51924 # include <assert.h>
51925 #endif
51927 #undef $ac_func
51929 /* Override any gcc2 internal prototype to avoid an error. */
51930 #ifdef __cplusplus
51931 extern "C"
51933 #endif
51934 /* We use char because int might match the return type of a gcc2
51935 builtin and then its argument prototype would still apply. */
51936 char $ac_func ();
51937 /* The GNU C library defines this for functions which it implements
51938 to always fail with ENOSYS. Some functions are actually named
51939 something starting with __ and the normal name is an alias. */
51940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51941 choke me
51942 #else
51943 char (*f) () = $ac_func;
51944 #endif
51945 #ifdef __cplusplus
51947 #endif
51950 main ()
51952 return f != $ac_func;
51954 return 0;
51956 _ACEOF
51957 rm -f conftest.$ac_objext conftest$ac_exeext
51958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51959 (eval $ac_link) 2>conftest.er1
51960 ac_status=$?
51961 grep -v '^ *+' conftest.er1 >conftest.err
51962 rm -f conftest.er1
51963 cat conftest.err >&5
51964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51965 (exit $ac_status); } &&
51966 { ac_try='test -z "$ac_c_werror_flag"
51967 || test ! -s conftest.err'
51968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51969 (eval $ac_try) 2>&5
51970 ac_status=$?
51971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51972 (exit $ac_status); }; } &&
51973 { ac_try='test -s conftest$ac_exeext'
51974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51975 (eval $ac_try) 2>&5
51976 ac_status=$?
51977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51978 (exit $ac_status); }; }; then
51979 eval "$as_ac_var=yes"
51980 else
51981 echo "$as_me: failed program was:" >&5
51982 sed 's/^/| /' conftest.$ac_ext >&5
51984 eval "$as_ac_var=no"
51986 rm -f conftest.err conftest.$ac_objext \
51987 conftest$ac_exeext conftest.$ac_ext
51989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51991 if test `eval echo '${'$as_ac_var'}'` = yes; then
51992 cat >>confdefs.h <<_ACEOF
51993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51994 _ACEOF
51997 done
52007 echo "$as_me:$LINENO: checking for modff declaration" >&5
52008 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
52009 if test x${glibcxx_cv_func_modff_use+set} != xset; then
52010 if test "${glibcxx_cv_func_modff_use+set}" = set; then
52011 echo $ECHO_N "(cached) $ECHO_C" >&6
52012 else
52016 ac_ext=cc
52017 ac_cpp='$CXXCPP $CPPFLAGS'
52018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52022 cat >conftest.$ac_ext <<_ACEOF
52023 /* confdefs.h. */
52024 _ACEOF
52025 cat confdefs.h >>conftest.$ac_ext
52026 cat >>conftest.$ac_ext <<_ACEOF
52027 /* end confdefs.h. */
52028 #include <math.h>
52030 main ()
52032 modff(0, 0);
52034 return 0;
52036 _ACEOF
52037 rm -f conftest.$ac_objext
52038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52039 (eval $ac_compile) 2>conftest.er1
52040 ac_status=$?
52041 grep -v '^ *+' conftest.er1 >conftest.err
52042 rm -f conftest.er1
52043 cat conftest.err >&5
52044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52045 (exit $ac_status); } &&
52046 { ac_try='test -z "$ac_cxx_werror_flag"
52047 || test ! -s conftest.err'
52048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52049 (eval $ac_try) 2>&5
52050 ac_status=$?
52051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52052 (exit $ac_status); }; } &&
52053 { ac_try='test -s conftest.$ac_objext'
52054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52055 (eval $ac_try) 2>&5
52056 ac_status=$?
52057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52058 (exit $ac_status); }; }; then
52059 glibcxx_cv_func_modff_use=yes
52060 else
52061 echo "$as_me: failed program was:" >&5
52062 sed 's/^/| /' conftest.$ac_ext >&5
52064 glibcxx_cv_func_modff_use=no
52066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52067 ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
52078 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
52080 if test x$glibcxx_cv_func_modff_use = x"yes"; then
52082 for ac_func in modff
52084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52085 echo "$as_me:$LINENO: checking for $ac_func" >&5
52086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52087 if eval "test \"\${$as_ac_var+set}\" = set"; then
52088 echo $ECHO_N "(cached) $ECHO_C" >&6
52089 else
52090 if test x$gcc_no_link = xyes; then
52091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52093 { (exit 1); exit 1; }; }
52095 cat >conftest.$ac_ext <<_ACEOF
52096 /* confdefs.h. */
52097 _ACEOF
52098 cat confdefs.h >>conftest.$ac_ext
52099 cat >>conftest.$ac_ext <<_ACEOF
52100 /* end confdefs.h. */
52101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52103 #define $ac_func innocuous_$ac_func
52105 /* System header to define __stub macros and hopefully few prototypes,
52106 which can conflict with char $ac_func (); below.
52107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52108 <limits.h> exists even on freestanding compilers. */
52110 #ifdef __STDC__
52111 # include <limits.h>
52112 #else
52113 # include <assert.h>
52114 #endif
52116 #undef $ac_func
52118 /* Override any gcc2 internal prototype to avoid an error. */
52119 #ifdef __cplusplus
52120 extern "C"
52122 #endif
52123 /* We use char because int might match the return type of a gcc2
52124 builtin and then its argument prototype would still apply. */
52125 char $ac_func ();
52126 /* The GNU C library defines this for functions which it implements
52127 to always fail with ENOSYS. Some functions are actually named
52128 something starting with __ and the normal name is an alias. */
52129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52130 choke me
52131 #else
52132 char (*f) () = $ac_func;
52133 #endif
52134 #ifdef __cplusplus
52136 #endif
52139 main ()
52141 return f != $ac_func;
52143 return 0;
52145 _ACEOF
52146 rm -f conftest.$ac_objext conftest$ac_exeext
52147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52148 (eval $ac_link) 2>conftest.er1
52149 ac_status=$?
52150 grep -v '^ *+' conftest.er1 >conftest.err
52151 rm -f conftest.er1
52152 cat conftest.err >&5
52153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52154 (exit $ac_status); } &&
52155 { ac_try='test -z "$ac_c_werror_flag"
52156 || test ! -s conftest.err'
52157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52158 (eval $ac_try) 2>&5
52159 ac_status=$?
52160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52161 (exit $ac_status); }; } &&
52162 { ac_try='test -s conftest$ac_exeext'
52163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52164 (eval $ac_try) 2>&5
52165 ac_status=$?
52166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52167 (exit $ac_status); }; }; then
52168 eval "$as_ac_var=yes"
52169 else
52170 echo "$as_me: failed program was:" >&5
52171 sed 's/^/| /' conftest.$ac_ext >&5
52173 eval "$as_ac_var=no"
52175 rm -f conftest.err conftest.$ac_objext \
52176 conftest$ac_exeext conftest.$ac_ext
52178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52180 if test `eval echo '${'$as_ac_var'}'` = yes; then
52181 cat >>confdefs.h <<_ACEOF
52182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52183 _ACEOF
52186 done
52188 else
52190 echo "$as_me:$LINENO: checking for _modff declaration" >&5
52191 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
52192 if test x${glibcxx_cv_func__modff_use+set} != xset; then
52193 if test "${glibcxx_cv_func__modff_use+set}" = set; then
52194 echo $ECHO_N "(cached) $ECHO_C" >&6
52195 else
52199 ac_ext=cc
52200 ac_cpp='$CXXCPP $CPPFLAGS'
52201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52205 cat >conftest.$ac_ext <<_ACEOF
52206 /* confdefs.h. */
52207 _ACEOF
52208 cat confdefs.h >>conftest.$ac_ext
52209 cat >>conftest.$ac_ext <<_ACEOF
52210 /* end confdefs.h. */
52211 #include <math.h>
52213 main ()
52215 _modff(0, 0);
52217 return 0;
52219 _ACEOF
52220 rm -f conftest.$ac_objext
52221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52222 (eval $ac_compile) 2>conftest.er1
52223 ac_status=$?
52224 grep -v '^ *+' conftest.er1 >conftest.err
52225 rm -f conftest.er1
52226 cat conftest.err >&5
52227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52228 (exit $ac_status); } &&
52229 { ac_try='test -z "$ac_cxx_werror_flag"
52230 || test ! -s conftest.err'
52231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52232 (eval $ac_try) 2>&5
52233 ac_status=$?
52234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52235 (exit $ac_status); }; } &&
52236 { ac_try='test -s conftest.$ac_objext'
52237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52238 (eval $ac_try) 2>&5
52239 ac_status=$?
52240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52241 (exit $ac_status); }; }; then
52242 glibcxx_cv_func__modff_use=yes
52243 else
52244 echo "$as_me: failed program was:" >&5
52245 sed 's/^/| /' conftest.$ac_ext >&5
52247 glibcxx_cv_func__modff_use=no
52249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52250 ac_ext=c
52251 ac_cpp='$CPP $CPPFLAGS'
52252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
52261 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
52263 if test x$glibcxx_cv_func__modff_use = x"yes"; then
52265 for ac_func in _modff
52267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52268 echo "$as_me:$LINENO: checking for $ac_func" >&5
52269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52270 if eval "test \"\${$as_ac_var+set}\" = set"; then
52271 echo $ECHO_N "(cached) $ECHO_C" >&6
52272 else
52273 if test x$gcc_no_link = xyes; then
52274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52276 { (exit 1); exit 1; }; }
52278 cat >conftest.$ac_ext <<_ACEOF
52279 /* confdefs.h. */
52280 _ACEOF
52281 cat confdefs.h >>conftest.$ac_ext
52282 cat >>conftest.$ac_ext <<_ACEOF
52283 /* end confdefs.h. */
52284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52286 #define $ac_func innocuous_$ac_func
52288 /* System header to define __stub macros and hopefully few prototypes,
52289 which can conflict with char $ac_func (); below.
52290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52291 <limits.h> exists even on freestanding compilers. */
52293 #ifdef __STDC__
52294 # include <limits.h>
52295 #else
52296 # include <assert.h>
52297 #endif
52299 #undef $ac_func
52301 /* Override any gcc2 internal prototype to avoid an error. */
52302 #ifdef __cplusplus
52303 extern "C"
52305 #endif
52306 /* We use char because int might match the return type of a gcc2
52307 builtin and then its argument prototype would still apply. */
52308 char $ac_func ();
52309 /* The GNU C library defines this for functions which it implements
52310 to always fail with ENOSYS. Some functions are actually named
52311 something starting with __ and the normal name is an alias. */
52312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52313 choke me
52314 #else
52315 char (*f) () = $ac_func;
52316 #endif
52317 #ifdef __cplusplus
52319 #endif
52322 main ()
52324 return f != $ac_func;
52326 return 0;
52328 _ACEOF
52329 rm -f conftest.$ac_objext conftest$ac_exeext
52330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52331 (eval $ac_link) 2>conftest.er1
52332 ac_status=$?
52333 grep -v '^ *+' conftest.er1 >conftest.err
52334 rm -f conftest.er1
52335 cat conftest.err >&5
52336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52337 (exit $ac_status); } &&
52338 { ac_try='test -z "$ac_c_werror_flag"
52339 || test ! -s conftest.err'
52340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52341 (eval $ac_try) 2>&5
52342 ac_status=$?
52343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52344 (exit $ac_status); }; } &&
52345 { ac_try='test -s conftest$ac_exeext'
52346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52347 (eval $ac_try) 2>&5
52348 ac_status=$?
52349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350 (exit $ac_status); }; }; then
52351 eval "$as_ac_var=yes"
52352 else
52353 echo "$as_me: failed program was:" >&5
52354 sed 's/^/| /' conftest.$ac_ext >&5
52356 eval "$as_ac_var=no"
52358 rm -f conftest.err conftest.$ac_objext \
52359 conftest$ac_exeext conftest.$ac_ext
52361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52363 if test `eval echo '${'$as_ac_var'}'` = yes; then
52364 cat >>confdefs.h <<_ACEOF
52365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52366 _ACEOF
52369 done
52379 echo "$as_me:$LINENO: checking for modf declaration" >&5
52380 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
52381 if test x${glibcxx_cv_func_modf_use+set} != xset; then
52382 if test "${glibcxx_cv_func_modf_use+set}" = set; then
52383 echo $ECHO_N "(cached) $ECHO_C" >&6
52384 else
52388 ac_ext=cc
52389 ac_cpp='$CXXCPP $CPPFLAGS'
52390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52394 cat >conftest.$ac_ext <<_ACEOF
52395 /* confdefs.h. */
52396 _ACEOF
52397 cat confdefs.h >>conftest.$ac_ext
52398 cat >>conftest.$ac_ext <<_ACEOF
52399 /* end confdefs.h. */
52400 #include <math.h>
52402 main ()
52404 modf(0, 0);
52406 return 0;
52408 _ACEOF
52409 rm -f conftest.$ac_objext
52410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52411 (eval $ac_compile) 2>conftest.er1
52412 ac_status=$?
52413 grep -v '^ *+' conftest.er1 >conftest.err
52414 rm -f conftest.er1
52415 cat conftest.err >&5
52416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52417 (exit $ac_status); } &&
52418 { ac_try='test -z "$ac_cxx_werror_flag"
52419 || test ! -s conftest.err'
52420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52421 (eval $ac_try) 2>&5
52422 ac_status=$?
52423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52424 (exit $ac_status); }; } &&
52425 { ac_try='test -s conftest.$ac_objext'
52426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52427 (eval $ac_try) 2>&5
52428 ac_status=$?
52429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52430 (exit $ac_status); }; }; then
52431 glibcxx_cv_func_modf_use=yes
52432 else
52433 echo "$as_me: failed program was:" >&5
52434 sed 's/^/| /' conftest.$ac_ext >&5
52436 glibcxx_cv_func_modf_use=no
52438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52439 ac_ext=c
52440 ac_cpp='$CPP $CPPFLAGS'
52441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52449 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
52450 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
52452 if test x$glibcxx_cv_func_modf_use = x"yes"; then
52454 for ac_func in modf
52456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52457 echo "$as_me:$LINENO: checking for $ac_func" >&5
52458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52459 if eval "test \"\${$as_ac_var+set}\" = set"; then
52460 echo $ECHO_N "(cached) $ECHO_C" >&6
52461 else
52462 if test x$gcc_no_link = xyes; then
52463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52465 { (exit 1); exit 1; }; }
52467 cat >conftest.$ac_ext <<_ACEOF
52468 /* confdefs.h. */
52469 _ACEOF
52470 cat confdefs.h >>conftest.$ac_ext
52471 cat >>conftest.$ac_ext <<_ACEOF
52472 /* end confdefs.h. */
52473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52475 #define $ac_func innocuous_$ac_func
52477 /* System header to define __stub macros and hopefully few prototypes,
52478 which can conflict with char $ac_func (); below.
52479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52480 <limits.h> exists even on freestanding compilers. */
52482 #ifdef __STDC__
52483 # include <limits.h>
52484 #else
52485 # include <assert.h>
52486 #endif
52488 #undef $ac_func
52490 /* Override any gcc2 internal prototype to avoid an error. */
52491 #ifdef __cplusplus
52492 extern "C"
52494 #endif
52495 /* We use char because int might match the return type of a gcc2
52496 builtin and then its argument prototype would still apply. */
52497 char $ac_func ();
52498 /* The GNU C library defines this for functions which it implements
52499 to always fail with ENOSYS. Some functions are actually named
52500 something starting with __ and the normal name is an alias. */
52501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52502 choke me
52503 #else
52504 char (*f) () = $ac_func;
52505 #endif
52506 #ifdef __cplusplus
52508 #endif
52511 main ()
52513 return f != $ac_func;
52515 return 0;
52517 _ACEOF
52518 rm -f conftest.$ac_objext conftest$ac_exeext
52519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52520 (eval $ac_link) 2>conftest.er1
52521 ac_status=$?
52522 grep -v '^ *+' conftest.er1 >conftest.err
52523 rm -f conftest.er1
52524 cat conftest.err >&5
52525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52526 (exit $ac_status); } &&
52527 { ac_try='test -z "$ac_c_werror_flag"
52528 || test ! -s conftest.err'
52529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52530 (eval $ac_try) 2>&5
52531 ac_status=$?
52532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52533 (exit $ac_status); }; } &&
52534 { ac_try='test -s conftest$ac_exeext'
52535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52536 (eval $ac_try) 2>&5
52537 ac_status=$?
52538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52539 (exit $ac_status); }; }; then
52540 eval "$as_ac_var=yes"
52541 else
52542 echo "$as_me: failed program was:" >&5
52543 sed 's/^/| /' conftest.$ac_ext >&5
52545 eval "$as_ac_var=no"
52547 rm -f conftest.err conftest.$ac_objext \
52548 conftest$ac_exeext conftest.$ac_ext
52550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52552 if test `eval echo '${'$as_ac_var'}'` = yes; then
52553 cat >>confdefs.h <<_ACEOF
52554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52555 _ACEOF
52558 done
52560 else
52562 echo "$as_me:$LINENO: checking for _modf declaration" >&5
52563 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
52564 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52565 if test "${glibcxx_cv_func__modf_use+set}" = set; then
52566 echo $ECHO_N "(cached) $ECHO_C" >&6
52567 else
52571 ac_ext=cc
52572 ac_cpp='$CXXCPP $CPPFLAGS'
52573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52577 cat >conftest.$ac_ext <<_ACEOF
52578 /* confdefs.h. */
52579 _ACEOF
52580 cat confdefs.h >>conftest.$ac_ext
52581 cat >>conftest.$ac_ext <<_ACEOF
52582 /* end confdefs.h. */
52583 #include <math.h>
52585 main ()
52587 _modf(0, 0);
52589 return 0;
52591 _ACEOF
52592 rm -f conftest.$ac_objext
52593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52594 (eval $ac_compile) 2>conftest.er1
52595 ac_status=$?
52596 grep -v '^ *+' conftest.er1 >conftest.err
52597 rm -f conftest.er1
52598 cat conftest.err >&5
52599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600 (exit $ac_status); } &&
52601 { ac_try='test -z "$ac_cxx_werror_flag"
52602 || test ! -s conftest.err'
52603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52604 (eval $ac_try) 2>&5
52605 ac_status=$?
52606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52607 (exit $ac_status); }; } &&
52608 { ac_try='test -s conftest.$ac_objext'
52609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52610 (eval $ac_try) 2>&5
52611 ac_status=$?
52612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52613 (exit $ac_status); }; }; then
52614 glibcxx_cv_func__modf_use=yes
52615 else
52616 echo "$as_me: failed program was:" >&5
52617 sed 's/^/| /' conftest.$ac_ext >&5
52619 glibcxx_cv_func__modf_use=no
52621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52622 ac_ext=c
52623 ac_cpp='$CPP $CPPFLAGS'
52624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52633 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52635 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52637 for ac_func in _modf
52639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52640 echo "$as_me:$LINENO: checking for $ac_func" >&5
52641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52642 if eval "test \"\${$as_ac_var+set}\" = set"; then
52643 echo $ECHO_N "(cached) $ECHO_C" >&6
52644 else
52645 if test x$gcc_no_link = xyes; then
52646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52648 { (exit 1); exit 1; }; }
52650 cat >conftest.$ac_ext <<_ACEOF
52651 /* confdefs.h. */
52652 _ACEOF
52653 cat confdefs.h >>conftest.$ac_ext
52654 cat >>conftest.$ac_ext <<_ACEOF
52655 /* end confdefs.h. */
52656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52658 #define $ac_func innocuous_$ac_func
52660 /* System header to define __stub macros and hopefully few prototypes,
52661 which can conflict with char $ac_func (); below.
52662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52663 <limits.h> exists even on freestanding compilers. */
52665 #ifdef __STDC__
52666 # include <limits.h>
52667 #else
52668 # include <assert.h>
52669 #endif
52671 #undef $ac_func
52673 /* Override any gcc2 internal prototype to avoid an error. */
52674 #ifdef __cplusplus
52675 extern "C"
52677 #endif
52678 /* We use char because int might match the return type of a gcc2
52679 builtin and then its argument prototype would still apply. */
52680 char $ac_func ();
52681 /* The GNU C library defines this for functions which it implements
52682 to always fail with ENOSYS. Some functions are actually named
52683 something starting with __ and the normal name is an alias. */
52684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52685 choke me
52686 #else
52687 char (*f) () = $ac_func;
52688 #endif
52689 #ifdef __cplusplus
52691 #endif
52694 main ()
52696 return f != $ac_func;
52698 return 0;
52700 _ACEOF
52701 rm -f conftest.$ac_objext conftest$ac_exeext
52702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52703 (eval $ac_link) 2>conftest.er1
52704 ac_status=$?
52705 grep -v '^ *+' conftest.er1 >conftest.err
52706 rm -f conftest.er1
52707 cat conftest.err >&5
52708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52709 (exit $ac_status); } &&
52710 { ac_try='test -z "$ac_c_werror_flag"
52711 || test ! -s conftest.err'
52712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52713 (eval $ac_try) 2>&5
52714 ac_status=$?
52715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52716 (exit $ac_status); }; } &&
52717 { ac_try='test -s conftest$ac_exeext'
52718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52719 (eval $ac_try) 2>&5
52720 ac_status=$?
52721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52722 (exit $ac_status); }; }; then
52723 eval "$as_ac_var=yes"
52724 else
52725 echo "$as_me: failed program was:" >&5
52726 sed 's/^/| /' conftest.$ac_ext >&5
52728 eval "$as_ac_var=no"
52730 rm -f conftest.err conftest.$ac_objext \
52731 conftest$ac_exeext conftest.$ac_ext
52733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52735 if test `eval echo '${'$as_ac_var'}'` = yes; then
52736 cat >>confdefs.h <<_ACEOF
52737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52738 _ACEOF
52741 done
52751 echo "$as_me:$LINENO: checking for powf declaration" >&5
52752 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52753 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52754 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52755 echo $ECHO_N "(cached) $ECHO_C" >&6
52756 else
52760 ac_ext=cc
52761 ac_cpp='$CXXCPP $CPPFLAGS'
52762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52766 cat >conftest.$ac_ext <<_ACEOF
52767 /* confdefs.h. */
52768 _ACEOF
52769 cat confdefs.h >>conftest.$ac_ext
52770 cat >>conftest.$ac_ext <<_ACEOF
52771 /* end confdefs.h. */
52772 #include <math.h>
52774 main ()
52776 powf(0, 0);
52778 return 0;
52780 _ACEOF
52781 rm -f conftest.$ac_objext
52782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52783 (eval $ac_compile) 2>conftest.er1
52784 ac_status=$?
52785 grep -v '^ *+' conftest.er1 >conftest.err
52786 rm -f conftest.er1
52787 cat conftest.err >&5
52788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52789 (exit $ac_status); } &&
52790 { ac_try='test -z "$ac_cxx_werror_flag"
52791 || test ! -s conftest.err'
52792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52793 (eval $ac_try) 2>&5
52794 ac_status=$?
52795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52796 (exit $ac_status); }; } &&
52797 { ac_try='test -s conftest.$ac_objext'
52798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52799 (eval $ac_try) 2>&5
52800 ac_status=$?
52801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52802 (exit $ac_status); }; }; then
52803 glibcxx_cv_func_powf_use=yes
52804 else
52805 echo "$as_me: failed program was:" >&5
52806 sed 's/^/| /' conftest.$ac_ext >&5
52808 glibcxx_cv_func_powf_use=no
52810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52811 ac_ext=c
52812 ac_cpp='$CPP $CPPFLAGS'
52813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52822 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52824 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52826 for ac_func in powf
52828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52829 echo "$as_me:$LINENO: checking for $ac_func" >&5
52830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52831 if eval "test \"\${$as_ac_var+set}\" = set"; then
52832 echo $ECHO_N "(cached) $ECHO_C" >&6
52833 else
52834 if test x$gcc_no_link = xyes; then
52835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52837 { (exit 1); exit 1; }; }
52839 cat >conftest.$ac_ext <<_ACEOF
52840 /* confdefs.h. */
52841 _ACEOF
52842 cat confdefs.h >>conftest.$ac_ext
52843 cat >>conftest.$ac_ext <<_ACEOF
52844 /* end confdefs.h. */
52845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52847 #define $ac_func innocuous_$ac_func
52849 /* System header to define __stub macros and hopefully few prototypes,
52850 which can conflict with char $ac_func (); below.
52851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52852 <limits.h> exists even on freestanding compilers. */
52854 #ifdef __STDC__
52855 # include <limits.h>
52856 #else
52857 # include <assert.h>
52858 #endif
52860 #undef $ac_func
52862 /* Override any gcc2 internal prototype to avoid an error. */
52863 #ifdef __cplusplus
52864 extern "C"
52866 #endif
52867 /* We use char because int might match the return type of a gcc2
52868 builtin and then its argument prototype would still apply. */
52869 char $ac_func ();
52870 /* The GNU C library defines this for functions which it implements
52871 to always fail with ENOSYS. Some functions are actually named
52872 something starting with __ and the normal name is an alias. */
52873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52874 choke me
52875 #else
52876 char (*f) () = $ac_func;
52877 #endif
52878 #ifdef __cplusplus
52880 #endif
52883 main ()
52885 return f != $ac_func;
52887 return 0;
52889 _ACEOF
52890 rm -f conftest.$ac_objext conftest$ac_exeext
52891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52892 (eval $ac_link) 2>conftest.er1
52893 ac_status=$?
52894 grep -v '^ *+' conftest.er1 >conftest.err
52895 rm -f conftest.er1
52896 cat conftest.err >&5
52897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52898 (exit $ac_status); } &&
52899 { ac_try='test -z "$ac_c_werror_flag"
52900 || test ! -s conftest.err'
52901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52902 (eval $ac_try) 2>&5
52903 ac_status=$?
52904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52905 (exit $ac_status); }; } &&
52906 { ac_try='test -s conftest$ac_exeext'
52907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52908 (eval $ac_try) 2>&5
52909 ac_status=$?
52910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52911 (exit $ac_status); }; }; then
52912 eval "$as_ac_var=yes"
52913 else
52914 echo "$as_me: failed program was:" >&5
52915 sed 's/^/| /' conftest.$ac_ext >&5
52917 eval "$as_ac_var=no"
52919 rm -f conftest.err conftest.$ac_objext \
52920 conftest$ac_exeext conftest.$ac_ext
52922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52924 if test `eval echo '${'$as_ac_var'}'` = yes; then
52925 cat >>confdefs.h <<_ACEOF
52926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52927 _ACEOF
52930 done
52932 else
52934 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52935 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52936 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52937 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52938 echo $ECHO_N "(cached) $ECHO_C" >&6
52939 else
52943 ac_ext=cc
52944 ac_cpp='$CXXCPP $CPPFLAGS'
52945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52949 cat >conftest.$ac_ext <<_ACEOF
52950 /* confdefs.h. */
52951 _ACEOF
52952 cat confdefs.h >>conftest.$ac_ext
52953 cat >>conftest.$ac_ext <<_ACEOF
52954 /* end confdefs.h. */
52955 #include <math.h>
52957 main ()
52959 _powf(0, 0);
52961 return 0;
52963 _ACEOF
52964 rm -f conftest.$ac_objext
52965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52966 (eval $ac_compile) 2>conftest.er1
52967 ac_status=$?
52968 grep -v '^ *+' conftest.er1 >conftest.err
52969 rm -f conftest.er1
52970 cat conftest.err >&5
52971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52972 (exit $ac_status); } &&
52973 { ac_try='test -z "$ac_cxx_werror_flag"
52974 || test ! -s conftest.err'
52975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52976 (eval $ac_try) 2>&5
52977 ac_status=$?
52978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52979 (exit $ac_status); }; } &&
52980 { ac_try='test -s conftest.$ac_objext'
52981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52982 (eval $ac_try) 2>&5
52983 ac_status=$?
52984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52985 (exit $ac_status); }; }; then
52986 glibcxx_cv_func__powf_use=yes
52987 else
52988 echo "$as_me: failed program was:" >&5
52989 sed 's/^/| /' conftest.$ac_ext >&5
52991 glibcxx_cv_func__powf_use=no
52993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52994 ac_ext=c
52995 ac_cpp='$CPP $CPPFLAGS'
52996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
53005 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
53007 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53009 for ac_func in _powf
53011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53012 echo "$as_me:$LINENO: checking for $ac_func" >&5
53013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53014 if eval "test \"\${$as_ac_var+set}\" = set"; then
53015 echo $ECHO_N "(cached) $ECHO_C" >&6
53016 else
53017 if test x$gcc_no_link = xyes; then
53018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53020 { (exit 1); exit 1; }; }
53022 cat >conftest.$ac_ext <<_ACEOF
53023 /* confdefs.h. */
53024 _ACEOF
53025 cat confdefs.h >>conftest.$ac_ext
53026 cat >>conftest.$ac_ext <<_ACEOF
53027 /* end confdefs.h. */
53028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53030 #define $ac_func innocuous_$ac_func
53032 /* System header to define __stub macros and hopefully few prototypes,
53033 which can conflict with char $ac_func (); below.
53034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53035 <limits.h> exists even on freestanding compilers. */
53037 #ifdef __STDC__
53038 # include <limits.h>
53039 #else
53040 # include <assert.h>
53041 #endif
53043 #undef $ac_func
53045 /* Override any gcc2 internal prototype to avoid an error. */
53046 #ifdef __cplusplus
53047 extern "C"
53049 #endif
53050 /* We use char because int might match the return type of a gcc2
53051 builtin and then its argument prototype would still apply. */
53052 char $ac_func ();
53053 /* The GNU C library defines this for functions which it implements
53054 to always fail with ENOSYS. Some functions are actually named
53055 something starting with __ and the normal name is an alias. */
53056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53057 choke me
53058 #else
53059 char (*f) () = $ac_func;
53060 #endif
53061 #ifdef __cplusplus
53063 #endif
53066 main ()
53068 return f != $ac_func;
53070 return 0;
53072 _ACEOF
53073 rm -f conftest.$ac_objext conftest$ac_exeext
53074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53075 (eval $ac_link) 2>conftest.er1
53076 ac_status=$?
53077 grep -v '^ *+' conftest.er1 >conftest.err
53078 rm -f conftest.er1
53079 cat conftest.err >&5
53080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53081 (exit $ac_status); } &&
53082 { ac_try='test -z "$ac_c_werror_flag"
53083 || test ! -s conftest.err'
53084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53085 (eval $ac_try) 2>&5
53086 ac_status=$?
53087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53088 (exit $ac_status); }; } &&
53089 { ac_try='test -s conftest$ac_exeext'
53090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53091 (eval $ac_try) 2>&5
53092 ac_status=$?
53093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53094 (exit $ac_status); }; }; then
53095 eval "$as_ac_var=yes"
53096 else
53097 echo "$as_me: failed program was:" >&5
53098 sed 's/^/| /' conftest.$ac_ext >&5
53100 eval "$as_ac_var=no"
53102 rm -f conftest.err conftest.$ac_objext \
53103 conftest$ac_exeext conftest.$ac_ext
53105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53107 if test `eval echo '${'$as_ac_var'}'` = yes; then
53108 cat >>confdefs.h <<_ACEOF
53109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53110 _ACEOF
53113 done
53123 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
53124 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
53125 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53126 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
53127 echo $ECHO_N "(cached) $ECHO_C" >&6
53128 else
53132 ac_ext=cc
53133 ac_cpp='$CXXCPP $CPPFLAGS'
53134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53138 cat >conftest.$ac_ext <<_ACEOF
53139 /* confdefs.h. */
53140 _ACEOF
53141 cat confdefs.h >>conftest.$ac_ext
53142 cat >>conftest.$ac_ext <<_ACEOF
53143 /* end confdefs.h. */
53144 #include <math.h>
53145 #ifdef HAVE_IEEEFP_H
53146 #include <ieeefp.h>
53147 #endif
53150 main ()
53152 sqrtf(0);
53154 return 0;
53156 _ACEOF
53157 rm -f conftest.$ac_objext
53158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53159 (eval $ac_compile) 2>conftest.er1
53160 ac_status=$?
53161 grep -v '^ *+' conftest.er1 >conftest.err
53162 rm -f conftest.er1
53163 cat conftest.err >&5
53164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165 (exit $ac_status); } &&
53166 { ac_try='test -z "$ac_cxx_werror_flag"
53167 || test ! -s conftest.err'
53168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169 (eval $ac_try) 2>&5
53170 ac_status=$?
53171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172 (exit $ac_status); }; } &&
53173 { ac_try='test -s conftest.$ac_objext'
53174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53175 (eval $ac_try) 2>&5
53176 ac_status=$?
53177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178 (exit $ac_status); }; }; then
53179 glibcxx_cv_func_sqrtf_use=yes
53180 else
53181 echo "$as_me: failed program was:" >&5
53182 sed 's/^/| /' conftest.$ac_ext >&5
53184 glibcxx_cv_func_sqrtf_use=no
53186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53187 ac_ext=c
53188 ac_cpp='$CPP $CPPFLAGS'
53189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
53198 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
53200 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53202 for ac_func in sqrtf
53204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53205 echo "$as_me:$LINENO: checking for $ac_func" >&5
53206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53207 if eval "test \"\${$as_ac_var+set}\" = set"; then
53208 echo $ECHO_N "(cached) $ECHO_C" >&6
53209 else
53210 if test x$gcc_no_link = xyes; then
53211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53213 { (exit 1); exit 1; }; }
53215 cat >conftest.$ac_ext <<_ACEOF
53216 /* confdefs.h. */
53217 _ACEOF
53218 cat confdefs.h >>conftest.$ac_ext
53219 cat >>conftest.$ac_ext <<_ACEOF
53220 /* end confdefs.h. */
53221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53223 #define $ac_func innocuous_$ac_func
53225 /* System header to define __stub macros and hopefully few prototypes,
53226 which can conflict with char $ac_func (); below.
53227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53228 <limits.h> exists even on freestanding compilers. */
53230 #ifdef __STDC__
53231 # include <limits.h>
53232 #else
53233 # include <assert.h>
53234 #endif
53236 #undef $ac_func
53238 /* Override any gcc2 internal prototype to avoid an error. */
53239 #ifdef __cplusplus
53240 extern "C"
53242 #endif
53243 /* We use char because int might match the return type of a gcc2
53244 builtin and then its argument prototype would still apply. */
53245 char $ac_func ();
53246 /* The GNU C library defines this for functions which it implements
53247 to always fail with ENOSYS. Some functions are actually named
53248 something starting with __ and the normal name is an alias. */
53249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53250 choke me
53251 #else
53252 char (*f) () = $ac_func;
53253 #endif
53254 #ifdef __cplusplus
53256 #endif
53259 main ()
53261 return f != $ac_func;
53263 return 0;
53265 _ACEOF
53266 rm -f conftest.$ac_objext conftest$ac_exeext
53267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53268 (eval $ac_link) 2>conftest.er1
53269 ac_status=$?
53270 grep -v '^ *+' conftest.er1 >conftest.err
53271 rm -f conftest.er1
53272 cat conftest.err >&5
53273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53274 (exit $ac_status); } &&
53275 { ac_try='test -z "$ac_c_werror_flag"
53276 || test ! -s conftest.err'
53277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53278 (eval $ac_try) 2>&5
53279 ac_status=$?
53280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53281 (exit $ac_status); }; } &&
53282 { ac_try='test -s conftest$ac_exeext'
53283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53284 (eval $ac_try) 2>&5
53285 ac_status=$?
53286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53287 (exit $ac_status); }; }; then
53288 eval "$as_ac_var=yes"
53289 else
53290 echo "$as_me: failed program was:" >&5
53291 sed 's/^/| /' conftest.$ac_ext >&5
53293 eval "$as_ac_var=no"
53295 rm -f conftest.err conftest.$ac_objext \
53296 conftest$ac_exeext conftest.$ac_ext
53298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53300 if test `eval echo '${'$as_ac_var'}'` = yes; then
53301 cat >>confdefs.h <<_ACEOF
53302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53303 _ACEOF
53306 done
53308 else
53310 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
53311 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
53312 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53313 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
53314 echo $ECHO_N "(cached) $ECHO_C" >&6
53315 else
53319 ac_ext=cc
53320 ac_cpp='$CXXCPP $CPPFLAGS'
53321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53325 cat >conftest.$ac_ext <<_ACEOF
53326 /* confdefs.h. */
53327 _ACEOF
53328 cat confdefs.h >>conftest.$ac_ext
53329 cat >>conftest.$ac_ext <<_ACEOF
53330 /* end confdefs.h. */
53331 #include <math.h>
53332 #ifdef HAVE_IEEEFP_H
53333 #include <ieeefp.h>
53334 #endif
53337 main ()
53339 _sqrtf(0);
53341 return 0;
53343 _ACEOF
53344 rm -f conftest.$ac_objext
53345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53346 (eval $ac_compile) 2>conftest.er1
53347 ac_status=$?
53348 grep -v '^ *+' conftest.er1 >conftest.err
53349 rm -f conftest.er1
53350 cat conftest.err >&5
53351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53352 (exit $ac_status); } &&
53353 { ac_try='test -z "$ac_cxx_werror_flag"
53354 || test ! -s conftest.err'
53355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53356 (eval $ac_try) 2>&5
53357 ac_status=$?
53358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53359 (exit $ac_status); }; } &&
53360 { ac_try='test -s conftest.$ac_objext'
53361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53362 (eval $ac_try) 2>&5
53363 ac_status=$?
53364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365 (exit $ac_status); }; }; then
53366 glibcxx_cv_func__sqrtf_use=yes
53367 else
53368 echo "$as_me: failed program was:" >&5
53369 sed 's/^/| /' conftest.$ac_ext >&5
53371 glibcxx_cv_func__sqrtf_use=no
53373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53374 ac_ext=c
53375 ac_cpp='$CPP $CPPFLAGS'
53376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
53385 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
53387 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53389 for ac_func in _sqrtf
53391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53392 echo "$as_me:$LINENO: checking for $ac_func" >&5
53393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53394 if eval "test \"\${$as_ac_var+set}\" = set"; then
53395 echo $ECHO_N "(cached) $ECHO_C" >&6
53396 else
53397 if test x$gcc_no_link = xyes; then
53398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53400 { (exit 1); exit 1; }; }
53402 cat >conftest.$ac_ext <<_ACEOF
53403 /* confdefs.h. */
53404 _ACEOF
53405 cat confdefs.h >>conftest.$ac_ext
53406 cat >>conftest.$ac_ext <<_ACEOF
53407 /* end confdefs.h. */
53408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53410 #define $ac_func innocuous_$ac_func
53412 /* System header to define __stub macros and hopefully few prototypes,
53413 which can conflict with char $ac_func (); below.
53414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53415 <limits.h> exists even on freestanding compilers. */
53417 #ifdef __STDC__
53418 # include <limits.h>
53419 #else
53420 # include <assert.h>
53421 #endif
53423 #undef $ac_func
53425 /* Override any gcc2 internal prototype to avoid an error. */
53426 #ifdef __cplusplus
53427 extern "C"
53429 #endif
53430 /* We use char because int might match the return type of a gcc2
53431 builtin and then its argument prototype would still apply. */
53432 char $ac_func ();
53433 /* The GNU C library defines this for functions which it implements
53434 to always fail with ENOSYS. Some functions are actually named
53435 something starting with __ and the normal name is an alias. */
53436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53437 choke me
53438 #else
53439 char (*f) () = $ac_func;
53440 #endif
53441 #ifdef __cplusplus
53443 #endif
53446 main ()
53448 return f != $ac_func;
53450 return 0;
53452 _ACEOF
53453 rm -f conftest.$ac_objext conftest$ac_exeext
53454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53455 (eval $ac_link) 2>conftest.er1
53456 ac_status=$?
53457 grep -v '^ *+' conftest.er1 >conftest.err
53458 rm -f conftest.er1
53459 cat conftest.err >&5
53460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53461 (exit $ac_status); } &&
53462 { ac_try='test -z "$ac_c_werror_flag"
53463 || test ! -s conftest.err'
53464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53465 (eval $ac_try) 2>&5
53466 ac_status=$?
53467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53468 (exit $ac_status); }; } &&
53469 { ac_try='test -s conftest$ac_exeext'
53470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53471 (eval $ac_try) 2>&5
53472 ac_status=$?
53473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53474 (exit $ac_status); }; }; then
53475 eval "$as_ac_var=yes"
53476 else
53477 echo "$as_me: failed program was:" >&5
53478 sed 's/^/| /' conftest.$ac_ext >&5
53480 eval "$as_ac_var=no"
53482 rm -f conftest.err conftest.$ac_objext \
53483 conftest$ac_exeext conftest.$ac_ext
53485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53487 if test `eval echo '${'$as_ac_var'}'` = yes; then
53488 cat >>confdefs.h <<_ACEOF
53489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53490 _ACEOF
53493 done
53503 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
53504 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
53505 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53506 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
53507 echo $ECHO_N "(cached) $ECHO_C" >&6
53508 else
53512 ac_ext=cc
53513 ac_cpp='$CXXCPP $CPPFLAGS'
53514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53518 cat >conftest.$ac_ext <<_ACEOF
53519 /* confdefs.h. */
53520 _ACEOF
53521 cat confdefs.h >>conftest.$ac_ext
53522 cat >>conftest.$ac_ext <<_ACEOF
53523 /* end confdefs.h. */
53524 #include <math.h>
53526 main ()
53528 sincosf(0, 0, 0);
53530 return 0;
53532 _ACEOF
53533 rm -f conftest.$ac_objext
53534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53535 (eval $ac_compile) 2>conftest.er1
53536 ac_status=$?
53537 grep -v '^ *+' conftest.er1 >conftest.err
53538 rm -f conftest.er1
53539 cat conftest.err >&5
53540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53541 (exit $ac_status); } &&
53542 { ac_try='test -z "$ac_cxx_werror_flag"
53543 || test ! -s conftest.err'
53544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53545 (eval $ac_try) 2>&5
53546 ac_status=$?
53547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53548 (exit $ac_status); }; } &&
53549 { ac_try='test -s conftest.$ac_objext'
53550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53551 (eval $ac_try) 2>&5
53552 ac_status=$?
53553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53554 (exit $ac_status); }; }; then
53555 glibcxx_cv_func_sincosf_use=yes
53556 else
53557 echo "$as_me: failed program was:" >&5
53558 sed 's/^/| /' conftest.$ac_ext >&5
53560 glibcxx_cv_func_sincosf_use=no
53562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53563 ac_ext=c
53564 ac_cpp='$CPP $CPPFLAGS'
53565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53574 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53576 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53578 for ac_func in sincosf
53580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53581 echo "$as_me:$LINENO: checking for $ac_func" >&5
53582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53583 if eval "test \"\${$as_ac_var+set}\" = set"; then
53584 echo $ECHO_N "(cached) $ECHO_C" >&6
53585 else
53586 if test x$gcc_no_link = xyes; then
53587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53589 { (exit 1); exit 1; }; }
53591 cat >conftest.$ac_ext <<_ACEOF
53592 /* confdefs.h. */
53593 _ACEOF
53594 cat confdefs.h >>conftest.$ac_ext
53595 cat >>conftest.$ac_ext <<_ACEOF
53596 /* end confdefs.h. */
53597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53599 #define $ac_func innocuous_$ac_func
53601 /* System header to define __stub macros and hopefully few prototypes,
53602 which can conflict with char $ac_func (); below.
53603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53604 <limits.h> exists even on freestanding compilers. */
53606 #ifdef __STDC__
53607 # include <limits.h>
53608 #else
53609 # include <assert.h>
53610 #endif
53612 #undef $ac_func
53614 /* Override any gcc2 internal prototype to avoid an error. */
53615 #ifdef __cplusplus
53616 extern "C"
53618 #endif
53619 /* We use char because int might match the return type of a gcc2
53620 builtin and then its argument prototype would still apply. */
53621 char $ac_func ();
53622 /* The GNU C library defines this for functions which it implements
53623 to always fail with ENOSYS. Some functions are actually named
53624 something starting with __ and the normal name is an alias. */
53625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53626 choke me
53627 #else
53628 char (*f) () = $ac_func;
53629 #endif
53630 #ifdef __cplusplus
53632 #endif
53635 main ()
53637 return f != $ac_func;
53639 return 0;
53641 _ACEOF
53642 rm -f conftest.$ac_objext conftest$ac_exeext
53643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53644 (eval $ac_link) 2>conftest.er1
53645 ac_status=$?
53646 grep -v '^ *+' conftest.er1 >conftest.err
53647 rm -f conftest.er1
53648 cat conftest.err >&5
53649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53650 (exit $ac_status); } &&
53651 { ac_try='test -z "$ac_c_werror_flag"
53652 || test ! -s conftest.err'
53653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53654 (eval $ac_try) 2>&5
53655 ac_status=$?
53656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53657 (exit $ac_status); }; } &&
53658 { ac_try='test -s conftest$ac_exeext'
53659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53660 (eval $ac_try) 2>&5
53661 ac_status=$?
53662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53663 (exit $ac_status); }; }; then
53664 eval "$as_ac_var=yes"
53665 else
53666 echo "$as_me: failed program was:" >&5
53667 sed 's/^/| /' conftest.$ac_ext >&5
53669 eval "$as_ac_var=no"
53671 rm -f conftest.err conftest.$ac_objext \
53672 conftest$ac_exeext conftest.$ac_ext
53674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53676 if test `eval echo '${'$as_ac_var'}'` = yes; then
53677 cat >>confdefs.h <<_ACEOF
53678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53679 _ACEOF
53682 done
53684 else
53686 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53687 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53688 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53689 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53690 echo $ECHO_N "(cached) $ECHO_C" >&6
53691 else
53695 ac_ext=cc
53696 ac_cpp='$CXXCPP $CPPFLAGS'
53697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53701 cat >conftest.$ac_ext <<_ACEOF
53702 /* confdefs.h. */
53703 _ACEOF
53704 cat confdefs.h >>conftest.$ac_ext
53705 cat >>conftest.$ac_ext <<_ACEOF
53706 /* end confdefs.h. */
53707 #include <math.h>
53709 main ()
53711 _sincosf(0, 0, 0);
53713 return 0;
53715 _ACEOF
53716 rm -f conftest.$ac_objext
53717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53718 (eval $ac_compile) 2>conftest.er1
53719 ac_status=$?
53720 grep -v '^ *+' conftest.er1 >conftest.err
53721 rm -f conftest.er1
53722 cat conftest.err >&5
53723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53724 (exit $ac_status); } &&
53725 { ac_try='test -z "$ac_cxx_werror_flag"
53726 || test ! -s conftest.err'
53727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53728 (eval $ac_try) 2>&5
53729 ac_status=$?
53730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53731 (exit $ac_status); }; } &&
53732 { ac_try='test -s conftest.$ac_objext'
53733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53734 (eval $ac_try) 2>&5
53735 ac_status=$?
53736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53737 (exit $ac_status); }; }; then
53738 glibcxx_cv_func__sincosf_use=yes
53739 else
53740 echo "$as_me: failed program was:" >&5
53741 sed 's/^/| /' conftest.$ac_ext >&5
53743 glibcxx_cv_func__sincosf_use=no
53745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53746 ac_ext=c
53747 ac_cpp='$CPP $CPPFLAGS'
53748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53757 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53759 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53761 for ac_func in _sincosf
53763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53764 echo "$as_me:$LINENO: checking for $ac_func" >&5
53765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53766 if eval "test \"\${$as_ac_var+set}\" = set"; then
53767 echo $ECHO_N "(cached) $ECHO_C" >&6
53768 else
53769 if test x$gcc_no_link = xyes; then
53770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53772 { (exit 1); exit 1; }; }
53774 cat >conftest.$ac_ext <<_ACEOF
53775 /* confdefs.h. */
53776 _ACEOF
53777 cat confdefs.h >>conftest.$ac_ext
53778 cat >>conftest.$ac_ext <<_ACEOF
53779 /* end confdefs.h. */
53780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53782 #define $ac_func innocuous_$ac_func
53784 /* System header to define __stub macros and hopefully few prototypes,
53785 which can conflict with char $ac_func (); below.
53786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53787 <limits.h> exists even on freestanding compilers. */
53789 #ifdef __STDC__
53790 # include <limits.h>
53791 #else
53792 # include <assert.h>
53793 #endif
53795 #undef $ac_func
53797 /* Override any gcc2 internal prototype to avoid an error. */
53798 #ifdef __cplusplus
53799 extern "C"
53801 #endif
53802 /* We use char because int might match the return type of a gcc2
53803 builtin and then its argument prototype would still apply. */
53804 char $ac_func ();
53805 /* The GNU C library defines this for functions which it implements
53806 to always fail with ENOSYS. Some functions are actually named
53807 something starting with __ and the normal name is an alias. */
53808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53809 choke me
53810 #else
53811 char (*f) () = $ac_func;
53812 #endif
53813 #ifdef __cplusplus
53815 #endif
53818 main ()
53820 return f != $ac_func;
53822 return 0;
53824 _ACEOF
53825 rm -f conftest.$ac_objext conftest$ac_exeext
53826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53827 (eval $ac_link) 2>conftest.er1
53828 ac_status=$?
53829 grep -v '^ *+' conftest.er1 >conftest.err
53830 rm -f conftest.er1
53831 cat conftest.err >&5
53832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53833 (exit $ac_status); } &&
53834 { ac_try='test -z "$ac_c_werror_flag"
53835 || test ! -s conftest.err'
53836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53837 (eval $ac_try) 2>&5
53838 ac_status=$?
53839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53840 (exit $ac_status); }; } &&
53841 { ac_try='test -s conftest$ac_exeext'
53842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53843 (eval $ac_try) 2>&5
53844 ac_status=$?
53845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53846 (exit $ac_status); }; }; then
53847 eval "$as_ac_var=yes"
53848 else
53849 echo "$as_me: failed program was:" >&5
53850 sed 's/^/| /' conftest.$ac_ext >&5
53852 eval "$as_ac_var=no"
53854 rm -f conftest.err conftest.$ac_objext \
53855 conftest$ac_exeext conftest.$ac_ext
53857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53859 if test `eval echo '${'$as_ac_var'}'` = yes; then
53860 cat >>confdefs.h <<_ACEOF
53861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53862 _ACEOF
53865 done
53875 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53876 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53877 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53878 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53879 echo $ECHO_N "(cached) $ECHO_C" >&6
53880 else
53884 ac_ext=cc
53885 ac_cpp='$CXXCPP $CPPFLAGS'
53886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53890 cat >conftest.$ac_ext <<_ACEOF
53891 /* confdefs.h. */
53892 _ACEOF
53893 cat confdefs.h >>conftest.$ac_ext
53894 cat >>conftest.$ac_ext <<_ACEOF
53895 /* end confdefs.h. */
53896 #include <math.h>
53897 #ifdef HAVE_IEEEFP_H
53898 #include <ieeefp.h>
53899 #endif
53902 main ()
53904 finitef(0);
53906 return 0;
53908 _ACEOF
53909 rm -f conftest.$ac_objext
53910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53911 (eval $ac_compile) 2>conftest.er1
53912 ac_status=$?
53913 grep -v '^ *+' conftest.er1 >conftest.err
53914 rm -f conftest.er1
53915 cat conftest.err >&5
53916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53917 (exit $ac_status); } &&
53918 { ac_try='test -z "$ac_cxx_werror_flag"
53919 || test ! -s conftest.err'
53920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53921 (eval $ac_try) 2>&5
53922 ac_status=$?
53923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53924 (exit $ac_status); }; } &&
53925 { ac_try='test -s conftest.$ac_objext'
53926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53927 (eval $ac_try) 2>&5
53928 ac_status=$?
53929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53930 (exit $ac_status); }; }; then
53931 glibcxx_cv_func_finitef_use=yes
53932 else
53933 echo "$as_me: failed program was:" >&5
53934 sed 's/^/| /' conftest.$ac_ext >&5
53936 glibcxx_cv_func_finitef_use=no
53938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53939 ac_ext=c
53940 ac_cpp='$CPP $CPPFLAGS'
53941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53950 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53952 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53954 for ac_func in finitef
53956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53957 echo "$as_me:$LINENO: checking for $ac_func" >&5
53958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53959 if eval "test \"\${$as_ac_var+set}\" = set"; then
53960 echo $ECHO_N "(cached) $ECHO_C" >&6
53961 else
53962 if test x$gcc_no_link = xyes; then
53963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53965 { (exit 1); exit 1; }; }
53967 cat >conftest.$ac_ext <<_ACEOF
53968 /* confdefs.h. */
53969 _ACEOF
53970 cat confdefs.h >>conftest.$ac_ext
53971 cat >>conftest.$ac_ext <<_ACEOF
53972 /* end confdefs.h. */
53973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53975 #define $ac_func innocuous_$ac_func
53977 /* System header to define __stub macros and hopefully few prototypes,
53978 which can conflict with char $ac_func (); below.
53979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53980 <limits.h> exists even on freestanding compilers. */
53982 #ifdef __STDC__
53983 # include <limits.h>
53984 #else
53985 # include <assert.h>
53986 #endif
53988 #undef $ac_func
53990 /* Override any gcc2 internal prototype to avoid an error. */
53991 #ifdef __cplusplus
53992 extern "C"
53994 #endif
53995 /* We use char because int might match the return type of a gcc2
53996 builtin and then its argument prototype would still apply. */
53997 char $ac_func ();
53998 /* The GNU C library defines this for functions which it implements
53999 to always fail with ENOSYS. Some functions are actually named
54000 something starting with __ and the normal name is an alias. */
54001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54002 choke me
54003 #else
54004 char (*f) () = $ac_func;
54005 #endif
54006 #ifdef __cplusplus
54008 #endif
54011 main ()
54013 return f != $ac_func;
54015 return 0;
54017 _ACEOF
54018 rm -f conftest.$ac_objext conftest$ac_exeext
54019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54020 (eval $ac_link) 2>conftest.er1
54021 ac_status=$?
54022 grep -v '^ *+' conftest.er1 >conftest.err
54023 rm -f conftest.er1
54024 cat conftest.err >&5
54025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54026 (exit $ac_status); } &&
54027 { ac_try='test -z "$ac_c_werror_flag"
54028 || test ! -s conftest.err'
54029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54030 (eval $ac_try) 2>&5
54031 ac_status=$?
54032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54033 (exit $ac_status); }; } &&
54034 { ac_try='test -s conftest$ac_exeext'
54035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54036 (eval $ac_try) 2>&5
54037 ac_status=$?
54038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54039 (exit $ac_status); }; }; then
54040 eval "$as_ac_var=yes"
54041 else
54042 echo "$as_me: failed program was:" >&5
54043 sed 's/^/| /' conftest.$ac_ext >&5
54045 eval "$as_ac_var=no"
54047 rm -f conftest.err conftest.$ac_objext \
54048 conftest$ac_exeext conftest.$ac_ext
54050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54052 if test `eval echo '${'$as_ac_var'}'` = yes; then
54053 cat >>confdefs.h <<_ACEOF
54054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54055 _ACEOF
54058 done
54060 else
54062 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
54063 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
54064 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54065 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
54066 echo $ECHO_N "(cached) $ECHO_C" >&6
54067 else
54071 ac_ext=cc
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54077 cat >conftest.$ac_ext <<_ACEOF
54078 /* confdefs.h. */
54079 _ACEOF
54080 cat confdefs.h >>conftest.$ac_ext
54081 cat >>conftest.$ac_ext <<_ACEOF
54082 /* end confdefs.h. */
54083 #include <math.h>
54084 #ifdef HAVE_IEEEFP_H
54085 #include <ieeefp.h>
54086 #endif
54089 main ()
54091 _finitef(0);
54093 return 0;
54095 _ACEOF
54096 rm -f conftest.$ac_objext
54097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54098 (eval $ac_compile) 2>conftest.er1
54099 ac_status=$?
54100 grep -v '^ *+' conftest.er1 >conftest.err
54101 rm -f conftest.er1
54102 cat conftest.err >&5
54103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54104 (exit $ac_status); } &&
54105 { ac_try='test -z "$ac_cxx_werror_flag"
54106 || test ! -s conftest.err'
54107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54108 (eval $ac_try) 2>&5
54109 ac_status=$?
54110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54111 (exit $ac_status); }; } &&
54112 { ac_try='test -s conftest.$ac_objext'
54113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54114 (eval $ac_try) 2>&5
54115 ac_status=$?
54116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54117 (exit $ac_status); }; }; then
54118 glibcxx_cv_func__finitef_use=yes
54119 else
54120 echo "$as_me: failed program was:" >&5
54121 sed 's/^/| /' conftest.$ac_ext >&5
54123 glibcxx_cv_func__finitef_use=no
54125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54126 ac_ext=c
54127 ac_cpp='$CPP $CPPFLAGS'
54128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
54137 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
54139 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54141 for ac_func in _finitef
54143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54144 echo "$as_me:$LINENO: checking for $ac_func" >&5
54145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54146 if eval "test \"\${$as_ac_var+set}\" = set"; then
54147 echo $ECHO_N "(cached) $ECHO_C" >&6
54148 else
54149 if test x$gcc_no_link = xyes; then
54150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54152 { (exit 1); exit 1; }; }
54154 cat >conftest.$ac_ext <<_ACEOF
54155 /* confdefs.h. */
54156 _ACEOF
54157 cat confdefs.h >>conftest.$ac_ext
54158 cat >>conftest.$ac_ext <<_ACEOF
54159 /* end confdefs.h. */
54160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54162 #define $ac_func innocuous_$ac_func
54164 /* System header to define __stub macros and hopefully few prototypes,
54165 which can conflict with char $ac_func (); below.
54166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54167 <limits.h> exists even on freestanding compilers. */
54169 #ifdef __STDC__
54170 # include <limits.h>
54171 #else
54172 # include <assert.h>
54173 #endif
54175 #undef $ac_func
54177 /* Override any gcc2 internal prototype to avoid an error. */
54178 #ifdef __cplusplus
54179 extern "C"
54181 #endif
54182 /* We use char because int might match the return type of a gcc2
54183 builtin and then its argument prototype would still apply. */
54184 char $ac_func ();
54185 /* The GNU C library defines this for functions which it implements
54186 to always fail with ENOSYS. Some functions are actually named
54187 something starting with __ and the normal name is an alias. */
54188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54189 choke me
54190 #else
54191 char (*f) () = $ac_func;
54192 #endif
54193 #ifdef __cplusplus
54195 #endif
54198 main ()
54200 return f != $ac_func;
54202 return 0;
54204 _ACEOF
54205 rm -f conftest.$ac_objext conftest$ac_exeext
54206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54207 (eval $ac_link) 2>conftest.er1
54208 ac_status=$?
54209 grep -v '^ *+' conftest.er1 >conftest.err
54210 rm -f conftest.er1
54211 cat conftest.err >&5
54212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54213 (exit $ac_status); } &&
54214 { ac_try='test -z "$ac_c_werror_flag"
54215 || test ! -s conftest.err'
54216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54217 (eval $ac_try) 2>&5
54218 ac_status=$?
54219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54220 (exit $ac_status); }; } &&
54221 { ac_try='test -s conftest$ac_exeext'
54222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54223 (eval $ac_try) 2>&5
54224 ac_status=$?
54225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54226 (exit $ac_status); }; }; then
54227 eval "$as_ac_var=yes"
54228 else
54229 echo "$as_me: failed program was:" >&5
54230 sed 's/^/| /' conftest.$ac_ext >&5
54232 eval "$as_ac_var=no"
54234 rm -f conftest.err conftest.$ac_objext \
54235 conftest$ac_exeext conftest.$ac_ext
54237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54239 if test `eval echo '${'$as_ac_var'}'` = yes; then
54240 cat >>confdefs.h <<_ACEOF
54241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54242 _ACEOF
54245 done
54255 echo "$as_me:$LINENO: checking for long double trig functions" >&5
54256 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
54257 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
54258 echo $ECHO_N "(cached) $ECHO_C" >&6
54259 else
54263 ac_ext=cc
54264 ac_cpp='$CXXCPP $CPPFLAGS'
54265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54269 cat >conftest.$ac_ext <<_ACEOF
54270 /* confdefs.h. */
54271 _ACEOF
54272 cat confdefs.h >>conftest.$ac_ext
54273 cat >>conftest.$ac_ext <<_ACEOF
54274 /* end confdefs.h. */
54275 #include <math.h>
54277 main ()
54279 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54281 return 0;
54283 _ACEOF
54284 rm -f conftest.$ac_objext
54285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54286 (eval $ac_compile) 2>conftest.er1
54287 ac_status=$?
54288 grep -v '^ *+' conftest.er1 >conftest.err
54289 rm -f conftest.er1
54290 cat conftest.err >&5
54291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54292 (exit $ac_status); } &&
54293 { ac_try='test -z "$ac_cxx_werror_flag"
54294 || test ! -s conftest.err'
54295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54296 (eval $ac_try) 2>&5
54297 ac_status=$?
54298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54299 (exit $ac_status); }; } &&
54300 { ac_try='test -s conftest.$ac_objext'
54301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54302 (eval $ac_try) 2>&5
54303 ac_status=$?
54304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54305 (exit $ac_status); }; }; then
54306 glibcxx_cv_func_long_double_trig_use=yes
54307 else
54308 echo "$as_me: failed program was:" >&5
54309 sed 's/^/| /' conftest.$ac_ext >&5
54311 glibcxx_cv_func_long_double_trig_use=no
54313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54314 ac_ext=c
54315 ac_cpp='$CPP $CPPFLAGS'
54316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
54323 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
54324 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54334 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54337 echo "$as_me:$LINENO: checking for $ac_func" >&5
54338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54339 if eval "test \"\${$as_ac_var+set}\" = set"; then
54340 echo $ECHO_N "(cached) $ECHO_C" >&6
54341 else
54342 if test x$gcc_no_link = xyes; then
54343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54345 { (exit 1); exit 1; }; }
54347 cat >conftest.$ac_ext <<_ACEOF
54348 /* confdefs.h. */
54349 _ACEOF
54350 cat confdefs.h >>conftest.$ac_ext
54351 cat >>conftest.$ac_ext <<_ACEOF
54352 /* end confdefs.h. */
54353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54355 #define $ac_func innocuous_$ac_func
54357 /* System header to define __stub macros and hopefully few prototypes,
54358 which can conflict with char $ac_func (); below.
54359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54360 <limits.h> exists even on freestanding compilers. */
54362 #ifdef __STDC__
54363 # include <limits.h>
54364 #else
54365 # include <assert.h>
54366 #endif
54368 #undef $ac_func
54370 /* Override any gcc2 internal prototype to avoid an error. */
54371 #ifdef __cplusplus
54372 extern "C"
54374 #endif
54375 /* We use char because int might match the return type of a gcc2
54376 builtin and then its argument prototype would still apply. */
54377 char $ac_func ();
54378 /* The GNU C library defines this for functions which it implements
54379 to always fail with ENOSYS. Some functions are actually named
54380 something starting with __ and the normal name is an alias. */
54381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54382 choke me
54383 #else
54384 char (*f) () = $ac_func;
54385 #endif
54386 #ifdef __cplusplus
54388 #endif
54391 main ()
54393 return f != $ac_func;
54395 return 0;
54397 _ACEOF
54398 rm -f conftest.$ac_objext conftest$ac_exeext
54399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54400 (eval $ac_link) 2>conftest.er1
54401 ac_status=$?
54402 grep -v '^ *+' conftest.er1 >conftest.err
54403 rm -f conftest.er1
54404 cat conftest.err >&5
54405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54406 (exit $ac_status); } &&
54407 { ac_try='test -z "$ac_c_werror_flag"
54408 || test ! -s conftest.err'
54409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54410 (eval $ac_try) 2>&5
54411 ac_status=$?
54412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54413 (exit $ac_status); }; } &&
54414 { ac_try='test -s conftest$ac_exeext'
54415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54416 (eval $ac_try) 2>&5
54417 ac_status=$?
54418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54419 (exit $ac_status); }; }; then
54420 eval "$as_ac_var=yes"
54421 else
54422 echo "$as_me: failed program was:" >&5
54423 sed 's/^/| /' conftest.$ac_ext >&5
54425 eval "$as_ac_var=no"
54427 rm -f conftest.err conftest.$ac_objext \
54428 conftest$ac_exeext conftest.$ac_ext
54430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54432 if test `eval echo '${'$as_ac_var'}'` = yes; then
54433 cat >>confdefs.h <<_ACEOF
54434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54435 _ACEOF
54438 done
54440 else
54441 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
54442 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
54443 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
54444 echo $ECHO_N "(cached) $ECHO_C" >&6
54445 else
54449 ac_ext=cc
54450 ac_cpp='$CXXCPP $CPPFLAGS'
54451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54455 cat >conftest.$ac_ext <<_ACEOF
54456 /* confdefs.h. */
54457 _ACEOF
54458 cat confdefs.h >>conftest.$ac_ext
54459 cat >>conftest.$ac_ext <<_ACEOF
54460 /* end confdefs.h. */
54461 #include <math.h>
54463 main ()
54465 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54467 return 0;
54469 _ACEOF
54470 rm -f conftest.$ac_objext
54471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54472 (eval $ac_compile) 2>conftest.er1
54473 ac_status=$?
54474 grep -v '^ *+' conftest.er1 >conftest.err
54475 rm -f conftest.er1
54476 cat conftest.err >&5
54477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54478 (exit $ac_status); } &&
54479 { ac_try='test -z "$ac_cxx_werror_flag"
54480 || test ! -s conftest.err'
54481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54482 (eval $ac_try) 2>&5
54483 ac_status=$?
54484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54485 (exit $ac_status); }; } &&
54486 { ac_try='test -s conftest.$ac_objext'
54487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54488 (eval $ac_try) 2>&5
54489 ac_status=$?
54490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54491 (exit $ac_status); }; }; then
54492 glibcxx_cv_func__long_double_trig_use=yes
54493 else
54494 echo "$as_me: failed program was:" >&5
54495 sed 's/^/| /' conftest.$ac_ext >&5
54497 glibcxx_cv_func__long_double_trig_use=no
54499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54500 ac_ext=c
54501 ac_cpp='$CPP $CPPFLAGS'
54502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
54509 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
54510 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54520 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54523 echo "$as_me:$LINENO: checking for $ac_func" >&5
54524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54525 if eval "test \"\${$as_ac_var+set}\" = set"; then
54526 echo $ECHO_N "(cached) $ECHO_C" >&6
54527 else
54528 if test x$gcc_no_link = xyes; then
54529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54531 { (exit 1); exit 1; }; }
54533 cat >conftest.$ac_ext <<_ACEOF
54534 /* confdefs.h. */
54535 _ACEOF
54536 cat confdefs.h >>conftest.$ac_ext
54537 cat >>conftest.$ac_ext <<_ACEOF
54538 /* end confdefs.h. */
54539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54541 #define $ac_func innocuous_$ac_func
54543 /* System header to define __stub macros and hopefully few prototypes,
54544 which can conflict with char $ac_func (); below.
54545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54546 <limits.h> exists even on freestanding compilers. */
54548 #ifdef __STDC__
54549 # include <limits.h>
54550 #else
54551 # include <assert.h>
54552 #endif
54554 #undef $ac_func
54556 /* Override any gcc2 internal prototype to avoid an error. */
54557 #ifdef __cplusplus
54558 extern "C"
54560 #endif
54561 /* We use char because int might match the return type of a gcc2
54562 builtin and then its argument prototype would still apply. */
54563 char $ac_func ();
54564 /* The GNU C library defines this for functions which it implements
54565 to always fail with ENOSYS. Some functions are actually named
54566 something starting with __ and the normal name is an alias. */
54567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54568 choke me
54569 #else
54570 char (*f) () = $ac_func;
54571 #endif
54572 #ifdef __cplusplus
54574 #endif
54577 main ()
54579 return f != $ac_func;
54581 return 0;
54583 _ACEOF
54584 rm -f conftest.$ac_objext conftest$ac_exeext
54585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54586 (eval $ac_link) 2>conftest.er1
54587 ac_status=$?
54588 grep -v '^ *+' conftest.er1 >conftest.err
54589 rm -f conftest.er1
54590 cat conftest.err >&5
54591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54592 (exit $ac_status); } &&
54593 { ac_try='test -z "$ac_c_werror_flag"
54594 || test ! -s conftest.err'
54595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54596 (eval $ac_try) 2>&5
54597 ac_status=$?
54598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54599 (exit $ac_status); }; } &&
54600 { ac_try='test -s conftest$ac_exeext'
54601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54602 (eval $ac_try) 2>&5
54603 ac_status=$?
54604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54605 (exit $ac_status); }; }; then
54606 eval "$as_ac_var=yes"
54607 else
54608 echo "$as_me: failed program was:" >&5
54609 sed 's/^/| /' conftest.$ac_ext >&5
54611 eval "$as_ac_var=no"
54613 rm -f conftest.err conftest.$ac_objext \
54614 conftest$ac_exeext conftest.$ac_ext
54616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54618 if test `eval echo '${'$as_ac_var'}'` = yes; then
54619 cat >>confdefs.h <<_ACEOF
54620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54621 _ACEOF
54624 done
54642 echo "$as_me:$LINENO: checking for long double round functions" >&5
54643 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54644 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54645 echo $ECHO_N "(cached) $ECHO_C" >&6
54646 else
54650 ac_ext=cc
54651 ac_cpp='$CXXCPP $CPPFLAGS'
54652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54656 cat >conftest.$ac_ext <<_ACEOF
54657 /* confdefs.h. */
54658 _ACEOF
54659 cat confdefs.h >>conftest.$ac_ext
54660 cat >>conftest.$ac_ext <<_ACEOF
54661 /* end confdefs.h. */
54662 #include <math.h>
54664 main ()
54666 ceill (0); floorl (0);
54668 return 0;
54670 _ACEOF
54671 rm -f conftest.$ac_objext
54672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54673 (eval $ac_compile) 2>conftest.er1
54674 ac_status=$?
54675 grep -v '^ *+' conftest.er1 >conftest.err
54676 rm -f conftest.er1
54677 cat conftest.err >&5
54678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679 (exit $ac_status); } &&
54680 { ac_try='test -z "$ac_cxx_werror_flag"
54681 || test ! -s conftest.err'
54682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54683 (eval $ac_try) 2>&5
54684 ac_status=$?
54685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54686 (exit $ac_status); }; } &&
54687 { ac_try='test -s conftest.$ac_objext'
54688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54689 (eval $ac_try) 2>&5
54690 ac_status=$?
54691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54692 (exit $ac_status); }; }; then
54693 glibcxx_cv_func_long_double_round_use=yes
54694 else
54695 echo "$as_me: failed program was:" >&5
54696 sed 's/^/| /' conftest.$ac_ext >&5
54698 glibcxx_cv_func_long_double_round_use=no
54700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54701 ac_ext=c
54702 ac_cpp='$CPP $CPPFLAGS'
54703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54710 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54711 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54714 for ac_func in ceill floorl
54716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54717 echo "$as_me:$LINENO: checking for $ac_func" >&5
54718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54719 if eval "test \"\${$as_ac_var+set}\" = set"; then
54720 echo $ECHO_N "(cached) $ECHO_C" >&6
54721 else
54722 if test x$gcc_no_link = xyes; then
54723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54725 { (exit 1); exit 1; }; }
54727 cat >conftest.$ac_ext <<_ACEOF
54728 /* confdefs.h. */
54729 _ACEOF
54730 cat confdefs.h >>conftest.$ac_ext
54731 cat >>conftest.$ac_ext <<_ACEOF
54732 /* end confdefs.h. */
54733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54735 #define $ac_func innocuous_$ac_func
54737 /* System header to define __stub macros and hopefully few prototypes,
54738 which can conflict with char $ac_func (); below.
54739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54740 <limits.h> exists even on freestanding compilers. */
54742 #ifdef __STDC__
54743 # include <limits.h>
54744 #else
54745 # include <assert.h>
54746 #endif
54748 #undef $ac_func
54750 /* Override any gcc2 internal prototype to avoid an error. */
54751 #ifdef __cplusplus
54752 extern "C"
54754 #endif
54755 /* We use char because int might match the return type of a gcc2
54756 builtin and then its argument prototype would still apply. */
54757 char $ac_func ();
54758 /* The GNU C library defines this for functions which it implements
54759 to always fail with ENOSYS. Some functions are actually named
54760 something starting with __ and the normal name is an alias. */
54761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54762 choke me
54763 #else
54764 char (*f) () = $ac_func;
54765 #endif
54766 #ifdef __cplusplus
54768 #endif
54771 main ()
54773 return f != $ac_func;
54775 return 0;
54777 _ACEOF
54778 rm -f conftest.$ac_objext conftest$ac_exeext
54779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54780 (eval $ac_link) 2>conftest.er1
54781 ac_status=$?
54782 grep -v '^ *+' conftest.er1 >conftest.err
54783 rm -f conftest.er1
54784 cat conftest.err >&5
54785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54786 (exit $ac_status); } &&
54787 { ac_try='test -z "$ac_c_werror_flag"
54788 || test ! -s conftest.err'
54789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54790 (eval $ac_try) 2>&5
54791 ac_status=$?
54792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54793 (exit $ac_status); }; } &&
54794 { ac_try='test -s conftest$ac_exeext'
54795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54796 (eval $ac_try) 2>&5
54797 ac_status=$?
54798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54799 (exit $ac_status); }; }; then
54800 eval "$as_ac_var=yes"
54801 else
54802 echo "$as_me: failed program was:" >&5
54803 sed 's/^/| /' conftest.$ac_ext >&5
54805 eval "$as_ac_var=no"
54807 rm -f conftest.err conftest.$ac_objext \
54808 conftest$ac_exeext conftest.$ac_ext
54810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54812 if test `eval echo '${'$as_ac_var'}'` = yes; then
54813 cat >>confdefs.h <<_ACEOF
54814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54815 _ACEOF
54818 done
54820 else
54821 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54822 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54823 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54824 echo $ECHO_N "(cached) $ECHO_C" >&6
54825 else
54829 ac_ext=cc
54830 ac_cpp='$CXXCPP $CPPFLAGS'
54831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54835 cat >conftest.$ac_ext <<_ACEOF
54836 /* confdefs.h. */
54837 _ACEOF
54838 cat confdefs.h >>conftest.$ac_ext
54839 cat >>conftest.$ac_ext <<_ACEOF
54840 /* end confdefs.h. */
54841 #include <math.h>
54843 main ()
54845 _ceill (0); _floorl (0);
54847 return 0;
54849 _ACEOF
54850 rm -f conftest.$ac_objext
54851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54852 (eval $ac_compile) 2>conftest.er1
54853 ac_status=$?
54854 grep -v '^ *+' conftest.er1 >conftest.err
54855 rm -f conftest.er1
54856 cat conftest.err >&5
54857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54858 (exit $ac_status); } &&
54859 { ac_try='test -z "$ac_cxx_werror_flag"
54860 || test ! -s conftest.err'
54861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54862 (eval $ac_try) 2>&5
54863 ac_status=$?
54864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54865 (exit $ac_status); }; } &&
54866 { ac_try='test -s conftest.$ac_objext'
54867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54868 (eval $ac_try) 2>&5
54869 ac_status=$?
54870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54871 (exit $ac_status); }; }; then
54872 glibcxx_cv_func__long_double_round_use=yes
54873 else
54874 echo "$as_me: failed program was:" >&5
54875 sed 's/^/| /' conftest.$ac_ext >&5
54877 glibcxx_cv_func__long_double_round_use=no
54879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54880 ac_ext=c
54881 ac_cpp='$CPP $CPPFLAGS'
54882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54889 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54890 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54893 for ac_func in _ceill _floorl
54895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54896 echo "$as_me:$LINENO: checking for $ac_func" >&5
54897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54898 if eval "test \"\${$as_ac_var+set}\" = set"; then
54899 echo $ECHO_N "(cached) $ECHO_C" >&6
54900 else
54901 if test x$gcc_no_link = xyes; then
54902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54904 { (exit 1); exit 1; }; }
54906 cat >conftest.$ac_ext <<_ACEOF
54907 /* confdefs.h. */
54908 _ACEOF
54909 cat confdefs.h >>conftest.$ac_ext
54910 cat >>conftest.$ac_ext <<_ACEOF
54911 /* end confdefs.h. */
54912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54914 #define $ac_func innocuous_$ac_func
54916 /* System header to define __stub macros and hopefully few prototypes,
54917 which can conflict with char $ac_func (); below.
54918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54919 <limits.h> exists even on freestanding compilers. */
54921 #ifdef __STDC__
54922 # include <limits.h>
54923 #else
54924 # include <assert.h>
54925 #endif
54927 #undef $ac_func
54929 /* Override any gcc2 internal prototype to avoid an error. */
54930 #ifdef __cplusplus
54931 extern "C"
54933 #endif
54934 /* We use char because int might match the return type of a gcc2
54935 builtin and then its argument prototype would still apply. */
54936 char $ac_func ();
54937 /* The GNU C library defines this for functions which it implements
54938 to always fail with ENOSYS. Some functions are actually named
54939 something starting with __ and the normal name is an alias. */
54940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54941 choke me
54942 #else
54943 char (*f) () = $ac_func;
54944 #endif
54945 #ifdef __cplusplus
54947 #endif
54950 main ()
54952 return f != $ac_func;
54954 return 0;
54956 _ACEOF
54957 rm -f conftest.$ac_objext conftest$ac_exeext
54958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54959 (eval $ac_link) 2>conftest.er1
54960 ac_status=$?
54961 grep -v '^ *+' conftest.er1 >conftest.err
54962 rm -f conftest.er1
54963 cat conftest.err >&5
54964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54965 (exit $ac_status); } &&
54966 { ac_try='test -z "$ac_c_werror_flag"
54967 || test ! -s conftest.err'
54968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54969 (eval $ac_try) 2>&5
54970 ac_status=$?
54971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54972 (exit $ac_status); }; } &&
54973 { ac_try='test -s conftest$ac_exeext'
54974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54975 (eval $ac_try) 2>&5
54976 ac_status=$?
54977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54978 (exit $ac_status); }; }; then
54979 eval "$as_ac_var=yes"
54980 else
54981 echo "$as_me: failed program was:" >&5
54982 sed 's/^/| /' conftest.$ac_ext >&5
54984 eval "$as_ac_var=no"
54986 rm -f conftest.err conftest.$ac_objext \
54987 conftest$ac_exeext conftest.$ac_ext
54989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54991 if test `eval echo '${'$as_ac_var'}'` = yes; then
54992 cat >>confdefs.h <<_ACEOF
54993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54994 _ACEOF
54997 done
55009 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
55010 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
55011 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55012 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
55013 echo $ECHO_N "(cached) $ECHO_C" >&6
55014 else
55018 ac_ext=cc
55019 ac_cpp='$CXXCPP $CPPFLAGS'
55020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55024 cat >conftest.$ac_ext <<_ACEOF
55025 /* confdefs.h. */
55026 _ACEOF
55027 cat confdefs.h >>conftest.$ac_ext
55028 cat >>conftest.$ac_ext <<_ACEOF
55029 /* end confdefs.h. */
55030 #include <math.h>
55031 #ifdef HAVE_IEEEFP_H
55032 #include <ieeefp.h>
55033 #endif
55036 main ()
55038 isnanl(0);
55040 return 0;
55042 _ACEOF
55043 rm -f conftest.$ac_objext
55044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55045 (eval $ac_compile) 2>conftest.er1
55046 ac_status=$?
55047 grep -v '^ *+' conftest.er1 >conftest.err
55048 rm -f conftest.er1
55049 cat conftest.err >&5
55050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55051 (exit $ac_status); } &&
55052 { ac_try='test -z "$ac_cxx_werror_flag"
55053 || test ! -s conftest.err'
55054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55055 (eval $ac_try) 2>&5
55056 ac_status=$?
55057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55058 (exit $ac_status); }; } &&
55059 { ac_try='test -s conftest.$ac_objext'
55060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55061 (eval $ac_try) 2>&5
55062 ac_status=$?
55063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55064 (exit $ac_status); }; }; then
55065 glibcxx_cv_func_isnanl_use=yes
55066 else
55067 echo "$as_me: failed program was:" >&5
55068 sed 's/^/| /' conftest.$ac_ext >&5
55070 glibcxx_cv_func_isnanl_use=no
55072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55073 ac_ext=c
55074 ac_cpp='$CPP $CPPFLAGS'
55075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
55084 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
55086 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55088 for ac_func in isnanl
55090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55091 echo "$as_me:$LINENO: checking for $ac_func" >&5
55092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55093 if eval "test \"\${$as_ac_var+set}\" = set"; then
55094 echo $ECHO_N "(cached) $ECHO_C" >&6
55095 else
55096 if test x$gcc_no_link = xyes; then
55097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55099 { (exit 1); exit 1; }; }
55101 cat >conftest.$ac_ext <<_ACEOF
55102 /* confdefs.h. */
55103 _ACEOF
55104 cat confdefs.h >>conftest.$ac_ext
55105 cat >>conftest.$ac_ext <<_ACEOF
55106 /* end confdefs.h. */
55107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55109 #define $ac_func innocuous_$ac_func
55111 /* System header to define __stub macros and hopefully few prototypes,
55112 which can conflict with char $ac_func (); below.
55113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55114 <limits.h> exists even on freestanding compilers. */
55116 #ifdef __STDC__
55117 # include <limits.h>
55118 #else
55119 # include <assert.h>
55120 #endif
55122 #undef $ac_func
55124 /* Override any gcc2 internal prototype to avoid an error. */
55125 #ifdef __cplusplus
55126 extern "C"
55128 #endif
55129 /* We use char because int might match the return type of a gcc2
55130 builtin and then its argument prototype would still apply. */
55131 char $ac_func ();
55132 /* The GNU C library defines this for functions which it implements
55133 to always fail with ENOSYS. Some functions are actually named
55134 something starting with __ and the normal name is an alias. */
55135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55136 choke me
55137 #else
55138 char (*f) () = $ac_func;
55139 #endif
55140 #ifdef __cplusplus
55142 #endif
55145 main ()
55147 return f != $ac_func;
55149 return 0;
55151 _ACEOF
55152 rm -f conftest.$ac_objext conftest$ac_exeext
55153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55154 (eval $ac_link) 2>conftest.er1
55155 ac_status=$?
55156 grep -v '^ *+' conftest.er1 >conftest.err
55157 rm -f conftest.er1
55158 cat conftest.err >&5
55159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55160 (exit $ac_status); } &&
55161 { ac_try='test -z "$ac_c_werror_flag"
55162 || test ! -s conftest.err'
55163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55164 (eval $ac_try) 2>&5
55165 ac_status=$?
55166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55167 (exit $ac_status); }; } &&
55168 { ac_try='test -s conftest$ac_exeext'
55169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55170 (eval $ac_try) 2>&5
55171 ac_status=$?
55172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55173 (exit $ac_status); }; }; then
55174 eval "$as_ac_var=yes"
55175 else
55176 echo "$as_me: failed program was:" >&5
55177 sed 's/^/| /' conftest.$ac_ext >&5
55179 eval "$as_ac_var=no"
55181 rm -f conftest.err conftest.$ac_objext \
55182 conftest$ac_exeext conftest.$ac_ext
55184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55186 if test `eval echo '${'$as_ac_var'}'` = yes; then
55187 cat >>confdefs.h <<_ACEOF
55188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55189 _ACEOF
55192 done
55194 else
55196 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
55197 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
55198 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55199 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
55200 echo $ECHO_N "(cached) $ECHO_C" >&6
55201 else
55205 ac_ext=cc
55206 ac_cpp='$CXXCPP $CPPFLAGS'
55207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55211 cat >conftest.$ac_ext <<_ACEOF
55212 /* confdefs.h. */
55213 _ACEOF
55214 cat confdefs.h >>conftest.$ac_ext
55215 cat >>conftest.$ac_ext <<_ACEOF
55216 /* end confdefs.h. */
55217 #include <math.h>
55218 #ifdef HAVE_IEEEFP_H
55219 #include <ieeefp.h>
55220 #endif
55223 main ()
55225 _isnanl(0);
55227 return 0;
55229 _ACEOF
55230 rm -f conftest.$ac_objext
55231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55232 (eval $ac_compile) 2>conftest.er1
55233 ac_status=$?
55234 grep -v '^ *+' conftest.er1 >conftest.err
55235 rm -f conftest.er1
55236 cat conftest.err >&5
55237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55238 (exit $ac_status); } &&
55239 { ac_try='test -z "$ac_cxx_werror_flag"
55240 || test ! -s conftest.err'
55241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55242 (eval $ac_try) 2>&5
55243 ac_status=$?
55244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55245 (exit $ac_status); }; } &&
55246 { ac_try='test -s conftest.$ac_objext'
55247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55248 (eval $ac_try) 2>&5
55249 ac_status=$?
55250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55251 (exit $ac_status); }; }; then
55252 glibcxx_cv_func__isnanl_use=yes
55253 else
55254 echo "$as_me: failed program was:" >&5
55255 sed 's/^/| /' conftest.$ac_ext >&5
55257 glibcxx_cv_func__isnanl_use=no
55259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55260 ac_ext=c
55261 ac_cpp='$CPP $CPPFLAGS'
55262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
55271 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
55273 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55275 for ac_func in _isnanl
55277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55278 echo "$as_me:$LINENO: checking for $ac_func" >&5
55279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55280 if eval "test \"\${$as_ac_var+set}\" = set"; then
55281 echo $ECHO_N "(cached) $ECHO_C" >&6
55282 else
55283 if test x$gcc_no_link = xyes; then
55284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55286 { (exit 1); exit 1; }; }
55288 cat >conftest.$ac_ext <<_ACEOF
55289 /* confdefs.h. */
55290 _ACEOF
55291 cat confdefs.h >>conftest.$ac_ext
55292 cat >>conftest.$ac_ext <<_ACEOF
55293 /* end confdefs.h. */
55294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55296 #define $ac_func innocuous_$ac_func
55298 /* System header to define __stub macros and hopefully few prototypes,
55299 which can conflict with char $ac_func (); below.
55300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55301 <limits.h> exists even on freestanding compilers. */
55303 #ifdef __STDC__
55304 # include <limits.h>
55305 #else
55306 # include <assert.h>
55307 #endif
55309 #undef $ac_func
55311 /* Override any gcc2 internal prototype to avoid an error. */
55312 #ifdef __cplusplus
55313 extern "C"
55315 #endif
55316 /* We use char because int might match the return type of a gcc2
55317 builtin and then its argument prototype would still apply. */
55318 char $ac_func ();
55319 /* The GNU C library defines this for functions which it implements
55320 to always fail with ENOSYS. Some functions are actually named
55321 something starting with __ and the normal name is an alias. */
55322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55323 choke me
55324 #else
55325 char (*f) () = $ac_func;
55326 #endif
55327 #ifdef __cplusplus
55329 #endif
55332 main ()
55334 return f != $ac_func;
55336 return 0;
55338 _ACEOF
55339 rm -f conftest.$ac_objext conftest$ac_exeext
55340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55341 (eval $ac_link) 2>conftest.er1
55342 ac_status=$?
55343 grep -v '^ *+' conftest.er1 >conftest.err
55344 rm -f conftest.er1
55345 cat conftest.err >&5
55346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55347 (exit $ac_status); } &&
55348 { ac_try='test -z "$ac_c_werror_flag"
55349 || test ! -s conftest.err'
55350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55351 (eval $ac_try) 2>&5
55352 ac_status=$?
55353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55354 (exit $ac_status); }; } &&
55355 { ac_try='test -s conftest$ac_exeext'
55356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55357 (eval $ac_try) 2>&5
55358 ac_status=$?
55359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55360 (exit $ac_status); }; }; then
55361 eval "$as_ac_var=yes"
55362 else
55363 echo "$as_me: failed program was:" >&5
55364 sed 's/^/| /' conftest.$ac_ext >&5
55366 eval "$as_ac_var=no"
55368 rm -f conftest.err conftest.$ac_objext \
55369 conftest$ac_exeext conftest.$ac_ext
55371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55373 if test `eval echo '${'$as_ac_var'}'` = yes; then
55374 cat >>confdefs.h <<_ACEOF
55375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55376 _ACEOF
55379 done
55389 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
55390 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
55391 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55392 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
55393 echo $ECHO_N "(cached) $ECHO_C" >&6
55394 else
55398 ac_ext=cc
55399 ac_cpp='$CXXCPP $CPPFLAGS'
55400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55404 cat >conftest.$ac_ext <<_ACEOF
55405 /* confdefs.h. */
55406 _ACEOF
55407 cat confdefs.h >>conftest.$ac_ext
55408 cat >>conftest.$ac_ext <<_ACEOF
55409 /* end confdefs.h. */
55410 #include <math.h>
55411 #ifdef HAVE_IEEEFP_H
55412 #include <ieeefp.h>
55413 #endif
55416 main ()
55418 isinfl(0);
55420 return 0;
55422 _ACEOF
55423 rm -f conftest.$ac_objext
55424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55425 (eval $ac_compile) 2>conftest.er1
55426 ac_status=$?
55427 grep -v '^ *+' conftest.er1 >conftest.err
55428 rm -f conftest.er1
55429 cat conftest.err >&5
55430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431 (exit $ac_status); } &&
55432 { ac_try='test -z "$ac_cxx_werror_flag"
55433 || test ! -s conftest.err'
55434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55435 (eval $ac_try) 2>&5
55436 ac_status=$?
55437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55438 (exit $ac_status); }; } &&
55439 { ac_try='test -s conftest.$ac_objext'
55440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55441 (eval $ac_try) 2>&5
55442 ac_status=$?
55443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55444 (exit $ac_status); }; }; then
55445 glibcxx_cv_func_isinfl_use=yes
55446 else
55447 echo "$as_me: failed program was:" >&5
55448 sed 's/^/| /' conftest.$ac_ext >&5
55450 glibcxx_cv_func_isinfl_use=no
55452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55453 ac_ext=c
55454 ac_cpp='$CPP $CPPFLAGS'
55455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
55464 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
55466 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55468 for ac_func in isinfl
55470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55471 echo "$as_me:$LINENO: checking for $ac_func" >&5
55472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55473 if eval "test \"\${$as_ac_var+set}\" = set"; then
55474 echo $ECHO_N "(cached) $ECHO_C" >&6
55475 else
55476 if test x$gcc_no_link = xyes; then
55477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55479 { (exit 1); exit 1; }; }
55481 cat >conftest.$ac_ext <<_ACEOF
55482 /* confdefs.h. */
55483 _ACEOF
55484 cat confdefs.h >>conftest.$ac_ext
55485 cat >>conftest.$ac_ext <<_ACEOF
55486 /* end confdefs.h. */
55487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55489 #define $ac_func innocuous_$ac_func
55491 /* System header to define __stub macros and hopefully few prototypes,
55492 which can conflict with char $ac_func (); below.
55493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55494 <limits.h> exists even on freestanding compilers. */
55496 #ifdef __STDC__
55497 # include <limits.h>
55498 #else
55499 # include <assert.h>
55500 #endif
55502 #undef $ac_func
55504 /* Override any gcc2 internal prototype to avoid an error. */
55505 #ifdef __cplusplus
55506 extern "C"
55508 #endif
55509 /* We use char because int might match the return type of a gcc2
55510 builtin and then its argument prototype would still apply. */
55511 char $ac_func ();
55512 /* The GNU C library defines this for functions which it implements
55513 to always fail with ENOSYS. Some functions are actually named
55514 something starting with __ and the normal name is an alias. */
55515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55516 choke me
55517 #else
55518 char (*f) () = $ac_func;
55519 #endif
55520 #ifdef __cplusplus
55522 #endif
55525 main ()
55527 return f != $ac_func;
55529 return 0;
55531 _ACEOF
55532 rm -f conftest.$ac_objext conftest$ac_exeext
55533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55534 (eval $ac_link) 2>conftest.er1
55535 ac_status=$?
55536 grep -v '^ *+' conftest.er1 >conftest.err
55537 rm -f conftest.er1
55538 cat conftest.err >&5
55539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540 (exit $ac_status); } &&
55541 { ac_try='test -z "$ac_c_werror_flag"
55542 || test ! -s conftest.err'
55543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55544 (eval $ac_try) 2>&5
55545 ac_status=$?
55546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55547 (exit $ac_status); }; } &&
55548 { ac_try='test -s conftest$ac_exeext'
55549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55550 (eval $ac_try) 2>&5
55551 ac_status=$?
55552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55553 (exit $ac_status); }; }; then
55554 eval "$as_ac_var=yes"
55555 else
55556 echo "$as_me: failed program was:" >&5
55557 sed 's/^/| /' conftest.$ac_ext >&5
55559 eval "$as_ac_var=no"
55561 rm -f conftest.err conftest.$ac_objext \
55562 conftest$ac_exeext conftest.$ac_ext
55564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55566 if test `eval echo '${'$as_ac_var'}'` = yes; then
55567 cat >>confdefs.h <<_ACEOF
55568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55569 _ACEOF
55572 done
55574 else
55576 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55577 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55578 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55579 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55580 echo $ECHO_N "(cached) $ECHO_C" >&6
55581 else
55585 ac_ext=cc
55586 ac_cpp='$CXXCPP $CPPFLAGS'
55587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55591 cat >conftest.$ac_ext <<_ACEOF
55592 /* confdefs.h. */
55593 _ACEOF
55594 cat confdefs.h >>conftest.$ac_ext
55595 cat >>conftest.$ac_ext <<_ACEOF
55596 /* end confdefs.h. */
55597 #include <math.h>
55598 #ifdef HAVE_IEEEFP_H
55599 #include <ieeefp.h>
55600 #endif
55603 main ()
55605 _isinfl(0);
55607 return 0;
55609 _ACEOF
55610 rm -f conftest.$ac_objext
55611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55612 (eval $ac_compile) 2>conftest.er1
55613 ac_status=$?
55614 grep -v '^ *+' conftest.er1 >conftest.err
55615 rm -f conftest.er1
55616 cat conftest.err >&5
55617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55618 (exit $ac_status); } &&
55619 { ac_try='test -z "$ac_cxx_werror_flag"
55620 || test ! -s conftest.err'
55621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55622 (eval $ac_try) 2>&5
55623 ac_status=$?
55624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55625 (exit $ac_status); }; } &&
55626 { ac_try='test -s conftest.$ac_objext'
55627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55628 (eval $ac_try) 2>&5
55629 ac_status=$?
55630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55631 (exit $ac_status); }; }; then
55632 glibcxx_cv_func__isinfl_use=yes
55633 else
55634 echo "$as_me: failed program was:" >&5
55635 sed 's/^/| /' conftest.$ac_ext >&5
55637 glibcxx_cv_func__isinfl_use=no
55639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55640 ac_ext=c
55641 ac_cpp='$CPP $CPPFLAGS'
55642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55651 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55653 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55655 for ac_func in _isinfl
55657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55658 echo "$as_me:$LINENO: checking for $ac_func" >&5
55659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55660 if eval "test \"\${$as_ac_var+set}\" = set"; then
55661 echo $ECHO_N "(cached) $ECHO_C" >&6
55662 else
55663 if test x$gcc_no_link = xyes; then
55664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55666 { (exit 1); exit 1; }; }
55668 cat >conftest.$ac_ext <<_ACEOF
55669 /* confdefs.h. */
55670 _ACEOF
55671 cat confdefs.h >>conftest.$ac_ext
55672 cat >>conftest.$ac_ext <<_ACEOF
55673 /* end confdefs.h. */
55674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55676 #define $ac_func innocuous_$ac_func
55678 /* System header to define __stub macros and hopefully few prototypes,
55679 which can conflict with char $ac_func (); below.
55680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55681 <limits.h> exists even on freestanding compilers. */
55683 #ifdef __STDC__
55684 # include <limits.h>
55685 #else
55686 # include <assert.h>
55687 #endif
55689 #undef $ac_func
55691 /* Override any gcc2 internal prototype to avoid an error. */
55692 #ifdef __cplusplus
55693 extern "C"
55695 #endif
55696 /* We use char because int might match the return type of a gcc2
55697 builtin and then its argument prototype would still apply. */
55698 char $ac_func ();
55699 /* The GNU C library defines this for functions which it implements
55700 to always fail with ENOSYS. Some functions are actually named
55701 something starting with __ and the normal name is an alias. */
55702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55703 choke me
55704 #else
55705 char (*f) () = $ac_func;
55706 #endif
55707 #ifdef __cplusplus
55709 #endif
55712 main ()
55714 return f != $ac_func;
55716 return 0;
55718 _ACEOF
55719 rm -f conftest.$ac_objext conftest$ac_exeext
55720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55721 (eval $ac_link) 2>conftest.er1
55722 ac_status=$?
55723 grep -v '^ *+' conftest.er1 >conftest.err
55724 rm -f conftest.er1
55725 cat conftest.err >&5
55726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55727 (exit $ac_status); } &&
55728 { ac_try='test -z "$ac_c_werror_flag"
55729 || test ! -s conftest.err'
55730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55731 (eval $ac_try) 2>&5
55732 ac_status=$?
55733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55734 (exit $ac_status); }; } &&
55735 { ac_try='test -s conftest$ac_exeext'
55736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55737 (eval $ac_try) 2>&5
55738 ac_status=$?
55739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55740 (exit $ac_status); }; }; then
55741 eval "$as_ac_var=yes"
55742 else
55743 echo "$as_me: failed program was:" >&5
55744 sed 's/^/| /' conftest.$ac_ext >&5
55746 eval "$as_ac_var=no"
55748 rm -f conftest.err conftest.$ac_objext \
55749 conftest$ac_exeext conftest.$ac_ext
55751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55753 if test `eval echo '${'$as_ac_var'}'` = yes; then
55754 cat >>confdefs.h <<_ACEOF
55755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55756 _ACEOF
55759 done
55769 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55770 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55771 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55772 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55773 echo $ECHO_N "(cached) $ECHO_C" >&6
55774 else
55778 ac_ext=cc
55779 ac_cpp='$CXXCPP $CPPFLAGS'
55780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55784 cat >conftest.$ac_ext <<_ACEOF
55785 /* confdefs.h. */
55786 _ACEOF
55787 cat confdefs.h >>conftest.$ac_ext
55788 cat >>conftest.$ac_ext <<_ACEOF
55789 /* end confdefs.h. */
55790 #include <math.h>
55792 main ()
55794 copysignl(0, 0);
55796 return 0;
55798 _ACEOF
55799 rm -f conftest.$ac_objext
55800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55801 (eval $ac_compile) 2>conftest.er1
55802 ac_status=$?
55803 grep -v '^ *+' conftest.er1 >conftest.err
55804 rm -f conftest.er1
55805 cat conftest.err >&5
55806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55807 (exit $ac_status); } &&
55808 { ac_try='test -z "$ac_cxx_werror_flag"
55809 || test ! -s conftest.err'
55810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55811 (eval $ac_try) 2>&5
55812 ac_status=$?
55813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55814 (exit $ac_status); }; } &&
55815 { ac_try='test -s conftest.$ac_objext'
55816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55817 (eval $ac_try) 2>&5
55818 ac_status=$?
55819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55820 (exit $ac_status); }; }; then
55821 glibcxx_cv_func_copysignl_use=yes
55822 else
55823 echo "$as_me: failed program was:" >&5
55824 sed 's/^/| /' conftest.$ac_ext >&5
55826 glibcxx_cv_func_copysignl_use=no
55828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55829 ac_ext=c
55830 ac_cpp='$CPP $CPPFLAGS'
55831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55840 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55842 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55844 for ac_func in copysignl
55846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55847 echo "$as_me:$LINENO: checking for $ac_func" >&5
55848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55849 if eval "test \"\${$as_ac_var+set}\" = set"; then
55850 echo $ECHO_N "(cached) $ECHO_C" >&6
55851 else
55852 if test x$gcc_no_link = xyes; then
55853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55855 { (exit 1); exit 1; }; }
55857 cat >conftest.$ac_ext <<_ACEOF
55858 /* confdefs.h. */
55859 _ACEOF
55860 cat confdefs.h >>conftest.$ac_ext
55861 cat >>conftest.$ac_ext <<_ACEOF
55862 /* end confdefs.h. */
55863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55865 #define $ac_func innocuous_$ac_func
55867 /* System header to define __stub macros and hopefully few prototypes,
55868 which can conflict with char $ac_func (); below.
55869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55870 <limits.h> exists even on freestanding compilers. */
55872 #ifdef __STDC__
55873 # include <limits.h>
55874 #else
55875 # include <assert.h>
55876 #endif
55878 #undef $ac_func
55880 /* Override any gcc2 internal prototype to avoid an error. */
55881 #ifdef __cplusplus
55882 extern "C"
55884 #endif
55885 /* We use char because int might match the return type of a gcc2
55886 builtin and then its argument prototype would still apply. */
55887 char $ac_func ();
55888 /* The GNU C library defines this for functions which it implements
55889 to always fail with ENOSYS. Some functions are actually named
55890 something starting with __ and the normal name is an alias. */
55891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55892 choke me
55893 #else
55894 char (*f) () = $ac_func;
55895 #endif
55896 #ifdef __cplusplus
55898 #endif
55901 main ()
55903 return f != $ac_func;
55905 return 0;
55907 _ACEOF
55908 rm -f conftest.$ac_objext conftest$ac_exeext
55909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55910 (eval $ac_link) 2>conftest.er1
55911 ac_status=$?
55912 grep -v '^ *+' conftest.er1 >conftest.err
55913 rm -f conftest.er1
55914 cat conftest.err >&5
55915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55916 (exit $ac_status); } &&
55917 { ac_try='test -z "$ac_c_werror_flag"
55918 || test ! -s conftest.err'
55919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55920 (eval $ac_try) 2>&5
55921 ac_status=$?
55922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55923 (exit $ac_status); }; } &&
55924 { ac_try='test -s conftest$ac_exeext'
55925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55926 (eval $ac_try) 2>&5
55927 ac_status=$?
55928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55929 (exit $ac_status); }; }; then
55930 eval "$as_ac_var=yes"
55931 else
55932 echo "$as_me: failed program was:" >&5
55933 sed 's/^/| /' conftest.$ac_ext >&5
55935 eval "$as_ac_var=no"
55937 rm -f conftest.err conftest.$ac_objext \
55938 conftest$ac_exeext conftest.$ac_ext
55940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55942 if test `eval echo '${'$as_ac_var'}'` = yes; then
55943 cat >>confdefs.h <<_ACEOF
55944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55945 _ACEOF
55948 done
55950 else
55952 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55953 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55954 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55955 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55956 echo $ECHO_N "(cached) $ECHO_C" >&6
55957 else
55961 ac_ext=cc
55962 ac_cpp='$CXXCPP $CPPFLAGS'
55963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55967 cat >conftest.$ac_ext <<_ACEOF
55968 /* confdefs.h. */
55969 _ACEOF
55970 cat confdefs.h >>conftest.$ac_ext
55971 cat >>conftest.$ac_ext <<_ACEOF
55972 /* end confdefs.h. */
55973 #include <math.h>
55975 main ()
55977 _copysignl(0, 0);
55979 return 0;
55981 _ACEOF
55982 rm -f conftest.$ac_objext
55983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55984 (eval $ac_compile) 2>conftest.er1
55985 ac_status=$?
55986 grep -v '^ *+' conftest.er1 >conftest.err
55987 rm -f conftest.er1
55988 cat conftest.err >&5
55989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55990 (exit $ac_status); } &&
55991 { ac_try='test -z "$ac_cxx_werror_flag"
55992 || test ! -s conftest.err'
55993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55994 (eval $ac_try) 2>&5
55995 ac_status=$?
55996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55997 (exit $ac_status); }; } &&
55998 { ac_try='test -s conftest.$ac_objext'
55999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56000 (eval $ac_try) 2>&5
56001 ac_status=$?
56002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56003 (exit $ac_status); }; }; then
56004 glibcxx_cv_func__copysignl_use=yes
56005 else
56006 echo "$as_me: failed program was:" >&5
56007 sed 's/^/| /' conftest.$ac_ext >&5
56009 glibcxx_cv_func__copysignl_use=no
56011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56012 ac_ext=c
56013 ac_cpp='$CPP $CPPFLAGS'
56014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
56023 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
56025 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
56027 for ac_func in _copysignl
56029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56030 echo "$as_me:$LINENO: checking for $ac_func" >&5
56031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56032 if eval "test \"\${$as_ac_var+set}\" = set"; then
56033 echo $ECHO_N "(cached) $ECHO_C" >&6
56034 else
56035 if test x$gcc_no_link = xyes; then
56036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56038 { (exit 1); exit 1; }; }
56040 cat >conftest.$ac_ext <<_ACEOF
56041 /* confdefs.h. */
56042 _ACEOF
56043 cat confdefs.h >>conftest.$ac_ext
56044 cat >>conftest.$ac_ext <<_ACEOF
56045 /* end confdefs.h. */
56046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56048 #define $ac_func innocuous_$ac_func
56050 /* System header to define __stub macros and hopefully few prototypes,
56051 which can conflict with char $ac_func (); below.
56052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56053 <limits.h> exists even on freestanding compilers. */
56055 #ifdef __STDC__
56056 # include <limits.h>
56057 #else
56058 # include <assert.h>
56059 #endif
56061 #undef $ac_func
56063 /* Override any gcc2 internal prototype to avoid an error. */
56064 #ifdef __cplusplus
56065 extern "C"
56067 #endif
56068 /* We use char because int might match the return type of a gcc2
56069 builtin and then its argument prototype would still apply. */
56070 char $ac_func ();
56071 /* The GNU C library defines this for functions which it implements
56072 to always fail with ENOSYS. Some functions are actually named
56073 something starting with __ and the normal name is an alias. */
56074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56075 choke me
56076 #else
56077 char (*f) () = $ac_func;
56078 #endif
56079 #ifdef __cplusplus
56081 #endif
56084 main ()
56086 return f != $ac_func;
56088 return 0;
56090 _ACEOF
56091 rm -f conftest.$ac_objext conftest$ac_exeext
56092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56093 (eval $ac_link) 2>conftest.er1
56094 ac_status=$?
56095 grep -v '^ *+' conftest.er1 >conftest.err
56096 rm -f conftest.er1
56097 cat conftest.err >&5
56098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56099 (exit $ac_status); } &&
56100 { ac_try='test -z "$ac_c_werror_flag"
56101 || test ! -s conftest.err'
56102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56103 (eval $ac_try) 2>&5
56104 ac_status=$?
56105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56106 (exit $ac_status); }; } &&
56107 { ac_try='test -s conftest$ac_exeext'
56108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56109 (eval $ac_try) 2>&5
56110 ac_status=$?
56111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56112 (exit $ac_status); }; }; then
56113 eval "$as_ac_var=yes"
56114 else
56115 echo "$as_me: failed program was:" >&5
56116 sed 's/^/| /' conftest.$ac_ext >&5
56118 eval "$as_ac_var=no"
56120 rm -f conftest.err conftest.$ac_objext \
56121 conftest$ac_exeext conftest.$ac_ext
56123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56125 if test `eval echo '${'$as_ac_var'}'` = yes; then
56126 cat >>confdefs.h <<_ACEOF
56127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56128 _ACEOF
56131 done
56141 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
56142 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
56143 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56144 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
56145 echo $ECHO_N "(cached) $ECHO_C" >&6
56146 else
56150 ac_ext=cc
56151 ac_cpp='$CXXCPP $CPPFLAGS'
56152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56156 cat >conftest.$ac_ext <<_ACEOF
56157 /* confdefs.h. */
56158 _ACEOF
56159 cat confdefs.h >>conftest.$ac_ext
56160 cat >>conftest.$ac_ext <<_ACEOF
56161 /* end confdefs.h. */
56162 #include <math.h>
56164 main ()
56166 atan2l(0, 0);
56168 return 0;
56170 _ACEOF
56171 rm -f conftest.$ac_objext
56172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56173 (eval $ac_compile) 2>conftest.er1
56174 ac_status=$?
56175 grep -v '^ *+' conftest.er1 >conftest.err
56176 rm -f conftest.er1
56177 cat conftest.err >&5
56178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56179 (exit $ac_status); } &&
56180 { ac_try='test -z "$ac_cxx_werror_flag"
56181 || test ! -s conftest.err'
56182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56183 (eval $ac_try) 2>&5
56184 ac_status=$?
56185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56186 (exit $ac_status); }; } &&
56187 { ac_try='test -s conftest.$ac_objext'
56188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56189 (eval $ac_try) 2>&5
56190 ac_status=$?
56191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56192 (exit $ac_status); }; }; then
56193 glibcxx_cv_func_atan2l_use=yes
56194 else
56195 echo "$as_me: failed program was:" >&5
56196 sed 's/^/| /' conftest.$ac_ext >&5
56198 glibcxx_cv_func_atan2l_use=no
56200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56201 ac_ext=c
56202 ac_cpp='$CPP $CPPFLAGS'
56203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
56212 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
56214 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56216 for ac_func in atan2l
56218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56219 echo "$as_me:$LINENO: checking for $ac_func" >&5
56220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56221 if eval "test \"\${$as_ac_var+set}\" = set"; then
56222 echo $ECHO_N "(cached) $ECHO_C" >&6
56223 else
56224 if test x$gcc_no_link = xyes; then
56225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56227 { (exit 1); exit 1; }; }
56229 cat >conftest.$ac_ext <<_ACEOF
56230 /* confdefs.h. */
56231 _ACEOF
56232 cat confdefs.h >>conftest.$ac_ext
56233 cat >>conftest.$ac_ext <<_ACEOF
56234 /* end confdefs.h. */
56235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56237 #define $ac_func innocuous_$ac_func
56239 /* System header to define __stub macros and hopefully few prototypes,
56240 which can conflict with char $ac_func (); below.
56241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56242 <limits.h> exists even on freestanding compilers. */
56244 #ifdef __STDC__
56245 # include <limits.h>
56246 #else
56247 # include <assert.h>
56248 #endif
56250 #undef $ac_func
56252 /* Override any gcc2 internal prototype to avoid an error. */
56253 #ifdef __cplusplus
56254 extern "C"
56256 #endif
56257 /* We use char because int might match the return type of a gcc2
56258 builtin and then its argument prototype would still apply. */
56259 char $ac_func ();
56260 /* The GNU C library defines this for functions which it implements
56261 to always fail with ENOSYS. Some functions are actually named
56262 something starting with __ and the normal name is an alias. */
56263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56264 choke me
56265 #else
56266 char (*f) () = $ac_func;
56267 #endif
56268 #ifdef __cplusplus
56270 #endif
56273 main ()
56275 return f != $ac_func;
56277 return 0;
56279 _ACEOF
56280 rm -f conftest.$ac_objext conftest$ac_exeext
56281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56282 (eval $ac_link) 2>conftest.er1
56283 ac_status=$?
56284 grep -v '^ *+' conftest.er1 >conftest.err
56285 rm -f conftest.er1
56286 cat conftest.err >&5
56287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56288 (exit $ac_status); } &&
56289 { ac_try='test -z "$ac_c_werror_flag"
56290 || test ! -s conftest.err'
56291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56292 (eval $ac_try) 2>&5
56293 ac_status=$?
56294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56295 (exit $ac_status); }; } &&
56296 { ac_try='test -s conftest$ac_exeext'
56297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56298 (eval $ac_try) 2>&5
56299 ac_status=$?
56300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56301 (exit $ac_status); }; }; then
56302 eval "$as_ac_var=yes"
56303 else
56304 echo "$as_me: failed program was:" >&5
56305 sed 's/^/| /' conftest.$ac_ext >&5
56307 eval "$as_ac_var=no"
56309 rm -f conftest.err conftest.$ac_objext \
56310 conftest$ac_exeext conftest.$ac_ext
56312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56314 if test `eval echo '${'$as_ac_var'}'` = yes; then
56315 cat >>confdefs.h <<_ACEOF
56316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56317 _ACEOF
56320 done
56322 else
56324 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
56325 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
56326 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56327 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
56328 echo $ECHO_N "(cached) $ECHO_C" >&6
56329 else
56333 ac_ext=cc
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56339 cat >conftest.$ac_ext <<_ACEOF
56340 /* confdefs.h. */
56341 _ACEOF
56342 cat confdefs.h >>conftest.$ac_ext
56343 cat >>conftest.$ac_ext <<_ACEOF
56344 /* end confdefs.h. */
56345 #include <math.h>
56347 main ()
56349 _atan2l(0, 0);
56351 return 0;
56353 _ACEOF
56354 rm -f conftest.$ac_objext
56355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56356 (eval $ac_compile) 2>conftest.er1
56357 ac_status=$?
56358 grep -v '^ *+' conftest.er1 >conftest.err
56359 rm -f conftest.er1
56360 cat conftest.err >&5
56361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362 (exit $ac_status); } &&
56363 { ac_try='test -z "$ac_cxx_werror_flag"
56364 || test ! -s conftest.err'
56365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56366 (eval $ac_try) 2>&5
56367 ac_status=$?
56368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56369 (exit $ac_status); }; } &&
56370 { ac_try='test -s conftest.$ac_objext'
56371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56372 (eval $ac_try) 2>&5
56373 ac_status=$?
56374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56375 (exit $ac_status); }; }; then
56376 glibcxx_cv_func__atan2l_use=yes
56377 else
56378 echo "$as_me: failed program was:" >&5
56379 sed 's/^/| /' conftest.$ac_ext >&5
56381 glibcxx_cv_func__atan2l_use=no
56383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56384 ac_ext=c
56385 ac_cpp='$CPP $CPPFLAGS'
56386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
56395 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
56397 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56399 for ac_func in _atan2l
56401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56402 echo "$as_me:$LINENO: checking for $ac_func" >&5
56403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56404 if eval "test \"\${$as_ac_var+set}\" = set"; then
56405 echo $ECHO_N "(cached) $ECHO_C" >&6
56406 else
56407 if test x$gcc_no_link = xyes; then
56408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56410 { (exit 1); exit 1; }; }
56412 cat >conftest.$ac_ext <<_ACEOF
56413 /* confdefs.h. */
56414 _ACEOF
56415 cat confdefs.h >>conftest.$ac_ext
56416 cat >>conftest.$ac_ext <<_ACEOF
56417 /* end confdefs.h. */
56418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56420 #define $ac_func innocuous_$ac_func
56422 /* System header to define __stub macros and hopefully few prototypes,
56423 which can conflict with char $ac_func (); below.
56424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56425 <limits.h> exists even on freestanding compilers. */
56427 #ifdef __STDC__
56428 # include <limits.h>
56429 #else
56430 # include <assert.h>
56431 #endif
56433 #undef $ac_func
56435 /* Override any gcc2 internal prototype to avoid an error. */
56436 #ifdef __cplusplus
56437 extern "C"
56439 #endif
56440 /* We use char because int might match the return type of a gcc2
56441 builtin and then its argument prototype would still apply. */
56442 char $ac_func ();
56443 /* The GNU C library defines this for functions which it implements
56444 to always fail with ENOSYS. Some functions are actually named
56445 something starting with __ and the normal name is an alias. */
56446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56447 choke me
56448 #else
56449 char (*f) () = $ac_func;
56450 #endif
56451 #ifdef __cplusplus
56453 #endif
56456 main ()
56458 return f != $ac_func;
56460 return 0;
56462 _ACEOF
56463 rm -f conftest.$ac_objext conftest$ac_exeext
56464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56465 (eval $ac_link) 2>conftest.er1
56466 ac_status=$?
56467 grep -v '^ *+' conftest.er1 >conftest.err
56468 rm -f conftest.er1
56469 cat conftest.err >&5
56470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56471 (exit $ac_status); } &&
56472 { ac_try='test -z "$ac_c_werror_flag"
56473 || test ! -s conftest.err'
56474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56475 (eval $ac_try) 2>&5
56476 ac_status=$?
56477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56478 (exit $ac_status); }; } &&
56479 { ac_try='test -s conftest$ac_exeext'
56480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56481 (eval $ac_try) 2>&5
56482 ac_status=$?
56483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56484 (exit $ac_status); }; }; then
56485 eval "$as_ac_var=yes"
56486 else
56487 echo "$as_me: failed program was:" >&5
56488 sed 's/^/| /' conftest.$ac_ext >&5
56490 eval "$as_ac_var=no"
56492 rm -f conftest.err conftest.$ac_objext \
56493 conftest$ac_exeext conftest.$ac_ext
56495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56497 if test `eval echo '${'$as_ac_var'}'` = yes; then
56498 cat >>confdefs.h <<_ACEOF
56499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56500 _ACEOF
56503 done
56513 echo "$as_me:$LINENO: checking for expl declaration" >&5
56514 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
56515 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56516 if test "${glibcxx_cv_func_expl_use+set}" = set; then
56517 echo $ECHO_N "(cached) $ECHO_C" >&6
56518 else
56522 ac_ext=cc
56523 ac_cpp='$CXXCPP $CPPFLAGS'
56524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56528 cat >conftest.$ac_ext <<_ACEOF
56529 /* confdefs.h. */
56530 _ACEOF
56531 cat confdefs.h >>conftest.$ac_ext
56532 cat >>conftest.$ac_ext <<_ACEOF
56533 /* end confdefs.h. */
56534 #include <math.h>
56535 #ifdef HAVE_IEEEFP_H
56536 #include <ieeefp.h>
56537 #endif
56540 main ()
56542 expl(0);
56544 return 0;
56546 _ACEOF
56547 rm -f conftest.$ac_objext
56548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56549 (eval $ac_compile) 2>conftest.er1
56550 ac_status=$?
56551 grep -v '^ *+' conftest.er1 >conftest.err
56552 rm -f conftest.er1
56553 cat conftest.err >&5
56554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56555 (exit $ac_status); } &&
56556 { ac_try='test -z "$ac_cxx_werror_flag"
56557 || test ! -s conftest.err'
56558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56559 (eval $ac_try) 2>&5
56560 ac_status=$?
56561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56562 (exit $ac_status); }; } &&
56563 { ac_try='test -s conftest.$ac_objext'
56564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56565 (eval $ac_try) 2>&5
56566 ac_status=$?
56567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56568 (exit $ac_status); }; }; then
56569 glibcxx_cv_func_expl_use=yes
56570 else
56571 echo "$as_me: failed program was:" >&5
56572 sed 's/^/| /' conftest.$ac_ext >&5
56574 glibcxx_cv_func_expl_use=no
56576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56577 ac_ext=c
56578 ac_cpp='$CPP $CPPFLAGS'
56579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56588 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56590 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56592 for ac_func in expl
56594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56595 echo "$as_me:$LINENO: checking for $ac_func" >&5
56596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56597 if eval "test \"\${$as_ac_var+set}\" = set"; then
56598 echo $ECHO_N "(cached) $ECHO_C" >&6
56599 else
56600 if test x$gcc_no_link = xyes; then
56601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56603 { (exit 1); exit 1; }; }
56605 cat >conftest.$ac_ext <<_ACEOF
56606 /* confdefs.h. */
56607 _ACEOF
56608 cat confdefs.h >>conftest.$ac_ext
56609 cat >>conftest.$ac_ext <<_ACEOF
56610 /* end confdefs.h. */
56611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56613 #define $ac_func innocuous_$ac_func
56615 /* System header to define __stub macros and hopefully few prototypes,
56616 which can conflict with char $ac_func (); below.
56617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56618 <limits.h> exists even on freestanding compilers. */
56620 #ifdef __STDC__
56621 # include <limits.h>
56622 #else
56623 # include <assert.h>
56624 #endif
56626 #undef $ac_func
56628 /* Override any gcc2 internal prototype to avoid an error. */
56629 #ifdef __cplusplus
56630 extern "C"
56632 #endif
56633 /* We use char because int might match the return type of a gcc2
56634 builtin and then its argument prototype would still apply. */
56635 char $ac_func ();
56636 /* The GNU C library defines this for functions which it implements
56637 to always fail with ENOSYS. Some functions are actually named
56638 something starting with __ and the normal name is an alias. */
56639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56640 choke me
56641 #else
56642 char (*f) () = $ac_func;
56643 #endif
56644 #ifdef __cplusplus
56646 #endif
56649 main ()
56651 return f != $ac_func;
56653 return 0;
56655 _ACEOF
56656 rm -f conftest.$ac_objext conftest$ac_exeext
56657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56658 (eval $ac_link) 2>conftest.er1
56659 ac_status=$?
56660 grep -v '^ *+' conftest.er1 >conftest.err
56661 rm -f conftest.er1
56662 cat conftest.err >&5
56663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56664 (exit $ac_status); } &&
56665 { ac_try='test -z "$ac_c_werror_flag"
56666 || test ! -s conftest.err'
56667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56668 (eval $ac_try) 2>&5
56669 ac_status=$?
56670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56671 (exit $ac_status); }; } &&
56672 { ac_try='test -s conftest$ac_exeext'
56673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56674 (eval $ac_try) 2>&5
56675 ac_status=$?
56676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56677 (exit $ac_status); }; }; then
56678 eval "$as_ac_var=yes"
56679 else
56680 echo "$as_me: failed program was:" >&5
56681 sed 's/^/| /' conftest.$ac_ext >&5
56683 eval "$as_ac_var=no"
56685 rm -f conftest.err conftest.$ac_objext \
56686 conftest$ac_exeext conftest.$ac_ext
56688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56690 if test `eval echo '${'$as_ac_var'}'` = yes; then
56691 cat >>confdefs.h <<_ACEOF
56692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56693 _ACEOF
56696 done
56698 else
56700 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56701 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56702 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56703 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56704 echo $ECHO_N "(cached) $ECHO_C" >&6
56705 else
56709 ac_ext=cc
56710 ac_cpp='$CXXCPP $CPPFLAGS'
56711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56715 cat >conftest.$ac_ext <<_ACEOF
56716 /* confdefs.h. */
56717 _ACEOF
56718 cat confdefs.h >>conftest.$ac_ext
56719 cat >>conftest.$ac_ext <<_ACEOF
56720 /* end confdefs.h. */
56721 #include <math.h>
56722 #ifdef HAVE_IEEEFP_H
56723 #include <ieeefp.h>
56724 #endif
56727 main ()
56729 _expl(0);
56731 return 0;
56733 _ACEOF
56734 rm -f conftest.$ac_objext
56735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56736 (eval $ac_compile) 2>conftest.er1
56737 ac_status=$?
56738 grep -v '^ *+' conftest.er1 >conftest.err
56739 rm -f conftest.er1
56740 cat conftest.err >&5
56741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56742 (exit $ac_status); } &&
56743 { ac_try='test -z "$ac_cxx_werror_flag"
56744 || test ! -s conftest.err'
56745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56746 (eval $ac_try) 2>&5
56747 ac_status=$?
56748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56749 (exit $ac_status); }; } &&
56750 { ac_try='test -s conftest.$ac_objext'
56751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56752 (eval $ac_try) 2>&5
56753 ac_status=$?
56754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56755 (exit $ac_status); }; }; then
56756 glibcxx_cv_func__expl_use=yes
56757 else
56758 echo "$as_me: failed program was:" >&5
56759 sed 's/^/| /' conftest.$ac_ext >&5
56761 glibcxx_cv_func__expl_use=no
56763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56764 ac_ext=c
56765 ac_cpp='$CPP $CPPFLAGS'
56766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56775 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56777 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56779 for ac_func in _expl
56781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56782 echo "$as_me:$LINENO: checking for $ac_func" >&5
56783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56784 if eval "test \"\${$as_ac_var+set}\" = set"; then
56785 echo $ECHO_N "(cached) $ECHO_C" >&6
56786 else
56787 if test x$gcc_no_link = xyes; then
56788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56790 { (exit 1); exit 1; }; }
56792 cat >conftest.$ac_ext <<_ACEOF
56793 /* confdefs.h. */
56794 _ACEOF
56795 cat confdefs.h >>conftest.$ac_ext
56796 cat >>conftest.$ac_ext <<_ACEOF
56797 /* end confdefs.h. */
56798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56800 #define $ac_func innocuous_$ac_func
56802 /* System header to define __stub macros and hopefully few prototypes,
56803 which can conflict with char $ac_func (); below.
56804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56805 <limits.h> exists even on freestanding compilers. */
56807 #ifdef __STDC__
56808 # include <limits.h>
56809 #else
56810 # include <assert.h>
56811 #endif
56813 #undef $ac_func
56815 /* Override any gcc2 internal prototype to avoid an error. */
56816 #ifdef __cplusplus
56817 extern "C"
56819 #endif
56820 /* We use char because int might match the return type of a gcc2
56821 builtin and then its argument prototype would still apply. */
56822 char $ac_func ();
56823 /* The GNU C library defines this for functions which it implements
56824 to always fail with ENOSYS. Some functions are actually named
56825 something starting with __ and the normal name is an alias. */
56826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56827 choke me
56828 #else
56829 char (*f) () = $ac_func;
56830 #endif
56831 #ifdef __cplusplus
56833 #endif
56836 main ()
56838 return f != $ac_func;
56840 return 0;
56842 _ACEOF
56843 rm -f conftest.$ac_objext conftest$ac_exeext
56844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56845 (eval $ac_link) 2>conftest.er1
56846 ac_status=$?
56847 grep -v '^ *+' conftest.er1 >conftest.err
56848 rm -f conftest.er1
56849 cat conftest.err >&5
56850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56851 (exit $ac_status); } &&
56852 { ac_try='test -z "$ac_c_werror_flag"
56853 || test ! -s conftest.err'
56854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56855 (eval $ac_try) 2>&5
56856 ac_status=$?
56857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56858 (exit $ac_status); }; } &&
56859 { ac_try='test -s conftest$ac_exeext'
56860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56861 (eval $ac_try) 2>&5
56862 ac_status=$?
56863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56864 (exit $ac_status); }; }; then
56865 eval "$as_ac_var=yes"
56866 else
56867 echo "$as_me: failed program was:" >&5
56868 sed 's/^/| /' conftest.$ac_ext >&5
56870 eval "$as_ac_var=no"
56872 rm -f conftest.err conftest.$ac_objext \
56873 conftest$ac_exeext conftest.$ac_ext
56875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56877 if test `eval echo '${'$as_ac_var'}'` = yes; then
56878 cat >>confdefs.h <<_ACEOF
56879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56880 _ACEOF
56883 done
56893 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56894 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56895 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56896 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56897 echo $ECHO_N "(cached) $ECHO_C" >&6
56898 else
56902 ac_ext=cc
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56908 cat >conftest.$ac_ext <<_ACEOF
56909 /* confdefs.h. */
56910 _ACEOF
56911 cat confdefs.h >>conftest.$ac_ext
56912 cat >>conftest.$ac_ext <<_ACEOF
56913 /* end confdefs.h. */
56914 #include <math.h>
56915 #ifdef HAVE_IEEEFP_H
56916 #include <ieeefp.h>
56917 #endif
56920 main ()
56922 fabsl(0);
56924 return 0;
56926 _ACEOF
56927 rm -f conftest.$ac_objext
56928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56929 (eval $ac_compile) 2>conftest.er1
56930 ac_status=$?
56931 grep -v '^ *+' conftest.er1 >conftest.err
56932 rm -f conftest.er1
56933 cat conftest.err >&5
56934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56935 (exit $ac_status); } &&
56936 { ac_try='test -z "$ac_cxx_werror_flag"
56937 || test ! -s conftest.err'
56938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56939 (eval $ac_try) 2>&5
56940 ac_status=$?
56941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56942 (exit $ac_status); }; } &&
56943 { ac_try='test -s conftest.$ac_objext'
56944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56945 (eval $ac_try) 2>&5
56946 ac_status=$?
56947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56948 (exit $ac_status); }; }; then
56949 glibcxx_cv_func_fabsl_use=yes
56950 else
56951 echo "$as_me: failed program was:" >&5
56952 sed 's/^/| /' conftest.$ac_ext >&5
56954 glibcxx_cv_func_fabsl_use=no
56956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56957 ac_ext=c
56958 ac_cpp='$CPP $CPPFLAGS'
56959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56968 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56970 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56972 for ac_func in fabsl
56974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56975 echo "$as_me:$LINENO: checking for $ac_func" >&5
56976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56977 if eval "test \"\${$as_ac_var+set}\" = set"; then
56978 echo $ECHO_N "(cached) $ECHO_C" >&6
56979 else
56980 if test x$gcc_no_link = xyes; then
56981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56983 { (exit 1); exit 1; }; }
56985 cat >conftest.$ac_ext <<_ACEOF
56986 /* confdefs.h. */
56987 _ACEOF
56988 cat confdefs.h >>conftest.$ac_ext
56989 cat >>conftest.$ac_ext <<_ACEOF
56990 /* end confdefs.h. */
56991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56993 #define $ac_func innocuous_$ac_func
56995 /* System header to define __stub macros and hopefully few prototypes,
56996 which can conflict with char $ac_func (); below.
56997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56998 <limits.h> exists even on freestanding compilers. */
57000 #ifdef __STDC__
57001 # include <limits.h>
57002 #else
57003 # include <assert.h>
57004 #endif
57006 #undef $ac_func
57008 /* Override any gcc2 internal prototype to avoid an error. */
57009 #ifdef __cplusplus
57010 extern "C"
57012 #endif
57013 /* We use char because int might match the return type of a gcc2
57014 builtin and then its argument prototype would still apply. */
57015 char $ac_func ();
57016 /* The GNU C library defines this for functions which it implements
57017 to always fail with ENOSYS. Some functions are actually named
57018 something starting with __ and the normal name is an alias. */
57019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57020 choke me
57021 #else
57022 char (*f) () = $ac_func;
57023 #endif
57024 #ifdef __cplusplus
57026 #endif
57029 main ()
57031 return f != $ac_func;
57033 return 0;
57035 _ACEOF
57036 rm -f conftest.$ac_objext conftest$ac_exeext
57037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57038 (eval $ac_link) 2>conftest.er1
57039 ac_status=$?
57040 grep -v '^ *+' conftest.er1 >conftest.err
57041 rm -f conftest.er1
57042 cat conftest.err >&5
57043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57044 (exit $ac_status); } &&
57045 { ac_try='test -z "$ac_c_werror_flag"
57046 || test ! -s conftest.err'
57047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57048 (eval $ac_try) 2>&5
57049 ac_status=$?
57050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57051 (exit $ac_status); }; } &&
57052 { ac_try='test -s conftest$ac_exeext'
57053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57054 (eval $ac_try) 2>&5
57055 ac_status=$?
57056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57057 (exit $ac_status); }; }; then
57058 eval "$as_ac_var=yes"
57059 else
57060 echo "$as_me: failed program was:" >&5
57061 sed 's/^/| /' conftest.$ac_ext >&5
57063 eval "$as_ac_var=no"
57065 rm -f conftest.err conftest.$ac_objext \
57066 conftest$ac_exeext conftest.$ac_ext
57068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57070 if test `eval echo '${'$as_ac_var'}'` = yes; then
57071 cat >>confdefs.h <<_ACEOF
57072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57073 _ACEOF
57076 done
57078 else
57080 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
57081 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
57082 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57083 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
57084 echo $ECHO_N "(cached) $ECHO_C" >&6
57085 else
57089 ac_ext=cc
57090 ac_cpp='$CXXCPP $CPPFLAGS'
57091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57095 cat >conftest.$ac_ext <<_ACEOF
57096 /* confdefs.h. */
57097 _ACEOF
57098 cat confdefs.h >>conftest.$ac_ext
57099 cat >>conftest.$ac_ext <<_ACEOF
57100 /* end confdefs.h. */
57101 #include <math.h>
57102 #ifdef HAVE_IEEEFP_H
57103 #include <ieeefp.h>
57104 #endif
57107 main ()
57109 _fabsl(0);
57111 return 0;
57113 _ACEOF
57114 rm -f conftest.$ac_objext
57115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57116 (eval $ac_compile) 2>conftest.er1
57117 ac_status=$?
57118 grep -v '^ *+' conftest.er1 >conftest.err
57119 rm -f conftest.er1
57120 cat conftest.err >&5
57121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57122 (exit $ac_status); } &&
57123 { ac_try='test -z "$ac_cxx_werror_flag"
57124 || test ! -s conftest.err'
57125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57126 (eval $ac_try) 2>&5
57127 ac_status=$?
57128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57129 (exit $ac_status); }; } &&
57130 { ac_try='test -s conftest.$ac_objext'
57131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57132 (eval $ac_try) 2>&5
57133 ac_status=$?
57134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57135 (exit $ac_status); }; }; then
57136 glibcxx_cv_func__fabsl_use=yes
57137 else
57138 echo "$as_me: failed program was:" >&5
57139 sed 's/^/| /' conftest.$ac_ext >&5
57141 glibcxx_cv_func__fabsl_use=no
57143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57144 ac_ext=c
57145 ac_cpp='$CPP $CPPFLAGS'
57146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
57155 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
57157 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57159 for ac_func in _fabsl
57161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57162 echo "$as_me:$LINENO: checking for $ac_func" >&5
57163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57164 if eval "test \"\${$as_ac_var+set}\" = set"; then
57165 echo $ECHO_N "(cached) $ECHO_C" >&6
57166 else
57167 if test x$gcc_no_link = xyes; then
57168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57170 { (exit 1); exit 1; }; }
57172 cat >conftest.$ac_ext <<_ACEOF
57173 /* confdefs.h. */
57174 _ACEOF
57175 cat confdefs.h >>conftest.$ac_ext
57176 cat >>conftest.$ac_ext <<_ACEOF
57177 /* end confdefs.h. */
57178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57180 #define $ac_func innocuous_$ac_func
57182 /* System header to define __stub macros and hopefully few prototypes,
57183 which can conflict with char $ac_func (); below.
57184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57185 <limits.h> exists even on freestanding compilers. */
57187 #ifdef __STDC__
57188 # include <limits.h>
57189 #else
57190 # include <assert.h>
57191 #endif
57193 #undef $ac_func
57195 /* Override any gcc2 internal prototype to avoid an error. */
57196 #ifdef __cplusplus
57197 extern "C"
57199 #endif
57200 /* We use char because int might match the return type of a gcc2
57201 builtin and then its argument prototype would still apply. */
57202 char $ac_func ();
57203 /* The GNU C library defines this for functions which it implements
57204 to always fail with ENOSYS. Some functions are actually named
57205 something starting with __ and the normal name is an alias. */
57206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57207 choke me
57208 #else
57209 char (*f) () = $ac_func;
57210 #endif
57211 #ifdef __cplusplus
57213 #endif
57216 main ()
57218 return f != $ac_func;
57220 return 0;
57222 _ACEOF
57223 rm -f conftest.$ac_objext conftest$ac_exeext
57224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57225 (eval $ac_link) 2>conftest.er1
57226 ac_status=$?
57227 grep -v '^ *+' conftest.er1 >conftest.err
57228 rm -f conftest.er1
57229 cat conftest.err >&5
57230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57231 (exit $ac_status); } &&
57232 { ac_try='test -z "$ac_c_werror_flag"
57233 || test ! -s conftest.err'
57234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57235 (eval $ac_try) 2>&5
57236 ac_status=$?
57237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57238 (exit $ac_status); }; } &&
57239 { ac_try='test -s conftest$ac_exeext'
57240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57241 (eval $ac_try) 2>&5
57242 ac_status=$?
57243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57244 (exit $ac_status); }; }; then
57245 eval "$as_ac_var=yes"
57246 else
57247 echo "$as_me: failed program was:" >&5
57248 sed 's/^/| /' conftest.$ac_ext >&5
57250 eval "$as_ac_var=no"
57252 rm -f conftest.err conftest.$ac_objext \
57253 conftest$ac_exeext conftest.$ac_ext
57255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57257 if test `eval echo '${'$as_ac_var'}'` = yes; then
57258 cat >>confdefs.h <<_ACEOF
57259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57260 _ACEOF
57263 done
57273 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
57274 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
57275 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57276 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
57277 echo $ECHO_N "(cached) $ECHO_C" >&6
57278 else
57282 ac_ext=cc
57283 ac_cpp='$CXXCPP $CPPFLAGS'
57284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57288 cat >conftest.$ac_ext <<_ACEOF
57289 /* confdefs.h. */
57290 _ACEOF
57291 cat confdefs.h >>conftest.$ac_ext
57292 cat >>conftest.$ac_ext <<_ACEOF
57293 /* end confdefs.h. */
57294 #include <math.h>
57296 main ()
57298 fmodl(0, 0);
57300 return 0;
57302 _ACEOF
57303 rm -f conftest.$ac_objext
57304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57305 (eval $ac_compile) 2>conftest.er1
57306 ac_status=$?
57307 grep -v '^ *+' conftest.er1 >conftest.err
57308 rm -f conftest.er1
57309 cat conftest.err >&5
57310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57311 (exit $ac_status); } &&
57312 { ac_try='test -z "$ac_cxx_werror_flag"
57313 || test ! -s conftest.err'
57314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57315 (eval $ac_try) 2>&5
57316 ac_status=$?
57317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57318 (exit $ac_status); }; } &&
57319 { ac_try='test -s conftest.$ac_objext'
57320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57321 (eval $ac_try) 2>&5
57322 ac_status=$?
57323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57324 (exit $ac_status); }; }; then
57325 glibcxx_cv_func_fmodl_use=yes
57326 else
57327 echo "$as_me: failed program was:" >&5
57328 sed 's/^/| /' conftest.$ac_ext >&5
57330 glibcxx_cv_func_fmodl_use=no
57332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57333 ac_ext=c
57334 ac_cpp='$CPP $CPPFLAGS'
57335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
57344 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
57346 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57348 for ac_func in fmodl
57350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57351 echo "$as_me:$LINENO: checking for $ac_func" >&5
57352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57353 if eval "test \"\${$as_ac_var+set}\" = set"; then
57354 echo $ECHO_N "(cached) $ECHO_C" >&6
57355 else
57356 if test x$gcc_no_link = xyes; then
57357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57359 { (exit 1); exit 1; }; }
57361 cat >conftest.$ac_ext <<_ACEOF
57362 /* confdefs.h. */
57363 _ACEOF
57364 cat confdefs.h >>conftest.$ac_ext
57365 cat >>conftest.$ac_ext <<_ACEOF
57366 /* end confdefs.h. */
57367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57369 #define $ac_func innocuous_$ac_func
57371 /* System header to define __stub macros and hopefully few prototypes,
57372 which can conflict with char $ac_func (); below.
57373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57374 <limits.h> exists even on freestanding compilers. */
57376 #ifdef __STDC__
57377 # include <limits.h>
57378 #else
57379 # include <assert.h>
57380 #endif
57382 #undef $ac_func
57384 /* Override any gcc2 internal prototype to avoid an error. */
57385 #ifdef __cplusplus
57386 extern "C"
57388 #endif
57389 /* We use char because int might match the return type of a gcc2
57390 builtin and then its argument prototype would still apply. */
57391 char $ac_func ();
57392 /* The GNU C library defines this for functions which it implements
57393 to always fail with ENOSYS. Some functions are actually named
57394 something starting with __ and the normal name is an alias. */
57395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57396 choke me
57397 #else
57398 char (*f) () = $ac_func;
57399 #endif
57400 #ifdef __cplusplus
57402 #endif
57405 main ()
57407 return f != $ac_func;
57409 return 0;
57411 _ACEOF
57412 rm -f conftest.$ac_objext conftest$ac_exeext
57413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57414 (eval $ac_link) 2>conftest.er1
57415 ac_status=$?
57416 grep -v '^ *+' conftest.er1 >conftest.err
57417 rm -f conftest.er1
57418 cat conftest.err >&5
57419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57420 (exit $ac_status); } &&
57421 { ac_try='test -z "$ac_c_werror_flag"
57422 || test ! -s conftest.err'
57423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57424 (eval $ac_try) 2>&5
57425 ac_status=$?
57426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57427 (exit $ac_status); }; } &&
57428 { ac_try='test -s conftest$ac_exeext'
57429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57430 (eval $ac_try) 2>&5
57431 ac_status=$?
57432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57433 (exit $ac_status); }; }; then
57434 eval "$as_ac_var=yes"
57435 else
57436 echo "$as_me: failed program was:" >&5
57437 sed 's/^/| /' conftest.$ac_ext >&5
57439 eval "$as_ac_var=no"
57441 rm -f conftest.err conftest.$ac_objext \
57442 conftest$ac_exeext conftest.$ac_ext
57444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57446 if test `eval echo '${'$as_ac_var'}'` = yes; then
57447 cat >>confdefs.h <<_ACEOF
57448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57449 _ACEOF
57452 done
57454 else
57456 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
57457 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
57458 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57459 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
57460 echo $ECHO_N "(cached) $ECHO_C" >&6
57461 else
57465 ac_ext=cc
57466 ac_cpp='$CXXCPP $CPPFLAGS'
57467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57471 cat >conftest.$ac_ext <<_ACEOF
57472 /* confdefs.h. */
57473 _ACEOF
57474 cat confdefs.h >>conftest.$ac_ext
57475 cat >>conftest.$ac_ext <<_ACEOF
57476 /* end confdefs.h. */
57477 #include <math.h>
57479 main ()
57481 _fmodl(0, 0);
57483 return 0;
57485 _ACEOF
57486 rm -f conftest.$ac_objext
57487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57488 (eval $ac_compile) 2>conftest.er1
57489 ac_status=$?
57490 grep -v '^ *+' conftest.er1 >conftest.err
57491 rm -f conftest.er1
57492 cat conftest.err >&5
57493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57494 (exit $ac_status); } &&
57495 { ac_try='test -z "$ac_cxx_werror_flag"
57496 || test ! -s conftest.err'
57497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57498 (eval $ac_try) 2>&5
57499 ac_status=$?
57500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57501 (exit $ac_status); }; } &&
57502 { ac_try='test -s conftest.$ac_objext'
57503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57504 (eval $ac_try) 2>&5
57505 ac_status=$?
57506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57507 (exit $ac_status); }; }; then
57508 glibcxx_cv_func__fmodl_use=yes
57509 else
57510 echo "$as_me: failed program was:" >&5
57511 sed 's/^/| /' conftest.$ac_ext >&5
57513 glibcxx_cv_func__fmodl_use=no
57515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57516 ac_ext=c
57517 ac_cpp='$CPP $CPPFLAGS'
57518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
57527 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
57529 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57531 for ac_func in _fmodl
57533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57534 echo "$as_me:$LINENO: checking for $ac_func" >&5
57535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57536 if eval "test \"\${$as_ac_var+set}\" = set"; then
57537 echo $ECHO_N "(cached) $ECHO_C" >&6
57538 else
57539 if test x$gcc_no_link = xyes; then
57540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57542 { (exit 1); exit 1; }; }
57544 cat >conftest.$ac_ext <<_ACEOF
57545 /* confdefs.h. */
57546 _ACEOF
57547 cat confdefs.h >>conftest.$ac_ext
57548 cat >>conftest.$ac_ext <<_ACEOF
57549 /* end confdefs.h. */
57550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57552 #define $ac_func innocuous_$ac_func
57554 /* System header to define __stub macros and hopefully few prototypes,
57555 which can conflict with char $ac_func (); below.
57556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57557 <limits.h> exists even on freestanding compilers. */
57559 #ifdef __STDC__
57560 # include <limits.h>
57561 #else
57562 # include <assert.h>
57563 #endif
57565 #undef $ac_func
57567 /* Override any gcc2 internal prototype to avoid an error. */
57568 #ifdef __cplusplus
57569 extern "C"
57571 #endif
57572 /* We use char because int might match the return type of a gcc2
57573 builtin and then its argument prototype would still apply. */
57574 char $ac_func ();
57575 /* The GNU C library defines this for functions which it implements
57576 to always fail with ENOSYS. Some functions are actually named
57577 something starting with __ and the normal name is an alias. */
57578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57579 choke me
57580 #else
57581 char (*f) () = $ac_func;
57582 #endif
57583 #ifdef __cplusplus
57585 #endif
57588 main ()
57590 return f != $ac_func;
57592 return 0;
57594 _ACEOF
57595 rm -f conftest.$ac_objext conftest$ac_exeext
57596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57597 (eval $ac_link) 2>conftest.er1
57598 ac_status=$?
57599 grep -v '^ *+' conftest.er1 >conftest.err
57600 rm -f conftest.er1
57601 cat conftest.err >&5
57602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57603 (exit $ac_status); } &&
57604 { ac_try='test -z "$ac_c_werror_flag"
57605 || test ! -s conftest.err'
57606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57607 (eval $ac_try) 2>&5
57608 ac_status=$?
57609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57610 (exit $ac_status); }; } &&
57611 { ac_try='test -s conftest$ac_exeext'
57612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57613 (eval $ac_try) 2>&5
57614 ac_status=$?
57615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616 (exit $ac_status); }; }; then
57617 eval "$as_ac_var=yes"
57618 else
57619 echo "$as_me: failed program was:" >&5
57620 sed 's/^/| /' conftest.$ac_ext >&5
57622 eval "$as_ac_var=no"
57624 rm -f conftest.err conftest.$ac_objext \
57625 conftest$ac_exeext conftest.$ac_ext
57627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57629 if test `eval echo '${'$as_ac_var'}'` = yes; then
57630 cat >>confdefs.h <<_ACEOF
57631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57632 _ACEOF
57635 done
57645 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57646 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57647 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57648 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57649 echo $ECHO_N "(cached) $ECHO_C" >&6
57650 else
57654 ac_ext=cc
57655 ac_cpp='$CXXCPP $CPPFLAGS'
57656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57660 cat >conftest.$ac_ext <<_ACEOF
57661 /* confdefs.h. */
57662 _ACEOF
57663 cat confdefs.h >>conftest.$ac_ext
57664 cat >>conftest.$ac_ext <<_ACEOF
57665 /* end confdefs.h. */
57666 #include <math.h>
57668 main ()
57670 frexpl(0, 0);
57672 return 0;
57674 _ACEOF
57675 rm -f conftest.$ac_objext
57676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57677 (eval $ac_compile) 2>conftest.er1
57678 ac_status=$?
57679 grep -v '^ *+' conftest.er1 >conftest.err
57680 rm -f conftest.er1
57681 cat conftest.err >&5
57682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57683 (exit $ac_status); } &&
57684 { ac_try='test -z "$ac_cxx_werror_flag"
57685 || test ! -s conftest.err'
57686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57687 (eval $ac_try) 2>&5
57688 ac_status=$?
57689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57690 (exit $ac_status); }; } &&
57691 { ac_try='test -s conftest.$ac_objext'
57692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57693 (eval $ac_try) 2>&5
57694 ac_status=$?
57695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57696 (exit $ac_status); }; }; then
57697 glibcxx_cv_func_frexpl_use=yes
57698 else
57699 echo "$as_me: failed program was:" >&5
57700 sed 's/^/| /' conftest.$ac_ext >&5
57702 glibcxx_cv_func_frexpl_use=no
57704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57705 ac_ext=c
57706 ac_cpp='$CPP $CPPFLAGS'
57707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57716 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57718 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57720 for ac_func in frexpl
57722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57723 echo "$as_me:$LINENO: checking for $ac_func" >&5
57724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57725 if eval "test \"\${$as_ac_var+set}\" = set"; then
57726 echo $ECHO_N "(cached) $ECHO_C" >&6
57727 else
57728 if test x$gcc_no_link = xyes; then
57729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57731 { (exit 1); exit 1; }; }
57733 cat >conftest.$ac_ext <<_ACEOF
57734 /* confdefs.h. */
57735 _ACEOF
57736 cat confdefs.h >>conftest.$ac_ext
57737 cat >>conftest.$ac_ext <<_ACEOF
57738 /* end confdefs.h. */
57739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57741 #define $ac_func innocuous_$ac_func
57743 /* System header to define __stub macros and hopefully few prototypes,
57744 which can conflict with char $ac_func (); below.
57745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57746 <limits.h> exists even on freestanding compilers. */
57748 #ifdef __STDC__
57749 # include <limits.h>
57750 #else
57751 # include <assert.h>
57752 #endif
57754 #undef $ac_func
57756 /* Override any gcc2 internal prototype to avoid an error. */
57757 #ifdef __cplusplus
57758 extern "C"
57760 #endif
57761 /* We use char because int might match the return type of a gcc2
57762 builtin and then its argument prototype would still apply. */
57763 char $ac_func ();
57764 /* The GNU C library defines this for functions which it implements
57765 to always fail with ENOSYS. Some functions are actually named
57766 something starting with __ and the normal name is an alias. */
57767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57768 choke me
57769 #else
57770 char (*f) () = $ac_func;
57771 #endif
57772 #ifdef __cplusplus
57774 #endif
57777 main ()
57779 return f != $ac_func;
57781 return 0;
57783 _ACEOF
57784 rm -f conftest.$ac_objext conftest$ac_exeext
57785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57786 (eval $ac_link) 2>conftest.er1
57787 ac_status=$?
57788 grep -v '^ *+' conftest.er1 >conftest.err
57789 rm -f conftest.er1
57790 cat conftest.err >&5
57791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57792 (exit $ac_status); } &&
57793 { ac_try='test -z "$ac_c_werror_flag"
57794 || test ! -s conftest.err'
57795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57796 (eval $ac_try) 2>&5
57797 ac_status=$?
57798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57799 (exit $ac_status); }; } &&
57800 { ac_try='test -s conftest$ac_exeext'
57801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57802 (eval $ac_try) 2>&5
57803 ac_status=$?
57804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57805 (exit $ac_status); }; }; then
57806 eval "$as_ac_var=yes"
57807 else
57808 echo "$as_me: failed program was:" >&5
57809 sed 's/^/| /' conftest.$ac_ext >&5
57811 eval "$as_ac_var=no"
57813 rm -f conftest.err conftest.$ac_objext \
57814 conftest$ac_exeext conftest.$ac_ext
57816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57818 if test `eval echo '${'$as_ac_var'}'` = yes; then
57819 cat >>confdefs.h <<_ACEOF
57820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57821 _ACEOF
57824 done
57826 else
57828 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57829 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57830 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57831 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57832 echo $ECHO_N "(cached) $ECHO_C" >&6
57833 else
57837 ac_ext=cc
57838 ac_cpp='$CXXCPP $CPPFLAGS'
57839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57843 cat >conftest.$ac_ext <<_ACEOF
57844 /* confdefs.h. */
57845 _ACEOF
57846 cat confdefs.h >>conftest.$ac_ext
57847 cat >>conftest.$ac_ext <<_ACEOF
57848 /* end confdefs.h. */
57849 #include <math.h>
57851 main ()
57853 _frexpl(0, 0);
57855 return 0;
57857 _ACEOF
57858 rm -f conftest.$ac_objext
57859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57860 (eval $ac_compile) 2>conftest.er1
57861 ac_status=$?
57862 grep -v '^ *+' conftest.er1 >conftest.err
57863 rm -f conftest.er1
57864 cat conftest.err >&5
57865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57866 (exit $ac_status); } &&
57867 { ac_try='test -z "$ac_cxx_werror_flag"
57868 || test ! -s conftest.err'
57869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57870 (eval $ac_try) 2>&5
57871 ac_status=$?
57872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57873 (exit $ac_status); }; } &&
57874 { ac_try='test -s conftest.$ac_objext'
57875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57876 (eval $ac_try) 2>&5
57877 ac_status=$?
57878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57879 (exit $ac_status); }; }; then
57880 glibcxx_cv_func__frexpl_use=yes
57881 else
57882 echo "$as_me: failed program was:" >&5
57883 sed 's/^/| /' conftest.$ac_ext >&5
57885 glibcxx_cv_func__frexpl_use=no
57887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57888 ac_ext=c
57889 ac_cpp='$CPP $CPPFLAGS'
57890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57899 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57901 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57903 for ac_func in _frexpl
57905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57906 echo "$as_me:$LINENO: checking for $ac_func" >&5
57907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57908 if eval "test \"\${$as_ac_var+set}\" = set"; then
57909 echo $ECHO_N "(cached) $ECHO_C" >&6
57910 else
57911 if test x$gcc_no_link = xyes; then
57912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57914 { (exit 1); exit 1; }; }
57916 cat >conftest.$ac_ext <<_ACEOF
57917 /* confdefs.h. */
57918 _ACEOF
57919 cat confdefs.h >>conftest.$ac_ext
57920 cat >>conftest.$ac_ext <<_ACEOF
57921 /* end confdefs.h. */
57922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57924 #define $ac_func innocuous_$ac_func
57926 /* System header to define __stub macros and hopefully few prototypes,
57927 which can conflict with char $ac_func (); below.
57928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57929 <limits.h> exists even on freestanding compilers. */
57931 #ifdef __STDC__
57932 # include <limits.h>
57933 #else
57934 # include <assert.h>
57935 #endif
57937 #undef $ac_func
57939 /* Override any gcc2 internal prototype to avoid an error. */
57940 #ifdef __cplusplus
57941 extern "C"
57943 #endif
57944 /* We use char because int might match the return type of a gcc2
57945 builtin and then its argument prototype would still apply. */
57946 char $ac_func ();
57947 /* The GNU C library defines this for functions which it implements
57948 to always fail with ENOSYS. Some functions are actually named
57949 something starting with __ and the normal name is an alias. */
57950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57951 choke me
57952 #else
57953 char (*f) () = $ac_func;
57954 #endif
57955 #ifdef __cplusplus
57957 #endif
57960 main ()
57962 return f != $ac_func;
57964 return 0;
57966 _ACEOF
57967 rm -f conftest.$ac_objext conftest$ac_exeext
57968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57969 (eval $ac_link) 2>conftest.er1
57970 ac_status=$?
57971 grep -v '^ *+' conftest.er1 >conftest.err
57972 rm -f conftest.er1
57973 cat conftest.err >&5
57974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57975 (exit $ac_status); } &&
57976 { ac_try='test -z "$ac_c_werror_flag"
57977 || test ! -s conftest.err'
57978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57979 (eval $ac_try) 2>&5
57980 ac_status=$?
57981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57982 (exit $ac_status); }; } &&
57983 { ac_try='test -s conftest$ac_exeext'
57984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57985 (eval $ac_try) 2>&5
57986 ac_status=$?
57987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57988 (exit $ac_status); }; }; then
57989 eval "$as_ac_var=yes"
57990 else
57991 echo "$as_me: failed program was:" >&5
57992 sed 's/^/| /' conftest.$ac_ext >&5
57994 eval "$as_ac_var=no"
57996 rm -f conftest.err conftest.$ac_objext \
57997 conftest$ac_exeext conftest.$ac_ext
57999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58001 if test `eval echo '${'$as_ac_var'}'` = yes; then
58002 cat >>confdefs.h <<_ACEOF
58003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58004 _ACEOF
58007 done
58017 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
58018 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
58019 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58020 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
58021 echo $ECHO_N "(cached) $ECHO_C" >&6
58022 else
58026 ac_ext=cc
58027 ac_cpp='$CXXCPP $CPPFLAGS'
58028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58032 cat >conftest.$ac_ext <<_ACEOF
58033 /* confdefs.h. */
58034 _ACEOF
58035 cat confdefs.h >>conftest.$ac_ext
58036 cat >>conftest.$ac_ext <<_ACEOF
58037 /* end confdefs.h. */
58038 #include <math.h>
58040 main ()
58042 hypotl(0, 0);
58044 return 0;
58046 _ACEOF
58047 rm -f conftest.$ac_objext
58048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58049 (eval $ac_compile) 2>conftest.er1
58050 ac_status=$?
58051 grep -v '^ *+' conftest.er1 >conftest.err
58052 rm -f conftest.er1
58053 cat conftest.err >&5
58054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58055 (exit $ac_status); } &&
58056 { ac_try='test -z "$ac_cxx_werror_flag"
58057 || test ! -s conftest.err'
58058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58059 (eval $ac_try) 2>&5
58060 ac_status=$?
58061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58062 (exit $ac_status); }; } &&
58063 { ac_try='test -s conftest.$ac_objext'
58064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58065 (eval $ac_try) 2>&5
58066 ac_status=$?
58067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58068 (exit $ac_status); }; }; then
58069 glibcxx_cv_func_hypotl_use=yes
58070 else
58071 echo "$as_me: failed program was:" >&5
58072 sed 's/^/| /' conftest.$ac_ext >&5
58074 glibcxx_cv_func_hypotl_use=no
58076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58077 ac_ext=c
58078 ac_cpp='$CPP $CPPFLAGS'
58079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
58088 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
58090 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58092 for ac_func in hypotl
58094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58095 echo "$as_me:$LINENO: checking for $ac_func" >&5
58096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58097 if eval "test \"\${$as_ac_var+set}\" = set"; then
58098 echo $ECHO_N "(cached) $ECHO_C" >&6
58099 else
58100 if test x$gcc_no_link = xyes; then
58101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58103 { (exit 1); exit 1; }; }
58105 cat >conftest.$ac_ext <<_ACEOF
58106 /* confdefs.h. */
58107 _ACEOF
58108 cat confdefs.h >>conftest.$ac_ext
58109 cat >>conftest.$ac_ext <<_ACEOF
58110 /* end confdefs.h. */
58111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58113 #define $ac_func innocuous_$ac_func
58115 /* System header to define __stub macros and hopefully few prototypes,
58116 which can conflict with char $ac_func (); below.
58117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58118 <limits.h> exists even on freestanding compilers. */
58120 #ifdef __STDC__
58121 # include <limits.h>
58122 #else
58123 # include <assert.h>
58124 #endif
58126 #undef $ac_func
58128 /* Override any gcc2 internal prototype to avoid an error. */
58129 #ifdef __cplusplus
58130 extern "C"
58132 #endif
58133 /* We use char because int might match the return type of a gcc2
58134 builtin and then its argument prototype would still apply. */
58135 char $ac_func ();
58136 /* The GNU C library defines this for functions which it implements
58137 to always fail with ENOSYS. Some functions are actually named
58138 something starting with __ and the normal name is an alias. */
58139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58140 choke me
58141 #else
58142 char (*f) () = $ac_func;
58143 #endif
58144 #ifdef __cplusplus
58146 #endif
58149 main ()
58151 return f != $ac_func;
58153 return 0;
58155 _ACEOF
58156 rm -f conftest.$ac_objext conftest$ac_exeext
58157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58158 (eval $ac_link) 2>conftest.er1
58159 ac_status=$?
58160 grep -v '^ *+' conftest.er1 >conftest.err
58161 rm -f conftest.er1
58162 cat conftest.err >&5
58163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58164 (exit $ac_status); } &&
58165 { ac_try='test -z "$ac_c_werror_flag"
58166 || test ! -s conftest.err'
58167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58168 (eval $ac_try) 2>&5
58169 ac_status=$?
58170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58171 (exit $ac_status); }; } &&
58172 { ac_try='test -s conftest$ac_exeext'
58173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58174 (eval $ac_try) 2>&5
58175 ac_status=$?
58176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58177 (exit $ac_status); }; }; then
58178 eval "$as_ac_var=yes"
58179 else
58180 echo "$as_me: failed program was:" >&5
58181 sed 's/^/| /' conftest.$ac_ext >&5
58183 eval "$as_ac_var=no"
58185 rm -f conftest.err conftest.$ac_objext \
58186 conftest$ac_exeext conftest.$ac_ext
58188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58190 if test `eval echo '${'$as_ac_var'}'` = yes; then
58191 cat >>confdefs.h <<_ACEOF
58192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58193 _ACEOF
58196 done
58198 else
58200 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
58201 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
58202 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58203 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
58204 echo $ECHO_N "(cached) $ECHO_C" >&6
58205 else
58209 ac_ext=cc
58210 ac_cpp='$CXXCPP $CPPFLAGS'
58211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58215 cat >conftest.$ac_ext <<_ACEOF
58216 /* confdefs.h. */
58217 _ACEOF
58218 cat confdefs.h >>conftest.$ac_ext
58219 cat >>conftest.$ac_ext <<_ACEOF
58220 /* end confdefs.h. */
58221 #include <math.h>
58223 main ()
58225 _hypotl(0, 0);
58227 return 0;
58229 _ACEOF
58230 rm -f conftest.$ac_objext
58231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58232 (eval $ac_compile) 2>conftest.er1
58233 ac_status=$?
58234 grep -v '^ *+' conftest.er1 >conftest.err
58235 rm -f conftest.er1
58236 cat conftest.err >&5
58237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58238 (exit $ac_status); } &&
58239 { ac_try='test -z "$ac_cxx_werror_flag"
58240 || test ! -s conftest.err'
58241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58242 (eval $ac_try) 2>&5
58243 ac_status=$?
58244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58245 (exit $ac_status); }; } &&
58246 { ac_try='test -s conftest.$ac_objext'
58247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58248 (eval $ac_try) 2>&5
58249 ac_status=$?
58250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58251 (exit $ac_status); }; }; then
58252 glibcxx_cv_func__hypotl_use=yes
58253 else
58254 echo "$as_me: failed program was:" >&5
58255 sed 's/^/| /' conftest.$ac_ext >&5
58257 glibcxx_cv_func__hypotl_use=no
58259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58260 ac_ext=c
58261 ac_cpp='$CPP $CPPFLAGS'
58262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
58271 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
58273 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58275 for ac_func in _hypotl
58277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58278 echo "$as_me:$LINENO: checking for $ac_func" >&5
58279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58280 if eval "test \"\${$as_ac_var+set}\" = set"; then
58281 echo $ECHO_N "(cached) $ECHO_C" >&6
58282 else
58283 if test x$gcc_no_link = xyes; then
58284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58286 { (exit 1); exit 1; }; }
58288 cat >conftest.$ac_ext <<_ACEOF
58289 /* confdefs.h. */
58290 _ACEOF
58291 cat confdefs.h >>conftest.$ac_ext
58292 cat >>conftest.$ac_ext <<_ACEOF
58293 /* end confdefs.h. */
58294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58296 #define $ac_func innocuous_$ac_func
58298 /* System header to define __stub macros and hopefully few prototypes,
58299 which can conflict with char $ac_func (); below.
58300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58301 <limits.h> exists even on freestanding compilers. */
58303 #ifdef __STDC__
58304 # include <limits.h>
58305 #else
58306 # include <assert.h>
58307 #endif
58309 #undef $ac_func
58311 /* Override any gcc2 internal prototype to avoid an error. */
58312 #ifdef __cplusplus
58313 extern "C"
58315 #endif
58316 /* We use char because int might match the return type of a gcc2
58317 builtin and then its argument prototype would still apply. */
58318 char $ac_func ();
58319 /* The GNU C library defines this for functions which it implements
58320 to always fail with ENOSYS. Some functions are actually named
58321 something starting with __ and the normal name is an alias. */
58322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58323 choke me
58324 #else
58325 char (*f) () = $ac_func;
58326 #endif
58327 #ifdef __cplusplus
58329 #endif
58332 main ()
58334 return f != $ac_func;
58336 return 0;
58338 _ACEOF
58339 rm -f conftest.$ac_objext conftest$ac_exeext
58340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58341 (eval $ac_link) 2>conftest.er1
58342 ac_status=$?
58343 grep -v '^ *+' conftest.er1 >conftest.err
58344 rm -f conftest.er1
58345 cat conftest.err >&5
58346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58347 (exit $ac_status); } &&
58348 { ac_try='test -z "$ac_c_werror_flag"
58349 || test ! -s conftest.err'
58350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58351 (eval $ac_try) 2>&5
58352 ac_status=$?
58353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58354 (exit $ac_status); }; } &&
58355 { ac_try='test -s conftest$ac_exeext'
58356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58357 (eval $ac_try) 2>&5
58358 ac_status=$?
58359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58360 (exit $ac_status); }; }; then
58361 eval "$as_ac_var=yes"
58362 else
58363 echo "$as_me: failed program was:" >&5
58364 sed 's/^/| /' conftest.$ac_ext >&5
58366 eval "$as_ac_var=no"
58368 rm -f conftest.err conftest.$ac_objext \
58369 conftest$ac_exeext conftest.$ac_ext
58371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58373 if test `eval echo '${'$as_ac_var'}'` = yes; then
58374 cat >>confdefs.h <<_ACEOF
58375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58376 _ACEOF
58379 done
58389 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
58390 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
58391 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58392 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
58393 echo $ECHO_N "(cached) $ECHO_C" >&6
58394 else
58398 ac_ext=cc
58399 ac_cpp='$CXXCPP $CPPFLAGS'
58400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58404 cat >conftest.$ac_ext <<_ACEOF
58405 /* confdefs.h. */
58406 _ACEOF
58407 cat confdefs.h >>conftest.$ac_ext
58408 cat >>conftest.$ac_ext <<_ACEOF
58409 /* end confdefs.h. */
58410 #include <math.h>
58412 main ()
58414 ldexpl(0, 0);
58416 return 0;
58418 _ACEOF
58419 rm -f conftest.$ac_objext
58420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58421 (eval $ac_compile) 2>conftest.er1
58422 ac_status=$?
58423 grep -v '^ *+' conftest.er1 >conftest.err
58424 rm -f conftest.er1
58425 cat conftest.err >&5
58426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58427 (exit $ac_status); } &&
58428 { ac_try='test -z "$ac_cxx_werror_flag"
58429 || test ! -s conftest.err'
58430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58431 (eval $ac_try) 2>&5
58432 ac_status=$?
58433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58434 (exit $ac_status); }; } &&
58435 { ac_try='test -s conftest.$ac_objext'
58436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58437 (eval $ac_try) 2>&5
58438 ac_status=$?
58439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58440 (exit $ac_status); }; }; then
58441 glibcxx_cv_func_ldexpl_use=yes
58442 else
58443 echo "$as_me: failed program was:" >&5
58444 sed 's/^/| /' conftest.$ac_ext >&5
58446 glibcxx_cv_func_ldexpl_use=no
58448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58449 ac_ext=c
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
58460 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
58462 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58464 for ac_func in ldexpl
58466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58467 echo "$as_me:$LINENO: checking for $ac_func" >&5
58468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58469 if eval "test \"\${$as_ac_var+set}\" = set"; then
58470 echo $ECHO_N "(cached) $ECHO_C" >&6
58471 else
58472 if test x$gcc_no_link = xyes; then
58473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58475 { (exit 1); exit 1; }; }
58477 cat >conftest.$ac_ext <<_ACEOF
58478 /* confdefs.h. */
58479 _ACEOF
58480 cat confdefs.h >>conftest.$ac_ext
58481 cat >>conftest.$ac_ext <<_ACEOF
58482 /* end confdefs.h. */
58483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58485 #define $ac_func innocuous_$ac_func
58487 /* System header to define __stub macros and hopefully few prototypes,
58488 which can conflict with char $ac_func (); below.
58489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58490 <limits.h> exists even on freestanding compilers. */
58492 #ifdef __STDC__
58493 # include <limits.h>
58494 #else
58495 # include <assert.h>
58496 #endif
58498 #undef $ac_func
58500 /* Override any gcc2 internal prototype to avoid an error. */
58501 #ifdef __cplusplus
58502 extern "C"
58504 #endif
58505 /* We use char because int might match the return type of a gcc2
58506 builtin and then its argument prototype would still apply. */
58507 char $ac_func ();
58508 /* The GNU C library defines this for functions which it implements
58509 to always fail with ENOSYS. Some functions are actually named
58510 something starting with __ and the normal name is an alias. */
58511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58512 choke me
58513 #else
58514 char (*f) () = $ac_func;
58515 #endif
58516 #ifdef __cplusplus
58518 #endif
58521 main ()
58523 return f != $ac_func;
58525 return 0;
58527 _ACEOF
58528 rm -f conftest.$ac_objext conftest$ac_exeext
58529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58530 (eval $ac_link) 2>conftest.er1
58531 ac_status=$?
58532 grep -v '^ *+' conftest.er1 >conftest.err
58533 rm -f conftest.er1
58534 cat conftest.err >&5
58535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58536 (exit $ac_status); } &&
58537 { ac_try='test -z "$ac_c_werror_flag"
58538 || test ! -s conftest.err'
58539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58540 (eval $ac_try) 2>&5
58541 ac_status=$?
58542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58543 (exit $ac_status); }; } &&
58544 { ac_try='test -s conftest$ac_exeext'
58545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58546 (eval $ac_try) 2>&5
58547 ac_status=$?
58548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58549 (exit $ac_status); }; }; then
58550 eval "$as_ac_var=yes"
58551 else
58552 echo "$as_me: failed program was:" >&5
58553 sed 's/^/| /' conftest.$ac_ext >&5
58555 eval "$as_ac_var=no"
58557 rm -f conftest.err conftest.$ac_objext \
58558 conftest$ac_exeext conftest.$ac_ext
58560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58562 if test `eval echo '${'$as_ac_var'}'` = yes; then
58563 cat >>confdefs.h <<_ACEOF
58564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58565 _ACEOF
58568 done
58570 else
58572 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58573 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58574 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58575 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58576 echo $ECHO_N "(cached) $ECHO_C" >&6
58577 else
58581 ac_ext=cc
58582 ac_cpp='$CXXCPP $CPPFLAGS'
58583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58587 cat >conftest.$ac_ext <<_ACEOF
58588 /* confdefs.h. */
58589 _ACEOF
58590 cat confdefs.h >>conftest.$ac_ext
58591 cat >>conftest.$ac_ext <<_ACEOF
58592 /* end confdefs.h. */
58593 #include <math.h>
58595 main ()
58597 _ldexpl(0, 0);
58599 return 0;
58601 _ACEOF
58602 rm -f conftest.$ac_objext
58603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58604 (eval $ac_compile) 2>conftest.er1
58605 ac_status=$?
58606 grep -v '^ *+' conftest.er1 >conftest.err
58607 rm -f conftest.er1
58608 cat conftest.err >&5
58609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58610 (exit $ac_status); } &&
58611 { ac_try='test -z "$ac_cxx_werror_flag"
58612 || test ! -s conftest.err'
58613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58614 (eval $ac_try) 2>&5
58615 ac_status=$?
58616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58617 (exit $ac_status); }; } &&
58618 { ac_try='test -s conftest.$ac_objext'
58619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58620 (eval $ac_try) 2>&5
58621 ac_status=$?
58622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58623 (exit $ac_status); }; }; then
58624 glibcxx_cv_func__ldexpl_use=yes
58625 else
58626 echo "$as_me: failed program was:" >&5
58627 sed 's/^/| /' conftest.$ac_ext >&5
58629 glibcxx_cv_func__ldexpl_use=no
58631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58632 ac_ext=c
58633 ac_cpp='$CPP $CPPFLAGS'
58634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58643 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58645 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58647 for ac_func in _ldexpl
58649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58650 echo "$as_me:$LINENO: checking for $ac_func" >&5
58651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58652 if eval "test \"\${$as_ac_var+set}\" = set"; then
58653 echo $ECHO_N "(cached) $ECHO_C" >&6
58654 else
58655 if test x$gcc_no_link = xyes; then
58656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58658 { (exit 1); exit 1; }; }
58660 cat >conftest.$ac_ext <<_ACEOF
58661 /* confdefs.h. */
58662 _ACEOF
58663 cat confdefs.h >>conftest.$ac_ext
58664 cat >>conftest.$ac_ext <<_ACEOF
58665 /* end confdefs.h. */
58666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58668 #define $ac_func innocuous_$ac_func
58670 /* System header to define __stub macros and hopefully few prototypes,
58671 which can conflict with char $ac_func (); below.
58672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58673 <limits.h> exists even on freestanding compilers. */
58675 #ifdef __STDC__
58676 # include <limits.h>
58677 #else
58678 # include <assert.h>
58679 #endif
58681 #undef $ac_func
58683 /* Override any gcc2 internal prototype to avoid an error. */
58684 #ifdef __cplusplus
58685 extern "C"
58687 #endif
58688 /* We use char because int might match the return type of a gcc2
58689 builtin and then its argument prototype would still apply. */
58690 char $ac_func ();
58691 /* The GNU C library defines this for functions which it implements
58692 to always fail with ENOSYS. Some functions are actually named
58693 something starting with __ and the normal name is an alias. */
58694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58695 choke me
58696 #else
58697 char (*f) () = $ac_func;
58698 #endif
58699 #ifdef __cplusplus
58701 #endif
58704 main ()
58706 return f != $ac_func;
58708 return 0;
58710 _ACEOF
58711 rm -f conftest.$ac_objext conftest$ac_exeext
58712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58713 (eval $ac_link) 2>conftest.er1
58714 ac_status=$?
58715 grep -v '^ *+' conftest.er1 >conftest.err
58716 rm -f conftest.er1
58717 cat conftest.err >&5
58718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58719 (exit $ac_status); } &&
58720 { ac_try='test -z "$ac_c_werror_flag"
58721 || test ! -s conftest.err'
58722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58723 (eval $ac_try) 2>&5
58724 ac_status=$?
58725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58726 (exit $ac_status); }; } &&
58727 { ac_try='test -s conftest$ac_exeext'
58728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58729 (eval $ac_try) 2>&5
58730 ac_status=$?
58731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58732 (exit $ac_status); }; }; then
58733 eval "$as_ac_var=yes"
58734 else
58735 echo "$as_me: failed program was:" >&5
58736 sed 's/^/| /' conftest.$ac_ext >&5
58738 eval "$as_ac_var=no"
58740 rm -f conftest.err conftest.$ac_objext \
58741 conftest$ac_exeext conftest.$ac_ext
58743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58745 if test `eval echo '${'$as_ac_var'}'` = yes; then
58746 cat >>confdefs.h <<_ACEOF
58747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58748 _ACEOF
58751 done
58761 echo "$as_me:$LINENO: checking for logl declaration" >&5
58762 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58763 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58764 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58765 echo $ECHO_N "(cached) $ECHO_C" >&6
58766 else
58770 ac_ext=cc
58771 ac_cpp='$CXXCPP $CPPFLAGS'
58772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58776 cat >conftest.$ac_ext <<_ACEOF
58777 /* confdefs.h. */
58778 _ACEOF
58779 cat confdefs.h >>conftest.$ac_ext
58780 cat >>conftest.$ac_ext <<_ACEOF
58781 /* end confdefs.h. */
58782 #include <math.h>
58783 #ifdef HAVE_IEEEFP_H
58784 #include <ieeefp.h>
58785 #endif
58788 main ()
58790 logl(0);
58792 return 0;
58794 _ACEOF
58795 rm -f conftest.$ac_objext
58796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58797 (eval $ac_compile) 2>conftest.er1
58798 ac_status=$?
58799 grep -v '^ *+' conftest.er1 >conftest.err
58800 rm -f conftest.er1
58801 cat conftest.err >&5
58802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58803 (exit $ac_status); } &&
58804 { ac_try='test -z "$ac_cxx_werror_flag"
58805 || test ! -s conftest.err'
58806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58807 (eval $ac_try) 2>&5
58808 ac_status=$?
58809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58810 (exit $ac_status); }; } &&
58811 { ac_try='test -s conftest.$ac_objext'
58812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58813 (eval $ac_try) 2>&5
58814 ac_status=$?
58815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58816 (exit $ac_status); }; }; then
58817 glibcxx_cv_func_logl_use=yes
58818 else
58819 echo "$as_me: failed program was:" >&5
58820 sed 's/^/| /' conftest.$ac_ext >&5
58822 glibcxx_cv_func_logl_use=no
58824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58825 ac_ext=c
58826 ac_cpp='$CPP $CPPFLAGS'
58827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58835 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58836 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58838 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58840 for ac_func in logl
58842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58843 echo "$as_me:$LINENO: checking for $ac_func" >&5
58844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58845 if eval "test \"\${$as_ac_var+set}\" = set"; then
58846 echo $ECHO_N "(cached) $ECHO_C" >&6
58847 else
58848 if test x$gcc_no_link = xyes; then
58849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58851 { (exit 1); exit 1; }; }
58853 cat >conftest.$ac_ext <<_ACEOF
58854 /* confdefs.h. */
58855 _ACEOF
58856 cat confdefs.h >>conftest.$ac_ext
58857 cat >>conftest.$ac_ext <<_ACEOF
58858 /* end confdefs.h. */
58859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58861 #define $ac_func innocuous_$ac_func
58863 /* System header to define __stub macros and hopefully few prototypes,
58864 which can conflict with char $ac_func (); below.
58865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58866 <limits.h> exists even on freestanding compilers. */
58868 #ifdef __STDC__
58869 # include <limits.h>
58870 #else
58871 # include <assert.h>
58872 #endif
58874 #undef $ac_func
58876 /* Override any gcc2 internal prototype to avoid an error. */
58877 #ifdef __cplusplus
58878 extern "C"
58880 #endif
58881 /* We use char because int might match the return type of a gcc2
58882 builtin and then its argument prototype would still apply. */
58883 char $ac_func ();
58884 /* The GNU C library defines this for functions which it implements
58885 to always fail with ENOSYS. Some functions are actually named
58886 something starting with __ and the normal name is an alias. */
58887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58888 choke me
58889 #else
58890 char (*f) () = $ac_func;
58891 #endif
58892 #ifdef __cplusplus
58894 #endif
58897 main ()
58899 return f != $ac_func;
58901 return 0;
58903 _ACEOF
58904 rm -f conftest.$ac_objext conftest$ac_exeext
58905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58906 (eval $ac_link) 2>conftest.er1
58907 ac_status=$?
58908 grep -v '^ *+' conftest.er1 >conftest.err
58909 rm -f conftest.er1
58910 cat conftest.err >&5
58911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58912 (exit $ac_status); } &&
58913 { ac_try='test -z "$ac_c_werror_flag"
58914 || test ! -s conftest.err'
58915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58916 (eval $ac_try) 2>&5
58917 ac_status=$?
58918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58919 (exit $ac_status); }; } &&
58920 { ac_try='test -s conftest$ac_exeext'
58921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58922 (eval $ac_try) 2>&5
58923 ac_status=$?
58924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58925 (exit $ac_status); }; }; then
58926 eval "$as_ac_var=yes"
58927 else
58928 echo "$as_me: failed program was:" >&5
58929 sed 's/^/| /' conftest.$ac_ext >&5
58931 eval "$as_ac_var=no"
58933 rm -f conftest.err conftest.$ac_objext \
58934 conftest$ac_exeext conftest.$ac_ext
58936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58938 if test `eval echo '${'$as_ac_var'}'` = yes; then
58939 cat >>confdefs.h <<_ACEOF
58940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58941 _ACEOF
58944 done
58946 else
58948 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58949 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58950 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58951 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58952 echo $ECHO_N "(cached) $ECHO_C" >&6
58953 else
58957 ac_ext=cc
58958 ac_cpp='$CXXCPP $CPPFLAGS'
58959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58963 cat >conftest.$ac_ext <<_ACEOF
58964 /* confdefs.h. */
58965 _ACEOF
58966 cat confdefs.h >>conftest.$ac_ext
58967 cat >>conftest.$ac_ext <<_ACEOF
58968 /* end confdefs.h. */
58969 #include <math.h>
58970 #ifdef HAVE_IEEEFP_H
58971 #include <ieeefp.h>
58972 #endif
58975 main ()
58977 _logl(0);
58979 return 0;
58981 _ACEOF
58982 rm -f conftest.$ac_objext
58983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58984 (eval $ac_compile) 2>conftest.er1
58985 ac_status=$?
58986 grep -v '^ *+' conftest.er1 >conftest.err
58987 rm -f conftest.er1
58988 cat conftest.err >&5
58989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58990 (exit $ac_status); } &&
58991 { ac_try='test -z "$ac_cxx_werror_flag"
58992 || test ! -s conftest.err'
58993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58994 (eval $ac_try) 2>&5
58995 ac_status=$?
58996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58997 (exit $ac_status); }; } &&
58998 { ac_try='test -s conftest.$ac_objext'
58999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59000 (eval $ac_try) 2>&5
59001 ac_status=$?
59002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59003 (exit $ac_status); }; }; then
59004 glibcxx_cv_func__logl_use=yes
59005 else
59006 echo "$as_me: failed program was:" >&5
59007 sed 's/^/| /' conftest.$ac_ext >&5
59009 glibcxx_cv_func__logl_use=no
59011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59012 ac_ext=c
59013 ac_cpp='$CPP $CPPFLAGS'
59014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
59023 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
59025 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59027 for ac_func in _logl
59029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59030 echo "$as_me:$LINENO: checking for $ac_func" >&5
59031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59032 if eval "test \"\${$as_ac_var+set}\" = set"; then
59033 echo $ECHO_N "(cached) $ECHO_C" >&6
59034 else
59035 if test x$gcc_no_link = xyes; then
59036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59038 { (exit 1); exit 1; }; }
59040 cat >conftest.$ac_ext <<_ACEOF
59041 /* confdefs.h. */
59042 _ACEOF
59043 cat confdefs.h >>conftest.$ac_ext
59044 cat >>conftest.$ac_ext <<_ACEOF
59045 /* end confdefs.h. */
59046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59048 #define $ac_func innocuous_$ac_func
59050 /* System header to define __stub macros and hopefully few prototypes,
59051 which can conflict with char $ac_func (); below.
59052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59053 <limits.h> exists even on freestanding compilers. */
59055 #ifdef __STDC__
59056 # include <limits.h>
59057 #else
59058 # include <assert.h>
59059 #endif
59061 #undef $ac_func
59063 /* Override any gcc2 internal prototype to avoid an error. */
59064 #ifdef __cplusplus
59065 extern "C"
59067 #endif
59068 /* We use char because int might match the return type of a gcc2
59069 builtin and then its argument prototype would still apply. */
59070 char $ac_func ();
59071 /* The GNU C library defines this for functions which it implements
59072 to always fail with ENOSYS. Some functions are actually named
59073 something starting with __ and the normal name is an alias. */
59074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59075 choke me
59076 #else
59077 char (*f) () = $ac_func;
59078 #endif
59079 #ifdef __cplusplus
59081 #endif
59084 main ()
59086 return f != $ac_func;
59088 return 0;
59090 _ACEOF
59091 rm -f conftest.$ac_objext conftest$ac_exeext
59092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59093 (eval $ac_link) 2>conftest.er1
59094 ac_status=$?
59095 grep -v '^ *+' conftest.er1 >conftest.err
59096 rm -f conftest.er1
59097 cat conftest.err >&5
59098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59099 (exit $ac_status); } &&
59100 { ac_try='test -z "$ac_c_werror_flag"
59101 || test ! -s conftest.err'
59102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59103 (eval $ac_try) 2>&5
59104 ac_status=$?
59105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59106 (exit $ac_status); }; } &&
59107 { ac_try='test -s conftest$ac_exeext'
59108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59109 (eval $ac_try) 2>&5
59110 ac_status=$?
59111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59112 (exit $ac_status); }; }; then
59113 eval "$as_ac_var=yes"
59114 else
59115 echo "$as_me: failed program was:" >&5
59116 sed 's/^/| /' conftest.$ac_ext >&5
59118 eval "$as_ac_var=no"
59120 rm -f conftest.err conftest.$ac_objext \
59121 conftest$ac_exeext conftest.$ac_ext
59123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59125 if test `eval echo '${'$as_ac_var'}'` = yes; then
59126 cat >>confdefs.h <<_ACEOF
59127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59128 _ACEOF
59131 done
59141 echo "$as_me:$LINENO: checking for log10l declaration" >&5
59142 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
59143 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59144 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
59145 echo $ECHO_N "(cached) $ECHO_C" >&6
59146 else
59150 ac_ext=cc
59151 ac_cpp='$CXXCPP $CPPFLAGS'
59152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59156 cat >conftest.$ac_ext <<_ACEOF
59157 /* confdefs.h. */
59158 _ACEOF
59159 cat confdefs.h >>conftest.$ac_ext
59160 cat >>conftest.$ac_ext <<_ACEOF
59161 /* end confdefs.h. */
59162 #include <math.h>
59163 #ifdef HAVE_IEEEFP_H
59164 #include <ieeefp.h>
59165 #endif
59168 main ()
59170 log10l(0);
59172 return 0;
59174 _ACEOF
59175 rm -f conftest.$ac_objext
59176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59177 (eval $ac_compile) 2>conftest.er1
59178 ac_status=$?
59179 grep -v '^ *+' conftest.er1 >conftest.err
59180 rm -f conftest.er1
59181 cat conftest.err >&5
59182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59183 (exit $ac_status); } &&
59184 { ac_try='test -z "$ac_cxx_werror_flag"
59185 || test ! -s conftest.err'
59186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59187 (eval $ac_try) 2>&5
59188 ac_status=$?
59189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59190 (exit $ac_status); }; } &&
59191 { ac_try='test -s conftest.$ac_objext'
59192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59193 (eval $ac_try) 2>&5
59194 ac_status=$?
59195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196 (exit $ac_status); }; }; then
59197 glibcxx_cv_func_log10l_use=yes
59198 else
59199 echo "$as_me: failed program was:" >&5
59200 sed 's/^/| /' conftest.$ac_ext >&5
59202 glibcxx_cv_func_log10l_use=no
59204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59205 ac_ext=c
59206 ac_cpp='$CPP $CPPFLAGS'
59207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
59216 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
59218 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59220 for ac_func in log10l
59222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59223 echo "$as_me:$LINENO: checking for $ac_func" >&5
59224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59225 if eval "test \"\${$as_ac_var+set}\" = set"; then
59226 echo $ECHO_N "(cached) $ECHO_C" >&6
59227 else
59228 if test x$gcc_no_link = xyes; then
59229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59231 { (exit 1); exit 1; }; }
59233 cat >conftest.$ac_ext <<_ACEOF
59234 /* confdefs.h. */
59235 _ACEOF
59236 cat confdefs.h >>conftest.$ac_ext
59237 cat >>conftest.$ac_ext <<_ACEOF
59238 /* end confdefs.h. */
59239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59241 #define $ac_func innocuous_$ac_func
59243 /* System header to define __stub macros and hopefully few prototypes,
59244 which can conflict with char $ac_func (); below.
59245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59246 <limits.h> exists even on freestanding compilers. */
59248 #ifdef __STDC__
59249 # include <limits.h>
59250 #else
59251 # include <assert.h>
59252 #endif
59254 #undef $ac_func
59256 /* Override any gcc2 internal prototype to avoid an error. */
59257 #ifdef __cplusplus
59258 extern "C"
59260 #endif
59261 /* We use char because int might match the return type of a gcc2
59262 builtin and then its argument prototype would still apply. */
59263 char $ac_func ();
59264 /* The GNU C library defines this for functions which it implements
59265 to always fail with ENOSYS. Some functions are actually named
59266 something starting with __ and the normal name is an alias. */
59267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59268 choke me
59269 #else
59270 char (*f) () = $ac_func;
59271 #endif
59272 #ifdef __cplusplus
59274 #endif
59277 main ()
59279 return f != $ac_func;
59281 return 0;
59283 _ACEOF
59284 rm -f conftest.$ac_objext conftest$ac_exeext
59285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59286 (eval $ac_link) 2>conftest.er1
59287 ac_status=$?
59288 grep -v '^ *+' conftest.er1 >conftest.err
59289 rm -f conftest.er1
59290 cat conftest.err >&5
59291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59292 (exit $ac_status); } &&
59293 { ac_try='test -z "$ac_c_werror_flag"
59294 || test ! -s conftest.err'
59295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59296 (eval $ac_try) 2>&5
59297 ac_status=$?
59298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59299 (exit $ac_status); }; } &&
59300 { ac_try='test -s conftest$ac_exeext'
59301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59302 (eval $ac_try) 2>&5
59303 ac_status=$?
59304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305 (exit $ac_status); }; }; then
59306 eval "$as_ac_var=yes"
59307 else
59308 echo "$as_me: failed program was:" >&5
59309 sed 's/^/| /' conftest.$ac_ext >&5
59311 eval "$as_ac_var=no"
59313 rm -f conftest.err conftest.$ac_objext \
59314 conftest$ac_exeext conftest.$ac_ext
59316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59318 if test `eval echo '${'$as_ac_var'}'` = yes; then
59319 cat >>confdefs.h <<_ACEOF
59320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59321 _ACEOF
59324 done
59326 else
59328 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
59329 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
59330 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59331 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
59332 echo $ECHO_N "(cached) $ECHO_C" >&6
59333 else
59337 ac_ext=cc
59338 ac_cpp='$CXXCPP $CPPFLAGS'
59339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59343 cat >conftest.$ac_ext <<_ACEOF
59344 /* confdefs.h. */
59345 _ACEOF
59346 cat confdefs.h >>conftest.$ac_ext
59347 cat >>conftest.$ac_ext <<_ACEOF
59348 /* end confdefs.h. */
59349 #include <math.h>
59350 #ifdef HAVE_IEEEFP_H
59351 #include <ieeefp.h>
59352 #endif
59355 main ()
59357 _log10l(0);
59359 return 0;
59361 _ACEOF
59362 rm -f conftest.$ac_objext
59363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59364 (eval $ac_compile) 2>conftest.er1
59365 ac_status=$?
59366 grep -v '^ *+' conftest.er1 >conftest.err
59367 rm -f conftest.er1
59368 cat conftest.err >&5
59369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59370 (exit $ac_status); } &&
59371 { ac_try='test -z "$ac_cxx_werror_flag"
59372 || test ! -s conftest.err'
59373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59374 (eval $ac_try) 2>&5
59375 ac_status=$?
59376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59377 (exit $ac_status); }; } &&
59378 { ac_try='test -s conftest.$ac_objext'
59379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59380 (eval $ac_try) 2>&5
59381 ac_status=$?
59382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59383 (exit $ac_status); }; }; then
59384 glibcxx_cv_func__log10l_use=yes
59385 else
59386 echo "$as_me: failed program was:" >&5
59387 sed 's/^/| /' conftest.$ac_ext >&5
59389 glibcxx_cv_func__log10l_use=no
59391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59392 ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
59403 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
59405 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59407 for ac_func in _log10l
59409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59410 echo "$as_me:$LINENO: checking for $ac_func" >&5
59411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59412 if eval "test \"\${$as_ac_var+set}\" = set"; then
59413 echo $ECHO_N "(cached) $ECHO_C" >&6
59414 else
59415 if test x$gcc_no_link = xyes; then
59416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59418 { (exit 1); exit 1; }; }
59420 cat >conftest.$ac_ext <<_ACEOF
59421 /* confdefs.h. */
59422 _ACEOF
59423 cat confdefs.h >>conftest.$ac_ext
59424 cat >>conftest.$ac_ext <<_ACEOF
59425 /* end confdefs.h. */
59426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59428 #define $ac_func innocuous_$ac_func
59430 /* System header to define __stub macros and hopefully few prototypes,
59431 which can conflict with char $ac_func (); below.
59432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59433 <limits.h> exists even on freestanding compilers. */
59435 #ifdef __STDC__
59436 # include <limits.h>
59437 #else
59438 # include <assert.h>
59439 #endif
59441 #undef $ac_func
59443 /* Override any gcc2 internal prototype to avoid an error. */
59444 #ifdef __cplusplus
59445 extern "C"
59447 #endif
59448 /* We use char because int might match the return type of a gcc2
59449 builtin and then its argument prototype would still apply. */
59450 char $ac_func ();
59451 /* The GNU C library defines this for functions which it implements
59452 to always fail with ENOSYS. Some functions are actually named
59453 something starting with __ and the normal name is an alias. */
59454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59455 choke me
59456 #else
59457 char (*f) () = $ac_func;
59458 #endif
59459 #ifdef __cplusplus
59461 #endif
59464 main ()
59466 return f != $ac_func;
59468 return 0;
59470 _ACEOF
59471 rm -f conftest.$ac_objext conftest$ac_exeext
59472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59473 (eval $ac_link) 2>conftest.er1
59474 ac_status=$?
59475 grep -v '^ *+' conftest.er1 >conftest.err
59476 rm -f conftest.er1
59477 cat conftest.err >&5
59478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59479 (exit $ac_status); } &&
59480 { ac_try='test -z "$ac_c_werror_flag"
59481 || test ! -s conftest.err'
59482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59483 (eval $ac_try) 2>&5
59484 ac_status=$?
59485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486 (exit $ac_status); }; } &&
59487 { ac_try='test -s conftest$ac_exeext'
59488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59489 (eval $ac_try) 2>&5
59490 ac_status=$?
59491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59492 (exit $ac_status); }; }; then
59493 eval "$as_ac_var=yes"
59494 else
59495 echo "$as_me: failed program was:" >&5
59496 sed 's/^/| /' conftest.$ac_ext >&5
59498 eval "$as_ac_var=no"
59500 rm -f conftest.err conftest.$ac_objext \
59501 conftest$ac_exeext conftest.$ac_ext
59503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59505 if test `eval echo '${'$as_ac_var'}'` = yes; then
59506 cat >>confdefs.h <<_ACEOF
59507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59508 _ACEOF
59511 done
59521 echo "$as_me:$LINENO: checking for modfl declaration" >&5
59522 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
59523 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59524 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
59525 echo $ECHO_N "(cached) $ECHO_C" >&6
59526 else
59530 ac_ext=cc
59531 ac_cpp='$CXXCPP $CPPFLAGS'
59532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59536 cat >conftest.$ac_ext <<_ACEOF
59537 /* confdefs.h. */
59538 _ACEOF
59539 cat confdefs.h >>conftest.$ac_ext
59540 cat >>conftest.$ac_ext <<_ACEOF
59541 /* end confdefs.h. */
59542 #include <math.h>
59544 main ()
59546 modfl(0, 0);
59548 return 0;
59550 _ACEOF
59551 rm -f conftest.$ac_objext
59552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59553 (eval $ac_compile) 2>conftest.er1
59554 ac_status=$?
59555 grep -v '^ *+' conftest.er1 >conftest.err
59556 rm -f conftest.er1
59557 cat conftest.err >&5
59558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59559 (exit $ac_status); } &&
59560 { ac_try='test -z "$ac_cxx_werror_flag"
59561 || test ! -s conftest.err'
59562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59563 (eval $ac_try) 2>&5
59564 ac_status=$?
59565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59566 (exit $ac_status); }; } &&
59567 { ac_try='test -s conftest.$ac_objext'
59568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59569 (eval $ac_try) 2>&5
59570 ac_status=$?
59571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59572 (exit $ac_status); }; }; then
59573 glibcxx_cv_func_modfl_use=yes
59574 else
59575 echo "$as_me: failed program was:" >&5
59576 sed 's/^/| /' conftest.$ac_ext >&5
59578 glibcxx_cv_func_modfl_use=no
59580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59581 ac_ext=c
59582 ac_cpp='$CPP $CPPFLAGS'
59583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59592 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59594 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59596 for ac_func in modfl
59598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59599 echo "$as_me:$LINENO: checking for $ac_func" >&5
59600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59601 if eval "test \"\${$as_ac_var+set}\" = set"; then
59602 echo $ECHO_N "(cached) $ECHO_C" >&6
59603 else
59604 if test x$gcc_no_link = xyes; then
59605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59607 { (exit 1); exit 1; }; }
59609 cat >conftest.$ac_ext <<_ACEOF
59610 /* confdefs.h. */
59611 _ACEOF
59612 cat confdefs.h >>conftest.$ac_ext
59613 cat >>conftest.$ac_ext <<_ACEOF
59614 /* end confdefs.h. */
59615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59617 #define $ac_func innocuous_$ac_func
59619 /* System header to define __stub macros and hopefully few prototypes,
59620 which can conflict with char $ac_func (); below.
59621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59622 <limits.h> exists even on freestanding compilers. */
59624 #ifdef __STDC__
59625 # include <limits.h>
59626 #else
59627 # include <assert.h>
59628 #endif
59630 #undef $ac_func
59632 /* Override any gcc2 internal prototype to avoid an error. */
59633 #ifdef __cplusplus
59634 extern "C"
59636 #endif
59637 /* We use char because int might match the return type of a gcc2
59638 builtin and then its argument prototype would still apply. */
59639 char $ac_func ();
59640 /* The GNU C library defines this for functions which it implements
59641 to always fail with ENOSYS. Some functions are actually named
59642 something starting with __ and the normal name is an alias. */
59643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59644 choke me
59645 #else
59646 char (*f) () = $ac_func;
59647 #endif
59648 #ifdef __cplusplus
59650 #endif
59653 main ()
59655 return f != $ac_func;
59657 return 0;
59659 _ACEOF
59660 rm -f conftest.$ac_objext conftest$ac_exeext
59661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59662 (eval $ac_link) 2>conftest.er1
59663 ac_status=$?
59664 grep -v '^ *+' conftest.er1 >conftest.err
59665 rm -f conftest.er1
59666 cat conftest.err >&5
59667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59668 (exit $ac_status); } &&
59669 { ac_try='test -z "$ac_c_werror_flag"
59670 || test ! -s conftest.err'
59671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59672 (eval $ac_try) 2>&5
59673 ac_status=$?
59674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59675 (exit $ac_status); }; } &&
59676 { ac_try='test -s conftest$ac_exeext'
59677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59678 (eval $ac_try) 2>&5
59679 ac_status=$?
59680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59681 (exit $ac_status); }; }; then
59682 eval "$as_ac_var=yes"
59683 else
59684 echo "$as_me: failed program was:" >&5
59685 sed 's/^/| /' conftest.$ac_ext >&5
59687 eval "$as_ac_var=no"
59689 rm -f conftest.err conftest.$ac_objext \
59690 conftest$ac_exeext conftest.$ac_ext
59692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59694 if test `eval echo '${'$as_ac_var'}'` = yes; then
59695 cat >>confdefs.h <<_ACEOF
59696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59697 _ACEOF
59700 done
59702 else
59704 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59705 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59706 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59707 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59708 echo $ECHO_N "(cached) $ECHO_C" >&6
59709 else
59713 ac_ext=cc
59714 ac_cpp='$CXXCPP $CPPFLAGS'
59715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59719 cat >conftest.$ac_ext <<_ACEOF
59720 /* confdefs.h. */
59721 _ACEOF
59722 cat confdefs.h >>conftest.$ac_ext
59723 cat >>conftest.$ac_ext <<_ACEOF
59724 /* end confdefs.h. */
59725 #include <math.h>
59727 main ()
59729 _modfl(0, 0);
59731 return 0;
59733 _ACEOF
59734 rm -f conftest.$ac_objext
59735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59736 (eval $ac_compile) 2>conftest.er1
59737 ac_status=$?
59738 grep -v '^ *+' conftest.er1 >conftest.err
59739 rm -f conftest.er1
59740 cat conftest.err >&5
59741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59742 (exit $ac_status); } &&
59743 { ac_try='test -z "$ac_cxx_werror_flag"
59744 || test ! -s conftest.err'
59745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59746 (eval $ac_try) 2>&5
59747 ac_status=$?
59748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59749 (exit $ac_status); }; } &&
59750 { ac_try='test -s conftest.$ac_objext'
59751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59752 (eval $ac_try) 2>&5
59753 ac_status=$?
59754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59755 (exit $ac_status); }; }; then
59756 glibcxx_cv_func__modfl_use=yes
59757 else
59758 echo "$as_me: failed program was:" >&5
59759 sed 's/^/| /' conftest.$ac_ext >&5
59761 glibcxx_cv_func__modfl_use=no
59763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59764 ac_ext=c
59765 ac_cpp='$CPP $CPPFLAGS'
59766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59775 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59777 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59779 for ac_func in _modfl
59781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59782 echo "$as_me:$LINENO: checking for $ac_func" >&5
59783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59784 if eval "test \"\${$as_ac_var+set}\" = set"; then
59785 echo $ECHO_N "(cached) $ECHO_C" >&6
59786 else
59787 if test x$gcc_no_link = xyes; then
59788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59790 { (exit 1); exit 1; }; }
59792 cat >conftest.$ac_ext <<_ACEOF
59793 /* confdefs.h. */
59794 _ACEOF
59795 cat confdefs.h >>conftest.$ac_ext
59796 cat >>conftest.$ac_ext <<_ACEOF
59797 /* end confdefs.h. */
59798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59800 #define $ac_func innocuous_$ac_func
59802 /* System header to define __stub macros and hopefully few prototypes,
59803 which can conflict with char $ac_func (); below.
59804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59805 <limits.h> exists even on freestanding compilers. */
59807 #ifdef __STDC__
59808 # include <limits.h>
59809 #else
59810 # include <assert.h>
59811 #endif
59813 #undef $ac_func
59815 /* Override any gcc2 internal prototype to avoid an error. */
59816 #ifdef __cplusplus
59817 extern "C"
59819 #endif
59820 /* We use char because int might match the return type of a gcc2
59821 builtin and then its argument prototype would still apply. */
59822 char $ac_func ();
59823 /* The GNU C library defines this for functions which it implements
59824 to always fail with ENOSYS. Some functions are actually named
59825 something starting with __ and the normal name is an alias. */
59826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59827 choke me
59828 #else
59829 char (*f) () = $ac_func;
59830 #endif
59831 #ifdef __cplusplus
59833 #endif
59836 main ()
59838 return f != $ac_func;
59840 return 0;
59842 _ACEOF
59843 rm -f conftest.$ac_objext conftest$ac_exeext
59844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59845 (eval $ac_link) 2>conftest.er1
59846 ac_status=$?
59847 grep -v '^ *+' conftest.er1 >conftest.err
59848 rm -f conftest.er1
59849 cat conftest.err >&5
59850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59851 (exit $ac_status); } &&
59852 { ac_try='test -z "$ac_c_werror_flag"
59853 || test ! -s conftest.err'
59854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59855 (eval $ac_try) 2>&5
59856 ac_status=$?
59857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59858 (exit $ac_status); }; } &&
59859 { ac_try='test -s conftest$ac_exeext'
59860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59861 (eval $ac_try) 2>&5
59862 ac_status=$?
59863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59864 (exit $ac_status); }; }; then
59865 eval "$as_ac_var=yes"
59866 else
59867 echo "$as_me: failed program was:" >&5
59868 sed 's/^/| /' conftest.$ac_ext >&5
59870 eval "$as_ac_var=no"
59872 rm -f conftest.err conftest.$ac_objext \
59873 conftest$ac_exeext conftest.$ac_ext
59875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59877 if test `eval echo '${'$as_ac_var'}'` = yes; then
59878 cat >>confdefs.h <<_ACEOF
59879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59880 _ACEOF
59883 done
59893 echo "$as_me:$LINENO: checking for powl declaration" >&5
59894 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59895 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59896 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59897 echo $ECHO_N "(cached) $ECHO_C" >&6
59898 else
59902 ac_ext=cc
59903 ac_cpp='$CXXCPP $CPPFLAGS'
59904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59908 cat >conftest.$ac_ext <<_ACEOF
59909 /* confdefs.h. */
59910 _ACEOF
59911 cat confdefs.h >>conftest.$ac_ext
59912 cat >>conftest.$ac_ext <<_ACEOF
59913 /* end confdefs.h. */
59914 #include <math.h>
59916 main ()
59918 powl(0, 0);
59920 return 0;
59922 _ACEOF
59923 rm -f conftest.$ac_objext
59924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59925 (eval $ac_compile) 2>conftest.er1
59926 ac_status=$?
59927 grep -v '^ *+' conftest.er1 >conftest.err
59928 rm -f conftest.er1
59929 cat conftest.err >&5
59930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59931 (exit $ac_status); } &&
59932 { ac_try='test -z "$ac_cxx_werror_flag"
59933 || test ! -s conftest.err'
59934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59935 (eval $ac_try) 2>&5
59936 ac_status=$?
59937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59938 (exit $ac_status); }; } &&
59939 { ac_try='test -s conftest.$ac_objext'
59940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59941 (eval $ac_try) 2>&5
59942 ac_status=$?
59943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59944 (exit $ac_status); }; }; then
59945 glibcxx_cv_func_powl_use=yes
59946 else
59947 echo "$as_me: failed program was:" >&5
59948 sed 's/^/| /' conftest.$ac_ext >&5
59950 glibcxx_cv_func_powl_use=no
59952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59953 ac_ext=c
59954 ac_cpp='$CPP $CPPFLAGS'
59955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59964 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59966 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59968 for ac_func in powl
59970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59971 echo "$as_me:$LINENO: checking for $ac_func" >&5
59972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59973 if eval "test \"\${$as_ac_var+set}\" = set"; then
59974 echo $ECHO_N "(cached) $ECHO_C" >&6
59975 else
59976 if test x$gcc_no_link = xyes; then
59977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59979 { (exit 1); exit 1; }; }
59981 cat >conftest.$ac_ext <<_ACEOF
59982 /* confdefs.h. */
59983 _ACEOF
59984 cat confdefs.h >>conftest.$ac_ext
59985 cat >>conftest.$ac_ext <<_ACEOF
59986 /* end confdefs.h. */
59987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59989 #define $ac_func innocuous_$ac_func
59991 /* System header to define __stub macros and hopefully few prototypes,
59992 which can conflict with char $ac_func (); below.
59993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59994 <limits.h> exists even on freestanding compilers. */
59996 #ifdef __STDC__
59997 # include <limits.h>
59998 #else
59999 # include <assert.h>
60000 #endif
60002 #undef $ac_func
60004 /* Override any gcc2 internal prototype to avoid an error. */
60005 #ifdef __cplusplus
60006 extern "C"
60008 #endif
60009 /* We use char because int might match the return type of a gcc2
60010 builtin and then its argument prototype would still apply. */
60011 char $ac_func ();
60012 /* The GNU C library defines this for functions which it implements
60013 to always fail with ENOSYS. Some functions are actually named
60014 something starting with __ and the normal name is an alias. */
60015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60016 choke me
60017 #else
60018 char (*f) () = $ac_func;
60019 #endif
60020 #ifdef __cplusplus
60022 #endif
60025 main ()
60027 return f != $ac_func;
60029 return 0;
60031 _ACEOF
60032 rm -f conftest.$ac_objext conftest$ac_exeext
60033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60034 (eval $ac_link) 2>conftest.er1
60035 ac_status=$?
60036 grep -v '^ *+' conftest.er1 >conftest.err
60037 rm -f conftest.er1
60038 cat conftest.err >&5
60039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60040 (exit $ac_status); } &&
60041 { ac_try='test -z "$ac_c_werror_flag"
60042 || test ! -s conftest.err'
60043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60044 (eval $ac_try) 2>&5
60045 ac_status=$?
60046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60047 (exit $ac_status); }; } &&
60048 { ac_try='test -s conftest$ac_exeext'
60049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60050 (eval $ac_try) 2>&5
60051 ac_status=$?
60052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60053 (exit $ac_status); }; }; then
60054 eval "$as_ac_var=yes"
60055 else
60056 echo "$as_me: failed program was:" >&5
60057 sed 's/^/| /' conftest.$ac_ext >&5
60059 eval "$as_ac_var=no"
60061 rm -f conftest.err conftest.$ac_objext \
60062 conftest$ac_exeext conftest.$ac_ext
60064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60066 if test `eval echo '${'$as_ac_var'}'` = yes; then
60067 cat >>confdefs.h <<_ACEOF
60068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60069 _ACEOF
60072 done
60074 else
60076 echo "$as_me:$LINENO: checking for _powl declaration" >&5
60077 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
60078 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60079 if test "${glibcxx_cv_func__powl_use+set}" = set; then
60080 echo $ECHO_N "(cached) $ECHO_C" >&6
60081 else
60085 ac_ext=cc
60086 ac_cpp='$CXXCPP $CPPFLAGS'
60087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60091 cat >conftest.$ac_ext <<_ACEOF
60092 /* confdefs.h. */
60093 _ACEOF
60094 cat confdefs.h >>conftest.$ac_ext
60095 cat >>conftest.$ac_ext <<_ACEOF
60096 /* end confdefs.h. */
60097 #include <math.h>
60099 main ()
60101 _powl(0, 0);
60103 return 0;
60105 _ACEOF
60106 rm -f conftest.$ac_objext
60107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60108 (eval $ac_compile) 2>conftest.er1
60109 ac_status=$?
60110 grep -v '^ *+' conftest.er1 >conftest.err
60111 rm -f conftest.er1
60112 cat conftest.err >&5
60113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60114 (exit $ac_status); } &&
60115 { ac_try='test -z "$ac_cxx_werror_flag"
60116 || test ! -s conftest.err'
60117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60118 (eval $ac_try) 2>&5
60119 ac_status=$?
60120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60121 (exit $ac_status); }; } &&
60122 { ac_try='test -s conftest.$ac_objext'
60123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60124 (eval $ac_try) 2>&5
60125 ac_status=$?
60126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60127 (exit $ac_status); }; }; then
60128 glibcxx_cv_func__powl_use=yes
60129 else
60130 echo "$as_me: failed program was:" >&5
60131 sed 's/^/| /' conftest.$ac_ext >&5
60133 glibcxx_cv_func__powl_use=no
60135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60136 ac_ext=c
60137 ac_cpp='$CPP $CPPFLAGS'
60138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
60147 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
60149 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60151 for ac_func in _powl
60153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60154 echo "$as_me:$LINENO: checking for $ac_func" >&5
60155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60156 if eval "test \"\${$as_ac_var+set}\" = set"; then
60157 echo $ECHO_N "(cached) $ECHO_C" >&6
60158 else
60159 if test x$gcc_no_link = xyes; then
60160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60162 { (exit 1); exit 1; }; }
60164 cat >conftest.$ac_ext <<_ACEOF
60165 /* confdefs.h. */
60166 _ACEOF
60167 cat confdefs.h >>conftest.$ac_ext
60168 cat >>conftest.$ac_ext <<_ACEOF
60169 /* end confdefs.h. */
60170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60172 #define $ac_func innocuous_$ac_func
60174 /* System header to define __stub macros and hopefully few prototypes,
60175 which can conflict with char $ac_func (); below.
60176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60177 <limits.h> exists even on freestanding compilers. */
60179 #ifdef __STDC__
60180 # include <limits.h>
60181 #else
60182 # include <assert.h>
60183 #endif
60185 #undef $ac_func
60187 /* Override any gcc2 internal prototype to avoid an error. */
60188 #ifdef __cplusplus
60189 extern "C"
60191 #endif
60192 /* We use char because int might match the return type of a gcc2
60193 builtin and then its argument prototype would still apply. */
60194 char $ac_func ();
60195 /* The GNU C library defines this for functions which it implements
60196 to always fail with ENOSYS. Some functions are actually named
60197 something starting with __ and the normal name is an alias. */
60198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60199 choke me
60200 #else
60201 char (*f) () = $ac_func;
60202 #endif
60203 #ifdef __cplusplus
60205 #endif
60208 main ()
60210 return f != $ac_func;
60212 return 0;
60214 _ACEOF
60215 rm -f conftest.$ac_objext conftest$ac_exeext
60216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60217 (eval $ac_link) 2>conftest.er1
60218 ac_status=$?
60219 grep -v '^ *+' conftest.er1 >conftest.err
60220 rm -f conftest.er1
60221 cat conftest.err >&5
60222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60223 (exit $ac_status); } &&
60224 { ac_try='test -z "$ac_c_werror_flag"
60225 || test ! -s conftest.err'
60226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60227 (eval $ac_try) 2>&5
60228 ac_status=$?
60229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60230 (exit $ac_status); }; } &&
60231 { ac_try='test -s conftest$ac_exeext'
60232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60233 (eval $ac_try) 2>&5
60234 ac_status=$?
60235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60236 (exit $ac_status); }; }; then
60237 eval "$as_ac_var=yes"
60238 else
60239 echo "$as_me: failed program was:" >&5
60240 sed 's/^/| /' conftest.$ac_ext >&5
60242 eval "$as_ac_var=no"
60244 rm -f conftest.err conftest.$ac_objext \
60245 conftest$ac_exeext conftest.$ac_ext
60247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60249 if test `eval echo '${'$as_ac_var'}'` = yes; then
60250 cat >>confdefs.h <<_ACEOF
60251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60252 _ACEOF
60255 done
60265 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
60266 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
60267 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60268 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
60269 echo $ECHO_N "(cached) $ECHO_C" >&6
60270 else
60274 ac_ext=cc
60275 ac_cpp='$CXXCPP $CPPFLAGS'
60276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60280 cat >conftest.$ac_ext <<_ACEOF
60281 /* confdefs.h. */
60282 _ACEOF
60283 cat confdefs.h >>conftest.$ac_ext
60284 cat >>conftest.$ac_ext <<_ACEOF
60285 /* end confdefs.h. */
60286 #include <math.h>
60287 #ifdef HAVE_IEEEFP_H
60288 #include <ieeefp.h>
60289 #endif
60292 main ()
60294 sqrtl(0);
60296 return 0;
60298 _ACEOF
60299 rm -f conftest.$ac_objext
60300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60301 (eval $ac_compile) 2>conftest.er1
60302 ac_status=$?
60303 grep -v '^ *+' conftest.er1 >conftest.err
60304 rm -f conftest.er1
60305 cat conftest.err >&5
60306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60307 (exit $ac_status); } &&
60308 { ac_try='test -z "$ac_cxx_werror_flag"
60309 || test ! -s conftest.err'
60310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60311 (eval $ac_try) 2>&5
60312 ac_status=$?
60313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60314 (exit $ac_status); }; } &&
60315 { ac_try='test -s conftest.$ac_objext'
60316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60317 (eval $ac_try) 2>&5
60318 ac_status=$?
60319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60320 (exit $ac_status); }; }; then
60321 glibcxx_cv_func_sqrtl_use=yes
60322 else
60323 echo "$as_me: failed program was:" >&5
60324 sed 's/^/| /' conftest.$ac_ext >&5
60326 glibcxx_cv_func_sqrtl_use=no
60328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60329 ac_ext=c
60330 ac_cpp='$CPP $CPPFLAGS'
60331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
60340 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
60342 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60344 for ac_func in sqrtl
60346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60347 echo "$as_me:$LINENO: checking for $ac_func" >&5
60348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60349 if eval "test \"\${$as_ac_var+set}\" = set"; then
60350 echo $ECHO_N "(cached) $ECHO_C" >&6
60351 else
60352 if test x$gcc_no_link = xyes; then
60353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60355 { (exit 1); exit 1; }; }
60357 cat >conftest.$ac_ext <<_ACEOF
60358 /* confdefs.h. */
60359 _ACEOF
60360 cat confdefs.h >>conftest.$ac_ext
60361 cat >>conftest.$ac_ext <<_ACEOF
60362 /* end confdefs.h. */
60363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60365 #define $ac_func innocuous_$ac_func
60367 /* System header to define __stub macros and hopefully few prototypes,
60368 which can conflict with char $ac_func (); below.
60369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60370 <limits.h> exists even on freestanding compilers. */
60372 #ifdef __STDC__
60373 # include <limits.h>
60374 #else
60375 # include <assert.h>
60376 #endif
60378 #undef $ac_func
60380 /* Override any gcc2 internal prototype to avoid an error. */
60381 #ifdef __cplusplus
60382 extern "C"
60384 #endif
60385 /* We use char because int might match the return type of a gcc2
60386 builtin and then its argument prototype would still apply. */
60387 char $ac_func ();
60388 /* The GNU C library defines this for functions which it implements
60389 to always fail with ENOSYS. Some functions are actually named
60390 something starting with __ and the normal name is an alias. */
60391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60392 choke me
60393 #else
60394 char (*f) () = $ac_func;
60395 #endif
60396 #ifdef __cplusplus
60398 #endif
60401 main ()
60403 return f != $ac_func;
60405 return 0;
60407 _ACEOF
60408 rm -f conftest.$ac_objext conftest$ac_exeext
60409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60410 (eval $ac_link) 2>conftest.er1
60411 ac_status=$?
60412 grep -v '^ *+' conftest.er1 >conftest.err
60413 rm -f conftest.er1
60414 cat conftest.err >&5
60415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60416 (exit $ac_status); } &&
60417 { ac_try='test -z "$ac_c_werror_flag"
60418 || test ! -s conftest.err'
60419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60420 (eval $ac_try) 2>&5
60421 ac_status=$?
60422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60423 (exit $ac_status); }; } &&
60424 { ac_try='test -s conftest$ac_exeext'
60425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60426 (eval $ac_try) 2>&5
60427 ac_status=$?
60428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429 (exit $ac_status); }; }; then
60430 eval "$as_ac_var=yes"
60431 else
60432 echo "$as_me: failed program was:" >&5
60433 sed 's/^/| /' conftest.$ac_ext >&5
60435 eval "$as_ac_var=no"
60437 rm -f conftest.err conftest.$ac_objext \
60438 conftest$ac_exeext conftest.$ac_ext
60440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60442 if test `eval echo '${'$as_ac_var'}'` = yes; then
60443 cat >>confdefs.h <<_ACEOF
60444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60445 _ACEOF
60448 done
60450 else
60452 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
60453 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
60454 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60455 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
60456 echo $ECHO_N "(cached) $ECHO_C" >&6
60457 else
60461 ac_ext=cc
60462 ac_cpp='$CXXCPP $CPPFLAGS'
60463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60467 cat >conftest.$ac_ext <<_ACEOF
60468 /* confdefs.h. */
60469 _ACEOF
60470 cat confdefs.h >>conftest.$ac_ext
60471 cat >>conftest.$ac_ext <<_ACEOF
60472 /* end confdefs.h. */
60473 #include <math.h>
60474 #ifdef HAVE_IEEEFP_H
60475 #include <ieeefp.h>
60476 #endif
60479 main ()
60481 _sqrtl(0);
60483 return 0;
60485 _ACEOF
60486 rm -f conftest.$ac_objext
60487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60488 (eval $ac_compile) 2>conftest.er1
60489 ac_status=$?
60490 grep -v '^ *+' conftest.er1 >conftest.err
60491 rm -f conftest.er1
60492 cat conftest.err >&5
60493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60494 (exit $ac_status); } &&
60495 { ac_try='test -z "$ac_cxx_werror_flag"
60496 || test ! -s conftest.err'
60497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60498 (eval $ac_try) 2>&5
60499 ac_status=$?
60500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60501 (exit $ac_status); }; } &&
60502 { ac_try='test -s conftest.$ac_objext'
60503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60504 (eval $ac_try) 2>&5
60505 ac_status=$?
60506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60507 (exit $ac_status); }; }; then
60508 glibcxx_cv_func__sqrtl_use=yes
60509 else
60510 echo "$as_me: failed program was:" >&5
60511 sed 's/^/| /' conftest.$ac_ext >&5
60513 glibcxx_cv_func__sqrtl_use=no
60515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60516 ac_ext=c
60517 ac_cpp='$CPP $CPPFLAGS'
60518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
60527 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
60529 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60531 for ac_func in _sqrtl
60533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60534 echo "$as_me:$LINENO: checking for $ac_func" >&5
60535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60536 if eval "test \"\${$as_ac_var+set}\" = set"; then
60537 echo $ECHO_N "(cached) $ECHO_C" >&6
60538 else
60539 if test x$gcc_no_link = xyes; then
60540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60542 { (exit 1); exit 1; }; }
60544 cat >conftest.$ac_ext <<_ACEOF
60545 /* confdefs.h. */
60546 _ACEOF
60547 cat confdefs.h >>conftest.$ac_ext
60548 cat >>conftest.$ac_ext <<_ACEOF
60549 /* end confdefs.h. */
60550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60552 #define $ac_func innocuous_$ac_func
60554 /* System header to define __stub macros and hopefully few prototypes,
60555 which can conflict with char $ac_func (); below.
60556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60557 <limits.h> exists even on freestanding compilers. */
60559 #ifdef __STDC__
60560 # include <limits.h>
60561 #else
60562 # include <assert.h>
60563 #endif
60565 #undef $ac_func
60567 /* Override any gcc2 internal prototype to avoid an error. */
60568 #ifdef __cplusplus
60569 extern "C"
60571 #endif
60572 /* We use char because int might match the return type of a gcc2
60573 builtin and then its argument prototype would still apply. */
60574 char $ac_func ();
60575 /* The GNU C library defines this for functions which it implements
60576 to always fail with ENOSYS. Some functions are actually named
60577 something starting with __ and the normal name is an alias. */
60578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60579 choke me
60580 #else
60581 char (*f) () = $ac_func;
60582 #endif
60583 #ifdef __cplusplus
60585 #endif
60588 main ()
60590 return f != $ac_func;
60592 return 0;
60594 _ACEOF
60595 rm -f conftest.$ac_objext conftest$ac_exeext
60596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60597 (eval $ac_link) 2>conftest.er1
60598 ac_status=$?
60599 grep -v '^ *+' conftest.er1 >conftest.err
60600 rm -f conftest.er1
60601 cat conftest.err >&5
60602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60603 (exit $ac_status); } &&
60604 { ac_try='test -z "$ac_c_werror_flag"
60605 || test ! -s conftest.err'
60606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60607 (eval $ac_try) 2>&5
60608 ac_status=$?
60609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610 (exit $ac_status); }; } &&
60611 { ac_try='test -s conftest$ac_exeext'
60612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60613 (eval $ac_try) 2>&5
60614 ac_status=$?
60615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60616 (exit $ac_status); }; }; then
60617 eval "$as_ac_var=yes"
60618 else
60619 echo "$as_me: failed program was:" >&5
60620 sed 's/^/| /' conftest.$ac_ext >&5
60622 eval "$as_ac_var=no"
60624 rm -f conftest.err conftest.$ac_objext \
60625 conftest$ac_exeext conftest.$ac_ext
60627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60629 if test `eval echo '${'$as_ac_var'}'` = yes; then
60630 cat >>confdefs.h <<_ACEOF
60631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60632 _ACEOF
60635 done
60645 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60646 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60647 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60648 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60649 echo $ECHO_N "(cached) $ECHO_C" >&6
60650 else
60654 ac_ext=cc
60655 ac_cpp='$CXXCPP $CPPFLAGS'
60656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60660 cat >conftest.$ac_ext <<_ACEOF
60661 /* confdefs.h. */
60662 _ACEOF
60663 cat confdefs.h >>conftest.$ac_ext
60664 cat >>conftest.$ac_ext <<_ACEOF
60665 /* end confdefs.h. */
60666 #include <math.h>
60668 main ()
60670 sincosl(0, 0, 0);
60672 return 0;
60674 _ACEOF
60675 rm -f conftest.$ac_objext
60676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60677 (eval $ac_compile) 2>conftest.er1
60678 ac_status=$?
60679 grep -v '^ *+' conftest.er1 >conftest.err
60680 rm -f conftest.er1
60681 cat conftest.err >&5
60682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60683 (exit $ac_status); } &&
60684 { ac_try='test -z "$ac_cxx_werror_flag"
60685 || test ! -s conftest.err'
60686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60687 (eval $ac_try) 2>&5
60688 ac_status=$?
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); }; } &&
60691 { ac_try='test -s conftest.$ac_objext'
60692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60693 (eval $ac_try) 2>&5
60694 ac_status=$?
60695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60696 (exit $ac_status); }; }; then
60697 glibcxx_cv_func_sincosl_use=yes
60698 else
60699 echo "$as_me: failed program was:" >&5
60700 sed 's/^/| /' conftest.$ac_ext >&5
60702 glibcxx_cv_func_sincosl_use=no
60704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60705 ac_ext=c
60706 ac_cpp='$CPP $CPPFLAGS'
60707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60716 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60718 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60720 for ac_func in sincosl
60722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60723 echo "$as_me:$LINENO: checking for $ac_func" >&5
60724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60725 if eval "test \"\${$as_ac_var+set}\" = set"; then
60726 echo $ECHO_N "(cached) $ECHO_C" >&6
60727 else
60728 if test x$gcc_no_link = xyes; then
60729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60731 { (exit 1); exit 1; }; }
60733 cat >conftest.$ac_ext <<_ACEOF
60734 /* confdefs.h. */
60735 _ACEOF
60736 cat confdefs.h >>conftest.$ac_ext
60737 cat >>conftest.$ac_ext <<_ACEOF
60738 /* end confdefs.h. */
60739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60741 #define $ac_func innocuous_$ac_func
60743 /* System header to define __stub macros and hopefully few prototypes,
60744 which can conflict with char $ac_func (); below.
60745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60746 <limits.h> exists even on freestanding compilers. */
60748 #ifdef __STDC__
60749 # include <limits.h>
60750 #else
60751 # include <assert.h>
60752 #endif
60754 #undef $ac_func
60756 /* Override any gcc2 internal prototype to avoid an error. */
60757 #ifdef __cplusplus
60758 extern "C"
60760 #endif
60761 /* We use char because int might match the return type of a gcc2
60762 builtin and then its argument prototype would still apply. */
60763 char $ac_func ();
60764 /* The GNU C library defines this for functions which it implements
60765 to always fail with ENOSYS. Some functions are actually named
60766 something starting with __ and the normal name is an alias. */
60767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60768 choke me
60769 #else
60770 char (*f) () = $ac_func;
60771 #endif
60772 #ifdef __cplusplus
60774 #endif
60777 main ()
60779 return f != $ac_func;
60781 return 0;
60783 _ACEOF
60784 rm -f conftest.$ac_objext conftest$ac_exeext
60785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60786 (eval $ac_link) 2>conftest.er1
60787 ac_status=$?
60788 grep -v '^ *+' conftest.er1 >conftest.err
60789 rm -f conftest.er1
60790 cat conftest.err >&5
60791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60792 (exit $ac_status); } &&
60793 { ac_try='test -z "$ac_c_werror_flag"
60794 || test ! -s conftest.err'
60795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60796 (eval $ac_try) 2>&5
60797 ac_status=$?
60798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799 (exit $ac_status); }; } &&
60800 { ac_try='test -s conftest$ac_exeext'
60801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60802 (eval $ac_try) 2>&5
60803 ac_status=$?
60804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60805 (exit $ac_status); }; }; then
60806 eval "$as_ac_var=yes"
60807 else
60808 echo "$as_me: failed program was:" >&5
60809 sed 's/^/| /' conftest.$ac_ext >&5
60811 eval "$as_ac_var=no"
60813 rm -f conftest.err conftest.$ac_objext \
60814 conftest$ac_exeext conftest.$ac_ext
60816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60818 if test `eval echo '${'$as_ac_var'}'` = yes; then
60819 cat >>confdefs.h <<_ACEOF
60820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60821 _ACEOF
60824 done
60826 else
60828 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60829 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60830 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60831 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60832 echo $ECHO_N "(cached) $ECHO_C" >&6
60833 else
60837 ac_ext=cc
60838 ac_cpp='$CXXCPP $CPPFLAGS'
60839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60843 cat >conftest.$ac_ext <<_ACEOF
60844 /* confdefs.h. */
60845 _ACEOF
60846 cat confdefs.h >>conftest.$ac_ext
60847 cat >>conftest.$ac_ext <<_ACEOF
60848 /* end confdefs.h. */
60849 #include <math.h>
60851 main ()
60853 _sincosl(0, 0, 0);
60855 return 0;
60857 _ACEOF
60858 rm -f conftest.$ac_objext
60859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60860 (eval $ac_compile) 2>conftest.er1
60861 ac_status=$?
60862 grep -v '^ *+' conftest.er1 >conftest.err
60863 rm -f conftest.er1
60864 cat conftest.err >&5
60865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60866 (exit $ac_status); } &&
60867 { ac_try='test -z "$ac_cxx_werror_flag"
60868 || test ! -s conftest.err'
60869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60870 (eval $ac_try) 2>&5
60871 ac_status=$?
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); }; } &&
60874 { ac_try='test -s conftest.$ac_objext'
60875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60876 (eval $ac_try) 2>&5
60877 ac_status=$?
60878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60879 (exit $ac_status); }; }; then
60880 glibcxx_cv_func__sincosl_use=yes
60881 else
60882 echo "$as_me: failed program was:" >&5
60883 sed 's/^/| /' conftest.$ac_ext >&5
60885 glibcxx_cv_func__sincosl_use=no
60887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60888 ac_ext=c
60889 ac_cpp='$CPP $CPPFLAGS'
60890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60899 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60901 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60903 for ac_func in _sincosl
60905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60906 echo "$as_me:$LINENO: checking for $ac_func" >&5
60907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60908 if eval "test \"\${$as_ac_var+set}\" = set"; then
60909 echo $ECHO_N "(cached) $ECHO_C" >&6
60910 else
60911 if test x$gcc_no_link = xyes; then
60912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60914 { (exit 1); exit 1; }; }
60916 cat >conftest.$ac_ext <<_ACEOF
60917 /* confdefs.h. */
60918 _ACEOF
60919 cat confdefs.h >>conftest.$ac_ext
60920 cat >>conftest.$ac_ext <<_ACEOF
60921 /* end confdefs.h. */
60922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60924 #define $ac_func innocuous_$ac_func
60926 /* System header to define __stub macros and hopefully few prototypes,
60927 which can conflict with char $ac_func (); below.
60928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60929 <limits.h> exists even on freestanding compilers. */
60931 #ifdef __STDC__
60932 # include <limits.h>
60933 #else
60934 # include <assert.h>
60935 #endif
60937 #undef $ac_func
60939 /* Override any gcc2 internal prototype to avoid an error. */
60940 #ifdef __cplusplus
60941 extern "C"
60943 #endif
60944 /* We use char because int might match the return type of a gcc2
60945 builtin and then its argument prototype would still apply. */
60946 char $ac_func ();
60947 /* The GNU C library defines this for functions which it implements
60948 to always fail with ENOSYS. Some functions are actually named
60949 something starting with __ and the normal name is an alias. */
60950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60951 choke me
60952 #else
60953 char (*f) () = $ac_func;
60954 #endif
60955 #ifdef __cplusplus
60957 #endif
60960 main ()
60962 return f != $ac_func;
60964 return 0;
60966 _ACEOF
60967 rm -f conftest.$ac_objext conftest$ac_exeext
60968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60969 (eval $ac_link) 2>conftest.er1
60970 ac_status=$?
60971 grep -v '^ *+' conftest.er1 >conftest.err
60972 rm -f conftest.er1
60973 cat conftest.err >&5
60974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60975 (exit $ac_status); } &&
60976 { ac_try='test -z "$ac_c_werror_flag"
60977 || test ! -s conftest.err'
60978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60979 (eval $ac_try) 2>&5
60980 ac_status=$?
60981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982 (exit $ac_status); }; } &&
60983 { ac_try='test -s conftest$ac_exeext'
60984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60985 (eval $ac_try) 2>&5
60986 ac_status=$?
60987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60988 (exit $ac_status); }; }; then
60989 eval "$as_ac_var=yes"
60990 else
60991 echo "$as_me: failed program was:" >&5
60992 sed 's/^/| /' conftest.$ac_ext >&5
60994 eval "$as_ac_var=no"
60996 rm -f conftest.err conftest.$ac_objext \
60997 conftest$ac_exeext conftest.$ac_ext
60999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61001 if test `eval echo '${'$as_ac_var'}'` = yes; then
61002 cat >>confdefs.h <<_ACEOF
61003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61004 _ACEOF
61007 done
61017 echo "$as_me:$LINENO: checking for finitel declaration" >&5
61018 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
61019 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61020 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
61021 echo $ECHO_N "(cached) $ECHO_C" >&6
61022 else
61026 ac_ext=cc
61027 ac_cpp='$CXXCPP $CPPFLAGS'
61028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61032 cat >conftest.$ac_ext <<_ACEOF
61033 /* confdefs.h. */
61034 _ACEOF
61035 cat confdefs.h >>conftest.$ac_ext
61036 cat >>conftest.$ac_ext <<_ACEOF
61037 /* end confdefs.h. */
61038 #include <math.h>
61039 #ifdef HAVE_IEEEFP_H
61040 #include <ieeefp.h>
61041 #endif
61044 main ()
61046 finitel(0);
61048 return 0;
61050 _ACEOF
61051 rm -f conftest.$ac_objext
61052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61053 (eval $ac_compile) 2>conftest.er1
61054 ac_status=$?
61055 grep -v '^ *+' conftest.er1 >conftest.err
61056 rm -f conftest.er1
61057 cat conftest.err >&5
61058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61059 (exit $ac_status); } &&
61060 { ac_try='test -z "$ac_cxx_werror_flag"
61061 || test ! -s conftest.err'
61062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61063 (eval $ac_try) 2>&5
61064 ac_status=$?
61065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61066 (exit $ac_status); }; } &&
61067 { ac_try='test -s conftest.$ac_objext'
61068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61069 (eval $ac_try) 2>&5
61070 ac_status=$?
61071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61072 (exit $ac_status); }; }; then
61073 glibcxx_cv_func_finitel_use=yes
61074 else
61075 echo "$as_me: failed program was:" >&5
61076 sed 's/^/| /' conftest.$ac_ext >&5
61078 glibcxx_cv_func_finitel_use=no
61080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61081 ac_ext=c
61082 ac_cpp='$CPP $CPPFLAGS'
61083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
61092 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
61094 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61096 for ac_func in finitel
61098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61099 echo "$as_me:$LINENO: checking for $ac_func" >&5
61100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61101 if eval "test \"\${$as_ac_var+set}\" = set"; then
61102 echo $ECHO_N "(cached) $ECHO_C" >&6
61103 else
61104 if test x$gcc_no_link = xyes; then
61105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61107 { (exit 1); exit 1; }; }
61109 cat >conftest.$ac_ext <<_ACEOF
61110 /* confdefs.h. */
61111 _ACEOF
61112 cat confdefs.h >>conftest.$ac_ext
61113 cat >>conftest.$ac_ext <<_ACEOF
61114 /* end confdefs.h. */
61115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61117 #define $ac_func innocuous_$ac_func
61119 /* System header to define __stub macros and hopefully few prototypes,
61120 which can conflict with char $ac_func (); below.
61121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61122 <limits.h> exists even on freestanding compilers. */
61124 #ifdef __STDC__
61125 # include <limits.h>
61126 #else
61127 # include <assert.h>
61128 #endif
61130 #undef $ac_func
61132 /* Override any gcc2 internal prototype to avoid an error. */
61133 #ifdef __cplusplus
61134 extern "C"
61136 #endif
61137 /* We use char because int might match the return type of a gcc2
61138 builtin and then its argument prototype would still apply. */
61139 char $ac_func ();
61140 /* The GNU C library defines this for functions which it implements
61141 to always fail with ENOSYS. Some functions are actually named
61142 something starting with __ and the normal name is an alias. */
61143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61144 choke me
61145 #else
61146 char (*f) () = $ac_func;
61147 #endif
61148 #ifdef __cplusplus
61150 #endif
61153 main ()
61155 return f != $ac_func;
61157 return 0;
61159 _ACEOF
61160 rm -f conftest.$ac_objext conftest$ac_exeext
61161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61162 (eval $ac_link) 2>conftest.er1
61163 ac_status=$?
61164 grep -v '^ *+' conftest.er1 >conftest.err
61165 rm -f conftest.er1
61166 cat conftest.err >&5
61167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61168 (exit $ac_status); } &&
61169 { ac_try='test -z "$ac_c_werror_flag"
61170 || test ! -s conftest.err'
61171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61172 (eval $ac_try) 2>&5
61173 ac_status=$?
61174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61175 (exit $ac_status); }; } &&
61176 { ac_try='test -s conftest$ac_exeext'
61177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61178 (eval $ac_try) 2>&5
61179 ac_status=$?
61180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61181 (exit $ac_status); }; }; then
61182 eval "$as_ac_var=yes"
61183 else
61184 echo "$as_me: failed program was:" >&5
61185 sed 's/^/| /' conftest.$ac_ext >&5
61187 eval "$as_ac_var=no"
61189 rm -f conftest.err conftest.$ac_objext \
61190 conftest$ac_exeext conftest.$ac_ext
61192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61194 if test `eval echo '${'$as_ac_var'}'` = yes; then
61195 cat >>confdefs.h <<_ACEOF
61196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61197 _ACEOF
61200 done
61202 else
61204 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
61205 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
61206 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61207 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
61208 echo $ECHO_N "(cached) $ECHO_C" >&6
61209 else
61213 ac_ext=cc
61214 ac_cpp='$CXXCPP $CPPFLAGS'
61215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61219 cat >conftest.$ac_ext <<_ACEOF
61220 /* confdefs.h. */
61221 _ACEOF
61222 cat confdefs.h >>conftest.$ac_ext
61223 cat >>conftest.$ac_ext <<_ACEOF
61224 /* end confdefs.h. */
61225 #include <math.h>
61226 #ifdef HAVE_IEEEFP_H
61227 #include <ieeefp.h>
61228 #endif
61231 main ()
61233 _finitel(0);
61235 return 0;
61237 _ACEOF
61238 rm -f conftest.$ac_objext
61239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61240 (eval $ac_compile) 2>conftest.er1
61241 ac_status=$?
61242 grep -v '^ *+' conftest.er1 >conftest.err
61243 rm -f conftest.er1
61244 cat conftest.err >&5
61245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61246 (exit $ac_status); } &&
61247 { ac_try='test -z "$ac_cxx_werror_flag"
61248 || test ! -s conftest.err'
61249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61250 (eval $ac_try) 2>&5
61251 ac_status=$?
61252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61253 (exit $ac_status); }; } &&
61254 { ac_try='test -s conftest.$ac_objext'
61255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61256 (eval $ac_try) 2>&5
61257 ac_status=$?
61258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61259 (exit $ac_status); }; }; then
61260 glibcxx_cv_func__finitel_use=yes
61261 else
61262 echo "$as_me: failed program was:" >&5
61263 sed 's/^/| /' conftest.$ac_ext >&5
61265 glibcxx_cv_func__finitel_use=no
61267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61268 ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
61279 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
61281 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61283 for ac_func in _finitel
61285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61286 echo "$as_me:$LINENO: checking for $ac_func" >&5
61287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61288 if eval "test \"\${$as_ac_var+set}\" = set"; then
61289 echo $ECHO_N "(cached) $ECHO_C" >&6
61290 else
61291 if test x$gcc_no_link = xyes; then
61292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61294 { (exit 1); exit 1; }; }
61296 cat >conftest.$ac_ext <<_ACEOF
61297 /* confdefs.h. */
61298 _ACEOF
61299 cat confdefs.h >>conftest.$ac_ext
61300 cat >>conftest.$ac_ext <<_ACEOF
61301 /* end confdefs.h. */
61302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61304 #define $ac_func innocuous_$ac_func
61306 /* System header to define __stub macros and hopefully few prototypes,
61307 which can conflict with char $ac_func (); below.
61308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61309 <limits.h> exists even on freestanding compilers. */
61311 #ifdef __STDC__
61312 # include <limits.h>
61313 #else
61314 # include <assert.h>
61315 #endif
61317 #undef $ac_func
61319 /* Override any gcc2 internal prototype to avoid an error. */
61320 #ifdef __cplusplus
61321 extern "C"
61323 #endif
61324 /* We use char because int might match the return type of a gcc2
61325 builtin and then its argument prototype would still apply. */
61326 char $ac_func ();
61327 /* The GNU C library defines this for functions which it implements
61328 to always fail with ENOSYS. Some functions are actually named
61329 something starting with __ and the normal name is an alias. */
61330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61331 choke me
61332 #else
61333 char (*f) () = $ac_func;
61334 #endif
61335 #ifdef __cplusplus
61337 #endif
61340 main ()
61342 return f != $ac_func;
61344 return 0;
61346 _ACEOF
61347 rm -f conftest.$ac_objext conftest$ac_exeext
61348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61349 (eval $ac_link) 2>conftest.er1
61350 ac_status=$?
61351 grep -v '^ *+' conftest.er1 >conftest.err
61352 rm -f conftest.er1
61353 cat conftest.err >&5
61354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61355 (exit $ac_status); } &&
61356 { ac_try='test -z "$ac_c_werror_flag"
61357 || test ! -s conftest.err'
61358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61359 (eval $ac_try) 2>&5
61360 ac_status=$?
61361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61362 (exit $ac_status); }; } &&
61363 { ac_try='test -s conftest$ac_exeext'
61364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61365 (eval $ac_try) 2>&5
61366 ac_status=$?
61367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61368 (exit $ac_status); }; }; then
61369 eval "$as_ac_var=yes"
61370 else
61371 echo "$as_me: failed program was:" >&5
61372 sed 's/^/| /' conftest.$ac_ext >&5
61374 eval "$as_ac_var=no"
61376 rm -f conftest.err conftest.$ac_objext \
61377 conftest$ac_exeext conftest.$ac_ext
61379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61381 if test `eval echo '${'$as_ac_var'}'` = yes; then
61382 cat >>confdefs.h <<_ACEOF
61383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61384 _ACEOF
61387 done
61396 LIBS="$ac_save_LIBS"
61397 CXXFLAGS="$ac_save_CXXFLAGS"
61401 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
61402 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
61403 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
61404 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
61405 echo $ECHO_N "(cached) $ECHO_C" >&6
61406 else
61410 ac_ext=cc
61411 ac_cpp='$CXXCPP $CPPFLAGS'
61412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61416 cat >conftest.$ac_ext <<_ACEOF
61417 /* confdefs.h. */
61418 _ACEOF
61419 cat confdefs.h >>conftest.$ac_ext
61420 cat >>conftest.$ac_ext <<_ACEOF
61421 /* end confdefs.h. */
61422 #include <math.h>
61424 main ()
61426 __builtin_abs(0);
61428 return 0;
61430 _ACEOF
61431 rm -f conftest.$ac_objext
61432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61433 (eval $ac_compile) 2>conftest.er1
61434 ac_status=$?
61435 grep -v '^ *+' conftest.er1 >conftest.err
61436 rm -f conftest.er1
61437 cat conftest.err >&5
61438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61439 (exit $ac_status); } &&
61440 { ac_try='test -z "$ac_cxx_werror_flag"
61441 || test ! -s conftest.err'
61442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61443 (eval $ac_try) 2>&5
61444 ac_status=$?
61445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61446 (exit $ac_status); }; } &&
61447 { ac_try='test -s conftest.$ac_objext'
61448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61449 (eval $ac_try) 2>&5
61450 ac_status=$?
61451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61452 (exit $ac_status); }; }; then
61453 glibcxx_cv_func___builtin_abs_use=yes
61454 else
61455 echo "$as_me: failed program was:" >&5
61456 sed 's/^/| /' conftest.$ac_ext >&5
61458 glibcxx_cv_func___builtin_abs_use=no
61460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61461 ac_ext=c
61462 ac_cpp='$CPP $CPPFLAGS'
61463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61471 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
61472 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
61473 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
61474 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
61475 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
61476 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
61477 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
61478 echo $ECHO_N "(cached) $ECHO_C" >&6
61479 else
61481 if test x$gcc_no_link = xyes; then
61482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61484 { (exit 1); exit 1; }; }
61486 cat >conftest.$ac_ext <<_ACEOF
61487 /* confdefs.h. */
61488 _ACEOF
61489 cat confdefs.h >>conftest.$ac_ext
61490 cat >>conftest.$ac_ext <<_ACEOF
61491 /* end confdefs.h. */
61492 #include <math.h>
61494 main ()
61496 __builtin_abs(0);
61498 return 0;
61500 _ACEOF
61501 rm -f conftest.$ac_objext conftest$ac_exeext
61502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61503 (eval $ac_link) 2>conftest.er1
61504 ac_status=$?
61505 grep -v '^ *+' conftest.er1 >conftest.err
61506 rm -f conftest.er1
61507 cat conftest.err >&5
61508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61509 (exit $ac_status); } &&
61510 { ac_try='test -z "$ac_c_werror_flag"
61511 || test ! -s conftest.err'
61512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61513 (eval $ac_try) 2>&5
61514 ac_status=$?
61515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61516 (exit $ac_status); }; } &&
61517 { ac_try='test -s conftest$ac_exeext'
61518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61519 (eval $ac_try) 2>&5
61520 ac_status=$?
61521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61522 (exit $ac_status); }; }; then
61523 glibcxx_cv_func___builtin_abs_link=yes
61524 else
61525 echo "$as_me: failed program was:" >&5
61526 sed 's/^/| /' conftest.$ac_ext >&5
61528 glibcxx_cv_func___builtin_abs_link=no
61530 rm -f conftest.err conftest.$ac_objext \
61531 conftest$ac_exeext conftest.$ac_ext
61536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61537 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61539 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61541 cat >>confdefs.h <<\_ACEOF
61542 #define HAVE___BUILTIN_ABS 1
61543 _ACEOF
61550 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61551 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61552 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61553 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61554 echo $ECHO_N "(cached) $ECHO_C" >&6
61555 else
61559 ac_ext=cc
61560 ac_cpp='$CXXCPP $CPPFLAGS'
61561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61565 cat >conftest.$ac_ext <<_ACEOF
61566 /* confdefs.h. */
61567 _ACEOF
61568 cat confdefs.h >>conftest.$ac_ext
61569 cat >>conftest.$ac_ext <<_ACEOF
61570 /* end confdefs.h. */
61571 #include <math.h>
61573 main ()
61575 __builtin_fabsf(0);
61577 return 0;
61579 _ACEOF
61580 rm -f conftest.$ac_objext
61581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61582 (eval $ac_compile) 2>conftest.er1
61583 ac_status=$?
61584 grep -v '^ *+' conftest.er1 >conftest.err
61585 rm -f conftest.er1
61586 cat conftest.err >&5
61587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61588 (exit $ac_status); } &&
61589 { ac_try='test -z "$ac_cxx_werror_flag"
61590 || test ! -s conftest.err'
61591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61592 (eval $ac_try) 2>&5
61593 ac_status=$?
61594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61595 (exit $ac_status); }; } &&
61596 { ac_try='test -s conftest.$ac_objext'
61597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61598 (eval $ac_try) 2>&5
61599 ac_status=$?
61600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61601 (exit $ac_status); }; }; then
61602 glibcxx_cv_func___builtin_fabsf_use=yes
61603 else
61604 echo "$as_me: failed program was:" >&5
61605 sed 's/^/| /' conftest.$ac_ext >&5
61607 glibcxx_cv_func___builtin_fabsf_use=no
61609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61610 ac_ext=c
61611 ac_cpp='$CPP $CPPFLAGS'
61612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61620 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61621 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61622 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61623 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61624 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61625 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61626 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61627 echo $ECHO_N "(cached) $ECHO_C" >&6
61628 else
61630 if test x$gcc_no_link = xyes; then
61631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61633 { (exit 1); exit 1; }; }
61635 cat >conftest.$ac_ext <<_ACEOF
61636 /* confdefs.h. */
61637 _ACEOF
61638 cat confdefs.h >>conftest.$ac_ext
61639 cat >>conftest.$ac_ext <<_ACEOF
61640 /* end confdefs.h. */
61641 #include <math.h>
61643 main ()
61645 __builtin_fabsf(0);
61647 return 0;
61649 _ACEOF
61650 rm -f conftest.$ac_objext conftest$ac_exeext
61651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61652 (eval $ac_link) 2>conftest.er1
61653 ac_status=$?
61654 grep -v '^ *+' conftest.er1 >conftest.err
61655 rm -f conftest.er1
61656 cat conftest.err >&5
61657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61658 (exit $ac_status); } &&
61659 { ac_try='test -z "$ac_c_werror_flag"
61660 || test ! -s conftest.err'
61661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61662 (eval $ac_try) 2>&5
61663 ac_status=$?
61664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61665 (exit $ac_status); }; } &&
61666 { ac_try='test -s conftest$ac_exeext'
61667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61668 (eval $ac_try) 2>&5
61669 ac_status=$?
61670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61671 (exit $ac_status); }; }; then
61672 glibcxx_cv_func___builtin_fabsf_link=yes
61673 else
61674 echo "$as_me: failed program was:" >&5
61675 sed 's/^/| /' conftest.$ac_ext >&5
61677 glibcxx_cv_func___builtin_fabsf_link=no
61679 rm -f conftest.err conftest.$ac_objext \
61680 conftest$ac_exeext conftest.$ac_ext
61685 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61686 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61688 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61690 cat >>confdefs.h <<\_ACEOF
61691 #define HAVE___BUILTIN_FABSF 1
61692 _ACEOF
61699 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61700 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61701 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61702 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61703 echo $ECHO_N "(cached) $ECHO_C" >&6
61704 else
61708 ac_ext=cc
61709 ac_cpp='$CXXCPP $CPPFLAGS'
61710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61714 cat >conftest.$ac_ext <<_ACEOF
61715 /* confdefs.h. */
61716 _ACEOF
61717 cat confdefs.h >>conftest.$ac_ext
61718 cat >>conftest.$ac_ext <<_ACEOF
61719 /* end confdefs.h. */
61720 #include <math.h>
61722 main ()
61724 __builtin_fabs(0);
61726 return 0;
61728 _ACEOF
61729 rm -f conftest.$ac_objext
61730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61731 (eval $ac_compile) 2>conftest.er1
61732 ac_status=$?
61733 grep -v '^ *+' conftest.er1 >conftest.err
61734 rm -f conftest.er1
61735 cat conftest.err >&5
61736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61737 (exit $ac_status); } &&
61738 { ac_try='test -z "$ac_cxx_werror_flag"
61739 || test ! -s conftest.err'
61740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61741 (eval $ac_try) 2>&5
61742 ac_status=$?
61743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61744 (exit $ac_status); }; } &&
61745 { ac_try='test -s conftest.$ac_objext'
61746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61747 (eval $ac_try) 2>&5
61748 ac_status=$?
61749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61750 (exit $ac_status); }; }; then
61751 glibcxx_cv_func___builtin_fabs_use=yes
61752 else
61753 echo "$as_me: failed program was:" >&5
61754 sed 's/^/| /' conftest.$ac_ext >&5
61756 glibcxx_cv_func___builtin_fabs_use=no
61758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61759 ac_ext=c
61760 ac_cpp='$CPP $CPPFLAGS'
61761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61770 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61771 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61772 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61773 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61774 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61775 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61776 echo $ECHO_N "(cached) $ECHO_C" >&6
61777 else
61779 if test x$gcc_no_link = xyes; then
61780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61782 { (exit 1); exit 1; }; }
61784 cat >conftest.$ac_ext <<_ACEOF
61785 /* confdefs.h. */
61786 _ACEOF
61787 cat confdefs.h >>conftest.$ac_ext
61788 cat >>conftest.$ac_ext <<_ACEOF
61789 /* end confdefs.h. */
61790 #include <math.h>
61792 main ()
61794 __builtin_fabs(0);
61796 return 0;
61798 _ACEOF
61799 rm -f conftest.$ac_objext conftest$ac_exeext
61800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61801 (eval $ac_link) 2>conftest.er1
61802 ac_status=$?
61803 grep -v '^ *+' conftest.er1 >conftest.err
61804 rm -f conftest.er1
61805 cat conftest.err >&5
61806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61807 (exit $ac_status); } &&
61808 { ac_try='test -z "$ac_c_werror_flag"
61809 || test ! -s conftest.err'
61810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61811 (eval $ac_try) 2>&5
61812 ac_status=$?
61813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61814 (exit $ac_status); }; } &&
61815 { ac_try='test -s conftest$ac_exeext'
61816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61817 (eval $ac_try) 2>&5
61818 ac_status=$?
61819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61820 (exit $ac_status); }; }; then
61821 glibcxx_cv_func___builtin_fabs_link=yes
61822 else
61823 echo "$as_me: failed program was:" >&5
61824 sed 's/^/| /' conftest.$ac_ext >&5
61826 glibcxx_cv_func___builtin_fabs_link=no
61828 rm -f conftest.err conftest.$ac_objext \
61829 conftest$ac_exeext conftest.$ac_ext
61834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61835 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61837 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61839 cat >>confdefs.h <<\_ACEOF
61840 #define HAVE___BUILTIN_FABS 1
61841 _ACEOF
61848 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61849 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61850 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61851 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61852 echo $ECHO_N "(cached) $ECHO_C" >&6
61853 else
61857 ac_ext=cc
61858 ac_cpp='$CXXCPP $CPPFLAGS'
61859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61863 cat >conftest.$ac_ext <<_ACEOF
61864 /* confdefs.h. */
61865 _ACEOF
61866 cat confdefs.h >>conftest.$ac_ext
61867 cat >>conftest.$ac_ext <<_ACEOF
61868 /* end confdefs.h. */
61869 #include <math.h>
61871 main ()
61873 __builtin_fabsl(0);
61875 return 0;
61877 _ACEOF
61878 rm -f conftest.$ac_objext
61879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61880 (eval $ac_compile) 2>conftest.er1
61881 ac_status=$?
61882 grep -v '^ *+' conftest.er1 >conftest.err
61883 rm -f conftest.er1
61884 cat conftest.err >&5
61885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61886 (exit $ac_status); } &&
61887 { ac_try='test -z "$ac_cxx_werror_flag"
61888 || test ! -s conftest.err'
61889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61890 (eval $ac_try) 2>&5
61891 ac_status=$?
61892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61893 (exit $ac_status); }; } &&
61894 { ac_try='test -s conftest.$ac_objext'
61895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61896 (eval $ac_try) 2>&5
61897 ac_status=$?
61898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61899 (exit $ac_status); }; }; then
61900 glibcxx_cv_func___builtin_fabsl_use=yes
61901 else
61902 echo "$as_me: failed program was:" >&5
61903 sed 's/^/| /' conftest.$ac_ext >&5
61905 glibcxx_cv_func___builtin_fabsl_use=no
61907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61908 ac_ext=c
61909 ac_cpp='$CPP $CPPFLAGS'
61910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61919 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61920 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61921 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61922 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61923 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61924 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61925 echo $ECHO_N "(cached) $ECHO_C" >&6
61926 else
61928 if test x$gcc_no_link = xyes; then
61929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61931 { (exit 1); exit 1; }; }
61933 cat >conftest.$ac_ext <<_ACEOF
61934 /* confdefs.h. */
61935 _ACEOF
61936 cat confdefs.h >>conftest.$ac_ext
61937 cat >>conftest.$ac_ext <<_ACEOF
61938 /* end confdefs.h. */
61939 #include <math.h>
61941 main ()
61943 __builtin_fabsl(0);
61945 return 0;
61947 _ACEOF
61948 rm -f conftest.$ac_objext conftest$ac_exeext
61949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61950 (eval $ac_link) 2>conftest.er1
61951 ac_status=$?
61952 grep -v '^ *+' conftest.er1 >conftest.err
61953 rm -f conftest.er1
61954 cat conftest.err >&5
61955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61956 (exit $ac_status); } &&
61957 { ac_try='test -z "$ac_c_werror_flag"
61958 || test ! -s conftest.err'
61959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61960 (eval $ac_try) 2>&5
61961 ac_status=$?
61962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61963 (exit $ac_status); }; } &&
61964 { ac_try='test -s conftest$ac_exeext'
61965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61966 (eval $ac_try) 2>&5
61967 ac_status=$?
61968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61969 (exit $ac_status); }; }; then
61970 glibcxx_cv_func___builtin_fabsl_link=yes
61971 else
61972 echo "$as_me: failed program was:" >&5
61973 sed 's/^/| /' conftest.$ac_ext >&5
61975 glibcxx_cv_func___builtin_fabsl_link=no
61977 rm -f conftest.err conftest.$ac_objext \
61978 conftest$ac_exeext conftest.$ac_ext
61983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61984 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61986 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61988 cat >>confdefs.h <<\_ACEOF
61989 #define HAVE___BUILTIN_FABSL 1
61990 _ACEOF
61997 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61998 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61999 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
62000 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
62001 echo $ECHO_N "(cached) $ECHO_C" >&6
62002 else
62006 ac_ext=cc
62007 ac_cpp='$CXXCPP $CPPFLAGS'
62008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62012 cat >conftest.$ac_ext <<_ACEOF
62013 /* confdefs.h. */
62014 _ACEOF
62015 cat confdefs.h >>conftest.$ac_ext
62016 cat >>conftest.$ac_ext <<_ACEOF
62017 /* end confdefs.h. */
62018 #include <math.h>
62020 main ()
62022 __builtin_labs(0);
62024 return 0;
62026 _ACEOF
62027 rm -f conftest.$ac_objext
62028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62029 (eval $ac_compile) 2>conftest.er1
62030 ac_status=$?
62031 grep -v '^ *+' conftest.er1 >conftest.err
62032 rm -f conftest.er1
62033 cat conftest.err >&5
62034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62035 (exit $ac_status); } &&
62036 { ac_try='test -z "$ac_cxx_werror_flag"
62037 || test ! -s conftest.err'
62038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62039 (eval $ac_try) 2>&5
62040 ac_status=$?
62041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042 (exit $ac_status); }; } &&
62043 { ac_try='test -s conftest.$ac_objext'
62044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62045 (eval $ac_try) 2>&5
62046 ac_status=$?
62047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62048 (exit $ac_status); }; }; then
62049 glibcxx_cv_func___builtin_labs_use=yes
62050 else
62051 echo "$as_me: failed program was:" >&5
62052 sed 's/^/| /' conftest.$ac_ext >&5
62054 glibcxx_cv_func___builtin_labs_use=no
62056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62057 ac_ext=c
62058 ac_cpp='$CPP $CPPFLAGS'
62059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62067 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
62068 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
62069 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
62070 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
62071 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
62072 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
62073 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
62074 echo $ECHO_N "(cached) $ECHO_C" >&6
62075 else
62077 if test x$gcc_no_link = xyes; then
62078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62080 { (exit 1); exit 1; }; }
62082 cat >conftest.$ac_ext <<_ACEOF
62083 /* confdefs.h. */
62084 _ACEOF
62085 cat confdefs.h >>conftest.$ac_ext
62086 cat >>conftest.$ac_ext <<_ACEOF
62087 /* end confdefs.h. */
62088 #include <math.h>
62090 main ()
62092 __builtin_labs(0);
62094 return 0;
62096 _ACEOF
62097 rm -f conftest.$ac_objext conftest$ac_exeext
62098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62099 (eval $ac_link) 2>conftest.er1
62100 ac_status=$?
62101 grep -v '^ *+' conftest.er1 >conftest.err
62102 rm -f conftest.er1
62103 cat conftest.err >&5
62104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62105 (exit $ac_status); } &&
62106 { ac_try='test -z "$ac_c_werror_flag"
62107 || test ! -s conftest.err'
62108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62109 (eval $ac_try) 2>&5
62110 ac_status=$?
62111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62112 (exit $ac_status); }; } &&
62113 { ac_try='test -s conftest$ac_exeext'
62114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62115 (eval $ac_try) 2>&5
62116 ac_status=$?
62117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62118 (exit $ac_status); }; }; then
62119 glibcxx_cv_func___builtin_labs_link=yes
62120 else
62121 echo "$as_me: failed program was:" >&5
62122 sed 's/^/| /' conftest.$ac_ext >&5
62124 glibcxx_cv_func___builtin_labs_link=no
62126 rm -f conftest.err conftest.$ac_objext \
62127 conftest$ac_exeext conftest.$ac_ext
62132 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
62133 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
62135 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
62137 cat >>confdefs.h <<\_ACEOF
62138 #define HAVE___BUILTIN_LABS 1
62139 _ACEOF
62147 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
62148 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
62149 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
62150 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
62151 echo $ECHO_N "(cached) $ECHO_C" >&6
62152 else
62156 ac_ext=cc
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62162 cat >conftest.$ac_ext <<_ACEOF
62163 /* confdefs.h. */
62164 _ACEOF
62165 cat confdefs.h >>conftest.$ac_ext
62166 cat >>conftest.$ac_ext <<_ACEOF
62167 /* end confdefs.h. */
62168 #include <math.h>
62170 main ()
62172 __builtin_sqrtf(0);
62174 return 0;
62176 _ACEOF
62177 rm -f conftest.$ac_objext
62178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62179 (eval $ac_compile) 2>conftest.er1
62180 ac_status=$?
62181 grep -v '^ *+' conftest.er1 >conftest.err
62182 rm -f conftest.er1
62183 cat conftest.err >&5
62184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185 (exit $ac_status); } &&
62186 { ac_try='test -z "$ac_cxx_werror_flag"
62187 || test ! -s conftest.err'
62188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62189 (eval $ac_try) 2>&5
62190 ac_status=$?
62191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62192 (exit $ac_status); }; } &&
62193 { ac_try='test -s conftest.$ac_objext'
62194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62195 (eval $ac_try) 2>&5
62196 ac_status=$?
62197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62198 (exit $ac_status); }; }; then
62199 glibcxx_cv_func___builtin_sqrtf_use=yes
62200 else
62201 echo "$as_me: failed program was:" >&5
62202 sed 's/^/| /' conftest.$ac_ext >&5
62204 glibcxx_cv_func___builtin_sqrtf_use=no
62206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62207 ac_ext=c
62208 ac_cpp='$CPP $CPPFLAGS'
62209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62217 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
62218 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
62219 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
62220 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
62221 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
62222 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
62223 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
62224 echo $ECHO_N "(cached) $ECHO_C" >&6
62225 else
62227 if test x$gcc_no_link = xyes; then
62228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62230 { (exit 1); exit 1; }; }
62232 cat >conftest.$ac_ext <<_ACEOF
62233 /* confdefs.h. */
62234 _ACEOF
62235 cat confdefs.h >>conftest.$ac_ext
62236 cat >>conftest.$ac_ext <<_ACEOF
62237 /* end confdefs.h. */
62238 #include <math.h>
62240 main ()
62242 __builtin_sqrtf(0);
62244 return 0;
62246 _ACEOF
62247 rm -f conftest.$ac_objext conftest$ac_exeext
62248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62249 (eval $ac_link) 2>conftest.er1
62250 ac_status=$?
62251 grep -v '^ *+' conftest.er1 >conftest.err
62252 rm -f conftest.er1
62253 cat conftest.err >&5
62254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62255 (exit $ac_status); } &&
62256 { ac_try='test -z "$ac_c_werror_flag"
62257 || test ! -s conftest.err'
62258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62259 (eval $ac_try) 2>&5
62260 ac_status=$?
62261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62262 (exit $ac_status); }; } &&
62263 { ac_try='test -s conftest$ac_exeext'
62264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62265 (eval $ac_try) 2>&5
62266 ac_status=$?
62267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62268 (exit $ac_status); }; }; then
62269 glibcxx_cv_func___builtin_sqrtf_link=yes
62270 else
62271 echo "$as_me: failed program was:" >&5
62272 sed 's/^/| /' conftest.$ac_ext >&5
62274 glibcxx_cv_func___builtin_sqrtf_link=no
62276 rm -f conftest.err conftest.$ac_objext \
62277 conftest$ac_exeext conftest.$ac_ext
62282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
62283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
62285 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
62287 cat >>confdefs.h <<\_ACEOF
62288 #define HAVE___BUILTIN_SQRTF 1
62289 _ACEOF
62296 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
62297 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
62298 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
62299 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
62300 echo $ECHO_N "(cached) $ECHO_C" >&6
62301 else
62305 ac_ext=cc
62306 ac_cpp='$CXXCPP $CPPFLAGS'
62307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62311 cat >conftest.$ac_ext <<_ACEOF
62312 /* confdefs.h. */
62313 _ACEOF
62314 cat confdefs.h >>conftest.$ac_ext
62315 cat >>conftest.$ac_ext <<_ACEOF
62316 /* end confdefs.h. */
62317 #include <math.h>
62319 main ()
62321 __builtin_sqrt(0);
62323 return 0;
62325 _ACEOF
62326 rm -f conftest.$ac_objext
62327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62328 (eval $ac_compile) 2>conftest.er1
62329 ac_status=$?
62330 grep -v '^ *+' conftest.er1 >conftest.err
62331 rm -f conftest.er1
62332 cat conftest.err >&5
62333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62334 (exit $ac_status); } &&
62335 { ac_try='test -z "$ac_cxx_werror_flag"
62336 || test ! -s conftest.err'
62337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62338 (eval $ac_try) 2>&5
62339 ac_status=$?
62340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62341 (exit $ac_status); }; } &&
62342 { ac_try='test -s conftest.$ac_objext'
62343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62344 (eval $ac_try) 2>&5
62345 ac_status=$?
62346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62347 (exit $ac_status); }; }; then
62348 glibcxx_cv_func___builtin_sqrt_use=yes
62349 else
62350 echo "$as_me: failed program was:" >&5
62351 sed 's/^/| /' conftest.$ac_ext >&5
62353 glibcxx_cv_func___builtin_sqrt_use=no
62355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62356 ac_ext=c
62357 ac_cpp='$CPP $CPPFLAGS'
62358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62366 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
62367 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
62368 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
62369 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
62370 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
62371 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
62372 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
62373 echo $ECHO_N "(cached) $ECHO_C" >&6
62374 else
62376 if test x$gcc_no_link = xyes; then
62377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62379 { (exit 1); exit 1; }; }
62381 cat >conftest.$ac_ext <<_ACEOF
62382 /* confdefs.h. */
62383 _ACEOF
62384 cat confdefs.h >>conftest.$ac_ext
62385 cat >>conftest.$ac_ext <<_ACEOF
62386 /* end confdefs.h. */
62387 #include <math.h>
62389 main ()
62391 __builtin_sqrt(0);
62393 return 0;
62395 _ACEOF
62396 rm -f conftest.$ac_objext conftest$ac_exeext
62397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62398 (eval $ac_link) 2>conftest.er1
62399 ac_status=$?
62400 grep -v '^ *+' conftest.er1 >conftest.err
62401 rm -f conftest.er1
62402 cat conftest.err >&5
62403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62404 (exit $ac_status); } &&
62405 { ac_try='test -z "$ac_c_werror_flag"
62406 || test ! -s conftest.err'
62407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62408 (eval $ac_try) 2>&5
62409 ac_status=$?
62410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62411 (exit $ac_status); }; } &&
62412 { ac_try='test -s conftest$ac_exeext'
62413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62414 (eval $ac_try) 2>&5
62415 ac_status=$?
62416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62417 (exit $ac_status); }; }; then
62418 glibcxx_cv_func___builtin_sqrt_link=yes
62419 else
62420 echo "$as_me: failed program was:" >&5
62421 sed 's/^/| /' conftest.$ac_ext >&5
62423 glibcxx_cv_func___builtin_sqrt_link=no
62425 rm -f conftest.err conftest.$ac_objext \
62426 conftest$ac_exeext conftest.$ac_ext
62431 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
62432 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
62434 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
62436 cat >>confdefs.h <<\_ACEOF
62437 #define HAVE___BUILTIN_SQRT 1
62438 _ACEOF
62445 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
62446 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
62447 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
62448 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
62449 echo $ECHO_N "(cached) $ECHO_C" >&6
62450 else
62454 ac_ext=cc
62455 ac_cpp='$CXXCPP $CPPFLAGS'
62456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62460 cat >conftest.$ac_ext <<_ACEOF
62461 /* confdefs.h. */
62462 _ACEOF
62463 cat confdefs.h >>conftest.$ac_ext
62464 cat >>conftest.$ac_ext <<_ACEOF
62465 /* end confdefs.h. */
62466 #include <math.h>
62468 main ()
62470 __builtin_sqrtl(0);
62472 return 0;
62474 _ACEOF
62475 rm -f conftest.$ac_objext
62476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62477 (eval $ac_compile) 2>conftest.er1
62478 ac_status=$?
62479 grep -v '^ *+' conftest.er1 >conftest.err
62480 rm -f conftest.er1
62481 cat conftest.err >&5
62482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62483 (exit $ac_status); } &&
62484 { ac_try='test -z "$ac_cxx_werror_flag"
62485 || test ! -s conftest.err'
62486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62487 (eval $ac_try) 2>&5
62488 ac_status=$?
62489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62490 (exit $ac_status); }; } &&
62491 { ac_try='test -s conftest.$ac_objext'
62492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62493 (eval $ac_try) 2>&5
62494 ac_status=$?
62495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62496 (exit $ac_status); }; }; then
62497 glibcxx_cv_func___builtin_sqrtl_use=yes
62498 else
62499 echo "$as_me: failed program was:" >&5
62500 sed 's/^/| /' conftest.$ac_ext >&5
62502 glibcxx_cv_func___builtin_sqrtl_use=no
62504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62505 ac_ext=c
62506 ac_cpp='$CPP $CPPFLAGS'
62507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62515 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
62516 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
62517 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
62518 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
62519 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
62520 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
62521 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
62522 echo $ECHO_N "(cached) $ECHO_C" >&6
62523 else
62525 if test x$gcc_no_link = xyes; then
62526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62528 { (exit 1); exit 1; }; }
62530 cat >conftest.$ac_ext <<_ACEOF
62531 /* confdefs.h. */
62532 _ACEOF
62533 cat confdefs.h >>conftest.$ac_ext
62534 cat >>conftest.$ac_ext <<_ACEOF
62535 /* end confdefs.h. */
62536 #include <math.h>
62538 main ()
62540 __builtin_sqrtl(0);
62542 return 0;
62544 _ACEOF
62545 rm -f conftest.$ac_objext conftest$ac_exeext
62546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62547 (eval $ac_link) 2>conftest.er1
62548 ac_status=$?
62549 grep -v '^ *+' conftest.er1 >conftest.err
62550 rm -f conftest.er1
62551 cat conftest.err >&5
62552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62553 (exit $ac_status); } &&
62554 { ac_try='test -z "$ac_c_werror_flag"
62555 || test ! -s conftest.err'
62556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62557 (eval $ac_try) 2>&5
62558 ac_status=$?
62559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62560 (exit $ac_status); }; } &&
62561 { ac_try='test -s conftest$ac_exeext'
62562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62563 (eval $ac_try) 2>&5
62564 ac_status=$?
62565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62566 (exit $ac_status); }; }; then
62567 glibcxx_cv_func___builtin_sqrtl_link=yes
62568 else
62569 echo "$as_me: failed program was:" >&5
62570 sed 's/^/| /' conftest.$ac_ext >&5
62572 glibcxx_cv_func___builtin_sqrtl_link=no
62574 rm -f conftest.err conftest.$ac_objext \
62575 conftest$ac_exeext conftest.$ac_ext
62580 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62581 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62583 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62585 cat >>confdefs.h <<\_ACEOF
62586 #define HAVE___BUILTIN_SQRTL 1
62587 _ACEOF
62595 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62596 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62597 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62598 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62599 echo $ECHO_N "(cached) $ECHO_C" >&6
62600 else
62604 ac_ext=cc
62605 ac_cpp='$CXXCPP $CPPFLAGS'
62606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62610 cat >conftest.$ac_ext <<_ACEOF
62611 /* confdefs.h. */
62612 _ACEOF
62613 cat confdefs.h >>conftest.$ac_ext
62614 cat >>conftest.$ac_ext <<_ACEOF
62615 /* end confdefs.h. */
62616 #include <math.h>
62618 main ()
62620 __builtin_sinf(0);
62622 return 0;
62624 _ACEOF
62625 rm -f conftest.$ac_objext
62626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62627 (eval $ac_compile) 2>conftest.er1
62628 ac_status=$?
62629 grep -v '^ *+' conftest.er1 >conftest.err
62630 rm -f conftest.er1
62631 cat conftest.err >&5
62632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62633 (exit $ac_status); } &&
62634 { ac_try='test -z "$ac_cxx_werror_flag"
62635 || test ! -s conftest.err'
62636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62637 (eval $ac_try) 2>&5
62638 ac_status=$?
62639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62640 (exit $ac_status); }; } &&
62641 { ac_try='test -s conftest.$ac_objext'
62642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62643 (eval $ac_try) 2>&5
62644 ac_status=$?
62645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62646 (exit $ac_status); }; }; then
62647 glibcxx_cv_func___builtin_sinf_use=yes
62648 else
62649 echo "$as_me: failed program was:" >&5
62650 sed 's/^/| /' conftest.$ac_ext >&5
62652 glibcxx_cv_func___builtin_sinf_use=no
62654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62655 ac_ext=c
62656 ac_cpp='$CPP $CPPFLAGS'
62657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62665 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62666 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62667 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62668 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62669 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62670 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62671 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62672 echo $ECHO_N "(cached) $ECHO_C" >&6
62673 else
62675 if test x$gcc_no_link = xyes; then
62676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62678 { (exit 1); exit 1; }; }
62680 cat >conftest.$ac_ext <<_ACEOF
62681 /* confdefs.h. */
62682 _ACEOF
62683 cat confdefs.h >>conftest.$ac_ext
62684 cat >>conftest.$ac_ext <<_ACEOF
62685 /* end confdefs.h. */
62686 #include <math.h>
62688 main ()
62690 __builtin_sinf(0);
62692 return 0;
62694 _ACEOF
62695 rm -f conftest.$ac_objext conftest$ac_exeext
62696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62697 (eval $ac_link) 2>conftest.er1
62698 ac_status=$?
62699 grep -v '^ *+' conftest.er1 >conftest.err
62700 rm -f conftest.er1
62701 cat conftest.err >&5
62702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62703 (exit $ac_status); } &&
62704 { ac_try='test -z "$ac_c_werror_flag"
62705 || test ! -s conftest.err'
62706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62707 (eval $ac_try) 2>&5
62708 ac_status=$?
62709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62710 (exit $ac_status); }; } &&
62711 { ac_try='test -s conftest$ac_exeext'
62712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62713 (eval $ac_try) 2>&5
62714 ac_status=$?
62715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62716 (exit $ac_status); }; }; then
62717 glibcxx_cv_func___builtin_sinf_link=yes
62718 else
62719 echo "$as_me: failed program was:" >&5
62720 sed 's/^/| /' conftest.$ac_ext >&5
62722 glibcxx_cv_func___builtin_sinf_link=no
62724 rm -f conftest.err conftest.$ac_objext \
62725 conftest$ac_exeext conftest.$ac_ext
62730 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62731 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62733 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62735 cat >>confdefs.h <<\_ACEOF
62736 #define HAVE___BUILTIN_SINF 1
62737 _ACEOF
62744 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62745 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62746 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62747 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62748 echo $ECHO_N "(cached) $ECHO_C" >&6
62749 else
62753 ac_ext=cc
62754 ac_cpp='$CXXCPP $CPPFLAGS'
62755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62759 cat >conftest.$ac_ext <<_ACEOF
62760 /* confdefs.h. */
62761 _ACEOF
62762 cat confdefs.h >>conftest.$ac_ext
62763 cat >>conftest.$ac_ext <<_ACEOF
62764 /* end confdefs.h. */
62765 #include <math.h>
62767 main ()
62769 __builtin_sin(0);
62771 return 0;
62773 _ACEOF
62774 rm -f conftest.$ac_objext
62775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62776 (eval $ac_compile) 2>conftest.er1
62777 ac_status=$?
62778 grep -v '^ *+' conftest.er1 >conftest.err
62779 rm -f conftest.er1
62780 cat conftest.err >&5
62781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62782 (exit $ac_status); } &&
62783 { ac_try='test -z "$ac_cxx_werror_flag"
62784 || test ! -s conftest.err'
62785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62786 (eval $ac_try) 2>&5
62787 ac_status=$?
62788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62789 (exit $ac_status); }; } &&
62790 { ac_try='test -s conftest.$ac_objext'
62791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62792 (eval $ac_try) 2>&5
62793 ac_status=$?
62794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62795 (exit $ac_status); }; }; then
62796 glibcxx_cv_func___builtin_sin_use=yes
62797 else
62798 echo "$as_me: failed program was:" >&5
62799 sed 's/^/| /' conftest.$ac_ext >&5
62801 glibcxx_cv_func___builtin_sin_use=no
62803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62804 ac_ext=c
62805 ac_cpp='$CPP $CPPFLAGS'
62806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62814 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62815 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62816 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62817 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62818 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62819 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62820 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62821 echo $ECHO_N "(cached) $ECHO_C" >&6
62822 else
62824 if test x$gcc_no_link = xyes; then
62825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62827 { (exit 1); exit 1; }; }
62829 cat >conftest.$ac_ext <<_ACEOF
62830 /* confdefs.h. */
62831 _ACEOF
62832 cat confdefs.h >>conftest.$ac_ext
62833 cat >>conftest.$ac_ext <<_ACEOF
62834 /* end confdefs.h. */
62835 #include <math.h>
62837 main ()
62839 __builtin_sin(0);
62841 return 0;
62843 _ACEOF
62844 rm -f conftest.$ac_objext conftest$ac_exeext
62845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62846 (eval $ac_link) 2>conftest.er1
62847 ac_status=$?
62848 grep -v '^ *+' conftest.er1 >conftest.err
62849 rm -f conftest.er1
62850 cat conftest.err >&5
62851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62852 (exit $ac_status); } &&
62853 { ac_try='test -z "$ac_c_werror_flag"
62854 || test ! -s conftest.err'
62855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62856 (eval $ac_try) 2>&5
62857 ac_status=$?
62858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62859 (exit $ac_status); }; } &&
62860 { ac_try='test -s conftest$ac_exeext'
62861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62862 (eval $ac_try) 2>&5
62863 ac_status=$?
62864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865 (exit $ac_status); }; }; then
62866 glibcxx_cv_func___builtin_sin_link=yes
62867 else
62868 echo "$as_me: failed program was:" >&5
62869 sed 's/^/| /' conftest.$ac_ext >&5
62871 glibcxx_cv_func___builtin_sin_link=no
62873 rm -f conftest.err conftest.$ac_objext \
62874 conftest$ac_exeext conftest.$ac_ext
62879 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62880 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62882 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62884 cat >>confdefs.h <<\_ACEOF
62885 #define HAVE___BUILTIN_SIN 1
62886 _ACEOF
62893 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62894 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62895 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62896 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62897 echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62902 ac_ext=cc
62903 ac_cpp='$CXXCPP $CPPFLAGS'
62904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62908 cat >conftest.$ac_ext <<_ACEOF
62909 /* confdefs.h. */
62910 _ACEOF
62911 cat confdefs.h >>conftest.$ac_ext
62912 cat >>conftest.$ac_ext <<_ACEOF
62913 /* end confdefs.h. */
62914 #include <math.h>
62916 main ()
62918 __builtin_sinl(0);
62920 return 0;
62922 _ACEOF
62923 rm -f conftest.$ac_objext
62924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62925 (eval $ac_compile) 2>conftest.er1
62926 ac_status=$?
62927 grep -v '^ *+' conftest.er1 >conftest.err
62928 rm -f conftest.er1
62929 cat conftest.err >&5
62930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62931 (exit $ac_status); } &&
62932 { ac_try='test -z "$ac_cxx_werror_flag"
62933 || test ! -s conftest.err'
62934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62935 (eval $ac_try) 2>&5
62936 ac_status=$?
62937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62938 (exit $ac_status); }; } &&
62939 { ac_try='test -s conftest.$ac_objext'
62940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62941 (eval $ac_try) 2>&5
62942 ac_status=$?
62943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62944 (exit $ac_status); }; }; then
62945 glibcxx_cv_func___builtin_sinl_use=yes
62946 else
62947 echo "$as_me: failed program was:" >&5
62948 sed 's/^/| /' conftest.$ac_ext >&5
62950 glibcxx_cv_func___builtin_sinl_use=no
62952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62953 ac_ext=c
62954 ac_cpp='$CPP $CPPFLAGS'
62955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62963 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62964 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62965 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62966 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62967 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62968 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62969 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62970 echo $ECHO_N "(cached) $ECHO_C" >&6
62971 else
62973 if test x$gcc_no_link = xyes; then
62974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62976 { (exit 1); exit 1; }; }
62978 cat >conftest.$ac_ext <<_ACEOF
62979 /* confdefs.h. */
62980 _ACEOF
62981 cat confdefs.h >>conftest.$ac_ext
62982 cat >>conftest.$ac_ext <<_ACEOF
62983 /* end confdefs.h. */
62984 #include <math.h>
62986 main ()
62988 __builtin_sinl(0);
62990 return 0;
62992 _ACEOF
62993 rm -f conftest.$ac_objext conftest$ac_exeext
62994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62995 (eval $ac_link) 2>conftest.er1
62996 ac_status=$?
62997 grep -v '^ *+' conftest.er1 >conftest.err
62998 rm -f conftest.er1
62999 cat conftest.err >&5
63000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63001 (exit $ac_status); } &&
63002 { ac_try='test -z "$ac_c_werror_flag"
63003 || test ! -s conftest.err'
63004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63005 (eval $ac_try) 2>&5
63006 ac_status=$?
63007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63008 (exit $ac_status); }; } &&
63009 { ac_try='test -s conftest$ac_exeext'
63010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63011 (eval $ac_try) 2>&5
63012 ac_status=$?
63013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63014 (exit $ac_status); }; }; then
63015 glibcxx_cv_func___builtin_sinl_link=yes
63016 else
63017 echo "$as_me: failed program was:" >&5
63018 sed 's/^/| /' conftest.$ac_ext >&5
63020 glibcxx_cv_func___builtin_sinl_link=no
63022 rm -f conftest.err conftest.$ac_objext \
63023 conftest$ac_exeext conftest.$ac_ext
63028 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
63029 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
63031 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
63033 cat >>confdefs.h <<\_ACEOF
63034 #define HAVE___BUILTIN_SINL 1
63035 _ACEOF
63043 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
63044 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
63045 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
63046 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
63047 echo $ECHO_N "(cached) $ECHO_C" >&6
63048 else
63052 ac_ext=cc
63053 ac_cpp='$CXXCPP $CPPFLAGS'
63054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63058 cat >conftest.$ac_ext <<_ACEOF
63059 /* confdefs.h. */
63060 _ACEOF
63061 cat confdefs.h >>conftest.$ac_ext
63062 cat >>conftest.$ac_ext <<_ACEOF
63063 /* end confdefs.h. */
63064 #include <math.h>
63066 main ()
63068 __builtin_cosf(0);
63070 return 0;
63072 _ACEOF
63073 rm -f conftest.$ac_objext
63074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63075 (eval $ac_compile) 2>conftest.er1
63076 ac_status=$?
63077 grep -v '^ *+' conftest.er1 >conftest.err
63078 rm -f conftest.er1
63079 cat conftest.err >&5
63080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63081 (exit $ac_status); } &&
63082 { ac_try='test -z "$ac_cxx_werror_flag"
63083 || test ! -s conftest.err'
63084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63085 (eval $ac_try) 2>&5
63086 ac_status=$?
63087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63088 (exit $ac_status); }; } &&
63089 { ac_try='test -s conftest.$ac_objext'
63090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63091 (eval $ac_try) 2>&5
63092 ac_status=$?
63093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63094 (exit $ac_status); }; }; then
63095 glibcxx_cv_func___builtin_cosf_use=yes
63096 else
63097 echo "$as_me: failed program was:" >&5
63098 sed 's/^/| /' conftest.$ac_ext >&5
63100 glibcxx_cv_func___builtin_cosf_use=no
63102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63103 ac_ext=c
63104 ac_cpp='$CPP $CPPFLAGS'
63105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63113 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
63114 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
63115 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
63116 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
63117 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
63118 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
63119 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
63120 echo $ECHO_N "(cached) $ECHO_C" >&6
63121 else
63123 if test x$gcc_no_link = xyes; then
63124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63126 { (exit 1); exit 1; }; }
63128 cat >conftest.$ac_ext <<_ACEOF
63129 /* confdefs.h. */
63130 _ACEOF
63131 cat confdefs.h >>conftest.$ac_ext
63132 cat >>conftest.$ac_ext <<_ACEOF
63133 /* end confdefs.h. */
63134 #include <math.h>
63136 main ()
63138 __builtin_cosf(0);
63140 return 0;
63142 _ACEOF
63143 rm -f conftest.$ac_objext conftest$ac_exeext
63144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63145 (eval $ac_link) 2>conftest.er1
63146 ac_status=$?
63147 grep -v '^ *+' conftest.er1 >conftest.err
63148 rm -f conftest.er1
63149 cat conftest.err >&5
63150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63151 (exit $ac_status); } &&
63152 { ac_try='test -z "$ac_c_werror_flag"
63153 || test ! -s conftest.err'
63154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63155 (eval $ac_try) 2>&5
63156 ac_status=$?
63157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63158 (exit $ac_status); }; } &&
63159 { ac_try='test -s conftest$ac_exeext'
63160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63161 (eval $ac_try) 2>&5
63162 ac_status=$?
63163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63164 (exit $ac_status); }; }; then
63165 glibcxx_cv_func___builtin_cosf_link=yes
63166 else
63167 echo "$as_me: failed program was:" >&5
63168 sed 's/^/| /' conftest.$ac_ext >&5
63170 glibcxx_cv_func___builtin_cosf_link=no
63172 rm -f conftest.err conftest.$ac_objext \
63173 conftest$ac_exeext conftest.$ac_ext
63178 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
63179 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
63181 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
63183 cat >>confdefs.h <<\_ACEOF
63184 #define HAVE___BUILTIN_COSF 1
63185 _ACEOF
63192 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
63193 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
63194 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
63195 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
63196 echo $ECHO_N "(cached) $ECHO_C" >&6
63197 else
63201 ac_ext=cc
63202 ac_cpp='$CXXCPP $CPPFLAGS'
63203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63207 cat >conftest.$ac_ext <<_ACEOF
63208 /* confdefs.h. */
63209 _ACEOF
63210 cat confdefs.h >>conftest.$ac_ext
63211 cat >>conftest.$ac_ext <<_ACEOF
63212 /* end confdefs.h. */
63213 #include <math.h>
63215 main ()
63217 __builtin_cos(0);
63219 return 0;
63221 _ACEOF
63222 rm -f conftest.$ac_objext
63223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63224 (eval $ac_compile) 2>conftest.er1
63225 ac_status=$?
63226 grep -v '^ *+' conftest.er1 >conftest.err
63227 rm -f conftest.er1
63228 cat conftest.err >&5
63229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63230 (exit $ac_status); } &&
63231 { ac_try='test -z "$ac_cxx_werror_flag"
63232 || test ! -s conftest.err'
63233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63234 (eval $ac_try) 2>&5
63235 ac_status=$?
63236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63237 (exit $ac_status); }; } &&
63238 { ac_try='test -s conftest.$ac_objext'
63239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63240 (eval $ac_try) 2>&5
63241 ac_status=$?
63242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63243 (exit $ac_status); }; }; then
63244 glibcxx_cv_func___builtin_cos_use=yes
63245 else
63246 echo "$as_me: failed program was:" >&5
63247 sed 's/^/| /' conftest.$ac_ext >&5
63249 glibcxx_cv_func___builtin_cos_use=no
63251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63252 ac_ext=c
63253 ac_cpp='$CPP $CPPFLAGS'
63254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
63263 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
63264 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
63265 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
63266 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
63267 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
63268 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
63269 echo $ECHO_N "(cached) $ECHO_C" >&6
63270 else
63272 if test x$gcc_no_link = xyes; then
63273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63275 { (exit 1); exit 1; }; }
63277 cat >conftest.$ac_ext <<_ACEOF
63278 /* confdefs.h. */
63279 _ACEOF
63280 cat confdefs.h >>conftest.$ac_ext
63281 cat >>conftest.$ac_ext <<_ACEOF
63282 /* end confdefs.h. */
63283 #include <math.h>
63285 main ()
63287 __builtin_cos(0);
63289 return 0;
63291 _ACEOF
63292 rm -f conftest.$ac_objext conftest$ac_exeext
63293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63294 (eval $ac_link) 2>conftest.er1
63295 ac_status=$?
63296 grep -v '^ *+' conftest.er1 >conftest.err
63297 rm -f conftest.er1
63298 cat conftest.err >&5
63299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63300 (exit $ac_status); } &&
63301 { ac_try='test -z "$ac_c_werror_flag"
63302 || test ! -s conftest.err'
63303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63304 (eval $ac_try) 2>&5
63305 ac_status=$?
63306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63307 (exit $ac_status); }; } &&
63308 { ac_try='test -s conftest$ac_exeext'
63309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63310 (eval $ac_try) 2>&5
63311 ac_status=$?
63312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63313 (exit $ac_status); }; }; then
63314 glibcxx_cv_func___builtin_cos_link=yes
63315 else
63316 echo "$as_me: failed program was:" >&5
63317 sed 's/^/| /' conftest.$ac_ext >&5
63319 glibcxx_cv_func___builtin_cos_link=no
63321 rm -f conftest.err conftest.$ac_objext \
63322 conftest$ac_exeext conftest.$ac_ext
63327 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
63328 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
63330 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
63332 cat >>confdefs.h <<\_ACEOF
63333 #define HAVE___BUILTIN_COS 1
63334 _ACEOF
63341 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
63342 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
63343 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
63344 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
63345 echo $ECHO_N "(cached) $ECHO_C" >&6
63346 else
63350 ac_ext=cc
63351 ac_cpp='$CXXCPP $CPPFLAGS'
63352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63356 cat >conftest.$ac_ext <<_ACEOF
63357 /* confdefs.h. */
63358 _ACEOF
63359 cat confdefs.h >>conftest.$ac_ext
63360 cat >>conftest.$ac_ext <<_ACEOF
63361 /* end confdefs.h. */
63362 #include <math.h>
63364 main ()
63366 __builtin_cosl(0);
63368 return 0;
63370 _ACEOF
63371 rm -f conftest.$ac_objext
63372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63373 (eval $ac_compile) 2>conftest.er1
63374 ac_status=$?
63375 grep -v '^ *+' conftest.er1 >conftest.err
63376 rm -f conftest.er1
63377 cat conftest.err >&5
63378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63379 (exit $ac_status); } &&
63380 { ac_try='test -z "$ac_cxx_werror_flag"
63381 || test ! -s conftest.err'
63382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63383 (eval $ac_try) 2>&5
63384 ac_status=$?
63385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63386 (exit $ac_status); }; } &&
63387 { ac_try='test -s conftest.$ac_objext'
63388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63389 (eval $ac_try) 2>&5
63390 ac_status=$?
63391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63392 (exit $ac_status); }; }; then
63393 glibcxx_cv_func___builtin_cosl_use=yes
63394 else
63395 echo "$as_me: failed program was:" >&5
63396 sed 's/^/| /' conftest.$ac_ext >&5
63398 glibcxx_cv_func___builtin_cosl_use=no
63400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63401 ac_ext=c
63402 ac_cpp='$CPP $CPPFLAGS'
63403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
63412 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
63413 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
63414 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
63415 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
63416 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
63417 if test "${glibcxx_cv_func___builtin_cosl_link+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 <math.h>
63434 main ()
63436 __builtin_cosl(0);
63438 return 0;
63440 _ACEOF
63441 rm -f conftest.$ac_objext conftest$ac_exeext
63442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63443 (eval $ac_link) 2>conftest.er1
63444 ac_status=$?
63445 grep -v '^ *+' conftest.er1 >conftest.err
63446 rm -f conftest.er1
63447 cat conftest.err >&5
63448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63449 (exit $ac_status); } &&
63450 { ac_try='test -z "$ac_c_werror_flag"
63451 || test ! -s conftest.err'
63452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63453 (eval $ac_try) 2>&5
63454 ac_status=$?
63455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63456 (exit $ac_status); }; } &&
63457 { ac_try='test -s conftest$ac_exeext'
63458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63459 (eval $ac_try) 2>&5
63460 ac_status=$?
63461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63462 (exit $ac_status); }; }; then
63463 glibcxx_cv_func___builtin_cosl_link=yes
63464 else
63465 echo "$as_me: failed program was:" >&5
63466 sed 's/^/| /' conftest.$ac_ext >&5
63468 glibcxx_cv_func___builtin_cosl_link=no
63470 rm -f conftest.err conftest.$ac_objext \
63471 conftest$ac_exeext conftest.$ac_ext
63476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
63477 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
63479 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
63481 cat >>confdefs.h <<\_ACEOF
63482 #define HAVE___BUILTIN_COSL 1
63483 _ACEOF
63492 echo "$as_me:$LINENO: checking for main in -lm" >&5
63493 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63494 if test "${ac_cv_lib_m_main+set}" = set; then
63495 echo $ECHO_N "(cached) $ECHO_C" >&6
63496 else
63497 ac_check_lib_save_LIBS=$LIBS
63498 LIBS="-lm $LIBS"
63499 if test x$gcc_no_link = xyes; then
63500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63502 { (exit 1); exit 1; }; }
63504 cat >conftest.$ac_ext <<_ACEOF
63505 /* confdefs.h. */
63506 _ACEOF
63507 cat confdefs.h >>conftest.$ac_ext
63508 cat >>conftest.$ac_ext <<_ACEOF
63509 /* end confdefs.h. */
63513 main ()
63515 main ();
63517 return 0;
63519 _ACEOF
63520 rm -f conftest.$ac_objext conftest$ac_exeext
63521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63522 (eval $ac_link) 2>conftest.er1
63523 ac_status=$?
63524 grep -v '^ *+' conftest.er1 >conftest.err
63525 rm -f conftest.er1
63526 cat conftest.err >&5
63527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63528 (exit $ac_status); } &&
63529 { ac_try='test -z "$ac_c_werror_flag"
63530 || test ! -s conftest.err'
63531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63532 (eval $ac_try) 2>&5
63533 ac_status=$?
63534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535 (exit $ac_status); }; } &&
63536 { ac_try='test -s conftest$ac_exeext'
63537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63538 (eval $ac_try) 2>&5
63539 ac_status=$?
63540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63541 (exit $ac_status); }; }; then
63542 ac_cv_lib_m_main=yes
63543 else
63544 echo "$as_me: failed program was:" >&5
63545 sed 's/^/| /' conftest.$ac_ext >&5
63547 ac_cv_lib_m_main=no
63549 rm -f conftest.err conftest.$ac_objext \
63550 conftest$ac_exeext conftest.$ac_ext
63551 LIBS=$ac_check_lib_save_LIBS
63553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63554 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63555 if test $ac_cv_lib_m_main = yes; then
63556 cat >>confdefs.h <<_ACEOF
63557 #define HAVE_LIBM 1
63558 _ACEOF
63560 LIBS="-lm $LIBS"
63565 for ac_func in copysignf
63567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63568 echo "$as_me:$LINENO: checking for $ac_func" >&5
63569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63570 if eval "test \"\${$as_ac_var+set}\" = set"; then
63571 echo $ECHO_N "(cached) $ECHO_C" >&6
63572 else
63573 if test x$gcc_no_link = xyes; then
63574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63576 { (exit 1); exit 1; }; }
63578 cat >conftest.$ac_ext <<_ACEOF
63579 /* confdefs.h. */
63580 _ACEOF
63581 cat confdefs.h >>conftest.$ac_ext
63582 cat >>conftest.$ac_ext <<_ACEOF
63583 /* end confdefs.h. */
63584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63586 #define $ac_func innocuous_$ac_func
63588 /* System header to define __stub macros and hopefully few prototypes,
63589 which can conflict with char $ac_func (); below.
63590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63591 <limits.h> exists even on freestanding compilers. */
63593 #ifdef __STDC__
63594 # include <limits.h>
63595 #else
63596 # include <assert.h>
63597 #endif
63599 #undef $ac_func
63601 /* Override any gcc2 internal prototype to avoid an error. */
63602 #ifdef __cplusplus
63603 extern "C"
63605 #endif
63606 /* We use char because int might match the return type of a gcc2
63607 builtin and then its argument prototype would still apply. */
63608 char $ac_func ();
63609 /* The GNU C library defines this for functions which it implements
63610 to always fail with ENOSYS. Some functions are actually named
63611 something starting with __ and the normal name is an alias. */
63612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63613 choke me
63614 #else
63615 char (*f) () = $ac_func;
63616 #endif
63617 #ifdef __cplusplus
63619 #endif
63622 main ()
63624 return f != $ac_func;
63626 return 0;
63628 _ACEOF
63629 rm -f conftest.$ac_objext conftest$ac_exeext
63630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63631 (eval $ac_link) 2>conftest.er1
63632 ac_status=$?
63633 grep -v '^ *+' conftest.er1 >conftest.err
63634 rm -f conftest.er1
63635 cat conftest.err >&5
63636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63637 (exit $ac_status); } &&
63638 { ac_try='test -z "$ac_c_werror_flag"
63639 || test ! -s conftest.err'
63640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63641 (eval $ac_try) 2>&5
63642 ac_status=$?
63643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63644 (exit $ac_status); }; } &&
63645 { ac_try='test -s conftest$ac_exeext'
63646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63647 (eval $ac_try) 2>&5
63648 ac_status=$?
63649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63650 (exit $ac_status); }; }; then
63651 eval "$as_ac_var=yes"
63652 else
63653 echo "$as_me: failed program was:" >&5
63654 sed 's/^/| /' conftest.$ac_ext >&5
63656 eval "$as_ac_var=no"
63658 rm -f conftest.err conftest.$ac_objext \
63659 conftest$ac_exeext conftest.$ac_ext
63661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63663 if test `eval echo '${'$as_ac_var'}'` = yes; then
63664 cat >>confdefs.h <<_ACEOF
63665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63666 _ACEOF
63668 else
63669 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63671 done
63675 for ac_func in __signbit
63677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63678 echo "$as_me:$LINENO: checking for $ac_func" >&5
63679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63680 if eval "test \"\${$as_ac_var+set}\" = set"; then
63681 echo $ECHO_N "(cached) $ECHO_C" >&6
63682 else
63683 if test x$gcc_no_link = xyes; then
63684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63686 { (exit 1); exit 1; }; }
63688 cat >conftest.$ac_ext <<_ACEOF
63689 /* confdefs.h. */
63690 _ACEOF
63691 cat confdefs.h >>conftest.$ac_ext
63692 cat >>conftest.$ac_ext <<_ACEOF
63693 /* end confdefs.h. */
63694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63696 #define $ac_func innocuous_$ac_func
63698 /* System header to define __stub macros and hopefully few prototypes,
63699 which can conflict with char $ac_func (); below.
63700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63701 <limits.h> exists even on freestanding compilers. */
63703 #ifdef __STDC__
63704 # include <limits.h>
63705 #else
63706 # include <assert.h>
63707 #endif
63709 #undef $ac_func
63711 /* Override any gcc2 internal prototype to avoid an error. */
63712 #ifdef __cplusplus
63713 extern "C"
63715 #endif
63716 /* We use char because int might match the return type of a gcc2
63717 builtin and then its argument prototype would still apply. */
63718 char $ac_func ();
63719 /* The GNU C library defines this for functions which it implements
63720 to always fail with ENOSYS. Some functions are actually named
63721 something starting with __ and the normal name is an alias. */
63722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63723 choke me
63724 #else
63725 char (*f) () = $ac_func;
63726 #endif
63727 #ifdef __cplusplus
63729 #endif
63732 main ()
63734 return f != $ac_func;
63736 return 0;
63738 _ACEOF
63739 rm -f conftest.$ac_objext conftest$ac_exeext
63740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63741 (eval $ac_link) 2>conftest.er1
63742 ac_status=$?
63743 grep -v '^ *+' conftest.er1 >conftest.err
63744 rm -f conftest.er1
63745 cat conftest.err >&5
63746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63747 (exit $ac_status); } &&
63748 { ac_try='test -z "$ac_c_werror_flag"
63749 || test ! -s conftest.err'
63750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63751 (eval $ac_try) 2>&5
63752 ac_status=$?
63753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63754 (exit $ac_status); }; } &&
63755 { ac_try='test -s conftest$ac_exeext'
63756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63757 (eval $ac_try) 2>&5
63758 ac_status=$?
63759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63760 (exit $ac_status); }; }; then
63761 eval "$as_ac_var=yes"
63762 else
63763 echo "$as_me: failed program was:" >&5
63764 sed 's/^/| /' conftest.$ac_ext >&5
63766 eval "$as_ac_var=no"
63768 rm -f conftest.err conftest.$ac_objext \
63769 conftest$ac_exeext conftest.$ac_ext
63771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63773 if test `eval echo '${'$as_ac_var'}'` = yes; then
63774 cat >>confdefs.h <<_ACEOF
63775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63776 _ACEOF
63778 else
63779 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63781 done
63785 for ac_func in __signbitf
63787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63788 echo "$as_me:$LINENO: checking for $ac_func" >&5
63789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63790 if eval "test \"\${$as_ac_var+set}\" = set"; then
63791 echo $ECHO_N "(cached) $ECHO_C" >&6
63792 else
63793 if test x$gcc_no_link = xyes; then
63794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63796 { (exit 1); exit 1; }; }
63798 cat >conftest.$ac_ext <<_ACEOF
63799 /* confdefs.h. */
63800 _ACEOF
63801 cat confdefs.h >>conftest.$ac_ext
63802 cat >>conftest.$ac_ext <<_ACEOF
63803 /* end confdefs.h. */
63804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63806 #define $ac_func innocuous_$ac_func
63808 /* System header to define __stub macros and hopefully few prototypes,
63809 which can conflict with char $ac_func (); below.
63810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63811 <limits.h> exists even on freestanding compilers. */
63813 #ifdef __STDC__
63814 # include <limits.h>
63815 #else
63816 # include <assert.h>
63817 #endif
63819 #undef $ac_func
63821 /* Override any gcc2 internal prototype to avoid an error. */
63822 #ifdef __cplusplus
63823 extern "C"
63825 #endif
63826 /* We use char because int might match the return type of a gcc2
63827 builtin and then its argument prototype would still apply. */
63828 char $ac_func ();
63829 /* The GNU C library defines this for functions which it implements
63830 to always fail with ENOSYS. Some functions are actually named
63831 something starting with __ and the normal name is an alias. */
63832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63833 choke me
63834 #else
63835 char (*f) () = $ac_func;
63836 #endif
63837 #ifdef __cplusplus
63839 #endif
63842 main ()
63844 return f != $ac_func;
63846 return 0;
63848 _ACEOF
63849 rm -f conftest.$ac_objext conftest$ac_exeext
63850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63851 (eval $ac_link) 2>conftest.er1
63852 ac_status=$?
63853 grep -v '^ *+' conftest.er1 >conftest.err
63854 rm -f conftest.er1
63855 cat conftest.err >&5
63856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63857 (exit $ac_status); } &&
63858 { ac_try='test -z "$ac_c_werror_flag"
63859 || test ! -s conftest.err'
63860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63861 (eval $ac_try) 2>&5
63862 ac_status=$?
63863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63864 (exit $ac_status); }; } &&
63865 { ac_try='test -s conftest$ac_exeext'
63866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63867 (eval $ac_try) 2>&5
63868 ac_status=$?
63869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63870 (exit $ac_status); }; }; then
63871 eval "$as_ac_var=yes"
63872 else
63873 echo "$as_me: failed program was:" >&5
63874 sed 's/^/| /' conftest.$ac_ext >&5
63876 eval "$as_ac_var=no"
63878 rm -f conftest.err conftest.$ac_objext \
63879 conftest$ac_exeext conftest.$ac_ext
63881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63883 if test `eval echo '${'$as_ac_var'}'` = yes; then
63884 cat >>confdefs.h <<_ACEOF
63885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63886 _ACEOF
63888 else
63889 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63891 done
63894 if test x$ac_cv_func_copysignl = x"yes"; then
63896 for ac_func in __signbitl
63898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63899 echo "$as_me:$LINENO: checking for $ac_func" >&5
63900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63901 if eval "test \"\${$as_ac_var+set}\" = set"; then
63902 echo $ECHO_N "(cached) $ECHO_C" >&6
63903 else
63904 if test x$gcc_no_link = xyes; then
63905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63907 { (exit 1); exit 1; }; }
63909 cat >conftest.$ac_ext <<_ACEOF
63910 /* confdefs.h. */
63911 _ACEOF
63912 cat confdefs.h >>conftest.$ac_ext
63913 cat >>conftest.$ac_ext <<_ACEOF
63914 /* end confdefs.h. */
63915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63917 #define $ac_func innocuous_$ac_func
63919 /* System header to define __stub macros and hopefully few prototypes,
63920 which can conflict with char $ac_func (); below.
63921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63922 <limits.h> exists even on freestanding compilers. */
63924 #ifdef __STDC__
63925 # include <limits.h>
63926 #else
63927 # include <assert.h>
63928 #endif
63930 #undef $ac_func
63932 /* Override any gcc2 internal prototype to avoid an error. */
63933 #ifdef __cplusplus
63934 extern "C"
63936 #endif
63937 /* We use char because int might match the return type of a gcc2
63938 builtin and then its argument prototype would still apply. */
63939 char $ac_func ();
63940 /* The GNU C library defines this for functions which it implements
63941 to always fail with ENOSYS. Some functions are actually named
63942 something starting with __ and the normal name is an alias. */
63943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63944 choke me
63945 #else
63946 char (*f) () = $ac_func;
63947 #endif
63948 #ifdef __cplusplus
63950 #endif
63953 main ()
63955 return f != $ac_func;
63957 return 0;
63959 _ACEOF
63960 rm -f conftest.$ac_objext conftest$ac_exeext
63961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63962 (eval $ac_link) 2>conftest.er1
63963 ac_status=$?
63964 grep -v '^ *+' conftest.er1 >conftest.err
63965 rm -f conftest.er1
63966 cat conftest.err >&5
63967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63968 (exit $ac_status); } &&
63969 { ac_try='test -z "$ac_c_werror_flag"
63970 || test ! -s conftest.err'
63971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63972 (eval $ac_try) 2>&5
63973 ac_status=$?
63974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63975 (exit $ac_status); }; } &&
63976 { ac_try='test -s conftest$ac_exeext'
63977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63978 (eval $ac_try) 2>&5
63979 ac_status=$?
63980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63981 (exit $ac_status); }; }; then
63982 eval "$as_ac_var=yes"
63983 else
63984 echo "$as_me: failed program was:" >&5
63985 sed 's/^/| /' conftest.$ac_ext >&5
63987 eval "$as_ac_var=no"
63989 rm -f conftest.err conftest.$ac_objext \
63990 conftest$ac_exeext conftest.$ac_ext
63992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63994 if test `eval echo '${'$as_ac_var'}'` = yes; then
63995 cat >>confdefs.h <<_ACEOF
63996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63997 _ACEOF
63999 else
64000 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64002 done
64006 # Used in libmath/Makefile.am.
64007 if test -n "$LIBMATHOBJS"; then
64008 need_libmath=yes
64013 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64014 ac_save_CXXFLAGS="$CXXFLAGS"
64015 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64018 echo "$as_me:$LINENO: checking for strtold declaration" >&5
64019 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
64020 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64021 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
64022 echo $ECHO_N "(cached) $ECHO_C" >&6
64023 else
64027 ac_ext=cc
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat >conftest.$ac_ext <<_ACEOF
64034 /* confdefs.h. */
64035 _ACEOF
64036 cat confdefs.h >>conftest.$ac_ext
64037 cat >>conftest.$ac_ext <<_ACEOF
64038 /* end confdefs.h. */
64039 #include <stdlib.h>
64041 main ()
64043 strtold(0, 0);
64045 return 0;
64047 _ACEOF
64048 rm -f conftest.$ac_objext
64049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64050 (eval $ac_compile) 2>conftest.er1
64051 ac_status=$?
64052 grep -v '^ *+' conftest.er1 >conftest.err
64053 rm -f conftest.er1
64054 cat conftest.err >&5
64055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64056 (exit $ac_status); } &&
64057 { ac_try='test -z "$ac_cxx_werror_flag"
64058 || test ! -s conftest.err'
64059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64060 (eval $ac_try) 2>&5
64061 ac_status=$?
64062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063 (exit $ac_status); }; } &&
64064 { ac_try='test -s conftest.$ac_objext'
64065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64066 (eval $ac_try) 2>&5
64067 ac_status=$?
64068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64069 (exit $ac_status); }; }; then
64070 glibcxx_cv_func_strtold_use=yes
64071 else
64072 echo "$as_me: failed program was:" >&5
64073 sed 's/^/| /' conftest.$ac_ext >&5
64075 glibcxx_cv_func_strtold_use=no
64077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64078 ac_ext=c
64079 ac_cpp='$CPP $CPPFLAGS'
64080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
64089 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
64090 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64092 for ac_func in strtold
64094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64095 echo "$as_me:$LINENO: checking for $ac_func" >&5
64096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64097 if eval "test \"\${$as_ac_var+set}\" = set"; then
64098 echo $ECHO_N "(cached) $ECHO_C" >&6
64099 else
64100 if test x$gcc_no_link = xyes; then
64101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64103 { (exit 1); exit 1; }; }
64105 cat >conftest.$ac_ext <<_ACEOF
64106 /* confdefs.h. */
64107 _ACEOF
64108 cat confdefs.h >>conftest.$ac_ext
64109 cat >>conftest.$ac_ext <<_ACEOF
64110 /* end confdefs.h. */
64111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64113 #define $ac_func innocuous_$ac_func
64115 /* System header to define __stub macros and hopefully few prototypes,
64116 which can conflict with char $ac_func (); below.
64117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64118 <limits.h> exists even on freestanding compilers. */
64120 #ifdef __STDC__
64121 # include <limits.h>
64122 #else
64123 # include <assert.h>
64124 #endif
64126 #undef $ac_func
64128 /* Override any gcc2 internal prototype to avoid an error. */
64129 #ifdef __cplusplus
64130 extern "C"
64132 #endif
64133 /* We use char because int might match the return type of a gcc2
64134 builtin and then its argument prototype would still apply. */
64135 char $ac_func ();
64136 /* The GNU C library defines this for functions which it implements
64137 to always fail with ENOSYS. Some functions are actually named
64138 something starting with __ and the normal name is an alias. */
64139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64140 choke me
64141 #else
64142 char (*f) () = $ac_func;
64143 #endif
64144 #ifdef __cplusplus
64146 #endif
64149 main ()
64151 return f != $ac_func;
64153 return 0;
64155 _ACEOF
64156 rm -f conftest.$ac_objext conftest$ac_exeext
64157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64158 (eval $ac_link) 2>conftest.er1
64159 ac_status=$?
64160 grep -v '^ *+' conftest.er1 >conftest.err
64161 rm -f conftest.er1
64162 cat conftest.err >&5
64163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64164 (exit $ac_status); } &&
64165 { ac_try='test -z "$ac_c_werror_flag"
64166 || test ! -s conftest.err'
64167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64168 (eval $ac_try) 2>&5
64169 ac_status=$?
64170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64171 (exit $ac_status); }; } &&
64172 { ac_try='test -s conftest$ac_exeext'
64173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64174 (eval $ac_try) 2>&5
64175 ac_status=$?
64176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64177 (exit $ac_status); }; }; then
64178 eval "$as_ac_var=yes"
64179 else
64180 echo "$as_me: failed program was:" >&5
64181 sed 's/^/| /' conftest.$ac_ext >&5
64183 eval "$as_ac_var=no"
64185 rm -f conftest.err conftest.$ac_objext \
64186 conftest$ac_exeext conftest.$ac_ext
64188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64190 if test `eval echo '${'$as_ac_var'}'` = yes; then
64191 cat >>confdefs.h <<_ACEOF
64192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64193 _ACEOF
64196 done
64204 echo "$as_me:$LINENO: checking for strtof declaration" >&5
64205 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
64206 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64207 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
64208 echo $ECHO_N "(cached) $ECHO_C" >&6
64209 else
64213 ac_ext=cc
64214 ac_cpp='$CXXCPP $CPPFLAGS'
64215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64219 cat >conftest.$ac_ext <<_ACEOF
64220 /* confdefs.h. */
64221 _ACEOF
64222 cat confdefs.h >>conftest.$ac_ext
64223 cat >>conftest.$ac_ext <<_ACEOF
64224 /* end confdefs.h. */
64225 #include <stdlib.h>
64227 main ()
64229 strtof(0, 0);
64231 return 0;
64233 _ACEOF
64234 rm -f conftest.$ac_objext
64235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64236 (eval $ac_compile) 2>conftest.er1
64237 ac_status=$?
64238 grep -v '^ *+' conftest.er1 >conftest.err
64239 rm -f conftest.er1
64240 cat conftest.err >&5
64241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64242 (exit $ac_status); } &&
64243 { ac_try='test -z "$ac_cxx_werror_flag"
64244 || test ! -s conftest.err'
64245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64246 (eval $ac_try) 2>&5
64247 ac_status=$?
64248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64249 (exit $ac_status); }; } &&
64250 { ac_try='test -s conftest.$ac_objext'
64251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64252 (eval $ac_try) 2>&5
64253 ac_status=$?
64254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64255 (exit $ac_status); }; }; then
64256 glibcxx_cv_func_strtof_use=yes
64257 else
64258 echo "$as_me: failed program was:" >&5
64259 sed 's/^/| /' conftest.$ac_ext >&5
64261 glibcxx_cv_func_strtof_use=no
64263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64264 ac_ext=c
64265 ac_cpp='$CPP $CPPFLAGS'
64266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
64275 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
64276 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64278 for ac_func in strtof
64280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64281 echo "$as_me:$LINENO: checking for $ac_func" >&5
64282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64283 if eval "test \"\${$as_ac_var+set}\" = set"; then
64284 echo $ECHO_N "(cached) $ECHO_C" >&6
64285 else
64286 if test x$gcc_no_link = xyes; then
64287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64289 { (exit 1); exit 1; }; }
64291 cat >conftest.$ac_ext <<_ACEOF
64292 /* confdefs.h. */
64293 _ACEOF
64294 cat confdefs.h >>conftest.$ac_ext
64295 cat >>conftest.$ac_ext <<_ACEOF
64296 /* end confdefs.h. */
64297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64299 #define $ac_func innocuous_$ac_func
64301 /* System header to define __stub macros and hopefully few prototypes,
64302 which can conflict with char $ac_func (); below.
64303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64304 <limits.h> exists even on freestanding compilers. */
64306 #ifdef __STDC__
64307 # include <limits.h>
64308 #else
64309 # include <assert.h>
64310 #endif
64312 #undef $ac_func
64314 /* Override any gcc2 internal prototype to avoid an error. */
64315 #ifdef __cplusplus
64316 extern "C"
64318 #endif
64319 /* We use char because int might match the return type of a gcc2
64320 builtin and then its argument prototype would still apply. */
64321 char $ac_func ();
64322 /* The GNU C library defines this for functions which it implements
64323 to always fail with ENOSYS. Some functions are actually named
64324 something starting with __ and the normal name is an alias. */
64325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64326 choke me
64327 #else
64328 char (*f) () = $ac_func;
64329 #endif
64330 #ifdef __cplusplus
64332 #endif
64335 main ()
64337 return f != $ac_func;
64339 return 0;
64341 _ACEOF
64342 rm -f conftest.$ac_objext conftest$ac_exeext
64343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64344 (eval $ac_link) 2>conftest.er1
64345 ac_status=$?
64346 grep -v '^ *+' conftest.er1 >conftest.err
64347 rm -f conftest.er1
64348 cat conftest.err >&5
64349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64350 (exit $ac_status); } &&
64351 { ac_try='test -z "$ac_c_werror_flag"
64352 || test ! -s conftest.err'
64353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64354 (eval $ac_try) 2>&5
64355 ac_status=$?
64356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64357 (exit $ac_status); }; } &&
64358 { ac_try='test -s conftest$ac_exeext'
64359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64360 (eval $ac_try) 2>&5
64361 ac_status=$?
64362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64363 (exit $ac_status); }; }; then
64364 eval "$as_ac_var=yes"
64365 else
64366 echo "$as_me: failed program was:" >&5
64367 sed 's/^/| /' conftest.$ac_ext >&5
64369 eval "$as_ac_var=no"
64371 rm -f conftest.err conftest.$ac_objext \
64372 conftest$ac_exeext conftest.$ac_ext
64374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64376 if test `eval echo '${'$as_ac_var'}'` = yes; then
64377 cat >>confdefs.h <<_ACEOF
64378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64379 _ACEOF
64382 done
64390 CXXFLAGS="$ac_save_CXXFLAGS"
64393 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
64394 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
64395 if test "${glibcxx_cv_S_ISREG+set}" = set; then
64396 echo $ECHO_N "(cached) $ECHO_C" >&6
64397 else
64399 if test x$gcc_no_link = xyes; then
64400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64402 { (exit 1); exit 1; }; }
64404 cat >conftest.$ac_ext <<_ACEOF
64405 /* confdefs.h. */
64406 _ACEOF
64407 cat confdefs.h >>conftest.$ac_ext
64408 cat >>conftest.$ac_ext <<_ACEOF
64409 /* end confdefs.h. */
64410 #include <sys/stat.h>
64412 main ()
64414 struct stat buffer;
64415 fstat(0, &buffer);
64416 S_ISREG(buffer.st_mode);
64418 return 0;
64420 _ACEOF
64421 rm -f conftest.$ac_objext conftest$ac_exeext
64422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64423 (eval $ac_link) 2>conftest.er1
64424 ac_status=$?
64425 grep -v '^ *+' conftest.er1 >conftest.err
64426 rm -f conftest.er1
64427 cat conftest.err >&5
64428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64429 (exit $ac_status); } &&
64430 { ac_try='test -z "$ac_c_werror_flag"
64431 || test ! -s conftest.err'
64432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64433 (eval $ac_try) 2>&5
64434 ac_status=$?
64435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64436 (exit $ac_status); }; } &&
64437 { ac_try='test -s conftest$ac_exeext'
64438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64439 (eval $ac_try) 2>&5
64440 ac_status=$?
64441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64442 (exit $ac_status); }; }; then
64443 glibcxx_cv_S_ISREG=yes
64444 else
64445 echo "$as_me: failed program was:" >&5
64446 sed 's/^/| /' conftest.$ac_ext >&5
64448 glibcxx_cv_S_ISREG=no
64450 rm -f conftest.err conftest.$ac_objext \
64451 conftest$ac_exeext conftest.$ac_ext
64455 if test "${glibcxx_cv_S_IFREG+set}" = set; then
64456 echo $ECHO_N "(cached) $ECHO_C" >&6
64457 else
64459 if test x$gcc_no_link = xyes; then
64460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64462 { (exit 1); exit 1; }; }
64464 cat >conftest.$ac_ext <<_ACEOF
64465 /* confdefs.h. */
64466 _ACEOF
64467 cat confdefs.h >>conftest.$ac_ext
64468 cat >>conftest.$ac_ext <<_ACEOF
64469 /* end confdefs.h. */
64470 #include <sys/stat.h>
64472 main ()
64474 struct stat buffer;
64475 fstat(0, &buffer);
64476 S_IFREG & buffer.st_mode;
64478 return 0;
64480 _ACEOF
64481 rm -f conftest.$ac_objext conftest$ac_exeext
64482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64483 (eval $ac_link) 2>conftest.er1
64484 ac_status=$?
64485 grep -v '^ *+' conftest.er1 >conftest.err
64486 rm -f conftest.er1
64487 cat conftest.err >&5
64488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64489 (exit $ac_status); } &&
64490 { ac_try='test -z "$ac_c_werror_flag"
64491 || test ! -s conftest.err'
64492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64493 (eval $ac_try) 2>&5
64494 ac_status=$?
64495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64496 (exit $ac_status); }; } &&
64497 { ac_try='test -s conftest$ac_exeext'
64498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64499 (eval $ac_try) 2>&5
64500 ac_status=$?
64501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64502 (exit $ac_status); }; }; then
64503 glibcxx_cv_S_IFREG=yes
64504 else
64505 echo "$as_me: failed program was:" >&5
64506 sed 's/^/| /' conftest.$ac_ext >&5
64508 glibcxx_cv_S_IFREG=no
64510 rm -f conftest.err conftest.$ac_objext \
64511 conftest$ac_exeext conftest.$ac_ext
64515 res=no
64516 if test $glibcxx_cv_S_ISREG = yes; then
64518 cat >>confdefs.h <<\_ACEOF
64519 #define HAVE_S_ISREG 1
64520 _ACEOF
64522 res=S_ISREG
64523 elif test $glibcxx_cv_S_IFREG = yes; then
64525 cat >>confdefs.h <<\_ACEOF
64526 #define HAVE_S_IFREG 1
64527 _ACEOF
64529 res=S_IFREG
64531 echo "$as_me:$LINENO: result: $res" >&5
64532 echo "${ECHO_T}$res" >&6
64534 cat >>confdefs.h <<\_ACEOF
64535 #define HAVE_SIGSETJMP 1
64536 _ACEOF
64538 cat >>confdefs.h <<\_ACEOF
64539 #define HAVE_GETPAGESIZE 1
64540 _ACEOF
64542 cat >>confdefs.h <<\_ACEOF
64543 #define HAVE_WRITEV 1
64544 _ACEOF
64546 cat >>confdefs.h <<\_ACEOF
64547 #define HAVE_INT64_T 1
64548 _ACEOF
64551 cat >>confdefs.h <<\_ACEOF
64552 #define HAVE_LIBM 1
64553 _ACEOF
64555 cat >>confdefs.h <<\_ACEOF
64556 #define HAVE_COPYSIGN 1
64557 _ACEOF
64559 cat >>confdefs.h <<\_ACEOF
64560 #define HAVE_FINITE 1
64561 _ACEOF
64563 cat >>confdefs.h <<\_ACEOF
64564 #define HAVE_HYPOT 1
64565 _ACEOF
64567 cat >>confdefs.h <<\_ACEOF
64568 #define HAVE_ISNAN 1
64569 _ACEOF
64571 cat >>confdefs.h <<\_ACEOF
64572 #define HAVE_ISINF 1
64573 _ACEOF
64576 cat >>confdefs.h <<\_ACEOF
64577 #define HAVE_LDEXPF 1
64578 _ACEOF
64580 cat >>confdefs.h <<\_ACEOF
64581 #define HAVE_MODF 1
64582 _ACEOF
64584 cat >>confdefs.h <<\_ACEOF
64585 #define HAVE_SQRTF 1
64586 _ACEOF
64590 *-darwin*)
64591 # Darwin versions vary, but the linker should work in a cross environment,
64592 # so we just check for all the features here.
64593 # Check for available headers.
64606 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64607 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64608 sys/types.h
64610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64612 echo "$as_me:$LINENO: checking for $ac_header" >&5
64613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64615 echo $ECHO_N "(cached) $ECHO_C" >&6
64617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64619 else
64620 # Is the header compilable?
64621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64623 cat >conftest.$ac_ext <<_ACEOF
64624 /* confdefs.h. */
64625 _ACEOF
64626 cat confdefs.h >>conftest.$ac_ext
64627 cat >>conftest.$ac_ext <<_ACEOF
64628 /* end confdefs.h. */
64629 $ac_includes_default
64630 #include <$ac_header>
64631 _ACEOF
64632 rm -f conftest.$ac_objext
64633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64634 (eval $ac_compile) 2>conftest.er1
64635 ac_status=$?
64636 grep -v '^ *+' conftest.er1 >conftest.err
64637 rm -f conftest.er1
64638 cat conftest.err >&5
64639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64640 (exit $ac_status); } &&
64641 { ac_try='test -z "$ac_c_werror_flag"
64642 || test ! -s conftest.err'
64643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64644 (eval $ac_try) 2>&5
64645 ac_status=$?
64646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647 (exit $ac_status); }; } &&
64648 { ac_try='test -s conftest.$ac_objext'
64649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64650 (eval $ac_try) 2>&5
64651 ac_status=$?
64652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64653 (exit $ac_status); }; }; then
64654 ac_header_compiler=yes
64655 else
64656 echo "$as_me: failed program was:" >&5
64657 sed 's/^/| /' conftest.$ac_ext >&5
64659 ac_header_compiler=no
64661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64663 echo "${ECHO_T}$ac_header_compiler" >&6
64665 # Is the header present?
64666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64668 cat >conftest.$ac_ext <<_ACEOF
64669 /* confdefs.h. */
64670 _ACEOF
64671 cat confdefs.h >>conftest.$ac_ext
64672 cat >>conftest.$ac_ext <<_ACEOF
64673 /* end confdefs.h. */
64674 #include <$ac_header>
64675 _ACEOF
64676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64678 ac_status=$?
64679 grep -v '^ *+' conftest.er1 >conftest.err
64680 rm -f conftest.er1
64681 cat conftest.err >&5
64682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64683 (exit $ac_status); } >/dev/null; then
64684 if test -s conftest.err; then
64685 ac_cpp_err=$ac_c_preproc_warn_flag
64686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64687 else
64688 ac_cpp_err=
64690 else
64691 ac_cpp_err=yes
64693 if test -z "$ac_cpp_err"; then
64694 ac_header_preproc=yes
64695 else
64696 echo "$as_me: failed program was:" >&5
64697 sed 's/^/| /' conftest.$ac_ext >&5
64699 ac_header_preproc=no
64701 rm -f conftest.err conftest.$ac_ext
64702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64703 echo "${ECHO_T}$ac_header_preproc" >&6
64705 # So? What about this header?
64706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64707 yes:no: )
64708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64712 ac_header_preproc=yes
64714 no:yes:* )
64715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64728 cat <<\_ASBOX
64729 ## ----------------------------------------- ##
64730 ## Report this to the package-unused lists. ##
64731 ## ----------------------------------------- ##
64732 _ASBOX
64734 sed "s/^/$as_me: WARNING: /" >&2
64736 esac
64737 echo "$as_me:$LINENO: checking for $ac_header" >&5
64738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64740 echo $ECHO_N "(cached) $ECHO_C" >&6
64741 else
64742 eval "$as_ac_Header=\$ac_header_preproc"
64744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64749 cat >>confdefs.h <<_ACEOF
64750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64751 _ACEOF
64755 done
64758 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64761 ac_save_CXXFLAGS="$CXXFLAGS"
64762 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64764 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64765 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64766 if test "${ac_cv_lib_m_sin+set}" = set; then
64767 echo $ECHO_N "(cached) $ECHO_C" >&6
64768 else
64769 ac_check_lib_save_LIBS=$LIBS
64770 LIBS="-lm $LIBS"
64771 if test x$gcc_no_link = xyes; then
64772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64774 { (exit 1); exit 1; }; }
64776 cat >conftest.$ac_ext <<_ACEOF
64777 /* confdefs.h. */
64778 _ACEOF
64779 cat confdefs.h >>conftest.$ac_ext
64780 cat >>conftest.$ac_ext <<_ACEOF
64781 /* end confdefs.h. */
64783 /* Override any gcc2 internal prototype to avoid an error. */
64784 #ifdef __cplusplus
64785 extern "C"
64786 #endif
64787 /* We use char because int might match the return type of a gcc2
64788 builtin and then its argument prototype would still apply. */
64789 char sin ();
64791 main ()
64793 sin ();
64795 return 0;
64797 _ACEOF
64798 rm -f conftest.$ac_objext conftest$ac_exeext
64799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64800 (eval $ac_link) 2>conftest.er1
64801 ac_status=$?
64802 grep -v '^ *+' conftest.er1 >conftest.err
64803 rm -f conftest.er1
64804 cat conftest.err >&5
64805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64806 (exit $ac_status); } &&
64807 { ac_try='test -z "$ac_c_werror_flag"
64808 || test ! -s conftest.err'
64809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64810 (eval $ac_try) 2>&5
64811 ac_status=$?
64812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64813 (exit $ac_status); }; } &&
64814 { ac_try='test -s conftest$ac_exeext'
64815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64816 (eval $ac_try) 2>&5
64817 ac_status=$?
64818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64819 (exit $ac_status); }; }; then
64820 ac_cv_lib_m_sin=yes
64821 else
64822 echo "$as_me: failed program was:" >&5
64823 sed 's/^/| /' conftest.$ac_ext >&5
64825 ac_cv_lib_m_sin=no
64827 rm -f conftest.err conftest.$ac_objext \
64828 conftest$ac_exeext conftest.$ac_ext
64829 LIBS=$ac_check_lib_save_LIBS
64831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64832 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64833 if test $ac_cv_lib_m_sin = yes; then
64834 libm="-lm"
64837 ac_save_LIBS="$LIBS"
64838 LIBS="$LIBS $libm"
64842 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64843 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64844 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64845 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64846 echo $ECHO_N "(cached) $ECHO_C" >&6
64847 else
64851 ac_ext=cc
64852 ac_cpp='$CXXCPP $CPPFLAGS'
64853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64857 cat >conftest.$ac_ext <<_ACEOF
64858 /* confdefs.h. */
64859 _ACEOF
64860 cat confdefs.h >>conftest.$ac_ext
64861 cat >>conftest.$ac_ext <<_ACEOF
64862 /* end confdefs.h. */
64863 #include <math.h>
64864 #ifdef HAVE_IEEEFP_H
64865 #include <ieeefp.h>
64866 #endif
64869 main ()
64871 isinf(0);
64873 return 0;
64875 _ACEOF
64876 rm -f conftest.$ac_objext
64877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64878 (eval $ac_compile) 2>conftest.er1
64879 ac_status=$?
64880 grep -v '^ *+' conftest.er1 >conftest.err
64881 rm -f conftest.er1
64882 cat conftest.err >&5
64883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64884 (exit $ac_status); } &&
64885 { ac_try='test -z "$ac_cxx_werror_flag"
64886 || test ! -s conftest.err'
64887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64888 (eval $ac_try) 2>&5
64889 ac_status=$?
64890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64891 (exit $ac_status); }; } &&
64892 { ac_try='test -s conftest.$ac_objext'
64893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64894 (eval $ac_try) 2>&5
64895 ac_status=$?
64896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64897 (exit $ac_status); }; }; then
64898 glibcxx_cv_func_isinf_use=yes
64899 else
64900 echo "$as_me: failed program was:" >&5
64901 sed 's/^/| /' conftest.$ac_ext >&5
64903 glibcxx_cv_func_isinf_use=no
64905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64906 ac_ext=c
64907 ac_cpp='$CPP $CPPFLAGS'
64908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64917 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64919 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64921 for ac_func in isinf
64923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64924 echo "$as_me:$LINENO: checking for $ac_func" >&5
64925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64926 if eval "test \"\${$as_ac_var+set}\" = set"; then
64927 echo $ECHO_N "(cached) $ECHO_C" >&6
64928 else
64929 if test x$gcc_no_link = xyes; then
64930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64932 { (exit 1); exit 1; }; }
64934 cat >conftest.$ac_ext <<_ACEOF
64935 /* confdefs.h. */
64936 _ACEOF
64937 cat confdefs.h >>conftest.$ac_ext
64938 cat >>conftest.$ac_ext <<_ACEOF
64939 /* end confdefs.h. */
64940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64942 #define $ac_func innocuous_$ac_func
64944 /* System header to define __stub macros and hopefully few prototypes,
64945 which can conflict with char $ac_func (); below.
64946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64947 <limits.h> exists even on freestanding compilers. */
64949 #ifdef __STDC__
64950 # include <limits.h>
64951 #else
64952 # include <assert.h>
64953 #endif
64955 #undef $ac_func
64957 /* Override any gcc2 internal prototype to avoid an error. */
64958 #ifdef __cplusplus
64959 extern "C"
64961 #endif
64962 /* We use char because int might match the return type of a gcc2
64963 builtin and then its argument prototype would still apply. */
64964 char $ac_func ();
64965 /* The GNU C library defines this for functions which it implements
64966 to always fail with ENOSYS. Some functions are actually named
64967 something starting with __ and the normal name is an alias. */
64968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64969 choke me
64970 #else
64971 char (*f) () = $ac_func;
64972 #endif
64973 #ifdef __cplusplus
64975 #endif
64978 main ()
64980 return f != $ac_func;
64982 return 0;
64984 _ACEOF
64985 rm -f conftest.$ac_objext conftest$ac_exeext
64986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64987 (eval $ac_link) 2>conftest.er1
64988 ac_status=$?
64989 grep -v '^ *+' conftest.er1 >conftest.err
64990 rm -f conftest.er1
64991 cat conftest.err >&5
64992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64993 (exit $ac_status); } &&
64994 { ac_try='test -z "$ac_c_werror_flag"
64995 || test ! -s conftest.err'
64996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64997 (eval $ac_try) 2>&5
64998 ac_status=$?
64999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65000 (exit $ac_status); }; } &&
65001 { ac_try='test -s conftest$ac_exeext'
65002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65003 (eval $ac_try) 2>&5
65004 ac_status=$?
65005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65006 (exit $ac_status); }; }; then
65007 eval "$as_ac_var=yes"
65008 else
65009 echo "$as_me: failed program was:" >&5
65010 sed 's/^/| /' conftest.$ac_ext >&5
65012 eval "$as_ac_var=no"
65014 rm -f conftest.err conftest.$ac_objext \
65015 conftest$ac_exeext conftest.$ac_ext
65017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65019 if test `eval echo '${'$as_ac_var'}'` = yes; then
65020 cat >>confdefs.h <<_ACEOF
65021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65022 _ACEOF
65025 done
65027 else
65029 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
65030 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
65031 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65032 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
65033 echo $ECHO_N "(cached) $ECHO_C" >&6
65034 else
65038 ac_ext=cc
65039 ac_cpp='$CXXCPP $CPPFLAGS'
65040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65044 cat >conftest.$ac_ext <<_ACEOF
65045 /* confdefs.h. */
65046 _ACEOF
65047 cat confdefs.h >>conftest.$ac_ext
65048 cat >>conftest.$ac_ext <<_ACEOF
65049 /* end confdefs.h. */
65050 #include <math.h>
65051 #ifdef HAVE_IEEEFP_H
65052 #include <ieeefp.h>
65053 #endif
65056 main ()
65058 _isinf(0);
65060 return 0;
65062 _ACEOF
65063 rm -f conftest.$ac_objext
65064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65065 (eval $ac_compile) 2>conftest.er1
65066 ac_status=$?
65067 grep -v '^ *+' conftest.er1 >conftest.err
65068 rm -f conftest.er1
65069 cat conftest.err >&5
65070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65071 (exit $ac_status); } &&
65072 { ac_try='test -z "$ac_cxx_werror_flag"
65073 || test ! -s conftest.err'
65074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65075 (eval $ac_try) 2>&5
65076 ac_status=$?
65077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65078 (exit $ac_status); }; } &&
65079 { ac_try='test -s conftest.$ac_objext'
65080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65081 (eval $ac_try) 2>&5
65082 ac_status=$?
65083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65084 (exit $ac_status); }; }; then
65085 glibcxx_cv_func__isinf_use=yes
65086 else
65087 echo "$as_me: failed program was:" >&5
65088 sed 's/^/| /' conftest.$ac_ext >&5
65090 glibcxx_cv_func__isinf_use=no
65092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65093 ac_ext=c
65094 ac_cpp='$CPP $CPPFLAGS'
65095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
65104 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
65106 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65108 for ac_func in _isinf
65110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65111 echo "$as_me:$LINENO: checking for $ac_func" >&5
65112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65113 if eval "test \"\${$as_ac_var+set}\" = set"; then
65114 echo $ECHO_N "(cached) $ECHO_C" >&6
65115 else
65116 if test x$gcc_no_link = xyes; then
65117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65119 { (exit 1); exit 1; }; }
65121 cat >conftest.$ac_ext <<_ACEOF
65122 /* confdefs.h. */
65123 _ACEOF
65124 cat confdefs.h >>conftest.$ac_ext
65125 cat >>conftest.$ac_ext <<_ACEOF
65126 /* end confdefs.h. */
65127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65129 #define $ac_func innocuous_$ac_func
65131 /* System header to define __stub macros and hopefully few prototypes,
65132 which can conflict with char $ac_func (); below.
65133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65134 <limits.h> exists even on freestanding compilers. */
65136 #ifdef __STDC__
65137 # include <limits.h>
65138 #else
65139 # include <assert.h>
65140 #endif
65142 #undef $ac_func
65144 /* Override any gcc2 internal prototype to avoid an error. */
65145 #ifdef __cplusplus
65146 extern "C"
65148 #endif
65149 /* We use char because int might match the return type of a gcc2
65150 builtin and then its argument prototype would still apply. */
65151 char $ac_func ();
65152 /* The GNU C library defines this for functions which it implements
65153 to always fail with ENOSYS. Some functions are actually named
65154 something starting with __ and the normal name is an alias. */
65155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65156 choke me
65157 #else
65158 char (*f) () = $ac_func;
65159 #endif
65160 #ifdef __cplusplus
65162 #endif
65165 main ()
65167 return f != $ac_func;
65169 return 0;
65171 _ACEOF
65172 rm -f conftest.$ac_objext conftest$ac_exeext
65173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65174 (eval $ac_link) 2>conftest.er1
65175 ac_status=$?
65176 grep -v '^ *+' conftest.er1 >conftest.err
65177 rm -f conftest.er1
65178 cat conftest.err >&5
65179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65180 (exit $ac_status); } &&
65181 { ac_try='test -z "$ac_c_werror_flag"
65182 || test ! -s conftest.err'
65183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65184 (eval $ac_try) 2>&5
65185 ac_status=$?
65186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65187 (exit $ac_status); }; } &&
65188 { ac_try='test -s conftest$ac_exeext'
65189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65190 (eval $ac_try) 2>&5
65191 ac_status=$?
65192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65193 (exit $ac_status); }; }; then
65194 eval "$as_ac_var=yes"
65195 else
65196 echo "$as_me: failed program was:" >&5
65197 sed 's/^/| /' conftest.$ac_ext >&5
65199 eval "$as_ac_var=no"
65201 rm -f conftest.err conftest.$ac_objext \
65202 conftest$ac_exeext conftest.$ac_ext
65204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65206 if test `eval echo '${'$as_ac_var'}'` = yes; then
65207 cat >>confdefs.h <<_ACEOF
65208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65209 _ACEOF
65212 done
65222 echo "$as_me:$LINENO: checking for isnan declaration" >&5
65223 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65224 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65225 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65226 echo $ECHO_N "(cached) $ECHO_C" >&6
65227 else
65231 ac_ext=cc
65232 ac_cpp='$CXXCPP $CPPFLAGS'
65233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65237 cat >conftest.$ac_ext <<_ACEOF
65238 /* confdefs.h. */
65239 _ACEOF
65240 cat confdefs.h >>conftest.$ac_ext
65241 cat >>conftest.$ac_ext <<_ACEOF
65242 /* end confdefs.h. */
65243 #include <math.h>
65244 #ifdef HAVE_IEEEFP_H
65245 #include <ieeefp.h>
65246 #endif
65249 main ()
65251 isnan(0);
65253 return 0;
65255 _ACEOF
65256 rm -f conftest.$ac_objext
65257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65258 (eval $ac_compile) 2>conftest.er1
65259 ac_status=$?
65260 grep -v '^ *+' conftest.er1 >conftest.err
65261 rm -f conftest.er1
65262 cat conftest.err >&5
65263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65264 (exit $ac_status); } &&
65265 { ac_try='test -z "$ac_cxx_werror_flag"
65266 || test ! -s conftest.err'
65267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65268 (eval $ac_try) 2>&5
65269 ac_status=$?
65270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65271 (exit $ac_status); }; } &&
65272 { ac_try='test -s conftest.$ac_objext'
65273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65274 (eval $ac_try) 2>&5
65275 ac_status=$?
65276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65277 (exit $ac_status); }; }; then
65278 glibcxx_cv_func_isnan_use=yes
65279 else
65280 echo "$as_me: failed program was:" >&5
65281 sed 's/^/| /' conftest.$ac_ext >&5
65283 glibcxx_cv_func_isnan_use=no
65285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65286 ac_ext=c
65287 ac_cpp='$CPP $CPPFLAGS'
65288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65297 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65299 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65301 for ac_func in isnan
65303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65304 echo "$as_me:$LINENO: checking for $ac_func" >&5
65305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65306 if eval "test \"\${$as_ac_var+set}\" = set"; then
65307 echo $ECHO_N "(cached) $ECHO_C" >&6
65308 else
65309 if test x$gcc_no_link = xyes; then
65310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65312 { (exit 1); exit 1; }; }
65314 cat >conftest.$ac_ext <<_ACEOF
65315 /* confdefs.h. */
65316 _ACEOF
65317 cat confdefs.h >>conftest.$ac_ext
65318 cat >>conftest.$ac_ext <<_ACEOF
65319 /* end confdefs.h. */
65320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65322 #define $ac_func innocuous_$ac_func
65324 /* System header to define __stub macros and hopefully few prototypes,
65325 which can conflict with char $ac_func (); below.
65326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65327 <limits.h> exists even on freestanding compilers. */
65329 #ifdef __STDC__
65330 # include <limits.h>
65331 #else
65332 # include <assert.h>
65333 #endif
65335 #undef $ac_func
65337 /* Override any gcc2 internal prototype to avoid an error. */
65338 #ifdef __cplusplus
65339 extern "C"
65341 #endif
65342 /* We use char because int might match the return type of a gcc2
65343 builtin and then its argument prototype would still apply. */
65344 char $ac_func ();
65345 /* The GNU C library defines this for functions which it implements
65346 to always fail with ENOSYS. Some functions are actually named
65347 something starting with __ and the normal name is an alias. */
65348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65349 choke me
65350 #else
65351 char (*f) () = $ac_func;
65352 #endif
65353 #ifdef __cplusplus
65355 #endif
65358 main ()
65360 return f != $ac_func;
65362 return 0;
65364 _ACEOF
65365 rm -f conftest.$ac_objext conftest$ac_exeext
65366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65367 (eval $ac_link) 2>conftest.er1
65368 ac_status=$?
65369 grep -v '^ *+' conftest.er1 >conftest.err
65370 rm -f conftest.er1
65371 cat conftest.err >&5
65372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65373 (exit $ac_status); } &&
65374 { ac_try='test -z "$ac_c_werror_flag"
65375 || test ! -s conftest.err'
65376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65377 (eval $ac_try) 2>&5
65378 ac_status=$?
65379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65380 (exit $ac_status); }; } &&
65381 { ac_try='test -s conftest$ac_exeext'
65382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65383 (eval $ac_try) 2>&5
65384 ac_status=$?
65385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65386 (exit $ac_status); }; }; then
65387 eval "$as_ac_var=yes"
65388 else
65389 echo "$as_me: failed program was:" >&5
65390 sed 's/^/| /' conftest.$ac_ext >&5
65392 eval "$as_ac_var=no"
65394 rm -f conftest.err conftest.$ac_objext \
65395 conftest$ac_exeext conftest.$ac_ext
65397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65399 if test `eval echo '${'$as_ac_var'}'` = yes; then
65400 cat >>confdefs.h <<_ACEOF
65401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65402 _ACEOF
65405 done
65407 else
65409 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65410 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65411 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65412 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65413 echo $ECHO_N "(cached) $ECHO_C" >&6
65414 else
65418 ac_ext=cc
65419 ac_cpp='$CXXCPP $CPPFLAGS'
65420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65424 cat >conftest.$ac_ext <<_ACEOF
65425 /* confdefs.h. */
65426 _ACEOF
65427 cat confdefs.h >>conftest.$ac_ext
65428 cat >>conftest.$ac_ext <<_ACEOF
65429 /* end confdefs.h. */
65430 #include <math.h>
65431 #ifdef HAVE_IEEEFP_H
65432 #include <ieeefp.h>
65433 #endif
65436 main ()
65438 _isnan(0);
65440 return 0;
65442 _ACEOF
65443 rm -f conftest.$ac_objext
65444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65445 (eval $ac_compile) 2>conftest.er1
65446 ac_status=$?
65447 grep -v '^ *+' conftest.er1 >conftest.err
65448 rm -f conftest.er1
65449 cat conftest.err >&5
65450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65451 (exit $ac_status); } &&
65452 { ac_try='test -z "$ac_cxx_werror_flag"
65453 || test ! -s conftest.err'
65454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65455 (eval $ac_try) 2>&5
65456 ac_status=$?
65457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65458 (exit $ac_status); }; } &&
65459 { ac_try='test -s conftest.$ac_objext'
65460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65461 (eval $ac_try) 2>&5
65462 ac_status=$?
65463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65464 (exit $ac_status); }; }; then
65465 glibcxx_cv_func__isnan_use=yes
65466 else
65467 echo "$as_me: failed program was:" >&5
65468 sed 's/^/| /' conftest.$ac_ext >&5
65470 glibcxx_cv_func__isnan_use=no
65472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65473 ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
65484 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
65486 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65488 for ac_func in _isnan
65490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65491 echo "$as_me:$LINENO: checking for $ac_func" >&5
65492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65493 if eval "test \"\${$as_ac_var+set}\" = set"; then
65494 echo $ECHO_N "(cached) $ECHO_C" >&6
65495 else
65496 if test x$gcc_no_link = xyes; then
65497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65499 { (exit 1); exit 1; }; }
65501 cat >conftest.$ac_ext <<_ACEOF
65502 /* confdefs.h. */
65503 _ACEOF
65504 cat confdefs.h >>conftest.$ac_ext
65505 cat >>conftest.$ac_ext <<_ACEOF
65506 /* end confdefs.h. */
65507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65509 #define $ac_func innocuous_$ac_func
65511 /* System header to define __stub macros and hopefully few prototypes,
65512 which can conflict with char $ac_func (); below.
65513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65514 <limits.h> exists even on freestanding compilers. */
65516 #ifdef __STDC__
65517 # include <limits.h>
65518 #else
65519 # include <assert.h>
65520 #endif
65522 #undef $ac_func
65524 /* Override any gcc2 internal prototype to avoid an error. */
65525 #ifdef __cplusplus
65526 extern "C"
65528 #endif
65529 /* We use char because int might match the return type of a gcc2
65530 builtin and then its argument prototype would still apply. */
65531 char $ac_func ();
65532 /* The GNU C library defines this for functions which it implements
65533 to always fail with ENOSYS. Some functions are actually named
65534 something starting with __ and the normal name is an alias. */
65535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65536 choke me
65537 #else
65538 char (*f) () = $ac_func;
65539 #endif
65540 #ifdef __cplusplus
65542 #endif
65545 main ()
65547 return f != $ac_func;
65549 return 0;
65551 _ACEOF
65552 rm -f conftest.$ac_objext conftest$ac_exeext
65553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65554 (eval $ac_link) 2>conftest.er1
65555 ac_status=$?
65556 grep -v '^ *+' conftest.er1 >conftest.err
65557 rm -f conftest.er1
65558 cat conftest.err >&5
65559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65560 (exit $ac_status); } &&
65561 { ac_try='test -z "$ac_c_werror_flag"
65562 || test ! -s conftest.err'
65563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65564 (eval $ac_try) 2>&5
65565 ac_status=$?
65566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65567 (exit $ac_status); }; } &&
65568 { ac_try='test -s conftest$ac_exeext'
65569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65570 (eval $ac_try) 2>&5
65571 ac_status=$?
65572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65573 (exit $ac_status); }; }; then
65574 eval "$as_ac_var=yes"
65575 else
65576 echo "$as_me: failed program was:" >&5
65577 sed 's/^/| /' conftest.$ac_ext >&5
65579 eval "$as_ac_var=no"
65581 rm -f conftest.err conftest.$ac_objext \
65582 conftest$ac_exeext conftest.$ac_ext
65584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65586 if test `eval echo '${'$as_ac_var'}'` = yes; then
65587 cat >>confdefs.h <<_ACEOF
65588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65589 _ACEOF
65592 done
65602 echo "$as_me:$LINENO: checking for finite declaration" >&5
65603 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65604 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65605 if test "${glibcxx_cv_func_finite_use+set}" = set; then
65606 echo $ECHO_N "(cached) $ECHO_C" >&6
65607 else
65611 ac_ext=cc
65612 ac_cpp='$CXXCPP $CPPFLAGS'
65613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65617 cat >conftest.$ac_ext <<_ACEOF
65618 /* confdefs.h. */
65619 _ACEOF
65620 cat confdefs.h >>conftest.$ac_ext
65621 cat >>conftest.$ac_ext <<_ACEOF
65622 /* end confdefs.h. */
65623 #include <math.h>
65624 #ifdef HAVE_IEEEFP_H
65625 #include <ieeefp.h>
65626 #endif
65629 main ()
65631 finite(0);
65633 return 0;
65635 _ACEOF
65636 rm -f conftest.$ac_objext
65637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65638 (eval $ac_compile) 2>conftest.er1
65639 ac_status=$?
65640 grep -v '^ *+' conftest.er1 >conftest.err
65641 rm -f conftest.er1
65642 cat conftest.err >&5
65643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65644 (exit $ac_status); } &&
65645 { ac_try='test -z "$ac_cxx_werror_flag"
65646 || test ! -s conftest.err'
65647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65648 (eval $ac_try) 2>&5
65649 ac_status=$?
65650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65651 (exit $ac_status); }; } &&
65652 { ac_try='test -s conftest.$ac_objext'
65653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65654 (eval $ac_try) 2>&5
65655 ac_status=$?
65656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65657 (exit $ac_status); }; }; then
65658 glibcxx_cv_func_finite_use=yes
65659 else
65660 echo "$as_me: failed program was:" >&5
65661 sed 's/^/| /' conftest.$ac_ext >&5
65663 glibcxx_cv_func_finite_use=no
65665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65666 ac_ext=c
65667 ac_cpp='$CPP $CPPFLAGS'
65668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65677 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65679 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65681 for ac_func in finite
65683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65684 echo "$as_me:$LINENO: checking for $ac_func" >&5
65685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65686 if eval "test \"\${$as_ac_var+set}\" = set"; then
65687 echo $ECHO_N "(cached) $ECHO_C" >&6
65688 else
65689 if test x$gcc_no_link = xyes; then
65690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65692 { (exit 1); exit 1; }; }
65694 cat >conftest.$ac_ext <<_ACEOF
65695 /* confdefs.h. */
65696 _ACEOF
65697 cat confdefs.h >>conftest.$ac_ext
65698 cat >>conftest.$ac_ext <<_ACEOF
65699 /* end confdefs.h. */
65700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65702 #define $ac_func innocuous_$ac_func
65704 /* System header to define __stub macros and hopefully few prototypes,
65705 which can conflict with char $ac_func (); below.
65706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65707 <limits.h> exists even on freestanding compilers. */
65709 #ifdef __STDC__
65710 # include <limits.h>
65711 #else
65712 # include <assert.h>
65713 #endif
65715 #undef $ac_func
65717 /* Override any gcc2 internal prototype to avoid an error. */
65718 #ifdef __cplusplus
65719 extern "C"
65721 #endif
65722 /* We use char because int might match the return type of a gcc2
65723 builtin and then its argument prototype would still apply. */
65724 char $ac_func ();
65725 /* The GNU C library defines this for functions which it implements
65726 to always fail with ENOSYS. Some functions are actually named
65727 something starting with __ and the normal name is an alias. */
65728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65729 choke me
65730 #else
65731 char (*f) () = $ac_func;
65732 #endif
65733 #ifdef __cplusplus
65735 #endif
65738 main ()
65740 return f != $ac_func;
65742 return 0;
65744 _ACEOF
65745 rm -f conftest.$ac_objext conftest$ac_exeext
65746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65747 (eval $ac_link) 2>conftest.er1
65748 ac_status=$?
65749 grep -v '^ *+' conftest.er1 >conftest.err
65750 rm -f conftest.er1
65751 cat conftest.err >&5
65752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65753 (exit $ac_status); } &&
65754 { ac_try='test -z "$ac_c_werror_flag"
65755 || test ! -s conftest.err'
65756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65757 (eval $ac_try) 2>&5
65758 ac_status=$?
65759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65760 (exit $ac_status); }; } &&
65761 { ac_try='test -s conftest$ac_exeext'
65762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65763 (eval $ac_try) 2>&5
65764 ac_status=$?
65765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65766 (exit $ac_status); }; }; then
65767 eval "$as_ac_var=yes"
65768 else
65769 echo "$as_me: failed program was:" >&5
65770 sed 's/^/| /' conftest.$ac_ext >&5
65772 eval "$as_ac_var=no"
65774 rm -f conftest.err conftest.$ac_objext \
65775 conftest$ac_exeext conftest.$ac_ext
65777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65779 if test `eval echo '${'$as_ac_var'}'` = yes; then
65780 cat >>confdefs.h <<_ACEOF
65781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65782 _ACEOF
65785 done
65787 else
65789 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65790 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65791 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65792 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65793 echo $ECHO_N "(cached) $ECHO_C" >&6
65794 else
65798 ac_ext=cc
65799 ac_cpp='$CXXCPP $CPPFLAGS'
65800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65804 cat >conftest.$ac_ext <<_ACEOF
65805 /* confdefs.h. */
65806 _ACEOF
65807 cat confdefs.h >>conftest.$ac_ext
65808 cat >>conftest.$ac_ext <<_ACEOF
65809 /* end confdefs.h. */
65810 #include <math.h>
65811 #ifdef HAVE_IEEEFP_H
65812 #include <ieeefp.h>
65813 #endif
65816 main ()
65818 _finite(0);
65820 return 0;
65822 _ACEOF
65823 rm -f conftest.$ac_objext
65824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65825 (eval $ac_compile) 2>conftest.er1
65826 ac_status=$?
65827 grep -v '^ *+' conftest.er1 >conftest.err
65828 rm -f conftest.er1
65829 cat conftest.err >&5
65830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65831 (exit $ac_status); } &&
65832 { ac_try='test -z "$ac_cxx_werror_flag"
65833 || test ! -s conftest.err'
65834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65835 (eval $ac_try) 2>&5
65836 ac_status=$?
65837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65838 (exit $ac_status); }; } &&
65839 { ac_try='test -s conftest.$ac_objext'
65840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65841 (eval $ac_try) 2>&5
65842 ac_status=$?
65843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65844 (exit $ac_status); }; }; then
65845 glibcxx_cv_func__finite_use=yes
65846 else
65847 echo "$as_me: failed program was:" >&5
65848 sed 's/^/| /' conftest.$ac_ext >&5
65850 glibcxx_cv_func__finite_use=no
65852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65853 ac_ext=c
65854 ac_cpp='$CPP $CPPFLAGS'
65855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65864 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65866 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65868 for ac_func in _finite
65870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65871 echo "$as_me:$LINENO: checking for $ac_func" >&5
65872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65873 if eval "test \"\${$as_ac_var+set}\" = set"; then
65874 echo $ECHO_N "(cached) $ECHO_C" >&6
65875 else
65876 if test x$gcc_no_link = xyes; then
65877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65879 { (exit 1); exit 1; }; }
65881 cat >conftest.$ac_ext <<_ACEOF
65882 /* confdefs.h. */
65883 _ACEOF
65884 cat confdefs.h >>conftest.$ac_ext
65885 cat >>conftest.$ac_ext <<_ACEOF
65886 /* end confdefs.h. */
65887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65889 #define $ac_func innocuous_$ac_func
65891 /* System header to define __stub macros and hopefully few prototypes,
65892 which can conflict with char $ac_func (); below.
65893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65894 <limits.h> exists even on freestanding compilers. */
65896 #ifdef __STDC__
65897 # include <limits.h>
65898 #else
65899 # include <assert.h>
65900 #endif
65902 #undef $ac_func
65904 /* Override any gcc2 internal prototype to avoid an error. */
65905 #ifdef __cplusplus
65906 extern "C"
65908 #endif
65909 /* We use char because int might match the return type of a gcc2
65910 builtin and then its argument prototype would still apply. */
65911 char $ac_func ();
65912 /* The GNU C library defines this for functions which it implements
65913 to always fail with ENOSYS. Some functions are actually named
65914 something starting with __ and the normal name is an alias. */
65915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65916 choke me
65917 #else
65918 char (*f) () = $ac_func;
65919 #endif
65920 #ifdef __cplusplus
65922 #endif
65925 main ()
65927 return f != $ac_func;
65929 return 0;
65931 _ACEOF
65932 rm -f conftest.$ac_objext conftest$ac_exeext
65933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65934 (eval $ac_link) 2>conftest.er1
65935 ac_status=$?
65936 grep -v '^ *+' conftest.er1 >conftest.err
65937 rm -f conftest.er1
65938 cat conftest.err >&5
65939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65940 (exit $ac_status); } &&
65941 { ac_try='test -z "$ac_c_werror_flag"
65942 || test ! -s conftest.err'
65943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65944 (eval $ac_try) 2>&5
65945 ac_status=$?
65946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65947 (exit $ac_status); }; } &&
65948 { ac_try='test -s conftest$ac_exeext'
65949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65950 (eval $ac_try) 2>&5
65951 ac_status=$?
65952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65953 (exit $ac_status); }; }; then
65954 eval "$as_ac_var=yes"
65955 else
65956 echo "$as_me: failed program was:" >&5
65957 sed 's/^/| /' conftest.$ac_ext >&5
65959 eval "$as_ac_var=no"
65961 rm -f conftest.err conftest.$ac_objext \
65962 conftest$ac_exeext conftest.$ac_ext
65964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65966 if test `eval echo '${'$as_ac_var'}'` = yes; then
65967 cat >>confdefs.h <<_ACEOF
65968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65969 _ACEOF
65972 done
65982 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65983 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65984 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65985 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65986 echo $ECHO_N "(cached) $ECHO_C" >&6
65987 else
65991 ac_ext=cc
65992 ac_cpp='$CXXCPP $CPPFLAGS'
65993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65997 cat >conftest.$ac_ext <<_ACEOF
65998 /* confdefs.h. */
65999 _ACEOF
66000 cat confdefs.h >>conftest.$ac_ext
66001 cat >>conftest.$ac_ext <<_ACEOF
66002 /* end confdefs.h. */
66003 #include <math.h>
66005 main ()
66007 copysign(0, 0);
66009 return 0;
66011 _ACEOF
66012 rm -f conftest.$ac_objext
66013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66014 (eval $ac_compile) 2>conftest.er1
66015 ac_status=$?
66016 grep -v '^ *+' conftest.er1 >conftest.err
66017 rm -f conftest.er1
66018 cat conftest.err >&5
66019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66020 (exit $ac_status); } &&
66021 { ac_try='test -z "$ac_cxx_werror_flag"
66022 || test ! -s conftest.err'
66023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66024 (eval $ac_try) 2>&5
66025 ac_status=$?
66026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66027 (exit $ac_status); }; } &&
66028 { ac_try='test -s conftest.$ac_objext'
66029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66030 (eval $ac_try) 2>&5
66031 ac_status=$?
66032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033 (exit $ac_status); }; }; then
66034 glibcxx_cv_func_copysign_use=yes
66035 else
66036 echo "$as_me: failed program was:" >&5
66037 sed 's/^/| /' conftest.$ac_ext >&5
66039 glibcxx_cv_func_copysign_use=no
66041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66042 ac_ext=c
66043 ac_cpp='$CPP $CPPFLAGS'
66044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
66053 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
66055 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
66057 for ac_func in copysign
66059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66060 echo "$as_me:$LINENO: checking for $ac_func" >&5
66061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66062 if eval "test \"\${$as_ac_var+set}\" = set"; then
66063 echo $ECHO_N "(cached) $ECHO_C" >&6
66064 else
66065 if test x$gcc_no_link = xyes; then
66066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66068 { (exit 1); exit 1; }; }
66070 cat >conftest.$ac_ext <<_ACEOF
66071 /* confdefs.h. */
66072 _ACEOF
66073 cat confdefs.h >>conftest.$ac_ext
66074 cat >>conftest.$ac_ext <<_ACEOF
66075 /* end confdefs.h. */
66076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66078 #define $ac_func innocuous_$ac_func
66080 /* System header to define __stub macros and hopefully few prototypes,
66081 which can conflict with char $ac_func (); below.
66082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66083 <limits.h> exists even on freestanding compilers. */
66085 #ifdef __STDC__
66086 # include <limits.h>
66087 #else
66088 # include <assert.h>
66089 #endif
66091 #undef $ac_func
66093 /* Override any gcc2 internal prototype to avoid an error. */
66094 #ifdef __cplusplus
66095 extern "C"
66097 #endif
66098 /* We use char because int might match the return type of a gcc2
66099 builtin and then its argument prototype would still apply. */
66100 char $ac_func ();
66101 /* The GNU C library defines this for functions which it implements
66102 to always fail with ENOSYS. Some functions are actually named
66103 something starting with __ and the normal name is an alias. */
66104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66105 choke me
66106 #else
66107 char (*f) () = $ac_func;
66108 #endif
66109 #ifdef __cplusplus
66111 #endif
66114 main ()
66116 return f != $ac_func;
66118 return 0;
66120 _ACEOF
66121 rm -f conftest.$ac_objext conftest$ac_exeext
66122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66123 (eval $ac_link) 2>conftest.er1
66124 ac_status=$?
66125 grep -v '^ *+' conftest.er1 >conftest.err
66126 rm -f conftest.er1
66127 cat conftest.err >&5
66128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66129 (exit $ac_status); } &&
66130 { ac_try='test -z "$ac_c_werror_flag"
66131 || test ! -s conftest.err'
66132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66133 (eval $ac_try) 2>&5
66134 ac_status=$?
66135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66136 (exit $ac_status); }; } &&
66137 { ac_try='test -s conftest$ac_exeext'
66138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66139 (eval $ac_try) 2>&5
66140 ac_status=$?
66141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66142 (exit $ac_status); }; }; then
66143 eval "$as_ac_var=yes"
66144 else
66145 echo "$as_me: failed program was:" >&5
66146 sed 's/^/| /' conftest.$ac_ext >&5
66148 eval "$as_ac_var=no"
66150 rm -f conftest.err conftest.$ac_objext \
66151 conftest$ac_exeext conftest.$ac_ext
66153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66155 if test `eval echo '${'$as_ac_var'}'` = yes; then
66156 cat >>confdefs.h <<_ACEOF
66157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66158 _ACEOF
66161 done
66163 else
66165 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66166 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66167 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66168 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66169 echo $ECHO_N "(cached) $ECHO_C" >&6
66170 else
66174 ac_ext=cc
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66180 cat >conftest.$ac_ext <<_ACEOF
66181 /* confdefs.h. */
66182 _ACEOF
66183 cat confdefs.h >>conftest.$ac_ext
66184 cat >>conftest.$ac_ext <<_ACEOF
66185 /* end confdefs.h. */
66186 #include <math.h>
66188 main ()
66190 _copysign(0, 0);
66192 return 0;
66194 _ACEOF
66195 rm -f conftest.$ac_objext
66196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66197 (eval $ac_compile) 2>conftest.er1
66198 ac_status=$?
66199 grep -v '^ *+' conftest.er1 >conftest.err
66200 rm -f conftest.er1
66201 cat conftest.err >&5
66202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66203 (exit $ac_status); } &&
66204 { ac_try='test -z "$ac_cxx_werror_flag"
66205 || test ! -s conftest.err'
66206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66207 (eval $ac_try) 2>&5
66208 ac_status=$?
66209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66210 (exit $ac_status); }; } &&
66211 { ac_try='test -s conftest.$ac_objext'
66212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66213 (eval $ac_try) 2>&5
66214 ac_status=$?
66215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66216 (exit $ac_status); }; }; then
66217 glibcxx_cv_func__copysign_use=yes
66218 else
66219 echo "$as_me: failed program was:" >&5
66220 sed 's/^/| /' conftest.$ac_ext >&5
66222 glibcxx_cv_func__copysign_use=no
66224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66225 ac_ext=c
66226 ac_cpp='$CPP $CPPFLAGS'
66227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66236 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66238 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66240 for ac_func in _copysign
66242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66243 echo "$as_me:$LINENO: checking for $ac_func" >&5
66244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66245 if eval "test \"\${$as_ac_var+set}\" = set"; then
66246 echo $ECHO_N "(cached) $ECHO_C" >&6
66247 else
66248 if test x$gcc_no_link = xyes; then
66249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66251 { (exit 1); exit 1; }; }
66253 cat >conftest.$ac_ext <<_ACEOF
66254 /* confdefs.h. */
66255 _ACEOF
66256 cat confdefs.h >>conftest.$ac_ext
66257 cat >>conftest.$ac_ext <<_ACEOF
66258 /* end confdefs.h. */
66259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66261 #define $ac_func innocuous_$ac_func
66263 /* System header to define __stub macros and hopefully few prototypes,
66264 which can conflict with char $ac_func (); below.
66265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66266 <limits.h> exists even on freestanding compilers. */
66268 #ifdef __STDC__
66269 # include <limits.h>
66270 #else
66271 # include <assert.h>
66272 #endif
66274 #undef $ac_func
66276 /* Override any gcc2 internal prototype to avoid an error. */
66277 #ifdef __cplusplus
66278 extern "C"
66280 #endif
66281 /* We use char because int might match the return type of a gcc2
66282 builtin and then its argument prototype would still apply. */
66283 char $ac_func ();
66284 /* The GNU C library defines this for functions which it implements
66285 to always fail with ENOSYS. Some functions are actually named
66286 something starting with __ and the normal name is an alias. */
66287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66288 choke me
66289 #else
66290 char (*f) () = $ac_func;
66291 #endif
66292 #ifdef __cplusplus
66294 #endif
66297 main ()
66299 return f != $ac_func;
66301 return 0;
66303 _ACEOF
66304 rm -f conftest.$ac_objext conftest$ac_exeext
66305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66306 (eval $ac_link) 2>conftest.er1
66307 ac_status=$?
66308 grep -v '^ *+' conftest.er1 >conftest.err
66309 rm -f conftest.er1
66310 cat conftest.err >&5
66311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66312 (exit $ac_status); } &&
66313 { ac_try='test -z "$ac_c_werror_flag"
66314 || test ! -s conftest.err'
66315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66316 (eval $ac_try) 2>&5
66317 ac_status=$?
66318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66319 (exit $ac_status); }; } &&
66320 { ac_try='test -s conftest$ac_exeext'
66321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66322 (eval $ac_try) 2>&5
66323 ac_status=$?
66324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66325 (exit $ac_status); }; }; then
66326 eval "$as_ac_var=yes"
66327 else
66328 echo "$as_me: failed program was:" >&5
66329 sed 's/^/| /' conftest.$ac_ext >&5
66331 eval "$as_ac_var=no"
66333 rm -f conftest.err conftest.$ac_objext \
66334 conftest$ac_exeext conftest.$ac_ext
66336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66338 if test `eval echo '${'$as_ac_var'}'` = yes; then
66339 cat >>confdefs.h <<_ACEOF
66340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66341 _ACEOF
66344 done
66354 echo "$as_me:$LINENO: checking for sincos declaration" >&5
66355 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66356 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66357 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66358 echo $ECHO_N "(cached) $ECHO_C" >&6
66359 else
66363 ac_ext=cc
66364 ac_cpp='$CXXCPP $CPPFLAGS'
66365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66369 cat >conftest.$ac_ext <<_ACEOF
66370 /* confdefs.h. */
66371 _ACEOF
66372 cat confdefs.h >>conftest.$ac_ext
66373 cat >>conftest.$ac_ext <<_ACEOF
66374 /* end confdefs.h. */
66375 #include <math.h>
66377 main ()
66379 sincos(0, 0, 0);
66381 return 0;
66383 _ACEOF
66384 rm -f conftest.$ac_objext
66385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66386 (eval $ac_compile) 2>conftest.er1
66387 ac_status=$?
66388 grep -v '^ *+' conftest.er1 >conftest.err
66389 rm -f conftest.er1
66390 cat conftest.err >&5
66391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66392 (exit $ac_status); } &&
66393 { ac_try='test -z "$ac_cxx_werror_flag"
66394 || test ! -s conftest.err'
66395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66396 (eval $ac_try) 2>&5
66397 ac_status=$?
66398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66399 (exit $ac_status); }; } &&
66400 { ac_try='test -s conftest.$ac_objext'
66401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66402 (eval $ac_try) 2>&5
66403 ac_status=$?
66404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66405 (exit $ac_status); }; }; then
66406 glibcxx_cv_func_sincos_use=yes
66407 else
66408 echo "$as_me: failed program was:" >&5
66409 sed 's/^/| /' conftest.$ac_ext >&5
66411 glibcxx_cv_func_sincos_use=no
66413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66414 ac_ext=c
66415 ac_cpp='$CPP $CPPFLAGS'
66416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66425 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66427 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66429 for ac_func in sincos
66431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66432 echo "$as_me:$LINENO: checking for $ac_func" >&5
66433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66434 if eval "test \"\${$as_ac_var+set}\" = set"; then
66435 echo $ECHO_N "(cached) $ECHO_C" >&6
66436 else
66437 if test x$gcc_no_link = xyes; then
66438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66440 { (exit 1); exit 1; }; }
66442 cat >conftest.$ac_ext <<_ACEOF
66443 /* confdefs.h. */
66444 _ACEOF
66445 cat confdefs.h >>conftest.$ac_ext
66446 cat >>conftest.$ac_ext <<_ACEOF
66447 /* end confdefs.h. */
66448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66450 #define $ac_func innocuous_$ac_func
66452 /* System header to define __stub macros and hopefully few prototypes,
66453 which can conflict with char $ac_func (); below.
66454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66455 <limits.h> exists even on freestanding compilers. */
66457 #ifdef __STDC__
66458 # include <limits.h>
66459 #else
66460 # include <assert.h>
66461 #endif
66463 #undef $ac_func
66465 /* Override any gcc2 internal prototype to avoid an error. */
66466 #ifdef __cplusplus
66467 extern "C"
66469 #endif
66470 /* We use char because int might match the return type of a gcc2
66471 builtin and then its argument prototype would still apply. */
66472 char $ac_func ();
66473 /* The GNU C library defines this for functions which it implements
66474 to always fail with ENOSYS. Some functions are actually named
66475 something starting with __ and the normal name is an alias. */
66476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66477 choke me
66478 #else
66479 char (*f) () = $ac_func;
66480 #endif
66481 #ifdef __cplusplus
66483 #endif
66486 main ()
66488 return f != $ac_func;
66490 return 0;
66492 _ACEOF
66493 rm -f conftest.$ac_objext conftest$ac_exeext
66494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66495 (eval $ac_link) 2>conftest.er1
66496 ac_status=$?
66497 grep -v '^ *+' conftest.er1 >conftest.err
66498 rm -f conftest.er1
66499 cat conftest.err >&5
66500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66501 (exit $ac_status); } &&
66502 { ac_try='test -z "$ac_c_werror_flag"
66503 || test ! -s conftest.err'
66504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66505 (eval $ac_try) 2>&5
66506 ac_status=$?
66507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66508 (exit $ac_status); }; } &&
66509 { ac_try='test -s conftest$ac_exeext'
66510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66511 (eval $ac_try) 2>&5
66512 ac_status=$?
66513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66514 (exit $ac_status); }; }; then
66515 eval "$as_ac_var=yes"
66516 else
66517 echo "$as_me: failed program was:" >&5
66518 sed 's/^/| /' conftest.$ac_ext >&5
66520 eval "$as_ac_var=no"
66522 rm -f conftest.err conftest.$ac_objext \
66523 conftest$ac_exeext conftest.$ac_ext
66525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66527 if test `eval echo '${'$as_ac_var'}'` = yes; then
66528 cat >>confdefs.h <<_ACEOF
66529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66530 _ACEOF
66533 done
66535 else
66537 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
66538 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
66539 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66540 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
66541 echo $ECHO_N "(cached) $ECHO_C" >&6
66542 else
66546 ac_ext=cc
66547 ac_cpp='$CXXCPP $CPPFLAGS'
66548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66552 cat >conftest.$ac_ext <<_ACEOF
66553 /* confdefs.h. */
66554 _ACEOF
66555 cat confdefs.h >>conftest.$ac_ext
66556 cat >>conftest.$ac_ext <<_ACEOF
66557 /* end confdefs.h. */
66558 #include <math.h>
66560 main ()
66562 _sincos(0, 0, 0);
66564 return 0;
66566 _ACEOF
66567 rm -f conftest.$ac_objext
66568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66569 (eval $ac_compile) 2>conftest.er1
66570 ac_status=$?
66571 grep -v '^ *+' conftest.er1 >conftest.err
66572 rm -f conftest.er1
66573 cat conftest.err >&5
66574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66575 (exit $ac_status); } &&
66576 { ac_try='test -z "$ac_cxx_werror_flag"
66577 || test ! -s conftest.err'
66578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66579 (eval $ac_try) 2>&5
66580 ac_status=$?
66581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66582 (exit $ac_status); }; } &&
66583 { ac_try='test -s conftest.$ac_objext'
66584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66585 (eval $ac_try) 2>&5
66586 ac_status=$?
66587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66588 (exit $ac_status); }; }; then
66589 glibcxx_cv_func__sincos_use=yes
66590 else
66591 echo "$as_me: failed program was:" >&5
66592 sed 's/^/| /' conftest.$ac_ext >&5
66594 glibcxx_cv_func__sincos_use=no
66596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66597 ac_ext=c
66598 ac_cpp='$CPP $CPPFLAGS'
66599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66608 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66610 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66612 for ac_func in _sincos
66614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66615 echo "$as_me:$LINENO: checking for $ac_func" >&5
66616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66617 if eval "test \"\${$as_ac_var+set}\" = set"; then
66618 echo $ECHO_N "(cached) $ECHO_C" >&6
66619 else
66620 if test x$gcc_no_link = xyes; then
66621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66623 { (exit 1); exit 1; }; }
66625 cat >conftest.$ac_ext <<_ACEOF
66626 /* confdefs.h. */
66627 _ACEOF
66628 cat confdefs.h >>conftest.$ac_ext
66629 cat >>conftest.$ac_ext <<_ACEOF
66630 /* end confdefs.h. */
66631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66633 #define $ac_func innocuous_$ac_func
66635 /* System header to define __stub macros and hopefully few prototypes,
66636 which can conflict with char $ac_func (); below.
66637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66638 <limits.h> exists even on freestanding compilers. */
66640 #ifdef __STDC__
66641 # include <limits.h>
66642 #else
66643 # include <assert.h>
66644 #endif
66646 #undef $ac_func
66648 /* Override any gcc2 internal prototype to avoid an error. */
66649 #ifdef __cplusplus
66650 extern "C"
66652 #endif
66653 /* We use char because int might match the return type of a gcc2
66654 builtin and then its argument prototype would still apply. */
66655 char $ac_func ();
66656 /* The GNU C library defines this for functions which it implements
66657 to always fail with ENOSYS. Some functions are actually named
66658 something starting with __ and the normal name is an alias. */
66659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66660 choke me
66661 #else
66662 char (*f) () = $ac_func;
66663 #endif
66664 #ifdef __cplusplus
66666 #endif
66669 main ()
66671 return f != $ac_func;
66673 return 0;
66675 _ACEOF
66676 rm -f conftest.$ac_objext conftest$ac_exeext
66677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66678 (eval $ac_link) 2>conftest.er1
66679 ac_status=$?
66680 grep -v '^ *+' conftest.er1 >conftest.err
66681 rm -f conftest.er1
66682 cat conftest.err >&5
66683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66684 (exit $ac_status); } &&
66685 { ac_try='test -z "$ac_c_werror_flag"
66686 || test ! -s conftest.err'
66687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66688 (eval $ac_try) 2>&5
66689 ac_status=$?
66690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66691 (exit $ac_status); }; } &&
66692 { ac_try='test -s conftest$ac_exeext'
66693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66694 (eval $ac_try) 2>&5
66695 ac_status=$?
66696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66697 (exit $ac_status); }; }; then
66698 eval "$as_ac_var=yes"
66699 else
66700 echo "$as_me: failed program was:" >&5
66701 sed 's/^/| /' conftest.$ac_ext >&5
66703 eval "$as_ac_var=no"
66705 rm -f conftest.err conftest.$ac_objext \
66706 conftest$ac_exeext conftest.$ac_ext
66708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66710 if test `eval echo '${'$as_ac_var'}'` = yes; then
66711 cat >>confdefs.h <<_ACEOF
66712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66713 _ACEOF
66716 done
66726 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66727 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66728 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66729 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66730 echo $ECHO_N "(cached) $ECHO_C" >&6
66731 else
66735 ac_ext=cc
66736 ac_cpp='$CXXCPP $CPPFLAGS'
66737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66741 cat >conftest.$ac_ext <<_ACEOF
66742 /* confdefs.h. */
66743 _ACEOF
66744 cat confdefs.h >>conftest.$ac_ext
66745 cat >>conftest.$ac_ext <<_ACEOF
66746 /* end confdefs.h. */
66747 #include <math.h>
66748 #ifdef HAVE_IEEEFP_H
66749 #include <ieeefp.h>
66750 #endif
66753 main ()
66755 fpclass(0);
66757 return 0;
66759 _ACEOF
66760 rm -f conftest.$ac_objext
66761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66762 (eval $ac_compile) 2>conftest.er1
66763 ac_status=$?
66764 grep -v '^ *+' conftest.er1 >conftest.err
66765 rm -f conftest.er1
66766 cat conftest.err >&5
66767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66768 (exit $ac_status); } &&
66769 { ac_try='test -z "$ac_cxx_werror_flag"
66770 || test ! -s conftest.err'
66771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66772 (eval $ac_try) 2>&5
66773 ac_status=$?
66774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66775 (exit $ac_status); }; } &&
66776 { ac_try='test -s conftest.$ac_objext'
66777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66778 (eval $ac_try) 2>&5
66779 ac_status=$?
66780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781 (exit $ac_status); }; }; then
66782 glibcxx_cv_func_fpclass_use=yes
66783 else
66784 echo "$as_me: failed program was:" >&5
66785 sed 's/^/| /' conftest.$ac_ext >&5
66787 glibcxx_cv_func_fpclass_use=no
66789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66790 ac_ext=c
66791 ac_cpp='$CPP $CPPFLAGS'
66792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66800 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66801 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66803 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66805 for ac_func in fpclass
66807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66808 echo "$as_me:$LINENO: checking for $ac_func" >&5
66809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66810 if eval "test \"\${$as_ac_var+set}\" = set"; then
66811 echo $ECHO_N "(cached) $ECHO_C" >&6
66812 else
66813 if test x$gcc_no_link = xyes; then
66814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66816 { (exit 1); exit 1; }; }
66818 cat >conftest.$ac_ext <<_ACEOF
66819 /* confdefs.h. */
66820 _ACEOF
66821 cat confdefs.h >>conftest.$ac_ext
66822 cat >>conftest.$ac_ext <<_ACEOF
66823 /* end confdefs.h. */
66824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66826 #define $ac_func innocuous_$ac_func
66828 /* System header to define __stub macros and hopefully few prototypes,
66829 which can conflict with char $ac_func (); below.
66830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66831 <limits.h> exists even on freestanding compilers. */
66833 #ifdef __STDC__
66834 # include <limits.h>
66835 #else
66836 # include <assert.h>
66837 #endif
66839 #undef $ac_func
66841 /* Override any gcc2 internal prototype to avoid an error. */
66842 #ifdef __cplusplus
66843 extern "C"
66845 #endif
66846 /* We use char because int might match the return type of a gcc2
66847 builtin and then its argument prototype would still apply. */
66848 char $ac_func ();
66849 /* The GNU C library defines this for functions which it implements
66850 to always fail with ENOSYS. Some functions are actually named
66851 something starting with __ and the normal name is an alias. */
66852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66853 choke me
66854 #else
66855 char (*f) () = $ac_func;
66856 #endif
66857 #ifdef __cplusplus
66859 #endif
66862 main ()
66864 return f != $ac_func;
66866 return 0;
66868 _ACEOF
66869 rm -f conftest.$ac_objext conftest$ac_exeext
66870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66871 (eval $ac_link) 2>conftest.er1
66872 ac_status=$?
66873 grep -v '^ *+' conftest.er1 >conftest.err
66874 rm -f conftest.er1
66875 cat conftest.err >&5
66876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66877 (exit $ac_status); } &&
66878 { ac_try='test -z "$ac_c_werror_flag"
66879 || test ! -s conftest.err'
66880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66881 (eval $ac_try) 2>&5
66882 ac_status=$?
66883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66884 (exit $ac_status); }; } &&
66885 { ac_try='test -s conftest$ac_exeext'
66886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66887 (eval $ac_try) 2>&5
66888 ac_status=$?
66889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66890 (exit $ac_status); }; }; then
66891 eval "$as_ac_var=yes"
66892 else
66893 echo "$as_me: failed program was:" >&5
66894 sed 's/^/| /' conftest.$ac_ext >&5
66896 eval "$as_ac_var=no"
66898 rm -f conftest.err conftest.$ac_objext \
66899 conftest$ac_exeext conftest.$ac_ext
66901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66903 if test `eval echo '${'$as_ac_var'}'` = yes; then
66904 cat >>confdefs.h <<_ACEOF
66905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66906 _ACEOF
66909 done
66911 else
66913 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66914 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66915 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66916 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66917 echo $ECHO_N "(cached) $ECHO_C" >&6
66918 else
66922 ac_ext=cc
66923 ac_cpp='$CXXCPP $CPPFLAGS'
66924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66928 cat >conftest.$ac_ext <<_ACEOF
66929 /* confdefs.h. */
66930 _ACEOF
66931 cat confdefs.h >>conftest.$ac_ext
66932 cat >>conftest.$ac_ext <<_ACEOF
66933 /* end confdefs.h. */
66934 #include <math.h>
66935 #ifdef HAVE_IEEEFP_H
66936 #include <ieeefp.h>
66937 #endif
66940 main ()
66942 _fpclass(0);
66944 return 0;
66946 _ACEOF
66947 rm -f conftest.$ac_objext
66948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66949 (eval $ac_compile) 2>conftest.er1
66950 ac_status=$?
66951 grep -v '^ *+' conftest.er1 >conftest.err
66952 rm -f conftest.er1
66953 cat conftest.err >&5
66954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66955 (exit $ac_status); } &&
66956 { ac_try='test -z "$ac_cxx_werror_flag"
66957 || test ! -s conftest.err'
66958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66959 (eval $ac_try) 2>&5
66960 ac_status=$?
66961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66962 (exit $ac_status); }; } &&
66963 { ac_try='test -s conftest.$ac_objext'
66964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66965 (eval $ac_try) 2>&5
66966 ac_status=$?
66967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66968 (exit $ac_status); }; }; then
66969 glibcxx_cv_func__fpclass_use=yes
66970 else
66971 echo "$as_me: failed program was:" >&5
66972 sed 's/^/| /' conftest.$ac_ext >&5
66974 glibcxx_cv_func__fpclass_use=no
66976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66977 ac_ext=c
66978 ac_cpp='$CPP $CPPFLAGS'
66979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66988 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66990 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66992 for ac_func in _fpclass
66994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66995 echo "$as_me:$LINENO: checking for $ac_func" >&5
66996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66997 if eval "test \"\${$as_ac_var+set}\" = set"; then
66998 echo $ECHO_N "(cached) $ECHO_C" >&6
66999 else
67000 if test x$gcc_no_link = xyes; then
67001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67003 { (exit 1); exit 1; }; }
67005 cat >conftest.$ac_ext <<_ACEOF
67006 /* confdefs.h. */
67007 _ACEOF
67008 cat confdefs.h >>conftest.$ac_ext
67009 cat >>conftest.$ac_ext <<_ACEOF
67010 /* end confdefs.h. */
67011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67013 #define $ac_func innocuous_$ac_func
67015 /* System header to define __stub macros and hopefully few prototypes,
67016 which can conflict with char $ac_func (); below.
67017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67018 <limits.h> exists even on freestanding compilers. */
67020 #ifdef __STDC__
67021 # include <limits.h>
67022 #else
67023 # include <assert.h>
67024 #endif
67026 #undef $ac_func
67028 /* Override any gcc2 internal prototype to avoid an error. */
67029 #ifdef __cplusplus
67030 extern "C"
67032 #endif
67033 /* We use char because int might match the return type of a gcc2
67034 builtin and then its argument prototype would still apply. */
67035 char $ac_func ();
67036 /* The GNU C library defines this for functions which it implements
67037 to always fail with ENOSYS. Some functions are actually named
67038 something starting with __ and the normal name is an alias. */
67039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67040 choke me
67041 #else
67042 char (*f) () = $ac_func;
67043 #endif
67044 #ifdef __cplusplus
67046 #endif
67049 main ()
67051 return f != $ac_func;
67053 return 0;
67055 _ACEOF
67056 rm -f conftest.$ac_objext conftest$ac_exeext
67057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67058 (eval $ac_link) 2>conftest.er1
67059 ac_status=$?
67060 grep -v '^ *+' conftest.er1 >conftest.err
67061 rm -f conftest.er1
67062 cat conftest.err >&5
67063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67064 (exit $ac_status); } &&
67065 { ac_try='test -z "$ac_c_werror_flag"
67066 || test ! -s conftest.err'
67067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67068 (eval $ac_try) 2>&5
67069 ac_status=$?
67070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67071 (exit $ac_status); }; } &&
67072 { ac_try='test -s conftest$ac_exeext'
67073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67074 (eval $ac_try) 2>&5
67075 ac_status=$?
67076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67077 (exit $ac_status); }; }; then
67078 eval "$as_ac_var=yes"
67079 else
67080 echo "$as_me: failed program was:" >&5
67081 sed 's/^/| /' conftest.$ac_ext >&5
67083 eval "$as_ac_var=no"
67085 rm -f conftest.err conftest.$ac_objext \
67086 conftest$ac_exeext conftest.$ac_ext
67088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67090 if test `eval echo '${'$as_ac_var'}'` = yes; then
67091 cat >>confdefs.h <<_ACEOF
67092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67093 _ACEOF
67096 done
67106 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
67107 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
67108 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67109 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
67110 echo $ECHO_N "(cached) $ECHO_C" >&6
67111 else
67115 ac_ext=cc
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67121 cat >conftest.$ac_ext <<_ACEOF
67122 /* confdefs.h. */
67123 _ACEOF
67124 cat confdefs.h >>conftest.$ac_ext
67125 cat >>conftest.$ac_ext <<_ACEOF
67126 /* end confdefs.h. */
67127 #include <math.h>
67128 #ifdef HAVE_IEEEFP_H
67129 #include <ieeefp.h>
67130 #endif
67133 main ()
67135 qfpclass(0);
67137 return 0;
67139 _ACEOF
67140 rm -f conftest.$ac_objext
67141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67142 (eval $ac_compile) 2>conftest.er1
67143 ac_status=$?
67144 grep -v '^ *+' conftest.er1 >conftest.err
67145 rm -f conftest.er1
67146 cat conftest.err >&5
67147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67148 (exit $ac_status); } &&
67149 { ac_try='test -z "$ac_cxx_werror_flag"
67150 || test ! -s conftest.err'
67151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67152 (eval $ac_try) 2>&5
67153 ac_status=$?
67154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67155 (exit $ac_status); }; } &&
67156 { ac_try='test -s conftest.$ac_objext'
67157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67158 (eval $ac_try) 2>&5
67159 ac_status=$?
67160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67161 (exit $ac_status); }; }; then
67162 glibcxx_cv_func_qfpclass_use=yes
67163 else
67164 echo "$as_me: failed program was:" >&5
67165 sed 's/^/| /' conftest.$ac_ext >&5
67167 glibcxx_cv_func_qfpclass_use=no
67169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67170 ac_ext=c
67171 ac_cpp='$CPP $CPPFLAGS'
67172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67181 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67183 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67185 for ac_func in qfpclass
67187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67188 echo "$as_me:$LINENO: checking for $ac_func" >&5
67189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67190 if eval "test \"\${$as_ac_var+set}\" = set"; then
67191 echo $ECHO_N "(cached) $ECHO_C" >&6
67192 else
67193 if test x$gcc_no_link = xyes; then
67194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67196 { (exit 1); exit 1; }; }
67198 cat >conftest.$ac_ext <<_ACEOF
67199 /* confdefs.h. */
67200 _ACEOF
67201 cat confdefs.h >>conftest.$ac_ext
67202 cat >>conftest.$ac_ext <<_ACEOF
67203 /* end confdefs.h. */
67204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67206 #define $ac_func innocuous_$ac_func
67208 /* System header to define __stub macros and hopefully few prototypes,
67209 which can conflict with char $ac_func (); below.
67210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67211 <limits.h> exists even on freestanding compilers. */
67213 #ifdef __STDC__
67214 # include <limits.h>
67215 #else
67216 # include <assert.h>
67217 #endif
67219 #undef $ac_func
67221 /* Override any gcc2 internal prototype to avoid an error. */
67222 #ifdef __cplusplus
67223 extern "C"
67225 #endif
67226 /* We use char because int might match the return type of a gcc2
67227 builtin and then its argument prototype would still apply. */
67228 char $ac_func ();
67229 /* The GNU C library defines this for functions which it implements
67230 to always fail with ENOSYS. Some functions are actually named
67231 something starting with __ and the normal name is an alias. */
67232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67233 choke me
67234 #else
67235 char (*f) () = $ac_func;
67236 #endif
67237 #ifdef __cplusplus
67239 #endif
67242 main ()
67244 return f != $ac_func;
67246 return 0;
67248 _ACEOF
67249 rm -f conftest.$ac_objext conftest$ac_exeext
67250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67251 (eval $ac_link) 2>conftest.er1
67252 ac_status=$?
67253 grep -v '^ *+' conftest.er1 >conftest.err
67254 rm -f conftest.er1
67255 cat conftest.err >&5
67256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67257 (exit $ac_status); } &&
67258 { ac_try='test -z "$ac_c_werror_flag"
67259 || test ! -s conftest.err'
67260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67261 (eval $ac_try) 2>&5
67262 ac_status=$?
67263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67264 (exit $ac_status); }; } &&
67265 { ac_try='test -s conftest$ac_exeext'
67266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67267 (eval $ac_try) 2>&5
67268 ac_status=$?
67269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67270 (exit $ac_status); }; }; then
67271 eval "$as_ac_var=yes"
67272 else
67273 echo "$as_me: failed program was:" >&5
67274 sed 's/^/| /' conftest.$ac_ext >&5
67276 eval "$as_ac_var=no"
67278 rm -f conftest.err conftest.$ac_objext \
67279 conftest$ac_exeext conftest.$ac_ext
67281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67283 if test `eval echo '${'$as_ac_var'}'` = yes; then
67284 cat >>confdefs.h <<_ACEOF
67285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67286 _ACEOF
67289 done
67291 else
67293 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67294 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67295 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67296 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67297 echo $ECHO_N "(cached) $ECHO_C" >&6
67298 else
67302 ac_ext=cc
67303 ac_cpp='$CXXCPP $CPPFLAGS'
67304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67308 cat >conftest.$ac_ext <<_ACEOF
67309 /* confdefs.h. */
67310 _ACEOF
67311 cat confdefs.h >>conftest.$ac_ext
67312 cat >>conftest.$ac_ext <<_ACEOF
67313 /* end confdefs.h. */
67314 #include <math.h>
67315 #ifdef HAVE_IEEEFP_H
67316 #include <ieeefp.h>
67317 #endif
67320 main ()
67322 _qfpclass(0);
67324 return 0;
67326 _ACEOF
67327 rm -f conftest.$ac_objext
67328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67329 (eval $ac_compile) 2>conftest.er1
67330 ac_status=$?
67331 grep -v '^ *+' conftest.er1 >conftest.err
67332 rm -f conftest.er1
67333 cat conftest.err >&5
67334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67335 (exit $ac_status); } &&
67336 { ac_try='test -z "$ac_cxx_werror_flag"
67337 || test ! -s conftest.err'
67338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67339 (eval $ac_try) 2>&5
67340 ac_status=$?
67341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67342 (exit $ac_status); }; } &&
67343 { ac_try='test -s conftest.$ac_objext'
67344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67345 (eval $ac_try) 2>&5
67346 ac_status=$?
67347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67348 (exit $ac_status); }; }; then
67349 glibcxx_cv_func__qfpclass_use=yes
67350 else
67351 echo "$as_me: failed program was:" >&5
67352 sed 's/^/| /' conftest.$ac_ext >&5
67354 glibcxx_cv_func__qfpclass_use=no
67356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67357 ac_ext=c
67358 ac_cpp='$CPP $CPPFLAGS'
67359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67368 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67370 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67372 for ac_func in _qfpclass
67374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67375 echo "$as_me:$LINENO: checking for $ac_func" >&5
67376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67377 if eval "test \"\${$as_ac_var+set}\" = set"; then
67378 echo $ECHO_N "(cached) $ECHO_C" >&6
67379 else
67380 if test x$gcc_no_link = xyes; then
67381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67383 { (exit 1); exit 1; }; }
67385 cat >conftest.$ac_ext <<_ACEOF
67386 /* confdefs.h. */
67387 _ACEOF
67388 cat confdefs.h >>conftest.$ac_ext
67389 cat >>conftest.$ac_ext <<_ACEOF
67390 /* end confdefs.h. */
67391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67393 #define $ac_func innocuous_$ac_func
67395 /* System header to define __stub macros and hopefully few prototypes,
67396 which can conflict with char $ac_func (); below.
67397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67398 <limits.h> exists even on freestanding compilers. */
67400 #ifdef __STDC__
67401 # include <limits.h>
67402 #else
67403 # include <assert.h>
67404 #endif
67406 #undef $ac_func
67408 /* Override any gcc2 internal prototype to avoid an error. */
67409 #ifdef __cplusplus
67410 extern "C"
67412 #endif
67413 /* We use char because int might match the return type of a gcc2
67414 builtin and then its argument prototype would still apply. */
67415 char $ac_func ();
67416 /* The GNU C library defines this for functions which it implements
67417 to always fail with ENOSYS. Some functions are actually named
67418 something starting with __ and the normal name is an alias. */
67419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67420 choke me
67421 #else
67422 char (*f) () = $ac_func;
67423 #endif
67424 #ifdef __cplusplus
67426 #endif
67429 main ()
67431 return f != $ac_func;
67433 return 0;
67435 _ACEOF
67436 rm -f conftest.$ac_objext conftest$ac_exeext
67437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67438 (eval $ac_link) 2>conftest.er1
67439 ac_status=$?
67440 grep -v '^ *+' conftest.er1 >conftest.err
67441 rm -f conftest.er1
67442 cat conftest.err >&5
67443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67444 (exit $ac_status); } &&
67445 { ac_try='test -z "$ac_c_werror_flag"
67446 || test ! -s conftest.err'
67447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67448 (eval $ac_try) 2>&5
67449 ac_status=$?
67450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67451 (exit $ac_status); }; } &&
67452 { ac_try='test -s conftest$ac_exeext'
67453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67454 (eval $ac_try) 2>&5
67455 ac_status=$?
67456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67457 (exit $ac_status); }; }; then
67458 eval "$as_ac_var=yes"
67459 else
67460 echo "$as_me: failed program was:" >&5
67461 sed 's/^/| /' conftest.$ac_ext >&5
67463 eval "$as_ac_var=no"
67465 rm -f conftest.err conftest.$ac_objext \
67466 conftest$ac_exeext conftest.$ac_ext
67468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67470 if test `eval echo '${'$as_ac_var'}'` = yes; then
67471 cat >>confdefs.h <<_ACEOF
67472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67473 _ACEOF
67476 done
67486 echo "$as_me:$LINENO: checking for hypot declaration" >&5
67487 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
67488 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67489 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
67490 echo $ECHO_N "(cached) $ECHO_C" >&6
67491 else
67495 ac_ext=cc
67496 ac_cpp='$CXXCPP $CPPFLAGS'
67497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67501 cat >conftest.$ac_ext <<_ACEOF
67502 /* confdefs.h. */
67503 _ACEOF
67504 cat confdefs.h >>conftest.$ac_ext
67505 cat >>conftest.$ac_ext <<_ACEOF
67506 /* end confdefs.h. */
67507 #include <math.h>
67509 main ()
67511 hypot(0, 0);
67513 return 0;
67515 _ACEOF
67516 rm -f conftest.$ac_objext
67517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67518 (eval $ac_compile) 2>conftest.er1
67519 ac_status=$?
67520 grep -v '^ *+' conftest.er1 >conftest.err
67521 rm -f conftest.er1
67522 cat conftest.err >&5
67523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67524 (exit $ac_status); } &&
67525 { ac_try='test -z "$ac_cxx_werror_flag"
67526 || test ! -s conftest.err'
67527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67528 (eval $ac_try) 2>&5
67529 ac_status=$?
67530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67531 (exit $ac_status); }; } &&
67532 { ac_try='test -s conftest.$ac_objext'
67533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67534 (eval $ac_try) 2>&5
67535 ac_status=$?
67536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67537 (exit $ac_status); }; }; then
67538 glibcxx_cv_func_hypot_use=yes
67539 else
67540 echo "$as_me: failed program was:" >&5
67541 sed 's/^/| /' conftest.$ac_ext >&5
67543 glibcxx_cv_func_hypot_use=no
67545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67546 ac_ext=c
67547 ac_cpp='$CPP $CPPFLAGS'
67548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
67557 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
67559 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67561 for ac_func in hypot
67563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67564 echo "$as_me:$LINENO: checking for $ac_func" >&5
67565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67566 if eval "test \"\${$as_ac_var+set}\" = set"; then
67567 echo $ECHO_N "(cached) $ECHO_C" >&6
67568 else
67569 if test x$gcc_no_link = xyes; then
67570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67572 { (exit 1); exit 1; }; }
67574 cat >conftest.$ac_ext <<_ACEOF
67575 /* confdefs.h. */
67576 _ACEOF
67577 cat confdefs.h >>conftest.$ac_ext
67578 cat >>conftest.$ac_ext <<_ACEOF
67579 /* end confdefs.h. */
67580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67582 #define $ac_func innocuous_$ac_func
67584 /* System header to define __stub macros and hopefully few prototypes,
67585 which can conflict with char $ac_func (); below.
67586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67587 <limits.h> exists even on freestanding compilers. */
67589 #ifdef __STDC__
67590 # include <limits.h>
67591 #else
67592 # include <assert.h>
67593 #endif
67595 #undef $ac_func
67597 /* Override any gcc2 internal prototype to avoid an error. */
67598 #ifdef __cplusplus
67599 extern "C"
67601 #endif
67602 /* We use char because int might match the return type of a gcc2
67603 builtin and then its argument prototype would still apply. */
67604 char $ac_func ();
67605 /* The GNU C library defines this for functions which it implements
67606 to always fail with ENOSYS. Some functions are actually named
67607 something starting with __ and the normal name is an alias. */
67608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67609 choke me
67610 #else
67611 char (*f) () = $ac_func;
67612 #endif
67613 #ifdef __cplusplus
67615 #endif
67618 main ()
67620 return f != $ac_func;
67622 return 0;
67624 _ACEOF
67625 rm -f conftest.$ac_objext conftest$ac_exeext
67626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67627 (eval $ac_link) 2>conftest.er1
67628 ac_status=$?
67629 grep -v '^ *+' conftest.er1 >conftest.err
67630 rm -f conftest.er1
67631 cat conftest.err >&5
67632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67633 (exit $ac_status); } &&
67634 { ac_try='test -z "$ac_c_werror_flag"
67635 || test ! -s conftest.err'
67636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67637 (eval $ac_try) 2>&5
67638 ac_status=$?
67639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67640 (exit $ac_status); }; } &&
67641 { ac_try='test -s conftest$ac_exeext'
67642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67643 (eval $ac_try) 2>&5
67644 ac_status=$?
67645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67646 (exit $ac_status); }; }; then
67647 eval "$as_ac_var=yes"
67648 else
67649 echo "$as_me: failed program was:" >&5
67650 sed 's/^/| /' conftest.$ac_ext >&5
67652 eval "$as_ac_var=no"
67654 rm -f conftest.err conftest.$ac_objext \
67655 conftest$ac_exeext conftest.$ac_ext
67657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67659 if test `eval echo '${'$as_ac_var'}'` = yes; then
67660 cat >>confdefs.h <<_ACEOF
67661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67662 _ACEOF
67665 done
67667 else
67669 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67670 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67671 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67672 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67673 echo $ECHO_N "(cached) $ECHO_C" >&6
67674 else
67678 ac_ext=cc
67679 ac_cpp='$CXXCPP $CPPFLAGS'
67680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67684 cat >conftest.$ac_ext <<_ACEOF
67685 /* confdefs.h. */
67686 _ACEOF
67687 cat confdefs.h >>conftest.$ac_ext
67688 cat >>conftest.$ac_ext <<_ACEOF
67689 /* end confdefs.h. */
67690 #include <math.h>
67692 main ()
67694 _hypot(0, 0);
67696 return 0;
67698 _ACEOF
67699 rm -f conftest.$ac_objext
67700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67701 (eval $ac_compile) 2>conftest.er1
67702 ac_status=$?
67703 grep -v '^ *+' conftest.er1 >conftest.err
67704 rm -f conftest.er1
67705 cat conftest.err >&5
67706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67707 (exit $ac_status); } &&
67708 { ac_try='test -z "$ac_cxx_werror_flag"
67709 || test ! -s conftest.err'
67710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67711 (eval $ac_try) 2>&5
67712 ac_status=$?
67713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67714 (exit $ac_status); }; } &&
67715 { ac_try='test -s conftest.$ac_objext'
67716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67717 (eval $ac_try) 2>&5
67718 ac_status=$?
67719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67720 (exit $ac_status); }; }; then
67721 glibcxx_cv_func__hypot_use=yes
67722 else
67723 echo "$as_me: failed program was:" >&5
67724 sed 's/^/| /' conftest.$ac_ext >&5
67726 glibcxx_cv_func__hypot_use=no
67728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67729 ac_ext=c
67730 ac_cpp='$CPP $CPPFLAGS'
67731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67740 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67742 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67744 for ac_func in _hypot
67746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67747 echo "$as_me:$LINENO: checking for $ac_func" >&5
67748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67749 if eval "test \"\${$as_ac_var+set}\" = set"; then
67750 echo $ECHO_N "(cached) $ECHO_C" >&6
67751 else
67752 if test x$gcc_no_link = xyes; then
67753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67755 { (exit 1); exit 1; }; }
67757 cat >conftest.$ac_ext <<_ACEOF
67758 /* confdefs.h. */
67759 _ACEOF
67760 cat confdefs.h >>conftest.$ac_ext
67761 cat >>conftest.$ac_ext <<_ACEOF
67762 /* end confdefs.h. */
67763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67765 #define $ac_func innocuous_$ac_func
67767 /* System header to define __stub macros and hopefully few prototypes,
67768 which can conflict with char $ac_func (); below.
67769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67770 <limits.h> exists even on freestanding compilers. */
67772 #ifdef __STDC__
67773 # include <limits.h>
67774 #else
67775 # include <assert.h>
67776 #endif
67778 #undef $ac_func
67780 /* Override any gcc2 internal prototype to avoid an error. */
67781 #ifdef __cplusplus
67782 extern "C"
67784 #endif
67785 /* We use char because int might match the return type of a gcc2
67786 builtin and then its argument prototype would still apply. */
67787 char $ac_func ();
67788 /* The GNU C library defines this for functions which it implements
67789 to always fail with ENOSYS. Some functions are actually named
67790 something starting with __ and the normal name is an alias. */
67791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67792 choke me
67793 #else
67794 char (*f) () = $ac_func;
67795 #endif
67796 #ifdef __cplusplus
67798 #endif
67801 main ()
67803 return f != $ac_func;
67805 return 0;
67807 _ACEOF
67808 rm -f conftest.$ac_objext conftest$ac_exeext
67809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67810 (eval $ac_link) 2>conftest.er1
67811 ac_status=$?
67812 grep -v '^ *+' conftest.er1 >conftest.err
67813 rm -f conftest.er1
67814 cat conftest.err >&5
67815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67816 (exit $ac_status); } &&
67817 { ac_try='test -z "$ac_c_werror_flag"
67818 || test ! -s conftest.err'
67819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67820 (eval $ac_try) 2>&5
67821 ac_status=$?
67822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67823 (exit $ac_status); }; } &&
67824 { ac_try='test -s conftest$ac_exeext'
67825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67826 (eval $ac_try) 2>&5
67827 ac_status=$?
67828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67829 (exit $ac_status); }; }; then
67830 eval "$as_ac_var=yes"
67831 else
67832 echo "$as_me: failed program was:" >&5
67833 sed 's/^/| /' conftest.$ac_ext >&5
67835 eval "$as_ac_var=no"
67837 rm -f conftest.err conftest.$ac_objext \
67838 conftest$ac_exeext conftest.$ac_ext
67840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67842 if test `eval echo '${'$as_ac_var'}'` = yes; then
67843 cat >>confdefs.h <<_ACEOF
67844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67845 _ACEOF
67848 done
67858 echo "$as_me:$LINENO: checking for float trig functions" >&5
67859 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67860 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67861 echo $ECHO_N "(cached) $ECHO_C" >&6
67862 else
67866 ac_ext=cc
67867 ac_cpp='$CXXCPP $CPPFLAGS'
67868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67872 cat >conftest.$ac_ext <<_ACEOF
67873 /* confdefs.h. */
67874 _ACEOF
67875 cat confdefs.h >>conftest.$ac_ext
67876 cat >>conftest.$ac_ext <<_ACEOF
67877 /* end confdefs.h. */
67878 #include <math.h>
67880 main ()
67882 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67884 return 0;
67886 _ACEOF
67887 rm -f conftest.$ac_objext
67888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67889 (eval $ac_compile) 2>conftest.er1
67890 ac_status=$?
67891 grep -v '^ *+' conftest.er1 >conftest.err
67892 rm -f conftest.er1
67893 cat conftest.err >&5
67894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67895 (exit $ac_status); } &&
67896 { ac_try='test -z "$ac_cxx_werror_flag"
67897 || test ! -s conftest.err'
67898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67899 (eval $ac_try) 2>&5
67900 ac_status=$?
67901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67902 (exit $ac_status); }; } &&
67903 { ac_try='test -s conftest.$ac_objext'
67904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67905 (eval $ac_try) 2>&5
67906 ac_status=$?
67907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67908 (exit $ac_status); }; }; then
67909 glibcxx_cv_func_float_trig_use=yes
67910 else
67911 echo "$as_me: failed program was:" >&5
67912 sed 's/^/| /' conftest.$ac_ext >&5
67914 glibcxx_cv_func_float_trig_use=no
67916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67917 ac_ext=c
67918 ac_cpp='$CPP $CPPFLAGS'
67919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67926 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67927 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67937 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67940 echo "$as_me:$LINENO: checking for $ac_func" >&5
67941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67942 if eval "test \"\${$as_ac_var+set}\" = set"; then
67943 echo $ECHO_N "(cached) $ECHO_C" >&6
67944 else
67945 if test x$gcc_no_link = xyes; then
67946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67948 { (exit 1); exit 1; }; }
67950 cat >conftest.$ac_ext <<_ACEOF
67951 /* confdefs.h. */
67952 _ACEOF
67953 cat confdefs.h >>conftest.$ac_ext
67954 cat >>conftest.$ac_ext <<_ACEOF
67955 /* end confdefs.h. */
67956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67958 #define $ac_func innocuous_$ac_func
67960 /* System header to define __stub macros and hopefully few prototypes,
67961 which can conflict with char $ac_func (); below.
67962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67963 <limits.h> exists even on freestanding compilers. */
67965 #ifdef __STDC__
67966 # include <limits.h>
67967 #else
67968 # include <assert.h>
67969 #endif
67971 #undef $ac_func
67973 /* Override any gcc2 internal prototype to avoid an error. */
67974 #ifdef __cplusplus
67975 extern "C"
67977 #endif
67978 /* We use char because int might match the return type of a gcc2
67979 builtin and then its argument prototype would still apply. */
67980 char $ac_func ();
67981 /* The GNU C library defines this for functions which it implements
67982 to always fail with ENOSYS. Some functions are actually named
67983 something starting with __ and the normal name is an alias. */
67984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67985 choke me
67986 #else
67987 char (*f) () = $ac_func;
67988 #endif
67989 #ifdef __cplusplus
67991 #endif
67994 main ()
67996 return f != $ac_func;
67998 return 0;
68000 _ACEOF
68001 rm -f conftest.$ac_objext conftest$ac_exeext
68002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68003 (eval $ac_link) 2>conftest.er1
68004 ac_status=$?
68005 grep -v '^ *+' conftest.er1 >conftest.err
68006 rm -f conftest.er1
68007 cat conftest.err >&5
68008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68009 (exit $ac_status); } &&
68010 { ac_try='test -z "$ac_c_werror_flag"
68011 || test ! -s conftest.err'
68012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68013 (eval $ac_try) 2>&5
68014 ac_status=$?
68015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68016 (exit $ac_status); }; } &&
68017 { ac_try='test -s conftest$ac_exeext'
68018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68019 (eval $ac_try) 2>&5
68020 ac_status=$?
68021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68022 (exit $ac_status); }; }; then
68023 eval "$as_ac_var=yes"
68024 else
68025 echo "$as_me: failed program was:" >&5
68026 sed 's/^/| /' conftest.$ac_ext >&5
68028 eval "$as_ac_var=no"
68030 rm -f conftest.err conftest.$ac_objext \
68031 conftest$ac_exeext conftest.$ac_ext
68033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68035 if test `eval echo '${'$as_ac_var'}'` = yes; then
68036 cat >>confdefs.h <<_ACEOF
68037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68038 _ACEOF
68041 done
68043 else
68044 echo "$as_me:$LINENO: checking for _float trig functions" >&5
68045 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
68046 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
68047 echo $ECHO_N "(cached) $ECHO_C" >&6
68048 else
68052 ac_ext=cc
68053 ac_cpp='$CXXCPP $CPPFLAGS'
68054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68058 cat >conftest.$ac_ext <<_ACEOF
68059 /* confdefs.h. */
68060 _ACEOF
68061 cat confdefs.h >>conftest.$ac_ext
68062 cat >>conftest.$ac_ext <<_ACEOF
68063 /* end confdefs.h. */
68064 #include <math.h>
68066 main ()
68068 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68070 return 0;
68072 _ACEOF
68073 rm -f conftest.$ac_objext
68074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68075 (eval $ac_compile) 2>conftest.er1
68076 ac_status=$?
68077 grep -v '^ *+' conftest.er1 >conftest.err
68078 rm -f conftest.er1
68079 cat conftest.err >&5
68080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68081 (exit $ac_status); } &&
68082 { ac_try='test -z "$ac_cxx_werror_flag"
68083 || test ! -s conftest.err'
68084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68085 (eval $ac_try) 2>&5
68086 ac_status=$?
68087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68088 (exit $ac_status); }; } &&
68089 { ac_try='test -s conftest.$ac_objext'
68090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68091 (eval $ac_try) 2>&5
68092 ac_status=$?
68093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68094 (exit $ac_status); }; }; then
68095 glibcxx_cv_func__float_trig_use=yes
68096 else
68097 echo "$as_me: failed program was:" >&5
68098 sed 's/^/| /' conftest.$ac_ext >&5
68100 glibcxx_cv_func__float_trig_use=no
68102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68103 ac_ext=c
68104 ac_cpp='$CPP $CPPFLAGS'
68105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68111 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68112 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68113 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68123 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68126 echo "$as_me:$LINENO: checking for $ac_func" >&5
68127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68128 if eval "test \"\${$as_ac_var+set}\" = set"; then
68129 echo $ECHO_N "(cached) $ECHO_C" >&6
68130 else
68131 if test x$gcc_no_link = xyes; then
68132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68134 { (exit 1); exit 1; }; }
68136 cat >conftest.$ac_ext <<_ACEOF
68137 /* confdefs.h. */
68138 _ACEOF
68139 cat confdefs.h >>conftest.$ac_ext
68140 cat >>conftest.$ac_ext <<_ACEOF
68141 /* end confdefs.h. */
68142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68144 #define $ac_func innocuous_$ac_func
68146 /* System header to define __stub macros and hopefully few prototypes,
68147 which can conflict with char $ac_func (); below.
68148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68149 <limits.h> exists even on freestanding compilers. */
68151 #ifdef __STDC__
68152 # include <limits.h>
68153 #else
68154 # include <assert.h>
68155 #endif
68157 #undef $ac_func
68159 /* Override any gcc2 internal prototype to avoid an error. */
68160 #ifdef __cplusplus
68161 extern "C"
68163 #endif
68164 /* We use char because int might match the return type of a gcc2
68165 builtin and then its argument prototype would still apply. */
68166 char $ac_func ();
68167 /* The GNU C library defines this for functions which it implements
68168 to always fail with ENOSYS. Some functions are actually named
68169 something starting with __ and the normal name is an alias. */
68170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68171 choke me
68172 #else
68173 char (*f) () = $ac_func;
68174 #endif
68175 #ifdef __cplusplus
68177 #endif
68180 main ()
68182 return f != $ac_func;
68184 return 0;
68186 _ACEOF
68187 rm -f conftest.$ac_objext conftest$ac_exeext
68188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68189 (eval $ac_link) 2>conftest.er1
68190 ac_status=$?
68191 grep -v '^ *+' conftest.er1 >conftest.err
68192 rm -f conftest.er1
68193 cat conftest.err >&5
68194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68195 (exit $ac_status); } &&
68196 { ac_try='test -z "$ac_c_werror_flag"
68197 || test ! -s conftest.err'
68198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68199 (eval $ac_try) 2>&5
68200 ac_status=$?
68201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68202 (exit $ac_status); }; } &&
68203 { ac_try='test -s conftest$ac_exeext'
68204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68205 (eval $ac_try) 2>&5
68206 ac_status=$?
68207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68208 (exit $ac_status); }; }; then
68209 eval "$as_ac_var=yes"
68210 else
68211 echo "$as_me: failed program was:" >&5
68212 sed 's/^/| /' conftest.$ac_ext >&5
68214 eval "$as_ac_var=no"
68216 rm -f conftest.err conftest.$ac_objext \
68217 conftest$ac_exeext conftest.$ac_ext
68219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68221 if test `eval echo '${'$as_ac_var'}'` = yes; then
68222 cat >>confdefs.h <<_ACEOF
68223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68224 _ACEOF
68227 done
68245 echo "$as_me:$LINENO: checking for float round functions" >&5
68246 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68247 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68248 echo $ECHO_N "(cached) $ECHO_C" >&6
68249 else
68253 ac_ext=cc
68254 ac_cpp='$CXXCPP $CPPFLAGS'
68255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68259 cat >conftest.$ac_ext <<_ACEOF
68260 /* confdefs.h. */
68261 _ACEOF
68262 cat confdefs.h >>conftest.$ac_ext
68263 cat >>conftest.$ac_ext <<_ACEOF
68264 /* end confdefs.h. */
68265 #include <math.h>
68267 main ()
68269 ceilf (0); floorf (0);
68271 return 0;
68273 _ACEOF
68274 rm -f conftest.$ac_objext
68275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68276 (eval $ac_compile) 2>conftest.er1
68277 ac_status=$?
68278 grep -v '^ *+' conftest.er1 >conftest.err
68279 rm -f conftest.er1
68280 cat conftest.err >&5
68281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68282 (exit $ac_status); } &&
68283 { ac_try='test -z "$ac_cxx_werror_flag"
68284 || test ! -s conftest.err'
68285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68286 (eval $ac_try) 2>&5
68287 ac_status=$?
68288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68289 (exit $ac_status); }; } &&
68290 { ac_try='test -s conftest.$ac_objext'
68291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68292 (eval $ac_try) 2>&5
68293 ac_status=$?
68294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68295 (exit $ac_status); }; }; then
68296 glibcxx_cv_func_float_round_use=yes
68297 else
68298 echo "$as_me: failed program was:" >&5
68299 sed 's/^/| /' conftest.$ac_ext >&5
68301 glibcxx_cv_func_float_round_use=no
68303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68304 ac_ext=c
68305 ac_cpp='$CPP $CPPFLAGS'
68306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68313 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68314 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68317 for ac_func in ceilf floorf
68319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68320 echo "$as_me:$LINENO: checking for $ac_func" >&5
68321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68322 if eval "test \"\${$as_ac_var+set}\" = set"; then
68323 echo $ECHO_N "(cached) $ECHO_C" >&6
68324 else
68325 if test x$gcc_no_link = xyes; then
68326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68328 { (exit 1); exit 1; }; }
68330 cat >conftest.$ac_ext <<_ACEOF
68331 /* confdefs.h. */
68332 _ACEOF
68333 cat confdefs.h >>conftest.$ac_ext
68334 cat >>conftest.$ac_ext <<_ACEOF
68335 /* end confdefs.h. */
68336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68338 #define $ac_func innocuous_$ac_func
68340 /* System header to define __stub macros and hopefully few prototypes,
68341 which can conflict with char $ac_func (); below.
68342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68343 <limits.h> exists even on freestanding compilers. */
68345 #ifdef __STDC__
68346 # include <limits.h>
68347 #else
68348 # include <assert.h>
68349 #endif
68351 #undef $ac_func
68353 /* Override any gcc2 internal prototype to avoid an error. */
68354 #ifdef __cplusplus
68355 extern "C"
68357 #endif
68358 /* We use char because int might match the return type of a gcc2
68359 builtin and then its argument prototype would still apply. */
68360 char $ac_func ();
68361 /* The GNU C library defines this for functions which it implements
68362 to always fail with ENOSYS. Some functions are actually named
68363 something starting with __ and the normal name is an alias. */
68364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68365 choke me
68366 #else
68367 char (*f) () = $ac_func;
68368 #endif
68369 #ifdef __cplusplus
68371 #endif
68374 main ()
68376 return f != $ac_func;
68378 return 0;
68380 _ACEOF
68381 rm -f conftest.$ac_objext conftest$ac_exeext
68382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68383 (eval $ac_link) 2>conftest.er1
68384 ac_status=$?
68385 grep -v '^ *+' conftest.er1 >conftest.err
68386 rm -f conftest.er1
68387 cat conftest.err >&5
68388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68389 (exit $ac_status); } &&
68390 { ac_try='test -z "$ac_c_werror_flag"
68391 || test ! -s conftest.err'
68392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68393 (eval $ac_try) 2>&5
68394 ac_status=$?
68395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68396 (exit $ac_status); }; } &&
68397 { ac_try='test -s conftest$ac_exeext'
68398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68399 (eval $ac_try) 2>&5
68400 ac_status=$?
68401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68402 (exit $ac_status); }; }; then
68403 eval "$as_ac_var=yes"
68404 else
68405 echo "$as_me: failed program was:" >&5
68406 sed 's/^/| /' conftest.$ac_ext >&5
68408 eval "$as_ac_var=no"
68410 rm -f conftest.err conftest.$ac_objext \
68411 conftest$ac_exeext conftest.$ac_ext
68413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68415 if test `eval echo '${'$as_ac_var'}'` = yes; then
68416 cat >>confdefs.h <<_ACEOF
68417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68418 _ACEOF
68421 done
68423 else
68424 echo "$as_me:$LINENO: checking for _float round functions" >&5
68425 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68426 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68427 echo $ECHO_N "(cached) $ECHO_C" >&6
68428 else
68432 ac_ext=cc
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68438 cat >conftest.$ac_ext <<_ACEOF
68439 /* confdefs.h. */
68440 _ACEOF
68441 cat confdefs.h >>conftest.$ac_ext
68442 cat >>conftest.$ac_ext <<_ACEOF
68443 /* end confdefs.h. */
68444 #include <math.h>
68446 main ()
68448 _ceilf (0); _floorf (0);
68450 return 0;
68452 _ACEOF
68453 rm -f conftest.$ac_objext
68454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68455 (eval $ac_compile) 2>conftest.er1
68456 ac_status=$?
68457 grep -v '^ *+' conftest.er1 >conftest.err
68458 rm -f conftest.er1
68459 cat conftest.err >&5
68460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68461 (exit $ac_status); } &&
68462 { ac_try='test -z "$ac_cxx_werror_flag"
68463 || test ! -s conftest.err'
68464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68465 (eval $ac_try) 2>&5
68466 ac_status=$?
68467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68468 (exit $ac_status); }; } &&
68469 { ac_try='test -s conftest.$ac_objext'
68470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68471 (eval $ac_try) 2>&5
68472 ac_status=$?
68473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68474 (exit $ac_status); }; }; then
68475 glibcxx_cv_func__float_round_use=yes
68476 else
68477 echo "$as_me: failed program was:" >&5
68478 sed 's/^/| /' conftest.$ac_ext >&5
68480 glibcxx_cv_func__float_round_use=no
68482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68483 ac_ext=c
68484 ac_cpp='$CPP $CPPFLAGS'
68485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68492 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68493 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68496 for ac_func in _ceilf _floorf
68498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68499 echo "$as_me:$LINENO: checking for $ac_func" >&5
68500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68501 if eval "test \"\${$as_ac_var+set}\" = set"; then
68502 echo $ECHO_N "(cached) $ECHO_C" >&6
68503 else
68504 if test x$gcc_no_link = xyes; then
68505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68507 { (exit 1); exit 1; }; }
68509 cat >conftest.$ac_ext <<_ACEOF
68510 /* confdefs.h. */
68511 _ACEOF
68512 cat confdefs.h >>conftest.$ac_ext
68513 cat >>conftest.$ac_ext <<_ACEOF
68514 /* end confdefs.h. */
68515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68517 #define $ac_func innocuous_$ac_func
68519 /* System header to define __stub macros and hopefully few prototypes,
68520 which can conflict with char $ac_func (); below.
68521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68522 <limits.h> exists even on freestanding compilers. */
68524 #ifdef __STDC__
68525 # include <limits.h>
68526 #else
68527 # include <assert.h>
68528 #endif
68530 #undef $ac_func
68532 /* Override any gcc2 internal prototype to avoid an error. */
68533 #ifdef __cplusplus
68534 extern "C"
68536 #endif
68537 /* We use char because int might match the return type of a gcc2
68538 builtin and then its argument prototype would still apply. */
68539 char $ac_func ();
68540 /* The GNU C library defines this for functions which it implements
68541 to always fail with ENOSYS. Some functions are actually named
68542 something starting with __ and the normal name is an alias. */
68543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68544 choke me
68545 #else
68546 char (*f) () = $ac_func;
68547 #endif
68548 #ifdef __cplusplus
68550 #endif
68553 main ()
68555 return f != $ac_func;
68557 return 0;
68559 _ACEOF
68560 rm -f conftest.$ac_objext conftest$ac_exeext
68561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68562 (eval $ac_link) 2>conftest.er1
68563 ac_status=$?
68564 grep -v '^ *+' conftest.er1 >conftest.err
68565 rm -f conftest.er1
68566 cat conftest.err >&5
68567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68568 (exit $ac_status); } &&
68569 { ac_try='test -z "$ac_c_werror_flag"
68570 || test ! -s conftest.err'
68571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68572 (eval $ac_try) 2>&5
68573 ac_status=$?
68574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68575 (exit $ac_status); }; } &&
68576 { ac_try='test -s conftest$ac_exeext'
68577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68578 (eval $ac_try) 2>&5
68579 ac_status=$?
68580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68581 (exit $ac_status); }; }; then
68582 eval "$as_ac_var=yes"
68583 else
68584 echo "$as_me: failed program was:" >&5
68585 sed 's/^/| /' conftest.$ac_ext >&5
68587 eval "$as_ac_var=no"
68589 rm -f conftest.err conftest.$ac_objext \
68590 conftest$ac_exeext conftest.$ac_ext
68592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68594 if test `eval echo '${'$as_ac_var'}'` = yes; then
68595 cat >>confdefs.h <<_ACEOF
68596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68597 _ACEOF
68600 done
68612 echo "$as_me:$LINENO: checking for expf declaration" >&5
68613 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68614 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68615 if test "${glibcxx_cv_func_expf_use+set}" = set; then
68616 echo $ECHO_N "(cached) $ECHO_C" >&6
68617 else
68621 ac_ext=cc
68622 ac_cpp='$CXXCPP $CPPFLAGS'
68623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68627 cat >conftest.$ac_ext <<_ACEOF
68628 /* confdefs.h. */
68629 _ACEOF
68630 cat confdefs.h >>conftest.$ac_ext
68631 cat >>conftest.$ac_ext <<_ACEOF
68632 /* end confdefs.h. */
68633 #include <math.h>
68634 #ifdef HAVE_IEEEFP_H
68635 #include <ieeefp.h>
68636 #endif
68639 main ()
68641 expf(0);
68643 return 0;
68645 _ACEOF
68646 rm -f conftest.$ac_objext
68647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68648 (eval $ac_compile) 2>conftest.er1
68649 ac_status=$?
68650 grep -v '^ *+' conftest.er1 >conftest.err
68651 rm -f conftest.er1
68652 cat conftest.err >&5
68653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68654 (exit $ac_status); } &&
68655 { ac_try='test -z "$ac_cxx_werror_flag"
68656 || test ! -s conftest.err'
68657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68658 (eval $ac_try) 2>&5
68659 ac_status=$?
68660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68661 (exit $ac_status); }; } &&
68662 { ac_try='test -s conftest.$ac_objext'
68663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68664 (eval $ac_try) 2>&5
68665 ac_status=$?
68666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68667 (exit $ac_status); }; }; then
68668 glibcxx_cv_func_expf_use=yes
68669 else
68670 echo "$as_me: failed program was:" >&5
68671 sed 's/^/| /' conftest.$ac_ext >&5
68673 glibcxx_cv_func_expf_use=no
68675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68676 ac_ext=c
68677 ac_cpp='$CPP $CPPFLAGS'
68678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68686 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68687 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68689 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68691 for ac_func in expf
68693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68694 echo "$as_me:$LINENO: checking for $ac_func" >&5
68695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68696 if eval "test \"\${$as_ac_var+set}\" = set"; then
68697 echo $ECHO_N "(cached) $ECHO_C" >&6
68698 else
68699 if test x$gcc_no_link = xyes; then
68700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68702 { (exit 1); exit 1; }; }
68704 cat >conftest.$ac_ext <<_ACEOF
68705 /* confdefs.h. */
68706 _ACEOF
68707 cat confdefs.h >>conftest.$ac_ext
68708 cat >>conftest.$ac_ext <<_ACEOF
68709 /* end confdefs.h. */
68710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68712 #define $ac_func innocuous_$ac_func
68714 /* System header to define __stub macros and hopefully few prototypes,
68715 which can conflict with char $ac_func (); below.
68716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68717 <limits.h> exists even on freestanding compilers. */
68719 #ifdef __STDC__
68720 # include <limits.h>
68721 #else
68722 # include <assert.h>
68723 #endif
68725 #undef $ac_func
68727 /* Override any gcc2 internal prototype to avoid an error. */
68728 #ifdef __cplusplus
68729 extern "C"
68731 #endif
68732 /* We use char because int might match the return type of a gcc2
68733 builtin and then its argument prototype would still apply. */
68734 char $ac_func ();
68735 /* The GNU C library defines this for functions which it implements
68736 to always fail with ENOSYS. Some functions are actually named
68737 something starting with __ and the normal name is an alias. */
68738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68739 choke me
68740 #else
68741 char (*f) () = $ac_func;
68742 #endif
68743 #ifdef __cplusplus
68745 #endif
68748 main ()
68750 return f != $ac_func;
68752 return 0;
68754 _ACEOF
68755 rm -f conftest.$ac_objext conftest$ac_exeext
68756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68757 (eval $ac_link) 2>conftest.er1
68758 ac_status=$?
68759 grep -v '^ *+' conftest.er1 >conftest.err
68760 rm -f conftest.er1
68761 cat conftest.err >&5
68762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68763 (exit $ac_status); } &&
68764 { ac_try='test -z "$ac_c_werror_flag"
68765 || test ! -s conftest.err'
68766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68767 (eval $ac_try) 2>&5
68768 ac_status=$?
68769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68770 (exit $ac_status); }; } &&
68771 { ac_try='test -s conftest$ac_exeext'
68772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68773 (eval $ac_try) 2>&5
68774 ac_status=$?
68775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68776 (exit $ac_status); }; }; then
68777 eval "$as_ac_var=yes"
68778 else
68779 echo "$as_me: failed program was:" >&5
68780 sed 's/^/| /' conftest.$ac_ext >&5
68782 eval "$as_ac_var=no"
68784 rm -f conftest.err conftest.$ac_objext \
68785 conftest$ac_exeext conftest.$ac_ext
68787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68789 if test `eval echo '${'$as_ac_var'}'` = yes; then
68790 cat >>confdefs.h <<_ACEOF
68791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68792 _ACEOF
68795 done
68797 else
68799 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68800 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68801 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68802 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68803 echo $ECHO_N "(cached) $ECHO_C" >&6
68804 else
68808 ac_ext=cc
68809 ac_cpp='$CXXCPP $CPPFLAGS'
68810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68814 cat >conftest.$ac_ext <<_ACEOF
68815 /* confdefs.h. */
68816 _ACEOF
68817 cat confdefs.h >>conftest.$ac_ext
68818 cat >>conftest.$ac_ext <<_ACEOF
68819 /* end confdefs.h. */
68820 #include <math.h>
68821 #ifdef HAVE_IEEEFP_H
68822 #include <ieeefp.h>
68823 #endif
68826 main ()
68828 _expf(0);
68830 return 0;
68832 _ACEOF
68833 rm -f conftest.$ac_objext
68834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68835 (eval $ac_compile) 2>conftest.er1
68836 ac_status=$?
68837 grep -v '^ *+' conftest.er1 >conftest.err
68838 rm -f conftest.er1
68839 cat conftest.err >&5
68840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68841 (exit $ac_status); } &&
68842 { ac_try='test -z "$ac_cxx_werror_flag"
68843 || test ! -s conftest.err'
68844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68845 (eval $ac_try) 2>&5
68846 ac_status=$?
68847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68848 (exit $ac_status); }; } &&
68849 { ac_try='test -s conftest.$ac_objext'
68850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68851 (eval $ac_try) 2>&5
68852 ac_status=$?
68853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68854 (exit $ac_status); }; }; then
68855 glibcxx_cv_func__expf_use=yes
68856 else
68857 echo "$as_me: failed program was:" >&5
68858 sed 's/^/| /' conftest.$ac_ext >&5
68860 glibcxx_cv_func__expf_use=no
68862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68863 ac_ext=c
68864 ac_cpp='$CPP $CPPFLAGS'
68865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68874 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68876 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68878 for ac_func in _expf
68880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68881 echo "$as_me:$LINENO: checking for $ac_func" >&5
68882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68883 if eval "test \"\${$as_ac_var+set}\" = set"; then
68884 echo $ECHO_N "(cached) $ECHO_C" >&6
68885 else
68886 if test x$gcc_no_link = xyes; then
68887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68889 { (exit 1); exit 1; }; }
68891 cat >conftest.$ac_ext <<_ACEOF
68892 /* confdefs.h. */
68893 _ACEOF
68894 cat confdefs.h >>conftest.$ac_ext
68895 cat >>conftest.$ac_ext <<_ACEOF
68896 /* end confdefs.h. */
68897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68899 #define $ac_func innocuous_$ac_func
68901 /* System header to define __stub macros and hopefully few prototypes,
68902 which can conflict with char $ac_func (); below.
68903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68904 <limits.h> exists even on freestanding compilers. */
68906 #ifdef __STDC__
68907 # include <limits.h>
68908 #else
68909 # include <assert.h>
68910 #endif
68912 #undef $ac_func
68914 /* Override any gcc2 internal prototype to avoid an error. */
68915 #ifdef __cplusplus
68916 extern "C"
68918 #endif
68919 /* We use char because int might match the return type of a gcc2
68920 builtin and then its argument prototype would still apply. */
68921 char $ac_func ();
68922 /* The GNU C library defines this for functions which it implements
68923 to always fail with ENOSYS. Some functions are actually named
68924 something starting with __ and the normal name is an alias. */
68925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68926 choke me
68927 #else
68928 char (*f) () = $ac_func;
68929 #endif
68930 #ifdef __cplusplus
68932 #endif
68935 main ()
68937 return f != $ac_func;
68939 return 0;
68941 _ACEOF
68942 rm -f conftest.$ac_objext conftest$ac_exeext
68943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68944 (eval $ac_link) 2>conftest.er1
68945 ac_status=$?
68946 grep -v '^ *+' conftest.er1 >conftest.err
68947 rm -f conftest.er1
68948 cat conftest.err >&5
68949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68950 (exit $ac_status); } &&
68951 { ac_try='test -z "$ac_c_werror_flag"
68952 || test ! -s conftest.err'
68953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68954 (eval $ac_try) 2>&5
68955 ac_status=$?
68956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68957 (exit $ac_status); }; } &&
68958 { ac_try='test -s conftest$ac_exeext'
68959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68960 (eval $ac_try) 2>&5
68961 ac_status=$?
68962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68963 (exit $ac_status); }; }; then
68964 eval "$as_ac_var=yes"
68965 else
68966 echo "$as_me: failed program was:" >&5
68967 sed 's/^/| /' conftest.$ac_ext >&5
68969 eval "$as_ac_var=no"
68971 rm -f conftest.err conftest.$ac_objext \
68972 conftest$ac_exeext conftest.$ac_ext
68974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68976 if test `eval echo '${'$as_ac_var'}'` = yes; then
68977 cat >>confdefs.h <<_ACEOF
68978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68979 _ACEOF
68982 done
68992 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68993 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68994 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68995 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68996 echo $ECHO_N "(cached) $ECHO_C" >&6
68997 else
69001 ac_ext=cc
69002 ac_cpp='$CXXCPP $CPPFLAGS'
69003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69007 cat >conftest.$ac_ext <<_ACEOF
69008 /* confdefs.h. */
69009 _ACEOF
69010 cat confdefs.h >>conftest.$ac_ext
69011 cat >>conftest.$ac_ext <<_ACEOF
69012 /* end confdefs.h. */
69013 #include <math.h>
69014 #ifdef HAVE_IEEEFP_H
69015 #include <ieeefp.h>
69016 #endif
69019 main ()
69021 isnanf(0);
69023 return 0;
69025 _ACEOF
69026 rm -f conftest.$ac_objext
69027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69028 (eval $ac_compile) 2>conftest.er1
69029 ac_status=$?
69030 grep -v '^ *+' conftest.er1 >conftest.err
69031 rm -f conftest.er1
69032 cat conftest.err >&5
69033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69034 (exit $ac_status); } &&
69035 { ac_try='test -z "$ac_cxx_werror_flag"
69036 || test ! -s conftest.err'
69037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69038 (eval $ac_try) 2>&5
69039 ac_status=$?
69040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69041 (exit $ac_status); }; } &&
69042 { ac_try='test -s conftest.$ac_objext'
69043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69044 (eval $ac_try) 2>&5
69045 ac_status=$?
69046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69047 (exit $ac_status); }; }; then
69048 glibcxx_cv_func_isnanf_use=yes
69049 else
69050 echo "$as_me: failed program was:" >&5
69051 sed 's/^/| /' conftest.$ac_ext >&5
69053 glibcxx_cv_func_isnanf_use=no
69055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69056 ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
69067 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
69069 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
69071 for ac_func in isnanf
69073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69074 echo "$as_me:$LINENO: checking for $ac_func" >&5
69075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69076 if eval "test \"\${$as_ac_var+set}\" = set"; then
69077 echo $ECHO_N "(cached) $ECHO_C" >&6
69078 else
69079 if test x$gcc_no_link = xyes; then
69080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69082 { (exit 1); exit 1; }; }
69084 cat >conftest.$ac_ext <<_ACEOF
69085 /* confdefs.h. */
69086 _ACEOF
69087 cat confdefs.h >>conftest.$ac_ext
69088 cat >>conftest.$ac_ext <<_ACEOF
69089 /* end confdefs.h. */
69090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69092 #define $ac_func innocuous_$ac_func
69094 /* System header to define __stub macros and hopefully few prototypes,
69095 which can conflict with char $ac_func (); below.
69096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69097 <limits.h> exists even on freestanding compilers. */
69099 #ifdef __STDC__
69100 # include <limits.h>
69101 #else
69102 # include <assert.h>
69103 #endif
69105 #undef $ac_func
69107 /* Override any gcc2 internal prototype to avoid an error. */
69108 #ifdef __cplusplus
69109 extern "C"
69111 #endif
69112 /* We use char because int might match the return type of a gcc2
69113 builtin and then its argument prototype would still apply. */
69114 char $ac_func ();
69115 /* The GNU C library defines this for functions which it implements
69116 to always fail with ENOSYS. Some functions are actually named
69117 something starting with __ and the normal name is an alias. */
69118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69119 choke me
69120 #else
69121 char (*f) () = $ac_func;
69122 #endif
69123 #ifdef __cplusplus
69125 #endif
69128 main ()
69130 return f != $ac_func;
69132 return 0;
69134 _ACEOF
69135 rm -f conftest.$ac_objext conftest$ac_exeext
69136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69137 (eval $ac_link) 2>conftest.er1
69138 ac_status=$?
69139 grep -v '^ *+' conftest.er1 >conftest.err
69140 rm -f conftest.er1
69141 cat conftest.err >&5
69142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69143 (exit $ac_status); } &&
69144 { ac_try='test -z "$ac_c_werror_flag"
69145 || test ! -s conftest.err'
69146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69147 (eval $ac_try) 2>&5
69148 ac_status=$?
69149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69150 (exit $ac_status); }; } &&
69151 { ac_try='test -s conftest$ac_exeext'
69152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69153 (eval $ac_try) 2>&5
69154 ac_status=$?
69155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69156 (exit $ac_status); }; }; then
69157 eval "$as_ac_var=yes"
69158 else
69159 echo "$as_me: failed program was:" >&5
69160 sed 's/^/| /' conftest.$ac_ext >&5
69162 eval "$as_ac_var=no"
69164 rm -f conftest.err conftest.$ac_objext \
69165 conftest$ac_exeext conftest.$ac_ext
69167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69169 if test `eval echo '${'$as_ac_var'}'` = yes; then
69170 cat >>confdefs.h <<_ACEOF
69171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69172 _ACEOF
69175 done
69177 else
69179 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69180 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69181 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69182 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69183 echo $ECHO_N "(cached) $ECHO_C" >&6
69184 else
69188 ac_ext=cc
69189 ac_cpp='$CXXCPP $CPPFLAGS'
69190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69194 cat >conftest.$ac_ext <<_ACEOF
69195 /* confdefs.h. */
69196 _ACEOF
69197 cat confdefs.h >>conftest.$ac_ext
69198 cat >>conftest.$ac_ext <<_ACEOF
69199 /* end confdefs.h. */
69200 #include <math.h>
69201 #ifdef HAVE_IEEEFP_H
69202 #include <ieeefp.h>
69203 #endif
69206 main ()
69208 _isnanf(0);
69210 return 0;
69212 _ACEOF
69213 rm -f conftest.$ac_objext
69214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69215 (eval $ac_compile) 2>conftest.er1
69216 ac_status=$?
69217 grep -v '^ *+' conftest.er1 >conftest.err
69218 rm -f conftest.er1
69219 cat conftest.err >&5
69220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221 (exit $ac_status); } &&
69222 { ac_try='test -z "$ac_cxx_werror_flag"
69223 || test ! -s conftest.err'
69224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69225 (eval $ac_try) 2>&5
69226 ac_status=$?
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 (exit $ac_status); }; } &&
69229 { ac_try='test -s conftest.$ac_objext'
69230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69231 (eval $ac_try) 2>&5
69232 ac_status=$?
69233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69234 (exit $ac_status); }; }; then
69235 glibcxx_cv_func__isnanf_use=yes
69236 else
69237 echo "$as_me: failed program was:" >&5
69238 sed 's/^/| /' conftest.$ac_ext >&5
69240 glibcxx_cv_func__isnanf_use=no
69242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69254 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69256 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69258 for ac_func in _isnanf
69260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69261 echo "$as_me:$LINENO: checking for $ac_func" >&5
69262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69263 if eval "test \"\${$as_ac_var+set}\" = set"; then
69264 echo $ECHO_N "(cached) $ECHO_C" >&6
69265 else
69266 if test x$gcc_no_link = xyes; then
69267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69269 { (exit 1); exit 1; }; }
69271 cat >conftest.$ac_ext <<_ACEOF
69272 /* confdefs.h. */
69273 _ACEOF
69274 cat confdefs.h >>conftest.$ac_ext
69275 cat >>conftest.$ac_ext <<_ACEOF
69276 /* end confdefs.h. */
69277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69279 #define $ac_func innocuous_$ac_func
69281 /* System header to define __stub macros and hopefully few prototypes,
69282 which can conflict with char $ac_func (); below.
69283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69284 <limits.h> exists even on freestanding compilers. */
69286 #ifdef __STDC__
69287 # include <limits.h>
69288 #else
69289 # include <assert.h>
69290 #endif
69292 #undef $ac_func
69294 /* Override any gcc2 internal prototype to avoid an error. */
69295 #ifdef __cplusplus
69296 extern "C"
69298 #endif
69299 /* We use char because int might match the return type of a gcc2
69300 builtin and then its argument prototype would still apply. */
69301 char $ac_func ();
69302 /* The GNU C library defines this for functions which it implements
69303 to always fail with ENOSYS. Some functions are actually named
69304 something starting with __ and the normal name is an alias. */
69305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69306 choke me
69307 #else
69308 char (*f) () = $ac_func;
69309 #endif
69310 #ifdef __cplusplus
69312 #endif
69315 main ()
69317 return f != $ac_func;
69319 return 0;
69321 _ACEOF
69322 rm -f conftest.$ac_objext conftest$ac_exeext
69323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69324 (eval $ac_link) 2>conftest.er1
69325 ac_status=$?
69326 grep -v '^ *+' conftest.er1 >conftest.err
69327 rm -f conftest.er1
69328 cat conftest.err >&5
69329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69330 (exit $ac_status); } &&
69331 { ac_try='test -z "$ac_c_werror_flag"
69332 || test ! -s conftest.err'
69333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69334 (eval $ac_try) 2>&5
69335 ac_status=$?
69336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69337 (exit $ac_status); }; } &&
69338 { ac_try='test -s conftest$ac_exeext'
69339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69340 (eval $ac_try) 2>&5
69341 ac_status=$?
69342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69343 (exit $ac_status); }; }; then
69344 eval "$as_ac_var=yes"
69345 else
69346 echo "$as_me: failed program was:" >&5
69347 sed 's/^/| /' conftest.$ac_ext >&5
69349 eval "$as_ac_var=no"
69351 rm -f conftest.err conftest.$ac_objext \
69352 conftest$ac_exeext conftest.$ac_ext
69354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69356 if test `eval echo '${'$as_ac_var'}'` = yes; then
69357 cat >>confdefs.h <<_ACEOF
69358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69359 _ACEOF
69362 done
69372 echo "$as_me:$LINENO: checking for isinff declaration" >&5
69373 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69374 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69375 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69376 echo $ECHO_N "(cached) $ECHO_C" >&6
69377 else
69381 ac_ext=cc
69382 ac_cpp='$CXXCPP $CPPFLAGS'
69383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69387 cat >conftest.$ac_ext <<_ACEOF
69388 /* confdefs.h. */
69389 _ACEOF
69390 cat confdefs.h >>conftest.$ac_ext
69391 cat >>conftest.$ac_ext <<_ACEOF
69392 /* end confdefs.h. */
69393 #include <math.h>
69394 #ifdef HAVE_IEEEFP_H
69395 #include <ieeefp.h>
69396 #endif
69399 main ()
69401 isinff(0);
69403 return 0;
69405 _ACEOF
69406 rm -f conftest.$ac_objext
69407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69408 (eval $ac_compile) 2>conftest.er1
69409 ac_status=$?
69410 grep -v '^ *+' conftest.er1 >conftest.err
69411 rm -f conftest.er1
69412 cat conftest.err >&5
69413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69414 (exit $ac_status); } &&
69415 { ac_try='test -z "$ac_cxx_werror_flag"
69416 || test ! -s conftest.err'
69417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69418 (eval $ac_try) 2>&5
69419 ac_status=$?
69420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69421 (exit $ac_status); }; } &&
69422 { ac_try='test -s conftest.$ac_objext'
69423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69424 (eval $ac_try) 2>&5
69425 ac_status=$?
69426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69427 (exit $ac_status); }; }; then
69428 glibcxx_cv_func_isinff_use=yes
69429 else
69430 echo "$as_me: failed program was:" >&5
69431 sed 's/^/| /' conftest.$ac_ext >&5
69433 glibcxx_cv_func_isinff_use=no
69435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69436 ac_ext=c
69437 ac_cpp='$CPP $CPPFLAGS'
69438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69447 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69449 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69451 for ac_func in isinff
69453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69454 echo "$as_me:$LINENO: checking for $ac_func" >&5
69455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69456 if eval "test \"\${$as_ac_var+set}\" = set"; then
69457 echo $ECHO_N "(cached) $ECHO_C" >&6
69458 else
69459 if test x$gcc_no_link = xyes; then
69460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69462 { (exit 1); exit 1; }; }
69464 cat >conftest.$ac_ext <<_ACEOF
69465 /* confdefs.h. */
69466 _ACEOF
69467 cat confdefs.h >>conftest.$ac_ext
69468 cat >>conftest.$ac_ext <<_ACEOF
69469 /* end confdefs.h. */
69470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69472 #define $ac_func innocuous_$ac_func
69474 /* System header to define __stub macros and hopefully few prototypes,
69475 which can conflict with char $ac_func (); below.
69476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69477 <limits.h> exists even on freestanding compilers. */
69479 #ifdef __STDC__
69480 # include <limits.h>
69481 #else
69482 # include <assert.h>
69483 #endif
69485 #undef $ac_func
69487 /* Override any gcc2 internal prototype to avoid an error. */
69488 #ifdef __cplusplus
69489 extern "C"
69491 #endif
69492 /* We use char because int might match the return type of a gcc2
69493 builtin and then its argument prototype would still apply. */
69494 char $ac_func ();
69495 /* The GNU C library defines this for functions which it implements
69496 to always fail with ENOSYS. Some functions are actually named
69497 something starting with __ and the normal name is an alias. */
69498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69499 choke me
69500 #else
69501 char (*f) () = $ac_func;
69502 #endif
69503 #ifdef __cplusplus
69505 #endif
69508 main ()
69510 return f != $ac_func;
69512 return 0;
69514 _ACEOF
69515 rm -f conftest.$ac_objext conftest$ac_exeext
69516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69517 (eval $ac_link) 2>conftest.er1
69518 ac_status=$?
69519 grep -v '^ *+' conftest.er1 >conftest.err
69520 rm -f conftest.er1
69521 cat conftest.err >&5
69522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523 (exit $ac_status); } &&
69524 { ac_try='test -z "$ac_c_werror_flag"
69525 || test ! -s conftest.err'
69526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69527 (eval $ac_try) 2>&5
69528 ac_status=$?
69529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69530 (exit $ac_status); }; } &&
69531 { ac_try='test -s conftest$ac_exeext'
69532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69533 (eval $ac_try) 2>&5
69534 ac_status=$?
69535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69536 (exit $ac_status); }; }; then
69537 eval "$as_ac_var=yes"
69538 else
69539 echo "$as_me: failed program was:" >&5
69540 sed 's/^/| /' conftest.$ac_ext >&5
69542 eval "$as_ac_var=no"
69544 rm -f conftest.err conftest.$ac_objext \
69545 conftest$ac_exeext conftest.$ac_ext
69547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69549 if test `eval echo '${'$as_ac_var'}'` = yes; then
69550 cat >>confdefs.h <<_ACEOF
69551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69552 _ACEOF
69555 done
69557 else
69559 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
69560 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
69561 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
69562 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
69563 echo $ECHO_N "(cached) $ECHO_C" >&6
69564 else
69568 ac_ext=cc
69569 ac_cpp='$CXXCPP $CPPFLAGS'
69570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69574 cat >conftest.$ac_ext <<_ACEOF
69575 /* confdefs.h. */
69576 _ACEOF
69577 cat confdefs.h >>conftest.$ac_ext
69578 cat >>conftest.$ac_ext <<_ACEOF
69579 /* end confdefs.h. */
69580 #include <math.h>
69581 #ifdef HAVE_IEEEFP_H
69582 #include <ieeefp.h>
69583 #endif
69586 main ()
69588 _isinff(0);
69590 return 0;
69592 _ACEOF
69593 rm -f conftest.$ac_objext
69594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69595 (eval $ac_compile) 2>conftest.er1
69596 ac_status=$?
69597 grep -v '^ *+' conftest.er1 >conftest.err
69598 rm -f conftest.er1
69599 cat conftest.err >&5
69600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69601 (exit $ac_status); } &&
69602 { ac_try='test -z "$ac_cxx_werror_flag"
69603 || test ! -s conftest.err'
69604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69605 (eval $ac_try) 2>&5
69606 ac_status=$?
69607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608 (exit $ac_status); }; } &&
69609 { ac_try='test -s conftest.$ac_objext'
69610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69611 (eval $ac_try) 2>&5
69612 ac_status=$?
69613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69614 (exit $ac_status); }; }; then
69615 glibcxx_cv_func__isinff_use=yes
69616 else
69617 echo "$as_me: failed program was:" >&5
69618 sed 's/^/| /' conftest.$ac_ext >&5
69620 glibcxx_cv_func__isinff_use=no
69622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69623 ac_ext=c
69624 ac_cpp='$CPP $CPPFLAGS'
69625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69634 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69636 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69638 for ac_func in _isinff
69640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69641 echo "$as_me:$LINENO: checking for $ac_func" >&5
69642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69643 if eval "test \"\${$as_ac_var+set}\" = set"; then
69644 echo $ECHO_N "(cached) $ECHO_C" >&6
69645 else
69646 if test x$gcc_no_link = xyes; then
69647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69649 { (exit 1); exit 1; }; }
69651 cat >conftest.$ac_ext <<_ACEOF
69652 /* confdefs.h. */
69653 _ACEOF
69654 cat confdefs.h >>conftest.$ac_ext
69655 cat >>conftest.$ac_ext <<_ACEOF
69656 /* end confdefs.h. */
69657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69659 #define $ac_func innocuous_$ac_func
69661 /* System header to define __stub macros and hopefully few prototypes,
69662 which can conflict with char $ac_func (); below.
69663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69664 <limits.h> exists even on freestanding compilers. */
69666 #ifdef __STDC__
69667 # include <limits.h>
69668 #else
69669 # include <assert.h>
69670 #endif
69672 #undef $ac_func
69674 /* Override any gcc2 internal prototype to avoid an error. */
69675 #ifdef __cplusplus
69676 extern "C"
69678 #endif
69679 /* We use char because int might match the return type of a gcc2
69680 builtin and then its argument prototype would still apply. */
69681 char $ac_func ();
69682 /* The GNU C library defines this for functions which it implements
69683 to always fail with ENOSYS. Some functions are actually named
69684 something starting with __ and the normal name is an alias. */
69685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69686 choke me
69687 #else
69688 char (*f) () = $ac_func;
69689 #endif
69690 #ifdef __cplusplus
69692 #endif
69695 main ()
69697 return f != $ac_func;
69699 return 0;
69701 _ACEOF
69702 rm -f conftest.$ac_objext conftest$ac_exeext
69703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69704 (eval $ac_link) 2>conftest.er1
69705 ac_status=$?
69706 grep -v '^ *+' conftest.er1 >conftest.err
69707 rm -f conftest.er1
69708 cat conftest.err >&5
69709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69710 (exit $ac_status); } &&
69711 { ac_try='test -z "$ac_c_werror_flag"
69712 || test ! -s conftest.err'
69713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69714 (eval $ac_try) 2>&5
69715 ac_status=$?
69716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69717 (exit $ac_status); }; } &&
69718 { ac_try='test -s conftest$ac_exeext'
69719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69720 (eval $ac_try) 2>&5
69721 ac_status=$?
69722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69723 (exit $ac_status); }; }; then
69724 eval "$as_ac_var=yes"
69725 else
69726 echo "$as_me: failed program was:" >&5
69727 sed 's/^/| /' conftest.$ac_ext >&5
69729 eval "$as_ac_var=no"
69731 rm -f conftest.err conftest.$ac_objext \
69732 conftest$ac_exeext conftest.$ac_ext
69734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69736 if test `eval echo '${'$as_ac_var'}'` = yes; then
69737 cat >>confdefs.h <<_ACEOF
69738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69739 _ACEOF
69742 done
69752 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69753 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69754 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69755 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69756 echo $ECHO_N "(cached) $ECHO_C" >&6
69757 else
69761 ac_ext=cc
69762 ac_cpp='$CXXCPP $CPPFLAGS'
69763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69767 cat >conftest.$ac_ext <<_ACEOF
69768 /* confdefs.h. */
69769 _ACEOF
69770 cat confdefs.h >>conftest.$ac_ext
69771 cat >>conftest.$ac_ext <<_ACEOF
69772 /* end confdefs.h. */
69773 #include <math.h>
69775 main ()
69777 atan2f(0, 0);
69779 return 0;
69781 _ACEOF
69782 rm -f conftest.$ac_objext
69783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69784 (eval $ac_compile) 2>conftest.er1
69785 ac_status=$?
69786 grep -v '^ *+' conftest.er1 >conftest.err
69787 rm -f conftest.er1
69788 cat conftest.err >&5
69789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69790 (exit $ac_status); } &&
69791 { ac_try='test -z "$ac_cxx_werror_flag"
69792 || test ! -s conftest.err'
69793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69794 (eval $ac_try) 2>&5
69795 ac_status=$?
69796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69797 (exit $ac_status); }; } &&
69798 { ac_try='test -s conftest.$ac_objext'
69799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69800 (eval $ac_try) 2>&5
69801 ac_status=$?
69802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69803 (exit $ac_status); }; }; then
69804 glibcxx_cv_func_atan2f_use=yes
69805 else
69806 echo "$as_me: failed program was:" >&5
69807 sed 's/^/| /' conftest.$ac_ext >&5
69809 glibcxx_cv_func_atan2f_use=no
69811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69812 ac_ext=c
69813 ac_cpp='$CPP $CPPFLAGS'
69814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69823 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69825 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69827 for ac_func in atan2f
69829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69830 echo "$as_me:$LINENO: checking for $ac_func" >&5
69831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69832 if eval "test \"\${$as_ac_var+set}\" = set"; then
69833 echo $ECHO_N "(cached) $ECHO_C" >&6
69834 else
69835 if test x$gcc_no_link = xyes; then
69836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69838 { (exit 1); exit 1; }; }
69840 cat >conftest.$ac_ext <<_ACEOF
69841 /* confdefs.h. */
69842 _ACEOF
69843 cat confdefs.h >>conftest.$ac_ext
69844 cat >>conftest.$ac_ext <<_ACEOF
69845 /* end confdefs.h. */
69846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69848 #define $ac_func innocuous_$ac_func
69850 /* System header to define __stub macros and hopefully few prototypes,
69851 which can conflict with char $ac_func (); below.
69852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69853 <limits.h> exists even on freestanding compilers. */
69855 #ifdef __STDC__
69856 # include <limits.h>
69857 #else
69858 # include <assert.h>
69859 #endif
69861 #undef $ac_func
69863 /* Override any gcc2 internal prototype to avoid an error. */
69864 #ifdef __cplusplus
69865 extern "C"
69867 #endif
69868 /* We use char because int might match the return type of a gcc2
69869 builtin and then its argument prototype would still apply. */
69870 char $ac_func ();
69871 /* The GNU C library defines this for functions which it implements
69872 to always fail with ENOSYS. Some functions are actually named
69873 something starting with __ and the normal name is an alias. */
69874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69875 choke me
69876 #else
69877 char (*f) () = $ac_func;
69878 #endif
69879 #ifdef __cplusplus
69881 #endif
69884 main ()
69886 return f != $ac_func;
69888 return 0;
69890 _ACEOF
69891 rm -f conftest.$ac_objext conftest$ac_exeext
69892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69893 (eval $ac_link) 2>conftest.er1
69894 ac_status=$?
69895 grep -v '^ *+' conftest.er1 >conftest.err
69896 rm -f conftest.er1
69897 cat conftest.err >&5
69898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69899 (exit $ac_status); } &&
69900 { ac_try='test -z "$ac_c_werror_flag"
69901 || test ! -s conftest.err'
69902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69903 (eval $ac_try) 2>&5
69904 ac_status=$?
69905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69906 (exit $ac_status); }; } &&
69907 { ac_try='test -s conftest$ac_exeext'
69908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69909 (eval $ac_try) 2>&5
69910 ac_status=$?
69911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69912 (exit $ac_status); }; }; then
69913 eval "$as_ac_var=yes"
69914 else
69915 echo "$as_me: failed program was:" >&5
69916 sed 's/^/| /' conftest.$ac_ext >&5
69918 eval "$as_ac_var=no"
69920 rm -f conftest.err conftest.$ac_objext \
69921 conftest$ac_exeext conftest.$ac_ext
69923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69925 if test `eval echo '${'$as_ac_var'}'` = yes; then
69926 cat >>confdefs.h <<_ACEOF
69927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69928 _ACEOF
69931 done
69933 else
69935 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69936 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69937 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69938 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69939 echo $ECHO_N "(cached) $ECHO_C" >&6
69940 else
69944 ac_ext=cc
69945 ac_cpp='$CXXCPP $CPPFLAGS'
69946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69950 cat >conftest.$ac_ext <<_ACEOF
69951 /* confdefs.h. */
69952 _ACEOF
69953 cat confdefs.h >>conftest.$ac_ext
69954 cat >>conftest.$ac_ext <<_ACEOF
69955 /* end confdefs.h. */
69956 #include <math.h>
69958 main ()
69960 _atan2f(0, 0);
69962 return 0;
69964 _ACEOF
69965 rm -f conftest.$ac_objext
69966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69967 (eval $ac_compile) 2>conftest.er1
69968 ac_status=$?
69969 grep -v '^ *+' conftest.er1 >conftest.err
69970 rm -f conftest.er1
69971 cat conftest.err >&5
69972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69973 (exit $ac_status); } &&
69974 { ac_try='test -z "$ac_cxx_werror_flag"
69975 || test ! -s conftest.err'
69976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69977 (eval $ac_try) 2>&5
69978 ac_status=$?
69979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69980 (exit $ac_status); }; } &&
69981 { ac_try='test -s conftest.$ac_objext'
69982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69983 (eval $ac_try) 2>&5
69984 ac_status=$?
69985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69986 (exit $ac_status); }; }; then
69987 glibcxx_cv_func__atan2f_use=yes
69988 else
69989 echo "$as_me: failed program was:" >&5
69990 sed 's/^/| /' conftest.$ac_ext >&5
69992 glibcxx_cv_func__atan2f_use=no
69994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69995 ac_ext=c
69996 ac_cpp='$CPP $CPPFLAGS'
69997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
70006 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
70008 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
70010 for ac_func in _atan2f
70012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70013 echo "$as_me:$LINENO: checking for $ac_func" >&5
70014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70015 if eval "test \"\${$as_ac_var+set}\" = set"; then
70016 echo $ECHO_N "(cached) $ECHO_C" >&6
70017 else
70018 if test x$gcc_no_link = xyes; then
70019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70021 { (exit 1); exit 1; }; }
70023 cat >conftest.$ac_ext <<_ACEOF
70024 /* confdefs.h. */
70025 _ACEOF
70026 cat confdefs.h >>conftest.$ac_ext
70027 cat >>conftest.$ac_ext <<_ACEOF
70028 /* end confdefs.h. */
70029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70031 #define $ac_func innocuous_$ac_func
70033 /* System header to define __stub macros and hopefully few prototypes,
70034 which can conflict with char $ac_func (); below.
70035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70036 <limits.h> exists even on freestanding compilers. */
70038 #ifdef __STDC__
70039 # include <limits.h>
70040 #else
70041 # include <assert.h>
70042 #endif
70044 #undef $ac_func
70046 /* Override any gcc2 internal prototype to avoid an error. */
70047 #ifdef __cplusplus
70048 extern "C"
70050 #endif
70051 /* We use char because int might match the return type of a gcc2
70052 builtin and then its argument prototype would still apply. */
70053 char $ac_func ();
70054 /* The GNU C library defines this for functions which it implements
70055 to always fail with ENOSYS. Some functions are actually named
70056 something starting with __ and the normal name is an alias. */
70057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70058 choke me
70059 #else
70060 char (*f) () = $ac_func;
70061 #endif
70062 #ifdef __cplusplus
70064 #endif
70067 main ()
70069 return f != $ac_func;
70071 return 0;
70073 _ACEOF
70074 rm -f conftest.$ac_objext conftest$ac_exeext
70075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70076 (eval $ac_link) 2>conftest.er1
70077 ac_status=$?
70078 grep -v '^ *+' conftest.er1 >conftest.err
70079 rm -f conftest.er1
70080 cat conftest.err >&5
70081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70082 (exit $ac_status); } &&
70083 { ac_try='test -z "$ac_c_werror_flag"
70084 || test ! -s conftest.err'
70085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70086 (eval $ac_try) 2>&5
70087 ac_status=$?
70088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70089 (exit $ac_status); }; } &&
70090 { ac_try='test -s conftest$ac_exeext'
70091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70092 (eval $ac_try) 2>&5
70093 ac_status=$?
70094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70095 (exit $ac_status); }; }; then
70096 eval "$as_ac_var=yes"
70097 else
70098 echo "$as_me: failed program was:" >&5
70099 sed 's/^/| /' conftest.$ac_ext >&5
70101 eval "$as_ac_var=no"
70103 rm -f conftest.err conftest.$ac_objext \
70104 conftest$ac_exeext conftest.$ac_ext
70106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70108 if test `eval echo '${'$as_ac_var'}'` = yes; then
70109 cat >>confdefs.h <<_ACEOF
70110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70111 _ACEOF
70114 done
70124 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
70125 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
70126 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
70127 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
70128 echo $ECHO_N "(cached) $ECHO_C" >&6
70129 else
70133 ac_ext=cc
70134 ac_cpp='$CXXCPP $CPPFLAGS'
70135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70139 cat >conftest.$ac_ext <<_ACEOF
70140 /* confdefs.h. */
70141 _ACEOF
70142 cat confdefs.h >>conftest.$ac_ext
70143 cat >>conftest.$ac_ext <<_ACEOF
70144 /* end confdefs.h. */
70145 #include <math.h>
70146 #ifdef HAVE_IEEEFP_H
70147 #include <ieeefp.h>
70148 #endif
70151 main ()
70153 fabsf(0);
70155 return 0;
70157 _ACEOF
70158 rm -f conftest.$ac_objext
70159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70160 (eval $ac_compile) 2>conftest.er1
70161 ac_status=$?
70162 grep -v '^ *+' conftest.er1 >conftest.err
70163 rm -f conftest.er1
70164 cat conftest.err >&5
70165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70166 (exit $ac_status); } &&
70167 { ac_try='test -z "$ac_cxx_werror_flag"
70168 || test ! -s conftest.err'
70169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70170 (eval $ac_try) 2>&5
70171 ac_status=$?
70172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70173 (exit $ac_status); }; } &&
70174 { ac_try='test -s conftest.$ac_objext'
70175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70176 (eval $ac_try) 2>&5
70177 ac_status=$?
70178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70179 (exit $ac_status); }; }; then
70180 glibcxx_cv_func_fabsf_use=yes
70181 else
70182 echo "$as_me: failed program was:" >&5
70183 sed 's/^/| /' conftest.$ac_ext >&5
70185 glibcxx_cv_func_fabsf_use=no
70187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70188 ac_ext=c
70189 ac_cpp='$CPP $CPPFLAGS'
70190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70199 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70201 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70203 for ac_func in fabsf
70205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70206 echo "$as_me:$LINENO: checking for $ac_func" >&5
70207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70208 if eval "test \"\${$as_ac_var+set}\" = set"; then
70209 echo $ECHO_N "(cached) $ECHO_C" >&6
70210 else
70211 if test x$gcc_no_link = xyes; then
70212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70214 { (exit 1); exit 1; }; }
70216 cat >conftest.$ac_ext <<_ACEOF
70217 /* confdefs.h. */
70218 _ACEOF
70219 cat confdefs.h >>conftest.$ac_ext
70220 cat >>conftest.$ac_ext <<_ACEOF
70221 /* end confdefs.h. */
70222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70224 #define $ac_func innocuous_$ac_func
70226 /* System header to define __stub macros and hopefully few prototypes,
70227 which can conflict with char $ac_func (); below.
70228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70229 <limits.h> exists even on freestanding compilers. */
70231 #ifdef __STDC__
70232 # include <limits.h>
70233 #else
70234 # include <assert.h>
70235 #endif
70237 #undef $ac_func
70239 /* Override any gcc2 internal prototype to avoid an error. */
70240 #ifdef __cplusplus
70241 extern "C"
70243 #endif
70244 /* We use char because int might match the return type of a gcc2
70245 builtin and then its argument prototype would still apply. */
70246 char $ac_func ();
70247 /* The GNU C library defines this for functions which it implements
70248 to always fail with ENOSYS. Some functions are actually named
70249 something starting with __ and the normal name is an alias. */
70250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70251 choke me
70252 #else
70253 char (*f) () = $ac_func;
70254 #endif
70255 #ifdef __cplusplus
70257 #endif
70260 main ()
70262 return f != $ac_func;
70264 return 0;
70266 _ACEOF
70267 rm -f conftest.$ac_objext conftest$ac_exeext
70268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70269 (eval $ac_link) 2>conftest.er1
70270 ac_status=$?
70271 grep -v '^ *+' conftest.er1 >conftest.err
70272 rm -f conftest.er1
70273 cat conftest.err >&5
70274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70275 (exit $ac_status); } &&
70276 { ac_try='test -z "$ac_c_werror_flag"
70277 || test ! -s conftest.err'
70278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70279 (eval $ac_try) 2>&5
70280 ac_status=$?
70281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70282 (exit $ac_status); }; } &&
70283 { ac_try='test -s conftest$ac_exeext'
70284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70285 (eval $ac_try) 2>&5
70286 ac_status=$?
70287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70288 (exit $ac_status); }; }; then
70289 eval "$as_ac_var=yes"
70290 else
70291 echo "$as_me: failed program was:" >&5
70292 sed 's/^/| /' conftest.$ac_ext >&5
70294 eval "$as_ac_var=no"
70296 rm -f conftest.err conftest.$ac_objext \
70297 conftest$ac_exeext conftest.$ac_ext
70299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70301 if test `eval echo '${'$as_ac_var'}'` = yes; then
70302 cat >>confdefs.h <<_ACEOF
70303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70304 _ACEOF
70307 done
70309 else
70311 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70312 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70313 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70314 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70315 echo $ECHO_N "(cached) $ECHO_C" >&6
70316 else
70320 ac_ext=cc
70321 ac_cpp='$CXXCPP $CPPFLAGS'
70322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70326 cat >conftest.$ac_ext <<_ACEOF
70327 /* confdefs.h. */
70328 _ACEOF
70329 cat confdefs.h >>conftest.$ac_ext
70330 cat >>conftest.$ac_ext <<_ACEOF
70331 /* end confdefs.h. */
70332 #include <math.h>
70333 #ifdef HAVE_IEEEFP_H
70334 #include <ieeefp.h>
70335 #endif
70338 main ()
70340 _fabsf(0);
70342 return 0;
70344 _ACEOF
70345 rm -f conftest.$ac_objext
70346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70347 (eval $ac_compile) 2>conftest.er1
70348 ac_status=$?
70349 grep -v '^ *+' conftest.er1 >conftest.err
70350 rm -f conftest.er1
70351 cat conftest.err >&5
70352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70353 (exit $ac_status); } &&
70354 { ac_try='test -z "$ac_cxx_werror_flag"
70355 || test ! -s conftest.err'
70356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70357 (eval $ac_try) 2>&5
70358 ac_status=$?
70359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70360 (exit $ac_status); }; } &&
70361 { ac_try='test -s conftest.$ac_objext'
70362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70363 (eval $ac_try) 2>&5
70364 ac_status=$?
70365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70366 (exit $ac_status); }; }; then
70367 glibcxx_cv_func__fabsf_use=yes
70368 else
70369 echo "$as_me: failed program was:" >&5
70370 sed 's/^/| /' conftest.$ac_ext >&5
70372 glibcxx_cv_func__fabsf_use=no
70374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70375 ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70386 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70388 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70390 for ac_func in _fabsf
70392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70393 echo "$as_me:$LINENO: checking for $ac_func" >&5
70394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70395 if eval "test \"\${$as_ac_var+set}\" = set"; then
70396 echo $ECHO_N "(cached) $ECHO_C" >&6
70397 else
70398 if test x$gcc_no_link = xyes; then
70399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70401 { (exit 1); exit 1; }; }
70403 cat >conftest.$ac_ext <<_ACEOF
70404 /* confdefs.h. */
70405 _ACEOF
70406 cat confdefs.h >>conftest.$ac_ext
70407 cat >>conftest.$ac_ext <<_ACEOF
70408 /* end confdefs.h. */
70409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70411 #define $ac_func innocuous_$ac_func
70413 /* System header to define __stub macros and hopefully few prototypes,
70414 which can conflict with char $ac_func (); below.
70415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70416 <limits.h> exists even on freestanding compilers. */
70418 #ifdef __STDC__
70419 # include <limits.h>
70420 #else
70421 # include <assert.h>
70422 #endif
70424 #undef $ac_func
70426 /* Override any gcc2 internal prototype to avoid an error. */
70427 #ifdef __cplusplus
70428 extern "C"
70430 #endif
70431 /* We use char because int might match the return type of a gcc2
70432 builtin and then its argument prototype would still apply. */
70433 char $ac_func ();
70434 /* The GNU C library defines this for functions which it implements
70435 to always fail with ENOSYS. Some functions are actually named
70436 something starting with __ and the normal name is an alias. */
70437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70438 choke me
70439 #else
70440 char (*f) () = $ac_func;
70441 #endif
70442 #ifdef __cplusplus
70444 #endif
70447 main ()
70449 return f != $ac_func;
70451 return 0;
70453 _ACEOF
70454 rm -f conftest.$ac_objext conftest$ac_exeext
70455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70456 (eval $ac_link) 2>conftest.er1
70457 ac_status=$?
70458 grep -v '^ *+' conftest.er1 >conftest.err
70459 rm -f conftest.er1
70460 cat conftest.err >&5
70461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70462 (exit $ac_status); } &&
70463 { ac_try='test -z "$ac_c_werror_flag"
70464 || test ! -s conftest.err'
70465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70466 (eval $ac_try) 2>&5
70467 ac_status=$?
70468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70469 (exit $ac_status); }; } &&
70470 { ac_try='test -s conftest$ac_exeext'
70471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70472 (eval $ac_try) 2>&5
70473 ac_status=$?
70474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70475 (exit $ac_status); }; }; then
70476 eval "$as_ac_var=yes"
70477 else
70478 echo "$as_me: failed program was:" >&5
70479 sed 's/^/| /' conftest.$ac_ext >&5
70481 eval "$as_ac_var=no"
70483 rm -f conftest.err conftest.$ac_objext \
70484 conftest$ac_exeext conftest.$ac_ext
70486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70488 if test `eval echo '${'$as_ac_var'}'` = yes; then
70489 cat >>confdefs.h <<_ACEOF
70490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70491 _ACEOF
70494 done
70504 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
70505 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
70506 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
70507 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
70508 echo $ECHO_N "(cached) $ECHO_C" >&6
70509 else
70513 ac_ext=cc
70514 ac_cpp='$CXXCPP $CPPFLAGS'
70515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70519 cat >conftest.$ac_ext <<_ACEOF
70520 /* confdefs.h. */
70521 _ACEOF
70522 cat confdefs.h >>conftest.$ac_ext
70523 cat >>conftest.$ac_ext <<_ACEOF
70524 /* end confdefs.h. */
70525 #include <math.h>
70527 main ()
70529 fmodf(0, 0);
70531 return 0;
70533 _ACEOF
70534 rm -f conftest.$ac_objext
70535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70536 (eval $ac_compile) 2>conftest.er1
70537 ac_status=$?
70538 grep -v '^ *+' conftest.er1 >conftest.err
70539 rm -f conftest.er1
70540 cat conftest.err >&5
70541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70542 (exit $ac_status); } &&
70543 { ac_try='test -z "$ac_cxx_werror_flag"
70544 || test ! -s conftest.err'
70545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70546 (eval $ac_try) 2>&5
70547 ac_status=$?
70548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70549 (exit $ac_status); }; } &&
70550 { ac_try='test -s conftest.$ac_objext'
70551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70552 (eval $ac_try) 2>&5
70553 ac_status=$?
70554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70555 (exit $ac_status); }; }; then
70556 glibcxx_cv_func_fmodf_use=yes
70557 else
70558 echo "$as_me: failed program was:" >&5
70559 sed 's/^/| /' conftest.$ac_ext >&5
70561 glibcxx_cv_func_fmodf_use=no
70563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70564 ac_ext=c
70565 ac_cpp='$CPP $CPPFLAGS'
70566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70575 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70577 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70579 for ac_func in fmodf
70581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70582 echo "$as_me:$LINENO: checking for $ac_func" >&5
70583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70584 if eval "test \"\${$as_ac_var+set}\" = set"; then
70585 echo $ECHO_N "(cached) $ECHO_C" >&6
70586 else
70587 if test x$gcc_no_link = xyes; then
70588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70590 { (exit 1); exit 1; }; }
70592 cat >conftest.$ac_ext <<_ACEOF
70593 /* confdefs.h. */
70594 _ACEOF
70595 cat confdefs.h >>conftest.$ac_ext
70596 cat >>conftest.$ac_ext <<_ACEOF
70597 /* end confdefs.h. */
70598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70600 #define $ac_func innocuous_$ac_func
70602 /* System header to define __stub macros and hopefully few prototypes,
70603 which can conflict with char $ac_func (); below.
70604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70605 <limits.h> exists even on freestanding compilers. */
70607 #ifdef __STDC__
70608 # include <limits.h>
70609 #else
70610 # include <assert.h>
70611 #endif
70613 #undef $ac_func
70615 /* Override any gcc2 internal prototype to avoid an error. */
70616 #ifdef __cplusplus
70617 extern "C"
70619 #endif
70620 /* We use char because int might match the return type of a gcc2
70621 builtin and then its argument prototype would still apply. */
70622 char $ac_func ();
70623 /* The GNU C library defines this for functions which it implements
70624 to always fail with ENOSYS. Some functions are actually named
70625 something starting with __ and the normal name is an alias. */
70626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70627 choke me
70628 #else
70629 char (*f) () = $ac_func;
70630 #endif
70631 #ifdef __cplusplus
70633 #endif
70636 main ()
70638 return f != $ac_func;
70640 return 0;
70642 _ACEOF
70643 rm -f conftest.$ac_objext conftest$ac_exeext
70644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70645 (eval $ac_link) 2>conftest.er1
70646 ac_status=$?
70647 grep -v '^ *+' conftest.er1 >conftest.err
70648 rm -f conftest.er1
70649 cat conftest.err >&5
70650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70651 (exit $ac_status); } &&
70652 { ac_try='test -z "$ac_c_werror_flag"
70653 || test ! -s conftest.err'
70654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70655 (eval $ac_try) 2>&5
70656 ac_status=$?
70657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70658 (exit $ac_status); }; } &&
70659 { ac_try='test -s conftest$ac_exeext'
70660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70661 (eval $ac_try) 2>&5
70662 ac_status=$?
70663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70664 (exit $ac_status); }; }; then
70665 eval "$as_ac_var=yes"
70666 else
70667 echo "$as_me: failed program was:" >&5
70668 sed 's/^/| /' conftest.$ac_ext >&5
70670 eval "$as_ac_var=no"
70672 rm -f conftest.err conftest.$ac_objext \
70673 conftest$ac_exeext conftest.$ac_ext
70675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70677 if test `eval echo '${'$as_ac_var'}'` = yes; then
70678 cat >>confdefs.h <<_ACEOF
70679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70680 _ACEOF
70683 done
70685 else
70687 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70688 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70689 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70690 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70691 echo $ECHO_N "(cached) $ECHO_C" >&6
70692 else
70696 ac_ext=cc
70697 ac_cpp='$CXXCPP $CPPFLAGS'
70698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70702 cat >conftest.$ac_ext <<_ACEOF
70703 /* confdefs.h. */
70704 _ACEOF
70705 cat confdefs.h >>conftest.$ac_ext
70706 cat >>conftest.$ac_ext <<_ACEOF
70707 /* end confdefs.h. */
70708 #include <math.h>
70710 main ()
70712 _fmodf(0, 0);
70714 return 0;
70716 _ACEOF
70717 rm -f conftest.$ac_objext
70718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70719 (eval $ac_compile) 2>conftest.er1
70720 ac_status=$?
70721 grep -v '^ *+' conftest.er1 >conftest.err
70722 rm -f conftest.er1
70723 cat conftest.err >&5
70724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70725 (exit $ac_status); } &&
70726 { ac_try='test -z "$ac_cxx_werror_flag"
70727 || test ! -s conftest.err'
70728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70729 (eval $ac_try) 2>&5
70730 ac_status=$?
70731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70732 (exit $ac_status); }; } &&
70733 { ac_try='test -s conftest.$ac_objext'
70734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70735 (eval $ac_try) 2>&5
70736 ac_status=$?
70737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70738 (exit $ac_status); }; }; then
70739 glibcxx_cv_func__fmodf_use=yes
70740 else
70741 echo "$as_me: failed program was:" >&5
70742 sed 's/^/| /' conftest.$ac_ext >&5
70744 glibcxx_cv_func__fmodf_use=no
70746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70747 ac_ext=c
70748 ac_cpp='$CPP $CPPFLAGS'
70749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70758 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70760 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70762 for ac_func in _fmodf
70764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70765 echo "$as_me:$LINENO: checking for $ac_func" >&5
70766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70767 if eval "test \"\${$as_ac_var+set}\" = set"; then
70768 echo $ECHO_N "(cached) $ECHO_C" >&6
70769 else
70770 if test x$gcc_no_link = xyes; then
70771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70773 { (exit 1); exit 1; }; }
70775 cat >conftest.$ac_ext <<_ACEOF
70776 /* confdefs.h. */
70777 _ACEOF
70778 cat confdefs.h >>conftest.$ac_ext
70779 cat >>conftest.$ac_ext <<_ACEOF
70780 /* end confdefs.h. */
70781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70783 #define $ac_func innocuous_$ac_func
70785 /* System header to define __stub macros and hopefully few prototypes,
70786 which can conflict with char $ac_func (); below.
70787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70788 <limits.h> exists even on freestanding compilers. */
70790 #ifdef __STDC__
70791 # include <limits.h>
70792 #else
70793 # include <assert.h>
70794 #endif
70796 #undef $ac_func
70798 /* Override any gcc2 internal prototype to avoid an error. */
70799 #ifdef __cplusplus
70800 extern "C"
70802 #endif
70803 /* We use char because int might match the return type of a gcc2
70804 builtin and then its argument prototype would still apply. */
70805 char $ac_func ();
70806 /* The GNU C library defines this for functions which it implements
70807 to always fail with ENOSYS. Some functions are actually named
70808 something starting with __ and the normal name is an alias. */
70809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70810 choke me
70811 #else
70812 char (*f) () = $ac_func;
70813 #endif
70814 #ifdef __cplusplus
70816 #endif
70819 main ()
70821 return f != $ac_func;
70823 return 0;
70825 _ACEOF
70826 rm -f conftest.$ac_objext conftest$ac_exeext
70827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70828 (eval $ac_link) 2>conftest.er1
70829 ac_status=$?
70830 grep -v '^ *+' conftest.er1 >conftest.err
70831 rm -f conftest.er1
70832 cat conftest.err >&5
70833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70834 (exit $ac_status); } &&
70835 { ac_try='test -z "$ac_c_werror_flag"
70836 || test ! -s conftest.err'
70837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70838 (eval $ac_try) 2>&5
70839 ac_status=$?
70840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70841 (exit $ac_status); }; } &&
70842 { ac_try='test -s conftest$ac_exeext'
70843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70844 (eval $ac_try) 2>&5
70845 ac_status=$?
70846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70847 (exit $ac_status); }; }; then
70848 eval "$as_ac_var=yes"
70849 else
70850 echo "$as_me: failed program was:" >&5
70851 sed 's/^/| /' conftest.$ac_ext >&5
70853 eval "$as_ac_var=no"
70855 rm -f conftest.err conftest.$ac_objext \
70856 conftest$ac_exeext conftest.$ac_ext
70858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70860 if test `eval echo '${'$as_ac_var'}'` = yes; then
70861 cat >>confdefs.h <<_ACEOF
70862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70863 _ACEOF
70866 done
70876 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70877 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70878 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70879 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70880 echo $ECHO_N "(cached) $ECHO_C" >&6
70881 else
70885 ac_ext=cc
70886 ac_cpp='$CXXCPP $CPPFLAGS'
70887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70891 cat >conftest.$ac_ext <<_ACEOF
70892 /* confdefs.h. */
70893 _ACEOF
70894 cat confdefs.h >>conftest.$ac_ext
70895 cat >>conftest.$ac_ext <<_ACEOF
70896 /* end confdefs.h. */
70897 #include <math.h>
70899 main ()
70901 frexpf(0, 0);
70903 return 0;
70905 _ACEOF
70906 rm -f conftest.$ac_objext
70907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70908 (eval $ac_compile) 2>conftest.er1
70909 ac_status=$?
70910 grep -v '^ *+' conftest.er1 >conftest.err
70911 rm -f conftest.er1
70912 cat conftest.err >&5
70913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70914 (exit $ac_status); } &&
70915 { ac_try='test -z "$ac_cxx_werror_flag"
70916 || test ! -s conftest.err'
70917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70918 (eval $ac_try) 2>&5
70919 ac_status=$?
70920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70921 (exit $ac_status); }; } &&
70922 { ac_try='test -s conftest.$ac_objext'
70923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70924 (eval $ac_try) 2>&5
70925 ac_status=$?
70926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70927 (exit $ac_status); }; }; then
70928 glibcxx_cv_func_frexpf_use=yes
70929 else
70930 echo "$as_me: failed program was:" >&5
70931 sed 's/^/| /' conftest.$ac_ext >&5
70933 glibcxx_cv_func_frexpf_use=no
70935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70936 ac_ext=c
70937 ac_cpp='$CPP $CPPFLAGS'
70938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70947 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70949 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70951 for ac_func in frexpf
70953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70954 echo "$as_me:$LINENO: checking for $ac_func" >&5
70955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70956 if eval "test \"\${$as_ac_var+set}\" = set"; then
70957 echo $ECHO_N "(cached) $ECHO_C" >&6
70958 else
70959 if test x$gcc_no_link = xyes; then
70960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70962 { (exit 1); exit 1; }; }
70964 cat >conftest.$ac_ext <<_ACEOF
70965 /* confdefs.h. */
70966 _ACEOF
70967 cat confdefs.h >>conftest.$ac_ext
70968 cat >>conftest.$ac_ext <<_ACEOF
70969 /* end confdefs.h. */
70970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70972 #define $ac_func innocuous_$ac_func
70974 /* System header to define __stub macros and hopefully few prototypes,
70975 which can conflict with char $ac_func (); below.
70976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70977 <limits.h> exists even on freestanding compilers. */
70979 #ifdef __STDC__
70980 # include <limits.h>
70981 #else
70982 # include <assert.h>
70983 #endif
70985 #undef $ac_func
70987 /* Override any gcc2 internal prototype to avoid an error. */
70988 #ifdef __cplusplus
70989 extern "C"
70991 #endif
70992 /* We use char because int might match the return type of a gcc2
70993 builtin and then its argument prototype would still apply. */
70994 char $ac_func ();
70995 /* The GNU C library defines this for functions which it implements
70996 to always fail with ENOSYS. Some functions are actually named
70997 something starting with __ and the normal name is an alias. */
70998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70999 choke me
71000 #else
71001 char (*f) () = $ac_func;
71002 #endif
71003 #ifdef __cplusplus
71005 #endif
71008 main ()
71010 return f != $ac_func;
71012 return 0;
71014 _ACEOF
71015 rm -f conftest.$ac_objext conftest$ac_exeext
71016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71017 (eval $ac_link) 2>conftest.er1
71018 ac_status=$?
71019 grep -v '^ *+' conftest.er1 >conftest.err
71020 rm -f conftest.er1
71021 cat conftest.err >&5
71022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71023 (exit $ac_status); } &&
71024 { ac_try='test -z "$ac_c_werror_flag"
71025 || test ! -s conftest.err'
71026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71027 (eval $ac_try) 2>&5
71028 ac_status=$?
71029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71030 (exit $ac_status); }; } &&
71031 { ac_try='test -s conftest$ac_exeext'
71032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71033 (eval $ac_try) 2>&5
71034 ac_status=$?
71035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71036 (exit $ac_status); }; }; then
71037 eval "$as_ac_var=yes"
71038 else
71039 echo "$as_me: failed program was:" >&5
71040 sed 's/^/| /' conftest.$ac_ext >&5
71042 eval "$as_ac_var=no"
71044 rm -f conftest.err conftest.$ac_objext \
71045 conftest$ac_exeext conftest.$ac_ext
71047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71049 if test `eval echo '${'$as_ac_var'}'` = yes; then
71050 cat >>confdefs.h <<_ACEOF
71051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71052 _ACEOF
71055 done
71057 else
71059 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
71060 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
71061 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
71062 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
71063 echo $ECHO_N "(cached) $ECHO_C" >&6
71064 else
71068 ac_ext=cc
71069 ac_cpp='$CXXCPP $CPPFLAGS'
71070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71074 cat >conftest.$ac_ext <<_ACEOF
71075 /* confdefs.h. */
71076 _ACEOF
71077 cat confdefs.h >>conftest.$ac_ext
71078 cat >>conftest.$ac_ext <<_ACEOF
71079 /* end confdefs.h. */
71080 #include <math.h>
71082 main ()
71084 _frexpf(0, 0);
71086 return 0;
71088 _ACEOF
71089 rm -f conftest.$ac_objext
71090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71091 (eval $ac_compile) 2>conftest.er1
71092 ac_status=$?
71093 grep -v '^ *+' conftest.er1 >conftest.err
71094 rm -f conftest.er1
71095 cat conftest.err >&5
71096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71097 (exit $ac_status); } &&
71098 { ac_try='test -z "$ac_cxx_werror_flag"
71099 || test ! -s conftest.err'
71100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71101 (eval $ac_try) 2>&5
71102 ac_status=$?
71103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71104 (exit $ac_status); }; } &&
71105 { ac_try='test -s conftest.$ac_objext'
71106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71107 (eval $ac_try) 2>&5
71108 ac_status=$?
71109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71110 (exit $ac_status); }; }; then
71111 glibcxx_cv_func__frexpf_use=yes
71112 else
71113 echo "$as_me: failed program was:" >&5
71114 sed 's/^/| /' conftest.$ac_ext >&5
71116 glibcxx_cv_func__frexpf_use=no
71118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71119 ac_ext=c
71120 ac_cpp='$CPP $CPPFLAGS'
71121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
71130 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
71132 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
71134 for ac_func in _frexpf
71136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71137 echo "$as_me:$LINENO: checking for $ac_func" >&5
71138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71139 if eval "test \"\${$as_ac_var+set}\" = set"; then
71140 echo $ECHO_N "(cached) $ECHO_C" >&6
71141 else
71142 if test x$gcc_no_link = xyes; then
71143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71145 { (exit 1); exit 1; }; }
71147 cat >conftest.$ac_ext <<_ACEOF
71148 /* confdefs.h. */
71149 _ACEOF
71150 cat confdefs.h >>conftest.$ac_ext
71151 cat >>conftest.$ac_ext <<_ACEOF
71152 /* end confdefs.h. */
71153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71155 #define $ac_func innocuous_$ac_func
71157 /* System header to define __stub macros and hopefully few prototypes,
71158 which can conflict with char $ac_func (); below.
71159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71160 <limits.h> exists even on freestanding compilers. */
71162 #ifdef __STDC__
71163 # include <limits.h>
71164 #else
71165 # include <assert.h>
71166 #endif
71168 #undef $ac_func
71170 /* Override any gcc2 internal prototype to avoid an error. */
71171 #ifdef __cplusplus
71172 extern "C"
71174 #endif
71175 /* We use char because int might match the return type of a gcc2
71176 builtin and then its argument prototype would still apply. */
71177 char $ac_func ();
71178 /* The GNU C library defines this for functions which it implements
71179 to always fail with ENOSYS. Some functions are actually named
71180 something starting with __ and the normal name is an alias. */
71181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71182 choke me
71183 #else
71184 char (*f) () = $ac_func;
71185 #endif
71186 #ifdef __cplusplus
71188 #endif
71191 main ()
71193 return f != $ac_func;
71195 return 0;
71197 _ACEOF
71198 rm -f conftest.$ac_objext conftest$ac_exeext
71199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71200 (eval $ac_link) 2>conftest.er1
71201 ac_status=$?
71202 grep -v '^ *+' conftest.er1 >conftest.err
71203 rm -f conftest.er1
71204 cat conftest.err >&5
71205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71206 (exit $ac_status); } &&
71207 { ac_try='test -z "$ac_c_werror_flag"
71208 || test ! -s conftest.err'
71209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71210 (eval $ac_try) 2>&5
71211 ac_status=$?
71212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71213 (exit $ac_status); }; } &&
71214 { ac_try='test -s conftest$ac_exeext'
71215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71216 (eval $ac_try) 2>&5
71217 ac_status=$?
71218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71219 (exit $ac_status); }; }; then
71220 eval "$as_ac_var=yes"
71221 else
71222 echo "$as_me: failed program was:" >&5
71223 sed 's/^/| /' conftest.$ac_ext >&5
71225 eval "$as_ac_var=no"
71227 rm -f conftest.err conftest.$ac_objext \
71228 conftest$ac_exeext conftest.$ac_ext
71230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71232 if test `eval echo '${'$as_ac_var'}'` = yes; then
71233 cat >>confdefs.h <<_ACEOF
71234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71235 _ACEOF
71238 done
71248 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71249 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71250 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71251 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71252 echo $ECHO_N "(cached) $ECHO_C" >&6
71253 else
71257 ac_ext=cc
71258 ac_cpp='$CXXCPP $CPPFLAGS'
71259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71263 cat >conftest.$ac_ext <<_ACEOF
71264 /* confdefs.h. */
71265 _ACEOF
71266 cat confdefs.h >>conftest.$ac_ext
71267 cat >>conftest.$ac_ext <<_ACEOF
71268 /* end confdefs.h. */
71269 #include <math.h>
71271 main ()
71273 hypotf(0, 0);
71275 return 0;
71277 _ACEOF
71278 rm -f conftest.$ac_objext
71279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71280 (eval $ac_compile) 2>conftest.er1
71281 ac_status=$?
71282 grep -v '^ *+' conftest.er1 >conftest.err
71283 rm -f conftest.er1
71284 cat conftest.err >&5
71285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71286 (exit $ac_status); } &&
71287 { ac_try='test -z "$ac_cxx_werror_flag"
71288 || test ! -s conftest.err'
71289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71290 (eval $ac_try) 2>&5
71291 ac_status=$?
71292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71293 (exit $ac_status); }; } &&
71294 { ac_try='test -s conftest.$ac_objext'
71295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71296 (eval $ac_try) 2>&5
71297 ac_status=$?
71298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71299 (exit $ac_status); }; }; then
71300 glibcxx_cv_func_hypotf_use=yes
71301 else
71302 echo "$as_me: failed program was:" >&5
71303 sed 's/^/| /' conftest.$ac_ext >&5
71305 glibcxx_cv_func_hypotf_use=no
71307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71308 ac_ext=c
71309 ac_cpp='$CPP $CPPFLAGS'
71310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71319 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71321 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71323 for ac_func in hypotf
71325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71326 echo "$as_me:$LINENO: checking for $ac_func" >&5
71327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71328 if eval "test \"\${$as_ac_var+set}\" = set"; then
71329 echo $ECHO_N "(cached) $ECHO_C" >&6
71330 else
71331 if test x$gcc_no_link = xyes; then
71332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71334 { (exit 1); exit 1; }; }
71336 cat >conftest.$ac_ext <<_ACEOF
71337 /* confdefs.h. */
71338 _ACEOF
71339 cat confdefs.h >>conftest.$ac_ext
71340 cat >>conftest.$ac_ext <<_ACEOF
71341 /* end confdefs.h. */
71342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71344 #define $ac_func innocuous_$ac_func
71346 /* System header to define __stub macros and hopefully few prototypes,
71347 which can conflict with char $ac_func (); below.
71348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71349 <limits.h> exists even on freestanding compilers. */
71351 #ifdef __STDC__
71352 # include <limits.h>
71353 #else
71354 # include <assert.h>
71355 #endif
71357 #undef $ac_func
71359 /* Override any gcc2 internal prototype to avoid an error. */
71360 #ifdef __cplusplus
71361 extern "C"
71363 #endif
71364 /* We use char because int might match the return type of a gcc2
71365 builtin and then its argument prototype would still apply. */
71366 char $ac_func ();
71367 /* The GNU C library defines this for functions which it implements
71368 to always fail with ENOSYS. Some functions are actually named
71369 something starting with __ and the normal name is an alias. */
71370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71371 choke me
71372 #else
71373 char (*f) () = $ac_func;
71374 #endif
71375 #ifdef __cplusplus
71377 #endif
71380 main ()
71382 return f != $ac_func;
71384 return 0;
71386 _ACEOF
71387 rm -f conftest.$ac_objext conftest$ac_exeext
71388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71389 (eval $ac_link) 2>conftest.er1
71390 ac_status=$?
71391 grep -v '^ *+' conftest.er1 >conftest.err
71392 rm -f conftest.er1
71393 cat conftest.err >&5
71394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71395 (exit $ac_status); } &&
71396 { ac_try='test -z "$ac_c_werror_flag"
71397 || test ! -s conftest.err'
71398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71399 (eval $ac_try) 2>&5
71400 ac_status=$?
71401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71402 (exit $ac_status); }; } &&
71403 { ac_try='test -s conftest$ac_exeext'
71404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71405 (eval $ac_try) 2>&5
71406 ac_status=$?
71407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71408 (exit $ac_status); }; }; then
71409 eval "$as_ac_var=yes"
71410 else
71411 echo "$as_me: failed program was:" >&5
71412 sed 's/^/| /' conftest.$ac_ext >&5
71414 eval "$as_ac_var=no"
71416 rm -f conftest.err conftest.$ac_objext \
71417 conftest$ac_exeext conftest.$ac_ext
71419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71421 if test `eval echo '${'$as_ac_var'}'` = yes; then
71422 cat >>confdefs.h <<_ACEOF
71423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71424 _ACEOF
71427 done
71429 else
71431 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71432 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71433 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71434 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71435 echo $ECHO_N "(cached) $ECHO_C" >&6
71436 else
71440 ac_ext=cc
71441 ac_cpp='$CXXCPP $CPPFLAGS'
71442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71446 cat >conftest.$ac_ext <<_ACEOF
71447 /* confdefs.h. */
71448 _ACEOF
71449 cat confdefs.h >>conftest.$ac_ext
71450 cat >>conftest.$ac_ext <<_ACEOF
71451 /* end confdefs.h. */
71452 #include <math.h>
71454 main ()
71456 _hypotf(0, 0);
71458 return 0;
71460 _ACEOF
71461 rm -f conftest.$ac_objext
71462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71463 (eval $ac_compile) 2>conftest.er1
71464 ac_status=$?
71465 grep -v '^ *+' conftest.er1 >conftest.err
71466 rm -f conftest.er1
71467 cat conftest.err >&5
71468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71469 (exit $ac_status); } &&
71470 { ac_try='test -z "$ac_cxx_werror_flag"
71471 || test ! -s conftest.err'
71472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71473 (eval $ac_try) 2>&5
71474 ac_status=$?
71475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71476 (exit $ac_status); }; } &&
71477 { ac_try='test -s conftest.$ac_objext'
71478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71479 (eval $ac_try) 2>&5
71480 ac_status=$?
71481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71482 (exit $ac_status); }; }; then
71483 glibcxx_cv_func__hypotf_use=yes
71484 else
71485 echo "$as_me: failed program was:" >&5
71486 sed 's/^/| /' conftest.$ac_ext >&5
71488 glibcxx_cv_func__hypotf_use=no
71490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71491 ac_ext=c
71492 ac_cpp='$CPP $CPPFLAGS'
71493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
71502 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
71504 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
71506 for ac_func in _hypotf
71508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71509 echo "$as_me:$LINENO: checking for $ac_func" >&5
71510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71511 if eval "test \"\${$as_ac_var+set}\" = set"; then
71512 echo $ECHO_N "(cached) $ECHO_C" >&6
71513 else
71514 if test x$gcc_no_link = xyes; then
71515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71517 { (exit 1); exit 1; }; }
71519 cat >conftest.$ac_ext <<_ACEOF
71520 /* confdefs.h. */
71521 _ACEOF
71522 cat confdefs.h >>conftest.$ac_ext
71523 cat >>conftest.$ac_ext <<_ACEOF
71524 /* end confdefs.h. */
71525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71527 #define $ac_func innocuous_$ac_func
71529 /* System header to define __stub macros and hopefully few prototypes,
71530 which can conflict with char $ac_func (); below.
71531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71532 <limits.h> exists even on freestanding compilers. */
71534 #ifdef __STDC__
71535 # include <limits.h>
71536 #else
71537 # include <assert.h>
71538 #endif
71540 #undef $ac_func
71542 /* Override any gcc2 internal prototype to avoid an error. */
71543 #ifdef __cplusplus
71544 extern "C"
71546 #endif
71547 /* We use char because int might match the return type of a gcc2
71548 builtin and then its argument prototype would still apply. */
71549 char $ac_func ();
71550 /* The GNU C library defines this for functions which it implements
71551 to always fail with ENOSYS. Some functions are actually named
71552 something starting with __ and the normal name is an alias. */
71553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71554 choke me
71555 #else
71556 char (*f) () = $ac_func;
71557 #endif
71558 #ifdef __cplusplus
71560 #endif
71563 main ()
71565 return f != $ac_func;
71567 return 0;
71569 _ACEOF
71570 rm -f conftest.$ac_objext conftest$ac_exeext
71571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71572 (eval $ac_link) 2>conftest.er1
71573 ac_status=$?
71574 grep -v '^ *+' conftest.er1 >conftest.err
71575 rm -f conftest.er1
71576 cat conftest.err >&5
71577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71578 (exit $ac_status); } &&
71579 { ac_try='test -z "$ac_c_werror_flag"
71580 || test ! -s conftest.err'
71581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71582 (eval $ac_try) 2>&5
71583 ac_status=$?
71584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71585 (exit $ac_status); }; } &&
71586 { ac_try='test -s conftest$ac_exeext'
71587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71588 (eval $ac_try) 2>&5
71589 ac_status=$?
71590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71591 (exit $ac_status); }; }; then
71592 eval "$as_ac_var=yes"
71593 else
71594 echo "$as_me: failed program was:" >&5
71595 sed 's/^/| /' conftest.$ac_ext >&5
71597 eval "$as_ac_var=no"
71599 rm -f conftest.err conftest.$ac_objext \
71600 conftest$ac_exeext conftest.$ac_ext
71602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71604 if test `eval echo '${'$as_ac_var'}'` = yes; then
71605 cat >>confdefs.h <<_ACEOF
71606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71607 _ACEOF
71610 done
71620 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71621 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71622 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71623 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71624 echo $ECHO_N "(cached) $ECHO_C" >&6
71625 else
71629 ac_ext=cc
71630 ac_cpp='$CXXCPP $CPPFLAGS'
71631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71635 cat >conftest.$ac_ext <<_ACEOF
71636 /* confdefs.h. */
71637 _ACEOF
71638 cat confdefs.h >>conftest.$ac_ext
71639 cat >>conftest.$ac_ext <<_ACEOF
71640 /* end confdefs.h. */
71641 #include <math.h>
71643 main ()
71645 ldexpf(0, 0);
71647 return 0;
71649 _ACEOF
71650 rm -f conftest.$ac_objext
71651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71652 (eval $ac_compile) 2>conftest.er1
71653 ac_status=$?
71654 grep -v '^ *+' conftest.er1 >conftest.err
71655 rm -f conftest.er1
71656 cat conftest.err >&5
71657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71658 (exit $ac_status); } &&
71659 { ac_try='test -z "$ac_cxx_werror_flag"
71660 || test ! -s conftest.err'
71661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71662 (eval $ac_try) 2>&5
71663 ac_status=$?
71664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71665 (exit $ac_status); }; } &&
71666 { ac_try='test -s conftest.$ac_objext'
71667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71668 (eval $ac_try) 2>&5
71669 ac_status=$?
71670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71671 (exit $ac_status); }; }; then
71672 glibcxx_cv_func_ldexpf_use=yes
71673 else
71674 echo "$as_me: failed program was:" >&5
71675 sed 's/^/| /' conftest.$ac_ext >&5
71677 glibcxx_cv_func_ldexpf_use=no
71679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71680 ac_ext=c
71681 ac_cpp='$CPP $CPPFLAGS'
71682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71691 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71693 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71695 for ac_func in ldexpf
71697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71698 echo "$as_me:$LINENO: checking for $ac_func" >&5
71699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71700 if eval "test \"\${$as_ac_var+set}\" = set"; then
71701 echo $ECHO_N "(cached) $ECHO_C" >&6
71702 else
71703 if test x$gcc_no_link = xyes; then
71704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71706 { (exit 1); exit 1; }; }
71708 cat >conftest.$ac_ext <<_ACEOF
71709 /* confdefs.h. */
71710 _ACEOF
71711 cat confdefs.h >>conftest.$ac_ext
71712 cat >>conftest.$ac_ext <<_ACEOF
71713 /* end confdefs.h. */
71714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71716 #define $ac_func innocuous_$ac_func
71718 /* System header to define __stub macros and hopefully few prototypes,
71719 which can conflict with char $ac_func (); below.
71720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71721 <limits.h> exists even on freestanding compilers. */
71723 #ifdef __STDC__
71724 # include <limits.h>
71725 #else
71726 # include <assert.h>
71727 #endif
71729 #undef $ac_func
71731 /* Override any gcc2 internal prototype to avoid an error. */
71732 #ifdef __cplusplus
71733 extern "C"
71735 #endif
71736 /* We use char because int might match the return type of a gcc2
71737 builtin and then its argument prototype would still apply. */
71738 char $ac_func ();
71739 /* The GNU C library defines this for functions which it implements
71740 to always fail with ENOSYS. Some functions are actually named
71741 something starting with __ and the normal name is an alias. */
71742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71743 choke me
71744 #else
71745 char (*f) () = $ac_func;
71746 #endif
71747 #ifdef __cplusplus
71749 #endif
71752 main ()
71754 return f != $ac_func;
71756 return 0;
71758 _ACEOF
71759 rm -f conftest.$ac_objext conftest$ac_exeext
71760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71761 (eval $ac_link) 2>conftest.er1
71762 ac_status=$?
71763 grep -v '^ *+' conftest.er1 >conftest.err
71764 rm -f conftest.er1
71765 cat conftest.err >&5
71766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71767 (exit $ac_status); } &&
71768 { ac_try='test -z "$ac_c_werror_flag"
71769 || test ! -s conftest.err'
71770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71771 (eval $ac_try) 2>&5
71772 ac_status=$?
71773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71774 (exit $ac_status); }; } &&
71775 { ac_try='test -s conftest$ac_exeext'
71776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71777 (eval $ac_try) 2>&5
71778 ac_status=$?
71779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71780 (exit $ac_status); }; }; then
71781 eval "$as_ac_var=yes"
71782 else
71783 echo "$as_me: failed program was:" >&5
71784 sed 's/^/| /' conftest.$ac_ext >&5
71786 eval "$as_ac_var=no"
71788 rm -f conftest.err conftest.$ac_objext \
71789 conftest$ac_exeext conftest.$ac_ext
71791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71793 if test `eval echo '${'$as_ac_var'}'` = yes; then
71794 cat >>confdefs.h <<_ACEOF
71795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71796 _ACEOF
71799 done
71801 else
71803 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71804 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71805 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71806 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71807 echo $ECHO_N "(cached) $ECHO_C" >&6
71808 else
71812 ac_ext=cc
71813 ac_cpp='$CXXCPP $CPPFLAGS'
71814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71818 cat >conftest.$ac_ext <<_ACEOF
71819 /* confdefs.h. */
71820 _ACEOF
71821 cat confdefs.h >>conftest.$ac_ext
71822 cat >>conftest.$ac_ext <<_ACEOF
71823 /* end confdefs.h. */
71824 #include <math.h>
71826 main ()
71828 _ldexpf(0, 0);
71830 return 0;
71832 _ACEOF
71833 rm -f conftest.$ac_objext
71834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71835 (eval $ac_compile) 2>conftest.er1
71836 ac_status=$?
71837 grep -v '^ *+' conftest.er1 >conftest.err
71838 rm -f conftest.er1
71839 cat conftest.err >&5
71840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841 (exit $ac_status); } &&
71842 { ac_try='test -z "$ac_cxx_werror_flag"
71843 || test ! -s conftest.err'
71844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71845 (eval $ac_try) 2>&5
71846 ac_status=$?
71847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71848 (exit $ac_status); }; } &&
71849 { ac_try='test -s conftest.$ac_objext'
71850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71851 (eval $ac_try) 2>&5
71852 ac_status=$?
71853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71854 (exit $ac_status); }; }; then
71855 glibcxx_cv_func__ldexpf_use=yes
71856 else
71857 echo "$as_me: failed program was:" >&5
71858 sed 's/^/| /' conftest.$ac_ext >&5
71860 glibcxx_cv_func__ldexpf_use=no
71862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71874 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71876 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71878 for ac_func in _ldexpf
71880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71881 echo "$as_me:$LINENO: checking for $ac_func" >&5
71882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71883 if eval "test \"\${$as_ac_var+set}\" = set"; then
71884 echo $ECHO_N "(cached) $ECHO_C" >&6
71885 else
71886 if test x$gcc_no_link = xyes; then
71887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71889 { (exit 1); exit 1; }; }
71891 cat >conftest.$ac_ext <<_ACEOF
71892 /* confdefs.h. */
71893 _ACEOF
71894 cat confdefs.h >>conftest.$ac_ext
71895 cat >>conftest.$ac_ext <<_ACEOF
71896 /* end confdefs.h. */
71897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71899 #define $ac_func innocuous_$ac_func
71901 /* System header to define __stub macros and hopefully few prototypes,
71902 which can conflict with char $ac_func (); below.
71903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71904 <limits.h> exists even on freestanding compilers. */
71906 #ifdef __STDC__
71907 # include <limits.h>
71908 #else
71909 # include <assert.h>
71910 #endif
71912 #undef $ac_func
71914 /* Override any gcc2 internal prototype to avoid an error. */
71915 #ifdef __cplusplus
71916 extern "C"
71918 #endif
71919 /* We use char because int might match the return type of a gcc2
71920 builtin and then its argument prototype would still apply. */
71921 char $ac_func ();
71922 /* The GNU C library defines this for functions which it implements
71923 to always fail with ENOSYS. Some functions are actually named
71924 something starting with __ and the normal name is an alias. */
71925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71926 choke me
71927 #else
71928 char (*f) () = $ac_func;
71929 #endif
71930 #ifdef __cplusplus
71932 #endif
71935 main ()
71937 return f != $ac_func;
71939 return 0;
71941 _ACEOF
71942 rm -f conftest.$ac_objext conftest$ac_exeext
71943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71944 (eval $ac_link) 2>conftest.er1
71945 ac_status=$?
71946 grep -v '^ *+' conftest.er1 >conftest.err
71947 rm -f conftest.er1
71948 cat conftest.err >&5
71949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71950 (exit $ac_status); } &&
71951 { ac_try='test -z "$ac_c_werror_flag"
71952 || test ! -s conftest.err'
71953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71954 (eval $ac_try) 2>&5
71955 ac_status=$?
71956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71957 (exit $ac_status); }; } &&
71958 { ac_try='test -s conftest$ac_exeext'
71959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71960 (eval $ac_try) 2>&5
71961 ac_status=$?
71962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71963 (exit $ac_status); }; }; then
71964 eval "$as_ac_var=yes"
71965 else
71966 echo "$as_me: failed program was:" >&5
71967 sed 's/^/| /' conftest.$ac_ext >&5
71969 eval "$as_ac_var=no"
71971 rm -f conftest.err conftest.$ac_objext \
71972 conftest$ac_exeext conftest.$ac_ext
71974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71976 if test `eval echo '${'$as_ac_var'}'` = yes; then
71977 cat >>confdefs.h <<_ACEOF
71978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71979 _ACEOF
71982 done
71992 echo "$as_me:$LINENO: checking for logf declaration" >&5
71993 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71994 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71995 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71996 echo $ECHO_N "(cached) $ECHO_C" >&6
71997 else
72001 ac_ext=cc
72002 ac_cpp='$CXXCPP $CPPFLAGS'
72003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72007 cat >conftest.$ac_ext <<_ACEOF
72008 /* confdefs.h. */
72009 _ACEOF
72010 cat confdefs.h >>conftest.$ac_ext
72011 cat >>conftest.$ac_ext <<_ACEOF
72012 /* end confdefs.h. */
72013 #include <math.h>
72014 #ifdef HAVE_IEEEFP_H
72015 #include <ieeefp.h>
72016 #endif
72019 main ()
72021 logf(0);
72023 return 0;
72025 _ACEOF
72026 rm -f conftest.$ac_objext
72027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72028 (eval $ac_compile) 2>conftest.er1
72029 ac_status=$?
72030 grep -v '^ *+' conftest.er1 >conftest.err
72031 rm -f conftest.er1
72032 cat conftest.err >&5
72033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72034 (exit $ac_status); } &&
72035 { ac_try='test -z "$ac_cxx_werror_flag"
72036 || test ! -s conftest.err'
72037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72038 (eval $ac_try) 2>&5
72039 ac_status=$?
72040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72041 (exit $ac_status); }; } &&
72042 { ac_try='test -s conftest.$ac_objext'
72043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72044 (eval $ac_try) 2>&5
72045 ac_status=$?
72046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72047 (exit $ac_status); }; }; then
72048 glibcxx_cv_func_logf_use=yes
72049 else
72050 echo "$as_me: failed program was:" >&5
72051 sed 's/^/| /' conftest.$ac_ext >&5
72053 glibcxx_cv_func_logf_use=no
72055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72056 ac_ext=c
72057 ac_cpp='$CPP $CPPFLAGS'
72058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
72067 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
72069 if test x$glibcxx_cv_func_logf_use = x"yes"; then
72071 for ac_func in logf
72073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72074 echo "$as_me:$LINENO: checking for $ac_func" >&5
72075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72076 if eval "test \"\${$as_ac_var+set}\" = set"; then
72077 echo $ECHO_N "(cached) $ECHO_C" >&6
72078 else
72079 if test x$gcc_no_link = xyes; then
72080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72082 { (exit 1); exit 1; }; }
72084 cat >conftest.$ac_ext <<_ACEOF
72085 /* confdefs.h. */
72086 _ACEOF
72087 cat confdefs.h >>conftest.$ac_ext
72088 cat >>conftest.$ac_ext <<_ACEOF
72089 /* end confdefs.h. */
72090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72092 #define $ac_func innocuous_$ac_func
72094 /* System header to define __stub macros and hopefully few prototypes,
72095 which can conflict with char $ac_func (); below.
72096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72097 <limits.h> exists even on freestanding compilers. */
72099 #ifdef __STDC__
72100 # include <limits.h>
72101 #else
72102 # include <assert.h>
72103 #endif
72105 #undef $ac_func
72107 /* Override any gcc2 internal prototype to avoid an error. */
72108 #ifdef __cplusplus
72109 extern "C"
72111 #endif
72112 /* We use char because int might match the return type of a gcc2
72113 builtin and then its argument prototype would still apply. */
72114 char $ac_func ();
72115 /* The GNU C library defines this for functions which it implements
72116 to always fail with ENOSYS. Some functions are actually named
72117 something starting with __ and the normal name is an alias. */
72118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72119 choke me
72120 #else
72121 char (*f) () = $ac_func;
72122 #endif
72123 #ifdef __cplusplus
72125 #endif
72128 main ()
72130 return f != $ac_func;
72132 return 0;
72134 _ACEOF
72135 rm -f conftest.$ac_objext conftest$ac_exeext
72136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72137 (eval $ac_link) 2>conftest.er1
72138 ac_status=$?
72139 grep -v '^ *+' conftest.er1 >conftest.err
72140 rm -f conftest.er1
72141 cat conftest.err >&5
72142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72143 (exit $ac_status); } &&
72144 { ac_try='test -z "$ac_c_werror_flag"
72145 || test ! -s conftest.err'
72146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72147 (eval $ac_try) 2>&5
72148 ac_status=$?
72149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72150 (exit $ac_status); }; } &&
72151 { ac_try='test -s conftest$ac_exeext'
72152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72153 (eval $ac_try) 2>&5
72154 ac_status=$?
72155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72156 (exit $ac_status); }; }; then
72157 eval "$as_ac_var=yes"
72158 else
72159 echo "$as_me: failed program was:" >&5
72160 sed 's/^/| /' conftest.$ac_ext >&5
72162 eval "$as_ac_var=no"
72164 rm -f conftest.err conftest.$ac_objext \
72165 conftest$ac_exeext conftest.$ac_ext
72167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72169 if test `eval echo '${'$as_ac_var'}'` = yes; then
72170 cat >>confdefs.h <<_ACEOF
72171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72172 _ACEOF
72175 done
72177 else
72179 echo "$as_me:$LINENO: checking for _logf declaration" >&5
72180 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72181 if test x${glibcxx_cv_func__logf_use+set} != xset; then
72182 if test "${glibcxx_cv_func__logf_use+set}" = set; then
72183 echo $ECHO_N "(cached) $ECHO_C" >&6
72184 else
72188 ac_ext=cc
72189 ac_cpp='$CXXCPP $CPPFLAGS'
72190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72194 cat >conftest.$ac_ext <<_ACEOF
72195 /* confdefs.h. */
72196 _ACEOF
72197 cat confdefs.h >>conftest.$ac_ext
72198 cat >>conftest.$ac_ext <<_ACEOF
72199 /* end confdefs.h. */
72200 #include <math.h>
72201 #ifdef HAVE_IEEEFP_H
72202 #include <ieeefp.h>
72203 #endif
72206 main ()
72208 _logf(0);
72210 return 0;
72212 _ACEOF
72213 rm -f conftest.$ac_objext
72214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72215 (eval $ac_compile) 2>conftest.er1
72216 ac_status=$?
72217 grep -v '^ *+' conftest.er1 >conftest.err
72218 rm -f conftest.er1
72219 cat conftest.err >&5
72220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72221 (exit $ac_status); } &&
72222 { ac_try='test -z "$ac_cxx_werror_flag"
72223 || test ! -s conftest.err'
72224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72225 (eval $ac_try) 2>&5
72226 ac_status=$?
72227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72228 (exit $ac_status); }; } &&
72229 { ac_try='test -s conftest.$ac_objext'
72230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72231 (eval $ac_try) 2>&5
72232 ac_status=$?
72233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72234 (exit $ac_status); }; }; then
72235 glibcxx_cv_func__logf_use=yes
72236 else
72237 echo "$as_me: failed program was:" >&5
72238 sed 's/^/| /' conftest.$ac_ext >&5
72240 glibcxx_cv_func__logf_use=no
72242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72243 ac_ext=c
72244 ac_cpp='$CPP $CPPFLAGS'
72245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72254 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72256 if test x$glibcxx_cv_func__logf_use = x"yes"; then
72258 for ac_func in _logf
72260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72261 echo "$as_me:$LINENO: checking for $ac_func" >&5
72262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72263 if eval "test \"\${$as_ac_var+set}\" = set"; then
72264 echo $ECHO_N "(cached) $ECHO_C" >&6
72265 else
72266 if test x$gcc_no_link = xyes; then
72267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72269 { (exit 1); exit 1; }; }
72271 cat >conftest.$ac_ext <<_ACEOF
72272 /* confdefs.h. */
72273 _ACEOF
72274 cat confdefs.h >>conftest.$ac_ext
72275 cat >>conftest.$ac_ext <<_ACEOF
72276 /* end confdefs.h. */
72277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72279 #define $ac_func innocuous_$ac_func
72281 /* System header to define __stub macros and hopefully few prototypes,
72282 which can conflict with char $ac_func (); below.
72283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72284 <limits.h> exists even on freestanding compilers. */
72286 #ifdef __STDC__
72287 # include <limits.h>
72288 #else
72289 # include <assert.h>
72290 #endif
72292 #undef $ac_func
72294 /* Override any gcc2 internal prototype to avoid an error. */
72295 #ifdef __cplusplus
72296 extern "C"
72298 #endif
72299 /* We use char because int might match the return type of a gcc2
72300 builtin and then its argument prototype would still apply. */
72301 char $ac_func ();
72302 /* The GNU C library defines this for functions which it implements
72303 to always fail with ENOSYS. Some functions are actually named
72304 something starting with __ and the normal name is an alias. */
72305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72306 choke me
72307 #else
72308 char (*f) () = $ac_func;
72309 #endif
72310 #ifdef __cplusplus
72312 #endif
72315 main ()
72317 return f != $ac_func;
72319 return 0;
72321 _ACEOF
72322 rm -f conftest.$ac_objext conftest$ac_exeext
72323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72324 (eval $ac_link) 2>conftest.er1
72325 ac_status=$?
72326 grep -v '^ *+' conftest.er1 >conftest.err
72327 rm -f conftest.er1
72328 cat conftest.err >&5
72329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72330 (exit $ac_status); } &&
72331 { ac_try='test -z "$ac_c_werror_flag"
72332 || test ! -s conftest.err'
72333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72334 (eval $ac_try) 2>&5
72335 ac_status=$?
72336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72337 (exit $ac_status); }; } &&
72338 { ac_try='test -s conftest$ac_exeext'
72339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72340 (eval $ac_try) 2>&5
72341 ac_status=$?
72342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72343 (exit $ac_status); }; }; then
72344 eval "$as_ac_var=yes"
72345 else
72346 echo "$as_me: failed program was:" >&5
72347 sed 's/^/| /' conftest.$ac_ext >&5
72349 eval "$as_ac_var=no"
72351 rm -f conftest.err conftest.$ac_objext \
72352 conftest$ac_exeext conftest.$ac_ext
72354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72356 if test `eval echo '${'$as_ac_var'}'` = yes; then
72357 cat >>confdefs.h <<_ACEOF
72358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72359 _ACEOF
72362 done
72372 echo "$as_me:$LINENO: checking for log10f declaration" >&5
72373 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72374 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72375 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72376 echo $ECHO_N "(cached) $ECHO_C" >&6
72377 else
72381 ac_ext=cc
72382 ac_cpp='$CXXCPP $CPPFLAGS'
72383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72387 cat >conftest.$ac_ext <<_ACEOF
72388 /* confdefs.h. */
72389 _ACEOF
72390 cat confdefs.h >>conftest.$ac_ext
72391 cat >>conftest.$ac_ext <<_ACEOF
72392 /* end confdefs.h. */
72393 #include <math.h>
72394 #ifdef HAVE_IEEEFP_H
72395 #include <ieeefp.h>
72396 #endif
72399 main ()
72401 log10f(0);
72403 return 0;
72405 _ACEOF
72406 rm -f conftest.$ac_objext
72407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72408 (eval $ac_compile) 2>conftest.er1
72409 ac_status=$?
72410 grep -v '^ *+' conftest.er1 >conftest.err
72411 rm -f conftest.er1
72412 cat conftest.err >&5
72413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72414 (exit $ac_status); } &&
72415 { ac_try='test -z "$ac_cxx_werror_flag"
72416 || test ! -s conftest.err'
72417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72418 (eval $ac_try) 2>&5
72419 ac_status=$?
72420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72421 (exit $ac_status); }; } &&
72422 { ac_try='test -s conftest.$ac_objext'
72423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72424 (eval $ac_try) 2>&5
72425 ac_status=$?
72426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72427 (exit $ac_status); }; }; then
72428 glibcxx_cv_func_log10f_use=yes
72429 else
72430 echo "$as_me: failed program was:" >&5
72431 sed 's/^/| /' conftest.$ac_ext >&5
72433 glibcxx_cv_func_log10f_use=no
72435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72436 ac_ext=c
72437 ac_cpp='$CPP $CPPFLAGS'
72438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72447 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72449 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72451 for ac_func in log10f
72453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72454 echo "$as_me:$LINENO: checking for $ac_func" >&5
72455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72456 if eval "test \"\${$as_ac_var+set}\" = set"; then
72457 echo $ECHO_N "(cached) $ECHO_C" >&6
72458 else
72459 if test x$gcc_no_link = xyes; then
72460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72462 { (exit 1); exit 1; }; }
72464 cat >conftest.$ac_ext <<_ACEOF
72465 /* confdefs.h. */
72466 _ACEOF
72467 cat confdefs.h >>conftest.$ac_ext
72468 cat >>conftest.$ac_ext <<_ACEOF
72469 /* end confdefs.h. */
72470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72472 #define $ac_func innocuous_$ac_func
72474 /* System header to define __stub macros and hopefully few prototypes,
72475 which can conflict with char $ac_func (); below.
72476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72477 <limits.h> exists even on freestanding compilers. */
72479 #ifdef __STDC__
72480 # include <limits.h>
72481 #else
72482 # include <assert.h>
72483 #endif
72485 #undef $ac_func
72487 /* Override any gcc2 internal prototype to avoid an error. */
72488 #ifdef __cplusplus
72489 extern "C"
72491 #endif
72492 /* We use char because int might match the return type of a gcc2
72493 builtin and then its argument prototype would still apply. */
72494 char $ac_func ();
72495 /* The GNU C library defines this for functions which it implements
72496 to always fail with ENOSYS. Some functions are actually named
72497 something starting with __ and the normal name is an alias. */
72498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72499 choke me
72500 #else
72501 char (*f) () = $ac_func;
72502 #endif
72503 #ifdef __cplusplus
72505 #endif
72508 main ()
72510 return f != $ac_func;
72512 return 0;
72514 _ACEOF
72515 rm -f conftest.$ac_objext conftest$ac_exeext
72516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72517 (eval $ac_link) 2>conftest.er1
72518 ac_status=$?
72519 grep -v '^ *+' conftest.er1 >conftest.err
72520 rm -f conftest.er1
72521 cat conftest.err >&5
72522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72523 (exit $ac_status); } &&
72524 { ac_try='test -z "$ac_c_werror_flag"
72525 || test ! -s conftest.err'
72526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72527 (eval $ac_try) 2>&5
72528 ac_status=$?
72529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72530 (exit $ac_status); }; } &&
72531 { ac_try='test -s conftest$ac_exeext'
72532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72533 (eval $ac_try) 2>&5
72534 ac_status=$?
72535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72536 (exit $ac_status); }; }; then
72537 eval "$as_ac_var=yes"
72538 else
72539 echo "$as_me: failed program was:" >&5
72540 sed 's/^/| /' conftest.$ac_ext >&5
72542 eval "$as_ac_var=no"
72544 rm -f conftest.err conftest.$ac_objext \
72545 conftest$ac_exeext conftest.$ac_ext
72547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72549 if test `eval echo '${'$as_ac_var'}'` = yes; then
72550 cat >>confdefs.h <<_ACEOF
72551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72552 _ACEOF
72555 done
72557 else
72559 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
72560 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
72561 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
72562 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
72563 echo $ECHO_N "(cached) $ECHO_C" >&6
72564 else
72568 ac_ext=cc
72569 ac_cpp='$CXXCPP $CPPFLAGS'
72570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72574 cat >conftest.$ac_ext <<_ACEOF
72575 /* confdefs.h. */
72576 _ACEOF
72577 cat confdefs.h >>conftest.$ac_ext
72578 cat >>conftest.$ac_ext <<_ACEOF
72579 /* end confdefs.h. */
72580 #include <math.h>
72581 #ifdef HAVE_IEEEFP_H
72582 #include <ieeefp.h>
72583 #endif
72586 main ()
72588 _log10f(0);
72590 return 0;
72592 _ACEOF
72593 rm -f conftest.$ac_objext
72594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72595 (eval $ac_compile) 2>conftest.er1
72596 ac_status=$?
72597 grep -v '^ *+' conftest.er1 >conftest.err
72598 rm -f conftest.er1
72599 cat conftest.err >&5
72600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72601 (exit $ac_status); } &&
72602 { ac_try='test -z "$ac_cxx_werror_flag"
72603 || test ! -s conftest.err'
72604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72605 (eval $ac_try) 2>&5
72606 ac_status=$?
72607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608 (exit $ac_status); }; } &&
72609 { ac_try='test -s conftest.$ac_objext'
72610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72611 (eval $ac_try) 2>&5
72612 ac_status=$?
72613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614 (exit $ac_status); }; }; then
72615 glibcxx_cv_func__log10f_use=yes
72616 else
72617 echo "$as_me: failed program was:" >&5
72618 sed 's/^/| /' conftest.$ac_ext >&5
72620 glibcxx_cv_func__log10f_use=no
72622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72623 ac_ext=c
72624 ac_cpp='$CPP $CPPFLAGS'
72625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72634 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72636 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72638 for ac_func in _log10f
72640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72641 echo "$as_me:$LINENO: checking for $ac_func" >&5
72642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72643 if eval "test \"\${$as_ac_var+set}\" = set"; then
72644 echo $ECHO_N "(cached) $ECHO_C" >&6
72645 else
72646 if test x$gcc_no_link = xyes; then
72647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72649 { (exit 1); exit 1; }; }
72651 cat >conftest.$ac_ext <<_ACEOF
72652 /* confdefs.h. */
72653 _ACEOF
72654 cat confdefs.h >>conftest.$ac_ext
72655 cat >>conftest.$ac_ext <<_ACEOF
72656 /* end confdefs.h. */
72657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72659 #define $ac_func innocuous_$ac_func
72661 /* System header to define __stub macros and hopefully few prototypes,
72662 which can conflict with char $ac_func (); below.
72663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72664 <limits.h> exists even on freestanding compilers. */
72666 #ifdef __STDC__
72667 # include <limits.h>
72668 #else
72669 # include <assert.h>
72670 #endif
72672 #undef $ac_func
72674 /* Override any gcc2 internal prototype to avoid an error. */
72675 #ifdef __cplusplus
72676 extern "C"
72678 #endif
72679 /* We use char because int might match the return type of a gcc2
72680 builtin and then its argument prototype would still apply. */
72681 char $ac_func ();
72682 /* The GNU C library defines this for functions which it implements
72683 to always fail with ENOSYS. Some functions are actually named
72684 something starting with __ and the normal name is an alias. */
72685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72686 choke me
72687 #else
72688 char (*f) () = $ac_func;
72689 #endif
72690 #ifdef __cplusplus
72692 #endif
72695 main ()
72697 return f != $ac_func;
72699 return 0;
72701 _ACEOF
72702 rm -f conftest.$ac_objext conftest$ac_exeext
72703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72704 (eval $ac_link) 2>conftest.er1
72705 ac_status=$?
72706 grep -v '^ *+' conftest.er1 >conftest.err
72707 rm -f conftest.er1
72708 cat conftest.err >&5
72709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72710 (exit $ac_status); } &&
72711 { ac_try='test -z "$ac_c_werror_flag"
72712 || test ! -s conftest.err'
72713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72714 (eval $ac_try) 2>&5
72715 ac_status=$?
72716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717 (exit $ac_status); }; } &&
72718 { ac_try='test -s conftest$ac_exeext'
72719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72720 (eval $ac_try) 2>&5
72721 ac_status=$?
72722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723 (exit $ac_status); }; }; then
72724 eval "$as_ac_var=yes"
72725 else
72726 echo "$as_me: failed program was:" >&5
72727 sed 's/^/| /' conftest.$ac_ext >&5
72729 eval "$as_ac_var=no"
72731 rm -f conftest.err conftest.$ac_objext \
72732 conftest$ac_exeext conftest.$ac_ext
72734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72736 if test `eval echo '${'$as_ac_var'}'` = yes; then
72737 cat >>confdefs.h <<_ACEOF
72738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72739 _ACEOF
72742 done
72752 echo "$as_me:$LINENO: checking for modff declaration" >&5
72753 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72754 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72755 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72756 echo $ECHO_N "(cached) $ECHO_C" >&6
72757 else
72761 ac_ext=cc
72762 ac_cpp='$CXXCPP $CPPFLAGS'
72763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72767 cat >conftest.$ac_ext <<_ACEOF
72768 /* confdefs.h. */
72769 _ACEOF
72770 cat confdefs.h >>conftest.$ac_ext
72771 cat >>conftest.$ac_ext <<_ACEOF
72772 /* end confdefs.h. */
72773 #include <math.h>
72775 main ()
72777 modff(0, 0);
72779 return 0;
72781 _ACEOF
72782 rm -f conftest.$ac_objext
72783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72784 (eval $ac_compile) 2>conftest.er1
72785 ac_status=$?
72786 grep -v '^ *+' conftest.er1 >conftest.err
72787 rm -f conftest.er1
72788 cat conftest.err >&5
72789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72790 (exit $ac_status); } &&
72791 { ac_try='test -z "$ac_cxx_werror_flag"
72792 || test ! -s conftest.err'
72793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72794 (eval $ac_try) 2>&5
72795 ac_status=$?
72796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72797 (exit $ac_status); }; } &&
72798 { ac_try='test -s conftest.$ac_objext'
72799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72800 (eval $ac_try) 2>&5
72801 ac_status=$?
72802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72803 (exit $ac_status); }; }; then
72804 glibcxx_cv_func_modff_use=yes
72805 else
72806 echo "$as_me: failed program was:" >&5
72807 sed 's/^/| /' conftest.$ac_ext >&5
72809 glibcxx_cv_func_modff_use=no
72811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72812 ac_ext=c
72813 ac_cpp='$CPP $CPPFLAGS'
72814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72823 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72825 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72827 for ac_func in modff
72829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72830 echo "$as_me:$LINENO: checking for $ac_func" >&5
72831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72832 if eval "test \"\${$as_ac_var+set}\" = set"; then
72833 echo $ECHO_N "(cached) $ECHO_C" >&6
72834 else
72835 if test x$gcc_no_link = xyes; then
72836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72838 { (exit 1); exit 1; }; }
72840 cat >conftest.$ac_ext <<_ACEOF
72841 /* confdefs.h. */
72842 _ACEOF
72843 cat confdefs.h >>conftest.$ac_ext
72844 cat >>conftest.$ac_ext <<_ACEOF
72845 /* end confdefs.h. */
72846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72848 #define $ac_func innocuous_$ac_func
72850 /* System header to define __stub macros and hopefully few prototypes,
72851 which can conflict with char $ac_func (); below.
72852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72853 <limits.h> exists even on freestanding compilers. */
72855 #ifdef __STDC__
72856 # include <limits.h>
72857 #else
72858 # include <assert.h>
72859 #endif
72861 #undef $ac_func
72863 /* Override any gcc2 internal prototype to avoid an error. */
72864 #ifdef __cplusplus
72865 extern "C"
72867 #endif
72868 /* We use char because int might match the return type of a gcc2
72869 builtin and then its argument prototype would still apply. */
72870 char $ac_func ();
72871 /* The GNU C library defines this for functions which it implements
72872 to always fail with ENOSYS. Some functions are actually named
72873 something starting with __ and the normal name is an alias. */
72874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72875 choke me
72876 #else
72877 char (*f) () = $ac_func;
72878 #endif
72879 #ifdef __cplusplus
72881 #endif
72884 main ()
72886 return f != $ac_func;
72888 return 0;
72890 _ACEOF
72891 rm -f conftest.$ac_objext conftest$ac_exeext
72892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72893 (eval $ac_link) 2>conftest.er1
72894 ac_status=$?
72895 grep -v '^ *+' conftest.er1 >conftest.err
72896 rm -f conftest.er1
72897 cat conftest.err >&5
72898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72899 (exit $ac_status); } &&
72900 { ac_try='test -z "$ac_c_werror_flag"
72901 || test ! -s conftest.err'
72902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72903 (eval $ac_try) 2>&5
72904 ac_status=$?
72905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72906 (exit $ac_status); }; } &&
72907 { ac_try='test -s conftest$ac_exeext'
72908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72909 (eval $ac_try) 2>&5
72910 ac_status=$?
72911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72912 (exit $ac_status); }; }; then
72913 eval "$as_ac_var=yes"
72914 else
72915 echo "$as_me: failed program was:" >&5
72916 sed 's/^/| /' conftest.$ac_ext >&5
72918 eval "$as_ac_var=no"
72920 rm -f conftest.err conftest.$ac_objext \
72921 conftest$ac_exeext conftest.$ac_ext
72923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72925 if test `eval echo '${'$as_ac_var'}'` = yes; then
72926 cat >>confdefs.h <<_ACEOF
72927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72928 _ACEOF
72931 done
72933 else
72935 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72936 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72937 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72938 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72939 echo $ECHO_N "(cached) $ECHO_C" >&6
72940 else
72944 ac_ext=cc
72945 ac_cpp='$CXXCPP $CPPFLAGS'
72946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72950 cat >conftest.$ac_ext <<_ACEOF
72951 /* confdefs.h. */
72952 _ACEOF
72953 cat confdefs.h >>conftest.$ac_ext
72954 cat >>conftest.$ac_ext <<_ACEOF
72955 /* end confdefs.h. */
72956 #include <math.h>
72958 main ()
72960 _modff(0, 0);
72962 return 0;
72964 _ACEOF
72965 rm -f conftest.$ac_objext
72966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72967 (eval $ac_compile) 2>conftest.er1
72968 ac_status=$?
72969 grep -v '^ *+' conftest.er1 >conftest.err
72970 rm -f conftest.er1
72971 cat conftest.err >&5
72972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72973 (exit $ac_status); } &&
72974 { ac_try='test -z "$ac_cxx_werror_flag"
72975 || test ! -s conftest.err'
72976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72977 (eval $ac_try) 2>&5
72978 ac_status=$?
72979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72980 (exit $ac_status); }; } &&
72981 { ac_try='test -s conftest.$ac_objext'
72982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72983 (eval $ac_try) 2>&5
72984 ac_status=$?
72985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72986 (exit $ac_status); }; }; then
72987 glibcxx_cv_func__modff_use=yes
72988 else
72989 echo "$as_me: failed program was:" >&5
72990 sed 's/^/| /' conftest.$ac_ext >&5
72992 glibcxx_cv_func__modff_use=no
72994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72995 ac_ext=c
72996 ac_cpp='$CPP $CPPFLAGS'
72997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
73006 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
73008 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73010 for ac_func in _modff
73012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73013 echo "$as_me:$LINENO: checking for $ac_func" >&5
73014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73015 if eval "test \"\${$as_ac_var+set}\" = set"; then
73016 echo $ECHO_N "(cached) $ECHO_C" >&6
73017 else
73018 if test x$gcc_no_link = xyes; then
73019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73021 { (exit 1); exit 1; }; }
73023 cat >conftest.$ac_ext <<_ACEOF
73024 /* confdefs.h. */
73025 _ACEOF
73026 cat confdefs.h >>conftest.$ac_ext
73027 cat >>conftest.$ac_ext <<_ACEOF
73028 /* end confdefs.h. */
73029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73031 #define $ac_func innocuous_$ac_func
73033 /* System header to define __stub macros and hopefully few prototypes,
73034 which can conflict with char $ac_func (); below.
73035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73036 <limits.h> exists even on freestanding compilers. */
73038 #ifdef __STDC__
73039 # include <limits.h>
73040 #else
73041 # include <assert.h>
73042 #endif
73044 #undef $ac_func
73046 /* Override any gcc2 internal prototype to avoid an error. */
73047 #ifdef __cplusplus
73048 extern "C"
73050 #endif
73051 /* We use char because int might match the return type of a gcc2
73052 builtin and then its argument prototype would still apply. */
73053 char $ac_func ();
73054 /* The GNU C library defines this for functions which it implements
73055 to always fail with ENOSYS. Some functions are actually named
73056 something starting with __ and the normal name is an alias. */
73057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73058 choke me
73059 #else
73060 char (*f) () = $ac_func;
73061 #endif
73062 #ifdef __cplusplus
73064 #endif
73067 main ()
73069 return f != $ac_func;
73071 return 0;
73073 _ACEOF
73074 rm -f conftest.$ac_objext conftest$ac_exeext
73075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73076 (eval $ac_link) 2>conftest.er1
73077 ac_status=$?
73078 grep -v '^ *+' conftest.er1 >conftest.err
73079 rm -f conftest.er1
73080 cat conftest.err >&5
73081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73082 (exit $ac_status); } &&
73083 { ac_try='test -z "$ac_c_werror_flag"
73084 || test ! -s conftest.err'
73085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73086 (eval $ac_try) 2>&5
73087 ac_status=$?
73088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73089 (exit $ac_status); }; } &&
73090 { ac_try='test -s conftest$ac_exeext'
73091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73092 (eval $ac_try) 2>&5
73093 ac_status=$?
73094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73095 (exit $ac_status); }; }; then
73096 eval "$as_ac_var=yes"
73097 else
73098 echo "$as_me: failed program was:" >&5
73099 sed 's/^/| /' conftest.$ac_ext >&5
73101 eval "$as_ac_var=no"
73103 rm -f conftest.err conftest.$ac_objext \
73104 conftest$ac_exeext conftest.$ac_ext
73106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73108 if test `eval echo '${'$as_ac_var'}'` = yes; then
73109 cat >>confdefs.h <<_ACEOF
73110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73111 _ACEOF
73114 done
73124 echo "$as_me:$LINENO: checking for modf declaration" >&5
73125 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
73126 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73127 if test "${glibcxx_cv_func_modf_use+set}" = set; then
73128 echo $ECHO_N "(cached) $ECHO_C" >&6
73129 else
73133 ac_ext=cc
73134 ac_cpp='$CXXCPP $CPPFLAGS'
73135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73139 cat >conftest.$ac_ext <<_ACEOF
73140 /* confdefs.h. */
73141 _ACEOF
73142 cat confdefs.h >>conftest.$ac_ext
73143 cat >>conftest.$ac_ext <<_ACEOF
73144 /* end confdefs.h. */
73145 #include <math.h>
73147 main ()
73149 modf(0, 0);
73151 return 0;
73153 _ACEOF
73154 rm -f conftest.$ac_objext
73155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73156 (eval $ac_compile) 2>conftest.er1
73157 ac_status=$?
73158 grep -v '^ *+' conftest.er1 >conftest.err
73159 rm -f conftest.er1
73160 cat conftest.err >&5
73161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162 (exit $ac_status); } &&
73163 { ac_try='test -z "$ac_cxx_werror_flag"
73164 || test ! -s conftest.err'
73165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73166 (eval $ac_try) 2>&5
73167 ac_status=$?
73168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73169 (exit $ac_status); }; } &&
73170 { ac_try='test -s conftest.$ac_objext'
73171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73172 (eval $ac_try) 2>&5
73173 ac_status=$?
73174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73175 (exit $ac_status); }; }; then
73176 glibcxx_cv_func_modf_use=yes
73177 else
73178 echo "$as_me: failed program was:" >&5
73179 sed 's/^/| /' conftest.$ac_ext >&5
73181 glibcxx_cv_func_modf_use=no
73183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73184 ac_ext=c
73185 ac_cpp='$CPP $CPPFLAGS'
73186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73195 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73197 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73199 for ac_func in modf
73201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73202 echo "$as_me:$LINENO: checking for $ac_func" >&5
73203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73204 if eval "test \"\${$as_ac_var+set}\" = set"; then
73205 echo $ECHO_N "(cached) $ECHO_C" >&6
73206 else
73207 if test x$gcc_no_link = xyes; then
73208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73210 { (exit 1); exit 1; }; }
73212 cat >conftest.$ac_ext <<_ACEOF
73213 /* confdefs.h. */
73214 _ACEOF
73215 cat confdefs.h >>conftest.$ac_ext
73216 cat >>conftest.$ac_ext <<_ACEOF
73217 /* end confdefs.h. */
73218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73220 #define $ac_func innocuous_$ac_func
73222 /* System header to define __stub macros and hopefully few prototypes,
73223 which can conflict with char $ac_func (); below.
73224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73225 <limits.h> exists even on freestanding compilers. */
73227 #ifdef __STDC__
73228 # include <limits.h>
73229 #else
73230 # include <assert.h>
73231 #endif
73233 #undef $ac_func
73235 /* Override any gcc2 internal prototype to avoid an error. */
73236 #ifdef __cplusplus
73237 extern "C"
73239 #endif
73240 /* We use char because int might match the return type of a gcc2
73241 builtin and then its argument prototype would still apply. */
73242 char $ac_func ();
73243 /* The GNU C library defines this for functions which it implements
73244 to always fail with ENOSYS. Some functions are actually named
73245 something starting with __ and the normal name is an alias. */
73246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73247 choke me
73248 #else
73249 char (*f) () = $ac_func;
73250 #endif
73251 #ifdef __cplusplus
73253 #endif
73256 main ()
73258 return f != $ac_func;
73260 return 0;
73262 _ACEOF
73263 rm -f conftest.$ac_objext conftest$ac_exeext
73264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73265 (eval $ac_link) 2>conftest.er1
73266 ac_status=$?
73267 grep -v '^ *+' conftest.er1 >conftest.err
73268 rm -f conftest.er1
73269 cat conftest.err >&5
73270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73271 (exit $ac_status); } &&
73272 { ac_try='test -z "$ac_c_werror_flag"
73273 || test ! -s conftest.err'
73274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73275 (eval $ac_try) 2>&5
73276 ac_status=$?
73277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73278 (exit $ac_status); }; } &&
73279 { ac_try='test -s conftest$ac_exeext'
73280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73281 (eval $ac_try) 2>&5
73282 ac_status=$?
73283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73284 (exit $ac_status); }; }; then
73285 eval "$as_ac_var=yes"
73286 else
73287 echo "$as_me: failed program was:" >&5
73288 sed 's/^/| /' conftest.$ac_ext >&5
73290 eval "$as_ac_var=no"
73292 rm -f conftest.err conftest.$ac_objext \
73293 conftest$ac_exeext conftest.$ac_ext
73295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73297 if test `eval echo '${'$as_ac_var'}'` = yes; then
73298 cat >>confdefs.h <<_ACEOF
73299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73300 _ACEOF
73303 done
73305 else
73307 echo "$as_me:$LINENO: checking for _modf declaration" >&5
73308 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73309 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73310 if test "${glibcxx_cv_func__modf_use+set}" = set; then
73311 echo $ECHO_N "(cached) $ECHO_C" >&6
73312 else
73316 ac_ext=cc
73317 ac_cpp='$CXXCPP $CPPFLAGS'
73318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73322 cat >conftest.$ac_ext <<_ACEOF
73323 /* confdefs.h. */
73324 _ACEOF
73325 cat confdefs.h >>conftest.$ac_ext
73326 cat >>conftest.$ac_ext <<_ACEOF
73327 /* end confdefs.h. */
73328 #include <math.h>
73330 main ()
73332 _modf(0, 0);
73334 return 0;
73336 _ACEOF
73337 rm -f conftest.$ac_objext
73338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73339 (eval $ac_compile) 2>conftest.er1
73340 ac_status=$?
73341 grep -v '^ *+' conftest.er1 >conftest.err
73342 rm -f conftest.er1
73343 cat conftest.err >&5
73344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73345 (exit $ac_status); } &&
73346 { ac_try='test -z "$ac_cxx_werror_flag"
73347 || test ! -s conftest.err'
73348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73349 (eval $ac_try) 2>&5
73350 ac_status=$?
73351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73352 (exit $ac_status); }; } &&
73353 { ac_try='test -s conftest.$ac_objext'
73354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73355 (eval $ac_try) 2>&5
73356 ac_status=$?
73357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73358 (exit $ac_status); }; }; then
73359 glibcxx_cv_func__modf_use=yes
73360 else
73361 echo "$as_me: failed program was:" >&5
73362 sed 's/^/| /' conftest.$ac_ext >&5
73364 glibcxx_cv_func__modf_use=no
73366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73367 ac_ext=c
73368 ac_cpp='$CPP $CPPFLAGS'
73369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73378 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73380 if test x$glibcxx_cv_func__modf_use = x"yes"; then
73382 for ac_func in _modf
73384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73385 echo "$as_me:$LINENO: checking for $ac_func" >&5
73386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73387 if eval "test \"\${$as_ac_var+set}\" = set"; then
73388 echo $ECHO_N "(cached) $ECHO_C" >&6
73389 else
73390 if test x$gcc_no_link = xyes; then
73391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73393 { (exit 1); exit 1; }; }
73395 cat >conftest.$ac_ext <<_ACEOF
73396 /* confdefs.h. */
73397 _ACEOF
73398 cat confdefs.h >>conftest.$ac_ext
73399 cat >>conftest.$ac_ext <<_ACEOF
73400 /* end confdefs.h. */
73401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73403 #define $ac_func innocuous_$ac_func
73405 /* System header to define __stub macros and hopefully few prototypes,
73406 which can conflict with char $ac_func (); below.
73407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73408 <limits.h> exists even on freestanding compilers. */
73410 #ifdef __STDC__
73411 # include <limits.h>
73412 #else
73413 # include <assert.h>
73414 #endif
73416 #undef $ac_func
73418 /* Override any gcc2 internal prototype to avoid an error. */
73419 #ifdef __cplusplus
73420 extern "C"
73422 #endif
73423 /* We use char because int might match the return type of a gcc2
73424 builtin and then its argument prototype would still apply. */
73425 char $ac_func ();
73426 /* The GNU C library defines this for functions which it implements
73427 to always fail with ENOSYS. Some functions are actually named
73428 something starting with __ and the normal name is an alias. */
73429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73430 choke me
73431 #else
73432 char (*f) () = $ac_func;
73433 #endif
73434 #ifdef __cplusplus
73436 #endif
73439 main ()
73441 return f != $ac_func;
73443 return 0;
73445 _ACEOF
73446 rm -f conftest.$ac_objext conftest$ac_exeext
73447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73448 (eval $ac_link) 2>conftest.er1
73449 ac_status=$?
73450 grep -v '^ *+' conftest.er1 >conftest.err
73451 rm -f conftest.er1
73452 cat conftest.err >&5
73453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73454 (exit $ac_status); } &&
73455 { ac_try='test -z "$ac_c_werror_flag"
73456 || test ! -s conftest.err'
73457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73458 (eval $ac_try) 2>&5
73459 ac_status=$?
73460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73461 (exit $ac_status); }; } &&
73462 { ac_try='test -s conftest$ac_exeext'
73463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73464 (eval $ac_try) 2>&5
73465 ac_status=$?
73466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73467 (exit $ac_status); }; }; then
73468 eval "$as_ac_var=yes"
73469 else
73470 echo "$as_me: failed program was:" >&5
73471 sed 's/^/| /' conftest.$ac_ext >&5
73473 eval "$as_ac_var=no"
73475 rm -f conftest.err conftest.$ac_objext \
73476 conftest$ac_exeext conftest.$ac_ext
73478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73480 if test `eval echo '${'$as_ac_var'}'` = yes; then
73481 cat >>confdefs.h <<_ACEOF
73482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73483 _ACEOF
73486 done
73496 echo "$as_me:$LINENO: checking for powf declaration" >&5
73497 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
73498 if test x${glibcxx_cv_func_powf_use+set} != xset; then
73499 if test "${glibcxx_cv_func_powf_use+set}" = set; then
73500 echo $ECHO_N "(cached) $ECHO_C" >&6
73501 else
73505 ac_ext=cc
73506 ac_cpp='$CXXCPP $CPPFLAGS'
73507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73511 cat >conftest.$ac_ext <<_ACEOF
73512 /* confdefs.h. */
73513 _ACEOF
73514 cat confdefs.h >>conftest.$ac_ext
73515 cat >>conftest.$ac_ext <<_ACEOF
73516 /* end confdefs.h. */
73517 #include <math.h>
73519 main ()
73521 powf(0, 0);
73523 return 0;
73525 _ACEOF
73526 rm -f conftest.$ac_objext
73527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73528 (eval $ac_compile) 2>conftest.er1
73529 ac_status=$?
73530 grep -v '^ *+' conftest.er1 >conftest.err
73531 rm -f conftest.er1
73532 cat conftest.err >&5
73533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73534 (exit $ac_status); } &&
73535 { ac_try='test -z "$ac_cxx_werror_flag"
73536 || test ! -s conftest.err'
73537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73538 (eval $ac_try) 2>&5
73539 ac_status=$?
73540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73541 (exit $ac_status); }; } &&
73542 { ac_try='test -s conftest.$ac_objext'
73543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73544 (eval $ac_try) 2>&5
73545 ac_status=$?
73546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73547 (exit $ac_status); }; }; then
73548 glibcxx_cv_func_powf_use=yes
73549 else
73550 echo "$as_me: failed program was:" >&5
73551 sed 's/^/| /' conftest.$ac_ext >&5
73553 glibcxx_cv_func_powf_use=no
73555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73556 ac_ext=c
73557 ac_cpp='$CPP $CPPFLAGS'
73558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73566 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
73567 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
73569 if test x$glibcxx_cv_func_powf_use = x"yes"; then
73571 for ac_func in powf
73573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73574 echo "$as_me:$LINENO: checking for $ac_func" >&5
73575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73576 if eval "test \"\${$as_ac_var+set}\" = set"; then
73577 echo $ECHO_N "(cached) $ECHO_C" >&6
73578 else
73579 if test x$gcc_no_link = xyes; then
73580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73582 { (exit 1); exit 1; }; }
73584 cat >conftest.$ac_ext <<_ACEOF
73585 /* confdefs.h. */
73586 _ACEOF
73587 cat confdefs.h >>conftest.$ac_ext
73588 cat >>conftest.$ac_ext <<_ACEOF
73589 /* end confdefs.h. */
73590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73592 #define $ac_func innocuous_$ac_func
73594 /* System header to define __stub macros and hopefully few prototypes,
73595 which can conflict with char $ac_func (); below.
73596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73597 <limits.h> exists even on freestanding compilers. */
73599 #ifdef __STDC__
73600 # include <limits.h>
73601 #else
73602 # include <assert.h>
73603 #endif
73605 #undef $ac_func
73607 /* Override any gcc2 internal prototype to avoid an error. */
73608 #ifdef __cplusplus
73609 extern "C"
73611 #endif
73612 /* We use char because int might match the return type of a gcc2
73613 builtin and then its argument prototype would still apply. */
73614 char $ac_func ();
73615 /* The GNU C library defines this for functions which it implements
73616 to always fail with ENOSYS. Some functions are actually named
73617 something starting with __ and the normal name is an alias. */
73618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73619 choke me
73620 #else
73621 char (*f) () = $ac_func;
73622 #endif
73623 #ifdef __cplusplus
73625 #endif
73628 main ()
73630 return f != $ac_func;
73632 return 0;
73634 _ACEOF
73635 rm -f conftest.$ac_objext conftest$ac_exeext
73636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73637 (eval $ac_link) 2>conftest.er1
73638 ac_status=$?
73639 grep -v '^ *+' conftest.er1 >conftest.err
73640 rm -f conftest.er1
73641 cat conftest.err >&5
73642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73643 (exit $ac_status); } &&
73644 { ac_try='test -z "$ac_c_werror_flag"
73645 || test ! -s conftest.err'
73646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73647 (eval $ac_try) 2>&5
73648 ac_status=$?
73649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73650 (exit $ac_status); }; } &&
73651 { ac_try='test -s conftest$ac_exeext'
73652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73653 (eval $ac_try) 2>&5
73654 ac_status=$?
73655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73656 (exit $ac_status); }; }; then
73657 eval "$as_ac_var=yes"
73658 else
73659 echo "$as_me: failed program was:" >&5
73660 sed 's/^/| /' conftest.$ac_ext >&5
73662 eval "$as_ac_var=no"
73664 rm -f conftest.err conftest.$ac_objext \
73665 conftest$ac_exeext conftest.$ac_ext
73667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73669 if test `eval echo '${'$as_ac_var'}'` = yes; then
73670 cat >>confdefs.h <<_ACEOF
73671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73672 _ACEOF
73675 done
73677 else
73679 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73680 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73681 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73682 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73683 echo $ECHO_N "(cached) $ECHO_C" >&6
73684 else
73688 ac_ext=cc
73689 ac_cpp='$CXXCPP $CPPFLAGS'
73690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73694 cat >conftest.$ac_ext <<_ACEOF
73695 /* confdefs.h. */
73696 _ACEOF
73697 cat confdefs.h >>conftest.$ac_ext
73698 cat >>conftest.$ac_ext <<_ACEOF
73699 /* end confdefs.h. */
73700 #include <math.h>
73702 main ()
73704 _powf(0, 0);
73706 return 0;
73708 _ACEOF
73709 rm -f conftest.$ac_objext
73710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73711 (eval $ac_compile) 2>conftest.er1
73712 ac_status=$?
73713 grep -v '^ *+' conftest.er1 >conftest.err
73714 rm -f conftest.er1
73715 cat conftest.err >&5
73716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73717 (exit $ac_status); } &&
73718 { ac_try='test -z "$ac_cxx_werror_flag"
73719 || test ! -s conftest.err'
73720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73721 (eval $ac_try) 2>&5
73722 ac_status=$?
73723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73724 (exit $ac_status); }; } &&
73725 { ac_try='test -s conftest.$ac_objext'
73726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73727 (eval $ac_try) 2>&5
73728 ac_status=$?
73729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73730 (exit $ac_status); }; }; then
73731 glibcxx_cv_func__powf_use=yes
73732 else
73733 echo "$as_me: failed program was:" >&5
73734 sed 's/^/| /' conftest.$ac_ext >&5
73736 glibcxx_cv_func__powf_use=no
73738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73739 ac_ext=c
73740 ac_cpp='$CPP $CPPFLAGS'
73741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73750 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73752 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73754 for ac_func in _powf
73756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73757 echo "$as_me:$LINENO: checking for $ac_func" >&5
73758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73759 if eval "test \"\${$as_ac_var+set}\" = set"; then
73760 echo $ECHO_N "(cached) $ECHO_C" >&6
73761 else
73762 if test x$gcc_no_link = xyes; then
73763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73765 { (exit 1); exit 1; }; }
73767 cat >conftest.$ac_ext <<_ACEOF
73768 /* confdefs.h. */
73769 _ACEOF
73770 cat confdefs.h >>conftest.$ac_ext
73771 cat >>conftest.$ac_ext <<_ACEOF
73772 /* end confdefs.h. */
73773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73775 #define $ac_func innocuous_$ac_func
73777 /* System header to define __stub macros and hopefully few prototypes,
73778 which can conflict with char $ac_func (); below.
73779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73780 <limits.h> exists even on freestanding compilers. */
73782 #ifdef __STDC__
73783 # include <limits.h>
73784 #else
73785 # include <assert.h>
73786 #endif
73788 #undef $ac_func
73790 /* Override any gcc2 internal prototype to avoid an error. */
73791 #ifdef __cplusplus
73792 extern "C"
73794 #endif
73795 /* We use char because int might match the return type of a gcc2
73796 builtin and then its argument prototype would still apply. */
73797 char $ac_func ();
73798 /* The GNU C library defines this for functions which it implements
73799 to always fail with ENOSYS. Some functions are actually named
73800 something starting with __ and the normal name is an alias. */
73801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73802 choke me
73803 #else
73804 char (*f) () = $ac_func;
73805 #endif
73806 #ifdef __cplusplus
73808 #endif
73811 main ()
73813 return f != $ac_func;
73815 return 0;
73817 _ACEOF
73818 rm -f conftest.$ac_objext conftest$ac_exeext
73819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73820 (eval $ac_link) 2>conftest.er1
73821 ac_status=$?
73822 grep -v '^ *+' conftest.er1 >conftest.err
73823 rm -f conftest.er1
73824 cat conftest.err >&5
73825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73826 (exit $ac_status); } &&
73827 { ac_try='test -z "$ac_c_werror_flag"
73828 || test ! -s conftest.err'
73829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73830 (eval $ac_try) 2>&5
73831 ac_status=$?
73832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73833 (exit $ac_status); }; } &&
73834 { ac_try='test -s conftest$ac_exeext'
73835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73836 (eval $ac_try) 2>&5
73837 ac_status=$?
73838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73839 (exit $ac_status); }; }; then
73840 eval "$as_ac_var=yes"
73841 else
73842 echo "$as_me: failed program was:" >&5
73843 sed 's/^/| /' conftest.$ac_ext >&5
73845 eval "$as_ac_var=no"
73847 rm -f conftest.err conftest.$ac_objext \
73848 conftest$ac_exeext conftest.$ac_ext
73850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73852 if test `eval echo '${'$as_ac_var'}'` = yes; then
73853 cat >>confdefs.h <<_ACEOF
73854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73855 _ACEOF
73858 done
73868 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73869 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73870 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73871 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73872 echo $ECHO_N "(cached) $ECHO_C" >&6
73873 else
73877 ac_ext=cc
73878 ac_cpp='$CXXCPP $CPPFLAGS'
73879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73883 cat >conftest.$ac_ext <<_ACEOF
73884 /* confdefs.h. */
73885 _ACEOF
73886 cat confdefs.h >>conftest.$ac_ext
73887 cat >>conftest.$ac_ext <<_ACEOF
73888 /* end confdefs.h. */
73889 #include <math.h>
73890 #ifdef HAVE_IEEEFP_H
73891 #include <ieeefp.h>
73892 #endif
73895 main ()
73897 sqrtf(0);
73899 return 0;
73901 _ACEOF
73902 rm -f conftest.$ac_objext
73903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73904 (eval $ac_compile) 2>conftest.er1
73905 ac_status=$?
73906 grep -v '^ *+' conftest.er1 >conftest.err
73907 rm -f conftest.er1
73908 cat conftest.err >&5
73909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73910 (exit $ac_status); } &&
73911 { ac_try='test -z "$ac_cxx_werror_flag"
73912 || test ! -s conftest.err'
73913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73914 (eval $ac_try) 2>&5
73915 ac_status=$?
73916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73917 (exit $ac_status); }; } &&
73918 { ac_try='test -s conftest.$ac_objext'
73919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73920 (eval $ac_try) 2>&5
73921 ac_status=$?
73922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73923 (exit $ac_status); }; }; then
73924 glibcxx_cv_func_sqrtf_use=yes
73925 else
73926 echo "$as_me: failed program was:" >&5
73927 sed 's/^/| /' conftest.$ac_ext >&5
73929 glibcxx_cv_func_sqrtf_use=no
73931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73932 ac_ext=c
73933 ac_cpp='$CPP $CPPFLAGS'
73934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73943 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73945 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73947 for ac_func in sqrtf
73949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73950 echo "$as_me:$LINENO: checking for $ac_func" >&5
73951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73952 if eval "test \"\${$as_ac_var+set}\" = set"; then
73953 echo $ECHO_N "(cached) $ECHO_C" >&6
73954 else
73955 if test x$gcc_no_link = xyes; then
73956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73958 { (exit 1); exit 1; }; }
73960 cat >conftest.$ac_ext <<_ACEOF
73961 /* confdefs.h. */
73962 _ACEOF
73963 cat confdefs.h >>conftest.$ac_ext
73964 cat >>conftest.$ac_ext <<_ACEOF
73965 /* end confdefs.h. */
73966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73968 #define $ac_func innocuous_$ac_func
73970 /* System header to define __stub macros and hopefully few prototypes,
73971 which can conflict with char $ac_func (); below.
73972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73973 <limits.h> exists even on freestanding compilers. */
73975 #ifdef __STDC__
73976 # include <limits.h>
73977 #else
73978 # include <assert.h>
73979 #endif
73981 #undef $ac_func
73983 /* Override any gcc2 internal prototype to avoid an error. */
73984 #ifdef __cplusplus
73985 extern "C"
73987 #endif
73988 /* We use char because int might match the return type of a gcc2
73989 builtin and then its argument prototype would still apply. */
73990 char $ac_func ();
73991 /* The GNU C library defines this for functions which it implements
73992 to always fail with ENOSYS. Some functions are actually named
73993 something starting with __ and the normal name is an alias. */
73994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73995 choke me
73996 #else
73997 char (*f) () = $ac_func;
73998 #endif
73999 #ifdef __cplusplus
74001 #endif
74004 main ()
74006 return f != $ac_func;
74008 return 0;
74010 _ACEOF
74011 rm -f conftest.$ac_objext conftest$ac_exeext
74012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74013 (eval $ac_link) 2>conftest.er1
74014 ac_status=$?
74015 grep -v '^ *+' conftest.er1 >conftest.err
74016 rm -f conftest.er1
74017 cat conftest.err >&5
74018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74019 (exit $ac_status); } &&
74020 { ac_try='test -z "$ac_c_werror_flag"
74021 || test ! -s conftest.err'
74022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74023 (eval $ac_try) 2>&5
74024 ac_status=$?
74025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74026 (exit $ac_status); }; } &&
74027 { ac_try='test -s conftest$ac_exeext'
74028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74029 (eval $ac_try) 2>&5
74030 ac_status=$?
74031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74032 (exit $ac_status); }; }; then
74033 eval "$as_ac_var=yes"
74034 else
74035 echo "$as_me: failed program was:" >&5
74036 sed 's/^/| /' conftest.$ac_ext >&5
74038 eval "$as_ac_var=no"
74040 rm -f conftest.err conftest.$ac_objext \
74041 conftest$ac_exeext conftest.$ac_ext
74043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74045 if test `eval echo '${'$as_ac_var'}'` = yes; then
74046 cat >>confdefs.h <<_ACEOF
74047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74048 _ACEOF
74051 done
74053 else
74055 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
74056 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
74057 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74058 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
74059 echo $ECHO_N "(cached) $ECHO_C" >&6
74060 else
74064 ac_ext=cc
74065 ac_cpp='$CXXCPP $CPPFLAGS'
74066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74070 cat >conftest.$ac_ext <<_ACEOF
74071 /* confdefs.h. */
74072 _ACEOF
74073 cat confdefs.h >>conftest.$ac_ext
74074 cat >>conftest.$ac_ext <<_ACEOF
74075 /* end confdefs.h. */
74076 #include <math.h>
74077 #ifdef HAVE_IEEEFP_H
74078 #include <ieeefp.h>
74079 #endif
74082 main ()
74084 _sqrtf(0);
74086 return 0;
74088 _ACEOF
74089 rm -f conftest.$ac_objext
74090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74091 (eval $ac_compile) 2>conftest.er1
74092 ac_status=$?
74093 grep -v '^ *+' conftest.er1 >conftest.err
74094 rm -f conftest.er1
74095 cat conftest.err >&5
74096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74097 (exit $ac_status); } &&
74098 { ac_try='test -z "$ac_cxx_werror_flag"
74099 || test ! -s conftest.err'
74100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74101 (eval $ac_try) 2>&5
74102 ac_status=$?
74103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74104 (exit $ac_status); }; } &&
74105 { ac_try='test -s conftest.$ac_objext'
74106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74107 (eval $ac_try) 2>&5
74108 ac_status=$?
74109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74110 (exit $ac_status); }; }; then
74111 glibcxx_cv_func__sqrtf_use=yes
74112 else
74113 echo "$as_me: failed program was:" >&5
74114 sed 's/^/| /' conftest.$ac_ext >&5
74116 glibcxx_cv_func__sqrtf_use=no
74118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74119 ac_ext=c
74120 ac_cpp='$CPP $CPPFLAGS'
74121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
74130 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
74132 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74134 for ac_func in _sqrtf
74136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74137 echo "$as_me:$LINENO: checking for $ac_func" >&5
74138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74139 if eval "test \"\${$as_ac_var+set}\" = set"; then
74140 echo $ECHO_N "(cached) $ECHO_C" >&6
74141 else
74142 if test x$gcc_no_link = xyes; then
74143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74145 { (exit 1); exit 1; }; }
74147 cat >conftest.$ac_ext <<_ACEOF
74148 /* confdefs.h. */
74149 _ACEOF
74150 cat confdefs.h >>conftest.$ac_ext
74151 cat >>conftest.$ac_ext <<_ACEOF
74152 /* end confdefs.h. */
74153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74155 #define $ac_func innocuous_$ac_func
74157 /* System header to define __stub macros and hopefully few prototypes,
74158 which can conflict with char $ac_func (); below.
74159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74160 <limits.h> exists even on freestanding compilers. */
74162 #ifdef __STDC__
74163 # include <limits.h>
74164 #else
74165 # include <assert.h>
74166 #endif
74168 #undef $ac_func
74170 /* Override any gcc2 internal prototype to avoid an error. */
74171 #ifdef __cplusplus
74172 extern "C"
74174 #endif
74175 /* We use char because int might match the return type of a gcc2
74176 builtin and then its argument prototype would still apply. */
74177 char $ac_func ();
74178 /* The GNU C library defines this for functions which it implements
74179 to always fail with ENOSYS. Some functions are actually named
74180 something starting with __ and the normal name is an alias. */
74181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74182 choke me
74183 #else
74184 char (*f) () = $ac_func;
74185 #endif
74186 #ifdef __cplusplus
74188 #endif
74191 main ()
74193 return f != $ac_func;
74195 return 0;
74197 _ACEOF
74198 rm -f conftest.$ac_objext conftest$ac_exeext
74199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74200 (eval $ac_link) 2>conftest.er1
74201 ac_status=$?
74202 grep -v '^ *+' conftest.er1 >conftest.err
74203 rm -f conftest.er1
74204 cat conftest.err >&5
74205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74206 (exit $ac_status); } &&
74207 { ac_try='test -z "$ac_c_werror_flag"
74208 || test ! -s conftest.err'
74209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74210 (eval $ac_try) 2>&5
74211 ac_status=$?
74212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74213 (exit $ac_status); }; } &&
74214 { ac_try='test -s conftest$ac_exeext'
74215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74216 (eval $ac_try) 2>&5
74217 ac_status=$?
74218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74219 (exit $ac_status); }; }; then
74220 eval "$as_ac_var=yes"
74221 else
74222 echo "$as_me: failed program was:" >&5
74223 sed 's/^/| /' conftest.$ac_ext >&5
74225 eval "$as_ac_var=no"
74227 rm -f conftest.err conftest.$ac_objext \
74228 conftest$ac_exeext conftest.$ac_ext
74230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74232 if test `eval echo '${'$as_ac_var'}'` = yes; then
74233 cat >>confdefs.h <<_ACEOF
74234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74235 _ACEOF
74238 done
74248 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74249 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74250 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74251 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74252 echo $ECHO_N "(cached) $ECHO_C" >&6
74253 else
74257 ac_ext=cc
74258 ac_cpp='$CXXCPP $CPPFLAGS'
74259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74263 cat >conftest.$ac_ext <<_ACEOF
74264 /* confdefs.h. */
74265 _ACEOF
74266 cat confdefs.h >>conftest.$ac_ext
74267 cat >>conftest.$ac_ext <<_ACEOF
74268 /* end confdefs.h. */
74269 #include <math.h>
74271 main ()
74273 sincosf(0, 0, 0);
74275 return 0;
74277 _ACEOF
74278 rm -f conftest.$ac_objext
74279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74280 (eval $ac_compile) 2>conftest.er1
74281 ac_status=$?
74282 grep -v '^ *+' conftest.er1 >conftest.err
74283 rm -f conftest.er1
74284 cat conftest.err >&5
74285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74286 (exit $ac_status); } &&
74287 { ac_try='test -z "$ac_cxx_werror_flag"
74288 || test ! -s conftest.err'
74289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74290 (eval $ac_try) 2>&5
74291 ac_status=$?
74292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74293 (exit $ac_status); }; } &&
74294 { ac_try='test -s conftest.$ac_objext'
74295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74296 (eval $ac_try) 2>&5
74297 ac_status=$?
74298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74299 (exit $ac_status); }; }; then
74300 glibcxx_cv_func_sincosf_use=yes
74301 else
74302 echo "$as_me: failed program was:" >&5
74303 sed 's/^/| /' conftest.$ac_ext >&5
74305 glibcxx_cv_func_sincosf_use=no
74307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74308 ac_ext=c
74309 ac_cpp='$CPP $CPPFLAGS'
74310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74319 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74321 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74323 for ac_func in sincosf
74325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74326 echo "$as_me:$LINENO: checking for $ac_func" >&5
74327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74328 if eval "test \"\${$as_ac_var+set}\" = set"; then
74329 echo $ECHO_N "(cached) $ECHO_C" >&6
74330 else
74331 if test x$gcc_no_link = xyes; then
74332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74334 { (exit 1); exit 1; }; }
74336 cat >conftest.$ac_ext <<_ACEOF
74337 /* confdefs.h. */
74338 _ACEOF
74339 cat confdefs.h >>conftest.$ac_ext
74340 cat >>conftest.$ac_ext <<_ACEOF
74341 /* end confdefs.h. */
74342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74344 #define $ac_func innocuous_$ac_func
74346 /* System header to define __stub macros and hopefully few prototypes,
74347 which can conflict with char $ac_func (); below.
74348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74349 <limits.h> exists even on freestanding compilers. */
74351 #ifdef __STDC__
74352 # include <limits.h>
74353 #else
74354 # include <assert.h>
74355 #endif
74357 #undef $ac_func
74359 /* Override any gcc2 internal prototype to avoid an error. */
74360 #ifdef __cplusplus
74361 extern "C"
74363 #endif
74364 /* We use char because int might match the return type of a gcc2
74365 builtin and then its argument prototype would still apply. */
74366 char $ac_func ();
74367 /* The GNU C library defines this for functions which it implements
74368 to always fail with ENOSYS. Some functions are actually named
74369 something starting with __ and the normal name is an alias. */
74370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74371 choke me
74372 #else
74373 char (*f) () = $ac_func;
74374 #endif
74375 #ifdef __cplusplus
74377 #endif
74380 main ()
74382 return f != $ac_func;
74384 return 0;
74386 _ACEOF
74387 rm -f conftest.$ac_objext conftest$ac_exeext
74388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74389 (eval $ac_link) 2>conftest.er1
74390 ac_status=$?
74391 grep -v '^ *+' conftest.er1 >conftest.err
74392 rm -f conftest.er1
74393 cat conftest.err >&5
74394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74395 (exit $ac_status); } &&
74396 { ac_try='test -z "$ac_c_werror_flag"
74397 || test ! -s conftest.err'
74398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74399 (eval $ac_try) 2>&5
74400 ac_status=$?
74401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74402 (exit $ac_status); }; } &&
74403 { ac_try='test -s conftest$ac_exeext'
74404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74405 (eval $ac_try) 2>&5
74406 ac_status=$?
74407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74408 (exit $ac_status); }; }; then
74409 eval "$as_ac_var=yes"
74410 else
74411 echo "$as_me: failed program was:" >&5
74412 sed 's/^/| /' conftest.$ac_ext >&5
74414 eval "$as_ac_var=no"
74416 rm -f conftest.err conftest.$ac_objext \
74417 conftest$ac_exeext conftest.$ac_ext
74419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74421 if test `eval echo '${'$as_ac_var'}'` = yes; then
74422 cat >>confdefs.h <<_ACEOF
74423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74424 _ACEOF
74427 done
74429 else
74431 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74432 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74433 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74434 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74435 echo $ECHO_N "(cached) $ECHO_C" >&6
74436 else
74440 ac_ext=cc
74441 ac_cpp='$CXXCPP $CPPFLAGS'
74442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74446 cat >conftest.$ac_ext <<_ACEOF
74447 /* confdefs.h. */
74448 _ACEOF
74449 cat confdefs.h >>conftest.$ac_ext
74450 cat >>conftest.$ac_ext <<_ACEOF
74451 /* end confdefs.h. */
74452 #include <math.h>
74454 main ()
74456 _sincosf(0, 0, 0);
74458 return 0;
74460 _ACEOF
74461 rm -f conftest.$ac_objext
74462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74463 (eval $ac_compile) 2>conftest.er1
74464 ac_status=$?
74465 grep -v '^ *+' conftest.er1 >conftest.err
74466 rm -f conftest.er1
74467 cat conftest.err >&5
74468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74469 (exit $ac_status); } &&
74470 { ac_try='test -z "$ac_cxx_werror_flag"
74471 || test ! -s conftest.err'
74472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74473 (eval $ac_try) 2>&5
74474 ac_status=$?
74475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74476 (exit $ac_status); }; } &&
74477 { ac_try='test -s conftest.$ac_objext'
74478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74479 (eval $ac_try) 2>&5
74480 ac_status=$?
74481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74482 (exit $ac_status); }; }; then
74483 glibcxx_cv_func__sincosf_use=yes
74484 else
74485 echo "$as_me: failed program was:" >&5
74486 sed 's/^/| /' conftest.$ac_ext >&5
74488 glibcxx_cv_func__sincosf_use=no
74490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74491 ac_ext=c
74492 ac_cpp='$CPP $CPPFLAGS'
74493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
74502 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
74504 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74506 for ac_func in _sincosf
74508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74509 echo "$as_me:$LINENO: checking for $ac_func" >&5
74510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74511 if eval "test \"\${$as_ac_var+set}\" = set"; then
74512 echo $ECHO_N "(cached) $ECHO_C" >&6
74513 else
74514 if test x$gcc_no_link = xyes; then
74515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74517 { (exit 1); exit 1; }; }
74519 cat >conftest.$ac_ext <<_ACEOF
74520 /* confdefs.h. */
74521 _ACEOF
74522 cat confdefs.h >>conftest.$ac_ext
74523 cat >>conftest.$ac_ext <<_ACEOF
74524 /* end confdefs.h. */
74525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74527 #define $ac_func innocuous_$ac_func
74529 /* System header to define __stub macros and hopefully few prototypes,
74530 which can conflict with char $ac_func (); below.
74531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74532 <limits.h> exists even on freestanding compilers. */
74534 #ifdef __STDC__
74535 # include <limits.h>
74536 #else
74537 # include <assert.h>
74538 #endif
74540 #undef $ac_func
74542 /* Override any gcc2 internal prototype to avoid an error. */
74543 #ifdef __cplusplus
74544 extern "C"
74546 #endif
74547 /* We use char because int might match the return type of a gcc2
74548 builtin and then its argument prototype would still apply. */
74549 char $ac_func ();
74550 /* The GNU C library defines this for functions which it implements
74551 to always fail with ENOSYS. Some functions are actually named
74552 something starting with __ and the normal name is an alias. */
74553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74554 choke me
74555 #else
74556 char (*f) () = $ac_func;
74557 #endif
74558 #ifdef __cplusplus
74560 #endif
74563 main ()
74565 return f != $ac_func;
74567 return 0;
74569 _ACEOF
74570 rm -f conftest.$ac_objext conftest$ac_exeext
74571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74572 (eval $ac_link) 2>conftest.er1
74573 ac_status=$?
74574 grep -v '^ *+' conftest.er1 >conftest.err
74575 rm -f conftest.er1
74576 cat conftest.err >&5
74577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74578 (exit $ac_status); } &&
74579 { ac_try='test -z "$ac_c_werror_flag"
74580 || test ! -s conftest.err'
74581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74582 (eval $ac_try) 2>&5
74583 ac_status=$?
74584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74585 (exit $ac_status); }; } &&
74586 { ac_try='test -s conftest$ac_exeext'
74587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74588 (eval $ac_try) 2>&5
74589 ac_status=$?
74590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74591 (exit $ac_status); }; }; then
74592 eval "$as_ac_var=yes"
74593 else
74594 echo "$as_me: failed program was:" >&5
74595 sed 's/^/| /' conftest.$ac_ext >&5
74597 eval "$as_ac_var=no"
74599 rm -f conftest.err conftest.$ac_objext \
74600 conftest$ac_exeext conftest.$ac_ext
74602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74604 if test `eval echo '${'$as_ac_var'}'` = yes; then
74605 cat >>confdefs.h <<_ACEOF
74606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74607 _ACEOF
74610 done
74620 echo "$as_me:$LINENO: checking for finitef declaration" >&5
74621 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74622 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74623 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74624 echo $ECHO_N "(cached) $ECHO_C" >&6
74625 else
74629 ac_ext=cc
74630 ac_cpp='$CXXCPP $CPPFLAGS'
74631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74635 cat >conftest.$ac_ext <<_ACEOF
74636 /* confdefs.h. */
74637 _ACEOF
74638 cat confdefs.h >>conftest.$ac_ext
74639 cat >>conftest.$ac_ext <<_ACEOF
74640 /* end confdefs.h. */
74641 #include <math.h>
74642 #ifdef HAVE_IEEEFP_H
74643 #include <ieeefp.h>
74644 #endif
74647 main ()
74649 finitef(0);
74651 return 0;
74653 _ACEOF
74654 rm -f conftest.$ac_objext
74655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74656 (eval $ac_compile) 2>conftest.er1
74657 ac_status=$?
74658 grep -v '^ *+' conftest.er1 >conftest.err
74659 rm -f conftest.er1
74660 cat conftest.err >&5
74661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74662 (exit $ac_status); } &&
74663 { ac_try='test -z "$ac_cxx_werror_flag"
74664 || test ! -s conftest.err'
74665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74666 (eval $ac_try) 2>&5
74667 ac_status=$?
74668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74669 (exit $ac_status); }; } &&
74670 { ac_try='test -s conftest.$ac_objext'
74671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74672 (eval $ac_try) 2>&5
74673 ac_status=$?
74674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74675 (exit $ac_status); }; }; then
74676 glibcxx_cv_func_finitef_use=yes
74677 else
74678 echo "$as_me: failed program was:" >&5
74679 sed 's/^/| /' conftest.$ac_ext >&5
74681 glibcxx_cv_func_finitef_use=no
74683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74684 ac_ext=c
74685 ac_cpp='$CPP $CPPFLAGS'
74686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74695 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74697 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74699 for ac_func in finitef
74701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74702 echo "$as_me:$LINENO: checking for $ac_func" >&5
74703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74704 if eval "test \"\${$as_ac_var+set}\" = set"; then
74705 echo $ECHO_N "(cached) $ECHO_C" >&6
74706 else
74707 if test x$gcc_no_link = xyes; then
74708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74710 { (exit 1); exit 1; }; }
74712 cat >conftest.$ac_ext <<_ACEOF
74713 /* confdefs.h. */
74714 _ACEOF
74715 cat confdefs.h >>conftest.$ac_ext
74716 cat >>conftest.$ac_ext <<_ACEOF
74717 /* end confdefs.h. */
74718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74720 #define $ac_func innocuous_$ac_func
74722 /* System header to define __stub macros and hopefully few prototypes,
74723 which can conflict with char $ac_func (); below.
74724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74725 <limits.h> exists even on freestanding compilers. */
74727 #ifdef __STDC__
74728 # include <limits.h>
74729 #else
74730 # include <assert.h>
74731 #endif
74733 #undef $ac_func
74735 /* Override any gcc2 internal prototype to avoid an error. */
74736 #ifdef __cplusplus
74737 extern "C"
74739 #endif
74740 /* We use char because int might match the return type of a gcc2
74741 builtin and then its argument prototype would still apply. */
74742 char $ac_func ();
74743 /* The GNU C library defines this for functions which it implements
74744 to always fail with ENOSYS. Some functions are actually named
74745 something starting with __ and the normal name is an alias. */
74746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74747 choke me
74748 #else
74749 char (*f) () = $ac_func;
74750 #endif
74751 #ifdef __cplusplus
74753 #endif
74756 main ()
74758 return f != $ac_func;
74760 return 0;
74762 _ACEOF
74763 rm -f conftest.$ac_objext conftest$ac_exeext
74764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74765 (eval $ac_link) 2>conftest.er1
74766 ac_status=$?
74767 grep -v '^ *+' conftest.er1 >conftest.err
74768 rm -f conftest.er1
74769 cat conftest.err >&5
74770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74771 (exit $ac_status); } &&
74772 { ac_try='test -z "$ac_c_werror_flag"
74773 || test ! -s conftest.err'
74774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74775 (eval $ac_try) 2>&5
74776 ac_status=$?
74777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74778 (exit $ac_status); }; } &&
74779 { ac_try='test -s conftest$ac_exeext'
74780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74781 (eval $ac_try) 2>&5
74782 ac_status=$?
74783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74784 (exit $ac_status); }; }; then
74785 eval "$as_ac_var=yes"
74786 else
74787 echo "$as_me: failed program was:" >&5
74788 sed 's/^/| /' conftest.$ac_ext >&5
74790 eval "$as_ac_var=no"
74792 rm -f conftest.err conftest.$ac_objext \
74793 conftest$ac_exeext conftest.$ac_ext
74795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74797 if test `eval echo '${'$as_ac_var'}'` = yes; then
74798 cat >>confdefs.h <<_ACEOF
74799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74800 _ACEOF
74803 done
74805 else
74807 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74808 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74809 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74810 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74811 echo $ECHO_N "(cached) $ECHO_C" >&6
74812 else
74816 ac_ext=cc
74817 ac_cpp='$CXXCPP $CPPFLAGS'
74818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74822 cat >conftest.$ac_ext <<_ACEOF
74823 /* confdefs.h. */
74824 _ACEOF
74825 cat confdefs.h >>conftest.$ac_ext
74826 cat >>conftest.$ac_ext <<_ACEOF
74827 /* end confdefs.h. */
74828 #include <math.h>
74829 #ifdef HAVE_IEEEFP_H
74830 #include <ieeefp.h>
74831 #endif
74834 main ()
74836 _finitef(0);
74838 return 0;
74840 _ACEOF
74841 rm -f conftest.$ac_objext
74842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74843 (eval $ac_compile) 2>conftest.er1
74844 ac_status=$?
74845 grep -v '^ *+' conftest.er1 >conftest.err
74846 rm -f conftest.er1
74847 cat conftest.err >&5
74848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74849 (exit $ac_status); } &&
74850 { ac_try='test -z "$ac_cxx_werror_flag"
74851 || test ! -s conftest.err'
74852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74853 (eval $ac_try) 2>&5
74854 ac_status=$?
74855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74856 (exit $ac_status); }; } &&
74857 { ac_try='test -s conftest.$ac_objext'
74858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74859 (eval $ac_try) 2>&5
74860 ac_status=$?
74861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74862 (exit $ac_status); }; }; then
74863 glibcxx_cv_func__finitef_use=yes
74864 else
74865 echo "$as_me: failed program was:" >&5
74866 sed 's/^/| /' conftest.$ac_ext >&5
74868 glibcxx_cv_func__finitef_use=no
74870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74871 ac_ext=c
74872 ac_cpp='$CPP $CPPFLAGS'
74873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74882 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74884 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74886 for ac_func in _finitef
74888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74889 echo "$as_me:$LINENO: checking for $ac_func" >&5
74890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74891 if eval "test \"\${$as_ac_var+set}\" = set"; then
74892 echo $ECHO_N "(cached) $ECHO_C" >&6
74893 else
74894 if test x$gcc_no_link = xyes; then
74895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74897 { (exit 1); exit 1; }; }
74899 cat >conftest.$ac_ext <<_ACEOF
74900 /* confdefs.h. */
74901 _ACEOF
74902 cat confdefs.h >>conftest.$ac_ext
74903 cat >>conftest.$ac_ext <<_ACEOF
74904 /* end confdefs.h. */
74905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74907 #define $ac_func innocuous_$ac_func
74909 /* System header to define __stub macros and hopefully few prototypes,
74910 which can conflict with char $ac_func (); below.
74911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74912 <limits.h> exists even on freestanding compilers. */
74914 #ifdef __STDC__
74915 # include <limits.h>
74916 #else
74917 # include <assert.h>
74918 #endif
74920 #undef $ac_func
74922 /* Override any gcc2 internal prototype to avoid an error. */
74923 #ifdef __cplusplus
74924 extern "C"
74926 #endif
74927 /* We use char because int might match the return type of a gcc2
74928 builtin and then its argument prototype would still apply. */
74929 char $ac_func ();
74930 /* The GNU C library defines this for functions which it implements
74931 to always fail with ENOSYS. Some functions are actually named
74932 something starting with __ and the normal name is an alias. */
74933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74934 choke me
74935 #else
74936 char (*f) () = $ac_func;
74937 #endif
74938 #ifdef __cplusplus
74940 #endif
74943 main ()
74945 return f != $ac_func;
74947 return 0;
74949 _ACEOF
74950 rm -f conftest.$ac_objext conftest$ac_exeext
74951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74952 (eval $ac_link) 2>conftest.er1
74953 ac_status=$?
74954 grep -v '^ *+' conftest.er1 >conftest.err
74955 rm -f conftest.er1
74956 cat conftest.err >&5
74957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74958 (exit $ac_status); } &&
74959 { ac_try='test -z "$ac_c_werror_flag"
74960 || test ! -s conftest.err'
74961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74962 (eval $ac_try) 2>&5
74963 ac_status=$?
74964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74965 (exit $ac_status); }; } &&
74966 { ac_try='test -s conftest$ac_exeext'
74967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74968 (eval $ac_try) 2>&5
74969 ac_status=$?
74970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74971 (exit $ac_status); }; }; then
74972 eval "$as_ac_var=yes"
74973 else
74974 echo "$as_me: failed program was:" >&5
74975 sed 's/^/| /' conftest.$ac_ext >&5
74977 eval "$as_ac_var=no"
74979 rm -f conftest.err conftest.$ac_objext \
74980 conftest$ac_exeext conftest.$ac_ext
74982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74984 if test `eval echo '${'$as_ac_var'}'` = yes; then
74985 cat >>confdefs.h <<_ACEOF
74986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74987 _ACEOF
74990 done
75000 echo "$as_me:$LINENO: checking for long double trig functions" >&5
75001 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
75002 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
75003 echo $ECHO_N "(cached) $ECHO_C" >&6
75004 else
75008 ac_ext=cc
75009 ac_cpp='$CXXCPP $CPPFLAGS'
75010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75014 cat >conftest.$ac_ext <<_ACEOF
75015 /* confdefs.h. */
75016 _ACEOF
75017 cat confdefs.h >>conftest.$ac_ext
75018 cat >>conftest.$ac_ext <<_ACEOF
75019 /* end confdefs.h. */
75020 #include <math.h>
75022 main ()
75024 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75026 return 0;
75028 _ACEOF
75029 rm -f conftest.$ac_objext
75030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75031 (eval $ac_compile) 2>conftest.er1
75032 ac_status=$?
75033 grep -v '^ *+' conftest.er1 >conftest.err
75034 rm -f conftest.er1
75035 cat conftest.err >&5
75036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75037 (exit $ac_status); } &&
75038 { ac_try='test -z "$ac_cxx_werror_flag"
75039 || test ! -s conftest.err'
75040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75041 (eval $ac_try) 2>&5
75042 ac_status=$?
75043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75044 (exit $ac_status); }; } &&
75045 { ac_try='test -s conftest.$ac_objext'
75046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75047 (eval $ac_try) 2>&5
75048 ac_status=$?
75049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75050 (exit $ac_status); }; }; then
75051 glibcxx_cv_func_long_double_trig_use=yes
75052 else
75053 echo "$as_me: failed program was:" >&5
75054 sed 's/^/| /' conftest.$ac_ext >&5
75056 glibcxx_cv_func_long_double_trig_use=no
75058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75059 ac_ext=c
75060 ac_cpp='$CPP $CPPFLAGS'
75061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
75068 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
75069 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75079 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75082 echo "$as_me:$LINENO: checking for $ac_func" >&5
75083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75084 if eval "test \"\${$as_ac_var+set}\" = set"; then
75085 echo $ECHO_N "(cached) $ECHO_C" >&6
75086 else
75087 if test x$gcc_no_link = xyes; then
75088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75090 { (exit 1); exit 1; }; }
75092 cat >conftest.$ac_ext <<_ACEOF
75093 /* confdefs.h. */
75094 _ACEOF
75095 cat confdefs.h >>conftest.$ac_ext
75096 cat >>conftest.$ac_ext <<_ACEOF
75097 /* end confdefs.h. */
75098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75100 #define $ac_func innocuous_$ac_func
75102 /* System header to define __stub macros and hopefully few prototypes,
75103 which can conflict with char $ac_func (); below.
75104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75105 <limits.h> exists even on freestanding compilers. */
75107 #ifdef __STDC__
75108 # include <limits.h>
75109 #else
75110 # include <assert.h>
75111 #endif
75113 #undef $ac_func
75115 /* Override any gcc2 internal prototype to avoid an error. */
75116 #ifdef __cplusplus
75117 extern "C"
75119 #endif
75120 /* We use char because int might match the return type of a gcc2
75121 builtin and then its argument prototype would still apply. */
75122 char $ac_func ();
75123 /* The GNU C library defines this for functions which it implements
75124 to always fail with ENOSYS. Some functions are actually named
75125 something starting with __ and the normal name is an alias. */
75126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75127 choke me
75128 #else
75129 char (*f) () = $ac_func;
75130 #endif
75131 #ifdef __cplusplus
75133 #endif
75136 main ()
75138 return f != $ac_func;
75140 return 0;
75142 _ACEOF
75143 rm -f conftest.$ac_objext conftest$ac_exeext
75144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75145 (eval $ac_link) 2>conftest.er1
75146 ac_status=$?
75147 grep -v '^ *+' conftest.er1 >conftest.err
75148 rm -f conftest.er1
75149 cat conftest.err >&5
75150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75151 (exit $ac_status); } &&
75152 { ac_try='test -z "$ac_c_werror_flag"
75153 || test ! -s conftest.err'
75154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75155 (eval $ac_try) 2>&5
75156 ac_status=$?
75157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75158 (exit $ac_status); }; } &&
75159 { ac_try='test -s conftest$ac_exeext'
75160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75161 (eval $ac_try) 2>&5
75162 ac_status=$?
75163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75164 (exit $ac_status); }; }; then
75165 eval "$as_ac_var=yes"
75166 else
75167 echo "$as_me: failed program was:" >&5
75168 sed 's/^/| /' conftest.$ac_ext >&5
75170 eval "$as_ac_var=no"
75172 rm -f conftest.err conftest.$ac_objext \
75173 conftest$ac_exeext conftest.$ac_ext
75175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75177 if test `eval echo '${'$as_ac_var'}'` = yes; then
75178 cat >>confdefs.h <<_ACEOF
75179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75180 _ACEOF
75183 done
75185 else
75186 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75187 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75188 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75189 echo $ECHO_N "(cached) $ECHO_C" >&6
75190 else
75194 ac_ext=cc
75195 ac_cpp='$CXXCPP $CPPFLAGS'
75196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75200 cat >conftest.$ac_ext <<_ACEOF
75201 /* confdefs.h. */
75202 _ACEOF
75203 cat confdefs.h >>conftest.$ac_ext
75204 cat >>conftest.$ac_ext <<_ACEOF
75205 /* end confdefs.h. */
75206 #include <math.h>
75208 main ()
75210 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75212 return 0;
75214 _ACEOF
75215 rm -f conftest.$ac_objext
75216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75217 (eval $ac_compile) 2>conftest.er1
75218 ac_status=$?
75219 grep -v '^ *+' conftest.er1 >conftest.err
75220 rm -f conftest.er1
75221 cat conftest.err >&5
75222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75223 (exit $ac_status); } &&
75224 { ac_try='test -z "$ac_cxx_werror_flag"
75225 || test ! -s conftest.err'
75226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75227 (eval $ac_try) 2>&5
75228 ac_status=$?
75229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75230 (exit $ac_status); }; } &&
75231 { ac_try='test -s conftest.$ac_objext'
75232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75233 (eval $ac_try) 2>&5
75234 ac_status=$?
75235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75236 (exit $ac_status); }; }; then
75237 glibcxx_cv_func__long_double_trig_use=yes
75238 else
75239 echo "$as_me: failed program was:" >&5
75240 sed 's/^/| /' conftest.$ac_ext >&5
75242 glibcxx_cv_func__long_double_trig_use=no
75244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75245 ac_ext=c
75246 ac_cpp='$CPP $CPPFLAGS'
75247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75254 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75255 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75265 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75268 echo "$as_me:$LINENO: checking for $ac_func" >&5
75269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75270 if eval "test \"\${$as_ac_var+set}\" = set"; then
75271 echo $ECHO_N "(cached) $ECHO_C" >&6
75272 else
75273 if test x$gcc_no_link = xyes; then
75274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75276 { (exit 1); exit 1; }; }
75278 cat >conftest.$ac_ext <<_ACEOF
75279 /* confdefs.h. */
75280 _ACEOF
75281 cat confdefs.h >>conftest.$ac_ext
75282 cat >>conftest.$ac_ext <<_ACEOF
75283 /* end confdefs.h. */
75284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75286 #define $ac_func innocuous_$ac_func
75288 /* System header to define __stub macros and hopefully few prototypes,
75289 which can conflict with char $ac_func (); below.
75290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75291 <limits.h> exists even on freestanding compilers. */
75293 #ifdef __STDC__
75294 # include <limits.h>
75295 #else
75296 # include <assert.h>
75297 #endif
75299 #undef $ac_func
75301 /* Override any gcc2 internal prototype to avoid an error. */
75302 #ifdef __cplusplus
75303 extern "C"
75305 #endif
75306 /* We use char because int might match the return type of a gcc2
75307 builtin and then its argument prototype would still apply. */
75308 char $ac_func ();
75309 /* The GNU C library defines this for functions which it implements
75310 to always fail with ENOSYS. Some functions are actually named
75311 something starting with __ and the normal name is an alias. */
75312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75313 choke me
75314 #else
75315 char (*f) () = $ac_func;
75316 #endif
75317 #ifdef __cplusplus
75319 #endif
75322 main ()
75324 return f != $ac_func;
75326 return 0;
75328 _ACEOF
75329 rm -f conftest.$ac_objext conftest$ac_exeext
75330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75331 (eval $ac_link) 2>conftest.er1
75332 ac_status=$?
75333 grep -v '^ *+' conftest.er1 >conftest.err
75334 rm -f conftest.er1
75335 cat conftest.err >&5
75336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75337 (exit $ac_status); } &&
75338 { ac_try='test -z "$ac_c_werror_flag"
75339 || test ! -s conftest.err'
75340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75341 (eval $ac_try) 2>&5
75342 ac_status=$?
75343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75344 (exit $ac_status); }; } &&
75345 { ac_try='test -s conftest$ac_exeext'
75346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75347 (eval $ac_try) 2>&5
75348 ac_status=$?
75349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75350 (exit $ac_status); }; }; then
75351 eval "$as_ac_var=yes"
75352 else
75353 echo "$as_me: failed program was:" >&5
75354 sed 's/^/| /' conftest.$ac_ext >&5
75356 eval "$as_ac_var=no"
75358 rm -f conftest.err conftest.$ac_objext \
75359 conftest$ac_exeext conftest.$ac_ext
75361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75363 if test `eval echo '${'$as_ac_var'}'` = yes; then
75364 cat >>confdefs.h <<_ACEOF
75365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75366 _ACEOF
75369 done
75387 echo "$as_me:$LINENO: checking for long double round functions" >&5
75388 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75389 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75390 echo $ECHO_N "(cached) $ECHO_C" >&6
75391 else
75395 ac_ext=cc
75396 ac_cpp='$CXXCPP $CPPFLAGS'
75397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75401 cat >conftest.$ac_ext <<_ACEOF
75402 /* confdefs.h. */
75403 _ACEOF
75404 cat confdefs.h >>conftest.$ac_ext
75405 cat >>conftest.$ac_ext <<_ACEOF
75406 /* end confdefs.h. */
75407 #include <math.h>
75409 main ()
75411 ceill (0); floorl (0);
75413 return 0;
75415 _ACEOF
75416 rm -f conftest.$ac_objext
75417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75418 (eval $ac_compile) 2>conftest.er1
75419 ac_status=$?
75420 grep -v '^ *+' conftest.er1 >conftest.err
75421 rm -f conftest.er1
75422 cat conftest.err >&5
75423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75424 (exit $ac_status); } &&
75425 { ac_try='test -z "$ac_cxx_werror_flag"
75426 || test ! -s conftest.err'
75427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75428 (eval $ac_try) 2>&5
75429 ac_status=$?
75430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75431 (exit $ac_status); }; } &&
75432 { ac_try='test -s conftest.$ac_objext'
75433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75434 (eval $ac_try) 2>&5
75435 ac_status=$?
75436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75437 (exit $ac_status); }; }; then
75438 glibcxx_cv_func_long_double_round_use=yes
75439 else
75440 echo "$as_me: failed program was:" >&5
75441 sed 's/^/| /' conftest.$ac_ext >&5
75443 glibcxx_cv_func_long_double_round_use=no
75445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75446 ac_ext=c
75447 ac_cpp='$CPP $CPPFLAGS'
75448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75455 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75456 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75459 for ac_func in ceill floorl
75461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75462 echo "$as_me:$LINENO: checking for $ac_func" >&5
75463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75464 if eval "test \"\${$as_ac_var+set}\" = set"; then
75465 echo $ECHO_N "(cached) $ECHO_C" >&6
75466 else
75467 if test x$gcc_no_link = xyes; then
75468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75470 { (exit 1); exit 1; }; }
75472 cat >conftest.$ac_ext <<_ACEOF
75473 /* confdefs.h. */
75474 _ACEOF
75475 cat confdefs.h >>conftest.$ac_ext
75476 cat >>conftest.$ac_ext <<_ACEOF
75477 /* end confdefs.h. */
75478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75480 #define $ac_func innocuous_$ac_func
75482 /* System header to define __stub macros and hopefully few prototypes,
75483 which can conflict with char $ac_func (); below.
75484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75485 <limits.h> exists even on freestanding compilers. */
75487 #ifdef __STDC__
75488 # include <limits.h>
75489 #else
75490 # include <assert.h>
75491 #endif
75493 #undef $ac_func
75495 /* Override any gcc2 internal prototype to avoid an error. */
75496 #ifdef __cplusplus
75497 extern "C"
75499 #endif
75500 /* We use char because int might match the return type of a gcc2
75501 builtin and then its argument prototype would still apply. */
75502 char $ac_func ();
75503 /* The GNU C library defines this for functions which it implements
75504 to always fail with ENOSYS. Some functions are actually named
75505 something starting with __ and the normal name is an alias. */
75506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75507 choke me
75508 #else
75509 char (*f) () = $ac_func;
75510 #endif
75511 #ifdef __cplusplus
75513 #endif
75516 main ()
75518 return f != $ac_func;
75520 return 0;
75522 _ACEOF
75523 rm -f conftest.$ac_objext conftest$ac_exeext
75524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75525 (eval $ac_link) 2>conftest.er1
75526 ac_status=$?
75527 grep -v '^ *+' conftest.er1 >conftest.err
75528 rm -f conftest.er1
75529 cat conftest.err >&5
75530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75531 (exit $ac_status); } &&
75532 { ac_try='test -z "$ac_c_werror_flag"
75533 || test ! -s conftest.err'
75534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75535 (eval $ac_try) 2>&5
75536 ac_status=$?
75537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75538 (exit $ac_status); }; } &&
75539 { ac_try='test -s conftest$ac_exeext'
75540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75541 (eval $ac_try) 2>&5
75542 ac_status=$?
75543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75544 (exit $ac_status); }; }; then
75545 eval "$as_ac_var=yes"
75546 else
75547 echo "$as_me: failed program was:" >&5
75548 sed 's/^/| /' conftest.$ac_ext >&5
75550 eval "$as_ac_var=no"
75552 rm -f conftest.err conftest.$ac_objext \
75553 conftest$ac_exeext conftest.$ac_ext
75555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75557 if test `eval echo '${'$as_ac_var'}'` = yes; then
75558 cat >>confdefs.h <<_ACEOF
75559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75560 _ACEOF
75563 done
75565 else
75566 echo "$as_me:$LINENO: checking for _long double round functions" >&5
75567 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
75568 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
75569 echo $ECHO_N "(cached) $ECHO_C" >&6
75570 else
75574 ac_ext=cc
75575 ac_cpp='$CXXCPP $CPPFLAGS'
75576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75580 cat >conftest.$ac_ext <<_ACEOF
75581 /* confdefs.h. */
75582 _ACEOF
75583 cat confdefs.h >>conftest.$ac_ext
75584 cat >>conftest.$ac_ext <<_ACEOF
75585 /* end confdefs.h. */
75586 #include <math.h>
75588 main ()
75590 _ceill (0); _floorl (0);
75592 return 0;
75594 _ACEOF
75595 rm -f conftest.$ac_objext
75596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75597 (eval $ac_compile) 2>conftest.er1
75598 ac_status=$?
75599 grep -v '^ *+' conftest.er1 >conftest.err
75600 rm -f conftest.er1
75601 cat conftest.err >&5
75602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75603 (exit $ac_status); } &&
75604 { ac_try='test -z "$ac_cxx_werror_flag"
75605 || test ! -s conftest.err'
75606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75607 (eval $ac_try) 2>&5
75608 ac_status=$?
75609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75610 (exit $ac_status); }; } &&
75611 { ac_try='test -s conftest.$ac_objext'
75612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75613 (eval $ac_try) 2>&5
75614 ac_status=$?
75615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75616 (exit $ac_status); }; }; then
75617 glibcxx_cv_func__long_double_round_use=yes
75618 else
75619 echo "$as_me: failed program was:" >&5
75620 sed 's/^/| /' conftest.$ac_ext >&5
75622 glibcxx_cv_func__long_double_round_use=no
75624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75625 ac_ext=c
75626 ac_cpp='$CPP $CPPFLAGS'
75627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75634 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75635 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75638 for ac_func in _ceill _floorl
75640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75641 echo "$as_me:$LINENO: checking for $ac_func" >&5
75642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75643 if eval "test \"\${$as_ac_var+set}\" = set"; then
75644 echo $ECHO_N "(cached) $ECHO_C" >&6
75645 else
75646 if test x$gcc_no_link = xyes; then
75647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75649 { (exit 1); exit 1; }; }
75651 cat >conftest.$ac_ext <<_ACEOF
75652 /* confdefs.h. */
75653 _ACEOF
75654 cat confdefs.h >>conftest.$ac_ext
75655 cat >>conftest.$ac_ext <<_ACEOF
75656 /* end confdefs.h. */
75657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75659 #define $ac_func innocuous_$ac_func
75661 /* System header to define __stub macros and hopefully few prototypes,
75662 which can conflict with char $ac_func (); below.
75663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75664 <limits.h> exists even on freestanding compilers. */
75666 #ifdef __STDC__
75667 # include <limits.h>
75668 #else
75669 # include <assert.h>
75670 #endif
75672 #undef $ac_func
75674 /* Override any gcc2 internal prototype to avoid an error. */
75675 #ifdef __cplusplus
75676 extern "C"
75678 #endif
75679 /* We use char because int might match the return type of a gcc2
75680 builtin and then its argument prototype would still apply. */
75681 char $ac_func ();
75682 /* The GNU C library defines this for functions which it implements
75683 to always fail with ENOSYS. Some functions are actually named
75684 something starting with __ and the normal name is an alias. */
75685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75686 choke me
75687 #else
75688 char (*f) () = $ac_func;
75689 #endif
75690 #ifdef __cplusplus
75692 #endif
75695 main ()
75697 return f != $ac_func;
75699 return 0;
75701 _ACEOF
75702 rm -f conftest.$ac_objext conftest$ac_exeext
75703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75704 (eval $ac_link) 2>conftest.er1
75705 ac_status=$?
75706 grep -v '^ *+' conftest.er1 >conftest.err
75707 rm -f conftest.er1
75708 cat conftest.err >&5
75709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75710 (exit $ac_status); } &&
75711 { ac_try='test -z "$ac_c_werror_flag"
75712 || test ! -s conftest.err'
75713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75714 (eval $ac_try) 2>&5
75715 ac_status=$?
75716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75717 (exit $ac_status); }; } &&
75718 { ac_try='test -s conftest$ac_exeext'
75719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75720 (eval $ac_try) 2>&5
75721 ac_status=$?
75722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75723 (exit $ac_status); }; }; then
75724 eval "$as_ac_var=yes"
75725 else
75726 echo "$as_me: failed program was:" >&5
75727 sed 's/^/| /' conftest.$ac_ext >&5
75729 eval "$as_ac_var=no"
75731 rm -f conftest.err conftest.$ac_objext \
75732 conftest$ac_exeext conftest.$ac_ext
75734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75736 if test `eval echo '${'$as_ac_var'}'` = yes; then
75737 cat >>confdefs.h <<_ACEOF
75738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75739 _ACEOF
75742 done
75754 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75755 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75756 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75757 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75758 echo $ECHO_N "(cached) $ECHO_C" >&6
75759 else
75763 ac_ext=cc
75764 ac_cpp='$CXXCPP $CPPFLAGS'
75765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75769 cat >conftest.$ac_ext <<_ACEOF
75770 /* confdefs.h. */
75771 _ACEOF
75772 cat confdefs.h >>conftest.$ac_ext
75773 cat >>conftest.$ac_ext <<_ACEOF
75774 /* end confdefs.h. */
75775 #include <math.h>
75776 #ifdef HAVE_IEEEFP_H
75777 #include <ieeefp.h>
75778 #endif
75781 main ()
75783 isnanl(0);
75785 return 0;
75787 _ACEOF
75788 rm -f conftest.$ac_objext
75789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75790 (eval $ac_compile) 2>conftest.er1
75791 ac_status=$?
75792 grep -v '^ *+' conftest.er1 >conftest.err
75793 rm -f conftest.er1
75794 cat conftest.err >&5
75795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75796 (exit $ac_status); } &&
75797 { ac_try='test -z "$ac_cxx_werror_flag"
75798 || test ! -s conftest.err'
75799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75800 (eval $ac_try) 2>&5
75801 ac_status=$?
75802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75803 (exit $ac_status); }; } &&
75804 { ac_try='test -s conftest.$ac_objext'
75805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75806 (eval $ac_try) 2>&5
75807 ac_status=$?
75808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75809 (exit $ac_status); }; }; then
75810 glibcxx_cv_func_isnanl_use=yes
75811 else
75812 echo "$as_me: failed program was:" >&5
75813 sed 's/^/| /' conftest.$ac_ext >&5
75815 glibcxx_cv_func_isnanl_use=no
75817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75818 ac_ext=c
75819 ac_cpp='$CPP $CPPFLAGS'
75820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75829 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75831 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75833 for ac_func in isnanl
75835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75836 echo "$as_me:$LINENO: checking for $ac_func" >&5
75837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75838 if eval "test \"\${$as_ac_var+set}\" = set"; then
75839 echo $ECHO_N "(cached) $ECHO_C" >&6
75840 else
75841 if test x$gcc_no_link = xyes; then
75842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75844 { (exit 1); exit 1; }; }
75846 cat >conftest.$ac_ext <<_ACEOF
75847 /* confdefs.h. */
75848 _ACEOF
75849 cat confdefs.h >>conftest.$ac_ext
75850 cat >>conftest.$ac_ext <<_ACEOF
75851 /* end confdefs.h. */
75852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75854 #define $ac_func innocuous_$ac_func
75856 /* System header to define __stub macros and hopefully few prototypes,
75857 which can conflict with char $ac_func (); below.
75858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75859 <limits.h> exists even on freestanding compilers. */
75861 #ifdef __STDC__
75862 # include <limits.h>
75863 #else
75864 # include <assert.h>
75865 #endif
75867 #undef $ac_func
75869 /* Override any gcc2 internal prototype to avoid an error. */
75870 #ifdef __cplusplus
75871 extern "C"
75873 #endif
75874 /* We use char because int might match the return type of a gcc2
75875 builtin and then its argument prototype would still apply. */
75876 char $ac_func ();
75877 /* The GNU C library defines this for functions which it implements
75878 to always fail with ENOSYS. Some functions are actually named
75879 something starting with __ and the normal name is an alias. */
75880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75881 choke me
75882 #else
75883 char (*f) () = $ac_func;
75884 #endif
75885 #ifdef __cplusplus
75887 #endif
75890 main ()
75892 return f != $ac_func;
75894 return 0;
75896 _ACEOF
75897 rm -f conftest.$ac_objext conftest$ac_exeext
75898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75899 (eval $ac_link) 2>conftest.er1
75900 ac_status=$?
75901 grep -v '^ *+' conftest.er1 >conftest.err
75902 rm -f conftest.er1
75903 cat conftest.err >&5
75904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75905 (exit $ac_status); } &&
75906 { ac_try='test -z "$ac_c_werror_flag"
75907 || test ! -s conftest.err'
75908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75909 (eval $ac_try) 2>&5
75910 ac_status=$?
75911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75912 (exit $ac_status); }; } &&
75913 { ac_try='test -s conftest$ac_exeext'
75914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75915 (eval $ac_try) 2>&5
75916 ac_status=$?
75917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75918 (exit $ac_status); }; }; then
75919 eval "$as_ac_var=yes"
75920 else
75921 echo "$as_me: failed program was:" >&5
75922 sed 's/^/| /' conftest.$ac_ext >&5
75924 eval "$as_ac_var=no"
75926 rm -f conftest.err conftest.$ac_objext \
75927 conftest$ac_exeext conftest.$ac_ext
75929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75931 if test `eval echo '${'$as_ac_var'}'` = yes; then
75932 cat >>confdefs.h <<_ACEOF
75933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75934 _ACEOF
75937 done
75939 else
75941 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75942 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75943 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75944 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75945 echo $ECHO_N "(cached) $ECHO_C" >&6
75946 else
75950 ac_ext=cc
75951 ac_cpp='$CXXCPP $CPPFLAGS'
75952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75956 cat >conftest.$ac_ext <<_ACEOF
75957 /* confdefs.h. */
75958 _ACEOF
75959 cat confdefs.h >>conftest.$ac_ext
75960 cat >>conftest.$ac_ext <<_ACEOF
75961 /* end confdefs.h. */
75962 #include <math.h>
75963 #ifdef HAVE_IEEEFP_H
75964 #include <ieeefp.h>
75965 #endif
75968 main ()
75970 _isnanl(0);
75972 return 0;
75974 _ACEOF
75975 rm -f conftest.$ac_objext
75976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75977 (eval $ac_compile) 2>conftest.er1
75978 ac_status=$?
75979 grep -v '^ *+' conftest.er1 >conftest.err
75980 rm -f conftest.er1
75981 cat conftest.err >&5
75982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75983 (exit $ac_status); } &&
75984 { ac_try='test -z "$ac_cxx_werror_flag"
75985 || test ! -s conftest.err'
75986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75987 (eval $ac_try) 2>&5
75988 ac_status=$?
75989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75990 (exit $ac_status); }; } &&
75991 { ac_try='test -s conftest.$ac_objext'
75992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75993 (eval $ac_try) 2>&5
75994 ac_status=$?
75995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75996 (exit $ac_status); }; }; then
75997 glibcxx_cv_func__isnanl_use=yes
75998 else
75999 echo "$as_me: failed program was:" >&5
76000 sed 's/^/| /' conftest.$ac_ext >&5
76002 glibcxx_cv_func__isnanl_use=no
76004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76005 ac_ext=c
76006 ac_cpp='$CPP $CPPFLAGS'
76007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
76016 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
76018 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76020 for ac_func in _isnanl
76022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76023 echo "$as_me:$LINENO: checking for $ac_func" >&5
76024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76025 if eval "test \"\${$as_ac_var+set}\" = set"; then
76026 echo $ECHO_N "(cached) $ECHO_C" >&6
76027 else
76028 if test x$gcc_no_link = xyes; then
76029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76031 { (exit 1); exit 1; }; }
76033 cat >conftest.$ac_ext <<_ACEOF
76034 /* confdefs.h. */
76035 _ACEOF
76036 cat confdefs.h >>conftest.$ac_ext
76037 cat >>conftest.$ac_ext <<_ACEOF
76038 /* end confdefs.h. */
76039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76041 #define $ac_func innocuous_$ac_func
76043 /* System header to define __stub macros and hopefully few prototypes,
76044 which can conflict with char $ac_func (); below.
76045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76046 <limits.h> exists even on freestanding compilers. */
76048 #ifdef __STDC__
76049 # include <limits.h>
76050 #else
76051 # include <assert.h>
76052 #endif
76054 #undef $ac_func
76056 /* Override any gcc2 internal prototype to avoid an error. */
76057 #ifdef __cplusplus
76058 extern "C"
76060 #endif
76061 /* We use char because int might match the return type of a gcc2
76062 builtin and then its argument prototype would still apply. */
76063 char $ac_func ();
76064 /* The GNU C library defines this for functions which it implements
76065 to always fail with ENOSYS. Some functions are actually named
76066 something starting with __ and the normal name is an alias. */
76067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76068 choke me
76069 #else
76070 char (*f) () = $ac_func;
76071 #endif
76072 #ifdef __cplusplus
76074 #endif
76077 main ()
76079 return f != $ac_func;
76081 return 0;
76083 _ACEOF
76084 rm -f conftest.$ac_objext conftest$ac_exeext
76085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76086 (eval $ac_link) 2>conftest.er1
76087 ac_status=$?
76088 grep -v '^ *+' conftest.er1 >conftest.err
76089 rm -f conftest.er1
76090 cat conftest.err >&5
76091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76092 (exit $ac_status); } &&
76093 { ac_try='test -z "$ac_c_werror_flag"
76094 || test ! -s conftest.err'
76095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76096 (eval $ac_try) 2>&5
76097 ac_status=$?
76098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76099 (exit $ac_status); }; } &&
76100 { ac_try='test -s conftest$ac_exeext'
76101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76102 (eval $ac_try) 2>&5
76103 ac_status=$?
76104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76105 (exit $ac_status); }; }; then
76106 eval "$as_ac_var=yes"
76107 else
76108 echo "$as_me: failed program was:" >&5
76109 sed 's/^/| /' conftest.$ac_ext >&5
76111 eval "$as_ac_var=no"
76113 rm -f conftest.err conftest.$ac_objext \
76114 conftest$ac_exeext conftest.$ac_ext
76116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76118 if test `eval echo '${'$as_ac_var'}'` = yes; then
76119 cat >>confdefs.h <<_ACEOF
76120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76121 _ACEOF
76124 done
76134 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
76135 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
76136 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76137 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
76138 echo $ECHO_N "(cached) $ECHO_C" >&6
76139 else
76143 ac_ext=cc
76144 ac_cpp='$CXXCPP $CPPFLAGS'
76145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76149 cat >conftest.$ac_ext <<_ACEOF
76150 /* confdefs.h. */
76151 _ACEOF
76152 cat confdefs.h >>conftest.$ac_ext
76153 cat >>conftest.$ac_ext <<_ACEOF
76154 /* end confdefs.h. */
76155 #include <math.h>
76156 #ifdef HAVE_IEEEFP_H
76157 #include <ieeefp.h>
76158 #endif
76161 main ()
76163 isinfl(0);
76165 return 0;
76167 _ACEOF
76168 rm -f conftest.$ac_objext
76169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76170 (eval $ac_compile) 2>conftest.er1
76171 ac_status=$?
76172 grep -v '^ *+' conftest.er1 >conftest.err
76173 rm -f conftest.er1
76174 cat conftest.err >&5
76175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76176 (exit $ac_status); } &&
76177 { ac_try='test -z "$ac_cxx_werror_flag"
76178 || test ! -s conftest.err'
76179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76180 (eval $ac_try) 2>&5
76181 ac_status=$?
76182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76183 (exit $ac_status); }; } &&
76184 { ac_try='test -s conftest.$ac_objext'
76185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76186 (eval $ac_try) 2>&5
76187 ac_status=$?
76188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76189 (exit $ac_status); }; }; then
76190 glibcxx_cv_func_isinfl_use=yes
76191 else
76192 echo "$as_me: failed program was:" >&5
76193 sed 's/^/| /' conftest.$ac_ext >&5
76195 glibcxx_cv_func_isinfl_use=no
76197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76198 ac_ext=c
76199 ac_cpp='$CPP $CPPFLAGS'
76200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76209 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76211 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76213 for ac_func in isinfl
76215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76216 echo "$as_me:$LINENO: checking for $ac_func" >&5
76217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76218 if eval "test \"\${$as_ac_var+set}\" = set"; then
76219 echo $ECHO_N "(cached) $ECHO_C" >&6
76220 else
76221 if test x$gcc_no_link = xyes; then
76222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76224 { (exit 1); exit 1; }; }
76226 cat >conftest.$ac_ext <<_ACEOF
76227 /* confdefs.h. */
76228 _ACEOF
76229 cat confdefs.h >>conftest.$ac_ext
76230 cat >>conftest.$ac_ext <<_ACEOF
76231 /* end confdefs.h. */
76232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76234 #define $ac_func innocuous_$ac_func
76236 /* System header to define __stub macros and hopefully few prototypes,
76237 which can conflict with char $ac_func (); below.
76238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76239 <limits.h> exists even on freestanding compilers. */
76241 #ifdef __STDC__
76242 # include <limits.h>
76243 #else
76244 # include <assert.h>
76245 #endif
76247 #undef $ac_func
76249 /* Override any gcc2 internal prototype to avoid an error. */
76250 #ifdef __cplusplus
76251 extern "C"
76253 #endif
76254 /* We use char because int might match the return type of a gcc2
76255 builtin and then its argument prototype would still apply. */
76256 char $ac_func ();
76257 /* The GNU C library defines this for functions which it implements
76258 to always fail with ENOSYS. Some functions are actually named
76259 something starting with __ and the normal name is an alias. */
76260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76261 choke me
76262 #else
76263 char (*f) () = $ac_func;
76264 #endif
76265 #ifdef __cplusplus
76267 #endif
76270 main ()
76272 return f != $ac_func;
76274 return 0;
76276 _ACEOF
76277 rm -f conftest.$ac_objext conftest$ac_exeext
76278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76279 (eval $ac_link) 2>conftest.er1
76280 ac_status=$?
76281 grep -v '^ *+' conftest.er1 >conftest.err
76282 rm -f conftest.er1
76283 cat conftest.err >&5
76284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76285 (exit $ac_status); } &&
76286 { ac_try='test -z "$ac_c_werror_flag"
76287 || test ! -s conftest.err'
76288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76289 (eval $ac_try) 2>&5
76290 ac_status=$?
76291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76292 (exit $ac_status); }; } &&
76293 { ac_try='test -s conftest$ac_exeext'
76294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76295 (eval $ac_try) 2>&5
76296 ac_status=$?
76297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76298 (exit $ac_status); }; }; then
76299 eval "$as_ac_var=yes"
76300 else
76301 echo "$as_me: failed program was:" >&5
76302 sed 's/^/| /' conftest.$ac_ext >&5
76304 eval "$as_ac_var=no"
76306 rm -f conftest.err conftest.$ac_objext \
76307 conftest$ac_exeext conftest.$ac_ext
76309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76311 if test `eval echo '${'$as_ac_var'}'` = yes; then
76312 cat >>confdefs.h <<_ACEOF
76313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76314 _ACEOF
76317 done
76319 else
76321 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76322 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76323 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76324 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76325 echo $ECHO_N "(cached) $ECHO_C" >&6
76326 else
76330 ac_ext=cc
76331 ac_cpp='$CXXCPP $CPPFLAGS'
76332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76336 cat >conftest.$ac_ext <<_ACEOF
76337 /* confdefs.h. */
76338 _ACEOF
76339 cat confdefs.h >>conftest.$ac_ext
76340 cat >>conftest.$ac_ext <<_ACEOF
76341 /* end confdefs.h. */
76342 #include <math.h>
76343 #ifdef HAVE_IEEEFP_H
76344 #include <ieeefp.h>
76345 #endif
76348 main ()
76350 _isinfl(0);
76352 return 0;
76354 _ACEOF
76355 rm -f conftest.$ac_objext
76356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76357 (eval $ac_compile) 2>conftest.er1
76358 ac_status=$?
76359 grep -v '^ *+' conftest.er1 >conftest.err
76360 rm -f conftest.er1
76361 cat conftest.err >&5
76362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76363 (exit $ac_status); } &&
76364 { ac_try='test -z "$ac_cxx_werror_flag"
76365 || test ! -s conftest.err'
76366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76367 (eval $ac_try) 2>&5
76368 ac_status=$?
76369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76370 (exit $ac_status); }; } &&
76371 { ac_try='test -s conftest.$ac_objext'
76372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76373 (eval $ac_try) 2>&5
76374 ac_status=$?
76375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76376 (exit $ac_status); }; }; then
76377 glibcxx_cv_func__isinfl_use=yes
76378 else
76379 echo "$as_me: failed program was:" >&5
76380 sed 's/^/| /' conftest.$ac_ext >&5
76382 glibcxx_cv_func__isinfl_use=no
76384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76385 ac_ext=c
76386 ac_cpp='$CPP $CPPFLAGS'
76387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76396 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76398 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76400 for ac_func in _isinfl
76402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76403 echo "$as_me:$LINENO: checking for $ac_func" >&5
76404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76405 if eval "test \"\${$as_ac_var+set}\" = set"; then
76406 echo $ECHO_N "(cached) $ECHO_C" >&6
76407 else
76408 if test x$gcc_no_link = xyes; then
76409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76411 { (exit 1); exit 1; }; }
76413 cat >conftest.$ac_ext <<_ACEOF
76414 /* confdefs.h. */
76415 _ACEOF
76416 cat confdefs.h >>conftest.$ac_ext
76417 cat >>conftest.$ac_ext <<_ACEOF
76418 /* end confdefs.h. */
76419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76421 #define $ac_func innocuous_$ac_func
76423 /* System header to define __stub macros and hopefully few prototypes,
76424 which can conflict with char $ac_func (); below.
76425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76426 <limits.h> exists even on freestanding compilers. */
76428 #ifdef __STDC__
76429 # include <limits.h>
76430 #else
76431 # include <assert.h>
76432 #endif
76434 #undef $ac_func
76436 /* Override any gcc2 internal prototype to avoid an error. */
76437 #ifdef __cplusplus
76438 extern "C"
76440 #endif
76441 /* We use char because int might match the return type of a gcc2
76442 builtin and then its argument prototype would still apply. */
76443 char $ac_func ();
76444 /* The GNU C library defines this for functions which it implements
76445 to always fail with ENOSYS. Some functions are actually named
76446 something starting with __ and the normal name is an alias. */
76447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76448 choke me
76449 #else
76450 char (*f) () = $ac_func;
76451 #endif
76452 #ifdef __cplusplus
76454 #endif
76457 main ()
76459 return f != $ac_func;
76461 return 0;
76463 _ACEOF
76464 rm -f conftest.$ac_objext conftest$ac_exeext
76465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76466 (eval $ac_link) 2>conftest.er1
76467 ac_status=$?
76468 grep -v '^ *+' conftest.er1 >conftest.err
76469 rm -f conftest.er1
76470 cat conftest.err >&5
76471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76472 (exit $ac_status); } &&
76473 { ac_try='test -z "$ac_c_werror_flag"
76474 || test ! -s conftest.err'
76475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76476 (eval $ac_try) 2>&5
76477 ac_status=$?
76478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76479 (exit $ac_status); }; } &&
76480 { ac_try='test -s conftest$ac_exeext'
76481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76482 (eval $ac_try) 2>&5
76483 ac_status=$?
76484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76485 (exit $ac_status); }; }; then
76486 eval "$as_ac_var=yes"
76487 else
76488 echo "$as_me: failed program was:" >&5
76489 sed 's/^/| /' conftest.$ac_ext >&5
76491 eval "$as_ac_var=no"
76493 rm -f conftest.err conftest.$ac_objext \
76494 conftest$ac_exeext conftest.$ac_ext
76496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76498 if test `eval echo '${'$as_ac_var'}'` = yes; then
76499 cat >>confdefs.h <<_ACEOF
76500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76501 _ACEOF
76504 done
76514 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
76515 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
76516 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
76517 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
76518 echo $ECHO_N "(cached) $ECHO_C" >&6
76519 else
76523 ac_ext=cc
76524 ac_cpp='$CXXCPP $CPPFLAGS'
76525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76529 cat >conftest.$ac_ext <<_ACEOF
76530 /* confdefs.h. */
76531 _ACEOF
76532 cat confdefs.h >>conftest.$ac_ext
76533 cat >>conftest.$ac_ext <<_ACEOF
76534 /* end confdefs.h. */
76535 #include <math.h>
76537 main ()
76539 copysignl(0, 0);
76541 return 0;
76543 _ACEOF
76544 rm -f conftest.$ac_objext
76545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76546 (eval $ac_compile) 2>conftest.er1
76547 ac_status=$?
76548 grep -v '^ *+' conftest.er1 >conftest.err
76549 rm -f conftest.er1
76550 cat conftest.err >&5
76551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76552 (exit $ac_status); } &&
76553 { ac_try='test -z "$ac_cxx_werror_flag"
76554 || test ! -s conftest.err'
76555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76556 (eval $ac_try) 2>&5
76557 ac_status=$?
76558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76559 (exit $ac_status); }; } &&
76560 { ac_try='test -s conftest.$ac_objext'
76561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76562 (eval $ac_try) 2>&5
76563 ac_status=$?
76564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76565 (exit $ac_status); }; }; then
76566 glibcxx_cv_func_copysignl_use=yes
76567 else
76568 echo "$as_me: failed program was:" >&5
76569 sed 's/^/| /' conftest.$ac_ext >&5
76571 glibcxx_cv_func_copysignl_use=no
76573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76574 ac_ext=c
76575 ac_cpp='$CPP $CPPFLAGS'
76576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76585 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76587 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76589 for ac_func in copysignl
76591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76592 echo "$as_me:$LINENO: checking for $ac_func" >&5
76593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76594 if eval "test \"\${$as_ac_var+set}\" = set"; then
76595 echo $ECHO_N "(cached) $ECHO_C" >&6
76596 else
76597 if test x$gcc_no_link = xyes; then
76598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76600 { (exit 1); exit 1; }; }
76602 cat >conftest.$ac_ext <<_ACEOF
76603 /* confdefs.h. */
76604 _ACEOF
76605 cat confdefs.h >>conftest.$ac_ext
76606 cat >>conftest.$ac_ext <<_ACEOF
76607 /* end confdefs.h. */
76608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76610 #define $ac_func innocuous_$ac_func
76612 /* System header to define __stub macros and hopefully few prototypes,
76613 which can conflict with char $ac_func (); below.
76614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76615 <limits.h> exists even on freestanding compilers. */
76617 #ifdef __STDC__
76618 # include <limits.h>
76619 #else
76620 # include <assert.h>
76621 #endif
76623 #undef $ac_func
76625 /* Override any gcc2 internal prototype to avoid an error. */
76626 #ifdef __cplusplus
76627 extern "C"
76629 #endif
76630 /* We use char because int might match the return type of a gcc2
76631 builtin and then its argument prototype would still apply. */
76632 char $ac_func ();
76633 /* The GNU C library defines this for functions which it implements
76634 to always fail with ENOSYS. Some functions are actually named
76635 something starting with __ and the normal name is an alias. */
76636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76637 choke me
76638 #else
76639 char (*f) () = $ac_func;
76640 #endif
76641 #ifdef __cplusplus
76643 #endif
76646 main ()
76648 return f != $ac_func;
76650 return 0;
76652 _ACEOF
76653 rm -f conftest.$ac_objext conftest$ac_exeext
76654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76655 (eval $ac_link) 2>conftest.er1
76656 ac_status=$?
76657 grep -v '^ *+' conftest.er1 >conftest.err
76658 rm -f conftest.er1
76659 cat conftest.err >&5
76660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76661 (exit $ac_status); } &&
76662 { ac_try='test -z "$ac_c_werror_flag"
76663 || test ! -s conftest.err'
76664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76665 (eval $ac_try) 2>&5
76666 ac_status=$?
76667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76668 (exit $ac_status); }; } &&
76669 { ac_try='test -s conftest$ac_exeext'
76670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76671 (eval $ac_try) 2>&5
76672 ac_status=$?
76673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76674 (exit $ac_status); }; }; then
76675 eval "$as_ac_var=yes"
76676 else
76677 echo "$as_me: failed program was:" >&5
76678 sed 's/^/| /' conftest.$ac_ext >&5
76680 eval "$as_ac_var=no"
76682 rm -f conftest.err conftest.$ac_objext \
76683 conftest$ac_exeext conftest.$ac_ext
76685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76687 if test `eval echo '${'$as_ac_var'}'` = yes; then
76688 cat >>confdefs.h <<_ACEOF
76689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76690 _ACEOF
76693 done
76695 else
76697 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76698 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76699 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76700 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76701 echo $ECHO_N "(cached) $ECHO_C" >&6
76702 else
76706 ac_ext=cc
76707 ac_cpp='$CXXCPP $CPPFLAGS'
76708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76712 cat >conftest.$ac_ext <<_ACEOF
76713 /* confdefs.h. */
76714 _ACEOF
76715 cat confdefs.h >>conftest.$ac_ext
76716 cat >>conftest.$ac_ext <<_ACEOF
76717 /* end confdefs.h. */
76718 #include <math.h>
76720 main ()
76722 _copysignl(0, 0);
76724 return 0;
76726 _ACEOF
76727 rm -f conftest.$ac_objext
76728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76729 (eval $ac_compile) 2>conftest.er1
76730 ac_status=$?
76731 grep -v '^ *+' conftest.er1 >conftest.err
76732 rm -f conftest.er1
76733 cat conftest.err >&5
76734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76735 (exit $ac_status); } &&
76736 { ac_try='test -z "$ac_cxx_werror_flag"
76737 || test ! -s conftest.err'
76738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76739 (eval $ac_try) 2>&5
76740 ac_status=$?
76741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76742 (exit $ac_status); }; } &&
76743 { ac_try='test -s conftest.$ac_objext'
76744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76745 (eval $ac_try) 2>&5
76746 ac_status=$?
76747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76748 (exit $ac_status); }; }; then
76749 glibcxx_cv_func__copysignl_use=yes
76750 else
76751 echo "$as_me: failed program was:" >&5
76752 sed 's/^/| /' conftest.$ac_ext >&5
76754 glibcxx_cv_func__copysignl_use=no
76756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76757 ac_ext=c
76758 ac_cpp='$CPP $CPPFLAGS'
76759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76768 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76770 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76772 for ac_func in _copysignl
76774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76775 echo "$as_me:$LINENO: checking for $ac_func" >&5
76776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76777 if eval "test \"\${$as_ac_var+set}\" = set"; then
76778 echo $ECHO_N "(cached) $ECHO_C" >&6
76779 else
76780 if test x$gcc_no_link = xyes; then
76781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76783 { (exit 1); exit 1; }; }
76785 cat >conftest.$ac_ext <<_ACEOF
76786 /* confdefs.h. */
76787 _ACEOF
76788 cat confdefs.h >>conftest.$ac_ext
76789 cat >>conftest.$ac_ext <<_ACEOF
76790 /* end confdefs.h. */
76791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76793 #define $ac_func innocuous_$ac_func
76795 /* System header to define __stub macros and hopefully few prototypes,
76796 which can conflict with char $ac_func (); below.
76797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76798 <limits.h> exists even on freestanding compilers. */
76800 #ifdef __STDC__
76801 # include <limits.h>
76802 #else
76803 # include <assert.h>
76804 #endif
76806 #undef $ac_func
76808 /* Override any gcc2 internal prototype to avoid an error. */
76809 #ifdef __cplusplus
76810 extern "C"
76812 #endif
76813 /* We use char because int might match the return type of a gcc2
76814 builtin and then its argument prototype would still apply. */
76815 char $ac_func ();
76816 /* The GNU C library defines this for functions which it implements
76817 to always fail with ENOSYS. Some functions are actually named
76818 something starting with __ and the normal name is an alias. */
76819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76820 choke me
76821 #else
76822 char (*f) () = $ac_func;
76823 #endif
76824 #ifdef __cplusplus
76826 #endif
76829 main ()
76831 return f != $ac_func;
76833 return 0;
76835 _ACEOF
76836 rm -f conftest.$ac_objext conftest$ac_exeext
76837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76838 (eval $ac_link) 2>conftest.er1
76839 ac_status=$?
76840 grep -v '^ *+' conftest.er1 >conftest.err
76841 rm -f conftest.er1
76842 cat conftest.err >&5
76843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76844 (exit $ac_status); } &&
76845 { ac_try='test -z "$ac_c_werror_flag"
76846 || test ! -s conftest.err'
76847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76848 (eval $ac_try) 2>&5
76849 ac_status=$?
76850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76851 (exit $ac_status); }; } &&
76852 { ac_try='test -s conftest$ac_exeext'
76853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76854 (eval $ac_try) 2>&5
76855 ac_status=$?
76856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76857 (exit $ac_status); }; }; then
76858 eval "$as_ac_var=yes"
76859 else
76860 echo "$as_me: failed program was:" >&5
76861 sed 's/^/| /' conftest.$ac_ext >&5
76863 eval "$as_ac_var=no"
76865 rm -f conftest.err conftest.$ac_objext \
76866 conftest$ac_exeext conftest.$ac_ext
76868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76870 if test `eval echo '${'$as_ac_var'}'` = yes; then
76871 cat >>confdefs.h <<_ACEOF
76872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76873 _ACEOF
76876 done
76886 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76887 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76888 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76889 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76890 echo $ECHO_N "(cached) $ECHO_C" >&6
76891 else
76895 ac_ext=cc
76896 ac_cpp='$CXXCPP $CPPFLAGS'
76897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76901 cat >conftest.$ac_ext <<_ACEOF
76902 /* confdefs.h. */
76903 _ACEOF
76904 cat confdefs.h >>conftest.$ac_ext
76905 cat >>conftest.$ac_ext <<_ACEOF
76906 /* end confdefs.h. */
76907 #include <math.h>
76909 main ()
76911 atan2l(0, 0);
76913 return 0;
76915 _ACEOF
76916 rm -f conftest.$ac_objext
76917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76918 (eval $ac_compile) 2>conftest.er1
76919 ac_status=$?
76920 grep -v '^ *+' conftest.er1 >conftest.err
76921 rm -f conftest.er1
76922 cat conftest.err >&5
76923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76924 (exit $ac_status); } &&
76925 { ac_try='test -z "$ac_cxx_werror_flag"
76926 || test ! -s conftest.err'
76927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76928 (eval $ac_try) 2>&5
76929 ac_status=$?
76930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76931 (exit $ac_status); }; } &&
76932 { ac_try='test -s conftest.$ac_objext'
76933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76934 (eval $ac_try) 2>&5
76935 ac_status=$?
76936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76937 (exit $ac_status); }; }; then
76938 glibcxx_cv_func_atan2l_use=yes
76939 else
76940 echo "$as_me: failed program was:" >&5
76941 sed 's/^/| /' conftest.$ac_ext >&5
76943 glibcxx_cv_func_atan2l_use=no
76945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76946 ac_ext=c
76947 ac_cpp='$CPP $CPPFLAGS'
76948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76957 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76959 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76961 for ac_func in atan2l
76963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76964 echo "$as_me:$LINENO: checking for $ac_func" >&5
76965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76966 if eval "test \"\${$as_ac_var+set}\" = set"; then
76967 echo $ECHO_N "(cached) $ECHO_C" >&6
76968 else
76969 if test x$gcc_no_link = xyes; then
76970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76972 { (exit 1); exit 1; }; }
76974 cat >conftest.$ac_ext <<_ACEOF
76975 /* confdefs.h. */
76976 _ACEOF
76977 cat confdefs.h >>conftest.$ac_ext
76978 cat >>conftest.$ac_ext <<_ACEOF
76979 /* end confdefs.h. */
76980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76982 #define $ac_func innocuous_$ac_func
76984 /* System header to define __stub macros and hopefully few prototypes,
76985 which can conflict with char $ac_func (); below.
76986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76987 <limits.h> exists even on freestanding compilers. */
76989 #ifdef __STDC__
76990 # include <limits.h>
76991 #else
76992 # include <assert.h>
76993 #endif
76995 #undef $ac_func
76997 /* Override any gcc2 internal prototype to avoid an error. */
76998 #ifdef __cplusplus
76999 extern "C"
77001 #endif
77002 /* We use char because int might match the return type of a gcc2
77003 builtin and then its argument prototype would still apply. */
77004 char $ac_func ();
77005 /* The GNU C library defines this for functions which it implements
77006 to always fail with ENOSYS. Some functions are actually named
77007 something starting with __ and the normal name is an alias. */
77008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77009 choke me
77010 #else
77011 char (*f) () = $ac_func;
77012 #endif
77013 #ifdef __cplusplus
77015 #endif
77018 main ()
77020 return f != $ac_func;
77022 return 0;
77024 _ACEOF
77025 rm -f conftest.$ac_objext conftest$ac_exeext
77026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77027 (eval $ac_link) 2>conftest.er1
77028 ac_status=$?
77029 grep -v '^ *+' conftest.er1 >conftest.err
77030 rm -f conftest.er1
77031 cat conftest.err >&5
77032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77033 (exit $ac_status); } &&
77034 { ac_try='test -z "$ac_c_werror_flag"
77035 || test ! -s conftest.err'
77036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77037 (eval $ac_try) 2>&5
77038 ac_status=$?
77039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77040 (exit $ac_status); }; } &&
77041 { ac_try='test -s conftest$ac_exeext'
77042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77043 (eval $ac_try) 2>&5
77044 ac_status=$?
77045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77046 (exit $ac_status); }; }; then
77047 eval "$as_ac_var=yes"
77048 else
77049 echo "$as_me: failed program was:" >&5
77050 sed 's/^/| /' conftest.$ac_ext >&5
77052 eval "$as_ac_var=no"
77054 rm -f conftest.err conftest.$ac_objext \
77055 conftest$ac_exeext conftest.$ac_ext
77057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77059 if test `eval echo '${'$as_ac_var'}'` = yes; then
77060 cat >>confdefs.h <<_ACEOF
77061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77062 _ACEOF
77065 done
77067 else
77069 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
77070 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
77071 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
77072 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
77073 echo $ECHO_N "(cached) $ECHO_C" >&6
77074 else
77078 ac_ext=cc
77079 ac_cpp='$CXXCPP $CPPFLAGS'
77080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77084 cat >conftest.$ac_ext <<_ACEOF
77085 /* confdefs.h. */
77086 _ACEOF
77087 cat confdefs.h >>conftest.$ac_ext
77088 cat >>conftest.$ac_ext <<_ACEOF
77089 /* end confdefs.h. */
77090 #include <math.h>
77092 main ()
77094 _atan2l(0, 0);
77096 return 0;
77098 _ACEOF
77099 rm -f conftest.$ac_objext
77100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77101 (eval $ac_compile) 2>conftest.er1
77102 ac_status=$?
77103 grep -v '^ *+' conftest.er1 >conftest.err
77104 rm -f conftest.er1
77105 cat conftest.err >&5
77106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77107 (exit $ac_status); } &&
77108 { ac_try='test -z "$ac_cxx_werror_flag"
77109 || test ! -s conftest.err'
77110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77111 (eval $ac_try) 2>&5
77112 ac_status=$?
77113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77114 (exit $ac_status); }; } &&
77115 { ac_try='test -s conftest.$ac_objext'
77116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77117 (eval $ac_try) 2>&5
77118 ac_status=$?
77119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77120 (exit $ac_status); }; }; then
77121 glibcxx_cv_func__atan2l_use=yes
77122 else
77123 echo "$as_me: failed program was:" >&5
77124 sed 's/^/| /' conftest.$ac_ext >&5
77126 glibcxx_cv_func__atan2l_use=no
77128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77129 ac_ext=c
77130 ac_cpp='$CPP $CPPFLAGS'
77131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77140 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77142 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77144 for ac_func in _atan2l
77146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77147 echo "$as_me:$LINENO: checking for $ac_func" >&5
77148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77149 if eval "test \"\${$as_ac_var+set}\" = set"; then
77150 echo $ECHO_N "(cached) $ECHO_C" >&6
77151 else
77152 if test x$gcc_no_link = xyes; then
77153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77155 { (exit 1); exit 1; }; }
77157 cat >conftest.$ac_ext <<_ACEOF
77158 /* confdefs.h. */
77159 _ACEOF
77160 cat confdefs.h >>conftest.$ac_ext
77161 cat >>conftest.$ac_ext <<_ACEOF
77162 /* end confdefs.h. */
77163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77165 #define $ac_func innocuous_$ac_func
77167 /* System header to define __stub macros and hopefully few prototypes,
77168 which can conflict with char $ac_func (); below.
77169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77170 <limits.h> exists even on freestanding compilers. */
77172 #ifdef __STDC__
77173 # include <limits.h>
77174 #else
77175 # include <assert.h>
77176 #endif
77178 #undef $ac_func
77180 /* Override any gcc2 internal prototype to avoid an error. */
77181 #ifdef __cplusplus
77182 extern "C"
77184 #endif
77185 /* We use char because int might match the return type of a gcc2
77186 builtin and then its argument prototype would still apply. */
77187 char $ac_func ();
77188 /* The GNU C library defines this for functions which it implements
77189 to always fail with ENOSYS. Some functions are actually named
77190 something starting with __ and the normal name is an alias. */
77191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77192 choke me
77193 #else
77194 char (*f) () = $ac_func;
77195 #endif
77196 #ifdef __cplusplus
77198 #endif
77201 main ()
77203 return f != $ac_func;
77205 return 0;
77207 _ACEOF
77208 rm -f conftest.$ac_objext conftest$ac_exeext
77209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77210 (eval $ac_link) 2>conftest.er1
77211 ac_status=$?
77212 grep -v '^ *+' conftest.er1 >conftest.err
77213 rm -f conftest.er1
77214 cat conftest.err >&5
77215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77216 (exit $ac_status); } &&
77217 { ac_try='test -z "$ac_c_werror_flag"
77218 || test ! -s conftest.err'
77219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77220 (eval $ac_try) 2>&5
77221 ac_status=$?
77222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77223 (exit $ac_status); }; } &&
77224 { ac_try='test -s conftest$ac_exeext'
77225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77226 (eval $ac_try) 2>&5
77227 ac_status=$?
77228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77229 (exit $ac_status); }; }; then
77230 eval "$as_ac_var=yes"
77231 else
77232 echo "$as_me: failed program was:" >&5
77233 sed 's/^/| /' conftest.$ac_ext >&5
77235 eval "$as_ac_var=no"
77237 rm -f conftest.err conftest.$ac_objext \
77238 conftest$ac_exeext conftest.$ac_ext
77240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77242 if test `eval echo '${'$as_ac_var'}'` = yes; then
77243 cat >>confdefs.h <<_ACEOF
77244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77245 _ACEOF
77248 done
77258 echo "$as_me:$LINENO: checking for expl declaration" >&5
77259 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77260 if test x${glibcxx_cv_func_expl_use+set} != xset; then
77261 if test "${glibcxx_cv_func_expl_use+set}" = set; then
77262 echo $ECHO_N "(cached) $ECHO_C" >&6
77263 else
77267 ac_ext=cc
77268 ac_cpp='$CXXCPP $CPPFLAGS'
77269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77273 cat >conftest.$ac_ext <<_ACEOF
77274 /* confdefs.h. */
77275 _ACEOF
77276 cat confdefs.h >>conftest.$ac_ext
77277 cat >>conftest.$ac_ext <<_ACEOF
77278 /* end confdefs.h. */
77279 #include <math.h>
77280 #ifdef HAVE_IEEEFP_H
77281 #include <ieeefp.h>
77282 #endif
77285 main ()
77287 expl(0);
77289 return 0;
77291 _ACEOF
77292 rm -f conftest.$ac_objext
77293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77294 (eval $ac_compile) 2>conftest.er1
77295 ac_status=$?
77296 grep -v '^ *+' conftest.er1 >conftest.err
77297 rm -f conftest.er1
77298 cat conftest.err >&5
77299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77300 (exit $ac_status); } &&
77301 { ac_try='test -z "$ac_cxx_werror_flag"
77302 || test ! -s conftest.err'
77303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77304 (eval $ac_try) 2>&5
77305 ac_status=$?
77306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77307 (exit $ac_status); }; } &&
77308 { ac_try='test -s conftest.$ac_objext'
77309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77310 (eval $ac_try) 2>&5
77311 ac_status=$?
77312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77313 (exit $ac_status); }; }; then
77314 glibcxx_cv_func_expl_use=yes
77315 else
77316 echo "$as_me: failed program was:" >&5
77317 sed 's/^/| /' conftest.$ac_ext >&5
77319 glibcxx_cv_func_expl_use=no
77321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77322 ac_ext=c
77323 ac_cpp='$CPP $CPPFLAGS'
77324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77333 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77335 if test x$glibcxx_cv_func_expl_use = x"yes"; then
77337 for ac_func in expl
77339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77340 echo "$as_me:$LINENO: checking for $ac_func" >&5
77341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77342 if eval "test \"\${$as_ac_var+set}\" = set"; then
77343 echo $ECHO_N "(cached) $ECHO_C" >&6
77344 else
77345 if test x$gcc_no_link = xyes; then
77346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77348 { (exit 1); exit 1; }; }
77350 cat >conftest.$ac_ext <<_ACEOF
77351 /* confdefs.h. */
77352 _ACEOF
77353 cat confdefs.h >>conftest.$ac_ext
77354 cat >>conftest.$ac_ext <<_ACEOF
77355 /* end confdefs.h. */
77356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77358 #define $ac_func innocuous_$ac_func
77360 /* System header to define __stub macros and hopefully few prototypes,
77361 which can conflict with char $ac_func (); below.
77362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77363 <limits.h> exists even on freestanding compilers. */
77365 #ifdef __STDC__
77366 # include <limits.h>
77367 #else
77368 # include <assert.h>
77369 #endif
77371 #undef $ac_func
77373 /* Override any gcc2 internal prototype to avoid an error. */
77374 #ifdef __cplusplus
77375 extern "C"
77377 #endif
77378 /* We use char because int might match the return type of a gcc2
77379 builtin and then its argument prototype would still apply. */
77380 char $ac_func ();
77381 /* The GNU C library defines this for functions which it implements
77382 to always fail with ENOSYS. Some functions are actually named
77383 something starting with __ and the normal name is an alias. */
77384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77385 choke me
77386 #else
77387 char (*f) () = $ac_func;
77388 #endif
77389 #ifdef __cplusplus
77391 #endif
77394 main ()
77396 return f != $ac_func;
77398 return 0;
77400 _ACEOF
77401 rm -f conftest.$ac_objext conftest$ac_exeext
77402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77403 (eval $ac_link) 2>conftest.er1
77404 ac_status=$?
77405 grep -v '^ *+' conftest.er1 >conftest.err
77406 rm -f conftest.er1
77407 cat conftest.err >&5
77408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77409 (exit $ac_status); } &&
77410 { ac_try='test -z "$ac_c_werror_flag"
77411 || test ! -s conftest.err'
77412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77413 (eval $ac_try) 2>&5
77414 ac_status=$?
77415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77416 (exit $ac_status); }; } &&
77417 { ac_try='test -s conftest$ac_exeext'
77418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77419 (eval $ac_try) 2>&5
77420 ac_status=$?
77421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77422 (exit $ac_status); }; }; then
77423 eval "$as_ac_var=yes"
77424 else
77425 echo "$as_me: failed program was:" >&5
77426 sed 's/^/| /' conftest.$ac_ext >&5
77428 eval "$as_ac_var=no"
77430 rm -f conftest.err conftest.$ac_objext \
77431 conftest$ac_exeext conftest.$ac_ext
77433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77435 if test `eval echo '${'$as_ac_var'}'` = yes; then
77436 cat >>confdefs.h <<_ACEOF
77437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77438 _ACEOF
77441 done
77443 else
77445 echo "$as_me:$LINENO: checking for _expl declaration" >&5
77446 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77447 if test x${glibcxx_cv_func__expl_use+set} != xset; then
77448 if test "${glibcxx_cv_func__expl_use+set}" = set; then
77449 echo $ECHO_N "(cached) $ECHO_C" >&6
77450 else
77454 ac_ext=cc
77455 ac_cpp='$CXXCPP $CPPFLAGS'
77456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77460 cat >conftest.$ac_ext <<_ACEOF
77461 /* confdefs.h. */
77462 _ACEOF
77463 cat confdefs.h >>conftest.$ac_ext
77464 cat >>conftest.$ac_ext <<_ACEOF
77465 /* end confdefs.h. */
77466 #include <math.h>
77467 #ifdef HAVE_IEEEFP_H
77468 #include <ieeefp.h>
77469 #endif
77472 main ()
77474 _expl(0);
77476 return 0;
77478 _ACEOF
77479 rm -f conftest.$ac_objext
77480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77481 (eval $ac_compile) 2>conftest.er1
77482 ac_status=$?
77483 grep -v '^ *+' conftest.er1 >conftest.err
77484 rm -f conftest.er1
77485 cat conftest.err >&5
77486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77487 (exit $ac_status); } &&
77488 { ac_try='test -z "$ac_cxx_werror_flag"
77489 || test ! -s conftest.err'
77490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77491 (eval $ac_try) 2>&5
77492 ac_status=$?
77493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77494 (exit $ac_status); }; } &&
77495 { ac_try='test -s conftest.$ac_objext'
77496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77497 (eval $ac_try) 2>&5
77498 ac_status=$?
77499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77500 (exit $ac_status); }; }; then
77501 glibcxx_cv_func__expl_use=yes
77502 else
77503 echo "$as_me: failed program was:" >&5
77504 sed 's/^/| /' conftest.$ac_ext >&5
77506 glibcxx_cv_func__expl_use=no
77508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77509 ac_ext=c
77510 ac_cpp='$CPP $CPPFLAGS'
77511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
77520 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
77522 if test x$glibcxx_cv_func__expl_use = x"yes"; then
77524 for ac_func in _expl
77526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77527 echo "$as_me:$LINENO: checking for $ac_func" >&5
77528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77529 if eval "test \"\${$as_ac_var+set}\" = set"; then
77530 echo $ECHO_N "(cached) $ECHO_C" >&6
77531 else
77532 if test x$gcc_no_link = xyes; then
77533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77535 { (exit 1); exit 1; }; }
77537 cat >conftest.$ac_ext <<_ACEOF
77538 /* confdefs.h. */
77539 _ACEOF
77540 cat confdefs.h >>conftest.$ac_ext
77541 cat >>conftest.$ac_ext <<_ACEOF
77542 /* end confdefs.h. */
77543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77545 #define $ac_func innocuous_$ac_func
77547 /* System header to define __stub macros and hopefully few prototypes,
77548 which can conflict with char $ac_func (); below.
77549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77550 <limits.h> exists even on freestanding compilers. */
77552 #ifdef __STDC__
77553 # include <limits.h>
77554 #else
77555 # include <assert.h>
77556 #endif
77558 #undef $ac_func
77560 /* Override any gcc2 internal prototype to avoid an error. */
77561 #ifdef __cplusplus
77562 extern "C"
77564 #endif
77565 /* We use char because int might match the return type of a gcc2
77566 builtin and then its argument prototype would still apply. */
77567 char $ac_func ();
77568 /* The GNU C library defines this for functions which it implements
77569 to always fail with ENOSYS. Some functions are actually named
77570 something starting with __ and the normal name is an alias. */
77571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77572 choke me
77573 #else
77574 char (*f) () = $ac_func;
77575 #endif
77576 #ifdef __cplusplus
77578 #endif
77581 main ()
77583 return f != $ac_func;
77585 return 0;
77587 _ACEOF
77588 rm -f conftest.$ac_objext conftest$ac_exeext
77589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77590 (eval $ac_link) 2>conftest.er1
77591 ac_status=$?
77592 grep -v '^ *+' conftest.er1 >conftest.err
77593 rm -f conftest.er1
77594 cat conftest.err >&5
77595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77596 (exit $ac_status); } &&
77597 { ac_try='test -z "$ac_c_werror_flag"
77598 || test ! -s conftest.err'
77599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77600 (eval $ac_try) 2>&5
77601 ac_status=$?
77602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77603 (exit $ac_status); }; } &&
77604 { ac_try='test -s conftest$ac_exeext'
77605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77606 (eval $ac_try) 2>&5
77607 ac_status=$?
77608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77609 (exit $ac_status); }; }; then
77610 eval "$as_ac_var=yes"
77611 else
77612 echo "$as_me: failed program was:" >&5
77613 sed 's/^/| /' conftest.$ac_ext >&5
77615 eval "$as_ac_var=no"
77617 rm -f conftest.err conftest.$ac_objext \
77618 conftest$ac_exeext conftest.$ac_ext
77620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77622 if test `eval echo '${'$as_ac_var'}'` = yes; then
77623 cat >>confdefs.h <<_ACEOF
77624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77625 _ACEOF
77628 done
77638 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77639 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77640 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77641 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77642 echo $ECHO_N "(cached) $ECHO_C" >&6
77643 else
77647 ac_ext=cc
77648 ac_cpp='$CXXCPP $CPPFLAGS'
77649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77653 cat >conftest.$ac_ext <<_ACEOF
77654 /* confdefs.h. */
77655 _ACEOF
77656 cat confdefs.h >>conftest.$ac_ext
77657 cat >>conftest.$ac_ext <<_ACEOF
77658 /* end confdefs.h. */
77659 #include <math.h>
77660 #ifdef HAVE_IEEEFP_H
77661 #include <ieeefp.h>
77662 #endif
77665 main ()
77667 fabsl(0);
77669 return 0;
77671 _ACEOF
77672 rm -f conftest.$ac_objext
77673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77674 (eval $ac_compile) 2>conftest.er1
77675 ac_status=$?
77676 grep -v '^ *+' conftest.er1 >conftest.err
77677 rm -f conftest.er1
77678 cat conftest.err >&5
77679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77680 (exit $ac_status); } &&
77681 { ac_try='test -z "$ac_cxx_werror_flag"
77682 || test ! -s conftest.err'
77683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77684 (eval $ac_try) 2>&5
77685 ac_status=$?
77686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77687 (exit $ac_status); }; } &&
77688 { ac_try='test -s conftest.$ac_objext'
77689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77690 (eval $ac_try) 2>&5
77691 ac_status=$?
77692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77693 (exit $ac_status); }; }; then
77694 glibcxx_cv_func_fabsl_use=yes
77695 else
77696 echo "$as_me: failed program was:" >&5
77697 sed 's/^/| /' conftest.$ac_ext >&5
77699 glibcxx_cv_func_fabsl_use=no
77701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77702 ac_ext=c
77703 ac_cpp='$CPP $CPPFLAGS'
77704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77713 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77715 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77717 for ac_func in fabsl
77719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77720 echo "$as_me:$LINENO: checking for $ac_func" >&5
77721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77722 if eval "test \"\${$as_ac_var+set}\" = set"; then
77723 echo $ECHO_N "(cached) $ECHO_C" >&6
77724 else
77725 if test x$gcc_no_link = xyes; then
77726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77728 { (exit 1); exit 1; }; }
77730 cat >conftest.$ac_ext <<_ACEOF
77731 /* confdefs.h. */
77732 _ACEOF
77733 cat confdefs.h >>conftest.$ac_ext
77734 cat >>conftest.$ac_ext <<_ACEOF
77735 /* end confdefs.h. */
77736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77738 #define $ac_func innocuous_$ac_func
77740 /* System header to define __stub macros and hopefully few prototypes,
77741 which can conflict with char $ac_func (); below.
77742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77743 <limits.h> exists even on freestanding compilers. */
77745 #ifdef __STDC__
77746 # include <limits.h>
77747 #else
77748 # include <assert.h>
77749 #endif
77751 #undef $ac_func
77753 /* Override any gcc2 internal prototype to avoid an error. */
77754 #ifdef __cplusplus
77755 extern "C"
77757 #endif
77758 /* We use char because int might match the return type of a gcc2
77759 builtin and then its argument prototype would still apply. */
77760 char $ac_func ();
77761 /* The GNU C library defines this for functions which it implements
77762 to always fail with ENOSYS. Some functions are actually named
77763 something starting with __ and the normal name is an alias. */
77764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77765 choke me
77766 #else
77767 char (*f) () = $ac_func;
77768 #endif
77769 #ifdef __cplusplus
77771 #endif
77774 main ()
77776 return f != $ac_func;
77778 return 0;
77780 _ACEOF
77781 rm -f conftest.$ac_objext conftest$ac_exeext
77782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77783 (eval $ac_link) 2>conftest.er1
77784 ac_status=$?
77785 grep -v '^ *+' conftest.er1 >conftest.err
77786 rm -f conftest.er1
77787 cat conftest.err >&5
77788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77789 (exit $ac_status); } &&
77790 { ac_try='test -z "$ac_c_werror_flag"
77791 || test ! -s conftest.err'
77792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77793 (eval $ac_try) 2>&5
77794 ac_status=$?
77795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77796 (exit $ac_status); }; } &&
77797 { ac_try='test -s conftest$ac_exeext'
77798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77799 (eval $ac_try) 2>&5
77800 ac_status=$?
77801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77802 (exit $ac_status); }; }; then
77803 eval "$as_ac_var=yes"
77804 else
77805 echo "$as_me: failed program was:" >&5
77806 sed 's/^/| /' conftest.$ac_ext >&5
77808 eval "$as_ac_var=no"
77810 rm -f conftest.err conftest.$ac_objext \
77811 conftest$ac_exeext conftest.$ac_ext
77813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77815 if test `eval echo '${'$as_ac_var'}'` = yes; then
77816 cat >>confdefs.h <<_ACEOF
77817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77818 _ACEOF
77821 done
77823 else
77825 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77826 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77827 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77828 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77829 echo $ECHO_N "(cached) $ECHO_C" >&6
77830 else
77834 ac_ext=cc
77835 ac_cpp='$CXXCPP $CPPFLAGS'
77836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77840 cat >conftest.$ac_ext <<_ACEOF
77841 /* confdefs.h. */
77842 _ACEOF
77843 cat confdefs.h >>conftest.$ac_ext
77844 cat >>conftest.$ac_ext <<_ACEOF
77845 /* end confdefs.h. */
77846 #include <math.h>
77847 #ifdef HAVE_IEEEFP_H
77848 #include <ieeefp.h>
77849 #endif
77852 main ()
77854 _fabsl(0);
77856 return 0;
77858 _ACEOF
77859 rm -f conftest.$ac_objext
77860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77861 (eval $ac_compile) 2>conftest.er1
77862 ac_status=$?
77863 grep -v '^ *+' conftest.er1 >conftest.err
77864 rm -f conftest.er1
77865 cat conftest.err >&5
77866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77867 (exit $ac_status); } &&
77868 { ac_try='test -z "$ac_cxx_werror_flag"
77869 || test ! -s conftest.err'
77870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77871 (eval $ac_try) 2>&5
77872 ac_status=$?
77873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77874 (exit $ac_status); }; } &&
77875 { ac_try='test -s conftest.$ac_objext'
77876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77877 (eval $ac_try) 2>&5
77878 ac_status=$?
77879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77880 (exit $ac_status); }; }; then
77881 glibcxx_cv_func__fabsl_use=yes
77882 else
77883 echo "$as_me: failed program was:" >&5
77884 sed 's/^/| /' conftest.$ac_ext >&5
77886 glibcxx_cv_func__fabsl_use=no
77888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77889 ac_ext=c
77890 ac_cpp='$CPP $CPPFLAGS'
77891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77900 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77902 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77904 for ac_func in _fabsl
77906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77907 echo "$as_me:$LINENO: checking for $ac_func" >&5
77908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77909 if eval "test \"\${$as_ac_var+set}\" = set"; then
77910 echo $ECHO_N "(cached) $ECHO_C" >&6
77911 else
77912 if test x$gcc_no_link = xyes; then
77913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77915 { (exit 1); exit 1; }; }
77917 cat >conftest.$ac_ext <<_ACEOF
77918 /* confdefs.h. */
77919 _ACEOF
77920 cat confdefs.h >>conftest.$ac_ext
77921 cat >>conftest.$ac_ext <<_ACEOF
77922 /* end confdefs.h. */
77923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77925 #define $ac_func innocuous_$ac_func
77927 /* System header to define __stub macros and hopefully few prototypes,
77928 which can conflict with char $ac_func (); below.
77929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77930 <limits.h> exists even on freestanding compilers. */
77932 #ifdef __STDC__
77933 # include <limits.h>
77934 #else
77935 # include <assert.h>
77936 #endif
77938 #undef $ac_func
77940 /* Override any gcc2 internal prototype to avoid an error. */
77941 #ifdef __cplusplus
77942 extern "C"
77944 #endif
77945 /* We use char because int might match the return type of a gcc2
77946 builtin and then its argument prototype would still apply. */
77947 char $ac_func ();
77948 /* The GNU C library defines this for functions which it implements
77949 to always fail with ENOSYS. Some functions are actually named
77950 something starting with __ and the normal name is an alias. */
77951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77952 choke me
77953 #else
77954 char (*f) () = $ac_func;
77955 #endif
77956 #ifdef __cplusplus
77958 #endif
77961 main ()
77963 return f != $ac_func;
77965 return 0;
77967 _ACEOF
77968 rm -f conftest.$ac_objext conftest$ac_exeext
77969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77970 (eval $ac_link) 2>conftest.er1
77971 ac_status=$?
77972 grep -v '^ *+' conftest.er1 >conftest.err
77973 rm -f conftest.er1
77974 cat conftest.err >&5
77975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77976 (exit $ac_status); } &&
77977 { ac_try='test -z "$ac_c_werror_flag"
77978 || test ! -s conftest.err'
77979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77980 (eval $ac_try) 2>&5
77981 ac_status=$?
77982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77983 (exit $ac_status); }; } &&
77984 { ac_try='test -s conftest$ac_exeext'
77985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77986 (eval $ac_try) 2>&5
77987 ac_status=$?
77988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77989 (exit $ac_status); }; }; then
77990 eval "$as_ac_var=yes"
77991 else
77992 echo "$as_me: failed program was:" >&5
77993 sed 's/^/| /' conftest.$ac_ext >&5
77995 eval "$as_ac_var=no"
77997 rm -f conftest.err conftest.$ac_objext \
77998 conftest$ac_exeext conftest.$ac_ext
78000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78002 if test `eval echo '${'$as_ac_var'}'` = yes; then
78003 cat >>confdefs.h <<_ACEOF
78004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78005 _ACEOF
78008 done
78018 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
78019 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
78020 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
78021 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
78022 echo $ECHO_N "(cached) $ECHO_C" >&6
78023 else
78027 ac_ext=cc
78028 ac_cpp='$CXXCPP $CPPFLAGS'
78029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78033 cat >conftest.$ac_ext <<_ACEOF
78034 /* confdefs.h. */
78035 _ACEOF
78036 cat confdefs.h >>conftest.$ac_ext
78037 cat >>conftest.$ac_ext <<_ACEOF
78038 /* end confdefs.h. */
78039 #include <math.h>
78041 main ()
78043 fmodl(0, 0);
78045 return 0;
78047 _ACEOF
78048 rm -f conftest.$ac_objext
78049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78050 (eval $ac_compile) 2>conftest.er1
78051 ac_status=$?
78052 grep -v '^ *+' conftest.er1 >conftest.err
78053 rm -f conftest.er1
78054 cat conftest.err >&5
78055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78056 (exit $ac_status); } &&
78057 { ac_try='test -z "$ac_cxx_werror_flag"
78058 || test ! -s conftest.err'
78059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78060 (eval $ac_try) 2>&5
78061 ac_status=$?
78062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78063 (exit $ac_status); }; } &&
78064 { ac_try='test -s conftest.$ac_objext'
78065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78066 (eval $ac_try) 2>&5
78067 ac_status=$?
78068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78069 (exit $ac_status); }; }; then
78070 glibcxx_cv_func_fmodl_use=yes
78071 else
78072 echo "$as_me: failed program was:" >&5
78073 sed 's/^/| /' conftest.$ac_ext >&5
78075 glibcxx_cv_func_fmodl_use=no
78077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78078 ac_ext=c
78079 ac_cpp='$CPP $CPPFLAGS'
78080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
78089 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
78091 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
78093 for ac_func in fmodl
78095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78096 echo "$as_me:$LINENO: checking for $ac_func" >&5
78097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78098 if eval "test \"\${$as_ac_var+set}\" = set"; then
78099 echo $ECHO_N "(cached) $ECHO_C" >&6
78100 else
78101 if test x$gcc_no_link = xyes; then
78102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78104 { (exit 1); exit 1; }; }
78106 cat >conftest.$ac_ext <<_ACEOF
78107 /* confdefs.h. */
78108 _ACEOF
78109 cat confdefs.h >>conftest.$ac_ext
78110 cat >>conftest.$ac_ext <<_ACEOF
78111 /* end confdefs.h. */
78112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78114 #define $ac_func innocuous_$ac_func
78116 /* System header to define __stub macros and hopefully few prototypes,
78117 which can conflict with char $ac_func (); below.
78118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78119 <limits.h> exists even on freestanding compilers. */
78121 #ifdef __STDC__
78122 # include <limits.h>
78123 #else
78124 # include <assert.h>
78125 #endif
78127 #undef $ac_func
78129 /* Override any gcc2 internal prototype to avoid an error. */
78130 #ifdef __cplusplus
78131 extern "C"
78133 #endif
78134 /* We use char because int might match the return type of a gcc2
78135 builtin and then its argument prototype would still apply. */
78136 char $ac_func ();
78137 /* The GNU C library defines this for functions which it implements
78138 to always fail with ENOSYS. Some functions are actually named
78139 something starting with __ and the normal name is an alias. */
78140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78141 choke me
78142 #else
78143 char (*f) () = $ac_func;
78144 #endif
78145 #ifdef __cplusplus
78147 #endif
78150 main ()
78152 return f != $ac_func;
78154 return 0;
78156 _ACEOF
78157 rm -f conftest.$ac_objext conftest$ac_exeext
78158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78159 (eval $ac_link) 2>conftest.er1
78160 ac_status=$?
78161 grep -v '^ *+' conftest.er1 >conftest.err
78162 rm -f conftest.er1
78163 cat conftest.err >&5
78164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78165 (exit $ac_status); } &&
78166 { ac_try='test -z "$ac_c_werror_flag"
78167 || test ! -s conftest.err'
78168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78169 (eval $ac_try) 2>&5
78170 ac_status=$?
78171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78172 (exit $ac_status); }; } &&
78173 { ac_try='test -s conftest$ac_exeext'
78174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78175 (eval $ac_try) 2>&5
78176 ac_status=$?
78177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78178 (exit $ac_status); }; }; then
78179 eval "$as_ac_var=yes"
78180 else
78181 echo "$as_me: failed program was:" >&5
78182 sed 's/^/| /' conftest.$ac_ext >&5
78184 eval "$as_ac_var=no"
78186 rm -f conftest.err conftest.$ac_objext \
78187 conftest$ac_exeext conftest.$ac_ext
78189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78191 if test `eval echo '${'$as_ac_var'}'` = yes; then
78192 cat >>confdefs.h <<_ACEOF
78193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78194 _ACEOF
78197 done
78199 else
78201 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78202 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78203 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78204 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78205 echo $ECHO_N "(cached) $ECHO_C" >&6
78206 else
78210 ac_ext=cc
78211 ac_cpp='$CXXCPP $CPPFLAGS'
78212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78216 cat >conftest.$ac_ext <<_ACEOF
78217 /* confdefs.h. */
78218 _ACEOF
78219 cat confdefs.h >>conftest.$ac_ext
78220 cat >>conftest.$ac_ext <<_ACEOF
78221 /* end confdefs.h. */
78222 #include <math.h>
78224 main ()
78226 _fmodl(0, 0);
78228 return 0;
78230 _ACEOF
78231 rm -f conftest.$ac_objext
78232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78233 (eval $ac_compile) 2>conftest.er1
78234 ac_status=$?
78235 grep -v '^ *+' conftest.er1 >conftest.err
78236 rm -f conftest.er1
78237 cat conftest.err >&5
78238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78239 (exit $ac_status); } &&
78240 { ac_try='test -z "$ac_cxx_werror_flag"
78241 || test ! -s conftest.err'
78242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78243 (eval $ac_try) 2>&5
78244 ac_status=$?
78245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78246 (exit $ac_status); }; } &&
78247 { ac_try='test -s conftest.$ac_objext'
78248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78249 (eval $ac_try) 2>&5
78250 ac_status=$?
78251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78252 (exit $ac_status); }; }; then
78253 glibcxx_cv_func__fmodl_use=yes
78254 else
78255 echo "$as_me: failed program was:" >&5
78256 sed 's/^/| /' conftest.$ac_ext >&5
78258 glibcxx_cv_func__fmodl_use=no
78260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78261 ac_ext=c
78262 ac_cpp='$CPP $CPPFLAGS'
78263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78272 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78274 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78276 for ac_func in _fmodl
78278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78279 echo "$as_me:$LINENO: checking for $ac_func" >&5
78280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78281 if eval "test \"\${$as_ac_var+set}\" = set"; then
78282 echo $ECHO_N "(cached) $ECHO_C" >&6
78283 else
78284 if test x$gcc_no_link = xyes; then
78285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78287 { (exit 1); exit 1; }; }
78289 cat >conftest.$ac_ext <<_ACEOF
78290 /* confdefs.h. */
78291 _ACEOF
78292 cat confdefs.h >>conftest.$ac_ext
78293 cat >>conftest.$ac_ext <<_ACEOF
78294 /* end confdefs.h. */
78295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78297 #define $ac_func innocuous_$ac_func
78299 /* System header to define __stub macros and hopefully few prototypes,
78300 which can conflict with char $ac_func (); below.
78301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78302 <limits.h> exists even on freestanding compilers. */
78304 #ifdef __STDC__
78305 # include <limits.h>
78306 #else
78307 # include <assert.h>
78308 #endif
78310 #undef $ac_func
78312 /* Override any gcc2 internal prototype to avoid an error. */
78313 #ifdef __cplusplus
78314 extern "C"
78316 #endif
78317 /* We use char because int might match the return type of a gcc2
78318 builtin and then its argument prototype would still apply. */
78319 char $ac_func ();
78320 /* The GNU C library defines this for functions which it implements
78321 to always fail with ENOSYS. Some functions are actually named
78322 something starting with __ and the normal name is an alias. */
78323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78324 choke me
78325 #else
78326 char (*f) () = $ac_func;
78327 #endif
78328 #ifdef __cplusplus
78330 #endif
78333 main ()
78335 return f != $ac_func;
78337 return 0;
78339 _ACEOF
78340 rm -f conftest.$ac_objext conftest$ac_exeext
78341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78342 (eval $ac_link) 2>conftest.er1
78343 ac_status=$?
78344 grep -v '^ *+' conftest.er1 >conftest.err
78345 rm -f conftest.er1
78346 cat conftest.err >&5
78347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78348 (exit $ac_status); } &&
78349 { ac_try='test -z "$ac_c_werror_flag"
78350 || test ! -s conftest.err'
78351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78352 (eval $ac_try) 2>&5
78353 ac_status=$?
78354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78355 (exit $ac_status); }; } &&
78356 { ac_try='test -s conftest$ac_exeext'
78357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78358 (eval $ac_try) 2>&5
78359 ac_status=$?
78360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78361 (exit $ac_status); }; }; then
78362 eval "$as_ac_var=yes"
78363 else
78364 echo "$as_me: failed program was:" >&5
78365 sed 's/^/| /' conftest.$ac_ext >&5
78367 eval "$as_ac_var=no"
78369 rm -f conftest.err conftest.$ac_objext \
78370 conftest$ac_exeext conftest.$ac_ext
78372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78374 if test `eval echo '${'$as_ac_var'}'` = yes; then
78375 cat >>confdefs.h <<_ACEOF
78376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78377 _ACEOF
78380 done
78390 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78391 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78392 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78393 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78394 echo $ECHO_N "(cached) $ECHO_C" >&6
78395 else
78399 ac_ext=cc
78400 ac_cpp='$CXXCPP $CPPFLAGS'
78401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78405 cat >conftest.$ac_ext <<_ACEOF
78406 /* confdefs.h. */
78407 _ACEOF
78408 cat confdefs.h >>conftest.$ac_ext
78409 cat >>conftest.$ac_ext <<_ACEOF
78410 /* end confdefs.h. */
78411 #include <math.h>
78413 main ()
78415 frexpl(0, 0);
78417 return 0;
78419 _ACEOF
78420 rm -f conftest.$ac_objext
78421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78422 (eval $ac_compile) 2>conftest.er1
78423 ac_status=$?
78424 grep -v '^ *+' conftest.er1 >conftest.err
78425 rm -f conftest.er1
78426 cat conftest.err >&5
78427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78428 (exit $ac_status); } &&
78429 { ac_try='test -z "$ac_cxx_werror_flag"
78430 || test ! -s conftest.err'
78431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78432 (eval $ac_try) 2>&5
78433 ac_status=$?
78434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78435 (exit $ac_status); }; } &&
78436 { ac_try='test -s conftest.$ac_objext'
78437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78438 (eval $ac_try) 2>&5
78439 ac_status=$?
78440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78441 (exit $ac_status); }; }; then
78442 glibcxx_cv_func_frexpl_use=yes
78443 else
78444 echo "$as_me: failed program was:" >&5
78445 sed 's/^/| /' conftest.$ac_ext >&5
78447 glibcxx_cv_func_frexpl_use=no
78449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78450 ac_ext=c
78451 ac_cpp='$CPP $CPPFLAGS'
78452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78461 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78463 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78465 for ac_func in frexpl
78467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78468 echo "$as_me:$LINENO: checking for $ac_func" >&5
78469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78470 if eval "test \"\${$as_ac_var+set}\" = set"; then
78471 echo $ECHO_N "(cached) $ECHO_C" >&6
78472 else
78473 if test x$gcc_no_link = xyes; then
78474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78476 { (exit 1); exit 1; }; }
78478 cat >conftest.$ac_ext <<_ACEOF
78479 /* confdefs.h. */
78480 _ACEOF
78481 cat confdefs.h >>conftest.$ac_ext
78482 cat >>conftest.$ac_ext <<_ACEOF
78483 /* end confdefs.h. */
78484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78486 #define $ac_func innocuous_$ac_func
78488 /* System header to define __stub macros and hopefully few prototypes,
78489 which can conflict with char $ac_func (); below.
78490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78491 <limits.h> exists even on freestanding compilers. */
78493 #ifdef __STDC__
78494 # include <limits.h>
78495 #else
78496 # include <assert.h>
78497 #endif
78499 #undef $ac_func
78501 /* Override any gcc2 internal prototype to avoid an error. */
78502 #ifdef __cplusplus
78503 extern "C"
78505 #endif
78506 /* We use char because int might match the return type of a gcc2
78507 builtin and then its argument prototype would still apply. */
78508 char $ac_func ();
78509 /* The GNU C library defines this for functions which it implements
78510 to always fail with ENOSYS. Some functions are actually named
78511 something starting with __ and the normal name is an alias. */
78512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78513 choke me
78514 #else
78515 char (*f) () = $ac_func;
78516 #endif
78517 #ifdef __cplusplus
78519 #endif
78522 main ()
78524 return f != $ac_func;
78526 return 0;
78528 _ACEOF
78529 rm -f conftest.$ac_objext conftest$ac_exeext
78530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78531 (eval $ac_link) 2>conftest.er1
78532 ac_status=$?
78533 grep -v '^ *+' conftest.er1 >conftest.err
78534 rm -f conftest.er1
78535 cat conftest.err >&5
78536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78537 (exit $ac_status); } &&
78538 { ac_try='test -z "$ac_c_werror_flag"
78539 || test ! -s conftest.err'
78540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78541 (eval $ac_try) 2>&5
78542 ac_status=$?
78543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78544 (exit $ac_status); }; } &&
78545 { ac_try='test -s conftest$ac_exeext'
78546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78547 (eval $ac_try) 2>&5
78548 ac_status=$?
78549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78550 (exit $ac_status); }; }; then
78551 eval "$as_ac_var=yes"
78552 else
78553 echo "$as_me: failed program was:" >&5
78554 sed 's/^/| /' conftest.$ac_ext >&5
78556 eval "$as_ac_var=no"
78558 rm -f conftest.err conftest.$ac_objext \
78559 conftest$ac_exeext conftest.$ac_ext
78561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78563 if test `eval echo '${'$as_ac_var'}'` = yes; then
78564 cat >>confdefs.h <<_ACEOF
78565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78566 _ACEOF
78569 done
78571 else
78573 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78574 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78575 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78576 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78577 echo $ECHO_N "(cached) $ECHO_C" >&6
78578 else
78582 ac_ext=cc
78583 ac_cpp='$CXXCPP $CPPFLAGS'
78584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78588 cat >conftest.$ac_ext <<_ACEOF
78589 /* confdefs.h. */
78590 _ACEOF
78591 cat confdefs.h >>conftest.$ac_ext
78592 cat >>conftest.$ac_ext <<_ACEOF
78593 /* end confdefs.h. */
78594 #include <math.h>
78596 main ()
78598 _frexpl(0, 0);
78600 return 0;
78602 _ACEOF
78603 rm -f conftest.$ac_objext
78604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78605 (eval $ac_compile) 2>conftest.er1
78606 ac_status=$?
78607 grep -v '^ *+' conftest.er1 >conftest.err
78608 rm -f conftest.er1
78609 cat conftest.err >&5
78610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78611 (exit $ac_status); } &&
78612 { ac_try='test -z "$ac_cxx_werror_flag"
78613 || test ! -s conftest.err'
78614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78615 (eval $ac_try) 2>&5
78616 ac_status=$?
78617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78618 (exit $ac_status); }; } &&
78619 { ac_try='test -s conftest.$ac_objext'
78620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78621 (eval $ac_try) 2>&5
78622 ac_status=$?
78623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78624 (exit $ac_status); }; }; then
78625 glibcxx_cv_func__frexpl_use=yes
78626 else
78627 echo "$as_me: failed program was:" >&5
78628 sed 's/^/| /' conftest.$ac_ext >&5
78630 glibcxx_cv_func__frexpl_use=no
78632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78633 ac_ext=c
78634 ac_cpp='$CPP $CPPFLAGS'
78635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78644 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78646 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78648 for ac_func in _frexpl
78650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78651 echo "$as_me:$LINENO: checking for $ac_func" >&5
78652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78653 if eval "test \"\${$as_ac_var+set}\" = set"; then
78654 echo $ECHO_N "(cached) $ECHO_C" >&6
78655 else
78656 if test x$gcc_no_link = xyes; then
78657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78659 { (exit 1); exit 1; }; }
78661 cat >conftest.$ac_ext <<_ACEOF
78662 /* confdefs.h. */
78663 _ACEOF
78664 cat confdefs.h >>conftest.$ac_ext
78665 cat >>conftest.$ac_ext <<_ACEOF
78666 /* end confdefs.h. */
78667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78669 #define $ac_func innocuous_$ac_func
78671 /* System header to define __stub macros and hopefully few prototypes,
78672 which can conflict with char $ac_func (); below.
78673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78674 <limits.h> exists even on freestanding compilers. */
78676 #ifdef __STDC__
78677 # include <limits.h>
78678 #else
78679 # include <assert.h>
78680 #endif
78682 #undef $ac_func
78684 /* Override any gcc2 internal prototype to avoid an error. */
78685 #ifdef __cplusplus
78686 extern "C"
78688 #endif
78689 /* We use char because int might match the return type of a gcc2
78690 builtin and then its argument prototype would still apply. */
78691 char $ac_func ();
78692 /* The GNU C library defines this for functions which it implements
78693 to always fail with ENOSYS. Some functions are actually named
78694 something starting with __ and the normal name is an alias. */
78695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78696 choke me
78697 #else
78698 char (*f) () = $ac_func;
78699 #endif
78700 #ifdef __cplusplus
78702 #endif
78705 main ()
78707 return f != $ac_func;
78709 return 0;
78711 _ACEOF
78712 rm -f conftest.$ac_objext conftest$ac_exeext
78713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78714 (eval $ac_link) 2>conftest.er1
78715 ac_status=$?
78716 grep -v '^ *+' conftest.er1 >conftest.err
78717 rm -f conftest.er1
78718 cat conftest.err >&5
78719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78720 (exit $ac_status); } &&
78721 { ac_try='test -z "$ac_c_werror_flag"
78722 || test ! -s conftest.err'
78723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78724 (eval $ac_try) 2>&5
78725 ac_status=$?
78726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78727 (exit $ac_status); }; } &&
78728 { ac_try='test -s conftest$ac_exeext'
78729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78730 (eval $ac_try) 2>&5
78731 ac_status=$?
78732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78733 (exit $ac_status); }; }; then
78734 eval "$as_ac_var=yes"
78735 else
78736 echo "$as_me: failed program was:" >&5
78737 sed 's/^/| /' conftest.$ac_ext >&5
78739 eval "$as_ac_var=no"
78741 rm -f conftest.err conftest.$ac_objext \
78742 conftest$ac_exeext conftest.$ac_ext
78744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78746 if test `eval echo '${'$as_ac_var'}'` = yes; then
78747 cat >>confdefs.h <<_ACEOF
78748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78749 _ACEOF
78752 done
78762 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78763 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78764 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78765 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78766 echo $ECHO_N "(cached) $ECHO_C" >&6
78767 else
78771 ac_ext=cc
78772 ac_cpp='$CXXCPP $CPPFLAGS'
78773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78777 cat >conftest.$ac_ext <<_ACEOF
78778 /* confdefs.h. */
78779 _ACEOF
78780 cat confdefs.h >>conftest.$ac_ext
78781 cat >>conftest.$ac_ext <<_ACEOF
78782 /* end confdefs.h. */
78783 #include <math.h>
78785 main ()
78787 hypotl(0, 0);
78789 return 0;
78791 _ACEOF
78792 rm -f conftest.$ac_objext
78793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78794 (eval $ac_compile) 2>conftest.er1
78795 ac_status=$?
78796 grep -v '^ *+' conftest.er1 >conftest.err
78797 rm -f conftest.er1
78798 cat conftest.err >&5
78799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78800 (exit $ac_status); } &&
78801 { ac_try='test -z "$ac_cxx_werror_flag"
78802 || test ! -s conftest.err'
78803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78804 (eval $ac_try) 2>&5
78805 ac_status=$?
78806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78807 (exit $ac_status); }; } &&
78808 { ac_try='test -s conftest.$ac_objext'
78809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78810 (eval $ac_try) 2>&5
78811 ac_status=$?
78812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78813 (exit $ac_status); }; }; then
78814 glibcxx_cv_func_hypotl_use=yes
78815 else
78816 echo "$as_me: failed program was:" >&5
78817 sed 's/^/| /' conftest.$ac_ext >&5
78819 glibcxx_cv_func_hypotl_use=no
78821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78822 ac_ext=c
78823 ac_cpp='$CPP $CPPFLAGS'
78824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78833 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78835 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78837 for ac_func in hypotl
78839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78840 echo "$as_me:$LINENO: checking for $ac_func" >&5
78841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78842 if eval "test \"\${$as_ac_var+set}\" = set"; then
78843 echo $ECHO_N "(cached) $ECHO_C" >&6
78844 else
78845 if test x$gcc_no_link = xyes; then
78846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78848 { (exit 1); exit 1; }; }
78850 cat >conftest.$ac_ext <<_ACEOF
78851 /* confdefs.h. */
78852 _ACEOF
78853 cat confdefs.h >>conftest.$ac_ext
78854 cat >>conftest.$ac_ext <<_ACEOF
78855 /* end confdefs.h. */
78856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78858 #define $ac_func innocuous_$ac_func
78860 /* System header to define __stub macros and hopefully few prototypes,
78861 which can conflict with char $ac_func (); below.
78862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78863 <limits.h> exists even on freestanding compilers. */
78865 #ifdef __STDC__
78866 # include <limits.h>
78867 #else
78868 # include <assert.h>
78869 #endif
78871 #undef $ac_func
78873 /* Override any gcc2 internal prototype to avoid an error. */
78874 #ifdef __cplusplus
78875 extern "C"
78877 #endif
78878 /* We use char because int might match the return type of a gcc2
78879 builtin and then its argument prototype would still apply. */
78880 char $ac_func ();
78881 /* The GNU C library defines this for functions which it implements
78882 to always fail with ENOSYS. Some functions are actually named
78883 something starting with __ and the normal name is an alias. */
78884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78885 choke me
78886 #else
78887 char (*f) () = $ac_func;
78888 #endif
78889 #ifdef __cplusplus
78891 #endif
78894 main ()
78896 return f != $ac_func;
78898 return 0;
78900 _ACEOF
78901 rm -f conftest.$ac_objext conftest$ac_exeext
78902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78903 (eval $ac_link) 2>conftest.er1
78904 ac_status=$?
78905 grep -v '^ *+' conftest.er1 >conftest.err
78906 rm -f conftest.er1
78907 cat conftest.err >&5
78908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78909 (exit $ac_status); } &&
78910 { ac_try='test -z "$ac_c_werror_flag"
78911 || test ! -s conftest.err'
78912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78913 (eval $ac_try) 2>&5
78914 ac_status=$?
78915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78916 (exit $ac_status); }; } &&
78917 { ac_try='test -s conftest$ac_exeext'
78918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78919 (eval $ac_try) 2>&5
78920 ac_status=$?
78921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78922 (exit $ac_status); }; }; then
78923 eval "$as_ac_var=yes"
78924 else
78925 echo "$as_me: failed program was:" >&5
78926 sed 's/^/| /' conftest.$ac_ext >&5
78928 eval "$as_ac_var=no"
78930 rm -f conftest.err conftest.$ac_objext \
78931 conftest$ac_exeext conftest.$ac_ext
78933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78935 if test `eval echo '${'$as_ac_var'}'` = yes; then
78936 cat >>confdefs.h <<_ACEOF
78937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78938 _ACEOF
78941 done
78943 else
78945 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78946 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78947 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78948 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78949 echo $ECHO_N "(cached) $ECHO_C" >&6
78950 else
78954 ac_ext=cc
78955 ac_cpp='$CXXCPP $CPPFLAGS'
78956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78960 cat >conftest.$ac_ext <<_ACEOF
78961 /* confdefs.h. */
78962 _ACEOF
78963 cat confdefs.h >>conftest.$ac_ext
78964 cat >>conftest.$ac_ext <<_ACEOF
78965 /* end confdefs.h. */
78966 #include <math.h>
78968 main ()
78970 _hypotl(0, 0);
78972 return 0;
78974 _ACEOF
78975 rm -f conftest.$ac_objext
78976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78977 (eval $ac_compile) 2>conftest.er1
78978 ac_status=$?
78979 grep -v '^ *+' conftest.er1 >conftest.err
78980 rm -f conftest.er1
78981 cat conftest.err >&5
78982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78983 (exit $ac_status); } &&
78984 { ac_try='test -z "$ac_cxx_werror_flag"
78985 || test ! -s conftest.err'
78986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78987 (eval $ac_try) 2>&5
78988 ac_status=$?
78989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78990 (exit $ac_status); }; } &&
78991 { ac_try='test -s conftest.$ac_objext'
78992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78993 (eval $ac_try) 2>&5
78994 ac_status=$?
78995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78996 (exit $ac_status); }; }; then
78997 glibcxx_cv_func__hypotl_use=yes
78998 else
78999 echo "$as_me: failed program was:" >&5
79000 sed 's/^/| /' conftest.$ac_ext >&5
79002 glibcxx_cv_func__hypotl_use=no
79004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79005 ac_ext=c
79006 ac_cpp='$CPP $CPPFLAGS'
79007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
79016 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
79018 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
79020 for ac_func in _hypotl
79022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79023 echo "$as_me:$LINENO: checking for $ac_func" >&5
79024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79025 if eval "test \"\${$as_ac_var+set}\" = set"; then
79026 echo $ECHO_N "(cached) $ECHO_C" >&6
79027 else
79028 if test x$gcc_no_link = xyes; then
79029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79031 { (exit 1); exit 1; }; }
79033 cat >conftest.$ac_ext <<_ACEOF
79034 /* confdefs.h. */
79035 _ACEOF
79036 cat confdefs.h >>conftest.$ac_ext
79037 cat >>conftest.$ac_ext <<_ACEOF
79038 /* end confdefs.h. */
79039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79041 #define $ac_func innocuous_$ac_func
79043 /* System header to define __stub macros and hopefully few prototypes,
79044 which can conflict with char $ac_func (); below.
79045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79046 <limits.h> exists even on freestanding compilers. */
79048 #ifdef __STDC__
79049 # include <limits.h>
79050 #else
79051 # include <assert.h>
79052 #endif
79054 #undef $ac_func
79056 /* Override any gcc2 internal prototype to avoid an error. */
79057 #ifdef __cplusplus
79058 extern "C"
79060 #endif
79061 /* We use char because int might match the return type of a gcc2
79062 builtin and then its argument prototype would still apply. */
79063 char $ac_func ();
79064 /* The GNU C library defines this for functions which it implements
79065 to always fail with ENOSYS. Some functions are actually named
79066 something starting with __ and the normal name is an alias. */
79067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79068 choke me
79069 #else
79070 char (*f) () = $ac_func;
79071 #endif
79072 #ifdef __cplusplus
79074 #endif
79077 main ()
79079 return f != $ac_func;
79081 return 0;
79083 _ACEOF
79084 rm -f conftest.$ac_objext conftest$ac_exeext
79085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79086 (eval $ac_link) 2>conftest.er1
79087 ac_status=$?
79088 grep -v '^ *+' conftest.er1 >conftest.err
79089 rm -f conftest.er1
79090 cat conftest.err >&5
79091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79092 (exit $ac_status); } &&
79093 { ac_try='test -z "$ac_c_werror_flag"
79094 || test ! -s conftest.err'
79095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79096 (eval $ac_try) 2>&5
79097 ac_status=$?
79098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79099 (exit $ac_status); }; } &&
79100 { ac_try='test -s conftest$ac_exeext'
79101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79102 (eval $ac_try) 2>&5
79103 ac_status=$?
79104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79105 (exit $ac_status); }; }; then
79106 eval "$as_ac_var=yes"
79107 else
79108 echo "$as_me: failed program was:" >&5
79109 sed 's/^/| /' conftest.$ac_ext >&5
79111 eval "$as_ac_var=no"
79113 rm -f conftest.err conftest.$ac_objext \
79114 conftest$ac_exeext conftest.$ac_ext
79116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79118 if test `eval echo '${'$as_ac_var'}'` = yes; then
79119 cat >>confdefs.h <<_ACEOF
79120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79121 _ACEOF
79124 done
79134 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
79135 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
79136 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
79137 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
79138 echo $ECHO_N "(cached) $ECHO_C" >&6
79139 else
79143 ac_ext=cc
79144 ac_cpp='$CXXCPP $CPPFLAGS'
79145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79149 cat >conftest.$ac_ext <<_ACEOF
79150 /* confdefs.h. */
79151 _ACEOF
79152 cat confdefs.h >>conftest.$ac_ext
79153 cat >>conftest.$ac_ext <<_ACEOF
79154 /* end confdefs.h. */
79155 #include <math.h>
79157 main ()
79159 ldexpl(0, 0);
79161 return 0;
79163 _ACEOF
79164 rm -f conftest.$ac_objext
79165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79166 (eval $ac_compile) 2>conftest.er1
79167 ac_status=$?
79168 grep -v '^ *+' conftest.er1 >conftest.err
79169 rm -f conftest.er1
79170 cat conftest.err >&5
79171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172 (exit $ac_status); } &&
79173 { ac_try='test -z "$ac_cxx_werror_flag"
79174 || test ! -s conftest.err'
79175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79176 (eval $ac_try) 2>&5
79177 ac_status=$?
79178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79179 (exit $ac_status); }; } &&
79180 { ac_try='test -s conftest.$ac_objext'
79181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79182 (eval $ac_try) 2>&5
79183 ac_status=$?
79184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79185 (exit $ac_status); }; }; then
79186 glibcxx_cv_func_ldexpl_use=yes
79187 else
79188 echo "$as_me: failed program was:" >&5
79189 sed 's/^/| /' conftest.$ac_ext >&5
79191 glibcxx_cv_func_ldexpl_use=no
79193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79194 ac_ext=c
79195 ac_cpp='$CPP $CPPFLAGS'
79196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79205 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79207 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79209 for ac_func in ldexpl
79211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79212 echo "$as_me:$LINENO: checking for $ac_func" >&5
79213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79214 if eval "test \"\${$as_ac_var+set}\" = set"; then
79215 echo $ECHO_N "(cached) $ECHO_C" >&6
79216 else
79217 if test x$gcc_no_link = xyes; then
79218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79220 { (exit 1); exit 1; }; }
79222 cat >conftest.$ac_ext <<_ACEOF
79223 /* confdefs.h. */
79224 _ACEOF
79225 cat confdefs.h >>conftest.$ac_ext
79226 cat >>conftest.$ac_ext <<_ACEOF
79227 /* end confdefs.h. */
79228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79230 #define $ac_func innocuous_$ac_func
79232 /* System header to define __stub macros and hopefully few prototypes,
79233 which can conflict with char $ac_func (); below.
79234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79235 <limits.h> exists even on freestanding compilers. */
79237 #ifdef __STDC__
79238 # include <limits.h>
79239 #else
79240 # include <assert.h>
79241 #endif
79243 #undef $ac_func
79245 /* Override any gcc2 internal prototype to avoid an error. */
79246 #ifdef __cplusplus
79247 extern "C"
79249 #endif
79250 /* We use char because int might match the return type of a gcc2
79251 builtin and then its argument prototype would still apply. */
79252 char $ac_func ();
79253 /* The GNU C library defines this for functions which it implements
79254 to always fail with ENOSYS. Some functions are actually named
79255 something starting with __ and the normal name is an alias. */
79256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79257 choke me
79258 #else
79259 char (*f) () = $ac_func;
79260 #endif
79261 #ifdef __cplusplus
79263 #endif
79266 main ()
79268 return f != $ac_func;
79270 return 0;
79272 _ACEOF
79273 rm -f conftest.$ac_objext conftest$ac_exeext
79274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79275 (eval $ac_link) 2>conftest.er1
79276 ac_status=$?
79277 grep -v '^ *+' conftest.er1 >conftest.err
79278 rm -f conftest.er1
79279 cat conftest.err >&5
79280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79281 (exit $ac_status); } &&
79282 { ac_try='test -z "$ac_c_werror_flag"
79283 || test ! -s conftest.err'
79284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79285 (eval $ac_try) 2>&5
79286 ac_status=$?
79287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79288 (exit $ac_status); }; } &&
79289 { ac_try='test -s conftest$ac_exeext'
79290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79291 (eval $ac_try) 2>&5
79292 ac_status=$?
79293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79294 (exit $ac_status); }; }; then
79295 eval "$as_ac_var=yes"
79296 else
79297 echo "$as_me: failed program was:" >&5
79298 sed 's/^/| /' conftest.$ac_ext >&5
79300 eval "$as_ac_var=no"
79302 rm -f conftest.err conftest.$ac_objext \
79303 conftest$ac_exeext conftest.$ac_ext
79305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79307 if test `eval echo '${'$as_ac_var'}'` = yes; then
79308 cat >>confdefs.h <<_ACEOF
79309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79310 _ACEOF
79313 done
79315 else
79317 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79318 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79319 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79320 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79321 echo $ECHO_N "(cached) $ECHO_C" >&6
79322 else
79326 ac_ext=cc
79327 ac_cpp='$CXXCPP $CPPFLAGS'
79328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79332 cat >conftest.$ac_ext <<_ACEOF
79333 /* confdefs.h. */
79334 _ACEOF
79335 cat confdefs.h >>conftest.$ac_ext
79336 cat >>conftest.$ac_ext <<_ACEOF
79337 /* end confdefs.h. */
79338 #include <math.h>
79340 main ()
79342 _ldexpl(0, 0);
79344 return 0;
79346 _ACEOF
79347 rm -f conftest.$ac_objext
79348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79349 (eval $ac_compile) 2>conftest.er1
79350 ac_status=$?
79351 grep -v '^ *+' conftest.er1 >conftest.err
79352 rm -f conftest.er1
79353 cat conftest.err >&5
79354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79355 (exit $ac_status); } &&
79356 { ac_try='test -z "$ac_cxx_werror_flag"
79357 || test ! -s conftest.err'
79358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79359 (eval $ac_try) 2>&5
79360 ac_status=$?
79361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79362 (exit $ac_status); }; } &&
79363 { ac_try='test -s conftest.$ac_objext'
79364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79365 (eval $ac_try) 2>&5
79366 ac_status=$?
79367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79368 (exit $ac_status); }; }; then
79369 glibcxx_cv_func__ldexpl_use=yes
79370 else
79371 echo "$as_me: failed program was:" >&5
79372 sed 's/^/| /' conftest.$ac_ext >&5
79374 glibcxx_cv_func__ldexpl_use=no
79376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79377 ac_ext=c
79378 ac_cpp='$CPP $CPPFLAGS'
79379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79388 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79390 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79392 for ac_func in _ldexpl
79394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79395 echo "$as_me:$LINENO: checking for $ac_func" >&5
79396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79397 if eval "test \"\${$as_ac_var+set}\" = set"; then
79398 echo $ECHO_N "(cached) $ECHO_C" >&6
79399 else
79400 if test x$gcc_no_link = xyes; then
79401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79403 { (exit 1); exit 1; }; }
79405 cat >conftest.$ac_ext <<_ACEOF
79406 /* confdefs.h. */
79407 _ACEOF
79408 cat confdefs.h >>conftest.$ac_ext
79409 cat >>conftest.$ac_ext <<_ACEOF
79410 /* end confdefs.h. */
79411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79413 #define $ac_func innocuous_$ac_func
79415 /* System header to define __stub macros and hopefully few prototypes,
79416 which can conflict with char $ac_func (); below.
79417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79418 <limits.h> exists even on freestanding compilers. */
79420 #ifdef __STDC__
79421 # include <limits.h>
79422 #else
79423 # include <assert.h>
79424 #endif
79426 #undef $ac_func
79428 /* Override any gcc2 internal prototype to avoid an error. */
79429 #ifdef __cplusplus
79430 extern "C"
79432 #endif
79433 /* We use char because int might match the return type of a gcc2
79434 builtin and then its argument prototype would still apply. */
79435 char $ac_func ();
79436 /* The GNU C library defines this for functions which it implements
79437 to always fail with ENOSYS. Some functions are actually named
79438 something starting with __ and the normal name is an alias. */
79439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79440 choke me
79441 #else
79442 char (*f) () = $ac_func;
79443 #endif
79444 #ifdef __cplusplus
79446 #endif
79449 main ()
79451 return f != $ac_func;
79453 return 0;
79455 _ACEOF
79456 rm -f conftest.$ac_objext conftest$ac_exeext
79457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79458 (eval $ac_link) 2>conftest.er1
79459 ac_status=$?
79460 grep -v '^ *+' conftest.er1 >conftest.err
79461 rm -f conftest.er1
79462 cat conftest.err >&5
79463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79464 (exit $ac_status); } &&
79465 { ac_try='test -z "$ac_c_werror_flag"
79466 || test ! -s conftest.err'
79467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79468 (eval $ac_try) 2>&5
79469 ac_status=$?
79470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79471 (exit $ac_status); }; } &&
79472 { ac_try='test -s conftest$ac_exeext'
79473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79474 (eval $ac_try) 2>&5
79475 ac_status=$?
79476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79477 (exit $ac_status); }; }; then
79478 eval "$as_ac_var=yes"
79479 else
79480 echo "$as_me: failed program was:" >&5
79481 sed 's/^/| /' conftest.$ac_ext >&5
79483 eval "$as_ac_var=no"
79485 rm -f conftest.err conftest.$ac_objext \
79486 conftest$ac_exeext conftest.$ac_ext
79488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79490 if test `eval echo '${'$as_ac_var'}'` = yes; then
79491 cat >>confdefs.h <<_ACEOF
79492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79493 _ACEOF
79496 done
79506 echo "$as_me:$LINENO: checking for logl declaration" >&5
79507 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
79508 if test x${glibcxx_cv_func_logl_use+set} != xset; then
79509 if test "${glibcxx_cv_func_logl_use+set}" = set; then
79510 echo $ECHO_N "(cached) $ECHO_C" >&6
79511 else
79515 ac_ext=cc
79516 ac_cpp='$CXXCPP $CPPFLAGS'
79517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79521 cat >conftest.$ac_ext <<_ACEOF
79522 /* confdefs.h. */
79523 _ACEOF
79524 cat confdefs.h >>conftest.$ac_ext
79525 cat >>conftest.$ac_ext <<_ACEOF
79526 /* end confdefs.h. */
79527 #include <math.h>
79528 #ifdef HAVE_IEEEFP_H
79529 #include <ieeefp.h>
79530 #endif
79533 main ()
79535 logl(0);
79537 return 0;
79539 _ACEOF
79540 rm -f conftest.$ac_objext
79541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79542 (eval $ac_compile) 2>conftest.er1
79543 ac_status=$?
79544 grep -v '^ *+' conftest.er1 >conftest.err
79545 rm -f conftest.er1
79546 cat conftest.err >&5
79547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79548 (exit $ac_status); } &&
79549 { ac_try='test -z "$ac_cxx_werror_flag"
79550 || test ! -s conftest.err'
79551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79552 (eval $ac_try) 2>&5
79553 ac_status=$?
79554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555 (exit $ac_status); }; } &&
79556 { ac_try='test -s conftest.$ac_objext'
79557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79558 (eval $ac_try) 2>&5
79559 ac_status=$?
79560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79561 (exit $ac_status); }; }; then
79562 glibcxx_cv_func_logl_use=yes
79563 else
79564 echo "$as_me: failed program was:" >&5
79565 sed 's/^/| /' conftest.$ac_ext >&5
79567 glibcxx_cv_func_logl_use=no
79569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79570 ac_ext=c
79571 ac_cpp='$CPP $CPPFLAGS'
79572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79581 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79583 if test x$glibcxx_cv_func_logl_use = x"yes"; then
79585 for ac_func in logl
79587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79588 echo "$as_me:$LINENO: checking for $ac_func" >&5
79589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79590 if eval "test \"\${$as_ac_var+set}\" = set"; then
79591 echo $ECHO_N "(cached) $ECHO_C" >&6
79592 else
79593 if test x$gcc_no_link = xyes; then
79594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79596 { (exit 1); exit 1; }; }
79598 cat >conftest.$ac_ext <<_ACEOF
79599 /* confdefs.h. */
79600 _ACEOF
79601 cat confdefs.h >>conftest.$ac_ext
79602 cat >>conftest.$ac_ext <<_ACEOF
79603 /* end confdefs.h. */
79604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79606 #define $ac_func innocuous_$ac_func
79608 /* System header to define __stub macros and hopefully few prototypes,
79609 which can conflict with char $ac_func (); below.
79610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79611 <limits.h> exists even on freestanding compilers. */
79613 #ifdef __STDC__
79614 # include <limits.h>
79615 #else
79616 # include <assert.h>
79617 #endif
79619 #undef $ac_func
79621 /* Override any gcc2 internal prototype to avoid an error. */
79622 #ifdef __cplusplus
79623 extern "C"
79625 #endif
79626 /* We use char because int might match the return type of a gcc2
79627 builtin and then its argument prototype would still apply. */
79628 char $ac_func ();
79629 /* The GNU C library defines this for functions which it implements
79630 to always fail with ENOSYS. Some functions are actually named
79631 something starting with __ and the normal name is an alias. */
79632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79633 choke me
79634 #else
79635 char (*f) () = $ac_func;
79636 #endif
79637 #ifdef __cplusplus
79639 #endif
79642 main ()
79644 return f != $ac_func;
79646 return 0;
79648 _ACEOF
79649 rm -f conftest.$ac_objext conftest$ac_exeext
79650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79651 (eval $ac_link) 2>conftest.er1
79652 ac_status=$?
79653 grep -v '^ *+' conftest.er1 >conftest.err
79654 rm -f conftest.er1
79655 cat conftest.err >&5
79656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79657 (exit $ac_status); } &&
79658 { ac_try='test -z "$ac_c_werror_flag"
79659 || test ! -s conftest.err'
79660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79661 (eval $ac_try) 2>&5
79662 ac_status=$?
79663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79664 (exit $ac_status); }; } &&
79665 { ac_try='test -s conftest$ac_exeext'
79666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79667 (eval $ac_try) 2>&5
79668 ac_status=$?
79669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79670 (exit $ac_status); }; }; then
79671 eval "$as_ac_var=yes"
79672 else
79673 echo "$as_me: failed program was:" >&5
79674 sed 's/^/| /' conftest.$ac_ext >&5
79676 eval "$as_ac_var=no"
79678 rm -f conftest.err conftest.$ac_objext \
79679 conftest$ac_exeext conftest.$ac_ext
79681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79683 if test `eval echo '${'$as_ac_var'}'` = yes; then
79684 cat >>confdefs.h <<_ACEOF
79685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79686 _ACEOF
79689 done
79691 else
79693 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79694 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79695 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79696 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79697 echo $ECHO_N "(cached) $ECHO_C" >&6
79698 else
79702 ac_ext=cc
79703 ac_cpp='$CXXCPP $CPPFLAGS'
79704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79708 cat >conftest.$ac_ext <<_ACEOF
79709 /* confdefs.h. */
79710 _ACEOF
79711 cat confdefs.h >>conftest.$ac_ext
79712 cat >>conftest.$ac_ext <<_ACEOF
79713 /* end confdefs.h. */
79714 #include <math.h>
79715 #ifdef HAVE_IEEEFP_H
79716 #include <ieeefp.h>
79717 #endif
79720 main ()
79722 _logl(0);
79724 return 0;
79726 _ACEOF
79727 rm -f conftest.$ac_objext
79728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79729 (eval $ac_compile) 2>conftest.er1
79730 ac_status=$?
79731 grep -v '^ *+' conftest.er1 >conftest.err
79732 rm -f conftest.er1
79733 cat conftest.err >&5
79734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79735 (exit $ac_status); } &&
79736 { ac_try='test -z "$ac_cxx_werror_flag"
79737 || test ! -s conftest.err'
79738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79739 (eval $ac_try) 2>&5
79740 ac_status=$?
79741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79742 (exit $ac_status); }; } &&
79743 { ac_try='test -s conftest.$ac_objext'
79744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79745 (eval $ac_try) 2>&5
79746 ac_status=$?
79747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79748 (exit $ac_status); }; }; then
79749 glibcxx_cv_func__logl_use=yes
79750 else
79751 echo "$as_me: failed program was:" >&5
79752 sed 's/^/| /' conftest.$ac_ext >&5
79754 glibcxx_cv_func__logl_use=no
79756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79757 ac_ext=c
79758 ac_cpp='$CPP $CPPFLAGS'
79759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79768 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79770 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79772 for ac_func in _logl
79774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79775 echo "$as_me:$LINENO: checking for $ac_func" >&5
79776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79777 if eval "test \"\${$as_ac_var+set}\" = set"; then
79778 echo $ECHO_N "(cached) $ECHO_C" >&6
79779 else
79780 if test x$gcc_no_link = xyes; then
79781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79783 { (exit 1); exit 1; }; }
79785 cat >conftest.$ac_ext <<_ACEOF
79786 /* confdefs.h. */
79787 _ACEOF
79788 cat confdefs.h >>conftest.$ac_ext
79789 cat >>conftest.$ac_ext <<_ACEOF
79790 /* end confdefs.h. */
79791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79793 #define $ac_func innocuous_$ac_func
79795 /* System header to define __stub macros and hopefully few prototypes,
79796 which can conflict with char $ac_func (); below.
79797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79798 <limits.h> exists even on freestanding compilers. */
79800 #ifdef __STDC__
79801 # include <limits.h>
79802 #else
79803 # include <assert.h>
79804 #endif
79806 #undef $ac_func
79808 /* Override any gcc2 internal prototype to avoid an error. */
79809 #ifdef __cplusplus
79810 extern "C"
79812 #endif
79813 /* We use char because int might match the return type of a gcc2
79814 builtin and then its argument prototype would still apply. */
79815 char $ac_func ();
79816 /* The GNU C library defines this for functions which it implements
79817 to always fail with ENOSYS. Some functions are actually named
79818 something starting with __ and the normal name is an alias. */
79819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79820 choke me
79821 #else
79822 char (*f) () = $ac_func;
79823 #endif
79824 #ifdef __cplusplus
79826 #endif
79829 main ()
79831 return f != $ac_func;
79833 return 0;
79835 _ACEOF
79836 rm -f conftest.$ac_objext conftest$ac_exeext
79837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79838 (eval $ac_link) 2>conftest.er1
79839 ac_status=$?
79840 grep -v '^ *+' conftest.er1 >conftest.err
79841 rm -f conftest.er1
79842 cat conftest.err >&5
79843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79844 (exit $ac_status); } &&
79845 { ac_try='test -z "$ac_c_werror_flag"
79846 || test ! -s conftest.err'
79847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79848 (eval $ac_try) 2>&5
79849 ac_status=$?
79850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79851 (exit $ac_status); }; } &&
79852 { ac_try='test -s conftest$ac_exeext'
79853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79854 (eval $ac_try) 2>&5
79855 ac_status=$?
79856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79857 (exit $ac_status); }; }; then
79858 eval "$as_ac_var=yes"
79859 else
79860 echo "$as_me: failed program was:" >&5
79861 sed 's/^/| /' conftest.$ac_ext >&5
79863 eval "$as_ac_var=no"
79865 rm -f conftest.err conftest.$ac_objext \
79866 conftest$ac_exeext conftest.$ac_ext
79868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79870 if test `eval echo '${'$as_ac_var'}'` = yes; then
79871 cat >>confdefs.h <<_ACEOF
79872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79873 _ACEOF
79876 done
79886 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79887 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79888 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79889 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79890 echo $ECHO_N "(cached) $ECHO_C" >&6
79891 else
79895 ac_ext=cc
79896 ac_cpp='$CXXCPP $CPPFLAGS'
79897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79901 cat >conftest.$ac_ext <<_ACEOF
79902 /* confdefs.h. */
79903 _ACEOF
79904 cat confdefs.h >>conftest.$ac_ext
79905 cat >>conftest.$ac_ext <<_ACEOF
79906 /* end confdefs.h. */
79907 #include <math.h>
79908 #ifdef HAVE_IEEEFP_H
79909 #include <ieeefp.h>
79910 #endif
79913 main ()
79915 log10l(0);
79917 return 0;
79919 _ACEOF
79920 rm -f conftest.$ac_objext
79921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79922 (eval $ac_compile) 2>conftest.er1
79923 ac_status=$?
79924 grep -v '^ *+' conftest.er1 >conftest.err
79925 rm -f conftest.er1
79926 cat conftest.err >&5
79927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79928 (exit $ac_status); } &&
79929 { ac_try='test -z "$ac_cxx_werror_flag"
79930 || test ! -s conftest.err'
79931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79932 (eval $ac_try) 2>&5
79933 ac_status=$?
79934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79935 (exit $ac_status); }; } &&
79936 { ac_try='test -s conftest.$ac_objext'
79937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79938 (eval $ac_try) 2>&5
79939 ac_status=$?
79940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79941 (exit $ac_status); }; }; then
79942 glibcxx_cv_func_log10l_use=yes
79943 else
79944 echo "$as_me: failed program was:" >&5
79945 sed 's/^/| /' conftest.$ac_ext >&5
79947 glibcxx_cv_func_log10l_use=no
79949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79950 ac_ext=c
79951 ac_cpp='$CPP $CPPFLAGS'
79952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79961 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79963 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79965 for ac_func in log10l
79967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79968 echo "$as_me:$LINENO: checking for $ac_func" >&5
79969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79970 if eval "test \"\${$as_ac_var+set}\" = set"; then
79971 echo $ECHO_N "(cached) $ECHO_C" >&6
79972 else
79973 if test x$gcc_no_link = xyes; then
79974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79976 { (exit 1); exit 1; }; }
79978 cat >conftest.$ac_ext <<_ACEOF
79979 /* confdefs.h. */
79980 _ACEOF
79981 cat confdefs.h >>conftest.$ac_ext
79982 cat >>conftest.$ac_ext <<_ACEOF
79983 /* end confdefs.h. */
79984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79986 #define $ac_func innocuous_$ac_func
79988 /* System header to define __stub macros and hopefully few prototypes,
79989 which can conflict with char $ac_func (); below.
79990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79991 <limits.h> exists even on freestanding compilers. */
79993 #ifdef __STDC__
79994 # include <limits.h>
79995 #else
79996 # include <assert.h>
79997 #endif
79999 #undef $ac_func
80001 /* Override any gcc2 internal prototype to avoid an error. */
80002 #ifdef __cplusplus
80003 extern "C"
80005 #endif
80006 /* We use char because int might match the return type of a gcc2
80007 builtin and then its argument prototype would still apply. */
80008 char $ac_func ();
80009 /* The GNU C library defines this for functions which it implements
80010 to always fail with ENOSYS. Some functions are actually named
80011 something starting with __ and the normal name is an alias. */
80012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80013 choke me
80014 #else
80015 char (*f) () = $ac_func;
80016 #endif
80017 #ifdef __cplusplus
80019 #endif
80022 main ()
80024 return f != $ac_func;
80026 return 0;
80028 _ACEOF
80029 rm -f conftest.$ac_objext conftest$ac_exeext
80030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80031 (eval $ac_link) 2>conftest.er1
80032 ac_status=$?
80033 grep -v '^ *+' conftest.er1 >conftest.err
80034 rm -f conftest.er1
80035 cat conftest.err >&5
80036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80037 (exit $ac_status); } &&
80038 { ac_try='test -z "$ac_c_werror_flag"
80039 || test ! -s conftest.err'
80040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80041 (eval $ac_try) 2>&5
80042 ac_status=$?
80043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80044 (exit $ac_status); }; } &&
80045 { ac_try='test -s conftest$ac_exeext'
80046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80047 (eval $ac_try) 2>&5
80048 ac_status=$?
80049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80050 (exit $ac_status); }; }; then
80051 eval "$as_ac_var=yes"
80052 else
80053 echo "$as_me: failed program was:" >&5
80054 sed 's/^/| /' conftest.$ac_ext >&5
80056 eval "$as_ac_var=no"
80058 rm -f conftest.err conftest.$ac_objext \
80059 conftest$ac_exeext conftest.$ac_ext
80061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80063 if test `eval echo '${'$as_ac_var'}'` = yes; then
80064 cat >>confdefs.h <<_ACEOF
80065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80066 _ACEOF
80069 done
80071 else
80073 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
80074 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
80075 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
80076 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
80077 echo $ECHO_N "(cached) $ECHO_C" >&6
80078 else
80082 ac_ext=cc
80083 ac_cpp='$CXXCPP $CPPFLAGS'
80084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80088 cat >conftest.$ac_ext <<_ACEOF
80089 /* confdefs.h. */
80090 _ACEOF
80091 cat confdefs.h >>conftest.$ac_ext
80092 cat >>conftest.$ac_ext <<_ACEOF
80093 /* end confdefs.h. */
80094 #include <math.h>
80095 #ifdef HAVE_IEEEFP_H
80096 #include <ieeefp.h>
80097 #endif
80100 main ()
80102 _log10l(0);
80104 return 0;
80106 _ACEOF
80107 rm -f conftest.$ac_objext
80108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80109 (eval $ac_compile) 2>conftest.er1
80110 ac_status=$?
80111 grep -v '^ *+' conftest.er1 >conftest.err
80112 rm -f conftest.er1
80113 cat conftest.err >&5
80114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80115 (exit $ac_status); } &&
80116 { ac_try='test -z "$ac_cxx_werror_flag"
80117 || test ! -s conftest.err'
80118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80119 (eval $ac_try) 2>&5
80120 ac_status=$?
80121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80122 (exit $ac_status); }; } &&
80123 { ac_try='test -s conftest.$ac_objext'
80124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80125 (eval $ac_try) 2>&5
80126 ac_status=$?
80127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80128 (exit $ac_status); }; }; then
80129 glibcxx_cv_func__log10l_use=yes
80130 else
80131 echo "$as_me: failed program was:" >&5
80132 sed 's/^/| /' conftest.$ac_ext >&5
80134 glibcxx_cv_func__log10l_use=no
80136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80137 ac_ext=c
80138 ac_cpp='$CPP $CPPFLAGS'
80139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80148 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80150 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80152 for ac_func in _log10l
80154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80155 echo "$as_me:$LINENO: checking for $ac_func" >&5
80156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80157 if eval "test \"\${$as_ac_var+set}\" = set"; then
80158 echo $ECHO_N "(cached) $ECHO_C" >&6
80159 else
80160 if test x$gcc_no_link = xyes; then
80161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80163 { (exit 1); exit 1; }; }
80165 cat >conftest.$ac_ext <<_ACEOF
80166 /* confdefs.h. */
80167 _ACEOF
80168 cat confdefs.h >>conftest.$ac_ext
80169 cat >>conftest.$ac_ext <<_ACEOF
80170 /* end confdefs.h. */
80171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80173 #define $ac_func innocuous_$ac_func
80175 /* System header to define __stub macros and hopefully few prototypes,
80176 which can conflict with char $ac_func (); below.
80177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80178 <limits.h> exists even on freestanding compilers. */
80180 #ifdef __STDC__
80181 # include <limits.h>
80182 #else
80183 # include <assert.h>
80184 #endif
80186 #undef $ac_func
80188 /* Override any gcc2 internal prototype to avoid an error. */
80189 #ifdef __cplusplus
80190 extern "C"
80192 #endif
80193 /* We use char because int might match the return type of a gcc2
80194 builtin and then its argument prototype would still apply. */
80195 char $ac_func ();
80196 /* The GNU C library defines this for functions which it implements
80197 to always fail with ENOSYS. Some functions are actually named
80198 something starting with __ and the normal name is an alias. */
80199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80200 choke me
80201 #else
80202 char (*f) () = $ac_func;
80203 #endif
80204 #ifdef __cplusplus
80206 #endif
80209 main ()
80211 return f != $ac_func;
80213 return 0;
80215 _ACEOF
80216 rm -f conftest.$ac_objext conftest$ac_exeext
80217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80218 (eval $ac_link) 2>conftest.er1
80219 ac_status=$?
80220 grep -v '^ *+' conftest.er1 >conftest.err
80221 rm -f conftest.er1
80222 cat conftest.err >&5
80223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80224 (exit $ac_status); } &&
80225 { ac_try='test -z "$ac_c_werror_flag"
80226 || test ! -s conftest.err'
80227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80228 (eval $ac_try) 2>&5
80229 ac_status=$?
80230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80231 (exit $ac_status); }; } &&
80232 { ac_try='test -s conftest$ac_exeext'
80233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80234 (eval $ac_try) 2>&5
80235 ac_status=$?
80236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80237 (exit $ac_status); }; }; then
80238 eval "$as_ac_var=yes"
80239 else
80240 echo "$as_me: failed program was:" >&5
80241 sed 's/^/| /' conftest.$ac_ext >&5
80243 eval "$as_ac_var=no"
80245 rm -f conftest.err conftest.$ac_objext \
80246 conftest$ac_exeext conftest.$ac_ext
80248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80250 if test `eval echo '${'$as_ac_var'}'` = yes; then
80251 cat >>confdefs.h <<_ACEOF
80252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80253 _ACEOF
80256 done
80266 echo "$as_me:$LINENO: checking for modfl declaration" >&5
80267 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80268 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80269 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80270 echo $ECHO_N "(cached) $ECHO_C" >&6
80271 else
80275 ac_ext=cc
80276 ac_cpp='$CXXCPP $CPPFLAGS'
80277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80281 cat >conftest.$ac_ext <<_ACEOF
80282 /* confdefs.h. */
80283 _ACEOF
80284 cat confdefs.h >>conftest.$ac_ext
80285 cat >>conftest.$ac_ext <<_ACEOF
80286 /* end confdefs.h. */
80287 #include <math.h>
80289 main ()
80291 modfl(0, 0);
80293 return 0;
80295 _ACEOF
80296 rm -f conftest.$ac_objext
80297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80298 (eval $ac_compile) 2>conftest.er1
80299 ac_status=$?
80300 grep -v '^ *+' conftest.er1 >conftest.err
80301 rm -f conftest.er1
80302 cat conftest.err >&5
80303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80304 (exit $ac_status); } &&
80305 { ac_try='test -z "$ac_cxx_werror_flag"
80306 || test ! -s conftest.err'
80307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80308 (eval $ac_try) 2>&5
80309 ac_status=$?
80310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80311 (exit $ac_status); }; } &&
80312 { ac_try='test -s conftest.$ac_objext'
80313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80314 (eval $ac_try) 2>&5
80315 ac_status=$?
80316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80317 (exit $ac_status); }; }; then
80318 glibcxx_cv_func_modfl_use=yes
80319 else
80320 echo "$as_me: failed program was:" >&5
80321 sed 's/^/| /' conftest.$ac_ext >&5
80323 glibcxx_cv_func_modfl_use=no
80325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80326 ac_ext=c
80327 ac_cpp='$CPP $CPPFLAGS'
80328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80336 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80337 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80339 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80341 for ac_func in modfl
80343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80344 echo "$as_me:$LINENO: checking for $ac_func" >&5
80345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80346 if eval "test \"\${$as_ac_var+set}\" = set"; then
80347 echo $ECHO_N "(cached) $ECHO_C" >&6
80348 else
80349 if test x$gcc_no_link = xyes; then
80350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80352 { (exit 1); exit 1; }; }
80354 cat >conftest.$ac_ext <<_ACEOF
80355 /* confdefs.h. */
80356 _ACEOF
80357 cat confdefs.h >>conftest.$ac_ext
80358 cat >>conftest.$ac_ext <<_ACEOF
80359 /* end confdefs.h. */
80360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80362 #define $ac_func innocuous_$ac_func
80364 /* System header to define __stub macros and hopefully few prototypes,
80365 which can conflict with char $ac_func (); below.
80366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80367 <limits.h> exists even on freestanding compilers. */
80369 #ifdef __STDC__
80370 # include <limits.h>
80371 #else
80372 # include <assert.h>
80373 #endif
80375 #undef $ac_func
80377 /* Override any gcc2 internal prototype to avoid an error. */
80378 #ifdef __cplusplus
80379 extern "C"
80381 #endif
80382 /* We use char because int might match the return type of a gcc2
80383 builtin and then its argument prototype would still apply. */
80384 char $ac_func ();
80385 /* The GNU C library defines this for functions which it implements
80386 to always fail with ENOSYS. Some functions are actually named
80387 something starting with __ and the normal name is an alias. */
80388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80389 choke me
80390 #else
80391 char (*f) () = $ac_func;
80392 #endif
80393 #ifdef __cplusplus
80395 #endif
80398 main ()
80400 return f != $ac_func;
80402 return 0;
80404 _ACEOF
80405 rm -f conftest.$ac_objext conftest$ac_exeext
80406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80407 (eval $ac_link) 2>conftest.er1
80408 ac_status=$?
80409 grep -v '^ *+' conftest.er1 >conftest.err
80410 rm -f conftest.er1
80411 cat conftest.err >&5
80412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80413 (exit $ac_status); } &&
80414 { ac_try='test -z "$ac_c_werror_flag"
80415 || test ! -s conftest.err'
80416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80417 (eval $ac_try) 2>&5
80418 ac_status=$?
80419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80420 (exit $ac_status); }; } &&
80421 { ac_try='test -s conftest$ac_exeext'
80422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80423 (eval $ac_try) 2>&5
80424 ac_status=$?
80425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80426 (exit $ac_status); }; }; then
80427 eval "$as_ac_var=yes"
80428 else
80429 echo "$as_me: failed program was:" >&5
80430 sed 's/^/| /' conftest.$ac_ext >&5
80432 eval "$as_ac_var=no"
80434 rm -f conftest.err conftest.$ac_objext \
80435 conftest$ac_exeext conftest.$ac_ext
80437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80439 if test `eval echo '${'$as_ac_var'}'` = yes; then
80440 cat >>confdefs.h <<_ACEOF
80441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80442 _ACEOF
80445 done
80447 else
80449 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80450 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80451 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80452 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80453 echo $ECHO_N "(cached) $ECHO_C" >&6
80454 else
80458 ac_ext=cc
80459 ac_cpp='$CXXCPP $CPPFLAGS'
80460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80464 cat >conftest.$ac_ext <<_ACEOF
80465 /* confdefs.h. */
80466 _ACEOF
80467 cat confdefs.h >>conftest.$ac_ext
80468 cat >>conftest.$ac_ext <<_ACEOF
80469 /* end confdefs.h. */
80470 #include <math.h>
80472 main ()
80474 _modfl(0, 0);
80476 return 0;
80478 _ACEOF
80479 rm -f conftest.$ac_objext
80480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80481 (eval $ac_compile) 2>conftest.er1
80482 ac_status=$?
80483 grep -v '^ *+' conftest.er1 >conftest.err
80484 rm -f conftest.er1
80485 cat conftest.err >&5
80486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487 (exit $ac_status); } &&
80488 { ac_try='test -z "$ac_cxx_werror_flag"
80489 || test ! -s conftest.err'
80490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80491 (eval $ac_try) 2>&5
80492 ac_status=$?
80493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494 (exit $ac_status); }; } &&
80495 { ac_try='test -s conftest.$ac_objext'
80496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80497 (eval $ac_try) 2>&5
80498 ac_status=$?
80499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80500 (exit $ac_status); }; }; then
80501 glibcxx_cv_func__modfl_use=yes
80502 else
80503 echo "$as_me: failed program was:" >&5
80504 sed 's/^/| /' conftest.$ac_ext >&5
80506 glibcxx_cv_func__modfl_use=no
80508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80509 ac_ext=c
80510 ac_cpp='$CPP $CPPFLAGS'
80511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
80520 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
80522 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
80524 for ac_func in _modfl
80526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80527 echo "$as_me:$LINENO: checking for $ac_func" >&5
80528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80529 if eval "test \"\${$as_ac_var+set}\" = set"; then
80530 echo $ECHO_N "(cached) $ECHO_C" >&6
80531 else
80532 if test x$gcc_no_link = xyes; then
80533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80535 { (exit 1); exit 1; }; }
80537 cat >conftest.$ac_ext <<_ACEOF
80538 /* confdefs.h. */
80539 _ACEOF
80540 cat confdefs.h >>conftest.$ac_ext
80541 cat >>conftest.$ac_ext <<_ACEOF
80542 /* end confdefs.h. */
80543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80545 #define $ac_func innocuous_$ac_func
80547 /* System header to define __stub macros and hopefully few prototypes,
80548 which can conflict with char $ac_func (); below.
80549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80550 <limits.h> exists even on freestanding compilers. */
80552 #ifdef __STDC__
80553 # include <limits.h>
80554 #else
80555 # include <assert.h>
80556 #endif
80558 #undef $ac_func
80560 /* Override any gcc2 internal prototype to avoid an error. */
80561 #ifdef __cplusplus
80562 extern "C"
80564 #endif
80565 /* We use char because int might match the return type of a gcc2
80566 builtin and then its argument prototype would still apply. */
80567 char $ac_func ();
80568 /* The GNU C library defines this for functions which it implements
80569 to always fail with ENOSYS. Some functions are actually named
80570 something starting with __ and the normal name is an alias. */
80571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80572 choke me
80573 #else
80574 char (*f) () = $ac_func;
80575 #endif
80576 #ifdef __cplusplus
80578 #endif
80581 main ()
80583 return f != $ac_func;
80585 return 0;
80587 _ACEOF
80588 rm -f conftest.$ac_objext conftest$ac_exeext
80589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80590 (eval $ac_link) 2>conftest.er1
80591 ac_status=$?
80592 grep -v '^ *+' conftest.er1 >conftest.err
80593 rm -f conftest.er1
80594 cat conftest.err >&5
80595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80596 (exit $ac_status); } &&
80597 { ac_try='test -z "$ac_c_werror_flag"
80598 || test ! -s conftest.err'
80599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80600 (eval $ac_try) 2>&5
80601 ac_status=$?
80602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80603 (exit $ac_status); }; } &&
80604 { ac_try='test -s conftest$ac_exeext'
80605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80606 (eval $ac_try) 2>&5
80607 ac_status=$?
80608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80609 (exit $ac_status); }; }; then
80610 eval "$as_ac_var=yes"
80611 else
80612 echo "$as_me: failed program was:" >&5
80613 sed 's/^/| /' conftest.$ac_ext >&5
80615 eval "$as_ac_var=no"
80617 rm -f conftest.err conftest.$ac_objext \
80618 conftest$ac_exeext conftest.$ac_ext
80620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80622 if test `eval echo '${'$as_ac_var'}'` = yes; then
80623 cat >>confdefs.h <<_ACEOF
80624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80625 _ACEOF
80628 done
80638 echo "$as_me:$LINENO: checking for powl declaration" >&5
80639 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80640 if test x${glibcxx_cv_func_powl_use+set} != xset; then
80641 if test "${glibcxx_cv_func_powl_use+set}" = set; then
80642 echo $ECHO_N "(cached) $ECHO_C" >&6
80643 else
80647 ac_ext=cc
80648 ac_cpp='$CXXCPP $CPPFLAGS'
80649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80653 cat >conftest.$ac_ext <<_ACEOF
80654 /* confdefs.h. */
80655 _ACEOF
80656 cat confdefs.h >>conftest.$ac_ext
80657 cat >>conftest.$ac_ext <<_ACEOF
80658 /* end confdefs.h. */
80659 #include <math.h>
80661 main ()
80663 powl(0, 0);
80665 return 0;
80667 _ACEOF
80668 rm -f conftest.$ac_objext
80669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80670 (eval $ac_compile) 2>conftest.er1
80671 ac_status=$?
80672 grep -v '^ *+' conftest.er1 >conftest.err
80673 rm -f conftest.er1
80674 cat conftest.err >&5
80675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80676 (exit $ac_status); } &&
80677 { ac_try='test -z "$ac_cxx_werror_flag"
80678 || test ! -s conftest.err'
80679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80680 (eval $ac_try) 2>&5
80681 ac_status=$?
80682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80683 (exit $ac_status); }; } &&
80684 { ac_try='test -s conftest.$ac_objext'
80685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80686 (eval $ac_try) 2>&5
80687 ac_status=$?
80688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80689 (exit $ac_status); }; }; then
80690 glibcxx_cv_func_powl_use=yes
80691 else
80692 echo "$as_me: failed program was:" >&5
80693 sed 's/^/| /' conftest.$ac_ext >&5
80695 glibcxx_cv_func_powl_use=no
80697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80698 ac_ext=c
80699 ac_cpp='$CPP $CPPFLAGS'
80700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80709 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80711 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80713 for ac_func in powl
80715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80716 echo "$as_me:$LINENO: checking for $ac_func" >&5
80717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80718 if eval "test \"\${$as_ac_var+set}\" = set"; then
80719 echo $ECHO_N "(cached) $ECHO_C" >&6
80720 else
80721 if test x$gcc_no_link = xyes; then
80722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80724 { (exit 1); exit 1; }; }
80726 cat >conftest.$ac_ext <<_ACEOF
80727 /* confdefs.h. */
80728 _ACEOF
80729 cat confdefs.h >>conftest.$ac_ext
80730 cat >>conftest.$ac_ext <<_ACEOF
80731 /* end confdefs.h. */
80732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80734 #define $ac_func innocuous_$ac_func
80736 /* System header to define __stub macros and hopefully few prototypes,
80737 which can conflict with char $ac_func (); below.
80738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80739 <limits.h> exists even on freestanding compilers. */
80741 #ifdef __STDC__
80742 # include <limits.h>
80743 #else
80744 # include <assert.h>
80745 #endif
80747 #undef $ac_func
80749 /* Override any gcc2 internal prototype to avoid an error. */
80750 #ifdef __cplusplus
80751 extern "C"
80753 #endif
80754 /* We use char because int might match the return type of a gcc2
80755 builtin and then its argument prototype would still apply. */
80756 char $ac_func ();
80757 /* The GNU C library defines this for functions which it implements
80758 to always fail with ENOSYS. Some functions are actually named
80759 something starting with __ and the normal name is an alias. */
80760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80761 choke me
80762 #else
80763 char (*f) () = $ac_func;
80764 #endif
80765 #ifdef __cplusplus
80767 #endif
80770 main ()
80772 return f != $ac_func;
80774 return 0;
80776 _ACEOF
80777 rm -f conftest.$ac_objext conftest$ac_exeext
80778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80779 (eval $ac_link) 2>conftest.er1
80780 ac_status=$?
80781 grep -v '^ *+' conftest.er1 >conftest.err
80782 rm -f conftest.er1
80783 cat conftest.err >&5
80784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80785 (exit $ac_status); } &&
80786 { ac_try='test -z "$ac_c_werror_flag"
80787 || test ! -s conftest.err'
80788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80789 (eval $ac_try) 2>&5
80790 ac_status=$?
80791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80792 (exit $ac_status); }; } &&
80793 { ac_try='test -s conftest$ac_exeext'
80794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80795 (eval $ac_try) 2>&5
80796 ac_status=$?
80797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80798 (exit $ac_status); }; }; then
80799 eval "$as_ac_var=yes"
80800 else
80801 echo "$as_me: failed program was:" >&5
80802 sed 's/^/| /' conftest.$ac_ext >&5
80804 eval "$as_ac_var=no"
80806 rm -f conftest.err conftest.$ac_objext \
80807 conftest$ac_exeext conftest.$ac_ext
80809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80811 if test `eval echo '${'$as_ac_var'}'` = yes; then
80812 cat >>confdefs.h <<_ACEOF
80813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80814 _ACEOF
80817 done
80819 else
80821 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80822 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80823 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80824 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80825 echo $ECHO_N "(cached) $ECHO_C" >&6
80826 else
80830 ac_ext=cc
80831 ac_cpp='$CXXCPP $CPPFLAGS'
80832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80836 cat >conftest.$ac_ext <<_ACEOF
80837 /* confdefs.h. */
80838 _ACEOF
80839 cat confdefs.h >>conftest.$ac_ext
80840 cat >>conftest.$ac_ext <<_ACEOF
80841 /* end confdefs.h. */
80842 #include <math.h>
80844 main ()
80846 _powl(0, 0);
80848 return 0;
80850 _ACEOF
80851 rm -f conftest.$ac_objext
80852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80853 (eval $ac_compile) 2>conftest.er1
80854 ac_status=$?
80855 grep -v '^ *+' conftest.er1 >conftest.err
80856 rm -f conftest.er1
80857 cat conftest.err >&5
80858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80859 (exit $ac_status); } &&
80860 { ac_try='test -z "$ac_cxx_werror_flag"
80861 || test ! -s conftest.err'
80862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80863 (eval $ac_try) 2>&5
80864 ac_status=$?
80865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80866 (exit $ac_status); }; } &&
80867 { ac_try='test -s conftest.$ac_objext'
80868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80869 (eval $ac_try) 2>&5
80870 ac_status=$?
80871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80872 (exit $ac_status); }; }; then
80873 glibcxx_cv_func__powl_use=yes
80874 else
80875 echo "$as_me: failed program was:" >&5
80876 sed 's/^/| /' conftest.$ac_ext >&5
80878 glibcxx_cv_func__powl_use=no
80880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80881 ac_ext=c
80882 ac_cpp='$CPP $CPPFLAGS'
80883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80892 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80894 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80896 for ac_func in _powl
80898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80899 echo "$as_me:$LINENO: checking for $ac_func" >&5
80900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80901 if eval "test \"\${$as_ac_var+set}\" = set"; then
80902 echo $ECHO_N "(cached) $ECHO_C" >&6
80903 else
80904 if test x$gcc_no_link = xyes; then
80905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80907 { (exit 1); exit 1; }; }
80909 cat >conftest.$ac_ext <<_ACEOF
80910 /* confdefs.h. */
80911 _ACEOF
80912 cat confdefs.h >>conftest.$ac_ext
80913 cat >>conftest.$ac_ext <<_ACEOF
80914 /* end confdefs.h. */
80915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80917 #define $ac_func innocuous_$ac_func
80919 /* System header to define __stub macros and hopefully few prototypes,
80920 which can conflict with char $ac_func (); below.
80921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80922 <limits.h> exists even on freestanding compilers. */
80924 #ifdef __STDC__
80925 # include <limits.h>
80926 #else
80927 # include <assert.h>
80928 #endif
80930 #undef $ac_func
80932 /* Override any gcc2 internal prototype to avoid an error. */
80933 #ifdef __cplusplus
80934 extern "C"
80936 #endif
80937 /* We use char because int might match the return type of a gcc2
80938 builtin and then its argument prototype would still apply. */
80939 char $ac_func ();
80940 /* The GNU C library defines this for functions which it implements
80941 to always fail with ENOSYS. Some functions are actually named
80942 something starting with __ and the normal name is an alias. */
80943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80944 choke me
80945 #else
80946 char (*f) () = $ac_func;
80947 #endif
80948 #ifdef __cplusplus
80950 #endif
80953 main ()
80955 return f != $ac_func;
80957 return 0;
80959 _ACEOF
80960 rm -f conftest.$ac_objext conftest$ac_exeext
80961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80962 (eval $ac_link) 2>conftest.er1
80963 ac_status=$?
80964 grep -v '^ *+' conftest.er1 >conftest.err
80965 rm -f conftest.er1
80966 cat conftest.err >&5
80967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80968 (exit $ac_status); } &&
80969 { ac_try='test -z "$ac_c_werror_flag"
80970 || test ! -s conftest.err'
80971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80972 (eval $ac_try) 2>&5
80973 ac_status=$?
80974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80975 (exit $ac_status); }; } &&
80976 { ac_try='test -s conftest$ac_exeext'
80977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80978 (eval $ac_try) 2>&5
80979 ac_status=$?
80980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80981 (exit $ac_status); }; }; then
80982 eval "$as_ac_var=yes"
80983 else
80984 echo "$as_me: failed program was:" >&5
80985 sed 's/^/| /' conftest.$ac_ext >&5
80987 eval "$as_ac_var=no"
80989 rm -f conftest.err conftest.$ac_objext \
80990 conftest$ac_exeext conftest.$ac_ext
80992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80994 if test `eval echo '${'$as_ac_var'}'` = yes; then
80995 cat >>confdefs.h <<_ACEOF
80996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80997 _ACEOF
81000 done
81010 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
81011 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
81012 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
81013 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
81014 echo $ECHO_N "(cached) $ECHO_C" >&6
81015 else
81019 ac_ext=cc
81020 ac_cpp='$CXXCPP $CPPFLAGS'
81021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81025 cat >conftest.$ac_ext <<_ACEOF
81026 /* confdefs.h. */
81027 _ACEOF
81028 cat confdefs.h >>conftest.$ac_ext
81029 cat >>conftest.$ac_ext <<_ACEOF
81030 /* end confdefs.h. */
81031 #include <math.h>
81032 #ifdef HAVE_IEEEFP_H
81033 #include <ieeefp.h>
81034 #endif
81037 main ()
81039 sqrtl(0);
81041 return 0;
81043 _ACEOF
81044 rm -f conftest.$ac_objext
81045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81046 (eval $ac_compile) 2>conftest.er1
81047 ac_status=$?
81048 grep -v '^ *+' conftest.er1 >conftest.err
81049 rm -f conftest.er1
81050 cat conftest.err >&5
81051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81052 (exit $ac_status); } &&
81053 { ac_try='test -z "$ac_cxx_werror_flag"
81054 || test ! -s conftest.err'
81055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81056 (eval $ac_try) 2>&5
81057 ac_status=$?
81058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81059 (exit $ac_status); }; } &&
81060 { ac_try='test -s conftest.$ac_objext'
81061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81062 (eval $ac_try) 2>&5
81063 ac_status=$?
81064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81065 (exit $ac_status); }; }; then
81066 glibcxx_cv_func_sqrtl_use=yes
81067 else
81068 echo "$as_me: failed program was:" >&5
81069 sed 's/^/| /' conftest.$ac_ext >&5
81071 glibcxx_cv_func_sqrtl_use=no
81073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81074 ac_ext=c
81075 ac_cpp='$CPP $CPPFLAGS'
81076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
81085 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
81087 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
81089 for ac_func in sqrtl
81091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81092 echo "$as_me:$LINENO: checking for $ac_func" >&5
81093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81094 if eval "test \"\${$as_ac_var+set}\" = set"; then
81095 echo $ECHO_N "(cached) $ECHO_C" >&6
81096 else
81097 if test x$gcc_no_link = xyes; then
81098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81100 { (exit 1); exit 1; }; }
81102 cat >conftest.$ac_ext <<_ACEOF
81103 /* confdefs.h. */
81104 _ACEOF
81105 cat confdefs.h >>conftest.$ac_ext
81106 cat >>conftest.$ac_ext <<_ACEOF
81107 /* end confdefs.h. */
81108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81110 #define $ac_func innocuous_$ac_func
81112 /* System header to define __stub macros and hopefully few prototypes,
81113 which can conflict with char $ac_func (); below.
81114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81115 <limits.h> exists even on freestanding compilers. */
81117 #ifdef __STDC__
81118 # include <limits.h>
81119 #else
81120 # include <assert.h>
81121 #endif
81123 #undef $ac_func
81125 /* Override any gcc2 internal prototype to avoid an error. */
81126 #ifdef __cplusplus
81127 extern "C"
81129 #endif
81130 /* We use char because int might match the return type of a gcc2
81131 builtin and then its argument prototype would still apply. */
81132 char $ac_func ();
81133 /* The GNU C library defines this for functions which it implements
81134 to always fail with ENOSYS. Some functions are actually named
81135 something starting with __ and the normal name is an alias. */
81136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81137 choke me
81138 #else
81139 char (*f) () = $ac_func;
81140 #endif
81141 #ifdef __cplusplus
81143 #endif
81146 main ()
81148 return f != $ac_func;
81150 return 0;
81152 _ACEOF
81153 rm -f conftest.$ac_objext conftest$ac_exeext
81154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81155 (eval $ac_link) 2>conftest.er1
81156 ac_status=$?
81157 grep -v '^ *+' conftest.er1 >conftest.err
81158 rm -f conftest.er1
81159 cat conftest.err >&5
81160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81161 (exit $ac_status); } &&
81162 { ac_try='test -z "$ac_c_werror_flag"
81163 || test ! -s conftest.err'
81164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81165 (eval $ac_try) 2>&5
81166 ac_status=$?
81167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81168 (exit $ac_status); }; } &&
81169 { ac_try='test -s conftest$ac_exeext'
81170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81171 (eval $ac_try) 2>&5
81172 ac_status=$?
81173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81174 (exit $ac_status); }; }; then
81175 eval "$as_ac_var=yes"
81176 else
81177 echo "$as_me: failed program was:" >&5
81178 sed 's/^/| /' conftest.$ac_ext >&5
81180 eval "$as_ac_var=no"
81182 rm -f conftest.err conftest.$ac_objext \
81183 conftest$ac_exeext conftest.$ac_ext
81185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81187 if test `eval echo '${'$as_ac_var'}'` = yes; then
81188 cat >>confdefs.h <<_ACEOF
81189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81190 _ACEOF
81193 done
81195 else
81197 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81198 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81199 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81200 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81201 echo $ECHO_N "(cached) $ECHO_C" >&6
81202 else
81206 ac_ext=cc
81207 ac_cpp='$CXXCPP $CPPFLAGS'
81208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81212 cat >conftest.$ac_ext <<_ACEOF
81213 /* confdefs.h. */
81214 _ACEOF
81215 cat confdefs.h >>conftest.$ac_ext
81216 cat >>conftest.$ac_ext <<_ACEOF
81217 /* end confdefs.h. */
81218 #include <math.h>
81219 #ifdef HAVE_IEEEFP_H
81220 #include <ieeefp.h>
81221 #endif
81224 main ()
81226 _sqrtl(0);
81228 return 0;
81230 _ACEOF
81231 rm -f conftest.$ac_objext
81232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81233 (eval $ac_compile) 2>conftest.er1
81234 ac_status=$?
81235 grep -v '^ *+' conftest.er1 >conftest.err
81236 rm -f conftest.er1
81237 cat conftest.err >&5
81238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81239 (exit $ac_status); } &&
81240 { ac_try='test -z "$ac_cxx_werror_flag"
81241 || test ! -s conftest.err'
81242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81243 (eval $ac_try) 2>&5
81244 ac_status=$?
81245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81246 (exit $ac_status); }; } &&
81247 { ac_try='test -s conftest.$ac_objext'
81248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81249 (eval $ac_try) 2>&5
81250 ac_status=$?
81251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81252 (exit $ac_status); }; }; then
81253 glibcxx_cv_func__sqrtl_use=yes
81254 else
81255 echo "$as_me: failed program was:" >&5
81256 sed 's/^/| /' conftest.$ac_ext >&5
81258 glibcxx_cv_func__sqrtl_use=no
81260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81261 ac_ext=c
81262 ac_cpp='$CPP $CPPFLAGS'
81263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81272 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81274 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81276 for ac_func in _sqrtl
81278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81279 echo "$as_me:$LINENO: checking for $ac_func" >&5
81280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81281 if eval "test \"\${$as_ac_var+set}\" = set"; then
81282 echo $ECHO_N "(cached) $ECHO_C" >&6
81283 else
81284 if test x$gcc_no_link = xyes; then
81285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81287 { (exit 1); exit 1; }; }
81289 cat >conftest.$ac_ext <<_ACEOF
81290 /* confdefs.h. */
81291 _ACEOF
81292 cat confdefs.h >>conftest.$ac_ext
81293 cat >>conftest.$ac_ext <<_ACEOF
81294 /* end confdefs.h. */
81295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81297 #define $ac_func innocuous_$ac_func
81299 /* System header to define __stub macros and hopefully few prototypes,
81300 which can conflict with char $ac_func (); below.
81301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81302 <limits.h> exists even on freestanding compilers. */
81304 #ifdef __STDC__
81305 # include <limits.h>
81306 #else
81307 # include <assert.h>
81308 #endif
81310 #undef $ac_func
81312 /* Override any gcc2 internal prototype to avoid an error. */
81313 #ifdef __cplusplus
81314 extern "C"
81316 #endif
81317 /* We use char because int might match the return type of a gcc2
81318 builtin and then its argument prototype would still apply. */
81319 char $ac_func ();
81320 /* The GNU C library defines this for functions which it implements
81321 to always fail with ENOSYS. Some functions are actually named
81322 something starting with __ and the normal name is an alias. */
81323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81324 choke me
81325 #else
81326 char (*f) () = $ac_func;
81327 #endif
81328 #ifdef __cplusplus
81330 #endif
81333 main ()
81335 return f != $ac_func;
81337 return 0;
81339 _ACEOF
81340 rm -f conftest.$ac_objext conftest$ac_exeext
81341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81342 (eval $ac_link) 2>conftest.er1
81343 ac_status=$?
81344 grep -v '^ *+' conftest.er1 >conftest.err
81345 rm -f conftest.er1
81346 cat conftest.err >&5
81347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81348 (exit $ac_status); } &&
81349 { ac_try='test -z "$ac_c_werror_flag"
81350 || test ! -s conftest.err'
81351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81352 (eval $ac_try) 2>&5
81353 ac_status=$?
81354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81355 (exit $ac_status); }; } &&
81356 { ac_try='test -s conftest$ac_exeext'
81357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81358 (eval $ac_try) 2>&5
81359 ac_status=$?
81360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81361 (exit $ac_status); }; }; then
81362 eval "$as_ac_var=yes"
81363 else
81364 echo "$as_me: failed program was:" >&5
81365 sed 's/^/| /' conftest.$ac_ext >&5
81367 eval "$as_ac_var=no"
81369 rm -f conftest.err conftest.$ac_objext \
81370 conftest$ac_exeext conftest.$ac_ext
81372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81374 if test `eval echo '${'$as_ac_var'}'` = yes; then
81375 cat >>confdefs.h <<_ACEOF
81376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81377 _ACEOF
81380 done
81390 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81391 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81392 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81393 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81394 echo $ECHO_N "(cached) $ECHO_C" >&6
81395 else
81399 ac_ext=cc
81400 ac_cpp='$CXXCPP $CPPFLAGS'
81401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81405 cat >conftest.$ac_ext <<_ACEOF
81406 /* confdefs.h. */
81407 _ACEOF
81408 cat confdefs.h >>conftest.$ac_ext
81409 cat >>conftest.$ac_ext <<_ACEOF
81410 /* end confdefs.h. */
81411 #include <math.h>
81413 main ()
81415 sincosl(0, 0, 0);
81417 return 0;
81419 _ACEOF
81420 rm -f conftest.$ac_objext
81421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81422 (eval $ac_compile) 2>conftest.er1
81423 ac_status=$?
81424 grep -v '^ *+' conftest.er1 >conftest.err
81425 rm -f conftest.er1
81426 cat conftest.err >&5
81427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81428 (exit $ac_status); } &&
81429 { ac_try='test -z "$ac_cxx_werror_flag"
81430 || test ! -s conftest.err'
81431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81432 (eval $ac_try) 2>&5
81433 ac_status=$?
81434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81435 (exit $ac_status); }; } &&
81436 { ac_try='test -s conftest.$ac_objext'
81437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81438 (eval $ac_try) 2>&5
81439 ac_status=$?
81440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81441 (exit $ac_status); }; }; then
81442 glibcxx_cv_func_sincosl_use=yes
81443 else
81444 echo "$as_me: failed program was:" >&5
81445 sed 's/^/| /' conftest.$ac_ext >&5
81447 glibcxx_cv_func_sincosl_use=no
81449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81450 ac_ext=c
81451 ac_cpp='$CPP $CPPFLAGS'
81452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81461 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81463 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81465 for ac_func in sincosl
81467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81468 echo "$as_me:$LINENO: checking for $ac_func" >&5
81469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81470 if eval "test \"\${$as_ac_var+set}\" = set"; then
81471 echo $ECHO_N "(cached) $ECHO_C" >&6
81472 else
81473 if test x$gcc_no_link = xyes; then
81474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81476 { (exit 1); exit 1; }; }
81478 cat >conftest.$ac_ext <<_ACEOF
81479 /* confdefs.h. */
81480 _ACEOF
81481 cat confdefs.h >>conftest.$ac_ext
81482 cat >>conftest.$ac_ext <<_ACEOF
81483 /* end confdefs.h. */
81484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81486 #define $ac_func innocuous_$ac_func
81488 /* System header to define __stub macros and hopefully few prototypes,
81489 which can conflict with char $ac_func (); below.
81490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81491 <limits.h> exists even on freestanding compilers. */
81493 #ifdef __STDC__
81494 # include <limits.h>
81495 #else
81496 # include <assert.h>
81497 #endif
81499 #undef $ac_func
81501 /* Override any gcc2 internal prototype to avoid an error. */
81502 #ifdef __cplusplus
81503 extern "C"
81505 #endif
81506 /* We use char because int might match the return type of a gcc2
81507 builtin and then its argument prototype would still apply. */
81508 char $ac_func ();
81509 /* The GNU C library defines this for functions which it implements
81510 to always fail with ENOSYS. Some functions are actually named
81511 something starting with __ and the normal name is an alias. */
81512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81513 choke me
81514 #else
81515 char (*f) () = $ac_func;
81516 #endif
81517 #ifdef __cplusplus
81519 #endif
81522 main ()
81524 return f != $ac_func;
81526 return 0;
81528 _ACEOF
81529 rm -f conftest.$ac_objext conftest$ac_exeext
81530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81531 (eval $ac_link) 2>conftest.er1
81532 ac_status=$?
81533 grep -v '^ *+' conftest.er1 >conftest.err
81534 rm -f conftest.er1
81535 cat conftest.err >&5
81536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537 (exit $ac_status); } &&
81538 { ac_try='test -z "$ac_c_werror_flag"
81539 || test ! -s conftest.err'
81540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81541 (eval $ac_try) 2>&5
81542 ac_status=$?
81543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81544 (exit $ac_status); }; } &&
81545 { ac_try='test -s conftest$ac_exeext'
81546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81547 (eval $ac_try) 2>&5
81548 ac_status=$?
81549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81550 (exit $ac_status); }; }; then
81551 eval "$as_ac_var=yes"
81552 else
81553 echo "$as_me: failed program was:" >&5
81554 sed 's/^/| /' conftest.$ac_ext >&5
81556 eval "$as_ac_var=no"
81558 rm -f conftest.err conftest.$ac_objext \
81559 conftest$ac_exeext conftest.$ac_ext
81561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81563 if test `eval echo '${'$as_ac_var'}'` = yes; then
81564 cat >>confdefs.h <<_ACEOF
81565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81566 _ACEOF
81569 done
81571 else
81573 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81574 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81575 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81576 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81577 echo $ECHO_N "(cached) $ECHO_C" >&6
81578 else
81582 ac_ext=cc
81583 ac_cpp='$CXXCPP $CPPFLAGS'
81584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81588 cat >conftest.$ac_ext <<_ACEOF
81589 /* confdefs.h. */
81590 _ACEOF
81591 cat confdefs.h >>conftest.$ac_ext
81592 cat >>conftest.$ac_ext <<_ACEOF
81593 /* end confdefs.h. */
81594 #include <math.h>
81596 main ()
81598 _sincosl(0, 0, 0);
81600 return 0;
81602 _ACEOF
81603 rm -f conftest.$ac_objext
81604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81605 (eval $ac_compile) 2>conftest.er1
81606 ac_status=$?
81607 grep -v '^ *+' conftest.er1 >conftest.err
81608 rm -f conftest.er1
81609 cat conftest.err >&5
81610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81611 (exit $ac_status); } &&
81612 { ac_try='test -z "$ac_cxx_werror_flag"
81613 || test ! -s conftest.err'
81614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81615 (eval $ac_try) 2>&5
81616 ac_status=$?
81617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81618 (exit $ac_status); }; } &&
81619 { ac_try='test -s conftest.$ac_objext'
81620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81621 (eval $ac_try) 2>&5
81622 ac_status=$?
81623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81624 (exit $ac_status); }; }; then
81625 glibcxx_cv_func__sincosl_use=yes
81626 else
81627 echo "$as_me: failed program was:" >&5
81628 sed 's/^/| /' conftest.$ac_ext >&5
81630 glibcxx_cv_func__sincosl_use=no
81632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81633 ac_ext=c
81634 ac_cpp='$CPP $CPPFLAGS'
81635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81644 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81646 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81648 for ac_func in _sincosl
81650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81651 echo "$as_me:$LINENO: checking for $ac_func" >&5
81652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81653 if eval "test \"\${$as_ac_var+set}\" = set"; then
81654 echo $ECHO_N "(cached) $ECHO_C" >&6
81655 else
81656 if test x$gcc_no_link = xyes; then
81657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81659 { (exit 1); exit 1; }; }
81661 cat >conftest.$ac_ext <<_ACEOF
81662 /* confdefs.h. */
81663 _ACEOF
81664 cat confdefs.h >>conftest.$ac_ext
81665 cat >>conftest.$ac_ext <<_ACEOF
81666 /* end confdefs.h. */
81667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81669 #define $ac_func innocuous_$ac_func
81671 /* System header to define __stub macros and hopefully few prototypes,
81672 which can conflict with char $ac_func (); below.
81673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81674 <limits.h> exists even on freestanding compilers. */
81676 #ifdef __STDC__
81677 # include <limits.h>
81678 #else
81679 # include <assert.h>
81680 #endif
81682 #undef $ac_func
81684 /* Override any gcc2 internal prototype to avoid an error. */
81685 #ifdef __cplusplus
81686 extern "C"
81688 #endif
81689 /* We use char because int might match the return type of a gcc2
81690 builtin and then its argument prototype would still apply. */
81691 char $ac_func ();
81692 /* The GNU C library defines this for functions which it implements
81693 to always fail with ENOSYS. Some functions are actually named
81694 something starting with __ and the normal name is an alias. */
81695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81696 choke me
81697 #else
81698 char (*f) () = $ac_func;
81699 #endif
81700 #ifdef __cplusplus
81702 #endif
81705 main ()
81707 return f != $ac_func;
81709 return 0;
81711 _ACEOF
81712 rm -f conftest.$ac_objext conftest$ac_exeext
81713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81714 (eval $ac_link) 2>conftest.er1
81715 ac_status=$?
81716 grep -v '^ *+' conftest.er1 >conftest.err
81717 rm -f conftest.er1
81718 cat conftest.err >&5
81719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81720 (exit $ac_status); } &&
81721 { ac_try='test -z "$ac_c_werror_flag"
81722 || test ! -s conftest.err'
81723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81724 (eval $ac_try) 2>&5
81725 ac_status=$?
81726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81727 (exit $ac_status); }; } &&
81728 { ac_try='test -s conftest$ac_exeext'
81729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81730 (eval $ac_try) 2>&5
81731 ac_status=$?
81732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81733 (exit $ac_status); }; }; then
81734 eval "$as_ac_var=yes"
81735 else
81736 echo "$as_me: failed program was:" >&5
81737 sed 's/^/| /' conftest.$ac_ext >&5
81739 eval "$as_ac_var=no"
81741 rm -f conftest.err conftest.$ac_objext \
81742 conftest$ac_exeext conftest.$ac_ext
81744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81746 if test `eval echo '${'$as_ac_var'}'` = yes; then
81747 cat >>confdefs.h <<_ACEOF
81748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81749 _ACEOF
81752 done
81762 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81763 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81764 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81765 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81766 echo $ECHO_N "(cached) $ECHO_C" >&6
81767 else
81771 ac_ext=cc
81772 ac_cpp='$CXXCPP $CPPFLAGS'
81773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81777 cat >conftest.$ac_ext <<_ACEOF
81778 /* confdefs.h. */
81779 _ACEOF
81780 cat confdefs.h >>conftest.$ac_ext
81781 cat >>conftest.$ac_ext <<_ACEOF
81782 /* end confdefs.h. */
81783 #include <math.h>
81784 #ifdef HAVE_IEEEFP_H
81785 #include <ieeefp.h>
81786 #endif
81789 main ()
81791 finitel(0);
81793 return 0;
81795 _ACEOF
81796 rm -f conftest.$ac_objext
81797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81798 (eval $ac_compile) 2>conftest.er1
81799 ac_status=$?
81800 grep -v '^ *+' conftest.er1 >conftest.err
81801 rm -f conftest.er1
81802 cat conftest.err >&5
81803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81804 (exit $ac_status); } &&
81805 { ac_try='test -z "$ac_cxx_werror_flag"
81806 || test ! -s conftest.err'
81807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81808 (eval $ac_try) 2>&5
81809 ac_status=$?
81810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81811 (exit $ac_status); }; } &&
81812 { ac_try='test -s conftest.$ac_objext'
81813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81814 (eval $ac_try) 2>&5
81815 ac_status=$?
81816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81817 (exit $ac_status); }; }; then
81818 glibcxx_cv_func_finitel_use=yes
81819 else
81820 echo "$as_me: failed program was:" >&5
81821 sed 's/^/| /' conftest.$ac_ext >&5
81823 glibcxx_cv_func_finitel_use=no
81825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81826 ac_ext=c
81827 ac_cpp='$CPP $CPPFLAGS'
81828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81837 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81839 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81841 for ac_func in finitel
81843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81844 echo "$as_me:$LINENO: checking for $ac_func" >&5
81845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81846 if eval "test \"\${$as_ac_var+set}\" = set"; then
81847 echo $ECHO_N "(cached) $ECHO_C" >&6
81848 else
81849 if test x$gcc_no_link = xyes; then
81850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81852 { (exit 1); exit 1; }; }
81854 cat >conftest.$ac_ext <<_ACEOF
81855 /* confdefs.h. */
81856 _ACEOF
81857 cat confdefs.h >>conftest.$ac_ext
81858 cat >>conftest.$ac_ext <<_ACEOF
81859 /* end confdefs.h. */
81860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81862 #define $ac_func innocuous_$ac_func
81864 /* System header to define __stub macros and hopefully few prototypes,
81865 which can conflict with char $ac_func (); below.
81866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81867 <limits.h> exists even on freestanding compilers. */
81869 #ifdef __STDC__
81870 # include <limits.h>
81871 #else
81872 # include <assert.h>
81873 #endif
81875 #undef $ac_func
81877 /* Override any gcc2 internal prototype to avoid an error. */
81878 #ifdef __cplusplus
81879 extern "C"
81881 #endif
81882 /* We use char because int might match the return type of a gcc2
81883 builtin and then its argument prototype would still apply. */
81884 char $ac_func ();
81885 /* The GNU C library defines this for functions which it implements
81886 to always fail with ENOSYS. Some functions are actually named
81887 something starting with __ and the normal name is an alias. */
81888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81889 choke me
81890 #else
81891 char (*f) () = $ac_func;
81892 #endif
81893 #ifdef __cplusplus
81895 #endif
81898 main ()
81900 return f != $ac_func;
81902 return 0;
81904 _ACEOF
81905 rm -f conftest.$ac_objext conftest$ac_exeext
81906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81907 (eval $ac_link) 2>conftest.er1
81908 ac_status=$?
81909 grep -v '^ *+' conftest.er1 >conftest.err
81910 rm -f conftest.er1
81911 cat conftest.err >&5
81912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81913 (exit $ac_status); } &&
81914 { ac_try='test -z "$ac_c_werror_flag"
81915 || test ! -s conftest.err'
81916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81917 (eval $ac_try) 2>&5
81918 ac_status=$?
81919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81920 (exit $ac_status); }; } &&
81921 { ac_try='test -s conftest$ac_exeext'
81922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81923 (eval $ac_try) 2>&5
81924 ac_status=$?
81925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81926 (exit $ac_status); }; }; then
81927 eval "$as_ac_var=yes"
81928 else
81929 echo "$as_me: failed program was:" >&5
81930 sed 's/^/| /' conftest.$ac_ext >&5
81932 eval "$as_ac_var=no"
81934 rm -f conftest.err conftest.$ac_objext \
81935 conftest$ac_exeext conftest.$ac_ext
81937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81939 if test `eval echo '${'$as_ac_var'}'` = yes; then
81940 cat >>confdefs.h <<_ACEOF
81941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81942 _ACEOF
81945 done
81947 else
81949 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81950 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81951 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81952 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81953 echo $ECHO_N "(cached) $ECHO_C" >&6
81954 else
81958 ac_ext=cc
81959 ac_cpp='$CXXCPP $CPPFLAGS'
81960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81964 cat >conftest.$ac_ext <<_ACEOF
81965 /* confdefs.h. */
81966 _ACEOF
81967 cat confdefs.h >>conftest.$ac_ext
81968 cat >>conftest.$ac_ext <<_ACEOF
81969 /* end confdefs.h. */
81970 #include <math.h>
81971 #ifdef HAVE_IEEEFP_H
81972 #include <ieeefp.h>
81973 #endif
81976 main ()
81978 _finitel(0);
81980 return 0;
81982 _ACEOF
81983 rm -f conftest.$ac_objext
81984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81985 (eval $ac_compile) 2>conftest.er1
81986 ac_status=$?
81987 grep -v '^ *+' conftest.er1 >conftest.err
81988 rm -f conftest.er1
81989 cat conftest.err >&5
81990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81991 (exit $ac_status); } &&
81992 { ac_try='test -z "$ac_cxx_werror_flag"
81993 || test ! -s conftest.err'
81994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81995 (eval $ac_try) 2>&5
81996 ac_status=$?
81997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81998 (exit $ac_status); }; } &&
81999 { ac_try='test -s conftest.$ac_objext'
82000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82001 (eval $ac_try) 2>&5
82002 ac_status=$?
82003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82004 (exit $ac_status); }; }; then
82005 glibcxx_cv_func__finitel_use=yes
82006 else
82007 echo "$as_me: failed program was:" >&5
82008 sed 's/^/| /' conftest.$ac_ext >&5
82010 glibcxx_cv_func__finitel_use=no
82012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82013 ac_ext=c
82014 ac_cpp='$CPP $CPPFLAGS'
82015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
82024 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
82026 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
82028 for ac_func in _finitel
82030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82031 echo "$as_me:$LINENO: checking for $ac_func" >&5
82032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82033 if eval "test \"\${$as_ac_var+set}\" = set"; then
82034 echo $ECHO_N "(cached) $ECHO_C" >&6
82035 else
82036 if test x$gcc_no_link = xyes; then
82037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82039 { (exit 1); exit 1; }; }
82041 cat >conftest.$ac_ext <<_ACEOF
82042 /* confdefs.h. */
82043 _ACEOF
82044 cat confdefs.h >>conftest.$ac_ext
82045 cat >>conftest.$ac_ext <<_ACEOF
82046 /* end confdefs.h. */
82047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82049 #define $ac_func innocuous_$ac_func
82051 /* System header to define __stub macros and hopefully few prototypes,
82052 which can conflict with char $ac_func (); below.
82053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82054 <limits.h> exists even on freestanding compilers. */
82056 #ifdef __STDC__
82057 # include <limits.h>
82058 #else
82059 # include <assert.h>
82060 #endif
82062 #undef $ac_func
82064 /* Override any gcc2 internal prototype to avoid an error. */
82065 #ifdef __cplusplus
82066 extern "C"
82068 #endif
82069 /* We use char because int might match the return type of a gcc2
82070 builtin and then its argument prototype would still apply. */
82071 char $ac_func ();
82072 /* The GNU C library defines this for functions which it implements
82073 to always fail with ENOSYS. Some functions are actually named
82074 something starting with __ and the normal name is an alias. */
82075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82076 choke me
82077 #else
82078 char (*f) () = $ac_func;
82079 #endif
82080 #ifdef __cplusplus
82082 #endif
82085 main ()
82087 return f != $ac_func;
82089 return 0;
82091 _ACEOF
82092 rm -f conftest.$ac_objext conftest$ac_exeext
82093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82094 (eval $ac_link) 2>conftest.er1
82095 ac_status=$?
82096 grep -v '^ *+' conftest.er1 >conftest.err
82097 rm -f conftest.er1
82098 cat conftest.err >&5
82099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82100 (exit $ac_status); } &&
82101 { ac_try='test -z "$ac_c_werror_flag"
82102 || test ! -s conftest.err'
82103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82104 (eval $ac_try) 2>&5
82105 ac_status=$?
82106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82107 (exit $ac_status); }; } &&
82108 { ac_try='test -s conftest$ac_exeext'
82109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82110 (eval $ac_try) 2>&5
82111 ac_status=$?
82112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82113 (exit $ac_status); }; }; then
82114 eval "$as_ac_var=yes"
82115 else
82116 echo "$as_me: failed program was:" >&5
82117 sed 's/^/| /' conftest.$ac_ext >&5
82119 eval "$as_ac_var=no"
82121 rm -f conftest.err conftest.$ac_objext \
82122 conftest$ac_exeext conftest.$ac_ext
82124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82126 if test `eval echo '${'$as_ac_var'}'` = yes; then
82127 cat >>confdefs.h <<_ACEOF
82128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82129 _ACEOF
82132 done
82141 LIBS="$ac_save_LIBS"
82142 CXXFLAGS="$ac_save_CXXFLAGS"
82146 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82147 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82148 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82149 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82150 echo $ECHO_N "(cached) $ECHO_C" >&6
82151 else
82155 ac_ext=cc
82156 ac_cpp='$CXXCPP $CPPFLAGS'
82157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82161 cat >conftest.$ac_ext <<_ACEOF
82162 /* confdefs.h. */
82163 _ACEOF
82164 cat confdefs.h >>conftest.$ac_ext
82165 cat >>conftest.$ac_ext <<_ACEOF
82166 /* end confdefs.h. */
82167 #include <math.h>
82169 main ()
82171 __builtin_abs(0);
82173 return 0;
82175 _ACEOF
82176 rm -f conftest.$ac_objext
82177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82178 (eval $ac_compile) 2>conftest.er1
82179 ac_status=$?
82180 grep -v '^ *+' conftest.er1 >conftest.err
82181 rm -f conftest.er1
82182 cat conftest.err >&5
82183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82184 (exit $ac_status); } &&
82185 { ac_try='test -z "$ac_cxx_werror_flag"
82186 || test ! -s conftest.err'
82187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82188 (eval $ac_try) 2>&5
82189 ac_status=$?
82190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82191 (exit $ac_status); }; } &&
82192 { ac_try='test -s conftest.$ac_objext'
82193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82194 (eval $ac_try) 2>&5
82195 ac_status=$?
82196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82197 (exit $ac_status); }; }; then
82198 glibcxx_cv_func___builtin_abs_use=yes
82199 else
82200 echo "$as_me: failed program was:" >&5
82201 sed 's/^/| /' conftest.$ac_ext >&5
82203 glibcxx_cv_func___builtin_abs_use=no
82205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82206 ac_ext=c
82207 ac_cpp='$CPP $CPPFLAGS'
82208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82216 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82217 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82218 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82219 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82220 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82221 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82222 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82223 echo $ECHO_N "(cached) $ECHO_C" >&6
82224 else
82226 if test x$gcc_no_link = xyes; then
82227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82229 { (exit 1); exit 1; }; }
82231 cat >conftest.$ac_ext <<_ACEOF
82232 /* confdefs.h. */
82233 _ACEOF
82234 cat confdefs.h >>conftest.$ac_ext
82235 cat >>conftest.$ac_ext <<_ACEOF
82236 /* end confdefs.h. */
82237 #include <math.h>
82239 main ()
82241 __builtin_abs(0);
82243 return 0;
82245 _ACEOF
82246 rm -f conftest.$ac_objext conftest$ac_exeext
82247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82248 (eval $ac_link) 2>conftest.er1
82249 ac_status=$?
82250 grep -v '^ *+' conftest.er1 >conftest.err
82251 rm -f conftest.er1
82252 cat conftest.err >&5
82253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82254 (exit $ac_status); } &&
82255 { ac_try='test -z "$ac_c_werror_flag"
82256 || test ! -s conftest.err'
82257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82258 (eval $ac_try) 2>&5
82259 ac_status=$?
82260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82261 (exit $ac_status); }; } &&
82262 { ac_try='test -s conftest$ac_exeext'
82263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82264 (eval $ac_try) 2>&5
82265 ac_status=$?
82266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82267 (exit $ac_status); }; }; then
82268 glibcxx_cv_func___builtin_abs_link=yes
82269 else
82270 echo "$as_me: failed program was:" >&5
82271 sed 's/^/| /' conftest.$ac_ext >&5
82273 glibcxx_cv_func___builtin_abs_link=no
82275 rm -f conftest.err conftest.$ac_objext \
82276 conftest$ac_exeext conftest.$ac_ext
82281 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82282 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82284 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82286 cat >>confdefs.h <<\_ACEOF
82287 #define HAVE___BUILTIN_ABS 1
82288 _ACEOF
82295 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82296 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82297 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82298 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82299 echo $ECHO_N "(cached) $ECHO_C" >&6
82300 else
82304 ac_ext=cc
82305 ac_cpp='$CXXCPP $CPPFLAGS'
82306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82310 cat >conftest.$ac_ext <<_ACEOF
82311 /* confdefs.h. */
82312 _ACEOF
82313 cat confdefs.h >>conftest.$ac_ext
82314 cat >>conftest.$ac_ext <<_ACEOF
82315 /* end confdefs.h. */
82316 #include <math.h>
82318 main ()
82320 __builtin_fabsf(0);
82322 return 0;
82324 _ACEOF
82325 rm -f conftest.$ac_objext
82326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82327 (eval $ac_compile) 2>conftest.er1
82328 ac_status=$?
82329 grep -v '^ *+' conftest.er1 >conftest.err
82330 rm -f conftest.er1
82331 cat conftest.err >&5
82332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82333 (exit $ac_status); } &&
82334 { ac_try='test -z "$ac_cxx_werror_flag"
82335 || test ! -s conftest.err'
82336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82337 (eval $ac_try) 2>&5
82338 ac_status=$?
82339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82340 (exit $ac_status); }; } &&
82341 { ac_try='test -s conftest.$ac_objext'
82342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82343 (eval $ac_try) 2>&5
82344 ac_status=$?
82345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82346 (exit $ac_status); }; }; then
82347 glibcxx_cv_func___builtin_fabsf_use=yes
82348 else
82349 echo "$as_me: failed program was:" >&5
82350 sed 's/^/| /' conftest.$ac_ext >&5
82352 glibcxx_cv_func___builtin_fabsf_use=no
82354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82355 ac_ext=c
82356 ac_cpp='$CPP $CPPFLAGS'
82357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82366 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82367 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82368 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82369 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82370 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82371 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82372 echo $ECHO_N "(cached) $ECHO_C" >&6
82373 else
82375 if test x$gcc_no_link = xyes; then
82376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82378 { (exit 1); exit 1; }; }
82380 cat >conftest.$ac_ext <<_ACEOF
82381 /* confdefs.h. */
82382 _ACEOF
82383 cat confdefs.h >>conftest.$ac_ext
82384 cat >>conftest.$ac_ext <<_ACEOF
82385 /* end confdefs.h. */
82386 #include <math.h>
82388 main ()
82390 __builtin_fabsf(0);
82392 return 0;
82394 _ACEOF
82395 rm -f conftest.$ac_objext conftest$ac_exeext
82396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82397 (eval $ac_link) 2>conftest.er1
82398 ac_status=$?
82399 grep -v '^ *+' conftest.er1 >conftest.err
82400 rm -f conftest.er1
82401 cat conftest.err >&5
82402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82403 (exit $ac_status); } &&
82404 { ac_try='test -z "$ac_c_werror_flag"
82405 || test ! -s conftest.err'
82406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82407 (eval $ac_try) 2>&5
82408 ac_status=$?
82409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82410 (exit $ac_status); }; } &&
82411 { ac_try='test -s conftest$ac_exeext'
82412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82413 (eval $ac_try) 2>&5
82414 ac_status=$?
82415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82416 (exit $ac_status); }; }; then
82417 glibcxx_cv_func___builtin_fabsf_link=yes
82418 else
82419 echo "$as_me: failed program was:" >&5
82420 sed 's/^/| /' conftest.$ac_ext >&5
82422 glibcxx_cv_func___builtin_fabsf_link=no
82424 rm -f conftest.err conftest.$ac_objext \
82425 conftest$ac_exeext conftest.$ac_ext
82430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82431 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82433 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82435 cat >>confdefs.h <<\_ACEOF
82436 #define HAVE___BUILTIN_FABSF 1
82437 _ACEOF
82444 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82445 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82446 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82447 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82448 echo $ECHO_N "(cached) $ECHO_C" >&6
82449 else
82453 ac_ext=cc
82454 ac_cpp='$CXXCPP $CPPFLAGS'
82455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82459 cat >conftest.$ac_ext <<_ACEOF
82460 /* confdefs.h. */
82461 _ACEOF
82462 cat confdefs.h >>conftest.$ac_ext
82463 cat >>conftest.$ac_ext <<_ACEOF
82464 /* end confdefs.h. */
82465 #include <math.h>
82467 main ()
82469 __builtin_fabs(0);
82471 return 0;
82473 _ACEOF
82474 rm -f conftest.$ac_objext
82475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82476 (eval $ac_compile) 2>conftest.er1
82477 ac_status=$?
82478 grep -v '^ *+' conftest.er1 >conftest.err
82479 rm -f conftest.er1
82480 cat conftest.err >&5
82481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82482 (exit $ac_status); } &&
82483 { ac_try='test -z "$ac_cxx_werror_flag"
82484 || test ! -s conftest.err'
82485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82486 (eval $ac_try) 2>&5
82487 ac_status=$?
82488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82489 (exit $ac_status); }; } &&
82490 { ac_try='test -s conftest.$ac_objext'
82491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82492 (eval $ac_try) 2>&5
82493 ac_status=$?
82494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82495 (exit $ac_status); }; }; then
82496 glibcxx_cv_func___builtin_fabs_use=yes
82497 else
82498 echo "$as_me: failed program was:" >&5
82499 sed 's/^/| /' conftest.$ac_ext >&5
82501 glibcxx_cv_func___builtin_fabs_use=no
82503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82504 ac_ext=c
82505 ac_cpp='$CPP $CPPFLAGS'
82506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82514 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
82515 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
82516 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
82517 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
82518 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
82519 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
82520 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
82521 echo $ECHO_N "(cached) $ECHO_C" >&6
82522 else
82524 if test x$gcc_no_link = xyes; then
82525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82527 { (exit 1); exit 1; }; }
82529 cat >conftest.$ac_ext <<_ACEOF
82530 /* confdefs.h. */
82531 _ACEOF
82532 cat confdefs.h >>conftest.$ac_ext
82533 cat >>conftest.$ac_ext <<_ACEOF
82534 /* end confdefs.h. */
82535 #include <math.h>
82537 main ()
82539 __builtin_fabs(0);
82541 return 0;
82543 _ACEOF
82544 rm -f conftest.$ac_objext conftest$ac_exeext
82545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82546 (eval $ac_link) 2>conftest.er1
82547 ac_status=$?
82548 grep -v '^ *+' conftest.er1 >conftest.err
82549 rm -f conftest.er1
82550 cat conftest.err >&5
82551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82552 (exit $ac_status); } &&
82553 { ac_try='test -z "$ac_c_werror_flag"
82554 || test ! -s conftest.err'
82555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82556 (eval $ac_try) 2>&5
82557 ac_status=$?
82558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82559 (exit $ac_status); }; } &&
82560 { ac_try='test -s conftest$ac_exeext'
82561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82562 (eval $ac_try) 2>&5
82563 ac_status=$?
82564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82565 (exit $ac_status); }; }; then
82566 glibcxx_cv_func___builtin_fabs_link=yes
82567 else
82568 echo "$as_me: failed program was:" >&5
82569 sed 's/^/| /' conftest.$ac_ext >&5
82571 glibcxx_cv_func___builtin_fabs_link=no
82573 rm -f conftest.err conftest.$ac_objext \
82574 conftest$ac_exeext conftest.$ac_ext
82579 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82580 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82582 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82584 cat >>confdefs.h <<\_ACEOF
82585 #define HAVE___BUILTIN_FABS 1
82586 _ACEOF
82593 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82594 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82595 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82596 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82597 echo $ECHO_N "(cached) $ECHO_C" >&6
82598 else
82602 ac_ext=cc
82603 ac_cpp='$CXXCPP $CPPFLAGS'
82604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82608 cat >conftest.$ac_ext <<_ACEOF
82609 /* confdefs.h. */
82610 _ACEOF
82611 cat confdefs.h >>conftest.$ac_ext
82612 cat >>conftest.$ac_ext <<_ACEOF
82613 /* end confdefs.h. */
82614 #include <math.h>
82616 main ()
82618 __builtin_fabsl(0);
82620 return 0;
82622 _ACEOF
82623 rm -f conftest.$ac_objext
82624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82625 (eval $ac_compile) 2>conftest.er1
82626 ac_status=$?
82627 grep -v '^ *+' conftest.er1 >conftest.err
82628 rm -f conftest.er1
82629 cat conftest.err >&5
82630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82631 (exit $ac_status); } &&
82632 { ac_try='test -z "$ac_cxx_werror_flag"
82633 || test ! -s conftest.err'
82634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82635 (eval $ac_try) 2>&5
82636 ac_status=$?
82637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82638 (exit $ac_status); }; } &&
82639 { ac_try='test -s conftest.$ac_objext'
82640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82641 (eval $ac_try) 2>&5
82642 ac_status=$?
82643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82644 (exit $ac_status); }; }; then
82645 glibcxx_cv_func___builtin_fabsl_use=yes
82646 else
82647 echo "$as_me: failed program was:" >&5
82648 sed 's/^/| /' conftest.$ac_ext >&5
82650 glibcxx_cv_func___builtin_fabsl_use=no
82652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82653 ac_ext=c
82654 ac_cpp='$CPP $CPPFLAGS'
82655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82663 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82664 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82665 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82666 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82667 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82668 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82669 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82670 echo $ECHO_N "(cached) $ECHO_C" >&6
82671 else
82673 if test x$gcc_no_link = xyes; then
82674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82676 { (exit 1); exit 1; }; }
82678 cat >conftest.$ac_ext <<_ACEOF
82679 /* confdefs.h. */
82680 _ACEOF
82681 cat confdefs.h >>conftest.$ac_ext
82682 cat >>conftest.$ac_ext <<_ACEOF
82683 /* end confdefs.h. */
82684 #include <math.h>
82686 main ()
82688 __builtin_fabsl(0);
82690 return 0;
82692 _ACEOF
82693 rm -f conftest.$ac_objext conftest$ac_exeext
82694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82695 (eval $ac_link) 2>conftest.er1
82696 ac_status=$?
82697 grep -v '^ *+' conftest.er1 >conftest.err
82698 rm -f conftest.er1
82699 cat conftest.err >&5
82700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82701 (exit $ac_status); } &&
82702 { ac_try='test -z "$ac_c_werror_flag"
82703 || test ! -s conftest.err'
82704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82705 (eval $ac_try) 2>&5
82706 ac_status=$?
82707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82708 (exit $ac_status); }; } &&
82709 { ac_try='test -s conftest$ac_exeext'
82710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82711 (eval $ac_try) 2>&5
82712 ac_status=$?
82713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82714 (exit $ac_status); }; }; then
82715 glibcxx_cv_func___builtin_fabsl_link=yes
82716 else
82717 echo "$as_me: failed program was:" >&5
82718 sed 's/^/| /' conftest.$ac_ext >&5
82720 glibcxx_cv_func___builtin_fabsl_link=no
82722 rm -f conftest.err conftest.$ac_objext \
82723 conftest$ac_exeext conftest.$ac_ext
82728 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82729 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82731 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82733 cat >>confdefs.h <<\_ACEOF
82734 #define HAVE___BUILTIN_FABSL 1
82735 _ACEOF
82742 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82743 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82744 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82745 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82746 echo $ECHO_N "(cached) $ECHO_C" >&6
82747 else
82751 ac_ext=cc
82752 ac_cpp='$CXXCPP $CPPFLAGS'
82753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82757 cat >conftest.$ac_ext <<_ACEOF
82758 /* confdefs.h. */
82759 _ACEOF
82760 cat confdefs.h >>conftest.$ac_ext
82761 cat >>conftest.$ac_ext <<_ACEOF
82762 /* end confdefs.h. */
82763 #include <math.h>
82765 main ()
82767 __builtin_labs(0);
82769 return 0;
82771 _ACEOF
82772 rm -f conftest.$ac_objext
82773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82774 (eval $ac_compile) 2>conftest.er1
82775 ac_status=$?
82776 grep -v '^ *+' conftest.er1 >conftest.err
82777 rm -f conftest.er1
82778 cat conftest.err >&5
82779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82780 (exit $ac_status); } &&
82781 { ac_try='test -z "$ac_cxx_werror_flag"
82782 || test ! -s conftest.err'
82783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82784 (eval $ac_try) 2>&5
82785 ac_status=$?
82786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82787 (exit $ac_status); }; } &&
82788 { ac_try='test -s conftest.$ac_objext'
82789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82790 (eval $ac_try) 2>&5
82791 ac_status=$?
82792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82793 (exit $ac_status); }; }; then
82794 glibcxx_cv_func___builtin_labs_use=yes
82795 else
82796 echo "$as_me: failed program was:" >&5
82797 sed 's/^/| /' conftest.$ac_ext >&5
82799 glibcxx_cv_func___builtin_labs_use=no
82801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82802 ac_ext=c
82803 ac_cpp='$CPP $CPPFLAGS'
82804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82813 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82814 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82815 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82816 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82817 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82818 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82819 echo $ECHO_N "(cached) $ECHO_C" >&6
82820 else
82822 if test x$gcc_no_link = xyes; then
82823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82825 { (exit 1); exit 1; }; }
82827 cat >conftest.$ac_ext <<_ACEOF
82828 /* confdefs.h. */
82829 _ACEOF
82830 cat confdefs.h >>conftest.$ac_ext
82831 cat >>conftest.$ac_ext <<_ACEOF
82832 /* end confdefs.h. */
82833 #include <math.h>
82835 main ()
82837 __builtin_labs(0);
82839 return 0;
82841 _ACEOF
82842 rm -f conftest.$ac_objext conftest$ac_exeext
82843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82844 (eval $ac_link) 2>conftest.er1
82845 ac_status=$?
82846 grep -v '^ *+' conftest.er1 >conftest.err
82847 rm -f conftest.er1
82848 cat conftest.err >&5
82849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82850 (exit $ac_status); } &&
82851 { ac_try='test -z "$ac_c_werror_flag"
82852 || test ! -s conftest.err'
82853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82854 (eval $ac_try) 2>&5
82855 ac_status=$?
82856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82857 (exit $ac_status); }; } &&
82858 { ac_try='test -s conftest$ac_exeext'
82859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82860 (eval $ac_try) 2>&5
82861 ac_status=$?
82862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82863 (exit $ac_status); }; }; then
82864 glibcxx_cv_func___builtin_labs_link=yes
82865 else
82866 echo "$as_me: failed program was:" >&5
82867 sed 's/^/| /' conftest.$ac_ext >&5
82869 glibcxx_cv_func___builtin_labs_link=no
82871 rm -f conftest.err conftest.$ac_objext \
82872 conftest$ac_exeext conftest.$ac_ext
82877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82878 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82880 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82882 cat >>confdefs.h <<\_ACEOF
82883 #define HAVE___BUILTIN_LABS 1
82884 _ACEOF
82892 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82893 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82894 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82895 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82896 echo $ECHO_N "(cached) $ECHO_C" >&6
82897 else
82901 ac_ext=cc
82902 ac_cpp='$CXXCPP $CPPFLAGS'
82903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82907 cat >conftest.$ac_ext <<_ACEOF
82908 /* confdefs.h. */
82909 _ACEOF
82910 cat confdefs.h >>conftest.$ac_ext
82911 cat >>conftest.$ac_ext <<_ACEOF
82912 /* end confdefs.h. */
82913 #include <math.h>
82915 main ()
82917 __builtin_sqrtf(0);
82919 return 0;
82921 _ACEOF
82922 rm -f conftest.$ac_objext
82923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82924 (eval $ac_compile) 2>conftest.er1
82925 ac_status=$?
82926 grep -v '^ *+' conftest.er1 >conftest.err
82927 rm -f conftest.er1
82928 cat conftest.err >&5
82929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82930 (exit $ac_status); } &&
82931 { ac_try='test -z "$ac_cxx_werror_flag"
82932 || test ! -s conftest.err'
82933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82934 (eval $ac_try) 2>&5
82935 ac_status=$?
82936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82937 (exit $ac_status); }; } &&
82938 { ac_try='test -s conftest.$ac_objext'
82939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82940 (eval $ac_try) 2>&5
82941 ac_status=$?
82942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82943 (exit $ac_status); }; }; then
82944 glibcxx_cv_func___builtin_sqrtf_use=yes
82945 else
82946 echo "$as_me: failed program was:" >&5
82947 sed 's/^/| /' conftest.$ac_ext >&5
82949 glibcxx_cv_func___builtin_sqrtf_use=no
82951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82952 ac_ext=c
82953 ac_cpp='$CPP $CPPFLAGS'
82954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82962 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82963 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82964 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82965 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82966 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82967 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82968 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82969 echo $ECHO_N "(cached) $ECHO_C" >&6
82970 else
82972 if test x$gcc_no_link = xyes; then
82973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82975 { (exit 1); exit 1; }; }
82977 cat >conftest.$ac_ext <<_ACEOF
82978 /* confdefs.h. */
82979 _ACEOF
82980 cat confdefs.h >>conftest.$ac_ext
82981 cat >>conftest.$ac_ext <<_ACEOF
82982 /* end confdefs.h. */
82983 #include <math.h>
82985 main ()
82987 __builtin_sqrtf(0);
82989 return 0;
82991 _ACEOF
82992 rm -f conftest.$ac_objext conftest$ac_exeext
82993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82994 (eval $ac_link) 2>conftest.er1
82995 ac_status=$?
82996 grep -v '^ *+' conftest.er1 >conftest.err
82997 rm -f conftest.er1
82998 cat conftest.err >&5
82999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83000 (exit $ac_status); } &&
83001 { ac_try='test -z "$ac_c_werror_flag"
83002 || test ! -s conftest.err'
83003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83004 (eval $ac_try) 2>&5
83005 ac_status=$?
83006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83007 (exit $ac_status); }; } &&
83008 { ac_try='test -s conftest$ac_exeext'
83009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83010 (eval $ac_try) 2>&5
83011 ac_status=$?
83012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83013 (exit $ac_status); }; }; then
83014 glibcxx_cv_func___builtin_sqrtf_link=yes
83015 else
83016 echo "$as_me: failed program was:" >&5
83017 sed 's/^/| /' conftest.$ac_ext >&5
83019 glibcxx_cv_func___builtin_sqrtf_link=no
83021 rm -f conftest.err conftest.$ac_objext \
83022 conftest$ac_exeext conftest.$ac_ext
83027 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
83028 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
83030 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
83032 cat >>confdefs.h <<\_ACEOF
83033 #define HAVE___BUILTIN_SQRTF 1
83034 _ACEOF
83041 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
83042 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
83043 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
83044 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
83045 echo $ECHO_N "(cached) $ECHO_C" >&6
83046 else
83050 ac_ext=cc
83051 ac_cpp='$CXXCPP $CPPFLAGS'
83052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83056 cat >conftest.$ac_ext <<_ACEOF
83057 /* confdefs.h. */
83058 _ACEOF
83059 cat confdefs.h >>conftest.$ac_ext
83060 cat >>conftest.$ac_ext <<_ACEOF
83061 /* end confdefs.h. */
83062 #include <math.h>
83064 main ()
83066 __builtin_sqrt(0);
83068 return 0;
83070 _ACEOF
83071 rm -f conftest.$ac_objext
83072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83073 (eval $ac_compile) 2>conftest.er1
83074 ac_status=$?
83075 grep -v '^ *+' conftest.er1 >conftest.err
83076 rm -f conftest.er1
83077 cat conftest.err >&5
83078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83079 (exit $ac_status); } &&
83080 { ac_try='test -z "$ac_cxx_werror_flag"
83081 || test ! -s conftest.err'
83082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83083 (eval $ac_try) 2>&5
83084 ac_status=$?
83085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83086 (exit $ac_status); }; } &&
83087 { ac_try='test -s conftest.$ac_objext'
83088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83089 (eval $ac_try) 2>&5
83090 ac_status=$?
83091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83092 (exit $ac_status); }; }; then
83093 glibcxx_cv_func___builtin_sqrt_use=yes
83094 else
83095 echo "$as_me: failed program was:" >&5
83096 sed 's/^/| /' conftest.$ac_ext >&5
83098 glibcxx_cv_func___builtin_sqrt_use=no
83100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83101 ac_ext=c
83102 ac_cpp='$CPP $CPPFLAGS'
83103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83111 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
83112 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
83113 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
83114 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
83115 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
83116 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
83117 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
83118 echo $ECHO_N "(cached) $ECHO_C" >&6
83119 else
83121 if test x$gcc_no_link = xyes; then
83122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83124 { (exit 1); exit 1; }; }
83126 cat >conftest.$ac_ext <<_ACEOF
83127 /* confdefs.h. */
83128 _ACEOF
83129 cat confdefs.h >>conftest.$ac_ext
83130 cat >>conftest.$ac_ext <<_ACEOF
83131 /* end confdefs.h. */
83132 #include <math.h>
83134 main ()
83136 __builtin_sqrt(0);
83138 return 0;
83140 _ACEOF
83141 rm -f conftest.$ac_objext conftest$ac_exeext
83142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83143 (eval $ac_link) 2>conftest.er1
83144 ac_status=$?
83145 grep -v '^ *+' conftest.er1 >conftest.err
83146 rm -f conftest.er1
83147 cat conftest.err >&5
83148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149 (exit $ac_status); } &&
83150 { ac_try='test -z "$ac_c_werror_flag"
83151 || test ! -s conftest.err'
83152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83153 (eval $ac_try) 2>&5
83154 ac_status=$?
83155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83156 (exit $ac_status); }; } &&
83157 { ac_try='test -s conftest$ac_exeext'
83158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83159 (eval $ac_try) 2>&5
83160 ac_status=$?
83161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83162 (exit $ac_status); }; }; then
83163 glibcxx_cv_func___builtin_sqrt_link=yes
83164 else
83165 echo "$as_me: failed program was:" >&5
83166 sed 's/^/| /' conftest.$ac_ext >&5
83168 glibcxx_cv_func___builtin_sqrt_link=no
83170 rm -f conftest.err conftest.$ac_objext \
83171 conftest$ac_exeext conftest.$ac_ext
83176 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83177 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83179 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83181 cat >>confdefs.h <<\_ACEOF
83182 #define HAVE___BUILTIN_SQRT 1
83183 _ACEOF
83190 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83191 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83192 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83193 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83194 echo $ECHO_N "(cached) $ECHO_C" >&6
83195 else
83199 ac_ext=cc
83200 ac_cpp='$CXXCPP $CPPFLAGS'
83201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83205 cat >conftest.$ac_ext <<_ACEOF
83206 /* confdefs.h. */
83207 _ACEOF
83208 cat confdefs.h >>conftest.$ac_ext
83209 cat >>conftest.$ac_ext <<_ACEOF
83210 /* end confdefs.h. */
83211 #include <math.h>
83213 main ()
83215 __builtin_sqrtl(0);
83217 return 0;
83219 _ACEOF
83220 rm -f conftest.$ac_objext
83221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83222 (eval $ac_compile) 2>conftest.er1
83223 ac_status=$?
83224 grep -v '^ *+' conftest.er1 >conftest.err
83225 rm -f conftest.er1
83226 cat conftest.err >&5
83227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228 (exit $ac_status); } &&
83229 { ac_try='test -z "$ac_cxx_werror_flag"
83230 || test ! -s conftest.err'
83231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83232 (eval $ac_try) 2>&5
83233 ac_status=$?
83234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83235 (exit $ac_status); }; } &&
83236 { ac_try='test -s conftest.$ac_objext'
83237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83238 (eval $ac_try) 2>&5
83239 ac_status=$?
83240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83241 (exit $ac_status); }; }; then
83242 glibcxx_cv_func___builtin_sqrtl_use=yes
83243 else
83244 echo "$as_me: failed program was:" >&5
83245 sed 's/^/| /' conftest.$ac_ext >&5
83247 glibcxx_cv_func___builtin_sqrtl_use=no
83249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83250 ac_ext=c
83251 ac_cpp='$CPP $CPPFLAGS'
83252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83260 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83261 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83262 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83263 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83264 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83265 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83266 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83267 echo $ECHO_N "(cached) $ECHO_C" >&6
83268 else
83270 if test x$gcc_no_link = xyes; then
83271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83273 { (exit 1); exit 1; }; }
83275 cat >conftest.$ac_ext <<_ACEOF
83276 /* confdefs.h. */
83277 _ACEOF
83278 cat confdefs.h >>conftest.$ac_ext
83279 cat >>conftest.$ac_ext <<_ACEOF
83280 /* end confdefs.h. */
83281 #include <math.h>
83283 main ()
83285 __builtin_sqrtl(0);
83287 return 0;
83289 _ACEOF
83290 rm -f conftest.$ac_objext conftest$ac_exeext
83291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83292 (eval $ac_link) 2>conftest.er1
83293 ac_status=$?
83294 grep -v '^ *+' conftest.er1 >conftest.err
83295 rm -f conftest.er1
83296 cat conftest.err >&5
83297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83298 (exit $ac_status); } &&
83299 { ac_try='test -z "$ac_c_werror_flag"
83300 || test ! -s conftest.err'
83301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83302 (eval $ac_try) 2>&5
83303 ac_status=$?
83304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83305 (exit $ac_status); }; } &&
83306 { ac_try='test -s conftest$ac_exeext'
83307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83308 (eval $ac_try) 2>&5
83309 ac_status=$?
83310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83311 (exit $ac_status); }; }; then
83312 glibcxx_cv_func___builtin_sqrtl_link=yes
83313 else
83314 echo "$as_me: failed program was:" >&5
83315 sed 's/^/| /' conftest.$ac_ext >&5
83317 glibcxx_cv_func___builtin_sqrtl_link=no
83319 rm -f conftest.err conftest.$ac_objext \
83320 conftest$ac_exeext conftest.$ac_ext
83325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83326 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83328 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83330 cat >>confdefs.h <<\_ACEOF
83331 #define HAVE___BUILTIN_SQRTL 1
83332 _ACEOF
83340 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83341 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83342 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83343 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83344 echo $ECHO_N "(cached) $ECHO_C" >&6
83345 else
83349 ac_ext=cc
83350 ac_cpp='$CXXCPP $CPPFLAGS'
83351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83355 cat >conftest.$ac_ext <<_ACEOF
83356 /* confdefs.h. */
83357 _ACEOF
83358 cat confdefs.h >>conftest.$ac_ext
83359 cat >>conftest.$ac_ext <<_ACEOF
83360 /* end confdefs.h. */
83361 #include <math.h>
83363 main ()
83365 __builtin_sinf(0);
83367 return 0;
83369 _ACEOF
83370 rm -f conftest.$ac_objext
83371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83372 (eval $ac_compile) 2>conftest.er1
83373 ac_status=$?
83374 grep -v '^ *+' conftest.er1 >conftest.err
83375 rm -f conftest.er1
83376 cat conftest.err >&5
83377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83378 (exit $ac_status); } &&
83379 { ac_try='test -z "$ac_cxx_werror_flag"
83380 || test ! -s conftest.err'
83381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83382 (eval $ac_try) 2>&5
83383 ac_status=$?
83384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83385 (exit $ac_status); }; } &&
83386 { ac_try='test -s conftest.$ac_objext'
83387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83388 (eval $ac_try) 2>&5
83389 ac_status=$?
83390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83391 (exit $ac_status); }; }; then
83392 glibcxx_cv_func___builtin_sinf_use=yes
83393 else
83394 echo "$as_me: failed program was:" >&5
83395 sed 's/^/| /' conftest.$ac_ext >&5
83397 glibcxx_cv_func___builtin_sinf_use=no
83399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83400 ac_ext=c
83401 ac_cpp='$CPP $CPPFLAGS'
83402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83410 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83411 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83412 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83413 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83414 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83415 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83416 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83417 echo $ECHO_N "(cached) $ECHO_C" >&6
83418 else
83420 if test x$gcc_no_link = xyes; then
83421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83423 { (exit 1); exit 1; }; }
83425 cat >conftest.$ac_ext <<_ACEOF
83426 /* confdefs.h. */
83427 _ACEOF
83428 cat confdefs.h >>conftest.$ac_ext
83429 cat >>conftest.$ac_ext <<_ACEOF
83430 /* end confdefs.h. */
83431 #include <math.h>
83433 main ()
83435 __builtin_sinf(0);
83437 return 0;
83439 _ACEOF
83440 rm -f conftest.$ac_objext conftest$ac_exeext
83441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83442 (eval $ac_link) 2>conftest.er1
83443 ac_status=$?
83444 grep -v '^ *+' conftest.er1 >conftest.err
83445 rm -f conftest.er1
83446 cat conftest.err >&5
83447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83448 (exit $ac_status); } &&
83449 { ac_try='test -z "$ac_c_werror_flag"
83450 || test ! -s conftest.err'
83451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83452 (eval $ac_try) 2>&5
83453 ac_status=$?
83454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83455 (exit $ac_status); }; } &&
83456 { ac_try='test -s conftest$ac_exeext'
83457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83458 (eval $ac_try) 2>&5
83459 ac_status=$?
83460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83461 (exit $ac_status); }; }; then
83462 glibcxx_cv_func___builtin_sinf_link=yes
83463 else
83464 echo "$as_me: failed program was:" >&5
83465 sed 's/^/| /' conftest.$ac_ext >&5
83467 glibcxx_cv_func___builtin_sinf_link=no
83469 rm -f conftest.err conftest.$ac_objext \
83470 conftest$ac_exeext conftest.$ac_ext
83475 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
83476 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
83478 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
83480 cat >>confdefs.h <<\_ACEOF
83481 #define HAVE___BUILTIN_SINF 1
83482 _ACEOF
83489 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
83490 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
83491 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
83492 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
83493 echo $ECHO_N "(cached) $ECHO_C" >&6
83494 else
83498 ac_ext=cc
83499 ac_cpp='$CXXCPP $CPPFLAGS'
83500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83504 cat >conftest.$ac_ext <<_ACEOF
83505 /* confdefs.h. */
83506 _ACEOF
83507 cat confdefs.h >>conftest.$ac_ext
83508 cat >>conftest.$ac_ext <<_ACEOF
83509 /* end confdefs.h. */
83510 #include <math.h>
83512 main ()
83514 __builtin_sin(0);
83516 return 0;
83518 _ACEOF
83519 rm -f conftest.$ac_objext
83520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83521 (eval $ac_compile) 2>conftest.er1
83522 ac_status=$?
83523 grep -v '^ *+' conftest.er1 >conftest.err
83524 rm -f conftest.er1
83525 cat conftest.err >&5
83526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83527 (exit $ac_status); } &&
83528 { ac_try='test -z "$ac_cxx_werror_flag"
83529 || test ! -s conftest.err'
83530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83531 (eval $ac_try) 2>&5
83532 ac_status=$?
83533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83534 (exit $ac_status); }; } &&
83535 { ac_try='test -s conftest.$ac_objext'
83536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83537 (eval $ac_try) 2>&5
83538 ac_status=$?
83539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83540 (exit $ac_status); }; }; then
83541 glibcxx_cv_func___builtin_sin_use=yes
83542 else
83543 echo "$as_me: failed program was:" >&5
83544 sed 's/^/| /' conftest.$ac_ext >&5
83546 glibcxx_cv_func___builtin_sin_use=no
83548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83549 ac_ext=c
83550 ac_cpp='$CPP $CPPFLAGS'
83551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83559 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
83560 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
83561 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
83562 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
83563 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
83564 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
83565 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
83566 echo $ECHO_N "(cached) $ECHO_C" >&6
83567 else
83569 if test x$gcc_no_link = xyes; then
83570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83572 { (exit 1); exit 1; }; }
83574 cat >conftest.$ac_ext <<_ACEOF
83575 /* confdefs.h. */
83576 _ACEOF
83577 cat confdefs.h >>conftest.$ac_ext
83578 cat >>conftest.$ac_ext <<_ACEOF
83579 /* end confdefs.h. */
83580 #include <math.h>
83582 main ()
83584 __builtin_sin(0);
83586 return 0;
83588 _ACEOF
83589 rm -f conftest.$ac_objext conftest$ac_exeext
83590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83591 (eval $ac_link) 2>conftest.er1
83592 ac_status=$?
83593 grep -v '^ *+' conftest.er1 >conftest.err
83594 rm -f conftest.er1
83595 cat conftest.err >&5
83596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83597 (exit $ac_status); } &&
83598 { ac_try='test -z "$ac_c_werror_flag"
83599 || test ! -s conftest.err'
83600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83601 (eval $ac_try) 2>&5
83602 ac_status=$?
83603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83604 (exit $ac_status); }; } &&
83605 { ac_try='test -s conftest$ac_exeext'
83606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83607 (eval $ac_try) 2>&5
83608 ac_status=$?
83609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83610 (exit $ac_status); }; }; then
83611 glibcxx_cv_func___builtin_sin_link=yes
83612 else
83613 echo "$as_me: failed program was:" >&5
83614 sed 's/^/| /' conftest.$ac_ext >&5
83616 glibcxx_cv_func___builtin_sin_link=no
83618 rm -f conftest.err conftest.$ac_objext \
83619 conftest$ac_exeext conftest.$ac_ext
83624 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83625 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83627 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83629 cat >>confdefs.h <<\_ACEOF
83630 #define HAVE___BUILTIN_SIN 1
83631 _ACEOF
83638 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83639 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83640 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83641 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83642 echo $ECHO_N "(cached) $ECHO_C" >&6
83643 else
83647 ac_ext=cc
83648 ac_cpp='$CXXCPP $CPPFLAGS'
83649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83653 cat >conftest.$ac_ext <<_ACEOF
83654 /* confdefs.h. */
83655 _ACEOF
83656 cat confdefs.h >>conftest.$ac_ext
83657 cat >>conftest.$ac_ext <<_ACEOF
83658 /* end confdefs.h. */
83659 #include <math.h>
83661 main ()
83663 __builtin_sinl(0);
83665 return 0;
83667 _ACEOF
83668 rm -f conftest.$ac_objext
83669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83670 (eval $ac_compile) 2>conftest.er1
83671 ac_status=$?
83672 grep -v '^ *+' conftest.er1 >conftest.err
83673 rm -f conftest.er1
83674 cat conftest.err >&5
83675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83676 (exit $ac_status); } &&
83677 { ac_try='test -z "$ac_cxx_werror_flag"
83678 || test ! -s conftest.err'
83679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83680 (eval $ac_try) 2>&5
83681 ac_status=$?
83682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83683 (exit $ac_status); }; } &&
83684 { ac_try='test -s conftest.$ac_objext'
83685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83686 (eval $ac_try) 2>&5
83687 ac_status=$?
83688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83689 (exit $ac_status); }; }; then
83690 glibcxx_cv_func___builtin_sinl_use=yes
83691 else
83692 echo "$as_me: failed program was:" >&5
83693 sed 's/^/| /' conftest.$ac_ext >&5
83695 glibcxx_cv_func___builtin_sinl_use=no
83697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83698 ac_ext=c
83699 ac_cpp='$CPP $CPPFLAGS'
83700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83708 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83709 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83710 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83711 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83712 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83713 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83714 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83715 echo $ECHO_N "(cached) $ECHO_C" >&6
83716 else
83718 if test x$gcc_no_link = xyes; then
83719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83721 { (exit 1); exit 1; }; }
83723 cat >conftest.$ac_ext <<_ACEOF
83724 /* confdefs.h. */
83725 _ACEOF
83726 cat confdefs.h >>conftest.$ac_ext
83727 cat >>conftest.$ac_ext <<_ACEOF
83728 /* end confdefs.h. */
83729 #include <math.h>
83731 main ()
83733 __builtin_sinl(0);
83735 return 0;
83737 _ACEOF
83738 rm -f conftest.$ac_objext conftest$ac_exeext
83739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83740 (eval $ac_link) 2>conftest.er1
83741 ac_status=$?
83742 grep -v '^ *+' conftest.er1 >conftest.err
83743 rm -f conftest.er1
83744 cat conftest.err >&5
83745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83746 (exit $ac_status); } &&
83747 { ac_try='test -z "$ac_c_werror_flag"
83748 || test ! -s conftest.err'
83749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83750 (eval $ac_try) 2>&5
83751 ac_status=$?
83752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83753 (exit $ac_status); }; } &&
83754 { ac_try='test -s conftest$ac_exeext'
83755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83756 (eval $ac_try) 2>&5
83757 ac_status=$?
83758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83759 (exit $ac_status); }; }; then
83760 glibcxx_cv_func___builtin_sinl_link=yes
83761 else
83762 echo "$as_me: failed program was:" >&5
83763 sed 's/^/| /' conftest.$ac_ext >&5
83765 glibcxx_cv_func___builtin_sinl_link=no
83767 rm -f conftest.err conftest.$ac_objext \
83768 conftest$ac_exeext conftest.$ac_ext
83773 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83774 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83776 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83778 cat >>confdefs.h <<\_ACEOF
83779 #define HAVE___BUILTIN_SINL 1
83780 _ACEOF
83788 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83789 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83790 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83791 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83792 echo $ECHO_N "(cached) $ECHO_C" >&6
83793 else
83797 ac_ext=cc
83798 ac_cpp='$CXXCPP $CPPFLAGS'
83799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83803 cat >conftest.$ac_ext <<_ACEOF
83804 /* confdefs.h. */
83805 _ACEOF
83806 cat confdefs.h >>conftest.$ac_ext
83807 cat >>conftest.$ac_ext <<_ACEOF
83808 /* end confdefs.h. */
83809 #include <math.h>
83811 main ()
83813 __builtin_cosf(0);
83815 return 0;
83817 _ACEOF
83818 rm -f conftest.$ac_objext
83819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83820 (eval $ac_compile) 2>conftest.er1
83821 ac_status=$?
83822 grep -v '^ *+' conftest.er1 >conftest.err
83823 rm -f conftest.er1
83824 cat conftest.err >&5
83825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83826 (exit $ac_status); } &&
83827 { ac_try='test -z "$ac_cxx_werror_flag"
83828 || test ! -s conftest.err'
83829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83830 (eval $ac_try) 2>&5
83831 ac_status=$?
83832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83833 (exit $ac_status); }; } &&
83834 { ac_try='test -s conftest.$ac_objext'
83835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83836 (eval $ac_try) 2>&5
83837 ac_status=$?
83838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83839 (exit $ac_status); }; }; then
83840 glibcxx_cv_func___builtin_cosf_use=yes
83841 else
83842 echo "$as_me: failed program was:" >&5
83843 sed 's/^/| /' conftest.$ac_ext >&5
83845 glibcxx_cv_func___builtin_cosf_use=no
83847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83848 ac_ext=c
83849 ac_cpp='$CPP $CPPFLAGS'
83850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83858 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83859 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83860 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83861 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83862 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83863 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83864 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83865 echo $ECHO_N "(cached) $ECHO_C" >&6
83866 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 #include <math.h>
83881 main ()
83883 __builtin_cosf(0);
83885 return 0;
83887 _ACEOF
83888 rm -f conftest.$ac_objext conftest$ac_exeext
83889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83890 (eval $ac_link) 2>conftest.er1
83891 ac_status=$?
83892 grep -v '^ *+' conftest.er1 >conftest.err
83893 rm -f conftest.er1
83894 cat conftest.err >&5
83895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83896 (exit $ac_status); } &&
83897 { ac_try='test -z "$ac_c_werror_flag"
83898 || test ! -s conftest.err'
83899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83900 (eval $ac_try) 2>&5
83901 ac_status=$?
83902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83903 (exit $ac_status); }; } &&
83904 { ac_try='test -s conftest$ac_exeext'
83905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83906 (eval $ac_try) 2>&5
83907 ac_status=$?
83908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83909 (exit $ac_status); }; }; then
83910 glibcxx_cv_func___builtin_cosf_link=yes
83911 else
83912 echo "$as_me: failed program was:" >&5
83913 sed 's/^/| /' conftest.$ac_ext >&5
83915 glibcxx_cv_func___builtin_cosf_link=no
83917 rm -f conftest.err conftest.$ac_objext \
83918 conftest$ac_exeext conftest.$ac_ext
83923 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83924 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83926 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83928 cat >>confdefs.h <<\_ACEOF
83929 #define HAVE___BUILTIN_COSF 1
83930 _ACEOF
83937 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83938 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83939 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83940 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83941 echo $ECHO_N "(cached) $ECHO_C" >&6
83942 else
83946 ac_ext=cc
83947 ac_cpp='$CXXCPP $CPPFLAGS'
83948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83952 cat >conftest.$ac_ext <<_ACEOF
83953 /* confdefs.h. */
83954 _ACEOF
83955 cat confdefs.h >>conftest.$ac_ext
83956 cat >>conftest.$ac_ext <<_ACEOF
83957 /* end confdefs.h. */
83958 #include <math.h>
83960 main ()
83962 __builtin_cos(0);
83964 return 0;
83966 _ACEOF
83967 rm -f conftest.$ac_objext
83968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83969 (eval $ac_compile) 2>conftest.er1
83970 ac_status=$?
83971 grep -v '^ *+' conftest.er1 >conftest.err
83972 rm -f conftest.er1
83973 cat conftest.err >&5
83974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975 (exit $ac_status); } &&
83976 { ac_try='test -z "$ac_cxx_werror_flag"
83977 || test ! -s conftest.err'
83978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83979 (eval $ac_try) 2>&5
83980 ac_status=$?
83981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83982 (exit $ac_status); }; } &&
83983 { ac_try='test -s conftest.$ac_objext'
83984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83985 (eval $ac_try) 2>&5
83986 ac_status=$?
83987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83988 (exit $ac_status); }; }; then
83989 glibcxx_cv_func___builtin_cos_use=yes
83990 else
83991 echo "$as_me: failed program was:" >&5
83992 sed 's/^/| /' conftest.$ac_ext >&5
83994 glibcxx_cv_func___builtin_cos_use=no
83996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83997 ac_ext=c
83998 ac_cpp='$CPP $CPPFLAGS'
83999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84007 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
84008 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
84009 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
84010 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
84011 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
84012 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
84013 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
84014 echo $ECHO_N "(cached) $ECHO_C" >&6
84015 else
84017 if test x$gcc_no_link = xyes; then
84018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84020 { (exit 1); exit 1; }; }
84022 cat >conftest.$ac_ext <<_ACEOF
84023 /* confdefs.h. */
84024 _ACEOF
84025 cat confdefs.h >>conftest.$ac_ext
84026 cat >>conftest.$ac_ext <<_ACEOF
84027 /* end confdefs.h. */
84028 #include <math.h>
84030 main ()
84032 __builtin_cos(0);
84034 return 0;
84036 _ACEOF
84037 rm -f conftest.$ac_objext conftest$ac_exeext
84038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84039 (eval $ac_link) 2>conftest.er1
84040 ac_status=$?
84041 grep -v '^ *+' conftest.er1 >conftest.err
84042 rm -f conftest.er1
84043 cat conftest.err >&5
84044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84045 (exit $ac_status); } &&
84046 { ac_try='test -z "$ac_c_werror_flag"
84047 || test ! -s conftest.err'
84048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84049 (eval $ac_try) 2>&5
84050 ac_status=$?
84051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84052 (exit $ac_status); }; } &&
84053 { ac_try='test -s conftest$ac_exeext'
84054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84055 (eval $ac_try) 2>&5
84056 ac_status=$?
84057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84058 (exit $ac_status); }; }; then
84059 glibcxx_cv_func___builtin_cos_link=yes
84060 else
84061 echo "$as_me: failed program was:" >&5
84062 sed 's/^/| /' conftest.$ac_ext >&5
84064 glibcxx_cv_func___builtin_cos_link=no
84066 rm -f conftest.err conftest.$ac_objext \
84067 conftest$ac_exeext conftest.$ac_ext
84072 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
84073 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
84075 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
84077 cat >>confdefs.h <<\_ACEOF
84078 #define HAVE___BUILTIN_COS 1
84079 _ACEOF
84086 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
84087 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
84088 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
84089 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
84090 echo $ECHO_N "(cached) $ECHO_C" >&6
84091 else
84095 ac_ext=cc
84096 ac_cpp='$CXXCPP $CPPFLAGS'
84097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84101 cat >conftest.$ac_ext <<_ACEOF
84102 /* confdefs.h. */
84103 _ACEOF
84104 cat confdefs.h >>conftest.$ac_ext
84105 cat >>conftest.$ac_ext <<_ACEOF
84106 /* end confdefs.h. */
84107 #include <math.h>
84109 main ()
84111 __builtin_cosl(0);
84113 return 0;
84115 _ACEOF
84116 rm -f conftest.$ac_objext
84117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84118 (eval $ac_compile) 2>conftest.er1
84119 ac_status=$?
84120 grep -v '^ *+' conftest.er1 >conftest.err
84121 rm -f conftest.er1
84122 cat conftest.err >&5
84123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84124 (exit $ac_status); } &&
84125 { ac_try='test -z "$ac_cxx_werror_flag"
84126 || test ! -s conftest.err'
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); }; } &&
84132 { ac_try='test -s conftest.$ac_objext'
84133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84134 (eval $ac_try) 2>&5
84135 ac_status=$?
84136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84137 (exit $ac_status); }; }; then
84138 glibcxx_cv_func___builtin_cosl_use=yes
84139 else
84140 echo "$as_me: failed program was:" >&5
84141 sed 's/^/| /' conftest.$ac_ext >&5
84143 glibcxx_cv_func___builtin_cosl_use=no
84145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84146 ac_ext=c
84147 ac_cpp='$CPP $CPPFLAGS'
84148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84156 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84157 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84158 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84159 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84160 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84161 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84162 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84163 echo $ECHO_N "(cached) $ECHO_C" >&6
84164 else
84166 if test x$gcc_no_link = xyes; then
84167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84169 { (exit 1); exit 1; }; }
84171 cat >conftest.$ac_ext <<_ACEOF
84172 /* confdefs.h. */
84173 _ACEOF
84174 cat confdefs.h >>conftest.$ac_ext
84175 cat >>conftest.$ac_ext <<_ACEOF
84176 /* end confdefs.h. */
84177 #include <math.h>
84179 main ()
84181 __builtin_cosl(0);
84183 return 0;
84185 _ACEOF
84186 rm -f conftest.$ac_objext conftest$ac_exeext
84187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84188 (eval $ac_link) 2>conftest.er1
84189 ac_status=$?
84190 grep -v '^ *+' conftest.er1 >conftest.err
84191 rm -f conftest.er1
84192 cat conftest.err >&5
84193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84194 (exit $ac_status); } &&
84195 { ac_try='test -z "$ac_c_werror_flag"
84196 || test ! -s conftest.err'
84197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84198 (eval $ac_try) 2>&5
84199 ac_status=$?
84200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84201 (exit $ac_status); }; } &&
84202 { ac_try='test -s conftest$ac_exeext'
84203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84204 (eval $ac_try) 2>&5
84205 ac_status=$?
84206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207 (exit $ac_status); }; }; then
84208 glibcxx_cv_func___builtin_cosl_link=yes
84209 else
84210 echo "$as_me: failed program was:" >&5
84211 sed 's/^/| /' conftest.$ac_ext >&5
84213 glibcxx_cv_func___builtin_cosl_link=no
84215 rm -f conftest.err conftest.$ac_objext \
84216 conftest$ac_exeext conftest.$ac_ext
84221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84222 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84224 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84226 cat >>confdefs.h <<\_ACEOF
84227 #define HAVE___BUILTIN_COSL 1
84228 _ACEOF
84237 echo "$as_me:$LINENO: checking for main in -lm" >&5
84238 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84239 if test "${ac_cv_lib_m_main+set}" = set; then
84240 echo $ECHO_N "(cached) $ECHO_C" >&6
84241 else
84242 ac_check_lib_save_LIBS=$LIBS
84243 LIBS="-lm $LIBS"
84244 if test x$gcc_no_link = xyes; then
84245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84247 { (exit 1); exit 1; }; }
84249 cat >conftest.$ac_ext <<_ACEOF
84250 /* confdefs.h. */
84251 _ACEOF
84252 cat confdefs.h >>conftest.$ac_ext
84253 cat >>conftest.$ac_ext <<_ACEOF
84254 /* end confdefs.h. */
84258 main ()
84260 main ();
84262 return 0;
84264 _ACEOF
84265 rm -f conftest.$ac_objext conftest$ac_exeext
84266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84267 (eval $ac_link) 2>conftest.er1
84268 ac_status=$?
84269 grep -v '^ *+' conftest.er1 >conftest.err
84270 rm -f conftest.er1
84271 cat conftest.err >&5
84272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84273 (exit $ac_status); } &&
84274 { ac_try='test -z "$ac_c_werror_flag"
84275 || test ! -s conftest.err'
84276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84277 (eval $ac_try) 2>&5
84278 ac_status=$?
84279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84280 (exit $ac_status); }; } &&
84281 { ac_try='test -s conftest$ac_exeext'
84282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84283 (eval $ac_try) 2>&5
84284 ac_status=$?
84285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84286 (exit $ac_status); }; }; then
84287 ac_cv_lib_m_main=yes
84288 else
84289 echo "$as_me: failed program was:" >&5
84290 sed 's/^/| /' conftest.$ac_ext >&5
84292 ac_cv_lib_m_main=no
84294 rm -f conftest.err conftest.$ac_objext \
84295 conftest$ac_exeext conftest.$ac_ext
84296 LIBS=$ac_check_lib_save_LIBS
84298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84299 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84300 if test $ac_cv_lib_m_main = yes; then
84301 cat >>confdefs.h <<_ACEOF
84302 #define HAVE_LIBM 1
84303 _ACEOF
84305 LIBS="-lm $LIBS"
84310 for ac_func in copysignf
84312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84313 echo "$as_me:$LINENO: checking for $ac_func" >&5
84314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84315 if eval "test \"\${$as_ac_var+set}\" = set"; then
84316 echo $ECHO_N "(cached) $ECHO_C" >&6
84317 else
84318 if test x$gcc_no_link = xyes; then
84319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84321 { (exit 1); exit 1; }; }
84323 cat >conftest.$ac_ext <<_ACEOF
84324 /* confdefs.h. */
84325 _ACEOF
84326 cat confdefs.h >>conftest.$ac_ext
84327 cat >>conftest.$ac_ext <<_ACEOF
84328 /* end confdefs.h. */
84329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84331 #define $ac_func innocuous_$ac_func
84333 /* System header to define __stub macros and hopefully few prototypes,
84334 which can conflict with char $ac_func (); below.
84335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84336 <limits.h> exists even on freestanding compilers. */
84338 #ifdef __STDC__
84339 # include <limits.h>
84340 #else
84341 # include <assert.h>
84342 #endif
84344 #undef $ac_func
84346 /* Override any gcc2 internal prototype to avoid an error. */
84347 #ifdef __cplusplus
84348 extern "C"
84350 #endif
84351 /* We use char because int might match the return type of a gcc2
84352 builtin and then its argument prototype would still apply. */
84353 char $ac_func ();
84354 /* The GNU C library defines this for functions which it implements
84355 to always fail with ENOSYS. Some functions are actually named
84356 something starting with __ and the normal name is an alias. */
84357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84358 choke me
84359 #else
84360 char (*f) () = $ac_func;
84361 #endif
84362 #ifdef __cplusplus
84364 #endif
84367 main ()
84369 return f != $ac_func;
84371 return 0;
84373 _ACEOF
84374 rm -f conftest.$ac_objext conftest$ac_exeext
84375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84376 (eval $ac_link) 2>conftest.er1
84377 ac_status=$?
84378 grep -v '^ *+' conftest.er1 >conftest.err
84379 rm -f conftest.er1
84380 cat conftest.err >&5
84381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84382 (exit $ac_status); } &&
84383 { ac_try='test -z "$ac_c_werror_flag"
84384 || test ! -s conftest.err'
84385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84386 (eval $ac_try) 2>&5
84387 ac_status=$?
84388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84389 (exit $ac_status); }; } &&
84390 { ac_try='test -s conftest$ac_exeext'
84391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84392 (eval $ac_try) 2>&5
84393 ac_status=$?
84394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84395 (exit $ac_status); }; }; then
84396 eval "$as_ac_var=yes"
84397 else
84398 echo "$as_me: failed program was:" >&5
84399 sed 's/^/| /' conftest.$ac_ext >&5
84401 eval "$as_ac_var=no"
84403 rm -f conftest.err conftest.$ac_objext \
84404 conftest$ac_exeext conftest.$ac_ext
84406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84408 if test `eval echo '${'$as_ac_var'}'` = yes; then
84409 cat >>confdefs.h <<_ACEOF
84410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84411 _ACEOF
84413 else
84414 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84416 done
84420 for ac_func in __signbit
84422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84423 echo "$as_me:$LINENO: checking for $ac_func" >&5
84424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84425 if eval "test \"\${$as_ac_var+set}\" = set"; then
84426 echo $ECHO_N "(cached) $ECHO_C" >&6
84427 else
84428 if test x$gcc_no_link = xyes; then
84429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84431 { (exit 1); exit 1; }; }
84433 cat >conftest.$ac_ext <<_ACEOF
84434 /* confdefs.h. */
84435 _ACEOF
84436 cat confdefs.h >>conftest.$ac_ext
84437 cat >>conftest.$ac_ext <<_ACEOF
84438 /* end confdefs.h. */
84439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84441 #define $ac_func innocuous_$ac_func
84443 /* System header to define __stub macros and hopefully few prototypes,
84444 which can conflict with char $ac_func (); below.
84445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84446 <limits.h> exists even on freestanding compilers. */
84448 #ifdef __STDC__
84449 # include <limits.h>
84450 #else
84451 # include <assert.h>
84452 #endif
84454 #undef $ac_func
84456 /* Override any gcc2 internal prototype to avoid an error. */
84457 #ifdef __cplusplus
84458 extern "C"
84460 #endif
84461 /* We use char because int might match the return type of a gcc2
84462 builtin and then its argument prototype would still apply. */
84463 char $ac_func ();
84464 /* The GNU C library defines this for functions which it implements
84465 to always fail with ENOSYS. Some functions are actually named
84466 something starting with __ and the normal name is an alias. */
84467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84468 choke me
84469 #else
84470 char (*f) () = $ac_func;
84471 #endif
84472 #ifdef __cplusplus
84474 #endif
84477 main ()
84479 return f != $ac_func;
84481 return 0;
84483 _ACEOF
84484 rm -f conftest.$ac_objext conftest$ac_exeext
84485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84486 (eval $ac_link) 2>conftest.er1
84487 ac_status=$?
84488 grep -v '^ *+' conftest.er1 >conftest.err
84489 rm -f conftest.er1
84490 cat conftest.err >&5
84491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84492 (exit $ac_status); } &&
84493 { ac_try='test -z "$ac_c_werror_flag"
84494 || test ! -s conftest.err'
84495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84496 (eval $ac_try) 2>&5
84497 ac_status=$?
84498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84499 (exit $ac_status); }; } &&
84500 { ac_try='test -s conftest$ac_exeext'
84501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84502 (eval $ac_try) 2>&5
84503 ac_status=$?
84504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84505 (exit $ac_status); }; }; then
84506 eval "$as_ac_var=yes"
84507 else
84508 echo "$as_me: failed program was:" >&5
84509 sed 's/^/| /' conftest.$ac_ext >&5
84511 eval "$as_ac_var=no"
84513 rm -f conftest.err conftest.$ac_objext \
84514 conftest$ac_exeext conftest.$ac_ext
84516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84518 if test `eval echo '${'$as_ac_var'}'` = yes; then
84519 cat >>confdefs.h <<_ACEOF
84520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84521 _ACEOF
84523 else
84524 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84526 done
84530 for ac_func in __signbitf
84532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84533 echo "$as_me:$LINENO: checking for $ac_func" >&5
84534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84535 if eval "test \"\${$as_ac_var+set}\" = set"; then
84536 echo $ECHO_N "(cached) $ECHO_C" >&6
84537 else
84538 if test x$gcc_no_link = xyes; then
84539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84541 { (exit 1); exit 1; }; }
84543 cat >conftest.$ac_ext <<_ACEOF
84544 /* confdefs.h. */
84545 _ACEOF
84546 cat confdefs.h >>conftest.$ac_ext
84547 cat >>conftest.$ac_ext <<_ACEOF
84548 /* end confdefs.h. */
84549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84551 #define $ac_func innocuous_$ac_func
84553 /* System header to define __stub macros and hopefully few prototypes,
84554 which can conflict with char $ac_func (); below.
84555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84556 <limits.h> exists even on freestanding compilers. */
84558 #ifdef __STDC__
84559 # include <limits.h>
84560 #else
84561 # include <assert.h>
84562 #endif
84564 #undef $ac_func
84566 /* Override any gcc2 internal prototype to avoid an error. */
84567 #ifdef __cplusplus
84568 extern "C"
84570 #endif
84571 /* We use char because int might match the return type of a gcc2
84572 builtin and then its argument prototype would still apply. */
84573 char $ac_func ();
84574 /* The GNU C library defines this for functions which it implements
84575 to always fail with ENOSYS. Some functions are actually named
84576 something starting with __ and the normal name is an alias. */
84577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84578 choke me
84579 #else
84580 char (*f) () = $ac_func;
84581 #endif
84582 #ifdef __cplusplus
84584 #endif
84587 main ()
84589 return f != $ac_func;
84591 return 0;
84593 _ACEOF
84594 rm -f conftest.$ac_objext conftest$ac_exeext
84595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84596 (eval $ac_link) 2>conftest.er1
84597 ac_status=$?
84598 grep -v '^ *+' conftest.er1 >conftest.err
84599 rm -f conftest.er1
84600 cat conftest.err >&5
84601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84602 (exit $ac_status); } &&
84603 { ac_try='test -z "$ac_c_werror_flag"
84604 || test ! -s conftest.err'
84605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84606 (eval $ac_try) 2>&5
84607 ac_status=$?
84608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84609 (exit $ac_status); }; } &&
84610 { ac_try='test -s conftest$ac_exeext'
84611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84612 (eval $ac_try) 2>&5
84613 ac_status=$?
84614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84615 (exit $ac_status); }; }; then
84616 eval "$as_ac_var=yes"
84617 else
84618 echo "$as_me: failed program was:" >&5
84619 sed 's/^/| /' conftest.$ac_ext >&5
84621 eval "$as_ac_var=no"
84623 rm -f conftest.err conftest.$ac_objext \
84624 conftest$ac_exeext conftest.$ac_ext
84626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84628 if test `eval echo '${'$as_ac_var'}'` = yes; then
84629 cat >>confdefs.h <<_ACEOF
84630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84631 _ACEOF
84633 else
84634 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84636 done
84639 if test x$ac_cv_func_copysignl = x"yes"; then
84641 for ac_func in __signbitl
84643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84644 echo "$as_me:$LINENO: checking for $ac_func" >&5
84645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84646 if eval "test \"\${$as_ac_var+set}\" = set"; then
84647 echo $ECHO_N "(cached) $ECHO_C" >&6
84648 else
84649 if test x$gcc_no_link = xyes; then
84650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84652 { (exit 1); exit 1; }; }
84654 cat >conftest.$ac_ext <<_ACEOF
84655 /* confdefs.h. */
84656 _ACEOF
84657 cat confdefs.h >>conftest.$ac_ext
84658 cat >>conftest.$ac_ext <<_ACEOF
84659 /* end confdefs.h. */
84660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84662 #define $ac_func innocuous_$ac_func
84664 /* System header to define __stub macros and hopefully few prototypes,
84665 which can conflict with char $ac_func (); below.
84666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84667 <limits.h> exists even on freestanding compilers. */
84669 #ifdef __STDC__
84670 # include <limits.h>
84671 #else
84672 # include <assert.h>
84673 #endif
84675 #undef $ac_func
84677 /* Override any gcc2 internal prototype to avoid an error. */
84678 #ifdef __cplusplus
84679 extern "C"
84681 #endif
84682 /* We use char because int might match the return type of a gcc2
84683 builtin and then its argument prototype would still apply. */
84684 char $ac_func ();
84685 /* The GNU C library defines this for functions which it implements
84686 to always fail with ENOSYS. Some functions are actually named
84687 something starting with __ and the normal name is an alias. */
84688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84689 choke me
84690 #else
84691 char (*f) () = $ac_func;
84692 #endif
84693 #ifdef __cplusplus
84695 #endif
84698 main ()
84700 return f != $ac_func;
84702 return 0;
84704 _ACEOF
84705 rm -f conftest.$ac_objext conftest$ac_exeext
84706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84707 (eval $ac_link) 2>conftest.er1
84708 ac_status=$?
84709 grep -v '^ *+' conftest.er1 >conftest.err
84710 rm -f conftest.er1
84711 cat conftest.err >&5
84712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84713 (exit $ac_status); } &&
84714 { ac_try='test -z "$ac_c_werror_flag"
84715 || test ! -s conftest.err'
84716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84717 (eval $ac_try) 2>&5
84718 ac_status=$?
84719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84720 (exit $ac_status); }; } &&
84721 { ac_try='test -s conftest$ac_exeext'
84722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84723 (eval $ac_try) 2>&5
84724 ac_status=$?
84725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84726 (exit $ac_status); }; }; then
84727 eval "$as_ac_var=yes"
84728 else
84729 echo "$as_me: failed program was:" >&5
84730 sed 's/^/| /' conftest.$ac_ext >&5
84732 eval "$as_ac_var=no"
84734 rm -f conftest.err conftest.$ac_objext \
84735 conftest$ac_exeext conftest.$ac_ext
84737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84739 if test `eval echo '${'$as_ac_var'}'` = yes; then
84740 cat >>confdefs.h <<_ACEOF
84741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84742 _ACEOF
84744 else
84745 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84747 done
84751 # Used in libmath/Makefile.am.
84752 if test -n "$LIBMATHOBJS"; then
84753 need_libmath=yes
84758 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84759 ac_save_CXXFLAGS="$CXXFLAGS"
84760 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84763 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84764 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84765 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84766 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84767 echo $ECHO_N "(cached) $ECHO_C" >&6
84768 else
84772 ac_ext=cc
84773 ac_cpp='$CXXCPP $CPPFLAGS'
84774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84778 cat >conftest.$ac_ext <<_ACEOF
84779 /* confdefs.h. */
84780 _ACEOF
84781 cat confdefs.h >>conftest.$ac_ext
84782 cat >>conftest.$ac_ext <<_ACEOF
84783 /* end confdefs.h. */
84784 #include <stdlib.h>
84786 main ()
84788 strtold(0, 0);
84790 return 0;
84792 _ACEOF
84793 rm -f conftest.$ac_objext
84794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84795 (eval $ac_compile) 2>conftest.er1
84796 ac_status=$?
84797 grep -v '^ *+' conftest.er1 >conftest.err
84798 rm -f conftest.er1
84799 cat conftest.err >&5
84800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84801 (exit $ac_status); } &&
84802 { ac_try='test -z "$ac_cxx_werror_flag"
84803 || test ! -s conftest.err'
84804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84805 (eval $ac_try) 2>&5
84806 ac_status=$?
84807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84808 (exit $ac_status); }; } &&
84809 { ac_try='test -s conftest.$ac_objext'
84810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84811 (eval $ac_try) 2>&5
84812 ac_status=$?
84813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84814 (exit $ac_status); }; }; then
84815 glibcxx_cv_func_strtold_use=yes
84816 else
84817 echo "$as_me: failed program was:" >&5
84818 sed 's/^/| /' conftest.$ac_ext >&5
84820 glibcxx_cv_func_strtold_use=no
84822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84823 ac_ext=c
84824 ac_cpp='$CPP $CPPFLAGS'
84825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84834 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84835 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84837 for ac_func in strtold
84839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84840 echo "$as_me:$LINENO: checking for $ac_func" >&5
84841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84842 if eval "test \"\${$as_ac_var+set}\" = set"; then
84843 echo $ECHO_N "(cached) $ECHO_C" >&6
84844 else
84845 if test x$gcc_no_link = xyes; then
84846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84848 { (exit 1); exit 1; }; }
84850 cat >conftest.$ac_ext <<_ACEOF
84851 /* confdefs.h. */
84852 _ACEOF
84853 cat confdefs.h >>conftest.$ac_ext
84854 cat >>conftest.$ac_ext <<_ACEOF
84855 /* end confdefs.h. */
84856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84858 #define $ac_func innocuous_$ac_func
84860 /* System header to define __stub macros and hopefully few prototypes,
84861 which can conflict with char $ac_func (); below.
84862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84863 <limits.h> exists even on freestanding compilers. */
84865 #ifdef __STDC__
84866 # include <limits.h>
84867 #else
84868 # include <assert.h>
84869 #endif
84871 #undef $ac_func
84873 /* Override any gcc2 internal prototype to avoid an error. */
84874 #ifdef __cplusplus
84875 extern "C"
84877 #endif
84878 /* We use char because int might match the return type of a gcc2
84879 builtin and then its argument prototype would still apply. */
84880 char $ac_func ();
84881 /* The GNU C library defines this for functions which it implements
84882 to always fail with ENOSYS. Some functions are actually named
84883 something starting with __ and the normal name is an alias. */
84884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84885 choke me
84886 #else
84887 char (*f) () = $ac_func;
84888 #endif
84889 #ifdef __cplusplus
84891 #endif
84894 main ()
84896 return f != $ac_func;
84898 return 0;
84900 _ACEOF
84901 rm -f conftest.$ac_objext conftest$ac_exeext
84902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84903 (eval $ac_link) 2>conftest.er1
84904 ac_status=$?
84905 grep -v '^ *+' conftest.er1 >conftest.err
84906 rm -f conftest.er1
84907 cat conftest.err >&5
84908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84909 (exit $ac_status); } &&
84910 { ac_try='test -z "$ac_c_werror_flag"
84911 || test ! -s conftest.err'
84912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84913 (eval $ac_try) 2>&5
84914 ac_status=$?
84915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84916 (exit $ac_status); }; } &&
84917 { ac_try='test -s conftest$ac_exeext'
84918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84919 (eval $ac_try) 2>&5
84920 ac_status=$?
84921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84922 (exit $ac_status); }; }; then
84923 eval "$as_ac_var=yes"
84924 else
84925 echo "$as_me: failed program was:" >&5
84926 sed 's/^/| /' conftest.$ac_ext >&5
84928 eval "$as_ac_var=no"
84930 rm -f conftest.err conftest.$ac_objext \
84931 conftest$ac_exeext conftest.$ac_ext
84933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84935 if test `eval echo '${'$as_ac_var'}'` = yes; then
84936 cat >>confdefs.h <<_ACEOF
84937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84938 _ACEOF
84941 done
84949 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84950 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84951 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84952 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84953 echo $ECHO_N "(cached) $ECHO_C" >&6
84954 else
84958 ac_ext=cc
84959 ac_cpp='$CXXCPP $CPPFLAGS'
84960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84964 cat >conftest.$ac_ext <<_ACEOF
84965 /* confdefs.h. */
84966 _ACEOF
84967 cat confdefs.h >>conftest.$ac_ext
84968 cat >>conftest.$ac_ext <<_ACEOF
84969 /* end confdefs.h. */
84970 #include <stdlib.h>
84972 main ()
84974 strtof(0, 0);
84976 return 0;
84978 _ACEOF
84979 rm -f conftest.$ac_objext
84980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84981 (eval $ac_compile) 2>conftest.er1
84982 ac_status=$?
84983 grep -v '^ *+' conftest.er1 >conftest.err
84984 rm -f conftest.er1
84985 cat conftest.err >&5
84986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84987 (exit $ac_status); } &&
84988 { ac_try='test -z "$ac_cxx_werror_flag"
84989 || test ! -s conftest.err'
84990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84991 (eval $ac_try) 2>&5
84992 ac_status=$?
84993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84994 (exit $ac_status); }; } &&
84995 { ac_try='test -s conftest.$ac_objext'
84996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84997 (eval $ac_try) 2>&5
84998 ac_status=$?
84999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85000 (exit $ac_status); }; }; then
85001 glibcxx_cv_func_strtof_use=yes
85002 else
85003 echo "$as_me: failed program was:" >&5
85004 sed 's/^/| /' conftest.$ac_ext >&5
85006 glibcxx_cv_func_strtof_use=no
85008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85009 ac_ext=c
85010 ac_cpp='$CPP $CPPFLAGS'
85011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
85020 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
85021 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
85023 for ac_func in strtof
85025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85026 echo "$as_me:$LINENO: checking for $ac_func" >&5
85027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85028 if eval "test \"\${$as_ac_var+set}\" = set"; then
85029 echo $ECHO_N "(cached) $ECHO_C" >&6
85030 else
85031 if test x$gcc_no_link = xyes; then
85032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85034 { (exit 1); exit 1; }; }
85036 cat >conftest.$ac_ext <<_ACEOF
85037 /* confdefs.h. */
85038 _ACEOF
85039 cat confdefs.h >>conftest.$ac_ext
85040 cat >>conftest.$ac_ext <<_ACEOF
85041 /* end confdefs.h. */
85042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85044 #define $ac_func innocuous_$ac_func
85046 /* System header to define __stub macros and hopefully few prototypes,
85047 which can conflict with char $ac_func (); below.
85048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85049 <limits.h> exists even on freestanding compilers. */
85051 #ifdef __STDC__
85052 # include <limits.h>
85053 #else
85054 # include <assert.h>
85055 #endif
85057 #undef $ac_func
85059 /* Override any gcc2 internal prototype to avoid an error. */
85060 #ifdef __cplusplus
85061 extern "C"
85063 #endif
85064 /* We use char because int might match the return type of a gcc2
85065 builtin and then its argument prototype would still apply. */
85066 char $ac_func ();
85067 /* The GNU C library defines this for functions which it implements
85068 to always fail with ENOSYS. Some functions are actually named
85069 something starting with __ and the normal name is an alias. */
85070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85071 choke me
85072 #else
85073 char (*f) () = $ac_func;
85074 #endif
85075 #ifdef __cplusplus
85077 #endif
85080 main ()
85082 return f != $ac_func;
85084 return 0;
85086 _ACEOF
85087 rm -f conftest.$ac_objext conftest$ac_exeext
85088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85089 (eval $ac_link) 2>conftest.er1
85090 ac_status=$?
85091 grep -v '^ *+' conftest.er1 >conftest.err
85092 rm -f conftest.er1
85093 cat conftest.err >&5
85094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85095 (exit $ac_status); } &&
85096 { ac_try='test -z "$ac_c_werror_flag"
85097 || test ! -s conftest.err'
85098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85099 (eval $ac_try) 2>&5
85100 ac_status=$?
85101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85102 (exit $ac_status); }; } &&
85103 { ac_try='test -s conftest$ac_exeext'
85104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85105 (eval $ac_try) 2>&5
85106 ac_status=$?
85107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85108 (exit $ac_status); }; }; then
85109 eval "$as_ac_var=yes"
85110 else
85111 echo "$as_me: failed program was:" >&5
85112 sed 's/^/| /' conftest.$ac_ext >&5
85114 eval "$as_ac_var=no"
85116 rm -f conftest.err conftest.$ac_objext \
85117 conftest$ac_exeext conftest.$ac_ext
85119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85121 if test `eval echo '${'$as_ac_var'}'` = yes; then
85122 cat >>confdefs.h <<_ACEOF
85123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85124 _ACEOF
85127 done
85135 CXXFLAGS="$ac_save_CXXFLAGS"
85138 # For showmanyc_helper().
85141 for ac_header in sys/ioctl.h sys/filio.h
85143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85145 echo "$as_me:$LINENO: checking for $ac_header" >&5
85146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85148 echo $ECHO_N "(cached) $ECHO_C" >&6
85150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85152 else
85153 # Is the header compilable?
85154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85156 cat >conftest.$ac_ext <<_ACEOF
85157 /* confdefs.h. */
85158 _ACEOF
85159 cat confdefs.h >>conftest.$ac_ext
85160 cat >>conftest.$ac_ext <<_ACEOF
85161 /* end confdefs.h. */
85162 $ac_includes_default
85163 #include <$ac_header>
85164 _ACEOF
85165 rm -f conftest.$ac_objext
85166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85167 (eval $ac_compile) 2>conftest.er1
85168 ac_status=$?
85169 grep -v '^ *+' conftest.er1 >conftest.err
85170 rm -f conftest.er1
85171 cat conftest.err >&5
85172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85173 (exit $ac_status); } &&
85174 { ac_try='test -z "$ac_c_werror_flag"
85175 || test ! -s conftest.err'
85176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85177 (eval $ac_try) 2>&5
85178 ac_status=$?
85179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85180 (exit $ac_status); }; } &&
85181 { ac_try='test -s conftest.$ac_objext'
85182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85183 (eval $ac_try) 2>&5
85184 ac_status=$?
85185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85186 (exit $ac_status); }; }; then
85187 ac_header_compiler=yes
85188 else
85189 echo "$as_me: failed program was:" >&5
85190 sed 's/^/| /' conftest.$ac_ext >&5
85192 ac_header_compiler=no
85194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85196 echo "${ECHO_T}$ac_header_compiler" >&6
85198 # Is the header present?
85199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85201 cat >conftest.$ac_ext <<_ACEOF
85202 /* confdefs.h. */
85203 _ACEOF
85204 cat confdefs.h >>conftest.$ac_ext
85205 cat >>conftest.$ac_ext <<_ACEOF
85206 /* end confdefs.h. */
85207 #include <$ac_header>
85208 _ACEOF
85209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85211 ac_status=$?
85212 grep -v '^ *+' conftest.er1 >conftest.err
85213 rm -f conftest.er1
85214 cat conftest.err >&5
85215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85216 (exit $ac_status); } >/dev/null; then
85217 if test -s conftest.err; then
85218 ac_cpp_err=$ac_c_preproc_warn_flag
85219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85220 else
85221 ac_cpp_err=
85223 else
85224 ac_cpp_err=yes
85226 if test -z "$ac_cpp_err"; then
85227 ac_header_preproc=yes
85228 else
85229 echo "$as_me: failed program was:" >&5
85230 sed 's/^/| /' conftest.$ac_ext >&5
85232 ac_header_preproc=no
85234 rm -f conftest.err conftest.$ac_ext
85235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85236 echo "${ECHO_T}$ac_header_preproc" >&6
85238 # So? What about this header?
85239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85240 yes:no: )
85241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85245 ac_header_preproc=yes
85247 no:yes:* )
85248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85261 cat <<\_ASBOX
85262 ## ----------------------------------------- ##
85263 ## Report this to the package-unused lists. ##
85264 ## ----------------------------------------- ##
85265 _ASBOX
85267 sed "s/^/$as_me: WARNING: /" >&2
85269 esac
85270 echo "$as_me:$LINENO: checking for $ac_header" >&5
85271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85273 echo $ECHO_N "(cached) $ECHO_C" >&6
85274 else
85275 eval "$as_ac_Header=\$ac_header_preproc"
85277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85282 cat >>confdefs.h <<_ACEOF
85283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85284 _ACEOF
85288 done
85291 echo "$as_me:$LINENO: checking for poll" >&5
85292 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85293 if test "${glibcxx_cv_POLL+set}" = set; then
85294 echo $ECHO_N "(cached) $ECHO_C" >&6
85295 else
85297 if test x$gcc_no_link = xyes; then
85298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85300 { (exit 1); exit 1; }; }
85302 cat >conftest.$ac_ext <<_ACEOF
85303 /* confdefs.h. */
85304 _ACEOF
85305 cat confdefs.h >>conftest.$ac_ext
85306 cat >>conftest.$ac_ext <<_ACEOF
85307 /* end confdefs.h. */
85308 #include <poll.h>
85310 main ()
85312 struct pollfd pfd[1];
85313 pfd[0].events = POLLIN;
85314 poll(pfd, 1, 0);
85316 return 0;
85318 _ACEOF
85319 rm -f conftest.$ac_objext conftest$ac_exeext
85320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85321 (eval $ac_link) 2>conftest.er1
85322 ac_status=$?
85323 grep -v '^ *+' conftest.er1 >conftest.err
85324 rm -f conftest.er1
85325 cat conftest.err >&5
85326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85327 (exit $ac_status); } &&
85328 { ac_try='test -z "$ac_c_werror_flag"
85329 || test ! -s conftest.err'
85330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85331 (eval $ac_try) 2>&5
85332 ac_status=$?
85333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85334 (exit $ac_status); }; } &&
85335 { ac_try='test -s conftest$ac_exeext'
85336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85337 (eval $ac_try) 2>&5
85338 ac_status=$?
85339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85340 (exit $ac_status); }; }; then
85341 glibcxx_cv_POLL=yes
85342 else
85343 echo "$as_me: failed program was:" >&5
85344 sed 's/^/| /' conftest.$ac_ext >&5
85346 glibcxx_cv_POLL=no
85348 rm -f conftest.err conftest.$ac_objext \
85349 conftest$ac_exeext conftest.$ac_ext
85353 if test $glibcxx_cv_POLL = yes; then
85355 cat >>confdefs.h <<\_ACEOF
85356 #define HAVE_POLL 1
85357 _ACEOF
85360 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85361 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85364 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85365 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85366 if test "${glibcxx_cv_S_ISREG+set}" = set; then
85367 echo $ECHO_N "(cached) $ECHO_C" >&6
85368 else
85370 if test x$gcc_no_link = xyes; then
85371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85373 { (exit 1); exit 1; }; }
85375 cat >conftest.$ac_ext <<_ACEOF
85376 /* confdefs.h. */
85377 _ACEOF
85378 cat confdefs.h >>conftest.$ac_ext
85379 cat >>conftest.$ac_ext <<_ACEOF
85380 /* end confdefs.h. */
85381 #include <sys/stat.h>
85383 main ()
85385 struct stat buffer;
85386 fstat(0, &buffer);
85387 S_ISREG(buffer.st_mode);
85389 return 0;
85391 _ACEOF
85392 rm -f conftest.$ac_objext conftest$ac_exeext
85393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85394 (eval $ac_link) 2>conftest.er1
85395 ac_status=$?
85396 grep -v '^ *+' conftest.er1 >conftest.err
85397 rm -f conftest.er1
85398 cat conftest.err >&5
85399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85400 (exit $ac_status); } &&
85401 { ac_try='test -z "$ac_c_werror_flag"
85402 || test ! -s conftest.err'
85403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85404 (eval $ac_try) 2>&5
85405 ac_status=$?
85406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85407 (exit $ac_status); }; } &&
85408 { ac_try='test -s conftest$ac_exeext'
85409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85410 (eval $ac_try) 2>&5
85411 ac_status=$?
85412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85413 (exit $ac_status); }; }; then
85414 glibcxx_cv_S_ISREG=yes
85415 else
85416 echo "$as_me: failed program was:" >&5
85417 sed 's/^/| /' conftest.$ac_ext >&5
85419 glibcxx_cv_S_ISREG=no
85421 rm -f conftest.err conftest.$ac_objext \
85422 conftest$ac_exeext conftest.$ac_ext
85426 if test "${glibcxx_cv_S_IFREG+set}" = set; then
85427 echo $ECHO_N "(cached) $ECHO_C" >&6
85428 else
85430 if test x$gcc_no_link = xyes; then
85431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85433 { (exit 1); exit 1; }; }
85435 cat >conftest.$ac_ext <<_ACEOF
85436 /* confdefs.h. */
85437 _ACEOF
85438 cat confdefs.h >>conftest.$ac_ext
85439 cat >>conftest.$ac_ext <<_ACEOF
85440 /* end confdefs.h. */
85441 #include <sys/stat.h>
85443 main ()
85445 struct stat buffer;
85446 fstat(0, &buffer);
85447 S_IFREG & buffer.st_mode;
85449 return 0;
85451 _ACEOF
85452 rm -f conftest.$ac_objext conftest$ac_exeext
85453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85454 (eval $ac_link) 2>conftest.er1
85455 ac_status=$?
85456 grep -v '^ *+' conftest.er1 >conftest.err
85457 rm -f conftest.er1
85458 cat conftest.err >&5
85459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85460 (exit $ac_status); } &&
85461 { ac_try='test -z "$ac_c_werror_flag"
85462 || test ! -s conftest.err'
85463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85464 (eval $ac_try) 2>&5
85465 ac_status=$?
85466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85467 (exit $ac_status); }; } &&
85468 { ac_try='test -s conftest$ac_exeext'
85469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85470 (eval $ac_try) 2>&5
85471 ac_status=$?
85472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85473 (exit $ac_status); }; }; then
85474 glibcxx_cv_S_IFREG=yes
85475 else
85476 echo "$as_me: failed program was:" >&5
85477 sed 's/^/| /' conftest.$ac_ext >&5
85479 glibcxx_cv_S_IFREG=no
85481 rm -f conftest.err conftest.$ac_objext \
85482 conftest$ac_exeext conftest.$ac_ext
85486 res=no
85487 if test $glibcxx_cv_S_ISREG = yes; then
85489 cat >>confdefs.h <<\_ACEOF
85490 #define HAVE_S_ISREG 1
85491 _ACEOF
85493 res=S_ISREG
85494 elif test $glibcxx_cv_S_IFREG = yes; then
85496 cat >>confdefs.h <<\_ACEOF
85497 #define HAVE_S_IFREG 1
85498 _ACEOF
85500 res=S_IFREG
85502 echo "$as_me:$LINENO: result: $res" >&5
85503 echo "${ECHO_T}$res" >&6
85506 # For xsputn_2().
85508 for ac_header in sys/uio.h
85510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85512 echo "$as_me:$LINENO: checking for $ac_header" >&5
85513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85515 echo $ECHO_N "(cached) $ECHO_C" >&6
85517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85519 else
85520 # Is the header compilable?
85521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85523 cat >conftest.$ac_ext <<_ACEOF
85524 /* confdefs.h. */
85525 _ACEOF
85526 cat confdefs.h >>conftest.$ac_ext
85527 cat >>conftest.$ac_ext <<_ACEOF
85528 /* end confdefs.h. */
85529 $ac_includes_default
85530 #include <$ac_header>
85531 _ACEOF
85532 rm -f conftest.$ac_objext
85533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85534 (eval $ac_compile) 2>conftest.er1
85535 ac_status=$?
85536 grep -v '^ *+' conftest.er1 >conftest.err
85537 rm -f conftest.er1
85538 cat conftest.err >&5
85539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85540 (exit $ac_status); } &&
85541 { ac_try='test -z "$ac_c_werror_flag"
85542 || test ! -s conftest.err'
85543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85544 (eval $ac_try) 2>&5
85545 ac_status=$?
85546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85547 (exit $ac_status); }; } &&
85548 { ac_try='test -s conftest.$ac_objext'
85549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85550 (eval $ac_try) 2>&5
85551 ac_status=$?
85552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85553 (exit $ac_status); }; }; then
85554 ac_header_compiler=yes
85555 else
85556 echo "$as_me: failed program was:" >&5
85557 sed 's/^/| /' conftest.$ac_ext >&5
85559 ac_header_compiler=no
85561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85563 echo "${ECHO_T}$ac_header_compiler" >&6
85565 # Is the header present?
85566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85568 cat >conftest.$ac_ext <<_ACEOF
85569 /* confdefs.h. */
85570 _ACEOF
85571 cat confdefs.h >>conftest.$ac_ext
85572 cat >>conftest.$ac_ext <<_ACEOF
85573 /* end confdefs.h. */
85574 #include <$ac_header>
85575 _ACEOF
85576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85578 ac_status=$?
85579 grep -v '^ *+' conftest.er1 >conftest.err
85580 rm -f conftest.er1
85581 cat conftest.err >&5
85582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85583 (exit $ac_status); } >/dev/null; then
85584 if test -s conftest.err; then
85585 ac_cpp_err=$ac_c_preproc_warn_flag
85586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85587 else
85588 ac_cpp_err=
85590 else
85591 ac_cpp_err=yes
85593 if test -z "$ac_cpp_err"; then
85594 ac_header_preproc=yes
85595 else
85596 echo "$as_me: failed program was:" >&5
85597 sed 's/^/| /' conftest.$ac_ext >&5
85599 ac_header_preproc=no
85601 rm -f conftest.err conftest.$ac_ext
85602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85603 echo "${ECHO_T}$ac_header_preproc" >&6
85605 # So? What about this header?
85606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85607 yes:no: )
85608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85612 ac_header_preproc=yes
85614 no:yes:* )
85615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85628 cat <<\_ASBOX
85629 ## ----------------------------------------- ##
85630 ## Report this to the package-unused lists. ##
85631 ## ----------------------------------------- ##
85632 _ASBOX
85634 sed "s/^/$as_me: WARNING: /" >&2
85636 esac
85637 echo "$as_me:$LINENO: checking for $ac_header" >&5
85638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85640 echo $ECHO_N "(cached) $ECHO_C" >&6
85641 else
85642 eval "$as_ac_Header=\$ac_header_preproc"
85644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85649 cat >>confdefs.h <<_ACEOF
85650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85651 _ACEOF
85655 done
85658 echo "$as_me:$LINENO: checking for writev" >&5
85659 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85660 if test "${glibcxx_cv_WRITEV+set}" = set; then
85661 echo $ECHO_N "(cached) $ECHO_C" >&6
85662 else
85664 if test x$gcc_no_link = xyes; then
85665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85667 { (exit 1); exit 1; }; }
85669 cat >conftest.$ac_ext <<_ACEOF
85670 /* confdefs.h. */
85671 _ACEOF
85672 cat confdefs.h >>conftest.$ac_ext
85673 cat >>conftest.$ac_ext <<_ACEOF
85674 /* end confdefs.h. */
85675 #include <sys/uio.h>
85677 main ()
85679 struct iovec iov[2];
85680 writev(0, iov, 0);
85682 return 0;
85684 _ACEOF
85685 rm -f conftest.$ac_objext conftest$ac_exeext
85686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85687 (eval $ac_link) 2>conftest.er1
85688 ac_status=$?
85689 grep -v '^ *+' conftest.er1 >conftest.err
85690 rm -f conftest.er1
85691 cat conftest.err >&5
85692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85693 (exit $ac_status); } &&
85694 { ac_try='test -z "$ac_c_werror_flag"
85695 || test ! -s conftest.err'
85696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85697 (eval $ac_try) 2>&5
85698 ac_status=$?
85699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85700 (exit $ac_status); }; } &&
85701 { ac_try='test -s conftest$ac_exeext'
85702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85703 (eval $ac_try) 2>&5
85704 ac_status=$?
85705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85706 (exit $ac_status); }; }; then
85707 glibcxx_cv_WRITEV=yes
85708 else
85709 echo "$as_me: failed program was:" >&5
85710 sed 's/^/| /' conftest.$ac_ext >&5
85712 glibcxx_cv_WRITEV=no
85714 rm -f conftest.err conftest.$ac_objext \
85715 conftest$ac_exeext conftest.$ac_ext
85719 if test $glibcxx_cv_WRITEV = yes; then
85721 cat >>confdefs.h <<\_ACEOF
85722 #define HAVE_WRITEV 1
85723 _ACEOF
85726 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85727 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85730 cat >>confdefs.h <<\_ACEOF
85731 #define HAVE_LC_MESSAGES 1
85732 _ACEOF
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 #include <setjmp.h>
85743 main ()
85745 sigjmp_buf env;
85746 while (! sigsetjmp (env, 1))
85747 siglongjmp (env, 1);
85750 return 0;
85752 _ACEOF
85753 rm -f conftest.$ac_objext
85754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85755 (eval $ac_compile) 2>conftest.er1
85756 ac_status=$?
85757 grep -v '^ *+' conftest.er1 >conftest.err
85758 rm -f conftest.er1
85759 cat conftest.err >&5
85760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85761 (exit $ac_status); } &&
85762 { ac_try='test -z "$ac_c_werror_flag"
85763 || test ! -s conftest.err'
85764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85765 (eval $ac_try) 2>&5
85766 ac_status=$?
85767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85768 (exit $ac_status); }; } &&
85769 { ac_try='test -s conftest.$ac_objext'
85770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85771 (eval $ac_try) 2>&5
85772 ac_status=$?
85773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85774 (exit $ac_status); }; }; then
85776 cat >>confdefs.h <<\_ACEOF
85777 #define HAVE_SIGSETJMP 1
85778 _ACEOF
85780 else
85781 echo "$as_me: failed program was:" >&5
85782 sed 's/^/| /' conftest.$ac_ext >&5
85785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85787 cat >>confdefs.h <<\_ACEOF
85788 #define HAVE_MMAP 1
85789 _ACEOF
85793 *djgpp)
85814 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85815 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85816 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85817 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85821 echo "$as_me:$LINENO: checking for $ac_header" >&5
85822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85824 echo $ECHO_N "(cached) $ECHO_C" >&6
85826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85828 else
85829 # Is the header compilable?
85830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85832 cat >conftest.$ac_ext <<_ACEOF
85833 /* confdefs.h. */
85834 _ACEOF
85835 cat confdefs.h >>conftest.$ac_ext
85836 cat >>conftest.$ac_ext <<_ACEOF
85837 /* end confdefs.h. */
85838 $ac_includes_default
85839 #include <$ac_header>
85840 _ACEOF
85841 rm -f conftest.$ac_objext
85842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85843 (eval $ac_compile) 2>conftest.er1
85844 ac_status=$?
85845 grep -v '^ *+' conftest.er1 >conftest.err
85846 rm -f conftest.er1
85847 cat conftest.err >&5
85848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85849 (exit $ac_status); } &&
85850 { ac_try='test -z "$ac_c_werror_flag"
85851 || test ! -s conftest.err'
85852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85853 (eval $ac_try) 2>&5
85854 ac_status=$?
85855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85856 (exit $ac_status); }; } &&
85857 { ac_try='test -s conftest.$ac_objext'
85858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85859 (eval $ac_try) 2>&5
85860 ac_status=$?
85861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85862 (exit $ac_status); }; }; then
85863 ac_header_compiler=yes
85864 else
85865 echo "$as_me: failed program was:" >&5
85866 sed 's/^/| /' conftest.$ac_ext >&5
85868 ac_header_compiler=no
85870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85872 echo "${ECHO_T}$ac_header_compiler" >&6
85874 # Is the header present?
85875 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85877 cat >conftest.$ac_ext <<_ACEOF
85878 /* confdefs.h. */
85879 _ACEOF
85880 cat confdefs.h >>conftest.$ac_ext
85881 cat >>conftest.$ac_ext <<_ACEOF
85882 /* end confdefs.h. */
85883 #include <$ac_header>
85884 _ACEOF
85885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85887 ac_status=$?
85888 grep -v '^ *+' conftest.er1 >conftest.err
85889 rm -f conftest.er1
85890 cat conftest.err >&5
85891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85892 (exit $ac_status); } >/dev/null; then
85893 if test -s conftest.err; then
85894 ac_cpp_err=$ac_c_preproc_warn_flag
85895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85896 else
85897 ac_cpp_err=
85899 else
85900 ac_cpp_err=yes
85902 if test -z "$ac_cpp_err"; then
85903 ac_header_preproc=yes
85904 else
85905 echo "$as_me: failed program was:" >&5
85906 sed 's/^/| /' conftest.$ac_ext >&5
85908 ac_header_preproc=no
85910 rm -f conftest.err conftest.$ac_ext
85911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85912 echo "${ECHO_T}$ac_header_preproc" >&6
85914 # So? What about this header?
85915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85916 yes:no: )
85917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85921 ac_header_preproc=yes
85923 no:yes:* )
85924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85937 cat <<\_ASBOX
85938 ## ----------------------------------------- ##
85939 ## Report this to the package-unused lists. ##
85940 ## ----------------------------------------- ##
85941 _ASBOX
85943 sed "s/^/$as_me: WARNING: /" >&2
85945 esac
85946 echo "$as_me:$LINENO: checking for $ac_header" >&5
85947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85949 echo $ECHO_N "(cached) $ECHO_C" >&6
85950 else
85951 eval "$as_ac_Header=\$ac_header_preproc"
85953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85958 cat >>confdefs.h <<_ACEOF
85959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85960 _ACEOF
85964 done
85966 # GLIBCXX_CHECK_MATH_SUPPORT
85967 cat >>confdefs.h <<\_ACEOF
85968 #define HAVE_LIBM 1
85969 _ACEOF
85971 cat >>confdefs.h <<\_ACEOF
85972 #define HAVE_ISINF 1
85973 _ACEOF
85975 cat >>confdefs.h <<\_ACEOF
85976 #define HAVE_ISNAN 1
85977 _ACEOF
85979 cat >>confdefs.h <<\_ACEOF
85980 #define HAVE_FINITE 1
85981 _ACEOF
85983 cat >>confdefs.h <<\_ACEOF
85984 #define HAVE_COPYSIGN 1
85985 _ACEOF
85987 cat >>confdefs.h <<\_ACEOF
85988 #define HAVE_SINCOS 1
85989 _ACEOF
85991 cat >>confdefs.h <<\_ACEOF
85992 #define HAVE_HYPOT 1
85993 _ACEOF
85995 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85996 cat >>confdefs.h <<\_ACEOF
85997 #define HAVE___BUILTIN_ABS 1
85998 _ACEOF
86000 cat >>confdefs.h <<\_ACEOF
86001 #define HAVE___BUILTIN_FABSF 1
86002 _ACEOF
86004 cat >>confdefs.h <<\_ACEOF
86005 #define HAVE___BUILTIN_FABS 1
86006 _ACEOF
86008 cat >>confdefs.h <<\_ACEOF
86009 #define HAVE___BUILTIN_FABSL 1
86010 _ACEOF
86012 cat >>confdefs.h <<\_ACEOF
86013 #define HAVE___BUILTIN_LABS 1
86014 _ACEOF
86016 cat >>confdefs.h <<\_ACEOF
86017 #define HAVE___BUILTIN_SQRTF 1
86018 _ACEOF
86020 cat >>confdefs.h <<\_ACEOF
86021 #define HAVE___BUILTIN_SQRT 1
86022 _ACEOF
86024 cat >>confdefs.h <<\_ACEOF
86025 #define HAVE___BUILTIN_SQRTL 1
86026 _ACEOF
86028 cat >>confdefs.h <<\_ACEOF
86029 #define HAVE___BUILTIN_SINF 1
86030 _ACEOF
86032 cat >>confdefs.h <<\_ACEOF
86033 #define HAVE___BUILTIN_SIN 1
86034 _ACEOF
86036 cat >>confdefs.h <<\_ACEOF
86037 #define HAVE___BUILTIN_SINL 1
86038 _ACEOF
86040 cat >>confdefs.h <<\_ACEOF
86041 #define HAVE___BUILTIN_COSF 1
86042 _ACEOF
86044 cat >>confdefs.h <<\_ACEOF
86045 #define HAVE___BUILTIN_COS 1
86046 _ACEOF
86048 cat >>confdefs.h <<\_ACEOF
86049 #define HAVE___BUILTIN_COSL 1
86050 _ACEOF
86052 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
86053 # GLIBCXX_CHECK_STDLIB_SUPPORT
86054 cat >>confdefs.h <<\_ACEOF
86055 #define HAVE_COPYSIGN 1
86056 _ACEOF
86058 cat >>confdefs.h <<\_ACEOF
86059 #define HAVE_COPYSIGNF 1
86060 _ACEOF
86062 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
86063 cat >>confdefs.h <<\_ACEOF
86064 #define HAVE_S_ISREG 1
86065 _ACEOF
86067 cat >>confdefs.h <<\_ACEOF
86068 #define HAVE_S_IFREG 1
86069 _ACEOF
86071 cat >>confdefs.h <<\_ACEOF
86072 #define HAVE_WRITEV 1
86073 _ACEOF
86077 *-freebsd*)
86094 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86095 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86096 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
86097 sys/time.h unistd.h
86099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86101 echo "$as_me:$LINENO: checking for $ac_header" >&5
86102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86104 echo $ECHO_N "(cached) $ECHO_C" >&6
86106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86108 else
86109 # Is the header compilable?
86110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86112 cat >conftest.$ac_ext <<_ACEOF
86113 /* confdefs.h. */
86114 _ACEOF
86115 cat confdefs.h >>conftest.$ac_ext
86116 cat >>conftest.$ac_ext <<_ACEOF
86117 /* end confdefs.h. */
86118 $ac_includes_default
86119 #include <$ac_header>
86120 _ACEOF
86121 rm -f conftest.$ac_objext
86122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86123 (eval $ac_compile) 2>conftest.er1
86124 ac_status=$?
86125 grep -v '^ *+' conftest.er1 >conftest.err
86126 rm -f conftest.er1
86127 cat conftest.err >&5
86128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86129 (exit $ac_status); } &&
86130 { ac_try='test -z "$ac_c_werror_flag"
86131 || test ! -s conftest.err'
86132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86133 (eval $ac_try) 2>&5
86134 ac_status=$?
86135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86136 (exit $ac_status); }; } &&
86137 { ac_try='test -s conftest.$ac_objext'
86138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86139 (eval $ac_try) 2>&5
86140 ac_status=$?
86141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86142 (exit $ac_status); }; }; then
86143 ac_header_compiler=yes
86144 else
86145 echo "$as_me: failed program was:" >&5
86146 sed 's/^/| /' conftest.$ac_ext >&5
86148 ac_header_compiler=no
86150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86152 echo "${ECHO_T}$ac_header_compiler" >&6
86154 # Is the header present?
86155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86157 cat >conftest.$ac_ext <<_ACEOF
86158 /* confdefs.h. */
86159 _ACEOF
86160 cat confdefs.h >>conftest.$ac_ext
86161 cat >>conftest.$ac_ext <<_ACEOF
86162 /* end confdefs.h. */
86163 #include <$ac_header>
86164 _ACEOF
86165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86167 ac_status=$?
86168 grep -v '^ *+' conftest.er1 >conftest.err
86169 rm -f conftest.er1
86170 cat conftest.err >&5
86171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86172 (exit $ac_status); } >/dev/null; then
86173 if test -s conftest.err; then
86174 ac_cpp_err=$ac_c_preproc_warn_flag
86175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86176 else
86177 ac_cpp_err=
86179 else
86180 ac_cpp_err=yes
86182 if test -z "$ac_cpp_err"; then
86183 ac_header_preproc=yes
86184 else
86185 echo "$as_me: failed program was:" >&5
86186 sed 's/^/| /' conftest.$ac_ext >&5
86188 ac_header_preproc=no
86190 rm -f conftest.err conftest.$ac_ext
86191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86192 echo "${ECHO_T}$ac_header_preproc" >&6
86194 # So? What about this header?
86195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86196 yes:no: )
86197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86201 ac_header_preproc=yes
86203 no:yes:* )
86204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86217 cat <<\_ASBOX
86218 ## ----------------------------------------- ##
86219 ## Report this to the package-unused lists. ##
86220 ## ----------------------------------------- ##
86221 _ASBOX
86223 sed "s/^/$as_me: WARNING: /" >&2
86225 esac
86226 echo "$as_me:$LINENO: checking for $ac_header" >&5
86227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86229 echo $ECHO_N "(cached) $ECHO_C" >&6
86230 else
86231 eval "$as_ac_Header=\$ac_header_preproc"
86233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86238 cat >>confdefs.h <<_ACEOF
86239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86240 _ACEOF
86244 done
86246 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86249 # If we're not using GNU ld, then there's no point in even trying these
86250 # tests. Check for that first. We should have already tested for gld
86251 # by now (in libtool), but require it now just to be safe...
86252 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86253 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86257 # The name set by libtool depends on the version of libtool. Shame on us
86258 # for depending on an impl detail, but c'est la vie. Older versions used
86259 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86260 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86261 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86262 # set (hence we're using an older libtool), then set it.
86263 if test x${with_gnu_ld+set} != xset; then
86264 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86265 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86266 with_gnu_ld=no
86267 else
86268 with_gnu_ld=$ac_cv_prog_gnu_ld
86272 # Start by getting the version number. I think the libtool test already
86273 # does some of this, but throws away the result.
86274 glibcxx_ld_is_gold=no
86275 if test x"$with_gnu_ld" = x"yes"; then
86276 echo "$as_me:$LINENO: checking for ld version" >&5
86277 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86279 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86280 glibcxx_ld_is_gold=yes
86282 ldver=`$LD --version 2>/dev/null | head -1 | \
86283 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86285 glibcxx_gnu_ld_version=`echo $ldver | \
86286 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86287 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86288 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86291 # Set --gc-sections.
86292 glibcxx_have_gc_sections=no
86293 if test "$glibcxx_ld_is_gold" = "yes"; then
86294 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86295 glibcxx_have_gc_sections=yes
86297 else
86298 glibcxx_gcsections_min_ld=21602
86299 if test x"$with_gnu_ld" = x"yes" &&
86300 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86301 glibcxx_have_gc_sections=yes
86304 if test "$glibcxx_have_gc_sections" = "yes"; then
86305 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86306 # NB: This flag only works reliably after 2.16.1. Configure tests
86307 # for this are difficult, so hard wire a value that should work.
86309 ac_test_CFLAGS="${CFLAGS+set}"
86310 ac_save_CFLAGS="$CFLAGS"
86311 CFLAGS='-Wl,--gc-sections'
86313 # Check for -Wl,--gc-sections
86314 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86315 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86316 if test x$gcc_no_link = xyes; then
86317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86319 { (exit 1); exit 1; }; }
86321 cat >conftest.$ac_ext <<_ACEOF
86322 /* confdefs.h. */
86323 _ACEOF
86324 cat confdefs.h >>conftest.$ac_ext
86325 cat >>conftest.$ac_ext <<_ACEOF
86326 /* end confdefs.h. */
86327 int one(void) { return 1; }
86328 int two(void) { return 2; }
86331 main ()
86333 two();
86335 return 0;
86337 _ACEOF
86338 rm -f conftest.$ac_objext conftest$ac_exeext
86339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86340 (eval $ac_link) 2>conftest.er1
86341 ac_status=$?
86342 grep -v '^ *+' conftest.er1 >conftest.err
86343 rm -f conftest.er1
86344 cat conftest.err >&5
86345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86346 (exit $ac_status); } &&
86347 { ac_try='test -z "$ac_c_werror_flag"
86348 || test ! -s conftest.err'
86349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86350 (eval $ac_try) 2>&5
86351 ac_status=$?
86352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86353 (exit $ac_status); }; } &&
86354 { ac_try='test -s conftest$ac_exeext'
86355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86356 (eval $ac_try) 2>&5
86357 ac_status=$?
86358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86359 (exit $ac_status); }; }; then
86360 ac_gcsections=yes
86361 else
86362 echo "$as_me: failed program was:" >&5
86363 sed 's/^/| /' conftest.$ac_ext >&5
86365 ac_gcsections=no
86367 rm -f conftest.err conftest.$ac_objext \
86368 conftest$ac_exeext conftest.$ac_ext
86369 if test "$ac_gcsections" = "yes"; then
86370 rm -f conftest.c
86371 touch conftest.c
86372 if $CC -c conftest.c; then
86373 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86374 grep "Warning: gc-sections option ignored" > /dev/null; then
86375 ac_gcsections=no
86378 rm -f conftest.c conftest.o conftest
86380 if test "$ac_gcsections" = "yes"; then
86381 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86383 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86384 echo "${ECHO_T}$ac_gcsections" >&6
86386 if test "$ac_test_CFLAGS" = set; then
86387 CFLAGS="$ac_save_CFLAGS"
86388 else
86389 # this is the suspicious part
86390 CFLAGS=''
86394 # Set -z,relro.
86395 # Note this is only for shared objects.
86396 ac_ld_relro=no
86397 if test x"$with_gnu_ld" = x"yes"; then
86398 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86399 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86400 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86401 if test -n "$cxx_z_relo"; then
86402 OPT_LDFLAGS="-Wl,-z,relro"
86403 ac_ld_relro=yes
86405 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86406 echo "${ECHO_T}$ac_ld_relro" >&6
86409 # Set linker optimization flags.
86410 if test x"$with_gnu_ld" = x"yes"; then
86411 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86419 echo "$as_me:$LINENO: checking for main in -lm" >&5
86420 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86421 if test "${ac_cv_lib_m_main+set}" = set; then
86422 echo $ECHO_N "(cached) $ECHO_C" >&6
86423 else
86424 ac_check_lib_save_LIBS=$LIBS
86425 LIBS="-lm $LIBS"
86426 if test x$gcc_no_link = xyes; then
86427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86429 { (exit 1); exit 1; }; }
86431 cat >conftest.$ac_ext <<_ACEOF
86432 /* confdefs.h. */
86433 _ACEOF
86434 cat confdefs.h >>conftest.$ac_ext
86435 cat >>conftest.$ac_ext <<_ACEOF
86436 /* end confdefs.h. */
86440 main ()
86442 main ();
86444 return 0;
86446 _ACEOF
86447 rm -f conftest.$ac_objext conftest$ac_exeext
86448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86449 (eval $ac_link) 2>conftest.er1
86450 ac_status=$?
86451 grep -v '^ *+' conftest.er1 >conftest.err
86452 rm -f conftest.er1
86453 cat conftest.err >&5
86454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86455 (exit $ac_status); } &&
86456 { ac_try='test -z "$ac_c_werror_flag"
86457 || test ! -s conftest.err'
86458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86459 (eval $ac_try) 2>&5
86460 ac_status=$?
86461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86462 (exit $ac_status); }; } &&
86463 { ac_try='test -s conftest$ac_exeext'
86464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86465 (eval $ac_try) 2>&5
86466 ac_status=$?
86467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86468 (exit $ac_status); }; }; then
86469 ac_cv_lib_m_main=yes
86470 else
86471 echo "$as_me: failed program was:" >&5
86472 sed 's/^/| /' conftest.$ac_ext >&5
86474 ac_cv_lib_m_main=no
86476 rm -f conftest.err conftest.$ac_objext \
86477 conftest$ac_exeext conftest.$ac_ext
86478 LIBS=$ac_check_lib_save_LIBS
86480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86481 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86482 if test $ac_cv_lib_m_main = yes; then
86483 cat >>confdefs.h <<_ACEOF
86484 #define HAVE_LIBM 1
86485 _ACEOF
86487 LIBS="-lm $LIBS"
86492 for ac_func in copysignf
86494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86495 echo "$as_me:$LINENO: checking for $ac_func" >&5
86496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86497 if eval "test \"\${$as_ac_var+set}\" = set"; then
86498 echo $ECHO_N "(cached) $ECHO_C" >&6
86499 else
86500 if test x$gcc_no_link = xyes; then
86501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86503 { (exit 1); exit 1; }; }
86505 cat >conftest.$ac_ext <<_ACEOF
86506 /* confdefs.h. */
86507 _ACEOF
86508 cat confdefs.h >>conftest.$ac_ext
86509 cat >>conftest.$ac_ext <<_ACEOF
86510 /* end confdefs.h. */
86511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86513 #define $ac_func innocuous_$ac_func
86515 /* System header to define __stub macros and hopefully few prototypes,
86516 which can conflict with char $ac_func (); below.
86517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86518 <limits.h> exists even on freestanding compilers. */
86520 #ifdef __STDC__
86521 # include <limits.h>
86522 #else
86523 # include <assert.h>
86524 #endif
86526 #undef $ac_func
86528 /* Override any gcc2 internal prototype to avoid an error. */
86529 #ifdef __cplusplus
86530 extern "C"
86532 #endif
86533 /* We use char because int might match the return type of a gcc2
86534 builtin and then its argument prototype would still apply. */
86535 char $ac_func ();
86536 /* The GNU C library defines this for functions which it implements
86537 to always fail with ENOSYS. Some functions are actually named
86538 something starting with __ and the normal name is an alias. */
86539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86540 choke me
86541 #else
86542 char (*f) () = $ac_func;
86543 #endif
86544 #ifdef __cplusplus
86546 #endif
86549 main ()
86551 return f != $ac_func;
86553 return 0;
86555 _ACEOF
86556 rm -f conftest.$ac_objext conftest$ac_exeext
86557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86558 (eval $ac_link) 2>conftest.er1
86559 ac_status=$?
86560 grep -v '^ *+' conftest.er1 >conftest.err
86561 rm -f conftest.er1
86562 cat conftest.err >&5
86563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86564 (exit $ac_status); } &&
86565 { ac_try='test -z "$ac_c_werror_flag"
86566 || test ! -s conftest.err'
86567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86568 (eval $ac_try) 2>&5
86569 ac_status=$?
86570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86571 (exit $ac_status); }; } &&
86572 { ac_try='test -s conftest$ac_exeext'
86573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86574 (eval $ac_try) 2>&5
86575 ac_status=$?
86576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86577 (exit $ac_status); }; }; then
86578 eval "$as_ac_var=yes"
86579 else
86580 echo "$as_me: failed program was:" >&5
86581 sed 's/^/| /' conftest.$ac_ext >&5
86583 eval "$as_ac_var=no"
86585 rm -f conftest.err conftest.$ac_objext \
86586 conftest$ac_exeext conftest.$ac_ext
86588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86590 if test `eval echo '${'$as_ac_var'}'` = yes; then
86591 cat >>confdefs.h <<_ACEOF
86592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86593 _ACEOF
86595 else
86596 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86598 done
86602 for ac_func in __signbit
86604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86605 echo "$as_me:$LINENO: checking for $ac_func" >&5
86606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86607 if eval "test \"\${$as_ac_var+set}\" = set"; then
86608 echo $ECHO_N "(cached) $ECHO_C" >&6
86609 else
86610 if test x$gcc_no_link = xyes; then
86611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86613 { (exit 1); exit 1; }; }
86615 cat >conftest.$ac_ext <<_ACEOF
86616 /* confdefs.h. */
86617 _ACEOF
86618 cat confdefs.h >>conftest.$ac_ext
86619 cat >>conftest.$ac_ext <<_ACEOF
86620 /* end confdefs.h. */
86621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86623 #define $ac_func innocuous_$ac_func
86625 /* System header to define __stub macros and hopefully few prototypes,
86626 which can conflict with char $ac_func (); below.
86627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86628 <limits.h> exists even on freestanding compilers. */
86630 #ifdef __STDC__
86631 # include <limits.h>
86632 #else
86633 # include <assert.h>
86634 #endif
86636 #undef $ac_func
86638 /* Override any gcc2 internal prototype to avoid an error. */
86639 #ifdef __cplusplus
86640 extern "C"
86642 #endif
86643 /* We use char because int might match the return type of a gcc2
86644 builtin and then its argument prototype would still apply. */
86645 char $ac_func ();
86646 /* The GNU C library defines this for functions which it implements
86647 to always fail with ENOSYS. Some functions are actually named
86648 something starting with __ and the normal name is an alias. */
86649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86650 choke me
86651 #else
86652 char (*f) () = $ac_func;
86653 #endif
86654 #ifdef __cplusplus
86656 #endif
86659 main ()
86661 return f != $ac_func;
86663 return 0;
86665 _ACEOF
86666 rm -f conftest.$ac_objext conftest$ac_exeext
86667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86668 (eval $ac_link) 2>conftest.er1
86669 ac_status=$?
86670 grep -v '^ *+' conftest.er1 >conftest.err
86671 rm -f conftest.er1
86672 cat conftest.err >&5
86673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86674 (exit $ac_status); } &&
86675 { ac_try='test -z "$ac_c_werror_flag"
86676 || test ! -s conftest.err'
86677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86678 (eval $ac_try) 2>&5
86679 ac_status=$?
86680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86681 (exit $ac_status); }; } &&
86682 { ac_try='test -s conftest$ac_exeext'
86683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86684 (eval $ac_try) 2>&5
86685 ac_status=$?
86686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86687 (exit $ac_status); }; }; then
86688 eval "$as_ac_var=yes"
86689 else
86690 echo "$as_me: failed program was:" >&5
86691 sed 's/^/| /' conftest.$ac_ext >&5
86693 eval "$as_ac_var=no"
86695 rm -f conftest.err conftest.$ac_objext \
86696 conftest$ac_exeext conftest.$ac_ext
86698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86700 if test `eval echo '${'$as_ac_var'}'` = yes; then
86701 cat >>confdefs.h <<_ACEOF
86702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86703 _ACEOF
86705 else
86706 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86708 done
86712 for ac_func in __signbitf
86714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86715 echo "$as_me:$LINENO: checking for $ac_func" >&5
86716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86717 if eval "test \"\${$as_ac_var+set}\" = set"; then
86718 echo $ECHO_N "(cached) $ECHO_C" >&6
86719 else
86720 if test x$gcc_no_link = xyes; then
86721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86723 { (exit 1); exit 1; }; }
86725 cat >conftest.$ac_ext <<_ACEOF
86726 /* confdefs.h. */
86727 _ACEOF
86728 cat confdefs.h >>conftest.$ac_ext
86729 cat >>conftest.$ac_ext <<_ACEOF
86730 /* end confdefs.h. */
86731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86733 #define $ac_func innocuous_$ac_func
86735 /* System header to define __stub macros and hopefully few prototypes,
86736 which can conflict with char $ac_func (); below.
86737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86738 <limits.h> exists even on freestanding compilers. */
86740 #ifdef __STDC__
86741 # include <limits.h>
86742 #else
86743 # include <assert.h>
86744 #endif
86746 #undef $ac_func
86748 /* Override any gcc2 internal prototype to avoid an error. */
86749 #ifdef __cplusplus
86750 extern "C"
86752 #endif
86753 /* We use char because int might match the return type of a gcc2
86754 builtin and then its argument prototype would still apply. */
86755 char $ac_func ();
86756 /* The GNU C library defines this for functions which it implements
86757 to always fail with ENOSYS. Some functions are actually named
86758 something starting with __ and the normal name is an alias. */
86759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86760 choke me
86761 #else
86762 char (*f) () = $ac_func;
86763 #endif
86764 #ifdef __cplusplus
86766 #endif
86769 main ()
86771 return f != $ac_func;
86773 return 0;
86775 _ACEOF
86776 rm -f conftest.$ac_objext conftest$ac_exeext
86777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86778 (eval $ac_link) 2>conftest.er1
86779 ac_status=$?
86780 grep -v '^ *+' conftest.er1 >conftest.err
86781 rm -f conftest.er1
86782 cat conftest.err >&5
86783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86784 (exit $ac_status); } &&
86785 { ac_try='test -z "$ac_c_werror_flag"
86786 || test ! -s conftest.err'
86787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86788 (eval $ac_try) 2>&5
86789 ac_status=$?
86790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86791 (exit $ac_status); }; } &&
86792 { ac_try='test -s conftest$ac_exeext'
86793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86794 (eval $ac_try) 2>&5
86795 ac_status=$?
86796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86797 (exit $ac_status); }; }; then
86798 eval "$as_ac_var=yes"
86799 else
86800 echo "$as_me: failed program was:" >&5
86801 sed 's/^/| /' conftest.$ac_ext >&5
86803 eval "$as_ac_var=no"
86805 rm -f conftest.err conftest.$ac_objext \
86806 conftest$ac_exeext conftest.$ac_ext
86808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86810 if test `eval echo '${'$as_ac_var'}'` = yes; then
86811 cat >>confdefs.h <<_ACEOF
86812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86813 _ACEOF
86815 else
86816 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86818 done
86821 if test x$ac_cv_func_copysignl = x"yes"; then
86823 for ac_func in __signbitl
86825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86826 echo "$as_me:$LINENO: checking for $ac_func" >&5
86827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86828 if eval "test \"\${$as_ac_var+set}\" = set"; then
86829 echo $ECHO_N "(cached) $ECHO_C" >&6
86830 else
86831 if test x$gcc_no_link = xyes; then
86832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86834 { (exit 1); exit 1; }; }
86836 cat >conftest.$ac_ext <<_ACEOF
86837 /* confdefs.h. */
86838 _ACEOF
86839 cat confdefs.h >>conftest.$ac_ext
86840 cat >>conftest.$ac_ext <<_ACEOF
86841 /* end confdefs.h. */
86842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86844 #define $ac_func innocuous_$ac_func
86846 /* System header to define __stub macros and hopefully few prototypes,
86847 which can conflict with char $ac_func (); below.
86848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86849 <limits.h> exists even on freestanding compilers. */
86851 #ifdef __STDC__
86852 # include <limits.h>
86853 #else
86854 # include <assert.h>
86855 #endif
86857 #undef $ac_func
86859 /* Override any gcc2 internal prototype to avoid an error. */
86860 #ifdef __cplusplus
86861 extern "C"
86863 #endif
86864 /* We use char because int might match the return type of a gcc2
86865 builtin and then its argument prototype would still apply. */
86866 char $ac_func ();
86867 /* The GNU C library defines this for functions which it implements
86868 to always fail with ENOSYS. Some functions are actually named
86869 something starting with __ and the normal name is an alias. */
86870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86871 choke me
86872 #else
86873 char (*f) () = $ac_func;
86874 #endif
86875 #ifdef __cplusplus
86877 #endif
86880 main ()
86882 return f != $ac_func;
86884 return 0;
86886 _ACEOF
86887 rm -f conftest.$ac_objext conftest$ac_exeext
86888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86889 (eval $ac_link) 2>conftest.er1
86890 ac_status=$?
86891 grep -v '^ *+' conftest.er1 >conftest.err
86892 rm -f conftest.er1
86893 cat conftest.err >&5
86894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86895 (exit $ac_status); } &&
86896 { ac_try='test -z "$ac_c_werror_flag"
86897 || test ! -s conftest.err'
86898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86899 (eval $ac_try) 2>&5
86900 ac_status=$?
86901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86902 (exit $ac_status); }; } &&
86903 { ac_try='test -s conftest$ac_exeext'
86904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86905 (eval $ac_try) 2>&5
86906 ac_status=$?
86907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86908 (exit $ac_status); }; }; then
86909 eval "$as_ac_var=yes"
86910 else
86911 echo "$as_me: failed program was:" >&5
86912 sed 's/^/| /' conftest.$ac_ext >&5
86914 eval "$as_ac_var=no"
86916 rm -f conftest.err conftest.$ac_objext \
86917 conftest$ac_exeext conftest.$ac_ext
86919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86921 if test `eval echo '${'$as_ac_var'}'` = yes; then
86922 cat >>confdefs.h <<_ACEOF
86923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86924 _ACEOF
86926 else
86927 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86929 done
86933 # Used in libmath/Makefile.am.
86934 if test -n "$LIBMATHOBJS"; then
86935 need_libmath=yes
86939 cat >>confdefs.h <<\_ACEOF
86940 #define HAVE_LC_MESSAGES 1
86941 _ACEOF
86943 cat >>confdefs.h <<\_ACEOF
86944 #define HAVE_GETPAGESIZE 1
86945 _ACEOF
86947 cat >>confdefs.h <<\_ACEOF
86948 #define HAVE_SETENV 1
86949 _ACEOF
86951 cat >>confdefs.h <<\_ACEOF
86952 #define HAVE_SIGSETJMP 1
86953 _ACEOF
86955 cat >>confdefs.h <<\_ACEOF
86956 #define HAVE_COPYSIGN 1
86957 _ACEOF
86959 cat >>confdefs.h <<\_ACEOF
86960 #define HAVE_COPYSIGNF 1
86961 _ACEOF
86963 cat >>confdefs.h <<\_ACEOF
86964 #define HAVE_FINITEF 1
86965 _ACEOF
86967 cat >>confdefs.h <<\_ACEOF
86968 #define HAVE_FINITE 1
86969 _ACEOF
86971 cat >>confdefs.h <<\_ACEOF
86972 #define HAVE_FREXPF 1
86973 _ACEOF
86975 cat >>confdefs.h <<\_ACEOF
86976 #define HAVE_HYPOT 1
86977 _ACEOF
86979 cat >>confdefs.h <<\_ACEOF
86980 #define HAVE_HYPOTF 1
86981 _ACEOF
86983 cat >>confdefs.h <<\_ACEOF
86984 #define HAVE_ISINF 1
86985 _ACEOF
86987 cat >>confdefs.h <<\_ACEOF
86988 #define HAVE_ISNAN 1
86989 _ACEOF
86991 cat >>confdefs.h <<\_ACEOF
86992 #define HAVE_ISNANF 1
86993 _ACEOF
86996 cat >>confdefs.h <<\_ACEOF
86997 #define HAVE_MMAP 1
86998 _ACEOF
87000 cat >>confdefs.h <<\_ACEOF
87001 #define HAVE_ACOSF 1
87002 _ACEOF
87004 cat >>confdefs.h <<\_ACEOF
87005 #define HAVE_ASINF 1
87006 _ACEOF
87008 cat >>confdefs.h <<\_ACEOF
87009 #define HAVE_ATAN2F 1
87010 _ACEOF
87012 cat >>confdefs.h <<\_ACEOF
87013 #define HAVE_ATANF 1
87014 _ACEOF
87016 cat >>confdefs.h <<\_ACEOF
87017 #define HAVE_CEILF 1
87018 _ACEOF
87020 cat >>confdefs.h <<\_ACEOF
87021 #define HAVE_COPYSIGN 1
87022 _ACEOF
87024 cat >>confdefs.h <<\_ACEOF
87025 #define HAVE_COPYSIGNF 1
87026 _ACEOF
87028 cat >>confdefs.h <<\_ACEOF
87029 #define HAVE_COSF 1
87030 _ACEOF
87032 cat >>confdefs.h <<\_ACEOF
87033 #define HAVE_COSHF 1
87034 _ACEOF
87036 cat >>confdefs.h <<\_ACEOF
87037 #define HAVE_EXPF 1
87038 _ACEOF
87040 cat >>confdefs.h <<\_ACEOF
87041 #define HAVE_FABSF 1
87042 _ACEOF
87044 cat >>confdefs.h <<\_ACEOF
87045 #define HAVE_FLOORF 1
87046 _ACEOF
87048 cat >>confdefs.h <<\_ACEOF
87049 #define HAVE_FMODF 1
87050 _ACEOF
87052 cat >>confdefs.h <<\_ACEOF
87053 #define HAVE_FREXPF 1
87054 _ACEOF
87056 cat >>confdefs.h <<\_ACEOF
87057 #define HAVE_LDEXPF 1
87058 _ACEOF
87060 cat >>confdefs.h <<\_ACEOF
87061 #define HAVE_LOG10F 1
87062 _ACEOF
87064 cat >>confdefs.h <<\_ACEOF
87065 #define HAVE_LOGF 1
87066 _ACEOF
87068 cat >>confdefs.h <<\_ACEOF
87069 #define HAVE_MODFF 1
87070 _ACEOF
87072 cat >>confdefs.h <<\_ACEOF
87073 #define HAVE_POWF 1
87074 _ACEOF
87076 cat >>confdefs.h <<\_ACEOF
87077 #define HAVE_SINF 1
87078 _ACEOF
87080 cat >>confdefs.h <<\_ACEOF
87081 #define HAVE_SINHF 1
87082 _ACEOF
87084 cat >>confdefs.h <<\_ACEOF
87085 #define HAVE_SQRTF 1
87086 _ACEOF
87088 cat >>confdefs.h <<\_ACEOF
87089 #define HAVE_TANF 1
87090 _ACEOF
87092 cat >>confdefs.h <<\_ACEOF
87093 #define HAVE_TANHF 1
87094 _ACEOF
87096 if test x"long_double_math_on_this_cpu" = x"yes"; then
87097 cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_FINITEL 1
87099 _ACEOF
87101 cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_ISINFL 1
87103 _ACEOF
87105 cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_ISNANL 1
87107 _ACEOF
87111 *-hpux*)
87124 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87125 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87126 fp.h locale.h float.h inttypes.h
87128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87130 echo "$as_me:$LINENO: checking for $ac_header" >&5
87131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87133 echo $ECHO_N "(cached) $ECHO_C" >&6
87135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87137 else
87138 # Is the header compilable?
87139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87141 cat >conftest.$ac_ext <<_ACEOF
87142 /* confdefs.h. */
87143 _ACEOF
87144 cat confdefs.h >>conftest.$ac_ext
87145 cat >>conftest.$ac_ext <<_ACEOF
87146 /* end confdefs.h. */
87147 $ac_includes_default
87148 #include <$ac_header>
87149 _ACEOF
87150 rm -f conftest.$ac_objext
87151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87152 (eval $ac_compile) 2>conftest.er1
87153 ac_status=$?
87154 grep -v '^ *+' conftest.er1 >conftest.err
87155 rm -f conftest.er1
87156 cat conftest.err >&5
87157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87158 (exit $ac_status); } &&
87159 { ac_try='test -z "$ac_c_werror_flag"
87160 || test ! -s conftest.err'
87161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87162 (eval $ac_try) 2>&5
87163 ac_status=$?
87164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87165 (exit $ac_status); }; } &&
87166 { ac_try='test -s conftest.$ac_objext'
87167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87168 (eval $ac_try) 2>&5
87169 ac_status=$?
87170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87171 (exit $ac_status); }; }; then
87172 ac_header_compiler=yes
87173 else
87174 echo "$as_me: failed program was:" >&5
87175 sed 's/^/| /' conftest.$ac_ext >&5
87177 ac_header_compiler=no
87179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87181 echo "${ECHO_T}$ac_header_compiler" >&6
87183 # Is the header present?
87184 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87186 cat >conftest.$ac_ext <<_ACEOF
87187 /* confdefs.h. */
87188 _ACEOF
87189 cat confdefs.h >>conftest.$ac_ext
87190 cat >>conftest.$ac_ext <<_ACEOF
87191 /* end confdefs.h. */
87192 #include <$ac_header>
87193 _ACEOF
87194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87195 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87196 ac_status=$?
87197 grep -v '^ *+' conftest.er1 >conftest.err
87198 rm -f conftest.er1
87199 cat conftest.err >&5
87200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87201 (exit $ac_status); } >/dev/null; then
87202 if test -s conftest.err; then
87203 ac_cpp_err=$ac_c_preproc_warn_flag
87204 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87205 else
87206 ac_cpp_err=
87208 else
87209 ac_cpp_err=yes
87211 if test -z "$ac_cpp_err"; then
87212 ac_header_preproc=yes
87213 else
87214 echo "$as_me: failed program was:" >&5
87215 sed 's/^/| /' conftest.$ac_ext >&5
87217 ac_header_preproc=no
87219 rm -f conftest.err conftest.$ac_ext
87220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87221 echo "${ECHO_T}$ac_header_preproc" >&6
87223 # So? What about this header?
87224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87225 yes:no: )
87226 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87229 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87230 ac_header_preproc=yes
87232 no:yes:* )
87233 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87234 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87235 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87236 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87237 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87238 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87239 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87240 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87243 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87244 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87246 cat <<\_ASBOX
87247 ## ----------------------------------------- ##
87248 ## Report this to the package-unused lists. ##
87249 ## ----------------------------------------- ##
87250 _ASBOX
87252 sed "s/^/$as_me: WARNING: /" >&2
87254 esac
87255 echo "$as_me:$LINENO: checking for $ac_header" >&5
87256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87258 echo $ECHO_N "(cached) $ECHO_C" >&6
87259 else
87260 eval "$as_ac_Header=\$ac_header_preproc"
87262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87267 cat >>confdefs.h <<_ACEOF
87268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87269 _ACEOF
87273 done
87275 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87278 # If we're not using GNU ld, then there's no point in even trying these
87279 # tests. Check for that first. We should have already tested for gld
87280 # by now (in libtool), but require it now just to be safe...
87281 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87282 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87286 # The name set by libtool depends on the version of libtool. Shame on us
87287 # for depending on an impl detail, but c'est la vie. Older versions used
87288 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87289 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87290 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87291 # set (hence we're using an older libtool), then set it.
87292 if test x${with_gnu_ld+set} != xset; then
87293 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87294 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87295 with_gnu_ld=no
87296 else
87297 with_gnu_ld=$ac_cv_prog_gnu_ld
87301 # Start by getting the version number. I think the libtool test already
87302 # does some of this, but throws away the result.
87303 glibcxx_ld_is_gold=no
87304 if test x"$with_gnu_ld" = x"yes"; then
87305 echo "$as_me:$LINENO: checking for ld version" >&5
87306 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87308 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87309 glibcxx_ld_is_gold=yes
87311 ldver=`$LD --version 2>/dev/null | head -1 | \
87312 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87314 glibcxx_gnu_ld_version=`echo $ldver | \
87315 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87316 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87317 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87320 # Set --gc-sections.
87321 glibcxx_have_gc_sections=no
87322 if test "$glibcxx_ld_is_gold" = "yes"; then
87323 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87324 glibcxx_have_gc_sections=yes
87326 else
87327 glibcxx_gcsections_min_ld=21602
87328 if test x"$with_gnu_ld" = x"yes" &&
87329 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87330 glibcxx_have_gc_sections=yes
87333 if test "$glibcxx_have_gc_sections" = "yes"; then
87334 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87335 # NB: This flag only works reliably after 2.16.1. Configure tests
87336 # for this are difficult, so hard wire a value that should work.
87338 ac_test_CFLAGS="${CFLAGS+set}"
87339 ac_save_CFLAGS="$CFLAGS"
87340 CFLAGS='-Wl,--gc-sections'
87342 # Check for -Wl,--gc-sections
87343 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87345 if test x$gcc_no_link = xyes; then
87346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87348 { (exit 1); exit 1; }; }
87350 cat >conftest.$ac_ext <<_ACEOF
87351 /* confdefs.h. */
87352 _ACEOF
87353 cat confdefs.h >>conftest.$ac_ext
87354 cat >>conftest.$ac_ext <<_ACEOF
87355 /* end confdefs.h. */
87356 int one(void) { return 1; }
87357 int two(void) { return 2; }
87360 main ()
87362 two();
87364 return 0;
87366 _ACEOF
87367 rm -f conftest.$ac_objext conftest$ac_exeext
87368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87369 (eval $ac_link) 2>conftest.er1
87370 ac_status=$?
87371 grep -v '^ *+' conftest.er1 >conftest.err
87372 rm -f conftest.er1
87373 cat conftest.err >&5
87374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87375 (exit $ac_status); } &&
87376 { ac_try='test -z "$ac_c_werror_flag"
87377 || test ! -s conftest.err'
87378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87379 (eval $ac_try) 2>&5
87380 ac_status=$?
87381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87382 (exit $ac_status); }; } &&
87383 { ac_try='test -s conftest$ac_exeext'
87384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87385 (eval $ac_try) 2>&5
87386 ac_status=$?
87387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87388 (exit $ac_status); }; }; then
87389 ac_gcsections=yes
87390 else
87391 echo "$as_me: failed program was:" >&5
87392 sed 's/^/| /' conftest.$ac_ext >&5
87394 ac_gcsections=no
87396 rm -f conftest.err conftest.$ac_objext \
87397 conftest$ac_exeext conftest.$ac_ext
87398 if test "$ac_gcsections" = "yes"; then
87399 rm -f conftest.c
87400 touch conftest.c
87401 if $CC -c conftest.c; then
87402 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87403 grep "Warning: gc-sections option ignored" > /dev/null; then
87404 ac_gcsections=no
87407 rm -f conftest.c conftest.o conftest
87409 if test "$ac_gcsections" = "yes"; then
87410 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87412 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87413 echo "${ECHO_T}$ac_gcsections" >&6
87415 if test "$ac_test_CFLAGS" = set; then
87416 CFLAGS="$ac_save_CFLAGS"
87417 else
87418 # this is the suspicious part
87419 CFLAGS=''
87423 # Set -z,relro.
87424 # Note this is only for shared objects.
87425 ac_ld_relro=no
87426 if test x"$with_gnu_ld" = x"yes"; then
87427 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87428 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87429 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87430 if test -n "$cxx_z_relo"; then
87431 OPT_LDFLAGS="-Wl,-z,relro"
87432 ac_ld_relro=yes
87434 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87435 echo "${ECHO_T}$ac_ld_relro" >&6
87438 # Set linker optimization flags.
87439 if test x"$with_gnu_ld" = x"yes"; then
87440 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87448 echo "$as_me:$LINENO: checking for main in -lm" >&5
87449 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87450 if test "${ac_cv_lib_m_main+set}" = set; then
87451 echo $ECHO_N "(cached) $ECHO_C" >&6
87452 else
87453 ac_check_lib_save_LIBS=$LIBS
87454 LIBS="-lm $LIBS"
87455 if test x$gcc_no_link = xyes; then
87456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87458 { (exit 1); exit 1; }; }
87460 cat >conftest.$ac_ext <<_ACEOF
87461 /* confdefs.h. */
87462 _ACEOF
87463 cat confdefs.h >>conftest.$ac_ext
87464 cat >>conftest.$ac_ext <<_ACEOF
87465 /* end confdefs.h. */
87469 main ()
87471 main ();
87473 return 0;
87475 _ACEOF
87476 rm -f conftest.$ac_objext conftest$ac_exeext
87477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87478 (eval $ac_link) 2>conftest.er1
87479 ac_status=$?
87480 grep -v '^ *+' conftest.er1 >conftest.err
87481 rm -f conftest.er1
87482 cat conftest.err >&5
87483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87484 (exit $ac_status); } &&
87485 { ac_try='test -z "$ac_c_werror_flag"
87486 || test ! -s conftest.err'
87487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87488 (eval $ac_try) 2>&5
87489 ac_status=$?
87490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87491 (exit $ac_status); }; } &&
87492 { ac_try='test -s conftest$ac_exeext'
87493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87494 (eval $ac_try) 2>&5
87495 ac_status=$?
87496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87497 (exit $ac_status); }; }; then
87498 ac_cv_lib_m_main=yes
87499 else
87500 echo "$as_me: failed program was:" >&5
87501 sed 's/^/| /' conftest.$ac_ext >&5
87503 ac_cv_lib_m_main=no
87505 rm -f conftest.err conftest.$ac_objext \
87506 conftest$ac_exeext conftest.$ac_ext
87507 LIBS=$ac_check_lib_save_LIBS
87509 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87510 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87511 if test $ac_cv_lib_m_main = yes; then
87512 cat >>confdefs.h <<_ACEOF
87513 #define HAVE_LIBM 1
87514 _ACEOF
87516 LIBS="-lm $LIBS"
87521 for ac_func in copysignf
87523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87524 echo "$as_me:$LINENO: checking for $ac_func" >&5
87525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87526 if eval "test \"\${$as_ac_var+set}\" = set"; then
87527 echo $ECHO_N "(cached) $ECHO_C" >&6
87528 else
87529 if test x$gcc_no_link = xyes; then
87530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87532 { (exit 1); exit 1; }; }
87534 cat >conftest.$ac_ext <<_ACEOF
87535 /* confdefs.h. */
87536 _ACEOF
87537 cat confdefs.h >>conftest.$ac_ext
87538 cat >>conftest.$ac_ext <<_ACEOF
87539 /* end confdefs.h. */
87540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87542 #define $ac_func innocuous_$ac_func
87544 /* System header to define __stub macros and hopefully few prototypes,
87545 which can conflict with char $ac_func (); below.
87546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87547 <limits.h> exists even on freestanding compilers. */
87549 #ifdef __STDC__
87550 # include <limits.h>
87551 #else
87552 # include <assert.h>
87553 #endif
87555 #undef $ac_func
87557 /* Override any gcc2 internal prototype to avoid an error. */
87558 #ifdef __cplusplus
87559 extern "C"
87561 #endif
87562 /* We use char because int might match the return type of a gcc2
87563 builtin and then its argument prototype would still apply. */
87564 char $ac_func ();
87565 /* The GNU C library defines this for functions which it implements
87566 to always fail with ENOSYS. Some functions are actually named
87567 something starting with __ and the normal name is an alias. */
87568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87569 choke me
87570 #else
87571 char (*f) () = $ac_func;
87572 #endif
87573 #ifdef __cplusplus
87575 #endif
87578 main ()
87580 return f != $ac_func;
87582 return 0;
87584 _ACEOF
87585 rm -f conftest.$ac_objext conftest$ac_exeext
87586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87587 (eval $ac_link) 2>conftest.er1
87588 ac_status=$?
87589 grep -v '^ *+' conftest.er1 >conftest.err
87590 rm -f conftest.er1
87591 cat conftest.err >&5
87592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87593 (exit $ac_status); } &&
87594 { ac_try='test -z "$ac_c_werror_flag"
87595 || test ! -s conftest.err'
87596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87597 (eval $ac_try) 2>&5
87598 ac_status=$?
87599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87600 (exit $ac_status); }; } &&
87601 { ac_try='test -s conftest$ac_exeext'
87602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87603 (eval $ac_try) 2>&5
87604 ac_status=$?
87605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87606 (exit $ac_status); }; }; then
87607 eval "$as_ac_var=yes"
87608 else
87609 echo "$as_me: failed program was:" >&5
87610 sed 's/^/| /' conftest.$ac_ext >&5
87612 eval "$as_ac_var=no"
87614 rm -f conftest.err conftest.$ac_objext \
87615 conftest$ac_exeext conftest.$ac_ext
87617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87619 if test `eval echo '${'$as_ac_var'}'` = yes; then
87620 cat >>confdefs.h <<_ACEOF
87621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87622 _ACEOF
87624 else
87625 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87627 done
87631 for ac_func in __signbit
87633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87634 echo "$as_me:$LINENO: checking for $ac_func" >&5
87635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87636 if eval "test \"\${$as_ac_var+set}\" = set"; then
87637 echo $ECHO_N "(cached) $ECHO_C" >&6
87638 else
87639 if test x$gcc_no_link = xyes; then
87640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87642 { (exit 1); exit 1; }; }
87644 cat >conftest.$ac_ext <<_ACEOF
87645 /* confdefs.h. */
87646 _ACEOF
87647 cat confdefs.h >>conftest.$ac_ext
87648 cat >>conftest.$ac_ext <<_ACEOF
87649 /* end confdefs.h. */
87650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87652 #define $ac_func innocuous_$ac_func
87654 /* System header to define __stub macros and hopefully few prototypes,
87655 which can conflict with char $ac_func (); below.
87656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87657 <limits.h> exists even on freestanding compilers. */
87659 #ifdef __STDC__
87660 # include <limits.h>
87661 #else
87662 # include <assert.h>
87663 #endif
87665 #undef $ac_func
87667 /* Override any gcc2 internal prototype to avoid an error. */
87668 #ifdef __cplusplus
87669 extern "C"
87671 #endif
87672 /* We use char because int might match the return type of a gcc2
87673 builtin and then its argument prototype would still apply. */
87674 char $ac_func ();
87675 /* The GNU C library defines this for functions which it implements
87676 to always fail with ENOSYS. Some functions are actually named
87677 something starting with __ and the normal name is an alias. */
87678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87679 choke me
87680 #else
87681 char (*f) () = $ac_func;
87682 #endif
87683 #ifdef __cplusplus
87685 #endif
87688 main ()
87690 return f != $ac_func;
87692 return 0;
87694 _ACEOF
87695 rm -f conftest.$ac_objext conftest$ac_exeext
87696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87697 (eval $ac_link) 2>conftest.er1
87698 ac_status=$?
87699 grep -v '^ *+' conftest.er1 >conftest.err
87700 rm -f conftest.er1
87701 cat conftest.err >&5
87702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87703 (exit $ac_status); } &&
87704 { ac_try='test -z "$ac_c_werror_flag"
87705 || test ! -s conftest.err'
87706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87707 (eval $ac_try) 2>&5
87708 ac_status=$?
87709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87710 (exit $ac_status); }; } &&
87711 { ac_try='test -s conftest$ac_exeext'
87712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87713 (eval $ac_try) 2>&5
87714 ac_status=$?
87715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87716 (exit $ac_status); }; }; then
87717 eval "$as_ac_var=yes"
87718 else
87719 echo "$as_me: failed program was:" >&5
87720 sed 's/^/| /' conftest.$ac_ext >&5
87722 eval "$as_ac_var=no"
87724 rm -f conftest.err conftest.$ac_objext \
87725 conftest$ac_exeext conftest.$ac_ext
87727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87729 if test `eval echo '${'$as_ac_var'}'` = yes; then
87730 cat >>confdefs.h <<_ACEOF
87731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87732 _ACEOF
87734 else
87735 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87737 done
87741 for ac_func in __signbitf
87743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87744 echo "$as_me:$LINENO: checking for $ac_func" >&5
87745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87746 if eval "test \"\${$as_ac_var+set}\" = set"; then
87747 echo $ECHO_N "(cached) $ECHO_C" >&6
87748 else
87749 if test x$gcc_no_link = xyes; then
87750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87752 { (exit 1); exit 1; }; }
87754 cat >conftest.$ac_ext <<_ACEOF
87755 /* confdefs.h. */
87756 _ACEOF
87757 cat confdefs.h >>conftest.$ac_ext
87758 cat >>conftest.$ac_ext <<_ACEOF
87759 /* end confdefs.h. */
87760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87762 #define $ac_func innocuous_$ac_func
87764 /* System header to define __stub macros and hopefully few prototypes,
87765 which can conflict with char $ac_func (); below.
87766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87767 <limits.h> exists even on freestanding compilers. */
87769 #ifdef __STDC__
87770 # include <limits.h>
87771 #else
87772 # include <assert.h>
87773 #endif
87775 #undef $ac_func
87777 /* Override any gcc2 internal prototype to avoid an error. */
87778 #ifdef __cplusplus
87779 extern "C"
87781 #endif
87782 /* We use char because int might match the return type of a gcc2
87783 builtin and then its argument prototype would still apply. */
87784 char $ac_func ();
87785 /* The GNU C library defines this for functions which it implements
87786 to always fail with ENOSYS. Some functions are actually named
87787 something starting with __ and the normal name is an alias. */
87788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87789 choke me
87790 #else
87791 char (*f) () = $ac_func;
87792 #endif
87793 #ifdef __cplusplus
87795 #endif
87798 main ()
87800 return f != $ac_func;
87802 return 0;
87804 _ACEOF
87805 rm -f conftest.$ac_objext conftest$ac_exeext
87806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87807 (eval $ac_link) 2>conftest.er1
87808 ac_status=$?
87809 grep -v '^ *+' conftest.er1 >conftest.err
87810 rm -f conftest.er1
87811 cat conftest.err >&5
87812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87813 (exit $ac_status); } &&
87814 { ac_try='test -z "$ac_c_werror_flag"
87815 || test ! -s conftest.err'
87816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87817 (eval $ac_try) 2>&5
87818 ac_status=$?
87819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87820 (exit $ac_status); }; } &&
87821 { ac_try='test -s conftest$ac_exeext'
87822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87823 (eval $ac_try) 2>&5
87824 ac_status=$?
87825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87826 (exit $ac_status); }; }; then
87827 eval "$as_ac_var=yes"
87828 else
87829 echo "$as_me: failed program was:" >&5
87830 sed 's/^/| /' conftest.$ac_ext >&5
87832 eval "$as_ac_var=no"
87834 rm -f conftest.err conftest.$ac_objext \
87835 conftest$ac_exeext conftest.$ac_ext
87837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87839 if test `eval echo '${'$as_ac_var'}'` = yes; then
87840 cat >>confdefs.h <<_ACEOF
87841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87842 _ACEOF
87844 else
87845 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87847 done
87850 if test x$ac_cv_func_copysignl = x"yes"; then
87852 for ac_func in __signbitl
87854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87855 echo "$as_me:$LINENO: checking for $ac_func" >&5
87856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87857 if eval "test \"\${$as_ac_var+set}\" = set"; then
87858 echo $ECHO_N "(cached) $ECHO_C" >&6
87859 else
87860 if test x$gcc_no_link = xyes; then
87861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87863 { (exit 1); exit 1; }; }
87865 cat >conftest.$ac_ext <<_ACEOF
87866 /* confdefs.h. */
87867 _ACEOF
87868 cat confdefs.h >>conftest.$ac_ext
87869 cat >>conftest.$ac_ext <<_ACEOF
87870 /* end confdefs.h. */
87871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87873 #define $ac_func innocuous_$ac_func
87875 /* System header to define __stub macros and hopefully few prototypes,
87876 which can conflict with char $ac_func (); below.
87877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87878 <limits.h> exists even on freestanding compilers. */
87880 #ifdef __STDC__
87881 # include <limits.h>
87882 #else
87883 # include <assert.h>
87884 #endif
87886 #undef $ac_func
87888 /* Override any gcc2 internal prototype to avoid an error. */
87889 #ifdef __cplusplus
87890 extern "C"
87892 #endif
87893 /* We use char because int might match the return type of a gcc2
87894 builtin and then its argument prototype would still apply. */
87895 char $ac_func ();
87896 /* The GNU C library defines this for functions which it implements
87897 to always fail with ENOSYS. Some functions are actually named
87898 something starting with __ and the normal name is an alias. */
87899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87900 choke me
87901 #else
87902 char (*f) () = $ac_func;
87903 #endif
87904 #ifdef __cplusplus
87906 #endif
87909 main ()
87911 return f != $ac_func;
87913 return 0;
87915 _ACEOF
87916 rm -f conftest.$ac_objext conftest$ac_exeext
87917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87918 (eval $ac_link) 2>conftest.er1
87919 ac_status=$?
87920 grep -v '^ *+' conftest.er1 >conftest.err
87921 rm -f conftest.er1
87922 cat conftest.err >&5
87923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87924 (exit $ac_status); } &&
87925 { ac_try='test -z "$ac_c_werror_flag"
87926 || test ! -s conftest.err'
87927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87928 (eval $ac_try) 2>&5
87929 ac_status=$?
87930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87931 (exit $ac_status); }; } &&
87932 { ac_try='test -s conftest$ac_exeext'
87933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87934 (eval $ac_try) 2>&5
87935 ac_status=$?
87936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87937 (exit $ac_status); }; }; then
87938 eval "$as_ac_var=yes"
87939 else
87940 echo "$as_me: failed program was:" >&5
87941 sed 's/^/| /' conftest.$ac_ext >&5
87943 eval "$as_ac_var=no"
87945 rm -f conftest.err conftest.$ac_objext \
87946 conftest$ac_exeext conftest.$ac_ext
87948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87950 if test `eval echo '${'$as_ac_var'}'` = yes; then
87951 cat >>confdefs.h <<_ACEOF
87952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87953 _ACEOF
87955 else
87956 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87958 done
87962 # Used in libmath/Makefile.am.
87963 if test -n "$LIBMATHOBJS"; then
87964 need_libmath=yes
87968 cat >>confdefs.h <<\_ACEOF
87969 #define HAVE_COPYSIGN 1
87970 _ACEOF
87972 cat >>confdefs.h <<\_ACEOF
87973 #define HAVE_COPYSIGNF 1
87974 _ACEOF
87976 cat >>confdefs.h <<\_ACEOF
87977 #define HAVE_FREXPF 1
87978 _ACEOF
87980 cat >>confdefs.h <<\_ACEOF
87981 #define HAVE_HYPOT 1
87982 _ACEOF
87984 case "$target" in
87985 *-hpux10*)
87986 cat >>confdefs.h <<\_ACEOF
87987 #define HAVE_FINITE 1
87988 _ACEOF
87990 cat >>confdefs.h <<\_ACEOF
87991 #define HAVE_FINITEF 1
87992 _ACEOF
87994 cat >>confdefs.h <<\_ACEOF
87995 #define HAVE_ISINF 1
87996 _ACEOF
87998 cat >>confdefs.h <<\_ACEOF
87999 #define HAVE_ISINFF 1
88000 _ACEOF
88002 cat >>confdefs.h <<\_ACEOF
88003 #define HAVE_ISNAN 1
88004 _ACEOF
88006 cat >>confdefs.h <<\_ACEOF
88007 #define HAVE_ISNANF 1
88008 _ACEOF
88011 esac
88013 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
88031 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
88032 machine/endian.h machine/param.h sys/machine.h sys/types.h \
88033 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
88034 sys/ipc.h sys/sem.h
88036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88038 echo "$as_me:$LINENO: checking for $ac_header" >&5
88039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88041 echo $ECHO_N "(cached) $ECHO_C" >&6
88043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88045 else
88046 # Is the header compilable?
88047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88049 cat >conftest.$ac_ext <<_ACEOF
88050 /* confdefs.h. */
88051 _ACEOF
88052 cat confdefs.h >>conftest.$ac_ext
88053 cat >>conftest.$ac_ext <<_ACEOF
88054 /* end confdefs.h. */
88055 $ac_includes_default
88056 #include <$ac_header>
88057 _ACEOF
88058 rm -f conftest.$ac_objext
88059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88060 (eval $ac_compile) 2>conftest.er1
88061 ac_status=$?
88062 grep -v '^ *+' conftest.er1 >conftest.err
88063 rm -f conftest.er1
88064 cat conftest.err >&5
88065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88066 (exit $ac_status); } &&
88067 { ac_try='test -z "$ac_c_werror_flag"
88068 || test ! -s conftest.err'
88069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88070 (eval $ac_try) 2>&5
88071 ac_status=$?
88072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88073 (exit $ac_status); }; } &&
88074 { ac_try='test -s conftest.$ac_objext'
88075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88076 (eval $ac_try) 2>&5
88077 ac_status=$?
88078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88079 (exit $ac_status); }; }; then
88080 ac_header_compiler=yes
88081 else
88082 echo "$as_me: failed program was:" >&5
88083 sed 's/^/| /' conftest.$ac_ext >&5
88085 ac_header_compiler=no
88087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88089 echo "${ECHO_T}$ac_header_compiler" >&6
88091 # Is the header present?
88092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88094 cat >conftest.$ac_ext <<_ACEOF
88095 /* confdefs.h. */
88096 _ACEOF
88097 cat confdefs.h >>conftest.$ac_ext
88098 cat >>conftest.$ac_ext <<_ACEOF
88099 /* end confdefs.h. */
88100 #include <$ac_header>
88101 _ACEOF
88102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88104 ac_status=$?
88105 grep -v '^ *+' conftest.er1 >conftest.err
88106 rm -f conftest.er1
88107 cat conftest.err >&5
88108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88109 (exit $ac_status); } >/dev/null; then
88110 if test -s conftest.err; then
88111 ac_cpp_err=$ac_c_preproc_warn_flag
88112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88113 else
88114 ac_cpp_err=
88116 else
88117 ac_cpp_err=yes
88119 if test -z "$ac_cpp_err"; then
88120 ac_header_preproc=yes
88121 else
88122 echo "$as_me: failed program was:" >&5
88123 sed 's/^/| /' conftest.$ac_ext >&5
88125 ac_header_preproc=no
88127 rm -f conftest.err conftest.$ac_ext
88128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88129 echo "${ECHO_T}$ac_header_preproc" >&6
88131 # So? What about this header?
88132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88133 yes:no: )
88134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88138 ac_header_preproc=yes
88140 no:yes:* )
88141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88154 cat <<\_ASBOX
88155 ## ----------------------------------------- ##
88156 ## Report this to the package-unused lists. ##
88157 ## ----------------------------------------- ##
88158 _ASBOX
88160 sed "s/^/$as_me: WARNING: /" >&2
88162 esac
88163 echo "$as_me:$LINENO: checking for $ac_header" >&5
88164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88166 echo $ECHO_N "(cached) $ECHO_C" >&6
88167 else
88168 eval "$as_ac_Header=\$ac_header_preproc"
88170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88175 cat >>confdefs.h <<_ACEOF
88176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88177 _ACEOF
88181 done
88183 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88186 # All these tests are for C++; save the language and the compiler flags.
88187 # The CXXFLAGS thing is suspicious, but based on similar bits previously
88188 # found in GLIBCXX_CONFIGURE.
88191 ac_ext=cc
88192 ac_cpp='$CXXCPP $CPPFLAGS'
88193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88197 ac_test_CXXFLAGS="${CXXFLAGS+set}"
88198 ac_save_CXXFLAGS="$CXXFLAGS"
88200 # Check for maintainer-mode bits.
88201 if test x"$USE_MAINTAINER_MODE" = xno; then
88202 WERROR=''
88203 else
88204 WERROR='-Werror'
88207 # Check for -ffunction-sections -fdata-sections
88208 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
88209 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
88210 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
88211 cat >conftest.$ac_ext <<_ACEOF
88212 /* confdefs.h. */
88213 _ACEOF
88214 cat confdefs.h >>conftest.$ac_ext
88215 cat >>conftest.$ac_ext <<_ACEOF
88216 /* end confdefs.h. */
88217 int foo; void bar() { };
88219 main ()
88223 return 0;
88225 _ACEOF
88226 rm -f conftest.$ac_objext
88227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88228 (eval $ac_compile) 2>conftest.er1
88229 ac_status=$?
88230 grep -v '^ *+' conftest.er1 >conftest.err
88231 rm -f conftest.er1
88232 cat conftest.err >&5
88233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88234 (exit $ac_status); } &&
88235 { ac_try='test -z "$ac_cxx_werror_flag"
88236 || test ! -s conftest.err'
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); }; } &&
88242 { ac_try='test -s conftest.$ac_objext'
88243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88244 (eval $ac_try) 2>&5
88245 ac_status=$?
88246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247 (exit $ac_status); }; }; then
88248 ac_fdsections=yes
88249 else
88250 echo "$as_me: failed program was:" >&5
88251 sed 's/^/| /' conftest.$ac_ext >&5
88253 ac_fdsections=no
88255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88256 if test "$ac_test_CXXFLAGS" = set; then
88257 CXXFLAGS="$ac_save_CXXFLAGS"
88258 else
88259 # this is the suspicious part
88260 CXXFLAGS=''
88262 if test x"$ac_fdsections" = x"yes"; then
88263 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88265 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
88266 echo "${ECHO_T}$ac_fdsections" >&6
88268 ac_ext=c
88269 ac_cpp='$CPP $CPPFLAGS'
88270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88278 # If we're not using GNU ld, then there's no point in even trying these
88279 # tests. Check for that first. We should have already tested for gld
88280 # by now (in libtool), but require it now just to be safe...
88281 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88282 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88286 # The name set by libtool depends on the version of libtool. Shame on us
88287 # for depending on an impl detail, but c'est la vie. Older versions used
88288 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88289 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88290 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88291 # set (hence we're using an older libtool), then set it.
88292 if test x${with_gnu_ld+set} != xset; then
88293 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88294 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88295 with_gnu_ld=no
88296 else
88297 with_gnu_ld=$ac_cv_prog_gnu_ld
88301 # Start by getting the version number. I think the libtool test already
88302 # does some of this, but throws away the result.
88303 glibcxx_ld_is_gold=no
88304 if test x"$with_gnu_ld" = x"yes"; then
88305 echo "$as_me:$LINENO: checking for ld version" >&5
88306 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88308 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
88309 glibcxx_ld_is_gold=yes
88311 ldver=`$LD --version 2>/dev/null | head -1 | \
88312 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
88314 glibcxx_gnu_ld_version=`echo $ldver | \
88315 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88316 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88317 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88320 # Set --gc-sections.
88321 glibcxx_have_gc_sections=no
88322 if test "$glibcxx_ld_is_gold" = "yes"; then
88323 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
88324 glibcxx_have_gc_sections=yes
88326 else
88327 glibcxx_gcsections_min_ld=21602
88328 if test x"$with_gnu_ld" = x"yes" &&
88329 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88330 glibcxx_have_gc_sections=yes
88333 if test "$glibcxx_have_gc_sections" = "yes"; then
88334 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
88335 # NB: This flag only works reliably after 2.16.1. Configure tests
88336 # for this are difficult, so hard wire a value that should work.
88338 ac_test_CFLAGS="${CFLAGS+set}"
88339 ac_save_CFLAGS="$CFLAGS"
88340 CFLAGS='-Wl,--gc-sections'
88342 # Check for -Wl,--gc-sections
88343 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88345 if test x$gcc_no_link = xyes; then
88346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88348 { (exit 1); exit 1; }; }
88350 cat >conftest.$ac_ext <<_ACEOF
88351 /* confdefs.h. */
88352 _ACEOF
88353 cat confdefs.h >>conftest.$ac_ext
88354 cat >>conftest.$ac_ext <<_ACEOF
88355 /* end confdefs.h. */
88356 int one(void) { return 1; }
88357 int two(void) { return 2; }
88360 main ()
88362 two();
88364 return 0;
88366 _ACEOF
88367 rm -f conftest.$ac_objext conftest$ac_exeext
88368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88369 (eval $ac_link) 2>conftest.er1
88370 ac_status=$?
88371 grep -v '^ *+' conftest.er1 >conftest.err
88372 rm -f conftest.er1
88373 cat conftest.err >&5
88374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88375 (exit $ac_status); } &&
88376 { ac_try='test -z "$ac_c_werror_flag"
88377 || test ! -s conftest.err'
88378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88379 (eval $ac_try) 2>&5
88380 ac_status=$?
88381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88382 (exit $ac_status); }; } &&
88383 { ac_try='test -s conftest$ac_exeext'
88384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88385 (eval $ac_try) 2>&5
88386 ac_status=$?
88387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88388 (exit $ac_status); }; }; then
88389 ac_gcsections=yes
88390 else
88391 echo "$as_me: failed program was:" >&5
88392 sed 's/^/| /' conftest.$ac_ext >&5
88394 ac_gcsections=no
88396 rm -f conftest.err conftest.$ac_objext \
88397 conftest$ac_exeext conftest.$ac_ext
88398 if test "$ac_gcsections" = "yes"; then
88399 rm -f conftest.c
88400 touch conftest.c
88401 if $CC -c conftest.c; then
88402 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88403 grep "Warning: gc-sections option ignored" > /dev/null; then
88404 ac_gcsections=no
88407 rm -f conftest.c conftest.o conftest
88409 if test "$ac_gcsections" = "yes"; then
88410 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88412 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88413 echo "${ECHO_T}$ac_gcsections" >&6
88415 if test "$ac_test_CFLAGS" = set; then
88416 CFLAGS="$ac_save_CFLAGS"
88417 else
88418 # this is the suspicious part
88419 CFLAGS=''
88423 # Set -z,relro.
88424 # Note this is only for shared objects.
88425 ac_ld_relro=no
88426 if test x"$with_gnu_ld" = x"yes"; then
88427 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88428 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88429 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88430 if test -n "$cxx_z_relo"; then
88431 OPT_LDFLAGS="-Wl,-z,relro"
88432 ac_ld_relro=yes
88434 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88435 echo "${ECHO_T}$ac_ld_relro" >&6
88438 # Set linker optimization flags.
88439 if test x"$with_gnu_ld" = x"yes"; then
88440 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88447 ac_test_CXXFLAGS="${CXXFLAGS+set}"
88448 ac_save_CXXFLAGS="$CXXFLAGS"
88449 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
88451 echo "$as_me:$LINENO: checking for sin in -lm" >&5
88452 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
88453 if test "${ac_cv_lib_m_sin+set}" = set; then
88454 echo $ECHO_N "(cached) $ECHO_C" >&6
88455 else
88456 ac_check_lib_save_LIBS=$LIBS
88457 LIBS="-lm $LIBS"
88458 if test x$gcc_no_link = xyes; then
88459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88461 { (exit 1); exit 1; }; }
88463 cat >conftest.$ac_ext <<_ACEOF
88464 /* confdefs.h. */
88465 _ACEOF
88466 cat confdefs.h >>conftest.$ac_ext
88467 cat >>conftest.$ac_ext <<_ACEOF
88468 /* end confdefs.h. */
88470 /* Override any gcc2 internal prototype to avoid an error. */
88471 #ifdef __cplusplus
88472 extern "C"
88473 #endif
88474 /* We use char because int might match the return type of a gcc2
88475 builtin and then its argument prototype would still apply. */
88476 char sin ();
88478 main ()
88480 sin ();
88482 return 0;
88484 _ACEOF
88485 rm -f conftest.$ac_objext conftest$ac_exeext
88486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88487 (eval $ac_link) 2>conftest.er1
88488 ac_status=$?
88489 grep -v '^ *+' conftest.er1 >conftest.err
88490 rm -f conftest.er1
88491 cat conftest.err >&5
88492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88493 (exit $ac_status); } &&
88494 { ac_try='test -z "$ac_c_werror_flag"
88495 || test ! -s conftest.err'
88496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88497 (eval $ac_try) 2>&5
88498 ac_status=$?
88499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88500 (exit $ac_status); }; } &&
88501 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
88507 ac_cv_lib_m_sin=yes
88508 else
88509 echo "$as_me: failed program was:" >&5
88510 sed 's/^/| /' conftest.$ac_ext >&5
88512 ac_cv_lib_m_sin=no
88514 rm -f conftest.err conftest.$ac_objext \
88515 conftest$ac_exeext conftest.$ac_ext
88516 LIBS=$ac_check_lib_save_LIBS
88518 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
88519 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
88520 if test $ac_cv_lib_m_sin = yes; then
88521 libm="-lm"
88524 ac_save_LIBS="$LIBS"
88525 LIBS="$LIBS $libm"
88529 echo "$as_me:$LINENO: checking for isinf declaration" >&5
88530 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
88531 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
88532 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
88533 echo $ECHO_N "(cached) $ECHO_C" >&6
88534 else
88538 ac_ext=cc
88539 ac_cpp='$CXXCPP $CPPFLAGS'
88540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88544 cat >conftest.$ac_ext <<_ACEOF
88545 /* confdefs.h. */
88546 _ACEOF
88547 cat confdefs.h >>conftest.$ac_ext
88548 cat >>conftest.$ac_ext <<_ACEOF
88549 /* end confdefs.h. */
88550 #include <math.h>
88551 #ifdef HAVE_IEEEFP_H
88552 #include <ieeefp.h>
88553 #endif
88556 main ()
88558 isinf(0);
88560 return 0;
88562 _ACEOF
88563 rm -f conftest.$ac_objext
88564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88565 (eval $ac_compile) 2>conftest.er1
88566 ac_status=$?
88567 grep -v '^ *+' conftest.er1 >conftest.err
88568 rm -f conftest.er1
88569 cat conftest.err >&5
88570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88571 (exit $ac_status); } &&
88572 { ac_try='test -z "$ac_cxx_werror_flag"
88573 || test ! -s conftest.err'
88574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88575 (eval $ac_try) 2>&5
88576 ac_status=$?
88577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88578 (exit $ac_status); }; } &&
88579 { ac_try='test -s conftest.$ac_objext'
88580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88581 (eval $ac_try) 2>&5
88582 ac_status=$?
88583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584 (exit $ac_status); }; }; then
88585 glibcxx_cv_func_isinf_use=yes
88586 else
88587 echo "$as_me: failed program was:" >&5
88588 sed 's/^/| /' conftest.$ac_ext >&5
88590 glibcxx_cv_func_isinf_use=no
88592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88593 ac_ext=c
88594 ac_cpp='$CPP $CPPFLAGS'
88595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88604 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88606 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88608 for ac_func in isinf
88610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88611 echo "$as_me:$LINENO: checking for $ac_func" >&5
88612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88613 if eval "test \"\${$as_ac_var+set}\" = set"; then
88614 echo $ECHO_N "(cached) $ECHO_C" >&6
88615 else
88616 if test x$gcc_no_link = xyes; then
88617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88619 { (exit 1); exit 1; }; }
88621 cat >conftest.$ac_ext <<_ACEOF
88622 /* confdefs.h. */
88623 _ACEOF
88624 cat confdefs.h >>conftest.$ac_ext
88625 cat >>conftest.$ac_ext <<_ACEOF
88626 /* end confdefs.h. */
88627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88629 #define $ac_func innocuous_$ac_func
88631 /* System header to define __stub macros and hopefully few prototypes,
88632 which can conflict with char $ac_func (); below.
88633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88634 <limits.h> exists even on freestanding compilers. */
88636 #ifdef __STDC__
88637 # include <limits.h>
88638 #else
88639 # include <assert.h>
88640 #endif
88642 #undef $ac_func
88644 /* Override any gcc2 internal prototype to avoid an error. */
88645 #ifdef __cplusplus
88646 extern "C"
88648 #endif
88649 /* We use char because int might match the return type of a gcc2
88650 builtin and then its argument prototype would still apply. */
88651 char $ac_func ();
88652 /* The GNU C library defines this for functions which it implements
88653 to always fail with ENOSYS. Some functions are actually named
88654 something starting with __ and the normal name is an alias. */
88655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88656 choke me
88657 #else
88658 char (*f) () = $ac_func;
88659 #endif
88660 #ifdef __cplusplus
88662 #endif
88665 main ()
88667 return f != $ac_func;
88669 return 0;
88671 _ACEOF
88672 rm -f conftest.$ac_objext conftest$ac_exeext
88673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88674 (eval $ac_link) 2>conftest.er1
88675 ac_status=$?
88676 grep -v '^ *+' conftest.er1 >conftest.err
88677 rm -f conftest.er1
88678 cat conftest.err >&5
88679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88680 (exit $ac_status); } &&
88681 { ac_try='test -z "$ac_c_werror_flag"
88682 || test ! -s conftest.err'
88683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88684 (eval $ac_try) 2>&5
88685 ac_status=$?
88686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88687 (exit $ac_status); }; } &&
88688 { ac_try='test -s conftest$ac_exeext'
88689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88690 (eval $ac_try) 2>&5
88691 ac_status=$?
88692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88693 (exit $ac_status); }; }; then
88694 eval "$as_ac_var=yes"
88695 else
88696 echo "$as_me: failed program was:" >&5
88697 sed 's/^/| /' conftest.$ac_ext >&5
88699 eval "$as_ac_var=no"
88701 rm -f conftest.err conftest.$ac_objext \
88702 conftest$ac_exeext conftest.$ac_ext
88704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88706 if test `eval echo '${'$as_ac_var'}'` = yes; then
88707 cat >>confdefs.h <<_ACEOF
88708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88709 _ACEOF
88712 done
88714 else
88716 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88717 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88718 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88719 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88720 echo $ECHO_N "(cached) $ECHO_C" >&6
88721 else
88725 ac_ext=cc
88726 ac_cpp='$CXXCPP $CPPFLAGS'
88727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88731 cat >conftest.$ac_ext <<_ACEOF
88732 /* confdefs.h. */
88733 _ACEOF
88734 cat confdefs.h >>conftest.$ac_ext
88735 cat >>conftest.$ac_ext <<_ACEOF
88736 /* end confdefs.h. */
88737 #include <math.h>
88738 #ifdef HAVE_IEEEFP_H
88739 #include <ieeefp.h>
88740 #endif
88743 main ()
88745 _isinf(0);
88747 return 0;
88749 _ACEOF
88750 rm -f conftest.$ac_objext
88751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88752 (eval $ac_compile) 2>conftest.er1
88753 ac_status=$?
88754 grep -v '^ *+' conftest.er1 >conftest.err
88755 rm -f conftest.er1
88756 cat conftest.err >&5
88757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88758 (exit $ac_status); } &&
88759 { ac_try='test -z "$ac_cxx_werror_flag"
88760 || test ! -s conftest.err'
88761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88762 (eval $ac_try) 2>&5
88763 ac_status=$?
88764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88765 (exit $ac_status); }; } &&
88766 { ac_try='test -s conftest.$ac_objext'
88767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88768 (eval $ac_try) 2>&5
88769 ac_status=$?
88770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88771 (exit $ac_status); }; }; then
88772 glibcxx_cv_func__isinf_use=yes
88773 else
88774 echo "$as_me: failed program was:" >&5
88775 sed 's/^/| /' conftest.$ac_ext >&5
88777 glibcxx_cv_func__isinf_use=no
88779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88780 ac_ext=c
88781 ac_cpp='$CPP $CPPFLAGS'
88782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88791 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88793 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88795 for ac_func in _isinf
88797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88798 echo "$as_me:$LINENO: checking for $ac_func" >&5
88799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88800 if eval "test \"\${$as_ac_var+set}\" = set"; then
88801 echo $ECHO_N "(cached) $ECHO_C" >&6
88802 else
88803 if test x$gcc_no_link = xyes; then
88804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88806 { (exit 1); exit 1; }; }
88808 cat >conftest.$ac_ext <<_ACEOF
88809 /* confdefs.h. */
88810 _ACEOF
88811 cat confdefs.h >>conftest.$ac_ext
88812 cat >>conftest.$ac_ext <<_ACEOF
88813 /* end confdefs.h. */
88814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88816 #define $ac_func innocuous_$ac_func
88818 /* System header to define __stub macros and hopefully few prototypes,
88819 which can conflict with char $ac_func (); below.
88820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88821 <limits.h> exists even on freestanding compilers. */
88823 #ifdef __STDC__
88824 # include <limits.h>
88825 #else
88826 # include <assert.h>
88827 #endif
88829 #undef $ac_func
88831 /* Override any gcc2 internal prototype to avoid an error. */
88832 #ifdef __cplusplus
88833 extern "C"
88835 #endif
88836 /* We use char because int might match the return type of a gcc2
88837 builtin and then its argument prototype would still apply. */
88838 char $ac_func ();
88839 /* The GNU C library defines this for functions which it implements
88840 to always fail with ENOSYS. Some functions are actually named
88841 something starting with __ and the normal name is an alias. */
88842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88843 choke me
88844 #else
88845 char (*f) () = $ac_func;
88846 #endif
88847 #ifdef __cplusplus
88849 #endif
88852 main ()
88854 return f != $ac_func;
88856 return 0;
88858 _ACEOF
88859 rm -f conftest.$ac_objext conftest$ac_exeext
88860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88861 (eval $ac_link) 2>conftest.er1
88862 ac_status=$?
88863 grep -v '^ *+' conftest.er1 >conftest.err
88864 rm -f conftest.er1
88865 cat conftest.err >&5
88866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88867 (exit $ac_status); } &&
88868 { ac_try='test -z "$ac_c_werror_flag"
88869 || test ! -s conftest.err'
88870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88871 (eval $ac_try) 2>&5
88872 ac_status=$?
88873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88874 (exit $ac_status); }; } &&
88875 { ac_try='test -s conftest$ac_exeext'
88876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88877 (eval $ac_try) 2>&5
88878 ac_status=$?
88879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88880 (exit $ac_status); }; }; then
88881 eval "$as_ac_var=yes"
88882 else
88883 echo "$as_me: failed program was:" >&5
88884 sed 's/^/| /' conftest.$ac_ext >&5
88886 eval "$as_ac_var=no"
88888 rm -f conftest.err conftest.$ac_objext \
88889 conftest$ac_exeext conftest.$ac_ext
88891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88893 if test `eval echo '${'$as_ac_var'}'` = yes; then
88894 cat >>confdefs.h <<_ACEOF
88895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88896 _ACEOF
88899 done
88909 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88910 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88911 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88912 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88913 echo $ECHO_N "(cached) $ECHO_C" >&6
88914 else
88918 ac_ext=cc
88919 ac_cpp='$CXXCPP $CPPFLAGS'
88920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88924 cat >conftest.$ac_ext <<_ACEOF
88925 /* confdefs.h. */
88926 _ACEOF
88927 cat confdefs.h >>conftest.$ac_ext
88928 cat >>conftest.$ac_ext <<_ACEOF
88929 /* end confdefs.h. */
88930 #include <math.h>
88931 #ifdef HAVE_IEEEFP_H
88932 #include <ieeefp.h>
88933 #endif
88936 main ()
88938 isnan(0);
88940 return 0;
88942 _ACEOF
88943 rm -f conftest.$ac_objext
88944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88945 (eval $ac_compile) 2>conftest.er1
88946 ac_status=$?
88947 grep -v '^ *+' conftest.er1 >conftest.err
88948 rm -f conftest.er1
88949 cat conftest.err >&5
88950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88951 (exit $ac_status); } &&
88952 { ac_try='test -z "$ac_cxx_werror_flag"
88953 || test ! -s conftest.err'
88954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88955 (eval $ac_try) 2>&5
88956 ac_status=$?
88957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88958 (exit $ac_status); }; } &&
88959 { ac_try='test -s conftest.$ac_objext'
88960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88961 (eval $ac_try) 2>&5
88962 ac_status=$?
88963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88964 (exit $ac_status); }; }; then
88965 glibcxx_cv_func_isnan_use=yes
88966 else
88967 echo "$as_me: failed program was:" >&5
88968 sed 's/^/| /' conftest.$ac_ext >&5
88970 glibcxx_cv_func_isnan_use=no
88972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88973 ac_ext=c
88974 ac_cpp='$CPP $CPPFLAGS'
88975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88984 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88986 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88988 for ac_func in isnan
88990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88991 echo "$as_me:$LINENO: checking for $ac_func" >&5
88992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88993 if eval "test \"\${$as_ac_var+set}\" = set"; then
88994 echo $ECHO_N "(cached) $ECHO_C" >&6
88995 else
88996 if test x$gcc_no_link = xyes; then
88997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88999 { (exit 1); exit 1; }; }
89001 cat >conftest.$ac_ext <<_ACEOF
89002 /* confdefs.h. */
89003 _ACEOF
89004 cat confdefs.h >>conftest.$ac_ext
89005 cat >>conftest.$ac_ext <<_ACEOF
89006 /* end confdefs.h. */
89007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89009 #define $ac_func innocuous_$ac_func
89011 /* System header to define __stub macros and hopefully few prototypes,
89012 which can conflict with char $ac_func (); below.
89013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89014 <limits.h> exists even on freestanding compilers. */
89016 #ifdef __STDC__
89017 # include <limits.h>
89018 #else
89019 # include <assert.h>
89020 #endif
89022 #undef $ac_func
89024 /* Override any gcc2 internal prototype to avoid an error. */
89025 #ifdef __cplusplus
89026 extern "C"
89028 #endif
89029 /* We use char because int might match the return type of a gcc2
89030 builtin and then its argument prototype would still apply. */
89031 char $ac_func ();
89032 /* The GNU C library defines this for functions which it implements
89033 to always fail with ENOSYS. Some functions are actually named
89034 something starting with __ and the normal name is an alias. */
89035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89036 choke me
89037 #else
89038 char (*f) () = $ac_func;
89039 #endif
89040 #ifdef __cplusplus
89042 #endif
89045 main ()
89047 return f != $ac_func;
89049 return 0;
89051 _ACEOF
89052 rm -f conftest.$ac_objext conftest$ac_exeext
89053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89054 (eval $ac_link) 2>conftest.er1
89055 ac_status=$?
89056 grep -v '^ *+' conftest.er1 >conftest.err
89057 rm -f conftest.er1
89058 cat conftest.err >&5
89059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89060 (exit $ac_status); } &&
89061 { ac_try='test -z "$ac_c_werror_flag"
89062 || test ! -s conftest.err'
89063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89064 (eval $ac_try) 2>&5
89065 ac_status=$?
89066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89067 (exit $ac_status); }; } &&
89068 { ac_try='test -s conftest$ac_exeext'
89069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89070 (eval $ac_try) 2>&5
89071 ac_status=$?
89072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89073 (exit $ac_status); }; }; then
89074 eval "$as_ac_var=yes"
89075 else
89076 echo "$as_me: failed program was:" >&5
89077 sed 's/^/| /' conftest.$ac_ext >&5
89079 eval "$as_ac_var=no"
89081 rm -f conftest.err conftest.$ac_objext \
89082 conftest$ac_exeext conftest.$ac_ext
89084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89086 if test `eval echo '${'$as_ac_var'}'` = yes; then
89087 cat >>confdefs.h <<_ACEOF
89088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89089 _ACEOF
89092 done
89094 else
89096 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
89097 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
89098 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
89099 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
89100 echo $ECHO_N "(cached) $ECHO_C" >&6
89101 else
89105 ac_ext=cc
89106 ac_cpp='$CXXCPP $CPPFLAGS'
89107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89111 cat >conftest.$ac_ext <<_ACEOF
89112 /* confdefs.h. */
89113 _ACEOF
89114 cat confdefs.h >>conftest.$ac_ext
89115 cat >>conftest.$ac_ext <<_ACEOF
89116 /* end confdefs.h. */
89117 #include <math.h>
89118 #ifdef HAVE_IEEEFP_H
89119 #include <ieeefp.h>
89120 #endif
89123 main ()
89125 _isnan(0);
89127 return 0;
89129 _ACEOF
89130 rm -f conftest.$ac_objext
89131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89132 (eval $ac_compile) 2>conftest.er1
89133 ac_status=$?
89134 grep -v '^ *+' conftest.er1 >conftest.err
89135 rm -f conftest.er1
89136 cat conftest.err >&5
89137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89138 (exit $ac_status); } &&
89139 { ac_try='test -z "$ac_cxx_werror_flag"
89140 || test ! -s conftest.err'
89141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89142 (eval $ac_try) 2>&5
89143 ac_status=$?
89144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89145 (exit $ac_status); }; } &&
89146 { ac_try='test -s conftest.$ac_objext'
89147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89148 (eval $ac_try) 2>&5
89149 ac_status=$?
89150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89151 (exit $ac_status); }; }; then
89152 glibcxx_cv_func__isnan_use=yes
89153 else
89154 echo "$as_me: failed program was:" >&5
89155 sed 's/^/| /' conftest.$ac_ext >&5
89157 glibcxx_cv_func__isnan_use=no
89159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89160 ac_ext=c
89161 ac_cpp='$CPP $CPPFLAGS'
89162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89170 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
89171 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
89173 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
89175 for ac_func in _isnan
89177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89178 echo "$as_me:$LINENO: checking for $ac_func" >&5
89179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89180 if eval "test \"\${$as_ac_var+set}\" = set"; then
89181 echo $ECHO_N "(cached) $ECHO_C" >&6
89182 else
89183 if test x$gcc_no_link = xyes; then
89184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89186 { (exit 1); exit 1; }; }
89188 cat >conftest.$ac_ext <<_ACEOF
89189 /* confdefs.h. */
89190 _ACEOF
89191 cat confdefs.h >>conftest.$ac_ext
89192 cat >>conftest.$ac_ext <<_ACEOF
89193 /* end confdefs.h. */
89194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89196 #define $ac_func innocuous_$ac_func
89198 /* System header to define __stub macros and hopefully few prototypes,
89199 which can conflict with char $ac_func (); below.
89200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89201 <limits.h> exists even on freestanding compilers. */
89203 #ifdef __STDC__
89204 # include <limits.h>
89205 #else
89206 # include <assert.h>
89207 #endif
89209 #undef $ac_func
89211 /* Override any gcc2 internal prototype to avoid an error. */
89212 #ifdef __cplusplus
89213 extern "C"
89215 #endif
89216 /* We use char because int might match the return type of a gcc2
89217 builtin and then its argument prototype would still apply. */
89218 char $ac_func ();
89219 /* The GNU C library defines this for functions which it implements
89220 to always fail with ENOSYS. Some functions are actually named
89221 something starting with __ and the normal name is an alias. */
89222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89223 choke me
89224 #else
89225 char (*f) () = $ac_func;
89226 #endif
89227 #ifdef __cplusplus
89229 #endif
89232 main ()
89234 return f != $ac_func;
89236 return 0;
89238 _ACEOF
89239 rm -f conftest.$ac_objext conftest$ac_exeext
89240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89241 (eval $ac_link) 2>conftest.er1
89242 ac_status=$?
89243 grep -v '^ *+' conftest.er1 >conftest.err
89244 rm -f conftest.er1
89245 cat conftest.err >&5
89246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89247 (exit $ac_status); } &&
89248 { ac_try='test -z "$ac_c_werror_flag"
89249 || test ! -s conftest.err'
89250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89251 (eval $ac_try) 2>&5
89252 ac_status=$?
89253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89254 (exit $ac_status); }; } &&
89255 { ac_try='test -s conftest$ac_exeext'
89256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89257 (eval $ac_try) 2>&5
89258 ac_status=$?
89259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89260 (exit $ac_status); }; }; then
89261 eval "$as_ac_var=yes"
89262 else
89263 echo "$as_me: failed program was:" >&5
89264 sed 's/^/| /' conftest.$ac_ext >&5
89266 eval "$as_ac_var=no"
89268 rm -f conftest.err conftest.$ac_objext \
89269 conftest$ac_exeext conftest.$ac_ext
89271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89273 if test `eval echo '${'$as_ac_var'}'` = yes; then
89274 cat >>confdefs.h <<_ACEOF
89275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89276 _ACEOF
89279 done
89289 echo "$as_me:$LINENO: checking for finite declaration" >&5
89290 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
89291 if test x${glibcxx_cv_func_finite_use+set} != xset; then
89292 if test "${glibcxx_cv_func_finite_use+set}" = set; then
89293 echo $ECHO_N "(cached) $ECHO_C" >&6
89294 else
89298 ac_ext=cc
89299 ac_cpp='$CXXCPP $CPPFLAGS'
89300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89304 cat >conftest.$ac_ext <<_ACEOF
89305 /* confdefs.h. */
89306 _ACEOF
89307 cat confdefs.h >>conftest.$ac_ext
89308 cat >>conftest.$ac_ext <<_ACEOF
89309 /* end confdefs.h. */
89310 #include <math.h>
89311 #ifdef HAVE_IEEEFP_H
89312 #include <ieeefp.h>
89313 #endif
89316 main ()
89318 finite(0);
89320 return 0;
89322 _ACEOF
89323 rm -f conftest.$ac_objext
89324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89325 (eval $ac_compile) 2>conftest.er1
89326 ac_status=$?
89327 grep -v '^ *+' conftest.er1 >conftest.err
89328 rm -f conftest.er1
89329 cat conftest.err >&5
89330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89331 (exit $ac_status); } &&
89332 { ac_try='test -z "$ac_cxx_werror_flag"
89333 || test ! -s conftest.err'
89334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89335 (eval $ac_try) 2>&5
89336 ac_status=$?
89337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89338 (exit $ac_status); }; } &&
89339 { ac_try='test -s conftest.$ac_objext'
89340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89341 (eval $ac_try) 2>&5
89342 ac_status=$?
89343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89344 (exit $ac_status); }; }; then
89345 glibcxx_cv_func_finite_use=yes
89346 else
89347 echo "$as_me: failed program was:" >&5
89348 sed 's/^/| /' conftest.$ac_ext >&5
89350 glibcxx_cv_func_finite_use=no
89352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89353 ac_ext=c
89354 ac_cpp='$CPP $CPPFLAGS'
89355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
89364 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
89366 if test x$glibcxx_cv_func_finite_use = x"yes"; then
89368 for ac_func in finite
89370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89371 echo "$as_me:$LINENO: checking for $ac_func" >&5
89372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89373 if eval "test \"\${$as_ac_var+set}\" = set"; then
89374 echo $ECHO_N "(cached) $ECHO_C" >&6
89375 else
89376 if test x$gcc_no_link = xyes; then
89377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89379 { (exit 1); exit 1; }; }
89381 cat >conftest.$ac_ext <<_ACEOF
89382 /* confdefs.h. */
89383 _ACEOF
89384 cat confdefs.h >>conftest.$ac_ext
89385 cat >>conftest.$ac_ext <<_ACEOF
89386 /* end confdefs.h. */
89387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89389 #define $ac_func innocuous_$ac_func
89391 /* System header to define __stub macros and hopefully few prototypes,
89392 which can conflict with char $ac_func (); below.
89393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89394 <limits.h> exists even on freestanding compilers. */
89396 #ifdef __STDC__
89397 # include <limits.h>
89398 #else
89399 # include <assert.h>
89400 #endif
89402 #undef $ac_func
89404 /* Override any gcc2 internal prototype to avoid an error. */
89405 #ifdef __cplusplus
89406 extern "C"
89408 #endif
89409 /* We use char because int might match the return type of a gcc2
89410 builtin and then its argument prototype would still apply. */
89411 char $ac_func ();
89412 /* The GNU C library defines this for functions which it implements
89413 to always fail with ENOSYS. Some functions are actually named
89414 something starting with __ and the normal name is an alias. */
89415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89416 choke me
89417 #else
89418 char (*f) () = $ac_func;
89419 #endif
89420 #ifdef __cplusplus
89422 #endif
89425 main ()
89427 return f != $ac_func;
89429 return 0;
89431 _ACEOF
89432 rm -f conftest.$ac_objext conftest$ac_exeext
89433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89434 (eval $ac_link) 2>conftest.er1
89435 ac_status=$?
89436 grep -v '^ *+' conftest.er1 >conftest.err
89437 rm -f conftest.er1
89438 cat conftest.err >&5
89439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89440 (exit $ac_status); } &&
89441 { ac_try='test -z "$ac_c_werror_flag"
89442 || test ! -s conftest.err'
89443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89444 (eval $ac_try) 2>&5
89445 ac_status=$?
89446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89447 (exit $ac_status); }; } &&
89448 { ac_try='test -s conftest$ac_exeext'
89449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89450 (eval $ac_try) 2>&5
89451 ac_status=$?
89452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89453 (exit $ac_status); }; }; then
89454 eval "$as_ac_var=yes"
89455 else
89456 echo "$as_me: failed program was:" >&5
89457 sed 's/^/| /' conftest.$ac_ext >&5
89459 eval "$as_ac_var=no"
89461 rm -f conftest.err conftest.$ac_objext \
89462 conftest$ac_exeext conftest.$ac_ext
89464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89466 if test `eval echo '${'$as_ac_var'}'` = yes; then
89467 cat >>confdefs.h <<_ACEOF
89468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89469 _ACEOF
89472 done
89474 else
89476 echo "$as_me:$LINENO: checking for _finite declaration" >&5
89477 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
89478 if test x${glibcxx_cv_func__finite_use+set} != xset; then
89479 if test "${glibcxx_cv_func__finite_use+set}" = set; then
89480 echo $ECHO_N "(cached) $ECHO_C" >&6
89481 else
89485 ac_ext=cc
89486 ac_cpp='$CXXCPP $CPPFLAGS'
89487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89491 cat >conftest.$ac_ext <<_ACEOF
89492 /* confdefs.h. */
89493 _ACEOF
89494 cat confdefs.h >>conftest.$ac_ext
89495 cat >>conftest.$ac_ext <<_ACEOF
89496 /* end confdefs.h. */
89497 #include <math.h>
89498 #ifdef HAVE_IEEEFP_H
89499 #include <ieeefp.h>
89500 #endif
89503 main ()
89505 _finite(0);
89507 return 0;
89509 _ACEOF
89510 rm -f conftest.$ac_objext
89511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89512 (eval $ac_compile) 2>conftest.er1
89513 ac_status=$?
89514 grep -v '^ *+' conftest.er1 >conftest.err
89515 rm -f conftest.er1
89516 cat conftest.err >&5
89517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89518 (exit $ac_status); } &&
89519 { ac_try='test -z "$ac_cxx_werror_flag"
89520 || test ! -s conftest.err'
89521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89522 (eval $ac_try) 2>&5
89523 ac_status=$?
89524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89525 (exit $ac_status); }; } &&
89526 { ac_try='test -s conftest.$ac_objext'
89527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89528 (eval $ac_try) 2>&5
89529 ac_status=$?
89530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89531 (exit $ac_status); }; }; then
89532 glibcxx_cv_func__finite_use=yes
89533 else
89534 echo "$as_me: failed program was:" >&5
89535 sed 's/^/| /' conftest.$ac_ext >&5
89537 glibcxx_cv_func__finite_use=no
89539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89540 ac_ext=c
89541 ac_cpp='$CPP $CPPFLAGS'
89542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
89551 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
89553 if test x$glibcxx_cv_func__finite_use = x"yes"; then
89555 for ac_func in _finite
89557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89558 echo "$as_me:$LINENO: checking for $ac_func" >&5
89559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89560 if eval "test \"\${$as_ac_var+set}\" = set"; then
89561 echo $ECHO_N "(cached) $ECHO_C" >&6
89562 else
89563 if test x$gcc_no_link = xyes; then
89564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89566 { (exit 1); exit 1; }; }
89568 cat >conftest.$ac_ext <<_ACEOF
89569 /* confdefs.h. */
89570 _ACEOF
89571 cat confdefs.h >>conftest.$ac_ext
89572 cat >>conftest.$ac_ext <<_ACEOF
89573 /* end confdefs.h. */
89574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89576 #define $ac_func innocuous_$ac_func
89578 /* System header to define __stub macros and hopefully few prototypes,
89579 which can conflict with char $ac_func (); below.
89580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89581 <limits.h> exists even on freestanding compilers. */
89583 #ifdef __STDC__
89584 # include <limits.h>
89585 #else
89586 # include <assert.h>
89587 #endif
89589 #undef $ac_func
89591 /* Override any gcc2 internal prototype to avoid an error. */
89592 #ifdef __cplusplus
89593 extern "C"
89595 #endif
89596 /* We use char because int might match the return type of a gcc2
89597 builtin and then its argument prototype would still apply. */
89598 char $ac_func ();
89599 /* The GNU C library defines this for functions which it implements
89600 to always fail with ENOSYS. Some functions are actually named
89601 something starting with __ and the normal name is an alias. */
89602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89603 choke me
89604 #else
89605 char (*f) () = $ac_func;
89606 #endif
89607 #ifdef __cplusplus
89609 #endif
89612 main ()
89614 return f != $ac_func;
89616 return 0;
89618 _ACEOF
89619 rm -f conftest.$ac_objext conftest$ac_exeext
89620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89621 (eval $ac_link) 2>conftest.er1
89622 ac_status=$?
89623 grep -v '^ *+' conftest.er1 >conftest.err
89624 rm -f conftest.er1
89625 cat conftest.err >&5
89626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89627 (exit $ac_status); } &&
89628 { ac_try='test -z "$ac_c_werror_flag"
89629 || test ! -s conftest.err'
89630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89631 (eval $ac_try) 2>&5
89632 ac_status=$?
89633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89634 (exit $ac_status); }; } &&
89635 { ac_try='test -s conftest$ac_exeext'
89636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89637 (eval $ac_try) 2>&5
89638 ac_status=$?
89639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89640 (exit $ac_status); }; }; then
89641 eval "$as_ac_var=yes"
89642 else
89643 echo "$as_me: failed program was:" >&5
89644 sed 's/^/| /' conftest.$ac_ext >&5
89646 eval "$as_ac_var=no"
89648 rm -f conftest.err conftest.$ac_objext \
89649 conftest$ac_exeext conftest.$ac_ext
89651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89653 if test `eval echo '${'$as_ac_var'}'` = yes; then
89654 cat >>confdefs.h <<_ACEOF
89655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89656 _ACEOF
89659 done
89669 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89670 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89671 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89672 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89673 echo $ECHO_N "(cached) $ECHO_C" >&6
89674 else
89678 ac_ext=cc
89679 ac_cpp='$CXXCPP $CPPFLAGS'
89680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89684 cat >conftest.$ac_ext <<_ACEOF
89685 /* confdefs.h. */
89686 _ACEOF
89687 cat confdefs.h >>conftest.$ac_ext
89688 cat >>conftest.$ac_ext <<_ACEOF
89689 /* end confdefs.h. */
89690 #include <math.h>
89692 main ()
89694 copysign(0, 0);
89696 return 0;
89698 _ACEOF
89699 rm -f conftest.$ac_objext
89700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89701 (eval $ac_compile) 2>conftest.er1
89702 ac_status=$?
89703 grep -v '^ *+' conftest.er1 >conftest.err
89704 rm -f conftest.er1
89705 cat conftest.err >&5
89706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89707 (exit $ac_status); } &&
89708 { ac_try='test -z "$ac_cxx_werror_flag"
89709 || test ! -s conftest.err'
89710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89711 (eval $ac_try) 2>&5
89712 ac_status=$?
89713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89714 (exit $ac_status); }; } &&
89715 { ac_try='test -s conftest.$ac_objext'
89716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89717 (eval $ac_try) 2>&5
89718 ac_status=$?
89719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89720 (exit $ac_status); }; }; then
89721 glibcxx_cv_func_copysign_use=yes
89722 else
89723 echo "$as_me: failed program was:" >&5
89724 sed 's/^/| /' conftest.$ac_ext >&5
89726 glibcxx_cv_func_copysign_use=no
89728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89729 ac_ext=c
89730 ac_cpp='$CPP $CPPFLAGS'
89731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89740 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89742 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89744 for ac_func in copysign
89746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89747 echo "$as_me:$LINENO: checking for $ac_func" >&5
89748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89749 if eval "test \"\${$as_ac_var+set}\" = set"; then
89750 echo $ECHO_N "(cached) $ECHO_C" >&6
89751 else
89752 if test x$gcc_no_link = xyes; then
89753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89755 { (exit 1); exit 1; }; }
89757 cat >conftest.$ac_ext <<_ACEOF
89758 /* confdefs.h. */
89759 _ACEOF
89760 cat confdefs.h >>conftest.$ac_ext
89761 cat >>conftest.$ac_ext <<_ACEOF
89762 /* end confdefs.h. */
89763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89765 #define $ac_func innocuous_$ac_func
89767 /* System header to define __stub macros and hopefully few prototypes,
89768 which can conflict with char $ac_func (); below.
89769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89770 <limits.h> exists even on freestanding compilers. */
89772 #ifdef __STDC__
89773 # include <limits.h>
89774 #else
89775 # include <assert.h>
89776 #endif
89778 #undef $ac_func
89780 /* Override any gcc2 internal prototype to avoid an error. */
89781 #ifdef __cplusplus
89782 extern "C"
89784 #endif
89785 /* We use char because int might match the return type of a gcc2
89786 builtin and then its argument prototype would still apply. */
89787 char $ac_func ();
89788 /* The GNU C library defines this for functions which it implements
89789 to always fail with ENOSYS. Some functions are actually named
89790 something starting with __ and the normal name is an alias. */
89791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89792 choke me
89793 #else
89794 char (*f) () = $ac_func;
89795 #endif
89796 #ifdef __cplusplus
89798 #endif
89801 main ()
89803 return f != $ac_func;
89805 return 0;
89807 _ACEOF
89808 rm -f conftest.$ac_objext conftest$ac_exeext
89809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89810 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
89831 else
89832 echo "$as_me: failed program was:" >&5
89833 sed 's/^/| /' conftest.$ac_ext >&5
89835 eval "$as_ac_var=no"
89837 rm -f conftest.err conftest.$ac_objext \
89838 conftest$ac_exeext conftest.$ac_ext
89840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89842 if test `eval echo '${'$as_ac_var'}'` = yes; then
89843 cat >>confdefs.h <<_ACEOF
89844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89845 _ACEOF
89848 done
89850 else
89852 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89853 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89854 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89855 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89856 echo $ECHO_N "(cached) $ECHO_C" >&6
89857 else
89861 ac_ext=cc
89862 ac_cpp='$CXXCPP $CPPFLAGS'
89863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89867 cat >conftest.$ac_ext <<_ACEOF
89868 /* confdefs.h. */
89869 _ACEOF
89870 cat confdefs.h >>conftest.$ac_ext
89871 cat >>conftest.$ac_ext <<_ACEOF
89872 /* end confdefs.h. */
89873 #include <math.h>
89875 main ()
89877 _copysign(0, 0);
89879 return 0;
89881 _ACEOF
89882 rm -f conftest.$ac_objext
89883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89884 (eval $ac_compile) 2>conftest.er1
89885 ac_status=$?
89886 grep -v '^ *+' conftest.er1 >conftest.err
89887 rm -f conftest.er1
89888 cat conftest.err >&5
89889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89890 (exit $ac_status); } &&
89891 { ac_try='test -z "$ac_cxx_werror_flag"
89892 || test ! -s conftest.err'
89893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89894 (eval $ac_try) 2>&5
89895 ac_status=$?
89896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89897 (exit $ac_status); }; } &&
89898 { ac_try='test -s conftest.$ac_objext'
89899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89900 (eval $ac_try) 2>&5
89901 ac_status=$?
89902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89903 (exit $ac_status); }; }; then
89904 glibcxx_cv_func__copysign_use=yes
89905 else
89906 echo "$as_me: failed program was:" >&5
89907 sed 's/^/| /' conftest.$ac_ext >&5
89909 glibcxx_cv_func__copysign_use=no
89911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89912 ac_ext=c
89913 ac_cpp='$CPP $CPPFLAGS'
89914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89923 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89925 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89927 for ac_func in _copysign
89929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89930 echo "$as_me:$LINENO: checking for $ac_func" >&5
89931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89932 if eval "test \"\${$as_ac_var+set}\" = set"; then
89933 echo $ECHO_N "(cached) $ECHO_C" >&6
89934 else
89935 if test x$gcc_no_link = xyes; then
89936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89938 { (exit 1); exit 1; }; }
89940 cat >conftest.$ac_ext <<_ACEOF
89941 /* confdefs.h. */
89942 _ACEOF
89943 cat confdefs.h >>conftest.$ac_ext
89944 cat >>conftest.$ac_ext <<_ACEOF
89945 /* end confdefs.h. */
89946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89948 #define $ac_func innocuous_$ac_func
89950 /* System header to define __stub macros and hopefully few prototypes,
89951 which can conflict with char $ac_func (); below.
89952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89953 <limits.h> exists even on freestanding compilers. */
89955 #ifdef __STDC__
89956 # include <limits.h>
89957 #else
89958 # include <assert.h>
89959 #endif
89961 #undef $ac_func
89963 /* Override any gcc2 internal prototype to avoid an error. */
89964 #ifdef __cplusplus
89965 extern "C"
89967 #endif
89968 /* We use char because int might match the return type of a gcc2
89969 builtin and then its argument prototype would still apply. */
89970 char $ac_func ();
89971 /* The GNU C library defines this for functions which it implements
89972 to always fail with ENOSYS. Some functions are actually named
89973 something starting with __ and the normal name is an alias. */
89974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89975 choke me
89976 #else
89977 char (*f) () = $ac_func;
89978 #endif
89979 #ifdef __cplusplus
89981 #endif
89984 main ()
89986 return f != $ac_func;
89988 return 0;
89990 _ACEOF
89991 rm -f conftest.$ac_objext conftest$ac_exeext
89992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89993 (eval $ac_link) 2>conftest.er1
89994 ac_status=$?
89995 grep -v '^ *+' conftest.er1 >conftest.err
89996 rm -f conftest.er1
89997 cat conftest.err >&5
89998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89999 (exit $ac_status); } &&
90000 { ac_try='test -z "$ac_c_werror_flag"
90001 || test ! -s conftest.err'
90002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90003 (eval $ac_try) 2>&5
90004 ac_status=$?
90005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90006 (exit $ac_status); }; } &&
90007 { ac_try='test -s conftest$ac_exeext'
90008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90009 (eval $ac_try) 2>&5
90010 ac_status=$?
90011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90012 (exit $ac_status); }; }; then
90013 eval "$as_ac_var=yes"
90014 else
90015 echo "$as_me: failed program was:" >&5
90016 sed 's/^/| /' conftest.$ac_ext >&5
90018 eval "$as_ac_var=no"
90020 rm -f conftest.err conftest.$ac_objext \
90021 conftest$ac_exeext conftest.$ac_ext
90023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90025 if test `eval echo '${'$as_ac_var'}'` = yes; then
90026 cat >>confdefs.h <<_ACEOF
90027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90028 _ACEOF
90031 done
90041 echo "$as_me:$LINENO: checking for sincos declaration" >&5
90042 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
90043 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
90044 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
90045 echo $ECHO_N "(cached) $ECHO_C" >&6
90046 else
90050 ac_ext=cc
90051 ac_cpp='$CXXCPP $CPPFLAGS'
90052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90056 cat >conftest.$ac_ext <<_ACEOF
90057 /* confdefs.h. */
90058 _ACEOF
90059 cat confdefs.h >>conftest.$ac_ext
90060 cat >>conftest.$ac_ext <<_ACEOF
90061 /* end confdefs.h. */
90062 #include <math.h>
90064 main ()
90066 sincos(0, 0, 0);
90068 return 0;
90070 _ACEOF
90071 rm -f conftest.$ac_objext
90072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90073 (eval $ac_compile) 2>conftest.er1
90074 ac_status=$?
90075 grep -v '^ *+' conftest.er1 >conftest.err
90076 rm -f conftest.er1
90077 cat conftest.err >&5
90078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90079 (exit $ac_status); } &&
90080 { ac_try='test -z "$ac_cxx_werror_flag"
90081 || test ! -s conftest.err'
90082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90083 (eval $ac_try) 2>&5
90084 ac_status=$?
90085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90086 (exit $ac_status); }; } &&
90087 { ac_try='test -s conftest.$ac_objext'
90088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90089 (eval $ac_try) 2>&5
90090 ac_status=$?
90091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90092 (exit $ac_status); }; }; then
90093 glibcxx_cv_func_sincos_use=yes
90094 else
90095 echo "$as_me: failed program was:" >&5
90096 sed 's/^/| /' conftest.$ac_ext >&5
90098 glibcxx_cv_func_sincos_use=no
90100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90101 ac_ext=c
90102 ac_cpp='$CPP $CPPFLAGS'
90103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
90112 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
90114 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
90116 for ac_func in sincos
90118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90119 echo "$as_me:$LINENO: checking for $ac_func" >&5
90120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90121 if eval "test \"\${$as_ac_var+set}\" = set"; then
90122 echo $ECHO_N "(cached) $ECHO_C" >&6
90123 else
90124 if test x$gcc_no_link = xyes; then
90125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90127 { (exit 1); exit 1; }; }
90129 cat >conftest.$ac_ext <<_ACEOF
90130 /* confdefs.h. */
90131 _ACEOF
90132 cat confdefs.h >>conftest.$ac_ext
90133 cat >>conftest.$ac_ext <<_ACEOF
90134 /* end confdefs.h. */
90135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90137 #define $ac_func innocuous_$ac_func
90139 /* System header to define __stub macros and hopefully few prototypes,
90140 which can conflict with char $ac_func (); below.
90141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90142 <limits.h> exists even on freestanding compilers. */
90144 #ifdef __STDC__
90145 # include <limits.h>
90146 #else
90147 # include <assert.h>
90148 #endif
90150 #undef $ac_func
90152 /* Override any gcc2 internal prototype to avoid an error. */
90153 #ifdef __cplusplus
90154 extern "C"
90156 #endif
90157 /* We use char because int might match the return type of a gcc2
90158 builtin and then its argument prototype would still apply. */
90159 char $ac_func ();
90160 /* The GNU C library defines this for functions which it implements
90161 to always fail with ENOSYS. Some functions are actually named
90162 something starting with __ and the normal name is an alias. */
90163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90164 choke me
90165 #else
90166 char (*f) () = $ac_func;
90167 #endif
90168 #ifdef __cplusplus
90170 #endif
90173 main ()
90175 return f != $ac_func;
90177 return 0;
90179 _ACEOF
90180 rm -f conftest.$ac_objext conftest$ac_exeext
90181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90182 (eval $ac_link) 2>conftest.er1
90183 ac_status=$?
90184 grep -v '^ *+' conftest.er1 >conftest.err
90185 rm -f conftest.er1
90186 cat conftest.err >&5
90187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90188 (exit $ac_status); } &&
90189 { ac_try='test -z "$ac_c_werror_flag"
90190 || test ! -s conftest.err'
90191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90192 (eval $ac_try) 2>&5
90193 ac_status=$?
90194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90195 (exit $ac_status); }; } &&
90196 { ac_try='test -s conftest$ac_exeext'
90197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90198 (eval $ac_try) 2>&5
90199 ac_status=$?
90200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90201 (exit $ac_status); }; }; then
90202 eval "$as_ac_var=yes"
90203 else
90204 echo "$as_me: failed program was:" >&5
90205 sed 's/^/| /' conftest.$ac_ext >&5
90207 eval "$as_ac_var=no"
90209 rm -f conftest.err conftest.$ac_objext \
90210 conftest$ac_exeext conftest.$ac_ext
90212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90214 if test `eval echo '${'$as_ac_var'}'` = yes; then
90215 cat >>confdefs.h <<_ACEOF
90216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90217 _ACEOF
90220 done
90222 else
90224 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
90225 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
90226 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
90227 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
90228 echo $ECHO_N "(cached) $ECHO_C" >&6
90229 else
90233 ac_ext=cc
90234 ac_cpp='$CXXCPP $CPPFLAGS'
90235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90239 cat >conftest.$ac_ext <<_ACEOF
90240 /* confdefs.h. */
90241 _ACEOF
90242 cat confdefs.h >>conftest.$ac_ext
90243 cat >>conftest.$ac_ext <<_ACEOF
90244 /* end confdefs.h. */
90245 #include <math.h>
90247 main ()
90249 _sincos(0, 0, 0);
90251 return 0;
90253 _ACEOF
90254 rm -f conftest.$ac_objext
90255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90256 (eval $ac_compile) 2>conftest.er1
90257 ac_status=$?
90258 grep -v '^ *+' conftest.er1 >conftest.err
90259 rm -f conftest.er1
90260 cat conftest.err >&5
90261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90262 (exit $ac_status); } &&
90263 { ac_try='test -z "$ac_cxx_werror_flag"
90264 || test ! -s conftest.err'
90265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90266 (eval $ac_try) 2>&5
90267 ac_status=$?
90268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90269 (exit $ac_status); }; } &&
90270 { ac_try='test -s conftest.$ac_objext'
90271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90272 (eval $ac_try) 2>&5
90273 ac_status=$?
90274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90275 (exit $ac_status); }; }; then
90276 glibcxx_cv_func__sincos_use=yes
90277 else
90278 echo "$as_me: failed program was:" >&5
90279 sed 's/^/| /' conftest.$ac_ext >&5
90281 glibcxx_cv_func__sincos_use=no
90283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90284 ac_ext=c
90285 ac_cpp='$CPP $CPPFLAGS'
90286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
90295 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
90297 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
90299 for ac_func in _sincos
90301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90302 echo "$as_me:$LINENO: checking for $ac_func" >&5
90303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90304 if eval "test \"\${$as_ac_var+set}\" = set"; then
90305 echo $ECHO_N "(cached) $ECHO_C" >&6
90306 else
90307 if test x$gcc_no_link = xyes; then
90308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90310 { (exit 1); exit 1; }; }
90312 cat >conftest.$ac_ext <<_ACEOF
90313 /* confdefs.h. */
90314 _ACEOF
90315 cat confdefs.h >>conftest.$ac_ext
90316 cat >>conftest.$ac_ext <<_ACEOF
90317 /* end confdefs.h. */
90318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90320 #define $ac_func innocuous_$ac_func
90322 /* System header to define __stub macros and hopefully few prototypes,
90323 which can conflict with char $ac_func (); below.
90324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90325 <limits.h> exists even on freestanding compilers. */
90327 #ifdef __STDC__
90328 # include <limits.h>
90329 #else
90330 # include <assert.h>
90331 #endif
90333 #undef $ac_func
90335 /* Override any gcc2 internal prototype to avoid an error. */
90336 #ifdef __cplusplus
90337 extern "C"
90339 #endif
90340 /* We use char because int might match the return type of a gcc2
90341 builtin and then its argument prototype would still apply. */
90342 char $ac_func ();
90343 /* The GNU C library defines this for functions which it implements
90344 to always fail with ENOSYS. Some functions are actually named
90345 something starting with __ and the normal name is an alias. */
90346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90347 choke me
90348 #else
90349 char (*f) () = $ac_func;
90350 #endif
90351 #ifdef __cplusplus
90353 #endif
90356 main ()
90358 return f != $ac_func;
90360 return 0;
90362 _ACEOF
90363 rm -f conftest.$ac_objext conftest$ac_exeext
90364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90365 (eval $ac_link) 2>conftest.er1
90366 ac_status=$?
90367 grep -v '^ *+' conftest.er1 >conftest.err
90368 rm -f conftest.er1
90369 cat conftest.err >&5
90370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90371 (exit $ac_status); } &&
90372 { ac_try='test -z "$ac_c_werror_flag"
90373 || test ! -s conftest.err'
90374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90375 (eval $ac_try) 2>&5
90376 ac_status=$?
90377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90378 (exit $ac_status); }; } &&
90379 { ac_try='test -s conftest$ac_exeext'
90380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90381 (eval $ac_try) 2>&5
90382 ac_status=$?
90383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384 (exit $ac_status); }; }; then
90385 eval "$as_ac_var=yes"
90386 else
90387 echo "$as_me: failed program was:" >&5
90388 sed 's/^/| /' conftest.$ac_ext >&5
90390 eval "$as_ac_var=no"
90392 rm -f conftest.err conftest.$ac_objext \
90393 conftest$ac_exeext conftest.$ac_ext
90395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90397 if test `eval echo '${'$as_ac_var'}'` = yes; then
90398 cat >>confdefs.h <<_ACEOF
90399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90400 _ACEOF
90403 done
90413 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
90414 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
90415 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
90416 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
90417 echo $ECHO_N "(cached) $ECHO_C" >&6
90418 else
90422 ac_ext=cc
90423 ac_cpp='$CXXCPP $CPPFLAGS'
90424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90428 cat >conftest.$ac_ext <<_ACEOF
90429 /* confdefs.h. */
90430 _ACEOF
90431 cat confdefs.h >>conftest.$ac_ext
90432 cat >>conftest.$ac_ext <<_ACEOF
90433 /* end confdefs.h. */
90434 #include <math.h>
90435 #ifdef HAVE_IEEEFP_H
90436 #include <ieeefp.h>
90437 #endif
90440 main ()
90442 fpclass(0);
90444 return 0;
90446 _ACEOF
90447 rm -f conftest.$ac_objext
90448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90449 (eval $ac_compile) 2>conftest.er1
90450 ac_status=$?
90451 grep -v '^ *+' conftest.er1 >conftest.err
90452 rm -f conftest.er1
90453 cat conftest.err >&5
90454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90455 (exit $ac_status); } &&
90456 { ac_try='test -z "$ac_cxx_werror_flag"
90457 || test ! -s conftest.err'
90458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90459 (eval $ac_try) 2>&5
90460 ac_status=$?
90461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90462 (exit $ac_status); }; } &&
90463 { ac_try='test -s conftest.$ac_objext'
90464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90465 (eval $ac_try) 2>&5
90466 ac_status=$?
90467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90468 (exit $ac_status); }; }; then
90469 glibcxx_cv_func_fpclass_use=yes
90470 else
90471 echo "$as_me: failed program was:" >&5
90472 sed 's/^/| /' conftest.$ac_ext >&5
90474 glibcxx_cv_func_fpclass_use=no
90476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90477 ac_ext=c
90478 ac_cpp='$CPP $CPPFLAGS'
90479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
90488 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
90490 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
90492 for ac_func in fpclass
90494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90495 echo "$as_me:$LINENO: checking for $ac_func" >&5
90496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90497 if eval "test \"\${$as_ac_var+set}\" = set"; then
90498 echo $ECHO_N "(cached) $ECHO_C" >&6
90499 else
90500 if test x$gcc_no_link = xyes; then
90501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90503 { (exit 1); exit 1; }; }
90505 cat >conftest.$ac_ext <<_ACEOF
90506 /* confdefs.h. */
90507 _ACEOF
90508 cat confdefs.h >>conftest.$ac_ext
90509 cat >>conftest.$ac_ext <<_ACEOF
90510 /* end confdefs.h. */
90511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90513 #define $ac_func innocuous_$ac_func
90515 /* System header to define __stub macros and hopefully few prototypes,
90516 which can conflict with char $ac_func (); below.
90517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90518 <limits.h> exists even on freestanding compilers. */
90520 #ifdef __STDC__
90521 # include <limits.h>
90522 #else
90523 # include <assert.h>
90524 #endif
90526 #undef $ac_func
90528 /* Override any gcc2 internal prototype to avoid an error. */
90529 #ifdef __cplusplus
90530 extern "C"
90532 #endif
90533 /* We use char because int might match the return type of a gcc2
90534 builtin and then its argument prototype would still apply. */
90535 char $ac_func ();
90536 /* The GNU C library defines this for functions which it implements
90537 to always fail with ENOSYS. Some functions are actually named
90538 something starting with __ and the normal name is an alias. */
90539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90540 choke me
90541 #else
90542 char (*f) () = $ac_func;
90543 #endif
90544 #ifdef __cplusplus
90546 #endif
90549 main ()
90551 return f != $ac_func;
90553 return 0;
90555 _ACEOF
90556 rm -f conftest.$ac_objext conftest$ac_exeext
90557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90558 (eval $ac_link) 2>conftest.er1
90559 ac_status=$?
90560 grep -v '^ *+' conftest.er1 >conftest.err
90561 rm -f conftest.er1
90562 cat conftest.err >&5
90563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90564 (exit $ac_status); } &&
90565 { ac_try='test -z "$ac_c_werror_flag"
90566 || test ! -s conftest.err'
90567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568 (eval $ac_try) 2>&5
90569 ac_status=$?
90570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571 (exit $ac_status); }; } &&
90572 { ac_try='test -s conftest$ac_exeext'
90573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90574 (eval $ac_try) 2>&5
90575 ac_status=$?
90576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90577 (exit $ac_status); }; }; then
90578 eval "$as_ac_var=yes"
90579 else
90580 echo "$as_me: failed program was:" >&5
90581 sed 's/^/| /' conftest.$ac_ext >&5
90583 eval "$as_ac_var=no"
90585 rm -f conftest.err conftest.$ac_objext \
90586 conftest$ac_exeext conftest.$ac_ext
90588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90590 if test `eval echo '${'$as_ac_var'}'` = yes; then
90591 cat >>confdefs.h <<_ACEOF
90592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90593 _ACEOF
90596 done
90598 else
90600 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90601 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90602 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90603 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90604 echo $ECHO_N "(cached) $ECHO_C" >&6
90605 else
90609 ac_ext=cc
90610 ac_cpp='$CXXCPP $CPPFLAGS'
90611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90615 cat >conftest.$ac_ext <<_ACEOF
90616 /* confdefs.h. */
90617 _ACEOF
90618 cat confdefs.h >>conftest.$ac_ext
90619 cat >>conftest.$ac_ext <<_ACEOF
90620 /* end confdefs.h. */
90621 #include <math.h>
90622 #ifdef HAVE_IEEEFP_H
90623 #include <ieeefp.h>
90624 #endif
90627 main ()
90629 _fpclass(0);
90631 return 0;
90633 _ACEOF
90634 rm -f conftest.$ac_objext
90635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90636 (eval $ac_compile) 2>conftest.er1
90637 ac_status=$?
90638 grep -v '^ *+' conftest.er1 >conftest.err
90639 rm -f conftest.er1
90640 cat conftest.err >&5
90641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90642 (exit $ac_status); } &&
90643 { ac_try='test -z "$ac_cxx_werror_flag"
90644 || test ! -s conftest.err'
90645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90646 (eval $ac_try) 2>&5
90647 ac_status=$?
90648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90649 (exit $ac_status); }; } &&
90650 { ac_try='test -s conftest.$ac_objext'
90651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90652 (eval $ac_try) 2>&5
90653 ac_status=$?
90654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90655 (exit $ac_status); }; }; then
90656 glibcxx_cv_func__fpclass_use=yes
90657 else
90658 echo "$as_me: failed program was:" >&5
90659 sed 's/^/| /' conftest.$ac_ext >&5
90661 glibcxx_cv_func__fpclass_use=no
90663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90664 ac_ext=c
90665 ac_cpp='$CPP $CPPFLAGS'
90666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90674 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90675 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90677 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90679 for ac_func in _fpclass
90681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90682 echo "$as_me:$LINENO: checking for $ac_func" >&5
90683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90684 if eval "test \"\${$as_ac_var+set}\" = set"; then
90685 echo $ECHO_N "(cached) $ECHO_C" >&6
90686 else
90687 if test x$gcc_no_link = xyes; then
90688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90690 { (exit 1); exit 1; }; }
90692 cat >conftest.$ac_ext <<_ACEOF
90693 /* confdefs.h. */
90694 _ACEOF
90695 cat confdefs.h >>conftest.$ac_ext
90696 cat >>conftest.$ac_ext <<_ACEOF
90697 /* end confdefs.h. */
90698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90700 #define $ac_func innocuous_$ac_func
90702 /* System header to define __stub macros and hopefully few prototypes,
90703 which can conflict with char $ac_func (); below.
90704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90705 <limits.h> exists even on freestanding compilers. */
90707 #ifdef __STDC__
90708 # include <limits.h>
90709 #else
90710 # include <assert.h>
90711 #endif
90713 #undef $ac_func
90715 /* Override any gcc2 internal prototype to avoid an error. */
90716 #ifdef __cplusplus
90717 extern "C"
90719 #endif
90720 /* We use char because int might match the return type of a gcc2
90721 builtin and then its argument prototype would still apply. */
90722 char $ac_func ();
90723 /* The GNU C library defines this for functions which it implements
90724 to always fail with ENOSYS. Some functions are actually named
90725 something starting with __ and the normal name is an alias. */
90726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90727 choke me
90728 #else
90729 char (*f) () = $ac_func;
90730 #endif
90731 #ifdef __cplusplus
90733 #endif
90736 main ()
90738 return f != $ac_func;
90740 return 0;
90742 _ACEOF
90743 rm -f conftest.$ac_objext conftest$ac_exeext
90744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90745 (eval $ac_link) 2>conftest.er1
90746 ac_status=$?
90747 grep -v '^ *+' conftest.er1 >conftest.err
90748 rm -f conftest.er1
90749 cat conftest.err >&5
90750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90751 (exit $ac_status); } &&
90752 { ac_try='test -z "$ac_c_werror_flag"
90753 || test ! -s conftest.err'
90754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90755 (eval $ac_try) 2>&5
90756 ac_status=$?
90757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90758 (exit $ac_status); }; } &&
90759 { ac_try='test -s conftest$ac_exeext'
90760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90761 (eval $ac_try) 2>&5
90762 ac_status=$?
90763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90764 (exit $ac_status); }; }; then
90765 eval "$as_ac_var=yes"
90766 else
90767 echo "$as_me: failed program was:" >&5
90768 sed 's/^/| /' conftest.$ac_ext >&5
90770 eval "$as_ac_var=no"
90772 rm -f conftest.err conftest.$ac_objext \
90773 conftest$ac_exeext conftest.$ac_ext
90775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90777 if test `eval echo '${'$as_ac_var'}'` = yes; then
90778 cat >>confdefs.h <<_ACEOF
90779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90780 _ACEOF
90783 done
90793 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90794 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90795 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90796 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90797 echo $ECHO_N "(cached) $ECHO_C" >&6
90798 else
90802 ac_ext=cc
90803 ac_cpp='$CXXCPP $CPPFLAGS'
90804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90808 cat >conftest.$ac_ext <<_ACEOF
90809 /* confdefs.h. */
90810 _ACEOF
90811 cat confdefs.h >>conftest.$ac_ext
90812 cat >>conftest.$ac_ext <<_ACEOF
90813 /* end confdefs.h. */
90814 #include <math.h>
90815 #ifdef HAVE_IEEEFP_H
90816 #include <ieeefp.h>
90817 #endif
90820 main ()
90822 qfpclass(0);
90824 return 0;
90826 _ACEOF
90827 rm -f conftest.$ac_objext
90828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90829 (eval $ac_compile) 2>conftest.er1
90830 ac_status=$?
90831 grep -v '^ *+' conftest.er1 >conftest.err
90832 rm -f conftest.er1
90833 cat conftest.err >&5
90834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90835 (exit $ac_status); } &&
90836 { ac_try='test -z "$ac_cxx_werror_flag"
90837 || test ! -s conftest.err'
90838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90839 (eval $ac_try) 2>&5
90840 ac_status=$?
90841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90842 (exit $ac_status); }; } &&
90843 { ac_try='test -s conftest.$ac_objext'
90844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90845 (eval $ac_try) 2>&5
90846 ac_status=$?
90847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90848 (exit $ac_status); }; }; then
90849 glibcxx_cv_func_qfpclass_use=yes
90850 else
90851 echo "$as_me: failed program was:" >&5
90852 sed 's/^/| /' conftest.$ac_ext >&5
90854 glibcxx_cv_func_qfpclass_use=no
90856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90857 ac_ext=c
90858 ac_cpp='$CPP $CPPFLAGS'
90859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90868 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90870 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90872 for ac_func in qfpclass
90874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90875 echo "$as_me:$LINENO: checking for $ac_func" >&5
90876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90877 if eval "test \"\${$as_ac_var+set}\" = set"; then
90878 echo $ECHO_N "(cached) $ECHO_C" >&6
90879 else
90880 if test x$gcc_no_link = xyes; then
90881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90883 { (exit 1); exit 1; }; }
90885 cat >conftest.$ac_ext <<_ACEOF
90886 /* confdefs.h. */
90887 _ACEOF
90888 cat confdefs.h >>conftest.$ac_ext
90889 cat >>conftest.$ac_ext <<_ACEOF
90890 /* end confdefs.h. */
90891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90893 #define $ac_func innocuous_$ac_func
90895 /* System header to define __stub macros and hopefully few prototypes,
90896 which can conflict with char $ac_func (); below.
90897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90898 <limits.h> exists even on freestanding compilers. */
90900 #ifdef __STDC__
90901 # include <limits.h>
90902 #else
90903 # include <assert.h>
90904 #endif
90906 #undef $ac_func
90908 /* Override any gcc2 internal prototype to avoid an error. */
90909 #ifdef __cplusplus
90910 extern "C"
90912 #endif
90913 /* We use char because int might match the return type of a gcc2
90914 builtin and then its argument prototype would still apply. */
90915 char $ac_func ();
90916 /* The GNU C library defines this for functions which it implements
90917 to always fail with ENOSYS. Some functions are actually named
90918 something starting with __ and the normal name is an alias. */
90919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90920 choke me
90921 #else
90922 char (*f) () = $ac_func;
90923 #endif
90924 #ifdef __cplusplus
90926 #endif
90929 main ()
90931 return f != $ac_func;
90933 return 0;
90935 _ACEOF
90936 rm -f conftest.$ac_objext conftest$ac_exeext
90937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90938 (eval $ac_link) 2>conftest.er1
90939 ac_status=$?
90940 grep -v '^ *+' conftest.er1 >conftest.err
90941 rm -f conftest.er1
90942 cat conftest.err >&5
90943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90944 (exit $ac_status); } &&
90945 { ac_try='test -z "$ac_c_werror_flag"
90946 || test ! -s conftest.err'
90947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90948 (eval $ac_try) 2>&5
90949 ac_status=$?
90950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90951 (exit $ac_status); }; } &&
90952 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
90958 eval "$as_ac_var=yes"
90959 else
90960 echo "$as_me: failed program was:" >&5
90961 sed 's/^/| /' conftest.$ac_ext >&5
90963 eval "$as_ac_var=no"
90965 rm -f conftest.err conftest.$ac_objext \
90966 conftest$ac_exeext conftest.$ac_ext
90968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90970 if test `eval echo '${'$as_ac_var'}'` = yes; then
90971 cat >>confdefs.h <<_ACEOF
90972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90973 _ACEOF
90976 done
90978 else
90980 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90981 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90982 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90983 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90984 echo $ECHO_N "(cached) $ECHO_C" >&6
90985 else
90989 ac_ext=cc
90990 ac_cpp='$CXXCPP $CPPFLAGS'
90991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90995 cat >conftest.$ac_ext <<_ACEOF
90996 /* confdefs.h. */
90997 _ACEOF
90998 cat confdefs.h >>conftest.$ac_ext
90999 cat >>conftest.$ac_ext <<_ACEOF
91000 /* end confdefs.h. */
91001 #include <math.h>
91002 #ifdef HAVE_IEEEFP_H
91003 #include <ieeefp.h>
91004 #endif
91007 main ()
91009 _qfpclass(0);
91011 return 0;
91013 _ACEOF
91014 rm -f conftest.$ac_objext
91015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91016 (eval $ac_compile) 2>conftest.er1
91017 ac_status=$?
91018 grep -v '^ *+' conftest.er1 >conftest.err
91019 rm -f conftest.er1
91020 cat conftest.err >&5
91021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91022 (exit $ac_status); } &&
91023 { ac_try='test -z "$ac_cxx_werror_flag"
91024 || test ! -s conftest.err'
91025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91026 (eval $ac_try) 2>&5
91027 ac_status=$?
91028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91029 (exit $ac_status); }; } &&
91030 { ac_try='test -s conftest.$ac_objext'
91031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91032 (eval $ac_try) 2>&5
91033 ac_status=$?
91034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91035 (exit $ac_status); }; }; then
91036 glibcxx_cv_func__qfpclass_use=yes
91037 else
91038 echo "$as_me: failed program was:" >&5
91039 sed 's/^/| /' conftest.$ac_ext >&5
91041 glibcxx_cv_func__qfpclass_use=no
91043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91044 ac_ext=c
91045 ac_cpp='$CPP $CPPFLAGS'
91046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
91055 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
91057 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
91059 for ac_func in _qfpclass
91061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91062 echo "$as_me:$LINENO: checking for $ac_func" >&5
91063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91064 if eval "test \"\${$as_ac_var+set}\" = set"; then
91065 echo $ECHO_N "(cached) $ECHO_C" >&6
91066 else
91067 if test x$gcc_no_link = xyes; then
91068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91070 { (exit 1); exit 1; }; }
91072 cat >conftest.$ac_ext <<_ACEOF
91073 /* confdefs.h. */
91074 _ACEOF
91075 cat confdefs.h >>conftest.$ac_ext
91076 cat >>conftest.$ac_ext <<_ACEOF
91077 /* end confdefs.h. */
91078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91080 #define $ac_func innocuous_$ac_func
91082 /* System header to define __stub macros and hopefully few prototypes,
91083 which can conflict with char $ac_func (); below.
91084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91085 <limits.h> exists even on freestanding compilers. */
91087 #ifdef __STDC__
91088 # include <limits.h>
91089 #else
91090 # include <assert.h>
91091 #endif
91093 #undef $ac_func
91095 /* Override any gcc2 internal prototype to avoid an error. */
91096 #ifdef __cplusplus
91097 extern "C"
91099 #endif
91100 /* We use char because int might match the return type of a gcc2
91101 builtin and then its argument prototype would still apply. */
91102 char $ac_func ();
91103 /* The GNU C library defines this for functions which it implements
91104 to always fail with ENOSYS. Some functions are actually named
91105 something starting with __ and the normal name is an alias. */
91106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91107 choke me
91108 #else
91109 char (*f) () = $ac_func;
91110 #endif
91111 #ifdef __cplusplus
91113 #endif
91116 main ()
91118 return f != $ac_func;
91120 return 0;
91122 _ACEOF
91123 rm -f conftest.$ac_objext conftest$ac_exeext
91124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91125 (eval $ac_link) 2>conftest.er1
91126 ac_status=$?
91127 grep -v '^ *+' conftest.er1 >conftest.err
91128 rm -f conftest.er1
91129 cat conftest.err >&5
91130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91131 (exit $ac_status); } &&
91132 { ac_try='test -z "$ac_c_werror_flag"
91133 || test ! -s conftest.err'
91134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91135 (eval $ac_try) 2>&5
91136 ac_status=$?
91137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91138 (exit $ac_status); }; } &&
91139 { ac_try='test -s conftest$ac_exeext'
91140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91141 (eval $ac_try) 2>&5
91142 ac_status=$?
91143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91144 (exit $ac_status); }; }; then
91145 eval "$as_ac_var=yes"
91146 else
91147 echo "$as_me: failed program was:" >&5
91148 sed 's/^/| /' conftest.$ac_ext >&5
91150 eval "$as_ac_var=no"
91152 rm -f conftest.err conftest.$ac_objext \
91153 conftest$ac_exeext conftest.$ac_ext
91155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91157 if test `eval echo '${'$as_ac_var'}'` = yes; then
91158 cat >>confdefs.h <<_ACEOF
91159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91160 _ACEOF
91163 done
91173 echo "$as_me:$LINENO: checking for hypot declaration" >&5
91174 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
91175 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
91176 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
91177 echo $ECHO_N "(cached) $ECHO_C" >&6
91178 else
91182 ac_ext=cc
91183 ac_cpp='$CXXCPP $CPPFLAGS'
91184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91188 cat >conftest.$ac_ext <<_ACEOF
91189 /* confdefs.h. */
91190 _ACEOF
91191 cat confdefs.h >>conftest.$ac_ext
91192 cat >>conftest.$ac_ext <<_ACEOF
91193 /* end confdefs.h. */
91194 #include <math.h>
91196 main ()
91198 hypot(0, 0);
91200 return 0;
91202 _ACEOF
91203 rm -f conftest.$ac_objext
91204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91205 (eval $ac_compile) 2>conftest.er1
91206 ac_status=$?
91207 grep -v '^ *+' conftest.er1 >conftest.err
91208 rm -f conftest.er1
91209 cat conftest.err >&5
91210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91211 (exit $ac_status); } &&
91212 { ac_try='test -z "$ac_cxx_werror_flag"
91213 || test ! -s conftest.err'
91214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91215 (eval $ac_try) 2>&5
91216 ac_status=$?
91217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91218 (exit $ac_status); }; } &&
91219 { ac_try='test -s conftest.$ac_objext'
91220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91221 (eval $ac_try) 2>&5
91222 ac_status=$?
91223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91224 (exit $ac_status); }; }; then
91225 glibcxx_cv_func_hypot_use=yes
91226 else
91227 echo "$as_me: failed program was:" >&5
91228 sed 's/^/| /' conftest.$ac_ext >&5
91230 glibcxx_cv_func_hypot_use=no
91232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91233 ac_ext=c
91234 ac_cpp='$CPP $CPPFLAGS'
91235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
91244 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
91246 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
91248 for ac_func in hypot
91250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91251 echo "$as_me:$LINENO: checking for $ac_func" >&5
91252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91253 if eval "test \"\${$as_ac_var+set}\" = set"; then
91254 echo $ECHO_N "(cached) $ECHO_C" >&6
91255 else
91256 if test x$gcc_no_link = xyes; then
91257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91259 { (exit 1); exit 1; }; }
91261 cat >conftest.$ac_ext <<_ACEOF
91262 /* confdefs.h. */
91263 _ACEOF
91264 cat confdefs.h >>conftest.$ac_ext
91265 cat >>conftest.$ac_ext <<_ACEOF
91266 /* end confdefs.h. */
91267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91269 #define $ac_func innocuous_$ac_func
91271 /* System header to define __stub macros and hopefully few prototypes,
91272 which can conflict with char $ac_func (); below.
91273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91274 <limits.h> exists even on freestanding compilers. */
91276 #ifdef __STDC__
91277 # include <limits.h>
91278 #else
91279 # include <assert.h>
91280 #endif
91282 #undef $ac_func
91284 /* Override any gcc2 internal prototype to avoid an error. */
91285 #ifdef __cplusplus
91286 extern "C"
91288 #endif
91289 /* We use char because int might match the return type of a gcc2
91290 builtin and then its argument prototype would still apply. */
91291 char $ac_func ();
91292 /* The GNU C library defines this for functions which it implements
91293 to always fail with ENOSYS. Some functions are actually named
91294 something starting with __ and the normal name is an alias. */
91295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91296 choke me
91297 #else
91298 char (*f) () = $ac_func;
91299 #endif
91300 #ifdef __cplusplus
91302 #endif
91305 main ()
91307 return f != $ac_func;
91309 return 0;
91311 _ACEOF
91312 rm -f conftest.$ac_objext conftest$ac_exeext
91313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91314 (eval $ac_link) 2>conftest.er1
91315 ac_status=$?
91316 grep -v '^ *+' conftest.er1 >conftest.err
91317 rm -f conftest.er1
91318 cat conftest.err >&5
91319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91320 (exit $ac_status); } &&
91321 { ac_try='test -z "$ac_c_werror_flag"
91322 || test ! -s conftest.err'
91323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91324 (eval $ac_try) 2>&5
91325 ac_status=$?
91326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91327 (exit $ac_status); }; } &&
91328 { ac_try='test -s conftest$ac_exeext'
91329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91330 (eval $ac_try) 2>&5
91331 ac_status=$?
91332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91333 (exit $ac_status); }; }; then
91334 eval "$as_ac_var=yes"
91335 else
91336 echo "$as_me: failed program was:" >&5
91337 sed 's/^/| /' conftest.$ac_ext >&5
91339 eval "$as_ac_var=no"
91341 rm -f conftest.err conftest.$ac_objext \
91342 conftest$ac_exeext conftest.$ac_ext
91344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91346 if test `eval echo '${'$as_ac_var'}'` = yes; then
91347 cat >>confdefs.h <<_ACEOF
91348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91349 _ACEOF
91352 done
91354 else
91356 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
91357 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
91358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
91359 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
91360 echo $ECHO_N "(cached) $ECHO_C" >&6
91361 else
91365 ac_ext=cc
91366 ac_cpp='$CXXCPP $CPPFLAGS'
91367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91371 cat >conftest.$ac_ext <<_ACEOF
91372 /* confdefs.h. */
91373 _ACEOF
91374 cat confdefs.h >>conftest.$ac_ext
91375 cat >>conftest.$ac_ext <<_ACEOF
91376 /* end confdefs.h. */
91377 #include <math.h>
91379 main ()
91381 _hypot(0, 0);
91383 return 0;
91385 _ACEOF
91386 rm -f conftest.$ac_objext
91387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91388 (eval $ac_compile) 2>conftest.er1
91389 ac_status=$?
91390 grep -v '^ *+' conftest.er1 >conftest.err
91391 rm -f conftest.er1
91392 cat conftest.err >&5
91393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91394 (exit $ac_status); } &&
91395 { ac_try='test -z "$ac_cxx_werror_flag"
91396 || test ! -s conftest.err'
91397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91398 (eval $ac_try) 2>&5
91399 ac_status=$?
91400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91401 (exit $ac_status); }; } &&
91402 { ac_try='test -s conftest.$ac_objext'
91403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91404 (eval $ac_try) 2>&5
91405 ac_status=$?
91406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91407 (exit $ac_status); }; }; then
91408 glibcxx_cv_func__hypot_use=yes
91409 else
91410 echo "$as_me: failed program was:" >&5
91411 sed 's/^/| /' conftest.$ac_ext >&5
91413 glibcxx_cv_func__hypot_use=no
91415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91416 ac_ext=c
91417 ac_cpp='$CPP $CPPFLAGS'
91418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
91427 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
91429 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
91431 for ac_func in _hypot
91433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91434 echo "$as_me:$LINENO: checking for $ac_func" >&5
91435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91436 if eval "test \"\${$as_ac_var+set}\" = set"; then
91437 echo $ECHO_N "(cached) $ECHO_C" >&6
91438 else
91439 if test x$gcc_no_link = xyes; then
91440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91442 { (exit 1); exit 1; }; }
91444 cat >conftest.$ac_ext <<_ACEOF
91445 /* confdefs.h. */
91446 _ACEOF
91447 cat confdefs.h >>conftest.$ac_ext
91448 cat >>conftest.$ac_ext <<_ACEOF
91449 /* end confdefs.h. */
91450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91452 #define $ac_func innocuous_$ac_func
91454 /* System header to define __stub macros and hopefully few prototypes,
91455 which can conflict with char $ac_func (); below.
91456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91457 <limits.h> exists even on freestanding compilers. */
91459 #ifdef __STDC__
91460 # include <limits.h>
91461 #else
91462 # include <assert.h>
91463 #endif
91465 #undef $ac_func
91467 /* Override any gcc2 internal prototype to avoid an error. */
91468 #ifdef __cplusplus
91469 extern "C"
91471 #endif
91472 /* We use char because int might match the return type of a gcc2
91473 builtin and then its argument prototype would still apply. */
91474 char $ac_func ();
91475 /* The GNU C library defines this for functions which it implements
91476 to always fail with ENOSYS. Some functions are actually named
91477 something starting with __ and the normal name is an alias. */
91478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91479 choke me
91480 #else
91481 char (*f) () = $ac_func;
91482 #endif
91483 #ifdef __cplusplus
91485 #endif
91488 main ()
91490 return f != $ac_func;
91492 return 0;
91494 _ACEOF
91495 rm -f conftest.$ac_objext conftest$ac_exeext
91496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91497 (eval $ac_link) 2>conftest.er1
91498 ac_status=$?
91499 grep -v '^ *+' conftest.er1 >conftest.err
91500 rm -f conftest.er1
91501 cat conftest.err >&5
91502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91503 (exit $ac_status); } &&
91504 { ac_try='test -z "$ac_c_werror_flag"
91505 || test ! -s conftest.err'
91506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91507 (eval $ac_try) 2>&5
91508 ac_status=$?
91509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91510 (exit $ac_status); }; } &&
91511 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
91517 eval "$as_ac_var=yes"
91518 else
91519 echo "$as_me: failed program was:" >&5
91520 sed 's/^/| /' conftest.$ac_ext >&5
91522 eval "$as_ac_var=no"
91524 rm -f conftest.err conftest.$ac_objext \
91525 conftest$ac_exeext conftest.$ac_ext
91527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91529 if test `eval echo '${'$as_ac_var'}'` = yes; then
91530 cat >>confdefs.h <<_ACEOF
91531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91532 _ACEOF
91535 done
91545 echo "$as_me:$LINENO: checking for float trig functions" >&5
91546 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
91547 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
91548 echo $ECHO_N "(cached) $ECHO_C" >&6
91549 else
91553 ac_ext=cc
91554 ac_cpp='$CXXCPP $CPPFLAGS'
91555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
91567 main ()
91569 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91571 return 0;
91573 _ACEOF
91574 rm -f conftest.$ac_objext
91575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91576 (eval $ac_compile) 2>conftest.er1
91577 ac_status=$?
91578 grep -v '^ *+' conftest.er1 >conftest.err
91579 rm -f conftest.er1
91580 cat conftest.err >&5
91581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91582 (exit $ac_status); } &&
91583 { ac_try='test -z "$ac_cxx_werror_flag"
91584 || test ! -s conftest.err'
91585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91586 (eval $ac_try) 2>&5
91587 ac_status=$?
91588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589 (exit $ac_status); }; } &&
91590 { ac_try='test -s conftest.$ac_objext'
91591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91592 (eval $ac_try) 2>&5
91593 ac_status=$?
91594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91595 (exit $ac_status); }; }; then
91596 glibcxx_cv_func_float_trig_use=yes
91597 else
91598 echo "$as_me: failed program was:" >&5
91599 sed 's/^/| /' conftest.$ac_ext >&5
91601 glibcxx_cv_func_float_trig_use=no
91603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91604 ac_ext=c
91605 ac_cpp='$CPP $CPPFLAGS'
91606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91613 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91614 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91624 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91627 echo "$as_me:$LINENO: checking for $ac_func" >&5
91628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91629 if eval "test \"\${$as_ac_var+set}\" = set"; then
91630 echo $ECHO_N "(cached) $ECHO_C" >&6
91631 else
91632 if test x$gcc_no_link = xyes; then
91633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91635 { (exit 1); exit 1; }; }
91637 cat >conftest.$ac_ext <<_ACEOF
91638 /* confdefs.h. */
91639 _ACEOF
91640 cat confdefs.h >>conftest.$ac_ext
91641 cat >>conftest.$ac_ext <<_ACEOF
91642 /* end confdefs.h. */
91643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91645 #define $ac_func innocuous_$ac_func
91647 /* System header to define __stub macros and hopefully few prototypes,
91648 which can conflict with char $ac_func (); below.
91649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91650 <limits.h> exists even on freestanding compilers. */
91652 #ifdef __STDC__
91653 # include <limits.h>
91654 #else
91655 # include <assert.h>
91656 #endif
91658 #undef $ac_func
91660 /* Override any gcc2 internal prototype to avoid an error. */
91661 #ifdef __cplusplus
91662 extern "C"
91664 #endif
91665 /* We use char because int might match the return type of a gcc2
91666 builtin and then its argument prototype would still apply. */
91667 char $ac_func ();
91668 /* The GNU C library defines this for functions which it implements
91669 to always fail with ENOSYS. Some functions are actually named
91670 something starting with __ and the normal name is an alias. */
91671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91672 choke me
91673 #else
91674 char (*f) () = $ac_func;
91675 #endif
91676 #ifdef __cplusplus
91678 #endif
91681 main ()
91683 return f != $ac_func;
91685 return 0;
91687 _ACEOF
91688 rm -f conftest.$ac_objext conftest$ac_exeext
91689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91690 (eval $ac_link) 2>conftest.er1
91691 ac_status=$?
91692 grep -v '^ *+' conftest.er1 >conftest.err
91693 rm -f conftest.er1
91694 cat conftest.err >&5
91695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91696 (exit $ac_status); } &&
91697 { ac_try='test -z "$ac_c_werror_flag"
91698 || test ! -s conftest.err'
91699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91700 (eval $ac_try) 2>&5
91701 ac_status=$?
91702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703 (exit $ac_status); }; } &&
91704 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
91710 eval "$as_ac_var=yes"
91711 else
91712 echo "$as_me: failed program was:" >&5
91713 sed 's/^/| /' conftest.$ac_ext >&5
91715 eval "$as_ac_var=no"
91717 rm -f conftest.err conftest.$ac_objext \
91718 conftest$ac_exeext conftest.$ac_ext
91720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91722 if test `eval echo '${'$as_ac_var'}'` = yes; then
91723 cat >>confdefs.h <<_ACEOF
91724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91725 _ACEOF
91728 done
91730 else
91731 echo "$as_me:$LINENO: checking for _float trig functions" >&5
91732 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91733 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91734 echo $ECHO_N "(cached) $ECHO_C" >&6
91735 else
91739 ac_ext=cc
91740 ac_cpp='$CXXCPP $CPPFLAGS'
91741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91745 cat >conftest.$ac_ext <<_ACEOF
91746 /* confdefs.h. */
91747 _ACEOF
91748 cat confdefs.h >>conftest.$ac_ext
91749 cat >>conftest.$ac_ext <<_ACEOF
91750 /* end confdefs.h. */
91751 #include <math.h>
91753 main ()
91755 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91757 return 0;
91759 _ACEOF
91760 rm -f conftest.$ac_objext
91761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91762 (eval $ac_compile) 2>conftest.er1
91763 ac_status=$?
91764 grep -v '^ *+' conftest.er1 >conftest.err
91765 rm -f conftest.er1
91766 cat conftest.err >&5
91767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768 (exit $ac_status); } &&
91769 { ac_try='test -z "$ac_cxx_werror_flag"
91770 || test ! -s conftest.err'
91771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91772 (eval $ac_try) 2>&5
91773 ac_status=$?
91774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91775 (exit $ac_status); }; } &&
91776 { ac_try='test -s conftest.$ac_objext'
91777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91778 (eval $ac_try) 2>&5
91779 ac_status=$?
91780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91781 (exit $ac_status); }; }; then
91782 glibcxx_cv_func__float_trig_use=yes
91783 else
91784 echo "$as_me: failed program was:" >&5
91785 sed 's/^/| /' conftest.$ac_ext >&5
91787 glibcxx_cv_func__float_trig_use=no
91789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91790 ac_ext=c
91791 ac_cpp='$CPP $CPPFLAGS'
91792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91799 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91800 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91810 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91813 echo "$as_me:$LINENO: checking for $ac_func" >&5
91814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91815 if eval "test \"\${$as_ac_var+set}\" = set"; then
91816 echo $ECHO_N "(cached) $ECHO_C" >&6
91817 else
91818 if test x$gcc_no_link = xyes; then
91819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91821 { (exit 1); exit 1; }; }
91823 cat >conftest.$ac_ext <<_ACEOF
91824 /* confdefs.h. */
91825 _ACEOF
91826 cat confdefs.h >>conftest.$ac_ext
91827 cat >>conftest.$ac_ext <<_ACEOF
91828 /* end confdefs.h. */
91829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91831 #define $ac_func innocuous_$ac_func
91833 /* System header to define __stub macros and hopefully few prototypes,
91834 which can conflict with char $ac_func (); below.
91835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91836 <limits.h> exists even on freestanding compilers. */
91838 #ifdef __STDC__
91839 # include <limits.h>
91840 #else
91841 # include <assert.h>
91842 #endif
91844 #undef $ac_func
91846 /* Override any gcc2 internal prototype to avoid an error. */
91847 #ifdef __cplusplus
91848 extern "C"
91850 #endif
91851 /* We use char because int might match the return type of a gcc2
91852 builtin and then its argument prototype would still apply. */
91853 char $ac_func ();
91854 /* The GNU C library defines this for functions which it implements
91855 to always fail with ENOSYS. Some functions are actually named
91856 something starting with __ and the normal name is an alias. */
91857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91858 choke me
91859 #else
91860 char (*f) () = $ac_func;
91861 #endif
91862 #ifdef __cplusplus
91864 #endif
91867 main ()
91869 return f != $ac_func;
91871 return 0;
91873 _ACEOF
91874 rm -f conftest.$ac_objext conftest$ac_exeext
91875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91876 (eval $ac_link) 2>conftest.er1
91877 ac_status=$?
91878 grep -v '^ *+' conftest.er1 >conftest.err
91879 rm -f conftest.er1
91880 cat conftest.err >&5
91881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91882 (exit $ac_status); } &&
91883 { ac_try='test -z "$ac_c_werror_flag"
91884 || test ! -s conftest.err'
91885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91886 (eval $ac_try) 2>&5
91887 ac_status=$?
91888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91889 (exit $ac_status); }; } &&
91890 { ac_try='test -s conftest$ac_exeext'
91891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91892 (eval $ac_try) 2>&5
91893 ac_status=$?
91894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91895 (exit $ac_status); }; }; then
91896 eval "$as_ac_var=yes"
91897 else
91898 echo "$as_me: failed program was:" >&5
91899 sed 's/^/| /' conftest.$ac_ext >&5
91901 eval "$as_ac_var=no"
91903 rm -f conftest.err conftest.$ac_objext \
91904 conftest$ac_exeext conftest.$ac_ext
91906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91908 if test `eval echo '${'$as_ac_var'}'` = yes; then
91909 cat >>confdefs.h <<_ACEOF
91910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91911 _ACEOF
91914 done
91932 echo "$as_me:$LINENO: checking for float round functions" >&5
91933 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91934 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91935 echo $ECHO_N "(cached) $ECHO_C" >&6
91936 else
91940 ac_ext=cc
91941 ac_cpp='$CXXCPP $CPPFLAGS'
91942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91946 cat >conftest.$ac_ext <<_ACEOF
91947 /* confdefs.h. */
91948 _ACEOF
91949 cat confdefs.h >>conftest.$ac_ext
91950 cat >>conftest.$ac_ext <<_ACEOF
91951 /* end confdefs.h. */
91952 #include <math.h>
91954 main ()
91956 ceilf (0); floorf (0);
91958 return 0;
91960 _ACEOF
91961 rm -f conftest.$ac_objext
91962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91963 (eval $ac_compile) 2>conftest.er1
91964 ac_status=$?
91965 grep -v '^ *+' conftest.er1 >conftest.err
91966 rm -f conftest.er1
91967 cat conftest.err >&5
91968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91969 (exit $ac_status); } &&
91970 { ac_try='test -z "$ac_cxx_werror_flag"
91971 || test ! -s conftest.err'
91972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91973 (eval $ac_try) 2>&5
91974 ac_status=$?
91975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91976 (exit $ac_status); }; } &&
91977 { ac_try='test -s conftest.$ac_objext'
91978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91979 (eval $ac_try) 2>&5
91980 ac_status=$?
91981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91982 (exit $ac_status); }; }; then
91983 glibcxx_cv_func_float_round_use=yes
91984 else
91985 echo "$as_me: failed program was:" >&5
91986 sed 's/^/| /' conftest.$ac_ext >&5
91988 glibcxx_cv_func_float_round_use=no
91990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91991 ac_ext=c
91992 ac_cpp='$CPP $CPPFLAGS'
91993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
92000 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
92001 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
92004 for ac_func in ceilf floorf
92006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92007 echo "$as_me:$LINENO: checking for $ac_func" >&5
92008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92009 if eval "test \"\${$as_ac_var+set}\" = set"; then
92010 echo $ECHO_N "(cached) $ECHO_C" >&6
92011 else
92012 if test x$gcc_no_link = xyes; then
92013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92015 { (exit 1); exit 1; }; }
92017 cat >conftest.$ac_ext <<_ACEOF
92018 /* confdefs.h. */
92019 _ACEOF
92020 cat confdefs.h >>conftest.$ac_ext
92021 cat >>conftest.$ac_ext <<_ACEOF
92022 /* end confdefs.h. */
92023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92025 #define $ac_func innocuous_$ac_func
92027 /* System header to define __stub macros and hopefully few prototypes,
92028 which can conflict with char $ac_func (); below.
92029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92030 <limits.h> exists even on freestanding compilers. */
92032 #ifdef __STDC__
92033 # include <limits.h>
92034 #else
92035 # include <assert.h>
92036 #endif
92038 #undef $ac_func
92040 /* Override any gcc2 internal prototype to avoid an error. */
92041 #ifdef __cplusplus
92042 extern "C"
92044 #endif
92045 /* We use char because int might match the return type of a gcc2
92046 builtin and then its argument prototype would still apply. */
92047 char $ac_func ();
92048 /* The GNU C library defines this for functions which it implements
92049 to always fail with ENOSYS. Some functions are actually named
92050 something starting with __ and the normal name is an alias. */
92051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92052 choke me
92053 #else
92054 char (*f) () = $ac_func;
92055 #endif
92056 #ifdef __cplusplus
92058 #endif
92061 main ()
92063 return f != $ac_func;
92065 return 0;
92067 _ACEOF
92068 rm -f conftest.$ac_objext conftest$ac_exeext
92069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92070 (eval $ac_link) 2>conftest.er1
92071 ac_status=$?
92072 grep -v '^ *+' conftest.er1 >conftest.err
92073 rm -f conftest.er1
92074 cat conftest.err >&5
92075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92076 (exit $ac_status); } &&
92077 { ac_try='test -z "$ac_c_werror_flag"
92078 || test ! -s conftest.err'
92079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92080 (eval $ac_try) 2>&5
92081 ac_status=$?
92082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92083 (exit $ac_status); }; } &&
92084 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
92090 eval "$as_ac_var=yes"
92091 else
92092 echo "$as_me: failed program was:" >&5
92093 sed 's/^/| /' conftest.$ac_ext >&5
92095 eval "$as_ac_var=no"
92097 rm -f conftest.err conftest.$ac_objext \
92098 conftest$ac_exeext conftest.$ac_ext
92100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92102 if test `eval echo '${'$as_ac_var'}'` = yes; then
92103 cat >>confdefs.h <<_ACEOF
92104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92105 _ACEOF
92108 done
92110 else
92111 echo "$as_me:$LINENO: checking for _float round functions" >&5
92112 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
92113 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
92114 echo $ECHO_N "(cached) $ECHO_C" >&6
92115 else
92119 ac_ext=cc
92120 ac_cpp='$CXXCPP $CPPFLAGS'
92121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92125 cat >conftest.$ac_ext <<_ACEOF
92126 /* confdefs.h. */
92127 _ACEOF
92128 cat confdefs.h >>conftest.$ac_ext
92129 cat >>conftest.$ac_ext <<_ACEOF
92130 /* end confdefs.h. */
92131 #include <math.h>
92133 main ()
92135 _ceilf (0); _floorf (0);
92137 return 0;
92139 _ACEOF
92140 rm -f conftest.$ac_objext
92141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92142 (eval $ac_compile) 2>conftest.er1
92143 ac_status=$?
92144 grep -v '^ *+' conftest.er1 >conftest.err
92145 rm -f conftest.er1
92146 cat conftest.err >&5
92147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92148 (exit $ac_status); } &&
92149 { ac_try='test -z "$ac_cxx_werror_flag"
92150 || test ! -s conftest.err'
92151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92152 (eval $ac_try) 2>&5
92153 ac_status=$?
92154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92155 (exit $ac_status); }; } &&
92156 { ac_try='test -s conftest.$ac_objext'
92157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92158 (eval $ac_try) 2>&5
92159 ac_status=$?
92160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92161 (exit $ac_status); }; }; then
92162 glibcxx_cv_func__float_round_use=yes
92163 else
92164 echo "$as_me: failed program was:" >&5
92165 sed 's/^/| /' conftest.$ac_ext >&5
92167 glibcxx_cv_func__float_round_use=no
92169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92170 ac_ext=c
92171 ac_cpp='$CPP $CPPFLAGS'
92172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
92179 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
92180 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
92183 for ac_func in _ceilf _floorf
92185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92186 echo "$as_me:$LINENO: checking for $ac_func" >&5
92187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92188 if eval "test \"\${$as_ac_var+set}\" = set"; then
92189 echo $ECHO_N "(cached) $ECHO_C" >&6
92190 else
92191 if test x$gcc_no_link = xyes; then
92192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92194 { (exit 1); exit 1; }; }
92196 cat >conftest.$ac_ext <<_ACEOF
92197 /* confdefs.h. */
92198 _ACEOF
92199 cat confdefs.h >>conftest.$ac_ext
92200 cat >>conftest.$ac_ext <<_ACEOF
92201 /* end confdefs.h. */
92202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92204 #define $ac_func innocuous_$ac_func
92206 /* System header to define __stub macros and hopefully few prototypes,
92207 which can conflict with char $ac_func (); below.
92208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92209 <limits.h> exists even on freestanding compilers. */
92211 #ifdef __STDC__
92212 # include <limits.h>
92213 #else
92214 # include <assert.h>
92215 #endif
92217 #undef $ac_func
92219 /* Override any gcc2 internal prototype to avoid an error. */
92220 #ifdef __cplusplus
92221 extern "C"
92223 #endif
92224 /* We use char because int might match the return type of a gcc2
92225 builtin and then its argument prototype would still apply. */
92226 char $ac_func ();
92227 /* The GNU C library defines this for functions which it implements
92228 to always fail with ENOSYS. Some functions are actually named
92229 something starting with __ and the normal name is an alias. */
92230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92231 choke me
92232 #else
92233 char (*f) () = $ac_func;
92234 #endif
92235 #ifdef __cplusplus
92237 #endif
92240 main ()
92242 return f != $ac_func;
92244 return 0;
92246 _ACEOF
92247 rm -f conftest.$ac_objext conftest$ac_exeext
92248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92249 (eval $ac_link) 2>conftest.er1
92250 ac_status=$?
92251 grep -v '^ *+' conftest.er1 >conftest.err
92252 rm -f conftest.er1
92253 cat conftest.err >&5
92254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92255 (exit $ac_status); } &&
92256 { ac_try='test -z "$ac_c_werror_flag"
92257 || test ! -s conftest.err'
92258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92259 (eval $ac_try) 2>&5
92260 ac_status=$?
92261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92262 (exit $ac_status); }; } &&
92263 { ac_try='test -s conftest$ac_exeext'
92264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92265 (eval $ac_try) 2>&5
92266 ac_status=$?
92267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92268 (exit $ac_status); }; }; then
92269 eval "$as_ac_var=yes"
92270 else
92271 echo "$as_me: failed program was:" >&5
92272 sed 's/^/| /' conftest.$ac_ext >&5
92274 eval "$as_ac_var=no"
92276 rm -f conftest.err conftest.$ac_objext \
92277 conftest$ac_exeext conftest.$ac_ext
92279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92281 if test `eval echo '${'$as_ac_var'}'` = yes; then
92282 cat >>confdefs.h <<_ACEOF
92283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92284 _ACEOF
92287 done
92299 echo "$as_me:$LINENO: checking for expf declaration" >&5
92300 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
92301 if test x${glibcxx_cv_func_expf_use+set} != xset; then
92302 if test "${glibcxx_cv_func_expf_use+set}" = set; then
92303 echo $ECHO_N "(cached) $ECHO_C" >&6
92304 else
92308 ac_ext=cc
92309 ac_cpp='$CXXCPP $CPPFLAGS'
92310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92314 cat >conftest.$ac_ext <<_ACEOF
92315 /* confdefs.h. */
92316 _ACEOF
92317 cat confdefs.h >>conftest.$ac_ext
92318 cat >>conftest.$ac_ext <<_ACEOF
92319 /* end confdefs.h. */
92320 #include <math.h>
92321 #ifdef HAVE_IEEEFP_H
92322 #include <ieeefp.h>
92323 #endif
92326 main ()
92328 expf(0);
92330 return 0;
92332 _ACEOF
92333 rm -f conftest.$ac_objext
92334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92335 (eval $ac_compile) 2>conftest.er1
92336 ac_status=$?
92337 grep -v '^ *+' conftest.er1 >conftest.err
92338 rm -f conftest.er1
92339 cat conftest.err >&5
92340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92341 (exit $ac_status); } &&
92342 { ac_try='test -z "$ac_cxx_werror_flag"
92343 || test ! -s conftest.err'
92344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92345 (eval $ac_try) 2>&5
92346 ac_status=$?
92347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348 (exit $ac_status); }; } &&
92349 { ac_try='test -s conftest.$ac_objext'
92350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351 (eval $ac_try) 2>&5
92352 ac_status=$?
92353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354 (exit $ac_status); }; }; then
92355 glibcxx_cv_func_expf_use=yes
92356 else
92357 echo "$as_me: failed program was:" >&5
92358 sed 's/^/| /' conftest.$ac_ext >&5
92360 glibcxx_cv_func_expf_use=no
92362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92363 ac_ext=c
92364 ac_cpp='$CPP $CPPFLAGS'
92365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
92374 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
92376 if test x$glibcxx_cv_func_expf_use = x"yes"; then
92378 for ac_func in expf
92380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92381 echo "$as_me:$LINENO: checking for $ac_func" >&5
92382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92383 if eval "test \"\${$as_ac_var+set}\" = set"; then
92384 echo $ECHO_N "(cached) $ECHO_C" >&6
92385 else
92386 if test x$gcc_no_link = xyes; then
92387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92389 { (exit 1); exit 1; }; }
92391 cat >conftest.$ac_ext <<_ACEOF
92392 /* confdefs.h. */
92393 _ACEOF
92394 cat confdefs.h >>conftest.$ac_ext
92395 cat >>conftest.$ac_ext <<_ACEOF
92396 /* end confdefs.h. */
92397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92399 #define $ac_func innocuous_$ac_func
92401 /* System header to define __stub macros and hopefully few prototypes,
92402 which can conflict with char $ac_func (); below.
92403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92404 <limits.h> exists even on freestanding compilers. */
92406 #ifdef __STDC__
92407 # include <limits.h>
92408 #else
92409 # include <assert.h>
92410 #endif
92412 #undef $ac_func
92414 /* Override any gcc2 internal prototype to avoid an error. */
92415 #ifdef __cplusplus
92416 extern "C"
92418 #endif
92419 /* We use char because int might match the return type of a gcc2
92420 builtin and then its argument prototype would still apply. */
92421 char $ac_func ();
92422 /* The GNU C library defines this for functions which it implements
92423 to always fail with ENOSYS. Some functions are actually named
92424 something starting with __ and the normal name is an alias. */
92425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92426 choke me
92427 #else
92428 char (*f) () = $ac_func;
92429 #endif
92430 #ifdef __cplusplus
92432 #endif
92435 main ()
92437 return f != $ac_func;
92439 return 0;
92441 _ACEOF
92442 rm -f conftest.$ac_objext conftest$ac_exeext
92443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92444 (eval $ac_link) 2>conftest.er1
92445 ac_status=$?
92446 grep -v '^ *+' conftest.er1 >conftest.err
92447 rm -f conftest.er1
92448 cat conftest.err >&5
92449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92450 (exit $ac_status); } &&
92451 { ac_try='test -z "$ac_c_werror_flag"
92452 || test ! -s conftest.err'
92453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92454 (eval $ac_try) 2>&5
92455 ac_status=$?
92456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92457 (exit $ac_status); }; } &&
92458 { ac_try='test -s conftest$ac_exeext'
92459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92460 (eval $ac_try) 2>&5
92461 ac_status=$?
92462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92463 (exit $ac_status); }; }; then
92464 eval "$as_ac_var=yes"
92465 else
92466 echo "$as_me: failed program was:" >&5
92467 sed 's/^/| /' conftest.$ac_ext >&5
92469 eval "$as_ac_var=no"
92471 rm -f conftest.err conftest.$ac_objext \
92472 conftest$ac_exeext conftest.$ac_ext
92474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92476 if test `eval echo '${'$as_ac_var'}'` = yes; then
92477 cat >>confdefs.h <<_ACEOF
92478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92479 _ACEOF
92482 done
92484 else
92486 echo "$as_me:$LINENO: checking for _expf declaration" >&5
92487 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
92488 if test x${glibcxx_cv_func__expf_use+set} != xset; then
92489 if test "${glibcxx_cv_func__expf_use+set}" = set; then
92490 echo $ECHO_N "(cached) $ECHO_C" >&6
92491 else
92495 ac_ext=cc
92496 ac_cpp='$CXXCPP $CPPFLAGS'
92497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92501 cat >conftest.$ac_ext <<_ACEOF
92502 /* confdefs.h. */
92503 _ACEOF
92504 cat confdefs.h >>conftest.$ac_ext
92505 cat >>conftest.$ac_ext <<_ACEOF
92506 /* end confdefs.h. */
92507 #include <math.h>
92508 #ifdef HAVE_IEEEFP_H
92509 #include <ieeefp.h>
92510 #endif
92513 main ()
92515 _expf(0);
92517 return 0;
92519 _ACEOF
92520 rm -f conftest.$ac_objext
92521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92522 (eval $ac_compile) 2>conftest.er1
92523 ac_status=$?
92524 grep -v '^ *+' conftest.er1 >conftest.err
92525 rm -f conftest.er1
92526 cat conftest.err >&5
92527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92528 (exit $ac_status); } &&
92529 { ac_try='test -z "$ac_cxx_werror_flag"
92530 || test ! -s conftest.err'
92531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92532 (eval $ac_try) 2>&5
92533 ac_status=$?
92534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92535 (exit $ac_status); }; } &&
92536 { ac_try='test -s conftest.$ac_objext'
92537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92538 (eval $ac_try) 2>&5
92539 ac_status=$?
92540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92541 (exit $ac_status); }; }; then
92542 glibcxx_cv_func__expf_use=yes
92543 else
92544 echo "$as_me: failed program was:" >&5
92545 sed 's/^/| /' conftest.$ac_ext >&5
92547 glibcxx_cv_func__expf_use=no
92549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92550 ac_ext=c
92551 ac_cpp='$CPP $CPPFLAGS'
92552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
92561 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
92563 if test x$glibcxx_cv_func__expf_use = x"yes"; then
92565 for ac_func in _expf
92567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92568 echo "$as_me:$LINENO: checking for $ac_func" >&5
92569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92570 if eval "test \"\${$as_ac_var+set}\" = set"; then
92571 echo $ECHO_N "(cached) $ECHO_C" >&6
92572 else
92573 if test x$gcc_no_link = xyes; then
92574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92576 { (exit 1); exit 1; }; }
92578 cat >conftest.$ac_ext <<_ACEOF
92579 /* confdefs.h. */
92580 _ACEOF
92581 cat confdefs.h >>conftest.$ac_ext
92582 cat >>conftest.$ac_ext <<_ACEOF
92583 /* end confdefs.h. */
92584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92586 #define $ac_func innocuous_$ac_func
92588 /* System header to define __stub macros and hopefully few prototypes,
92589 which can conflict with char $ac_func (); below.
92590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92591 <limits.h> exists even on freestanding compilers. */
92593 #ifdef __STDC__
92594 # include <limits.h>
92595 #else
92596 # include <assert.h>
92597 #endif
92599 #undef $ac_func
92601 /* Override any gcc2 internal prototype to avoid an error. */
92602 #ifdef __cplusplus
92603 extern "C"
92605 #endif
92606 /* We use char because int might match the return type of a gcc2
92607 builtin and then its argument prototype would still apply. */
92608 char $ac_func ();
92609 /* The GNU C library defines this for functions which it implements
92610 to always fail with ENOSYS. Some functions are actually named
92611 something starting with __ and the normal name is an alias. */
92612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92613 choke me
92614 #else
92615 char (*f) () = $ac_func;
92616 #endif
92617 #ifdef __cplusplus
92619 #endif
92622 main ()
92624 return f != $ac_func;
92626 return 0;
92628 _ACEOF
92629 rm -f conftest.$ac_objext conftest$ac_exeext
92630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92631 (eval $ac_link) 2>conftest.er1
92632 ac_status=$?
92633 grep -v '^ *+' conftest.er1 >conftest.err
92634 rm -f conftest.er1
92635 cat conftest.err >&5
92636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92637 (exit $ac_status); } &&
92638 { ac_try='test -z "$ac_c_werror_flag"
92639 || test ! -s conftest.err'
92640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92641 (eval $ac_try) 2>&5
92642 ac_status=$?
92643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92644 (exit $ac_status); }; } &&
92645 { ac_try='test -s conftest$ac_exeext'
92646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92647 (eval $ac_try) 2>&5
92648 ac_status=$?
92649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92650 (exit $ac_status); }; }; then
92651 eval "$as_ac_var=yes"
92652 else
92653 echo "$as_me: failed program was:" >&5
92654 sed 's/^/| /' conftest.$ac_ext >&5
92656 eval "$as_ac_var=no"
92658 rm -f conftest.err conftest.$ac_objext \
92659 conftest$ac_exeext conftest.$ac_ext
92661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92663 if test `eval echo '${'$as_ac_var'}'` = yes; then
92664 cat >>confdefs.h <<_ACEOF
92665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92666 _ACEOF
92669 done
92679 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92680 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92681 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92682 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92683 echo $ECHO_N "(cached) $ECHO_C" >&6
92684 else
92688 ac_ext=cc
92689 ac_cpp='$CXXCPP $CPPFLAGS'
92690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92694 cat >conftest.$ac_ext <<_ACEOF
92695 /* confdefs.h. */
92696 _ACEOF
92697 cat confdefs.h >>conftest.$ac_ext
92698 cat >>conftest.$ac_ext <<_ACEOF
92699 /* end confdefs.h. */
92700 #include <math.h>
92701 #ifdef HAVE_IEEEFP_H
92702 #include <ieeefp.h>
92703 #endif
92706 main ()
92708 isnanf(0);
92710 return 0;
92712 _ACEOF
92713 rm -f conftest.$ac_objext
92714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92715 (eval $ac_compile) 2>conftest.er1
92716 ac_status=$?
92717 grep -v '^ *+' conftest.er1 >conftest.err
92718 rm -f conftest.er1
92719 cat conftest.err >&5
92720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92721 (exit $ac_status); } &&
92722 { ac_try='test -z "$ac_cxx_werror_flag"
92723 || test ! -s conftest.err'
92724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92725 (eval $ac_try) 2>&5
92726 ac_status=$?
92727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92728 (exit $ac_status); }; } &&
92729 { ac_try='test -s conftest.$ac_objext'
92730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92731 (eval $ac_try) 2>&5
92732 ac_status=$?
92733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92734 (exit $ac_status); }; }; then
92735 glibcxx_cv_func_isnanf_use=yes
92736 else
92737 echo "$as_me: failed program was:" >&5
92738 sed 's/^/| /' conftest.$ac_ext >&5
92740 glibcxx_cv_func_isnanf_use=no
92742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92743 ac_ext=c
92744 ac_cpp='$CPP $CPPFLAGS'
92745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92754 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92756 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92758 for ac_func in isnanf
92760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92761 echo "$as_me:$LINENO: checking for $ac_func" >&5
92762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92763 if eval "test \"\${$as_ac_var+set}\" = set"; then
92764 echo $ECHO_N "(cached) $ECHO_C" >&6
92765 else
92766 if test x$gcc_no_link = xyes; then
92767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92769 { (exit 1); exit 1; }; }
92771 cat >conftest.$ac_ext <<_ACEOF
92772 /* confdefs.h. */
92773 _ACEOF
92774 cat confdefs.h >>conftest.$ac_ext
92775 cat >>conftest.$ac_ext <<_ACEOF
92776 /* end confdefs.h. */
92777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92779 #define $ac_func innocuous_$ac_func
92781 /* System header to define __stub macros and hopefully few prototypes,
92782 which can conflict with char $ac_func (); below.
92783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92784 <limits.h> exists even on freestanding compilers. */
92786 #ifdef __STDC__
92787 # include <limits.h>
92788 #else
92789 # include <assert.h>
92790 #endif
92792 #undef $ac_func
92794 /* Override any gcc2 internal prototype to avoid an error. */
92795 #ifdef __cplusplus
92796 extern "C"
92798 #endif
92799 /* We use char because int might match the return type of a gcc2
92800 builtin and then its argument prototype would still apply. */
92801 char $ac_func ();
92802 /* The GNU C library defines this for functions which it implements
92803 to always fail with ENOSYS. Some functions are actually named
92804 something starting with __ and the normal name is an alias. */
92805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92806 choke me
92807 #else
92808 char (*f) () = $ac_func;
92809 #endif
92810 #ifdef __cplusplus
92812 #endif
92815 main ()
92817 return f != $ac_func;
92819 return 0;
92821 _ACEOF
92822 rm -f conftest.$ac_objext conftest$ac_exeext
92823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92824 (eval $ac_link) 2>conftest.er1
92825 ac_status=$?
92826 grep -v '^ *+' conftest.er1 >conftest.err
92827 rm -f conftest.er1
92828 cat conftest.err >&5
92829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92830 (exit $ac_status); } &&
92831 { ac_try='test -z "$ac_c_werror_flag"
92832 || test ! -s conftest.err'
92833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92834 (eval $ac_try) 2>&5
92835 ac_status=$?
92836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92837 (exit $ac_status); }; } &&
92838 { ac_try='test -s conftest$ac_exeext'
92839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92840 (eval $ac_try) 2>&5
92841 ac_status=$?
92842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92843 (exit $ac_status); }; }; then
92844 eval "$as_ac_var=yes"
92845 else
92846 echo "$as_me: failed program was:" >&5
92847 sed 's/^/| /' conftest.$ac_ext >&5
92849 eval "$as_ac_var=no"
92851 rm -f conftest.err conftest.$ac_objext \
92852 conftest$ac_exeext conftest.$ac_ext
92854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92856 if test `eval echo '${'$as_ac_var'}'` = yes; then
92857 cat >>confdefs.h <<_ACEOF
92858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92859 _ACEOF
92862 done
92864 else
92866 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92867 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92868 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92869 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92870 echo $ECHO_N "(cached) $ECHO_C" >&6
92871 else
92875 ac_ext=cc
92876 ac_cpp='$CXXCPP $CPPFLAGS'
92877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92881 cat >conftest.$ac_ext <<_ACEOF
92882 /* confdefs.h. */
92883 _ACEOF
92884 cat confdefs.h >>conftest.$ac_ext
92885 cat >>conftest.$ac_ext <<_ACEOF
92886 /* end confdefs.h. */
92887 #include <math.h>
92888 #ifdef HAVE_IEEEFP_H
92889 #include <ieeefp.h>
92890 #endif
92893 main ()
92895 _isnanf(0);
92897 return 0;
92899 _ACEOF
92900 rm -f conftest.$ac_objext
92901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92902 (eval $ac_compile) 2>conftest.er1
92903 ac_status=$?
92904 grep -v '^ *+' conftest.er1 >conftest.err
92905 rm -f conftest.er1
92906 cat conftest.err >&5
92907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92908 (exit $ac_status); } &&
92909 { ac_try='test -z "$ac_cxx_werror_flag"
92910 || test ! -s conftest.err'
92911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92912 (eval $ac_try) 2>&5
92913 ac_status=$?
92914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92915 (exit $ac_status); }; } &&
92916 { ac_try='test -s conftest.$ac_objext'
92917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92918 (eval $ac_try) 2>&5
92919 ac_status=$?
92920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92921 (exit $ac_status); }; }; then
92922 glibcxx_cv_func__isnanf_use=yes
92923 else
92924 echo "$as_me: failed program was:" >&5
92925 sed 's/^/| /' conftest.$ac_ext >&5
92927 glibcxx_cv_func__isnanf_use=no
92929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92930 ac_ext=c
92931 ac_cpp='$CPP $CPPFLAGS'
92932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92941 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92943 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92945 for ac_func in _isnanf
92947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92948 echo "$as_me:$LINENO: checking for $ac_func" >&5
92949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92950 if eval "test \"\${$as_ac_var+set}\" = set"; then
92951 echo $ECHO_N "(cached) $ECHO_C" >&6
92952 else
92953 if test x$gcc_no_link = xyes; then
92954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92956 { (exit 1); exit 1; }; }
92958 cat >conftest.$ac_ext <<_ACEOF
92959 /* confdefs.h. */
92960 _ACEOF
92961 cat confdefs.h >>conftest.$ac_ext
92962 cat >>conftest.$ac_ext <<_ACEOF
92963 /* end confdefs.h. */
92964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92966 #define $ac_func innocuous_$ac_func
92968 /* System header to define __stub macros and hopefully few prototypes,
92969 which can conflict with char $ac_func (); below.
92970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92971 <limits.h> exists even on freestanding compilers. */
92973 #ifdef __STDC__
92974 # include <limits.h>
92975 #else
92976 # include <assert.h>
92977 #endif
92979 #undef $ac_func
92981 /* Override any gcc2 internal prototype to avoid an error. */
92982 #ifdef __cplusplus
92983 extern "C"
92985 #endif
92986 /* We use char because int might match the return type of a gcc2
92987 builtin and then its argument prototype would still apply. */
92988 char $ac_func ();
92989 /* The GNU C library defines this for functions which it implements
92990 to always fail with ENOSYS. Some functions are actually named
92991 something starting with __ and the normal name is an alias. */
92992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92993 choke me
92994 #else
92995 char (*f) () = $ac_func;
92996 #endif
92997 #ifdef __cplusplus
92999 #endif
93002 main ()
93004 return f != $ac_func;
93006 return 0;
93008 _ACEOF
93009 rm -f conftest.$ac_objext conftest$ac_exeext
93010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93011 (eval $ac_link) 2>conftest.er1
93012 ac_status=$?
93013 grep -v '^ *+' conftest.er1 >conftest.err
93014 rm -f conftest.er1
93015 cat conftest.err >&5
93016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93017 (exit $ac_status); } &&
93018 { ac_try='test -z "$ac_c_werror_flag"
93019 || test ! -s conftest.err'
93020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93021 (eval $ac_try) 2>&5
93022 ac_status=$?
93023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93024 (exit $ac_status); }; } &&
93025 { ac_try='test -s conftest$ac_exeext'
93026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93027 (eval $ac_try) 2>&5
93028 ac_status=$?
93029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93030 (exit $ac_status); }; }; then
93031 eval "$as_ac_var=yes"
93032 else
93033 echo "$as_me: failed program was:" >&5
93034 sed 's/^/| /' conftest.$ac_ext >&5
93036 eval "$as_ac_var=no"
93038 rm -f conftest.err conftest.$ac_objext \
93039 conftest$ac_exeext conftest.$ac_ext
93041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93043 if test `eval echo '${'$as_ac_var'}'` = yes; then
93044 cat >>confdefs.h <<_ACEOF
93045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93046 _ACEOF
93049 done
93059 echo "$as_me:$LINENO: checking for isinff declaration" >&5
93060 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
93061 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
93062 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
93063 echo $ECHO_N "(cached) $ECHO_C" >&6
93064 else
93068 ac_ext=cc
93069 ac_cpp='$CXXCPP $CPPFLAGS'
93070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93074 cat >conftest.$ac_ext <<_ACEOF
93075 /* confdefs.h. */
93076 _ACEOF
93077 cat confdefs.h >>conftest.$ac_ext
93078 cat >>conftest.$ac_ext <<_ACEOF
93079 /* end confdefs.h. */
93080 #include <math.h>
93081 #ifdef HAVE_IEEEFP_H
93082 #include <ieeefp.h>
93083 #endif
93086 main ()
93088 isinff(0);
93090 return 0;
93092 _ACEOF
93093 rm -f conftest.$ac_objext
93094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93095 (eval $ac_compile) 2>conftest.er1
93096 ac_status=$?
93097 grep -v '^ *+' conftest.er1 >conftest.err
93098 rm -f conftest.er1
93099 cat conftest.err >&5
93100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93101 (exit $ac_status); } &&
93102 { ac_try='test -z "$ac_cxx_werror_flag"
93103 || test ! -s conftest.err'
93104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93105 (eval $ac_try) 2>&5
93106 ac_status=$?
93107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93108 (exit $ac_status); }; } &&
93109 { ac_try='test -s conftest.$ac_objext'
93110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93111 (eval $ac_try) 2>&5
93112 ac_status=$?
93113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93114 (exit $ac_status); }; }; then
93115 glibcxx_cv_func_isinff_use=yes
93116 else
93117 echo "$as_me: failed program was:" >&5
93118 sed 's/^/| /' conftest.$ac_ext >&5
93120 glibcxx_cv_func_isinff_use=no
93122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93123 ac_ext=c
93124 ac_cpp='$CPP $CPPFLAGS'
93125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
93134 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
93136 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
93138 for ac_func in isinff
93140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93141 echo "$as_me:$LINENO: checking for $ac_func" >&5
93142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93143 if eval "test \"\${$as_ac_var+set}\" = set"; then
93144 echo $ECHO_N "(cached) $ECHO_C" >&6
93145 else
93146 if test x$gcc_no_link = xyes; then
93147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93149 { (exit 1); exit 1; }; }
93151 cat >conftest.$ac_ext <<_ACEOF
93152 /* confdefs.h. */
93153 _ACEOF
93154 cat confdefs.h >>conftest.$ac_ext
93155 cat >>conftest.$ac_ext <<_ACEOF
93156 /* end confdefs.h. */
93157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93159 #define $ac_func innocuous_$ac_func
93161 /* System header to define __stub macros and hopefully few prototypes,
93162 which can conflict with char $ac_func (); below.
93163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93164 <limits.h> exists even on freestanding compilers. */
93166 #ifdef __STDC__
93167 # include <limits.h>
93168 #else
93169 # include <assert.h>
93170 #endif
93172 #undef $ac_func
93174 /* Override any gcc2 internal prototype to avoid an error. */
93175 #ifdef __cplusplus
93176 extern "C"
93178 #endif
93179 /* We use char because int might match the return type of a gcc2
93180 builtin and then its argument prototype would still apply. */
93181 char $ac_func ();
93182 /* The GNU C library defines this for functions which it implements
93183 to always fail with ENOSYS. Some functions are actually named
93184 something starting with __ and the normal name is an alias. */
93185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93186 choke me
93187 #else
93188 char (*f) () = $ac_func;
93189 #endif
93190 #ifdef __cplusplus
93192 #endif
93195 main ()
93197 return f != $ac_func;
93199 return 0;
93201 _ACEOF
93202 rm -f conftest.$ac_objext conftest$ac_exeext
93203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93204 (eval $ac_link) 2>conftest.er1
93205 ac_status=$?
93206 grep -v '^ *+' conftest.er1 >conftest.err
93207 rm -f conftest.er1
93208 cat conftest.err >&5
93209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93210 (exit $ac_status); } &&
93211 { ac_try='test -z "$ac_c_werror_flag"
93212 || test ! -s conftest.err'
93213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93214 (eval $ac_try) 2>&5
93215 ac_status=$?
93216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93217 (exit $ac_status); }; } &&
93218 { ac_try='test -s conftest$ac_exeext'
93219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93220 (eval $ac_try) 2>&5
93221 ac_status=$?
93222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93223 (exit $ac_status); }; }; then
93224 eval "$as_ac_var=yes"
93225 else
93226 echo "$as_me: failed program was:" >&5
93227 sed 's/^/| /' conftest.$ac_ext >&5
93229 eval "$as_ac_var=no"
93231 rm -f conftest.err conftest.$ac_objext \
93232 conftest$ac_exeext conftest.$ac_ext
93234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93236 if test `eval echo '${'$as_ac_var'}'` = yes; then
93237 cat >>confdefs.h <<_ACEOF
93238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93239 _ACEOF
93242 done
93244 else
93246 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
93247 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
93248 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
93249 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
93250 echo $ECHO_N "(cached) $ECHO_C" >&6
93251 else
93255 ac_ext=cc
93256 ac_cpp='$CXXCPP $CPPFLAGS'
93257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93261 cat >conftest.$ac_ext <<_ACEOF
93262 /* confdefs.h. */
93263 _ACEOF
93264 cat confdefs.h >>conftest.$ac_ext
93265 cat >>conftest.$ac_ext <<_ACEOF
93266 /* end confdefs.h. */
93267 #include <math.h>
93268 #ifdef HAVE_IEEEFP_H
93269 #include <ieeefp.h>
93270 #endif
93273 main ()
93275 _isinff(0);
93277 return 0;
93279 _ACEOF
93280 rm -f conftest.$ac_objext
93281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93282 (eval $ac_compile) 2>conftest.er1
93283 ac_status=$?
93284 grep -v '^ *+' conftest.er1 >conftest.err
93285 rm -f conftest.er1
93286 cat conftest.err >&5
93287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93288 (exit $ac_status); } &&
93289 { ac_try='test -z "$ac_cxx_werror_flag"
93290 || test ! -s conftest.err'
93291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93292 (eval $ac_try) 2>&5
93293 ac_status=$?
93294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93295 (exit $ac_status); }; } &&
93296 { ac_try='test -s conftest.$ac_objext'
93297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93298 (eval $ac_try) 2>&5
93299 ac_status=$?
93300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93301 (exit $ac_status); }; }; then
93302 glibcxx_cv_func__isinff_use=yes
93303 else
93304 echo "$as_me: failed program was:" >&5
93305 sed 's/^/| /' conftest.$ac_ext >&5
93307 glibcxx_cv_func__isinff_use=no
93309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93310 ac_ext=c
93311 ac_cpp='$CPP $CPPFLAGS'
93312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
93321 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
93323 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
93325 for ac_func in _isinff
93327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93328 echo "$as_me:$LINENO: checking for $ac_func" >&5
93329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93330 if eval "test \"\${$as_ac_var+set}\" = set"; then
93331 echo $ECHO_N "(cached) $ECHO_C" >&6
93332 else
93333 if test x$gcc_no_link = xyes; then
93334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93336 { (exit 1); exit 1; }; }
93338 cat >conftest.$ac_ext <<_ACEOF
93339 /* confdefs.h. */
93340 _ACEOF
93341 cat confdefs.h >>conftest.$ac_ext
93342 cat >>conftest.$ac_ext <<_ACEOF
93343 /* end confdefs.h. */
93344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93346 #define $ac_func innocuous_$ac_func
93348 /* System header to define __stub macros and hopefully few prototypes,
93349 which can conflict with char $ac_func (); below.
93350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93351 <limits.h> exists even on freestanding compilers. */
93353 #ifdef __STDC__
93354 # include <limits.h>
93355 #else
93356 # include <assert.h>
93357 #endif
93359 #undef $ac_func
93361 /* Override any gcc2 internal prototype to avoid an error. */
93362 #ifdef __cplusplus
93363 extern "C"
93365 #endif
93366 /* We use char because int might match the return type of a gcc2
93367 builtin and then its argument prototype would still apply. */
93368 char $ac_func ();
93369 /* The GNU C library defines this for functions which it implements
93370 to always fail with ENOSYS. Some functions are actually named
93371 something starting with __ and the normal name is an alias. */
93372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93373 choke me
93374 #else
93375 char (*f) () = $ac_func;
93376 #endif
93377 #ifdef __cplusplus
93379 #endif
93382 main ()
93384 return f != $ac_func;
93386 return 0;
93388 _ACEOF
93389 rm -f conftest.$ac_objext conftest$ac_exeext
93390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93391 (eval $ac_link) 2>conftest.er1
93392 ac_status=$?
93393 grep -v '^ *+' conftest.er1 >conftest.err
93394 rm -f conftest.er1
93395 cat conftest.err >&5
93396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93397 (exit $ac_status); } &&
93398 { ac_try='test -z "$ac_c_werror_flag"
93399 || test ! -s conftest.err'
93400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93401 (eval $ac_try) 2>&5
93402 ac_status=$?
93403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93404 (exit $ac_status); }; } &&
93405 { ac_try='test -s conftest$ac_exeext'
93406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93407 (eval $ac_try) 2>&5
93408 ac_status=$?
93409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93410 (exit $ac_status); }; }; then
93411 eval "$as_ac_var=yes"
93412 else
93413 echo "$as_me: failed program was:" >&5
93414 sed 's/^/| /' conftest.$ac_ext >&5
93416 eval "$as_ac_var=no"
93418 rm -f conftest.err conftest.$ac_objext \
93419 conftest$ac_exeext conftest.$ac_ext
93421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93423 if test `eval echo '${'$as_ac_var'}'` = yes; then
93424 cat >>confdefs.h <<_ACEOF
93425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93426 _ACEOF
93429 done
93439 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
93440 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
93441 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
93442 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
93443 echo $ECHO_N "(cached) $ECHO_C" >&6
93444 else
93448 ac_ext=cc
93449 ac_cpp='$CXXCPP $CPPFLAGS'
93450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93454 cat >conftest.$ac_ext <<_ACEOF
93455 /* confdefs.h. */
93456 _ACEOF
93457 cat confdefs.h >>conftest.$ac_ext
93458 cat >>conftest.$ac_ext <<_ACEOF
93459 /* end confdefs.h. */
93460 #include <math.h>
93462 main ()
93464 atan2f(0, 0);
93466 return 0;
93468 _ACEOF
93469 rm -f conftest.$ac_objext
93470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93471 (eval $ac_compile) 2>conftest.er1
93472 ac_status=$?
93473 grep -v '^ *+' conftest.er1 >conftest.err
93474 rm -f conftest.er1
93475 cat conftest.err >&5
93476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93477 (exit $ac_status); } &&
93478 { ac_try='test -z "$ac_cxx_werror_flag"
93479 || test ! -s conftest.err'
93480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93481 (eval $ac_try) 2>&5
93482 ac_status=$?
93483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93484 (exit $ac_status); }; } &&
93485 { ac_try='test -s conftest.$ac_objext'
93486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93487 (eval $ac_try) 2>&5
93488 ac_status=$?
93489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93490 (exit $ac_status); }; }; then
93491 glibcxx_cv_func_atan2f_use=yes
93492 else
93493 echo "$as_me: failed program was:" >&5
93494 sed 's/^/| /' conftest.$ac_ext >&5
93496 glibcxx_cv_func_atan2f_use=no
93498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93499 ac_ext=c
93500 ac_cpp='$CPP $CPPFLAGS'
93501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
93510 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
93512 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
93514 for ac_func in atan2f
93516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93517 echo "$as_me:$LINENO: checking for $ac_func" >&5
93518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93519 if eval "test \"\${$as_ac_var+set}\" = set"; then
93520 echo $ECHO_N "(cached) $ECHO_C" >&6
93521 else
93522 if test x$gcc_no_link = xyes; then
93523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93525 { (exit 1); exit 1; }; }
93527 cat >conftest.$ac_ext <<_ACEOF
93528 /* confdefs.h. */
93529 _ACEOF
93530 cat confdefs.h >>conftest.$ac_ext
93531 cat >>conftest.$ac_ext <<_ACEOF
93532 /* end confdefs.h. */
93533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93535 #define $ac_func innocuous_$ac_func
93537 /* System header to define __stub macros and hopefully few prototypes,
93538 which can conflict with char $ac_func (); below.
93539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93540 <limits.h> exists even on freestanding compilers. */
93542 #ifdef __STDC__
93543 # include <limits.h>
93544 #else
93545 # include <assert.h>
93546 #endif
93548 #undef $ac_func
93550 /* Override any gcc2 internal prototype to avoid an error. */
93551 #ifdef __cplusplus
93552 extern "C"
93554 #endif
93555 /* We use char because int might match the return type of a gcc2
93556 builtin and then its argument prototype would still apply. */
93557 char $ac_func ();
93558 /* The GNU C library defines this for functions which it implements
93559 to always fail with ENOSYS. Some functions are actually named
93560 something starting with __ and the normal name is an alias. */
93561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93562 choke me
93563 #else
93564 char (*f) () = $ac_func;
93565 #endif
93566 #ifdef __cplusplus
93568 #endif
93571 main ()
93573 return f != $ac_func;
93575 return 0;
93577 _ACEOF
93578 rm -f conftest.$ac_objext conftest$ac_exeext
93579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93580 (eval $ac_link) 2>conftest.er1
93581 ac_status=$?
93582 grep -v '^ *+' conftest.er1 >conftest.err
93583 rm -f conftest.er1
93584 cat conftest.err >&5
93585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93586 (exit $ac_status); } &&
93587 { ac_try='test -z "$ac_c_werror_flag"
93588 || test ! -s conftest.err'
93589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93590 (eval $ac_try) 2>&5
93591 ac_status=$?
93592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93593 (exit $ac_status); }; } &&
93594 { ac_try='test -s conftest$ac_exeext'
93595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93596 (eval $ac_try) 2>&5
93597 ac_status=$?
93598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93599 (exit $ac_status); }; }; then
93600 eval "$as_ac_var=yes"
93601 else
93602 echo "$as_me: failed program was:" >&5
93603 sed 's/^/| /' conftest.$ac_ext >&5
93605 eval "$as_ac_var=no"
93607 rm -f conftest.err conftest.$ac_objext \
93608 conftest$ac_exeext conftest.$ac_ext
93610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93612 if test `eval echo '${'$as_ac_var'}'` = yes; then
93613 cat >>confdefs.h <<_ACEOF
93614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93615 _ACEOF
93618 done
93620 else
93622 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93623 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93624 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93625 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93626 echo $ECHO_N "(cached) $ECHO_C" >&6
93627 else
93631 ac_ext=cc
93632 ac_cpp='$CXXCPP $CPPFLAGS'
93633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93637 cat >conftest.$ac_ext <<_ACEOF
93638 /* confdefs.h. */
93639 _ACEOF
93640 cat confdefs.h >>conftest.$ac_ext
93641 cat >>conftest.$ac_ext <<_ACEOF
93642 /* end confdefs.h. */
93643 #include <math.h>
93645 main ()
93647 _atan2f(0, 0);
93649 return 0;
93651 _ACEOF
93652 rm -f conftest.$ac_objext
93653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93654 (eval $ac_compile) 2>conftest.er1
93655 ac_status=$?
93656 grep -v '^ *+' conftest.er1 >conftest.err
93657 rm -f conftest.er1
93658 cat conftest.err >&5
93659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93660 (exit $ac_status); } &&
93661 { ac_try='test -z "$ac_cxx_werror_flag"
93662 || test ! -s conftest.err'
93663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93664 (eval $ac_try) 2>&5
93665 ac_status=$?
93666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93667 (exit $ac_status); }; } &&
93668 { ac_try='test -s conftest.$ac_objext'
93669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93670 (eval $ac_try) 2>&5
93671 ac_status=$?
93672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93673 (exit $ac_status); }; }; then
93674 glibcxx_cv_func__atan2f_use=yes
93675 else
93676 echo "$as_me: failed program was:" >&5
93677 sed 's/^/| /' conftest.$ac_ext >&5
93679 glibcxx_cv_func__atan2f_use=no
93681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93682 ac_ext=c
93683 ac_cpp='$CPP $CPPFLAGS'
93684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93693 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93695 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93697 for ac_func in _atan2f
93699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93700 echo "$as_me:$LINENO: checking for $ac_func" >&5
93701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93702 if eval "test \"\${$as_ac_var+set}\" = set"; then
93703 echo $ECHO_N "(cached) $ECHO_C" >&6
93704 else
93705 if test x$gcc_no_link = xyes; then
93706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93708 { (exit 1); exit 1; }; }
93710 cat >conftest.$ac_ext <<_ACEOF
93711 /* confdefs.h. */
93712 _ACEOF
93713 cat confdefs.h >>conftest.$ac_ext
93714 cat >>conftest.$ac_ext <<_ACEOF
93715 /* end confdefs.h. */
93716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93718 #define $ac_func innocuous_$ac_func
93720 /* System header to define __stub macros and hopefully few prototypes,
93721 which can conflict with char $ac_func (); below.
93722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93723 <limits.h> exists even on freestanding compilers. */
93725 #ifdef __STDC__
93726 # include <limits.h>
93727 #else
93728 # include <assert.h>
93729 #endif
93731 #undef $ac_func
93733 /* Override any gcc2 internal prototype to avoid an error. */
93734 #ifdef __cplusplus
93735 extern "C"
93737 #endif
93738 /* We use char because int might match the return type of a gcc2
93739 builtin and then its argument prototype would still apply. */
93740 char $ac_func ();
93741 /* The GNU C library defines this for functions which it implements
93742 to always fail with ENOSYS. Some functions are actually named
93743 something starting with __ and the normal name is an alias. */
93744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93745 choke me
93746 #else
93747 char (*f) () = $ac_func;
93748 #endif
93749 #ifdef __cplusplus
93751 #endif
93754 main ()
93756 return f != $ac_func;
93758 return 0;
93760 _ACEOF
93761 rm -f conftest.$ac_objext conftest$ac_exeext
93762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93763 (eval $ac_link) 2>conftest.er1
93764 ac_status=$?
93765 grep -v '^ *+' conftest.er1 >conftest.err
93766 rm -f conftest.er1
93767 cat conftest.err >&5
93768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93769 (exit $ac_status); } &&
93770 { ac_try='test -z "$ac_c_werror_flag"
93771 || test ! -s conftest.err'
93772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93773 (eval $ac_try) 2>&5
93774 ac_status=$?
93775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93776 (exit $ac_status); }; } &&
93777 { ac_try='test -s conftest$ac_exeext'
93778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93779 (eval $ac_try) 2>&5
93780 ac_status=$?
93781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93782 (exit $ac_status); }; }; then
93783 eval "$as_ac_var=yes"
93784 else
93785 echo "$as_me: failed program was:" >&5
93786 sed 's/^/| /' conftest.$ac_ext >&5
93788 eval "$as_ac_var=no"
93790 rm -f conftest.err conftest.$ac_objext \
93791 conftest$ac_exeext conftest.$ac_ext
93793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93795 if test `eval echo '${'$as_ac_var'}'` = yes; then
93796 cat >>confdefs.h <<_ACEOF
93797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93798 _ACEOF
93801 done
93811 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93812 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93813 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93814 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93815 echo $ECHO_N "(cached) $ECHO_C" >&6
93816 else
93820 ac_ext=cc
93821 ac_cpp='$CXXCPP $CPPFLAGS'
93822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93826 cat >conftest.$ac_ext <<_ACEOF
93827 /* confdefs.h. */
93828 _ACEOF
93829 cat confdefs.h >>conftest.$ac_ext
93830 cat >>conftest.$ac_ext <<_ACEOF
93831 /* end confdefs.h. */
93832 #include <math.h>
93833 #ifdef HAVE_IEEEFP_H
93834 #include <ieeefp.h>
93835 #endif
93838 main ()
93840 fabsf(0);
93842 return 0;
93844 _ACEOF
93845 rm -f conftest.$ac_objext
93846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93847 (eval $ac_compile) 2>conftest.er1
93848 ac_status=$?
93849 grep -v '^ *+' conftest.er1 >conftest.err
93850 rm -f conftest.er1
93851 cat conftest.err >&5
93852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93853 (exit $ac_status); } &&
93854 { ac_try='test -z "$ac_cxx_werror_flag"
93855 || test ! -s conftest.err'
93856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93857 (eval $ac_try) 2>&5
93858 ac_status=$?
93859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93860 (exit $ac_status); }; } &&
93861 { ac_try='test -s conftest.$ac_objext'
93862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93863 (eval $ac_try) 2>&5
93864 ac_status=$?
93865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93866 (exit $ac_status); }; }; then
93867 glibcxx_cv_func_fabsf_use=yes
93868 else
93869 echo "$as_me: failed program was:" >&5
93870 sed 's/^/| /' conftest.$ac_ext >&5
93872 glibcxx_cv_func_fabsf_use=no
93874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93875 ac_ext=c
93876 ac_cpp='$CPP $CPPFLAGS'
93877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93886 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93888 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93890 for ac_func in fabsf
93892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93893 echo "$as_me:$LINENO: checking for $ac_func" >&5
93894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93895 if eval "test \"\${$as_ac_var+set}\" = set"; then
93896 echo $ECHO_N "(cached) $ECHO_C" >&6
93897 else
93898 if test x$gcc_no_link = xyes; then
93899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93901 { (exit 1); exit 1; }; }
93903 cat >conftest.$ac_ext <<_ACEOF
93904 /* confdefs.h. */
93905 _ACEOF
93906 cat confdefs.h >>conftest.$ac_ext
93907 cat >>conftest.$ac_ext <<_ACEOF
93908 /* end confdefs.h. */
93909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93911 #define $ac_func innocuous_$ac_func
93913 /* System header to define __stub macros and hopefully few prototypes,
93914 which can conflict with char $ac_func (); below.
93915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93916 <limits.h> exists even on freestanding compilers. */
93918 #ifdef __STDC__
93919 # include <limits.h>
93920 #else
93921 # include <assert.h>
93922 #endif
93924 #undef $ac_func
93926 /* Override any gcc2 internal prototype to avoid an error. */
93927 #ifdef __cplusplus
93928 extern "C"
93930 #endif
93931 /* We use char because int might match the return type of a gcc2
93932 builtin and then its argument prototype would still apply. */
93933 char $ac_func ();
93934 /* The GNU C library defines this for functions which it implements
93935 to always fail with ENOSYS. Some functions are actually named
93936 something starting with __ and the normal name is an alias. */
93937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93938 choke me
93939 #else
93940 char (*f) () = $ac_func;
93941 #endif
93942 #ifdef __cplusplus
93944 #endif
93947 main ()
93949 return f != $ac_func;
93951 return 0;
93953 _ACEOF
93954 rm -f conftest.$ac_objext conftest$ac_exeext
93955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93956 (eval $ac_link) 2>conftest.er1
93957 ac_status=$?
93958 grep -v '^ *+' conftest.er1 >conftest.err
93959 rm -f conftest.er1
93960 cat conftest.err >&5
93961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93962 (exit $ac_status); } &&
93963 { ac_try='test -z "$ac_c_werror_flag"
93964 || test ! -s conftest.err'
93965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93966 (eval $ac_try) 2>&5
93967 ac_status=$?
93968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93969 (exit $ac_status); }; } &&
93970 { ac_try='test -s conftest$ac_exeext'
93971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93972 (eval $ac_try) 2>&5
93973 ac_status=$?
93974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93975 (exit $ac_status); }; }; then
93976 eval "$as_ac_var=yes"
93977 else
93978 echo "$as_me: failed program was:" >&5
93979 sed 's/^/| /' conftest.$ac_ext >&5
93981 eval "$as_ac_var=no"
93983 rm -f conftest.err conftest.$ac_objext \
93984 conftest$ac_exeext conftest.$ac_ext
93986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93988 if test `eval echo '${'$as_ac_var'}'` = yes; then
93989 cat >>confdefs.h <<_ACEOF
93990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93991 _ACEOF
93994 done
93996 else
93998 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93999 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
94000 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
94001 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
94002 echo $ECHO_N "(cached) $ECHO_C" >&6
94003 else
94007 ac_ext=cc
94008 ac_cpp='$CXXCPP $CPPFLAGS'
94009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94013 cat >conftest.$ac_ext <<_ACEOF
94014 /* confdefs.h. */
94015 _ACEOF
94016 cat confdefs.h >>conftest.$ac_ext
94017 cat >>conftest.$ac_ext <<_ACEOF
94018 /* end confdefs.h. */
94019 #include <math.h>
94020 #ifdef HAVE_IEEEFP_H
94021 #include <ieeefp.h>
94022 #endif
94025 main ()
94027 _fabsf(0);
94029 return 0;
94031 _ACEOF
94032 rm -f conftest.$ac_objext
94033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94034 (eval $ac_compile) 2>conftest.er1
94035 ac_status=$?
94036 grep -v '^ *+' conftest.er1 >conftest.err
94037 rm -f conftest.er1
94038 cat conftest.err >&5
94039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94040 (exit $ac_status); } &&
94041 { ac_try='test -z "$ac_cxx_werror_flag"
94042 || test ! -s conftest.err'
94043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94044 (eval $ac_try) 2>&5
94045 ac_status=$?
94046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94047 (exit $ac_status); }; } &&
94048 { ac_try='test -s conftest.$ac_objext'
94049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94050 (eval $ac_try) 2>&5
94051 ac_status=$?
94052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94053 (exit $ac_status); }; }; then
94054 glibcxx_cv_func__fabsf_use=yes
94055 else
94056 echo "$as_me: failed program was:" >&5
94057 sed 's/^/| /' conftest.$ac_ext >&5
94059 glibcxx_cv_func__fabsf_use=no
94061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94062 ac_ext=c
94063 ac_cpp='$CPP $CPPFLAGS'
94064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
94073 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
94075 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
94077 for ac_func in _fabsf
94079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94080 echo "$as_me:$LINENO: checking for $ac_func" >&5
94081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94082 if eval "test \"\${$as_ac_var+set}\" = set"; then
94083 echo $ECHO_N "(cached) $ECHO_C" >&6
94084 else
94085 if test x$gcc_no_link = xyes; then
94086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94088 { (exit 1); exit 1; }; }
94090 cat >conftest.$ac_ext <<_ACEOF
94091 /* confdefs.h. */
94092 _ACEOF
94093 cat confdefs.h >>conftest.$ac_ext
94094 cat >>conftest.$ac_ext <<_ACEOF
94095 /* end confdefs.h. */
94096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94098 #define $ac_func innocuous_$ac_func
94100 /* System header to define __stub macros and hopefully few prototypes,
94101 which can conflict with char $ac_func (); below.
94102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94103 <limits.h> exists even on freestanding compilers. */
94105 #ifdef __STDC__
94106 # include <limits.h>
94107 #else
94108 # include <assert.h>
94109 #endif
94111 #undef $ac_func
94113 /* Override any gcc2 internal prototype to avoid an error. */
94114 #ifdef __cplusplus
94115 extern "C"
94117 #endif
94118 /* We use char because int might match the return type of a gcc2
94119 builtin and then its argument prototype would still apply. */
94120 char $ac_func ();
94121 /* The GNU C library defines this for functions which it implements
94122 to always fail with ENOSYS. Some functions are actually named
94123 something starting with __ and the normal name is an alias. */
94124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94125 choke me
94126 #else
94127 char (*f) () = $ac_func;
94128 #endif
94129 #ifdef __cplusplus
94131 #endif
94134 main ()
94136 return f != $ac_func;
94138 return 0;
94140 _ACEOF
94141 rm -f conftest.$ac_objext conftest$ac_exeext
94142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94143 (eval $ac_link) 2>conftest.er1
94144 ac_status=$?
94145 grep -v '^ *+' conftest.er1 >conftest.err
94146 rm -f conftest.er1
94147 cat conftest.err >&5
94148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94149 (exit $ac_status); } &&
94150 { ac_try='test -z "$ac_c_werror_flag"
94151 || test ! -s conftest.err'
94152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94153 (eval $ac_try) 2>&5
94154 ac_status=$?
94155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94156 (exit $ac_status); }; } &&
94157 { ac_try='test -s conftest$ac_exeext'
94158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94159 (eval $ac_try) 2>&5
94160 ac_status=$?
94161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94162 (exit $ac_status); }; }; then
94163 eval "$as_ac_var=yes"
94164 else
94165 echo "$as_me: failed program was:" >&5
94166 sed 's/^/| /' conftest.$ac_ext >&5
94168 eval "$as_ac_var=no"
94170 rm -f conftest.err conftest.$ac_objext \
94171 conftest$ac_exeext conftest.$ac_ext
94173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94175 if test `eval echo '${'$as_ac_var'}'` = yes; then
94176 cat >>confdefs.h <<_ACEOF
94177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94178 _ACEOF
94181 done
94191 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
94192 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
94193 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
94194 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
94195 echo $ECHO_N "(cached) $ECHO_C" >&6
94196 else
94200 ac_ext=cc
94201 ac_cpp='$CXXCPP $CPPFLAGS'
94202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94206 cat >conftest.$ac_ext <<_ACEOF
94207 /* confdefs.h. */
94208 _ACEOF
94209 cat confdefs.h >>conftest.$ac_ext
94210 cat >>conftest.$ac_ext <<_ACEOF
94211 /* end confdefs.h. */
94212 #include <math.h>
94214 main ()
94216 fmodf(0, 0);
94218 return 0;
94220 _ACEOF
94221 rm -f conftest.$ac_objext
94222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94223 (eval $ac_compile) 2>conftest.er1
94224 ac_status=$?
94225 grep -v '^ *+' conftest.er1 >conftest.err
94226 rm -f conftest.er1
94227 cat conftest.err >&5
94228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94229 (exit $ac_status); } &&
94230 { ac_try='test -z "$ac_cxx_werror_flag"
94231 || test ! -s conftest.err'
94232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94233 (eval $ac_try) 2>&5
94234 ac_status=$?
94235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94236 (exit $ac_status); }; } &&
94237 { ac_try='test -s conftest.$ac_objext'
94238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94239 (eval $ac_try) 2>&5
94240 ac_status=$?
94241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94242 (exit $ac_status); }; }; then
94243 glibcxx_cv_func_fmodf_use=yes
94244 else
94245 echo "$as_me: failed program was:" >&5
94246 sed 's/^/| /' conftest.$ac_ext >&5
94248 glibcxx_cv_func_fmodf_use=no
94250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94251 ac_ext=c
94252 ac_cpp='$CPP $CPPFLAGS'
94253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
94262 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
94264 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
94266 for ac_func in fmodf
94268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94269 echo "$as_me:$LINENO: checking for $ac_func" >&5
94270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94271 if eval "test \"\${$as_ac_var+set}\" = set"; then
94272 echo $ECHO_N "(cached) $ECHO_C" >&6
94273 else
94274 if test x$gcc_no_link = xyes; then
94275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94277 { (exit 1); exit 1; }; }
94279 cat >conftest.$ac_ext <<_ACEOF
94280 /* confdefs.h. */
94281 _ACEOF
94282 cat confdefs.h >>conftest.$ac_ext
94283 cat >>conftest.$ac_ext <<_ACEOF
94284 /* end confdefs.h. */
94285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94287 #define $ac_func innocuous_$ac_func
94289 /* System header to define __stub macros and hopefully few prototypes,
94290 which can conflict with char $ac_func (); below.
94291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94292 <limits.h> exists even on freestanding compilers. */
94294 #ifdef __STDC__
94295 # include <limits.h>
94296 #else
94297 # include <assert.h>
94298 #endif
94300 #undef $ac_func
94302 /* Override any gcc2 internal prototype to avoid an error. */
94303 #ifdef __cplusplus
94304 extern "C"
94306 #endif
94307 /* We use char because int might match the return type of a gcc2
94308 builtin and then its argument prototype would still apply. */
94309 char $ac_func ();
94310 /* The GNU C library defines this for functions which it implements
94311 to always fail with ENOSYS. Some functions are actually named
94312 something starting with __ and the normal name is an alias. */
94313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94314 choke me
94315 #else
94316 char (*f) () = $ac_func;
94317 #endif
94318 #ifdef __cplusplus
94320 #endif
94323 main ()
94325 return f != $ac_func;
94327 return 0;
94329 _ACEOF
94330 rm -f conftest.$ac_objext conftest$ac_exeext
94331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94332 (eval $ac_link) 2>conftest.er1
94333 ac_status=$?
94334 grep -v '^ *+' conftest.er1 >conftest.err
94335 rm -f conftest.er1
94336 cat conftest.err >&5
94337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94338 (exit $ac_status); } &&
94339 { ac_try='test -z "$ac_c_werror_flag"
94340 || test ! -s conftest.err'
94341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94342 (eval $ac_try) 2>&5
94343 ac_status=$?
94344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94345 (exit $ac_status); }; } &&
94346 { ac_try='test -s conftest$ac_exeext'
94347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94348 (eval $ac_try) 2>&5
94349 ac_status=$?
94350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94351 (exit $ac_status); }; }; then
94352 eval "$as_ac_var=yes"
94353 else
94354 echo "$as_me: failed program was:" >&5
94355 sed 's/^/| /' conftest.$ac_ext >&5
94357 eval "$as_ac_var=no"
94359 rm -f conftest.err conftest.$ac_objext \
94360 conftest$ac_exeext conftest.$ac_ext
94362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94364 if test `eval echo '${'$as_ac_var'}'` = yes; then
94365 cat >>confdefs.h <<_ACEOF
94366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94367 _ACEOF
94370 done
94372 else
94374 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
94375 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
94376 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
94377 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
94378 echo $ECHO_N "(cached) $ECHO_C" >&6
94379 else
94383 ac_ext=cc
94384 ac_cpp='$CXXCPP $CPPFLAGS'
94385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94389 cat >conftest.$ac_ext <<_ACEOF
94390 /* confdefs.h. */
94391 _ACEOF
94392 cat confdefs.h >>conftest.$ac_ext
94393 cat >>conftest.$ac_ext <<_ACEOF
94394 /* end confdefs.h. */
94395 #include <math.h>
94397 main ()
94399 _fmodf(0, 0);
94401 return 0;
94403 _ACEOF
94404 rm -f conftest.$ac_objext
94405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94406 (eval $ac_compile) 2>conftest.er1
94407 ac_status=$?
94408 grep -v '^ *+' conftest.er1 >conftest.err
94409 rm -f conftest.er1
94410 cat conftest.err >&5
94411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94412 (exit $ac_status); } &&
94413 { ac_try='test -z "$ac_cxx_werror_flag"
94414 || test ! -s conftest.err'
94415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94416 (eval $ac_try) 2>&5
94417 ac_status=$?
94418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419 (exit $ac_status); }; } &&
94420 { ac_try='test -s conftest.$ac_objext'
94421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94422 (eval $ac_try) 2>&5
94423 ac_status=$?
94424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94425 (exit $ac_status); }; }; then
94426 glibcxx_cv_func__fmodf_use=yes
94427 else
94428 echo "$as_me: failed program was:" >&5
94429 sed 's/^/| /' conftest.$ac_ext >&5
94431 glibcxx_cv_func__fmodf_use=no
94433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94434 ac_ext=c
94435 ac_cpp='$CPP $CPPFLAGS'
94436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
94445 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
94447 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
94449 for ac_func in _fmodf
94451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94452 echo "$as_me:$LINENO: checking for $ac_func" >&5
94453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94454 if eval "test \"\${$as_ac_var+set}\" = set"; then
94455 echo $ECHO_N "(cached) $ECHO_C" >&6
94456 else
94457 if test x$gcc_no_link = xyes; then
94458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94460 { (exit 1); exit 1; }; }
94462 cat >conftest.$ac_ext <<_ACEOF
94463 /* confdefs.h. */
94464 _ACEOF
94465 cat confdefs.h >>conftest.$ac_ext
94466 cat >>conftest.$ac_ext <<_ACEOF
94467 /* end confdefs.h. */
94468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94470 #define $ac_func innocuous_$ac_func
94472 /* System header to define __stub macros and hopefully few prototypes,
94473 which can conflict with char $ac_func (); below.
94474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94475 <limits.h> exists even on freestanding compilers. */
94477 #ifdef __STDC__
94478 # include <limits.h>
94479 #else
94480 # include <assert.h>
94481 #endif
94483 #undef $ac_func
94485 /* Override any gcc2 internal prototype to avoid an error. */
94486 #ifdef __cplusplus
94487 extern "C"
94489 #endif
94490 /* We use char because int might match the return type of a gcc2
94491 builtin and then its argument prototype would still apply. */
94492 char $ac_func ();
94493 /* The GNU C library defines this for functions which it implements
94494 to always fail with ENOSYS. Some functions are actually named
94495 something starting with __ and the normal name is an alias. */
94496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94497 choke me
94498 #else
94499 char (*f) () = $ac_func;
94500 #endif
94501 #ifdef __cplusplus
94503 #endif
94506 main ()
94508 return f != $ac_func;
94510 return 0;
94512 _ACEOF
94513 rm -f conftest.$ac_objext conftest$ac_exeext
94514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94515 (eval $ac_link) 2>conftest.er1
94516 ac_status=$?
94517 grep -v '^ *+' conftest.er1 >conftest.err
94518 rm -f conftest.er1
94519 cat conftest.err >&5
94520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94521 (exit $ac_status); } &&
94522 { ac_try='test -z "$ac_c_werror_flag"
94523 || test ! -s conftest.err'
94524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94525 (eval $ac_try) 2>&5
94526 ac_status=$?
94527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94528 (exit $ac_status); }; } &&
94529 { ac_try='test -s conftest$ac_exeext'
94530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94531 (eval $ac_try) 2>&5
94532 ac_status=$?
94533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94534 (exit $ac_status); }; }; then
94535 eval "$as_ac_var=yes"
94536 else
94537 echo "$as_me: failed program was:" >&5
94538 sed 's/^/| /' conftest.$ac_ext >&5
94540 eval "$as_ac_var=no"
94542 rm -f conftest.err conftest.$ac_objext \
94543 conftest$ac_exeext conftest.$ac_ext
94545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94547 if test `eval echo '${'$as_ac_var'}'` = yes; then
94548 cat >>confdefs.h <<_ACEOF
94549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94550 _ACEOF
94553 done
94563 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
94564 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
94565 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
94566 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
94567 echo $ECHO_N "(cached) $ECHO_C" >&6
94568 else
94572 ac_ext=cc
94573 ac_cpp='$CXXCPP $CPPFLAGS'
94574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94578 cat >conftest.$ac_ext <<_ACEOF
94579 /* confdefs.h. */
94580 _ACEOF
94581 cat confdefs.h >>conftest.$ac_ext
94582 cat >>conftest.$ac_ext <<_ACEOF
94583 /* end confdefs.h. */
94584 #include <math.h>
94586 main ()
94588 frexpf(0, 0);
94590 return 0;
94592 _ACEOF
94593 rm -f conftest.$ac_objext
94594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94595 (eval $ac_compile) 2>conftest.er1
94596 ac_status=$?
94597 grep -v '^ *+' conftest.er1 >conftest.err
94598 rm -f conftest.er1
94599 cat conftest.err >&5
94600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94601 (exit $ac_status); } &&
94602 { ac_try='test -z "$ac_cxx_werror_flag"
94603 || test ! -s conftest.err'
94604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94605 (eval $ac_try) 2>&5
94606 ac_status=$?
94607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94608 (exit $ac_status); }; } &&
94609 { ac_try='test -s conftest.$ac_objext'
94610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94611 (eval $ac_try) 2>&5
94612 ac_status=$?
94613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94614 (exit $ac_status); }; }; then
94615 glibcxx_cv_func_frexpf_use=yes
94616 else
94617 echo "$as_me: failed program was:" >&5
94618 sed 's/^/| /' conftest.$ac_ext >&5
94620 glibcxx_cv_func_frexpf_use=no
94622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94623 ac_ext=c
94624 ac_cpp='$CPP $CPPFLAGS'
94625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94634 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94636 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94638 for ac_func in frexpf
94640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94641 echo "$as_me:$LINENO: checking for $ac_func" >&5
94642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94643 if eval "test \"\${$as_ac_var+set}\" = set"; then
94644 echo $ECHO_N "(cached) $ECHO_C" >&6
94645 else
94646 if test x$gcc_no_link = xyes; then
94647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94649 { (exit 1); exit 1; }; }
94651 cat >conftest.$ac_ext <<_ACEOF
94652 /* confdefs.h. */
94653 _ACEOF
94654 cat confdefs.h >>conftest.$ac_ext
94655 cat >>conftest.$ac_ext <<_ACEOF
94656 /* end confdefs.h. */
94657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94659 #define $ac_func innocuous_$ac_func
94661 /* System header to define __stub macros and hopefully few prototypes,
94662 which can conflict with char $ac_func (); below.
94663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94664 <limits.h> exists even on freestanding compilers. */
94666 #ifdef __STDC__
94667 # include <limits.h>
94668 #else
94669 # include <assert.h>
94670 #endif
94672 #undef $ac_func
94674 /* Override any gcc2 internal prototype to avoid an error. */
94675 #ifdef __cplusplus
94676 extern "C"
94678 #endif
94679 /* We use char because int might match the return type of a gcc2
94680 builtin and then its argument prototype would still apply. */
94681 char $ac_func ();
94682 /* The GNU C library defines this for functions which it implements
94683 to always fail with ENOSYS. Some functions are actually named
94684 something starting with __ and the normal name is an alias. */
94685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94686 choke me
94687 #else
94688 char (*f) () = $ac_func;
94689 #endif
94690 #ifdef __cplusplus
94692 #endif
94695 main ()
94697 return f != $ac_func;
94699 return 0;
94701 _ACEOF
94702 rm -f conftest.$ac_objext conftest$ac_exeext
94703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94704 (eval $ac_link) 2>conftest.er1
94705 ac_status=$?
94706 grep -v '^ *+' conftest.er1 >conftest.err
94707 rm -f conftest.er1
94708 cat conftest.err >&5
94709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94710 (exit $ac_status); } &&
94711 { ac_try='test -z "$ac_c_werror_flag"
94712 || test ! -s conftest.err'
94713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94714 (eval $ac_try) 2>&5
94715 ac_status=$?
94716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94717 (exit $ac_status); }; } &&
94718 { ac_try='test -s conftest$ac_exeext'
94719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94720 (eval $ac_try) 2>&5
94721 ac_status=$?
94722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94723 (exit $ac_status); }; }; then
94724 eval "$as_ac_var=yes"
94725 else
94726 echo "$as_me: failed program was:" >&5
94727 sed 's/^/| /' conftest.$ac_ext >&5
94729 eval "$as_ac_var=no"
94731 rm -f conftest.err conftest.$ac_objext \
94732 conftest$ac_exeext conftest.$ac_ext
94734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94736 if test `eval echo '${'$as_ac_var'}'` = yes; then
94737 cat >>confdefs.h <<_ACEOF
94738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94739 _ACEOF
94742 done
94744 else
94746 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94747 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94748 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94749 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94750 echo $ECHO_N "(cached) $ECHO_C" >&6
94751 else
94755 ac_ext=cc
94756 ac_cpp='$CXXCPP $CPPFLAGS'
94757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94761 cat >conftest.$ac_ext <<_ACEOF
94762 /* confdefs.h. */
94763 _ACEOF
94764 cat confdefs.h >>conftest.$ac_ext
94765 cat >>conftest.$ac_ext <<_ACEOF
94766 /* end confdefs.h. */
94767 #include <math.h>
94769 main ()
94771 _frexpf(0, 0);
94773 return 0;
94775 _ACEOF
94776 rm -f conftest.$ac_objext
94777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94778 (eval $ac_compile) 2>conftest.er1
94779 ac_status=$?
94780 grep -v '^ *+' conftest.er1 >conftest.err
94781 rm -f conftest.er1
94782 cat conftest.err >&5
94783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94784 (exit $ac_status); } &&
94785 { ac_try='test -z "$ac_cxx_werror_flag"
94786 || test ! -s conftest.err'
94787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94788 (eval $ac_try) 2>&5
94789 ac_status=$?
94790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791 (exit $ac_status); }; } &&
94792 { ac_try='test -s conftest.$ac_objext'
94793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94794 (eval $ac_try) 2>&5
94795 ac_status=$?
94796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94797 (exit $ac_status); }; }; then
94798 glibcxx_cv_func__frexpf_use=yes
94799 else
94800 echo "$as_me: failed program was:" >&5
94801 sed 's/^/| /' conftest.$ac_ext >&5
94803 glibcxx_cv_func__frexpf_use=no
94805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94806 ac_ext=c
94807 ac_cpp='$CPP $CPPFLAGS'
94808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94817 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94819 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94821 for ac_func in _frexpf
94823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94824 echo "$as_me:$LINENO: checking for $ac_func" >&5
94825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94826 if eval "test \"\${$as_ac_var+set}\" = set"; then
94827 echo $ECHO_N "(cached) $ECHO_C" >&6
94828 else
94829 if test x$gcc_no_link = xyes; then
94830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94832 { (exit 1); exit 1; }; }
94834 cat >conftest.$ac_ext <<_ACEOF
94835 /* confdefs.h. */
94836 _ACEOF
94837 cat confdefs.h >>conftest.$ac_ext
94838 cat >>conftest.$ac_ext <<_ACEOF
94839 /* end confdefs.h. */
94840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94842 #define $ac_func innocuous_$ac_func
94844 /* System header to define __stub macros and hopefully few prototypes,
94845 which can conflict with char $ac_func (); below.
94846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94847 <limits.h> exists even on freestanding compilers. */
94849 #ifdef __STDC__
94850 # include <limits.h>
94851 #else
94852 # include <assert.h>
94853 #endif
94855 #undef $ac_func
94857 /* Override any gcc2 internal prototype to avoid an error. */
94858 #ifdef __cplusplus
94859 extern "C"
94861 #endif
94862 /* We use char because int might match the return type of a gcc2
94863 builtin and then its argument prototype would still apply. */
94864 char $ac_func ();
94865 /* The GNU C library defines this for functions which it implements
94866 to always fail with ENOSYS. Some functions are actually named
94867 something starting with __ and the normal name is an alias. */
94868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94869 choke me
94870 #else
94871 char (*f) () = $ac_func;
94872 #endif
94873 #ifdef __cplusplus
94875 #endif
94878 main ()
94880 return f != $ac_func;
94882 return 0;
94884 _ACEOF
94885 rm -f conftest.$ac_objext conftest$ac_exeext
94886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94887 (eval $ac_link) 2>conftest.er1
94888 ac_status=$?
94889 grep -v '^ *+' conftest.er1 >conftest.err
94890 rm -f conftest.er1
94891 cat conftest.err >&5
94892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94893 (exit $ac_status); } &&
94894 { ac_try='test -z "$ac_c_werror_flag"
94895 || test ! -s conftest.err'
94896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94897 (eval $ac_try) 2>&5
94898 ac_status=$?
94899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94900 (exit $ac_status); }; } &&
94901 { ac_try='test -s conftest$ac_exeext'
94902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94903 (eval $ac_try) 2>&5
94904 ac_status=$?
94905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94906 (exit $ac_status); }; }; then
94907 eval "$as_ac_var=yes"
94908 else
94909 echo "$as_me: failed program was:" >&5
94910 sed 's/^/| /' conftest.$ac_ext >&5
94912 eval "$as_ac_var=no"
94914 rm -f conftest.err conftest.$ac_objext \
94915 conftest$ac_exeext conftest.$ac_ext
94917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94919 if test `eval echo '${'$as_ac_var'}'` = yes; then
94920 cat >>confdefs.h <<_ACEOF
94921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94922 _ACEOF
94925 done
94935 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94936 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94937 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94938 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94939 echo $ECHO_N "(cached) $ECHO_C" >&6
94940 else
94944 ac_ext=cc
94945 ac_cpp='$CXXCPP $CPPFLAGS'
94946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94950 cat >conftest.$ac_ext <<_ACEOF
94951 /* confdefs.h. */
94952 _ACEOF
94953 cat confdefs.h >>conftest.$ac_ext
94954 cat >>conftest.$ac_ext <<_ACEOF
94955 /* end confdefs.h. */
94956 #include <math.h>
94958 main ()
94960 hypotf(0, 0);
94962 return 0;
94964 _ACEOF
94965 rm -f conftest.$ac_objext
94966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94967 (eval $ac_compile) 2>conftest.er1
94968 ac_status=$?
94969 grep -v '^ *+' conftest.er1 >conftest.err
94970 rm -f conftest.er1
94971 cat conftest.err >&5
94972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94973 (exit $ac_status); } &&
94974 { ac_try='test -z "$ac_cxx_werror_flag"
94975 || test ! -s conftest.err'
94976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94977 (eval $ac_try) 2>&5
94978 ac_status=$?
94979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94980 (exit $ac_status); }; } &&
94981 { ac_try='test -s conftest.$ac_objext'
94982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94983 (eval $ac_try) 2>&5
94984 ac_status=$?
94985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94986 (exit $ac_status); }; }; then
94987 glibcxx_cv_func_hypotf_use=yes
94988 else
94989 echo "$as_me: failed program was:" >&5
94990 sed 's/^/| /' conftest.$ac_ext >&5
94992 glibcxx_cv_func_hypotf_use=no
94994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94995 ac_ext=c
94996 ac_cpp='$CPP $CPPFLAGS'
94997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
95006 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
95008 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
95010 for ac_func in hypotf
95012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95013 echo "$as_me:$LINENO: checking for $ac_func" >&5
95014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95015 if eval "test \"\${$as_ac_var+set}\" = set"; then
95016 echo $ECHO_N "(cached) $ECHO_C" >&6
95017 else
95018 if test x$gcc_no_link = xyes; then
95019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95021 { (exit 1); exit 1; }; }
95023 cat >conftest.$ac_ext <<_ACEOF
95024 /* confdefs.h. */
95025 _ACEOF
95026 cat confdefs.h >>conftest.$ac_ext
95027 cat >>conftest.$ac_ext <<_ACEOF
95028 /* end confdefs.h. */
95029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95031 #define $ac_func innocuous_$ac_func
95033 /* System header to define __stub macros and hopefully few prototypes,
95034 which can conflict with char $ac_func (); below.
95035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95036 <limits.h> exists even on freestanding compilers. */
95038 #ifdef __STDC__
95039 # include <limits.h>
95040 #else
95041 # include <assert.h>
95042 #endif
95044 #undef $ac_func
95046 /* Override any gcc2 internal prototype to avoid an error. */
95047 #ifdef __cplusplus
95048 extern "C"
95050 #endif
95051 /* We use char because int might match the return type of a gcc2
95052 builtin and then its argument prototype would still apply. */
95053 char $ac_func ();
95054 /* The GNU C library defines this for functions which it implements
95055 to always fail with ENOSYS. Some functions are actually named
95056 something starting with __ and the normal name is an alias. */
95057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95058 choke me
95059 #else
95060 char (*f) () = $ac_func;
95061 #endif
95062 #ifdef __cplusplus
95064 #endif
95067 main ()
95069 return f != $ac_func;
95071 return 0;
95073 _ACEOF
95074 rm -f conftest.$ac_objext conftest$ac_exeext
95075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95076 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
95097 else
95098 echo "$as_me: failed program was:" >&5
95099 sed 's/^/| /' conftest.$ac_ext >&5
95101 eval "$as_ac_var=no"
95103 rm -f conftest.err conftest.$ac_objext \
95104 conftest$ac_exeext conftest.$ac_ext
95106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95108 if test `eval echo '${'$as_ac_var'}'` = yes; then
95109 cat >>confdefs.h <<_ACEOF
95110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95111 _ACEOF
95114 done
95116 else
95118 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
95119 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
95120 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
95121 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
95122 echo $ECHO_N "(cached) $ECHO_C" >&6
95123 else
95127 ac_ext=cc
95128 ac_cpp='$CXXCPP $CPPFLAGS'
95129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95133 cat >conftest.$ac_ext <<_ACEOF
95134 /* confdefs.h. */
95135 _ACEOF
95136 cat confdefs.h >>conftest.$ac_ext
95137 cat >>conftest.$ac_ext <<_ACEOF
95138 /* end confdefs.h. */
95139 #include <math.h>
95141 main ()
95143 _hypotf(0, 0);
95145 return 0;
95147 _ACEOF
95148 rm -f conftest.$ac_objext
95149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95150 (eval $ac_compile) 2>conftest.er1
95151 ac_status=$?
95152 grep -v '^ *+' conftest.er1 >conftest.err
95153 rm -f conftest.er1
95154 cat conftest.err >&5
95155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95156 (exit $ac_status); } &&
95157 { ac_try='test -z "$ac_cxx_werror_flag"
95158 || test ! -s conftest.err'
95159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95160 (eval $ac_try) 2>&5
95161 ac_status=$?
95162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95163 (exit $ac_status); }; } &&
95164 { ac_try='test -s conftest.$ac_objext'
95165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95166 (eval $ac_try) 2>&5
95167 ac_status=$?
95168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95169 (exit $ac_status); }; }; then
95170 glibcxx_cv_func__hypotf_use=yes
95171 else
95172 echo "$as_me: failed program was:" >&5
95173 sed 's/^/| /' conftest.$ac_ext >&5
95175 glibcxx_cv_func__hypotf_use=no
95177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95178 ac_ext=c
95179 ac_cpp='$CPP $CPPFLAGS'
95180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
95189 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
95191 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
95193 for ac_func in _hypotf
95195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95196 echo "$as_me:$LINENO: checking for $ac_func" >&5
95197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95198 if eval "test \"\${$as_ac_var+set}\" = set"; then
95199 echo $ECHO_N "(cached) $ECHO_C" >&6
95200 else
95201 if test x$gcc_no_link = xyes; then
95202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95204 { (exit 1); exit 1; }; }
95206 cat >conftest.$ac_ext <<_ACEOF
95207 /* confdefs.h. */
95208 _ACEOF
95209 cat confdefs.h >>conftest.$ac_ext
95210 cat >>conftest.$ac_ext <<_ACEOF
95211 /* end confdefs.h. */
95212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95214 #define $ac_func innocuous_$ac_func
95216 /* System header to define __stub macros and hopefully few prototypes,
95217 which can conflict with char $ac_func (); below.
95218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95219 <limits.h> exists even on freestanding compilers. */
95221 #ifdef __STDC__
95222 # include <limits.h>
95223 #else
95224 # include <assert.h>
95225 #endif
95227 #undef $ac_func
95229 /* Override any gcc2 internal prototype to avoid an error. */
95230 #ifdef __cplusplus
95231 extern "C"
95233 #endif
95234 /* We use char because int might match the return type of a gcc2
95235 builtin and then its argument prototype would still apply. */
95236 char $ac_func ();
95237 /* The GNU C library defines this for functions which it implements
95238 to always fail with ENOSYS. Some functions are actually named
95239 something starting with __ and the normal name is an alias. */
95240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95241 choke me
95242 #else
95243 char (*f) () = $ac_func;
95244 #endif
95245 #ifdef __cplusplus
95247 #endif
95250 main ()
95252 return f != $ac_func;
95254 return 0;
95256 _ACEOF
95257 rm -f conftest.$ac_objext conftest$ac_exeext
95258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95259 (eval $ac_link) 2>conftest.er1
95260 ac_status=$?
95261 grep -v '^ *+' conftest.er1 >conftest.err
95262 rm -f conftest.er1
95263 cat conftest.err >&5
95264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95265 (exit $ac_status); } &&
95266 { ac_try='test -z "$ac_c_werror_flag"
95267 || test ! -s conftest.err'
95268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95269 (eval $ac_try) 2>&5
95270 ac_status=$?
95271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95272 (exit $ac_status); }; } &&
95273 { ac_try='test -s conftest$ac_exeext'
95274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95275 (eval $ac_try) 2>&5
95276 ac_status=$?
95277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95278 (exit $ac_status); }; }; then
95279 eval "$as_ac_var=yes"
95280 else
95281 echo "$as_me: failed program was:" >&5
95282 sed 's/^/| /' conftest.$ac_ext >&5
95284 eval "$as_ac_var=no"
95286 rm -f conftest.err conftest.$ac_objext \
95287 conftest$ac_exeext conftest.$ac_ext
95289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95291 if test `eval echo '${'$as_ac_var'}'` = yes; then
95292 cat >>confdefs.h <<_ACEOF
95293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95294 _ACEOF
95297 done
95307 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
95308 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
95309 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
95310 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
95311 echo $ECHO_N "(cached) $ECHO_C" >&6
95312 else
95316 ac_ext=cc
95317 ac_cpp='$CXXCPP $CPPFLAGS'
95318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95322 cat >conftest.$ac_ext <<_ACEOF
95323 /* confdefs.h. */
95324 _ACEOF
95325 cat confdefs.h >>conftest.$ac_ext
95326 cat >>conftest.$ac_ext <<_ACEOF
95327 /* end confdefs.h. */
95328 #include <math.h>
95330 main ()
95332 ldexpf(0, 0);
95334 return 0;
95336 _ACEOF
95337 rm -f conftest.$ac_objext
95338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95339 (eval $ac_compile) 2>conftest.er1
95340 ac_status=$?
95341 grep -v '^ *+' conftest.er1 >conftest.err
95342 rm -f conftest.er1
95343 cat conftest.err >&5
95344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95345 (exit $ac_status); } &&
95346 { ac_try='test -z "$ac_cxx_werror_flag"
95347 || test ! -s conftest.err'
95348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95349 (eval $ac_try) 2>&5
95350 ac_status=$?
95351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95352 (exit $ac_status); }; } &&
95353 { ac_try='test -s conftest.$ac_objext'
95354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95355 (eval $ac_try) 2>&5
95356 ac_status=$?
95357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95358 (exit $ac_status); }; }; then
95359 glibcxx_cv_func_ldexpf_use=yes
95360 else
95361 echo "$as_me: failed program was:" >&5
95362 sed 's/^/| /' conftest.$ac_ext >&5
95364 glibcxx_cv_func_ldexpf_use=no
95366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95367 ac_ext=c
95368 ac_cpp='$CPP $CPPFLAGS'
95369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
95378 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
95380 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
95382 for ac_func in ldexpf
95384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95385 echo "$as_me:$LINENO: checking for $ac_func" >&5
95386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95387 if eval "test \"\${$as_ac_var+set}\" = set"; then
95388 echo $ECHO_N "(cached) $ECHO_C" >&6
95389 else
95390 if test x$gcc_no_link = xyes; then
95391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95393 { (exit 1); exit 1; }; }
95395 cat >conftest.$ac_ext <<_ACEOF
95396 /* confdefs.h. */
95397 _ACEOF
95398 cat confdefs.h >>conftest.$ac_ext
95399 cat >>conftest.$ac_ext <<_ACEOF
95400 /* end confdefs.h. */
95401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95403 #define $ac_func innocuous_$ac_func
95405 /* System header to define __stub macros and hopefully few prototypes,
95406 which can conflict with char $ac_func (); below.
95407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95408 <limits.h> exists even on freestanding compilers. */
95410 #ifdef __STDC__
95411 # include <limits.h>
95412 #else
95413 # include <assert.h>
95414 #endif
95416 #undef $ac_func
95418 /* Override any gcc2 internal prototype to avoid an error. */
95419 #ifdef __cplusplus
95420 extern "C"
95422 #endif
95423 /* We use char because int might match the return type of a gcc2
95424 builtin and then its argument prototype would still apply. */
95425 char $ac_func ();
95426 /* The GNU C library defines this for functions which it implements
95427 to always fail with ENOSYS. Some functions are actually named
95428 something starting with __ and the normal name is an alias. */
95429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95430 choke me
95431 #else
95432 char (*f) () = $ac_func;
95433 #endif
95434 #ifdef __cplusplus
95436 #endif
95439 main ()
95441 return f != $ac_func;
95443 return 0;
95445 _ACEOF
95446 rm -f conftest.$ac_objext conftest$ac_exeext
95447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95448 (eval $ac_link) 2>conftest.er1
95449 ac_status=$?
95450 grep -v '^ *+' conftest.er1 >conftest.err
95451 rm -f conftest.er1
95452 cat conftest.err >&5
95453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95454 (exit $ac_status); } &&
95455 { ac_try='test -z "$ac_c_werror_flag"
95456 || test ! -s conftest.err'
95457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95458 (eval $ac_try) 2>&5
95459 ac_status=$?
95460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95461 (exit $ac_status); }; } &&
95462 { ac_try='test -s conftest$ac_exeext'
95463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95464 (eval $ac_try) 2>&5
95465 ac_status=$?
95466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95467 (exit $ac_status); }; }; then
95468 eval "$as_ac_var=yes"
95469 else
95470 echo "$as_me: failed program was:" >&5
95471 sed 's/^/| /' conftest.$ac_ext >&5
95473 eval "$as_ac_var=no"
95475 rm -f conftest.err conftest.$ac_objext \
95476 conftest$ac_exeext conftest.$ac_ext
95478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95480 if test `eval echo '${'$as_ac_var'}'` = yes; then
95481 cat >>confdefs.h <<_ACEOF
95482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95483 _ACEOF
95486 done
95488 else
95490 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
95491 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
95492 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
95493 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
95494 echo $ECHO_N "(cached) $ECHO_C" >&6
95495 else
95499 ac_ext=cc
95500 ac_cpp='$CXXCPP $CPPFLAGS'
95501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95505 cat >conftest.$ac_ext <<_ACEOF
95506 /* confdefs.h. */
95507 _ACEOF
95508 cat confdefs.h >>conftest.$ac_ext
95509 cat >>conftest.$ac_ext <<_ACEOF
95510 /* end confdefs.h. */
95511 #include <math.h>
95513 main ()
95515 _ldexpf(0, 0);
95517 return 0;
95519 _ACEOF
95520 rm -f conftest.$ac_objext
95521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95522 (eval $ac_compile) 2>conftest.er1
95523 ac_status=$?
95524 grep -v '^ *+' conftest.er1 >conftest.err
95525 rm -f conftest.er1
95526 cat conftest.err >&5
95527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95528 (exit $ac_status); } &&
95529 { ac_try='test -z "$ac_cxx_werror_flag"
95530 || test ! -s conftest.err'
95531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95532 (eval $ac_try) 2>&5
95533 ac_status=$?
95534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95535 (exit $ac_status); }; } &&
95536 { ac_try='test -s conftest.$ac_objext'
95537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95538 (eval $ac_try) 2>&5
95539 ac_status=$?
95540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95541 (exit $ac_status); }; }; then
95542 glibcxx_cv_func__ldexpf_use=yes
95543 else
95544 echo "$as_me: failed program was:" >&5
95545 sed 's/^/| /' conftest.$ac_ext >&5
95547 glibcxx_cv_func__ldexpf_use=no
95549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95550 ac_ext=c
95551 ac_cpp='$CPP $CPPFLAGS'
95552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
95561 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
95563 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
95565 for ac_func in _ldexpf
95567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95568 echo "$as_me:$LINENO: checking for $ac_func" >&5
95569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95570 if eval "test \"\${$as_ac_var+set}\" = set"; then
95571 echo $ECHO_N "(cached) $ECHO_C" >&6
95572 else
95573 if test x$gcc_no_link = xyes; then
95574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95576 { (exit 1); exit 1; }; }
95578 cat >conftest.$ac_ext <<_ACEOF
95579 /* confdefs.h. */
95580 _ACEOF
95581 cat confdefs.h >>conftest.$ac_ext
95582 cat >>conftest.$ac_ext <<_ACEOF
95583 /* end confdefs.h. */
95584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95586 #define $ac_func innocuous_$ac_func
95588 /* System header to define __stub macros and hopefully few prototypes,
95589 which can conflict with char $ac_func (); below.
95590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95591 <limits.h> exists even on freestanding compilers. */
95593 #ifdef __STDC__
95594 # include <limits.h>
95595 #else
95596 # include <assert.h>
95597 #endif
95599 #undef $ac_func
95601 /* Override any gcc2 internal prototype to avoid an error. */
95602 #ifdef __cplusplus
95603 extern "C"
95605 #endif
95606 /* We use char because int might match the return type of a gcc2
95607 builtin and then its argument prototype would still apply. */
95608 char $ac_func ();
95609 /* The GNU C library defines this for functions which it implements
95610 to always fail with ENOSYS. Some functions are actually named
95611 something starting with __ and the normal name is an alias. */
95612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95613 choke me
95614 #else
95615 char (*f) () = $ac_func;
95616 #endif
95617 #ifdef __cplusplus
95619 #endif
95622 main ()
95624 return f != $ac_func;
95626 return 0;
95628 _ACEOF
95629 rm -f conftest.$ac_objext conftest$ac_exeext
95630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95631 (eval $ac_link) 2>conftest.er1
95632 ac_status=$?
95633 grep -v '^ *+' conftest.er1 >conftest.err
95634 rm -f conftest.er1
95635 cat conftest.err >&5
95636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95637 (exit $ac_status); } &&
95638 { ac_try='test -z "$ac_c_werror_flag"
95639 || test ! -s conftest.err'
95640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95641 (eval $ac_try) 2>&5
95642 ac_status=$?
95643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95644 (exit $ac_status); }; } &&
95645 { ac_try='test -s conftest$ac_exeext'
95646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95647 (eval $ac_try) 2>&5
95648 ac_status=$?
95649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95650 (exit $ac_status); }; }; then
95651 eval "$as_ac_var=yes"
95652 else
95653 echo "$as_me: failed program was:" >&5
95654 sed 's/^/| /' conftest.$ac_ext >&5
95656 eval "$as_ac_var=no"
95658 rm -f conftest.err conftest.$ac_objext \
95659 conftest$ac_exeext conftest.$ac_ext
95661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95663 if test `eval echo '${'$as_ac_var'}'` = yes; then
95664 cat >>confdefs.h <<_ACEOF
95665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95666 _ACEOF
95669 done
95679 echo "$as_me:$LINENO: checking for logf declaration" >&5
95680 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95681 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95682 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95683 echo $ECHO_N "(cached) $ECHO_C" >&6
95684 else
95688 ac_ext=cc
95689 ac_cpp='$CXXCPP $CPPFLAGS'
95690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95694 cat >conftest.$ac_ext <<_ACEOF
95695 /* confdefs.h. */
95696 _ACEOF
95697 cat confdefs.h >>conftest.$ac_ext
95698 cat >>conftest.$ac_ext <<_ACEOF
95699 /* end confdefs.h. */
95700 #include <math.h>
95701 #ifdef HAVE_IEEEFP_H
95702 #include <ieeefp.h>
95703 #endif
95706 main ()
95708 logf(0);
95710 return 0;
95712 _ACEOF
95713 rm -f conftest.$ac_objext
95714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95715 (eval $ac_compile) 2>conftest.er1
95716 ac_status=$?
95717 grep -v '^ *+' conftest.er1 >conftest.err
95718 rm -f conftest.er1
95719 cat conftest.err >&5
95720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95721 (exit $ac_status); } &&
95722 { ac_try='test -z "$ac_cxx_werror_flag"
95723 || test ! -s conftest.err'
95724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95725 (eval $ac_try) 2>&5
95726 ac_status=$?
95727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95728 (exit $ac_status); }; } &&
95729 { ac_try='test -s conftest.$ac_objext'
95730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95731 (eval $ac_try) 2>&5
95732 ac_status=$?
95733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95734 (exit $ac_status); }; }; then
95735 glibcxx_cv_func_logf_use=yes
95736 else
95737 echo "$as_me: failed program was:" >&5
95738 sed 's/^/| /' conftest.$ac_ext >&5
95740 glibcxx_cv_func_logf_use=no
95742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95743 ac_ext=c
95744 ac_cpp='$CPP $CPPFLAGS'
95745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95754 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95756 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95758 for ac_func in logf
95760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95761 echo "$as_me:$LINENO: checking for $ac_func" >&5
95762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95763 if eval "test \"\${$as_ac_var+set}\" = set"; then
95764 echo $ECHO_N "(cached) $ECHO_C" >&6
95765 else
95766 if test x$gcc_no_link = xyes; then
95767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95769 { (exit 1); exit 1; }; }
95771 cat >conftest.$ac_ext <<_ACEOF
95772 /* confdefs.h. */
95773 _ACEOF
95774 cat confdefs.h >>conftest.$ac_ext
95775 cat >>conftest.$ac_ext <<_ACEOF
95776 /* end confdefs.h. */
95777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95779 #define $ac_func innocuous_$ac_func
95781 /* System header to define __stub macros and hopefully few prototypes,
95782 which can conflict with char $ac_func (); below.
95783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95784 <limits.h> exists even on freestanding compilers. */
95786 #ifdef __STDC__
95787 # include <limits.h>
95788 #else
95789 # include <assert.h>
95790 #endif
95792 #undef $ac_func
95794 /* Override any gcc2 internal prototype to avoid an error. */
95795 #ifdef __cplusplus
95796 extern "C"
95798 #endif
95799 /* We use char because int might match the return type of a gcc2
95800 builtin and then its argument prototype would still apply. */
95801 char $ac_func ();
95802 /* The GNU C library defines this for functions which it implements
95803 to always fail with ENOSYS. Some functions are actually named
95804 something starting with __ and the normal name is an alias. */
95805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95806 choke me
95807 #else
95808 char (*f) () = $ac_func;
95809 #endif
95810 #ifdef __cplusplus
95812 #endif
95815 main ()
95817 return f != $ac_func;
95819 return 0;
95821 _ACEOF
95822 rm -f conftest.$ac_objext conftest$ac_exeext
95823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95824 (eval $ac_link) 2>conftest.er1
95825 ac_status=$?
95826 grep -v '^ *+' conftest.er1 >conftest.err
95827 rm -f conftest.er1
95828 cat conftest.err >&5
95829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95830 (exit $ac_status); } &&
95831 { ac_try='test -z "$ac_c_werror_flag"
95832 || test ! -s conftest.err'
95833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95834 (eval $ac_try) 2>&5
95835 ac_status=$?
95836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95837 (exit $ac_status); }; } &&
95838 { ac_try='test -s conftest$ac_exeext'
95839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95840 (eval $ac_try) 2>&5
95841 ac_status=$?
95842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95843 (exit $ac_status); }; }; then
95844 eval "$as_ac_var=yes"
95845 else
95846 echo "$as_me: failed program was:" >&5
95847 sed 's/^/| /' conftest.$ac_ext >&5
95849 eval "$as_ac_var=no"
95851 rm -f conftest.err conftest.$ac_objext \
95852 conftest$ac_exeext conftest.$ac_ext
95854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95856 if test `eval echo '${'$as_ac_var'}'` = yes; then
95857 cat >>confdefs.h <<_ACEOF
95858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95859 _ACEOF
95862 done
95864 else
95866 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95867 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95868 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95869 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95870 echo $ECHO_N "(cached) $ECHO_C" >&6
95871 else
95875 ac_ext=cc
95876 ac_cpp='$CXXCPP $CPPFLAGS'
95877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95881 cat >conftest.$ac_ext <<_ACEOF
95882 /* confdefs.h. */
95883 _ACEOF
95884 cat confdefs.h >>conftest.$ac_ext
95885 cat >>conftest.$ac_ext <<_ACEOF
95886 /* end confdefs.h. */
95887 #include <math.h>
95888 #ifdef HAVE_IEEEFP_H
95889 #include <ieeefp.h>
95890 #endif
95893 main ()
95895 _logf(0);
95897 return 0;
95899 _ACEOF
95900 rm -f conftest.$ac_objext
95901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95902 (eval $ac_compile) 2>conftest.er1
95903 ac_status=$?
95904 grep -v '^ *+' conftest.er1 >conftest.err
95905 rm -f conftest.er1
95906 cat conftest.err >&5
95907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95908 (exit $ac_status); } &&
95909 { ac_try='test -z "$ac_cxx_werror_flag"
95910 || test ! -s conftest.err'
95911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95912 (eval $ac_try) 2>&5
95913 ac_status=$?
95914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95915 (exit $ac_status); }; } &&
95916 { ac_try='test -s conftest.$ac_objext'
95917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95918 (eval $ac_try) 2>&5
95919 ac_status=$?
95920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95921 (exit $ac_status); }; }; then
95922 glibcxx_cv_func__logf_use=yes
95923 else
95924 echo "$as_me: failed program was:" >&5
95925 sed 's/^/| /' conftest.$ac_ext >&5
95927 glibcxx_cv_func__logf_use=no
95929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95930 ac_ext=c
95931 ac_cpp='$CPP $CPPFLAGS'
95932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95941 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95943 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95945 for ac_func in _logf
95947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95948 echo "$as_me:$LINENO: checking for $ac_func" >&5
95949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95950 if eval "test \"\${$as_ac_var+set}\" = set"; then
95951 echo $ECHO_N "(cached) $ECHO_C" >&6
95952 else
95953 if test x$gcc_no_link = xyes; then
95954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95956 { (exit 1); exit 1; }; }
95958 cat >conftest.$ac_ext <<_ACEOF
95959 /* confdefs.h. */
95960 _ACEOF
95961 cat confdefs.h >>conftest.$ac_ext
95962 cat >>conftest.$ac_ext <<_ACEOF
95963 /* end confdefs.h. */
95964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95966 #define $ac_func innocuous_$ac_func
95968 /* System header to define __stub macros and hopefully few prototypes,
95969 which can conflict with char $ac_func (); below.
95970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95971 <limits.h> exists even on freestanding compilers. */
95973 #ifdef __STDC__
95974 # include <limits.h>
95975 #else
95976 # include <assert.h>
95977 #endif
95979 #undef $ac_func
95981 /* Override any gcc2 internal prototype to avoid an error. */
95982 #ifdef __cplusplus
95983 extern "C"
95985 #endif
95986 /* We use char because int might match the return type of a gcc2
95987 builtin and then its argument prototype would still apply. */
95988 char $ac_func ();
95989 /* The GNU C library defines this for functions which it implements
95990 to always fail with ENOSYS. Some functions are actually named
95991 something starting with __ and the normal name is an alias. */
95992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95993 choke me
95994 #else
95995 char (*f) () = $ac_func;
95996 #endif
95997 #ifdef __cplusplus
95999 #endif
96002 main ()
96004 return f != $ac_func;
96006 return 0;
96008 _ACEOF
96009 rm -f conftest.$ac_objext conftest$ac_exeext
96010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96011 (eval $ac_link) 2>conftest.er1
96012 ac_status=$?
96013 grep -v '^ *+' conftest.er1 >conftest.err
96014 rm -f conftest.er1
96015 cat conftest.err >&5
96016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96017 (exit $ac_status); } &&
96018 { ac_try='test -z "$ac_c_werror_flag"
96019 || test ! -s conftest.err'
96020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96021 (eval $ac_try) 2>&5
96022 ac_status=$?
96023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96024 (exit $ac_status); }; } &&
96025 { ac_try='test -s conftest$ac_exeext'
96026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96027 (eval $ac_try) 2>&5
96028 ac_status=$?
96029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96030 (exit $ac_status); }; }; then
96031 eval "$as_ac_var=yes"
96032 else
96033 echo "$as_me: failed program was:" >&5
96034 sed 's/^/| /' conftest.$ac_ext >&5
96036 eval "$as_ac_var=no"
96038 rm -f conftest.err conftest.$ac_objext \
96039 conftest$ac_exeext conftest.$ac_ext
96041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96043 if test `eval echo '${'$as_ac_var'}'` = yes; then
96044 cat >>confdefs.h <<_ACEOF
96045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96046 _ACEOF
96049 done
96059 echo "$as_me:$LINENO: checking for log10f declaration" >&5
96060 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
96061 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
96062 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
96063 echo $ECHO_N "(cached) $ECHO_C" >&6
96064 else
96068 ac_ext=cc
96069 ac_cpp='$CXXCPP $CPPFLAGS'
96070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96074 cat >conftest.$ac_ext <<_ACEOF
96075 /* confdefs.h. */
96076 _ACEOF
96077 cat confdefs.h >>conftest.$ac_ext
96078 cat >>conftest.$ac_ext <<_ACEOF
96079 /* end confdefs.h. */
96080 #include <math.h>
96081 #ifdef HAVE_IEEEFP_H
96082 #include <ieeefp.h>
96083 #endif
96086 main ()
96088 log10f(0);
96090 return 0;
96092 _ACEOF
96093 rm -f conftest.$ac_objext
96094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96095 (eval $ac_compile) 2>conftest.er1
96096 ac_status=$?
96097 grep -v '^ *+' conftest.er1 >conftest.err
96098 rm -f conftest.er1
96099 cat conftest.err >&5
96100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96101 (exit $ac_status); } &&
96102 { ac_try='test -z "$ac_cxx_werror_flag"
96103 || test ! -s conftest.err'
96104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96105 (eval $ac_try) 2>&5
96106 ac_status=$?
96107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96108 (exit $ac_status); }; } &&
96109 { ac_try='test -s conftest.$ac_objext'
96110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96111 (eval $ac_try) 2>&5
96112 ac_status=$?
96113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96114 (exit $ac_status); }; }; then
96115 glibcxx_cv_func_log10f_use=yes
96116 else
96117 echo "$as_me: failed program was:" >&5
96118 sed 's/^/| /' conftest.$ac_ext >&5
96120 glibcxx_cv_func_log10f_use=no
96122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96123 ac_ext=c
96124 ac_cpp='$CPP $CPPFLAGS'
96125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
96134 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
96136 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
96138 for ac_func in log10f
96140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96141 echo "$as_me:$LINENO: checking for $ac_func" >&5
96142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96143 if eval "test \"\${$as_ac_var+set}\" = set"; then
96144 echo $ECHO_N "(cached) $ECHO_C" >&6
96145 else
96146 if test x$gcc_no_link = xyes; then
96147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96149 { (exit 1); exit 1; }; }
96151 cat >conftest.$ac_ext <<_ACEOF
96152 /* confdefs.h. */
96153 _ACEOF
96154 cat confdefs.h >>conftest.$ac_ext
96155 cat >>conftest.$ac_ext <<_ACEOF
96156 /* end confdefs.h. */
96157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96159 #define $ac_func innocuous_$ac_func
96161 /* System header to define __stub macros and hopefully few prototypes,
96162 which can conflict with char $ac_func (); below.
96163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96164 <limits.h> exists even on freestanding compilers. */
96166 #ifdef __STDC__
96167 # include <limits.h>
96168 #else
96169 # include <assert.h>
96170 #endif
96172 #undef $ac_func
96174 /* Override any gcc2 internal prototype to avoid an error. */
96175 #ifdef __cplusplus
96176 extern "C"
96178 #endif
96179 /* We use char because int might match the return type of a gcc2
96180 builtin and then its argument prototype would still apply. */
96181 char $ac_func ();
96182 /* The GNU C library defines this for functions which it implements
96183 to always fail with ENOSYS. Some functions are actually named
96184 something starting with __ and the normal name is an alias. */
96185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96186 choke me
96187 #else
96188 char (*f) () = $ac_func;
96189 #endif
96190 #ifdef __cplusplus
96192 #endif
96195 main ()
96197 return f != $ac_func;
96199 return 0;
96201 _ACEOF
96202 rm -f conftest.$ac_objext conftest$ac_exeext
96203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96204 (eval $ac_link) 2>conftest.er1
96205 ac_status=$?
96206 grep -v '^ *+' conftest.er1 >conftest.err
96207 rm -f conftest.er1
96208 cat conftest.err >&5
96209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96210 (exit $ac_status); } &&
96211 { ac_try='test -z "$ac_c_werror_flag"
96212 || test ! -s conftest.err'
96213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96214 (eval $ac_try) 2>&5
96215 ac_status=$?
96216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96217 (exit $ac_status); }; } &&
96218 { ac_try='test -s conftest$ac_exeext'
96219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96220 (eval $ac_try) 2>&5
96221 ac_status=$?
96222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96223 (exit $ac_status); }; }; then
96224 eval "$as_ac_var=yes"
96225 else
96226 echo "$as_me: failed program was:" >&5
96227 sed 's/^/| /' conftest.$ac_ext >&5
96229 eval "$as_ac_var=no"
96231 rm -f conftest.err conftest.$ac_objext \
96232 conftest$ac_exeext conftest.$ac_ext
96234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96236 if test `eval echo '${'$as_ac_var'}'` = yes; then
96237 cat >>confdefs.h <<_ACEOF
96238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96239 _ACEOF
96242 done
96244 else
96246 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
96247 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
96248 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
96249 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
96250 echo $ECHO_N "(cached) $ECHO_C" >&6
96251 else
96255 ac_ext=cc
96256 ac_cpp='$CXXCPP $CPPFLAGS'
96257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96261 cat >conftest.$ac_ext <<_ACEOF
96262 /* confdefs.h. */
96263 _ACEOF
96264 cat confdefs.h >>conftest.$ac_ext
96265 cat >>conftest.$ac_ext <<_ACEOF
96266 /* end confdefs.h. */
96267 #include <math.h>
96268 #ifdef HAVE_IEEEFP_H
96269 #include <ieeefp.h>
96270 #endif
96273 main ()
96275 _log10f(0);
96277 return 0;
96279 _ACEOF
96280 rm -f conftest.$ac_objext
96281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96282 (eval $ac_compile) 2>conftest.er1
96283 ac_status=$?
96284 grep -v '^ *+' conftest.er1 >conftest.err
96285 rm -f conftest.er1
96286 cat conftest.err >&5
96287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96288 (exit $ac_status); } &&
96289 { ac_try='test -z "$ac_cxx_werror_flag"
96290 || test ! -s conftest.err'
96291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96292 (eval $ac_try) 2>&5
96293 ac_status=$?
96294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295 (exit $ac_status); }; } &&
96296 { ac_try='test -s conftest.$ac_objext'
96297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96298 (eval $ac_try) 2>&5
96299 ac_status=$?
96300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96301 (exit $ac_status); }; }; then
96302 glibcxx_cv_func__log10f_use=yes
96303 else
96304 echo "$as_me: failed program was:" >&5
96305 sed 's/^/| /' conftest.$ac_ext >&5
96307 glibcxx_cv_func__log10f_use=no
96309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96310 ac_ext=c
96311 ac_cpp='$CPP $CPPFLAGS'
96312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
96321 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
96323 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
96325 for ac_func in _log10f
96327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96328 echo "$as_me:$LINENO: checking for $ac_func" >&5
96329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96330 if eval "test \"\${$as_ac_var+set}\" = set"; then
96331 echo $ECHO_N "(cached) $ECHO_C" >&6
96332 else
96333 if test x$gcc_no_link = xyes; then
96334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96336 { (exit 1); exit 1; }; }
96338 cat >conftest.$ac_ext <<_ACEOF
96339 /* confdefs.h. */
96340 _ACEOF
96341 cat confdefs.h >>conftest.$ac_ext
96342 cat >>conftest.$ac_ext <<_ACEOF
96343 /* end confdefs.h. */
96344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96346 #define $ac_func innocuous_$ac_func
96348 /* System header to define __stub macros and hopefully few prototypes,
96349 which can conflict with char $ac_func (); below.
96350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96351 <limits.h> exists even on freestanding compilers. */
96353 #ifdef __STDC__
96354 # include <limits.h>
96355 #else
96356 # include <assert.h>
96357 #endif
96359 #undef $ac_func
96361 /* Override any gcc2 internal prototype to avoid an error. */
96362 #ifdef __cplusplus
96363 extern "C"
96365 #endif
96366 /* We use char because int might match the return type of a gcc2
96367 builtin and then its argument prototype would still apply. */
96368 char $ac_func ();
96369 /* The GNU C library defines this for functions which it implements
96370 to always fail with ENOSYS. Some functions are actually named
96371 something starting with __ and the normal name is an alias. */
96372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96373 choke me
96374 #else
96375 char (*f) () = $ac_func;
96376 #endif
96377 #ifdef __cplusplus
96379 #endif
96382 main ()
96384 return f != $ac_func;
96386 return 0;
96388 _ACEOF
96389 rm -f conftest.$ac_objext conftest$ac_exeext
96390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96391 (eval $ac_link) 2>conftest.er1
96392 ac_status=$?
96393 grep -v '^ *+' conftest.er1 >conftest.err
96394 rm -f conftest.er1
96395 cat conftest.err >&5
96396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96397 (exit $ac_status); } &&
96398 { ac_try='test -z "$ac_c_werror_flag"
96399 || test ! -s conftest.err'
96400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96401 (eval $ac_try) 2>&5
96402 ac_status=$?
96403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96404 (exit $ac_status); }; } &&
96405 { ac_try='test -s conftest$ac_exeext'
96406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96407 (eval $ac_try) 2>&5
96408 ac_status=$?
96409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96410 (exit $ac_status); }; }; then
96411 eval "$as_ac_var=yes"
96412 else
96413 echo "$as_me: failed program was:" >&5
96414 sed 's/^/| /' conftest.$ac_ext >&5
96416 eval "$as_ac_var=no"
96418 rm -f conftest.err conftest.$ac_objext \
96419 conftest$ac_exeext conftest.$ac_ext
96421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96423 if test `eval echo '${'$as_ac_var'}'` = yes; then
96424 cat >>confdefs.h <<_ACEOF
96425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96426 _ACEOF
96429 done
96439 echo "$as_me:$LINENO: checking for modff declaration" >&5
96440 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
96441 if test x${glibcxx_cv_func_modff_use+set} != xset; then
96442 if test "${glibcxx_cv_func_modff_use+set}" = set; then
96443 echo $ECHO_N "(cached) $ECHO_C" >&6
96444 else
96448 ac_ext=cc
96449 ac_cpp='$CXXCPP $CPPFLAGS'
96450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96454 cat >conftest.$ac_ext <<_ACEOF
96455 /* confdefs.h. */
96456 _ACEOF
96457 cat confdefs.h >>conftest.$ac_ext
96458 cat >>conftest.$ac_ext <<_ACEOF
96459 /* end confdefs.h. */
96460 #include <math.h>
96462 main ()
96464 modff(0, 0);
96466 return 0;
96468 _ACEOF
96469 rm -f conftest.$ac_objext
96470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96471 (eval $ac_compile) 2>conftest.er1
96472 ac_status=$?
96473 grep -v '^ *+' conftest.er1 >conftest.err
96474 rm -f conftest.er1
96475 cat conftest.err >&5
96476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96477 (exit $ac_status); } &&
96478 { ac_try='test -z "$ac_cxx_werror_flag"
96479 || test ! -s conftest.err'
96480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96481 (eval $ac_try) 2>&5
96482 ac_status=$?
96483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96484 (exit $ac_status); }; } &&
96485 { ac_try='test -s conftest.$ac_objext'
96486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96487 (eval $ac_try) 2>&5
96488 ac_status=$?
96489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96490 (exit $ac_status); }; }; then
96491 glibcxx_cv_func_modff_use=yes
96492 else
96493 echo "$as_me: failed program was:" >&5
96494 sed 's/^/| /' conftest.$ac_ext >&5
96496 glibcxx_cv_func_modff_use=no
96498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96499 ac_ext=c
96500 ac_cpp='$CPP $CPPFLAGS'
96501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
96510 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
96512 if test x$glibcxx_cv_func_modff_use = x"yes"; then
96514 for ac_func in modff
96516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96517 echo "$as_me:$LINENO: checking for $ac_func" >&5
96518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96519 if eval "test \"\${$as_ac_var+set}\" = set"; then
96520 echo $ECHO_N "(cached) $ECHO_C" >&6
96521 else
96522 if test x$gcc_no_link = xyes; then
96523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96525 { (exit 1); exit 1; }; }
96527 cat >conftest.$ac_ext <<_ACEOF
96528 /* confdefs.h. */
96529 _ACEOF
96530 cat confdefs.h >>conftest.$ac_ext
96531 cat >>conftest.$ac_ext <<_ACEOF
96532 /* end confdefs.h. */
96533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96535 #define $ac_func innocuous_$ac_func
96537 /* System header to define __stub macros and hopefully few prototypes,
96538 which can conflict with char $ac_func (); below.
96539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96540 <limits.h> exists even on freestanding compilers. */
96542 #ifdef __STDC__
96543 # include <limits.h>
96544 #else
96545 # include <assert.h>
96546 #endif
96548 #undef $ac_func
96550 /* Override any gcc2 internal prototype to avoid an error. */
96551 #ifdef __cplusplus
96552 extern "C"
96554 #endif
96555 /* We use char because int might match the return type of a gcc2
96556 builtin and then its argument prototype would still apply. */
96557 char $ac_func ();
96558 /* The GNU C library defines this for functions which it implements
96559 to always fail with ENOSYS. Some functions are actually named
96560 something starting with __ and the normal name is an alias. */
96561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96562 choke me
96563 #else
96564 char (*f) () = $ac_func;
96565 #endif
96566 #ifdef __cplusplus
96568 #endif
96571 main ()
96573 return f != $ac_func;
96575 return 0;
96577 _ACEOF
96578 rm -f conftest.$ac_objext conftest$ac_exeext
96579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96580 (eval $ac_link) 2>conftest.er1
96581 ac_status=$?
96582 grep -v '^ *+' conftest.er1 >conftest.err
96583 rm -f conftest.er1
96584 cat conftest.err >&5
96585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96586 (exit $ac_status); } &&
96587 { ac_try='test -z "$ac_c_werror_flag"
96588 || test ! -s conftest.err'
96589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96590 (eval $ac_try) 2>&5
96591 ac_status=$?
96592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96593 (exit $ac_status); }; } &&
96594 { ac_try='test -s conftest$ac_exeext'
96595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96596 (eval $ac_try) 2>&5
96597 ac_status=$?
96598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96599 (exit $ac_status); }; }; then
96600 eval "$as_ac_var=yes"
96601 else
96602 echo "$as_me: failed program was:" >&5
96603 sed 's/^/| /' conftest.$ac_ext >&5
96605 eval "$as_ac_var=no"
96607 rm -f conftest.err conftest.$ac_objext \
96608 conftest$ac_exeext conftest.$ac_ext
96610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96612 if test `eval echo '${'$as_ac_var'}'` = yes; then
96613 cat >>confdefs.h <<_ACEOF
96614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96615 _ACEOF
96618 done
96620 else
96622 echo "$as_me:$LINENO: checking for _modff declaration" >&5
96623 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96624 if test x${glibcxx_cv_func__modff_use+set} != xset; then
96625 if test "${glibcxx_cv_func__modff_use+set}" = set; then
96626 echo $ECHO_N "(cached) $ECHO_C" >&6
96627 else
96631 ac_ext=cc
96632 ac_cpp='$CXXCPP $CPPFLAGS'
96633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96637 cat >conftest.$ac_ext <<_ACEOF
96638 /* confdefs.h. */
96639 _ACEOF
96640 cat confdefs.h >>conftest.$ac_ext
96641 cat >>conftest.$ac_ext <<_ACEOF
96642 /* end confdefs.h. */
96643 #include <math.h>
96645 main ()
96647 _modff(0, 0);
96649 return 0;
96651 _ACEOF
96652 rm -f conftest.$ac_objext
96653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96654 (eval $ac_compile) 2>conftest.er1
96655 ac_status=$?
96656 grep -v '^ *+' conftest.er1 >conftest.err
96657 rm -f conftest.er1
96658 cat conftest.err >&5
96659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96660 (exit $ac_status); } &&
96661 { ac_try='test -z "$ac_cxx_werror_flag"
96662 || test ! -s conftest.err'
96663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96664 (eval $ac_try) 2>&5
96665 ac_status=$?
96666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96667 (exit $ac_status); }; } &&
96668 { ac_try='test -s conftest.$ac_objext'
96669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96670 (eval $ac_try) 2>&5
96671 ac_status=$?
96672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96673 (exit $ac_status); }; }; then
96674 glibcxx_cv_func__modff_use=yes
96675 else
96676 echo "$as_me: failed program was:" >&5
96677 sed 's/^/| /' conftest.$ac_ext >&5
96679 glibcxx_cv_func__modff_use=no
96681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96682 ac_ext=c
96683 ac_cpp='$CPP $CPPFLAGS'
96684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96693 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96695 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96697 for ac_func in _modff
96699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96700 echo "$as_me:$LINENO: checking for $ac_func" >&5
96701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96702 if eval "test \"\${$as_ac_var+set}\" = set"; then
96703 echo $ECHO_N "(cached) $ECHO_C" >&6
96704 else
96705 if test x$gcc_no_link = xyes; then
96706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96708 { (exit 1); exit 1; }; }
96710 cat >conftest.$ac_ext <<_ACEOF
96711 /* confdefs.h. */
96712 _ACEOF
96713 cat confdefs.h >>conftest.$ac_ext
96714 cat >>conftest.$ac_ext <<_ACEOF
96715 /* end confdefs.h. */
96716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96718 #define $ac_func innocuous_$ac_func
96720 /* System header to define __stub macros and hopefully few prototypes,
96721 which can conflict with char $ac_func (); below.
96722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96723 <limits.h> exists even on freestanding compilers. */
96725 #ifdef __STDC__
96726 # include <limits.h>
96727 #else
96728 # include <assert.h>
96729 #endif
96731 #undef $ac_func
96733 /* Override any gcc2 internal prototype to avoid an error. */
96734 #ifdef __cplusplus
96735 extern "C"
96737 #endif
96738 /* We use char because int might match the return type of a gcc2
96739 builtin and then its argument prototype would still apply. */
96740 char $ac_func ();
96741 /* The GNU C library defines this for functions which it implements
96742 to always fail with ENOSYS. Some functions are actually named
96743 something starting with __ and the normal name is an alias. */
96744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96745 choke me
96746 #else
96747 char (*f) () = $ac_func;
96748 #endif
96749 #ifdef __cplusplus
96751 #endif
96754 main ()
96756 return f != $ac_func;
96758 return 0;
96760 _ACEOF
96761 rm -f conftest.$ac_objext conftest$ac_exeext
96762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96763 (eval $ac_link) 2>conftest.er1
96764 ac_status=$?
96765 grep -v '^ *+' conftest.er1 >conftest.err
96766 rm -f conftest.er1
96767 cat conftest.err >&5
96768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96769 (exit $ac_status); } &&
96770 { ac_try='test -z "$ac_c_werror_flag"
96771 || test ! -s conftest.err'
96772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96773 (eval $ac_try) 2>&5
96774 ac_status=$?
96775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96776 (exit $ac_status); }; } &&
96777 { ac_try='test -s conftest$ac_exeext'
96778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96779 (eval $ac_try) 2>&5
96780 ac_status=$?
96781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96782 (exit $ac_status); }; }; then
96783 eval "$as_ac_var=yes"
96784 else
96785 echo "$as_me: failed program was:" >&5
96786 sed 's/^/| /' conftest.$ac_ext >&5
96788 eval "$as_ac_var=no"
96790 rm -f conftest.err conftest.$ac_objext \
96791 conftest$ac_exeext conftest.$ac_ext
96793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96795 if test `eval echo '${'$as_ac_var'}'` = yes; then
96796 cat >>confdefs.h <<_ACEOF
96797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96798 _ACEOF
96801 done
96811 echo "$as_me:$LINENO: checking for modf declaration" >&5
96812 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96813 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96814 if test "${glibcxx_cv_func_modf_use+set}" = set; then
96815 echo $ECHO_N "(cached) $ECHO_C" >&6
96816 else
96820 ac_ext=cc
96821 ac_cpp='$CXXCPP $CPPFLAGS'
96822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96826 cat >conftest.$ac_ext <<_ACEOF
96827 /* confdefs.h. */
96828 _ACEOF
96829 cat confdefs.h >>conftest.$ac_ext
96830 cat >>conftest.$ac_ext <<_ACEOF
96831 /* end confdefs.h. */
96832 #include <math.h>
96834 main ()
96836 modf(0, 0);
96838 return 0;
96840 _ACEOF
96841 rm -f conftest.$ac_objext
96842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96843 (eval $ac_compile) 2>conftest.er1
96844 ac_status=$?
96845 grep -v '^ *+' conftest.er1 >conftest.err
96846 rm -f conftest.er1
96847 cat conftest.err >&5
96848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96849 (exit $ac_status); } &&
96850 { ac_try='test -z "$ac_cxx_werror_flag"
96851 || test ! -s conftest.err'
96852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96853 (eval $ac_try) 2>&5
96854 ac_status=$?
96855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96856 (exit $ac_status); }; } &&
96857 { ac_try='test -s conftest.$ac_objext'
96858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96859 (eval $ac_try) 2>&5
96860 ac_status=$?
96861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96862 (exit $ac_status); }; }; then
96863 glibcxx_cv_func_modf_use=yes
96864 else
96865 echo "$as_me: failed program was:" >&5
96866 sed 's/^/| /' conftest.$ac_ext >&5
96868 glibcxx_cv_func_modf_use=no
96870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96871 ac_ext=c
96872 ac_cpp='$CPP $CPPFLAGS'
96873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96882 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96884 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96886 for ac_func in modf
96888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96889 echo "$as_me:$LINENO: checking for $ac_func" >&5
96890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96891 if eval "test \"\${$as_ac_var+set}\" = set"; then
96892 echo $ECHO_N "(cached) $ECHO_C" >&6
96893 else
96894 if test x$gcc_no_link = xyes; then
96895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96897 { (exit 1); exit 1; }; }
96899 cat >conftest.$ac_ext <<_ACEOF
96900 /* confdefs.h. */
96901 _ACEOF
96902 cat confdefs.h >>conftest.$ac_ext
96903 cat >>conftest.$ac_ext <<_ACEOF
96904 /* end confdefs.h. */
96905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96907 #define $ac_func innocuous_$ac_func
96909 /* System header to define __stub macros and hopefully few prototypes,
96910 which can conflict with char $ac_func (); below.
96911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96912 <limits.h> exists even on freestanding compilers. */
96914 #ifdef __STDC__
96915 # include <limits.h>
96916 #else
96917 # include <assert.h>
96918 #endif
96920 #undef $ac_func
96922 /* Override any gcc2 internal prototype to avoid an error. */
96923 #ifdef __cplusplus
96924 extern "C"
96926 #endif
96927 /* We use char because int might match the return type of a gcc2
96928 builtin and then its argument prototype would still apply. */
96929 char $ac_func ();
96930 /* The GNU C library defines this for functions which it implements
96931 to always fail with ENOSYS. Some functions are actually named
96932 something starting with __ and the normal name is an alias. */
96933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96934 choke me
96935 #else
96936 char (*f) () = $ac_func;
96937 #endif
96938 #ifdef __cplusplus
96940 #endif
96943 main ()
96945 return f != $ac_func;
96947 return 0;
96949 _ACEOF
96950 rm -f conftest.$ac_objext conftest$ac_exeext
96951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96952 (eval $ac_link) 2>conftest.er1
96953 ac_status=$?
96954 grep -v '^ *+' conftest.er1 >conftest.err
96955 rm -f conftest.er1
96956 cat conftest.err >&5
96957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96958 (exit $ac_status); } &&
96959 { ac_try='test -z "$ac_c_werror_flag"
96960 || test ! -s conftest.err'
96961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96962 (eval $ac_try) 2>&5
96963 ac_status=$?
96964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96965 (exit $ac_status); }; } &&
96966 { ac_try='test -s conftest$ac_exeext'
96967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96968 (eval $ac_try) 2>&5
96969 ac_status=$?
96970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96971 (exit $ac_status); }; }; then
96972 eval "$as_ac_var=yes"
96973 else
96974 echo "$as_me: failed program was:" >&5
96975 sed 's/^/| /' conftest.$ac_ext >&5
96977 eval "$as_ac_var=no"
96979 rm -f conftest.err conftest.$ac_objext \
96980 conftest$ac_exeext conftest.$ac_ext
96982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96984 if test `eval echo '${'$as_ac_var'}'` = yes; then
96985 cat >>confdefs.h <<_ACEOF
96986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96987 _ACEOF
96990 done
96992 else
96994 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96995 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96996 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96997 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96998 echo $ECHO_N "(cached) $ECHO_C" >&6
96999 else
97003 ac_ext=cc
97004 ac_cpp='$CXXCPP $CPPFLAGS'
97005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97009 cat >conftest.$ac_ext <<_ACEOF
97010 /* confdefs.h. */
97011 _ACEOF
97012 cat confdefs.h >>conftest.$ac_ext
97013 cat >>conftest.$ac_ext <<_ACEOF
97014 /* end confdefs.h. */
97015 #include <math.h>
97017 main ()
97019 _modf(0, 0);
97021 return 0;
97023 _ACEOF
97024 rm -f conftest.$ac_objext
97025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97026 (eval $ac_compile) 2>conftest.er1
97027 ac_status=$?
97028 grep -v '^ *+' conftest.er1 >conftest.err
97029 rm -f conftest.er1
97030 cat conftest.err >&5
97031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97032 (exit $ac_status); } &&
97033 { ac_try='test -z "$ac_cxx_werror_flag"
97034 || test ! -s conftest.err'
97035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97036 (eval $ac_try) 2>&5
97037 ac_status=$?
97038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97039 (exit $ac_status); }; } &&
97040 { ac_try='test -s conftest.$ac_objext'
97041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97042 (eval $ac_try) 2>&5
97043 ac_status=$?
97044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97045 (exit $ac_status); }; }; then
97046 glibcxx_cv_func__modf_use=yes
97047 else
97048 echo "$as_me: failed program was:" >&5
97049 sed 's/^/| /' conftest.$ac_ext >&5
97051 glibcxx_cv_func__modf_use=no
97053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97054 ac_ext=c
97055 ac_cpp='$CPP $CPPFLAGS'
97056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
97065 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
97067 if test x$glibcxx_cv_func__modf_use = x"yes"; then
97069 for ac_func in _modf
97071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97072 echo "$as_me:$LINENO: checking for $ac_func" >&5
97073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97074 if eval "test \"\${$as_ac_var+set}\" = set"; then
97075 echo $ECHO_N "(cached) $ECHO_C" >&6
97076 else
97077 if test x$gcc_no_link = xyes; then
97078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97080 { (exit 1); exit 1; }; }
97082 cat >conftest.$ac_ext <<_ACEOF
97083 /* confdefs.h. */
97084 _ACEOF
97085 cat confdefs.h >>conftest.$ac_ext
97086 cat >>conftest.$ac_ext <<_ACEOF
97087 /* end confdefs.h. */
97088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97090 #define $ac_func innocuous_$ac_func
97092 /* System header to define __stub macros and hopefully few prototypes,
97093 which can conflict with char $ac_func (); below.
97094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97095 <limits.h> exists even on freestanding compilers. */
97097 #ifdef __STDC__
97098 # include <limits.h>
97099 #else
97100 # include <assert.h>
97101 #endif
97103 #undef $ac_func
97105 /* Override any gcc2 internal prototype to avoid an error. */
97106 #ifdef __cplusplus
97107 extern "C"
97109 #endif
97110 /* We use char because int might match the return type of a gcc2
97111 builtin and then its argument prototype would still apply. */
97112 char $ac_func ();
97113 /* The GNU C library defines this for functions which it implements
97114 to always fail with ENOSYS. Some functions are actually named
97115 something starting with __ and the normal name is an alias. */
97116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97117 choke me
97118 #else
97119 char (*f) () = $ac_func;
97120 #endif
97121 #ifdef __cplusplus
97123 #endif
97126 main ()
97128 return f != $ac_func;
97130 return 0;
97132 _ACEOF
97133 rm -f conftest.$ac_objext conftest$ac_exeext
97134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97135 (eval $ac_link) 2>conftest.er1
97136 ac_status=$?
97137 grep -v '^ *+' conftest.er1 >conftest.err
97138 rm -f conftest.er1
97139 cat conftest.err >&5
97140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97141 (exit $ac_status); } &&
97142 { ac_try='test -z "$ac_c_werror_flag"
97143 || test ! -s conftest.err'
97144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97145 (eval $ac_try) 2>&5
97146 ac_status=$?
97147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97148 (exit $ac_status); }; } &&
97149 { ac_try='test -s conftest$ac_exeext'
97150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97151 (eval $ac_try) 2>&5
97152 ac_status=$?
97153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97154 (exit $ac_status); }; }; then
97155 eval "$as_ac_var=yes"
97156 else
97157 echo "$as_me: failed program was:" >&5
97158 sed 's/^/| /' conftest.$ac_ext >&5
97160 eval "$as_ac_var=no"
97162 rm -f conftest.err conftest.$ac_objext \
97163 conftest$ac_exeext conftest.$ac_ext
97165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97167 if test `eval echo '${'$as_ac_var'}'` = yes; then
97168 cat >>confdefs.h <<_ACEOF
97169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97170 _ACEOF
97173 done
97183 echo "$as_me:$LINENO: checking for powf declaration" >&5
97184 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
97185 if test x${glibcxx_cv_func_powf_use+set} != xset; then
97186 if test "${glibcxx_cv_func_powf_use+set}" = set; then
97187 echo $ECHO_N "(cached) $ECHO_C" >&6
97188 else
97192 ac_ext=cc
97193 ac_cpp='$CXXCPP $CPPFLAGS'
97194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97198 cat >conftest.$ac_ext <<_ACEOF
97199 /* confdefs.h. */
97200 _ACEOF
97201 cat confdefs.h >>conftest.$ac_ext
97202 cat >>conftest.$ac_ext <<_ACEOF
97203 /* end confdefs.h. */
97204 #include <math.h>
97206 main ()
97208 powf(0, 0);
97210 return 0;
97212 _ACEOF
97213 rm -f conftest.$ac_objext
97214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97215 (eval $ac_compile) 2>conftest.er1
97216 ac_status=$?
97217 grep -v '^ *+' conftest.er1 >conftest.err
97218 rm -f conftest.er1
97219 cat conftest.err >&5
97220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97221 (exit $ac_status); } &&
97222 { ac_try='test -z "$ac_cxx_werror_flag"
97223 || test ! -s conftest.err'
97224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97225 (eval $ac_try) 2>&5
97226 ac_status=$?
97227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97228 (exit $ac_status); }; } &&
97229 { ac_try='test -s conftest.$ac_objext'
97230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97231 (eval $ac_try) 2>&5
97232 ac_status=$?
97233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97234 (exit $ac_status); }; }; then
97235 glibcxx_cv_func_powf_use=yes
97236 else
97237 echo "$as_me: failed program was:" >&5
97238 sed 's/^/| /' conftest.$ac_ext >&5
97240 glibcxx_cv_func_powf_use=no
97242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97243 ac_ext=c
97244 ac_cpp='$CPP $CPPFLAGS'
97245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
97254 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
97256 if test x$glibcxx_cv_func_powf_use = x"yes"; then
97258 for ac_func in powf
97260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97261 echo "$as_me:$LINENO: checking for $ac_func" >&5
97262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97263 if eval "test \"\${$as_ac_var+set}\" = set"; then
97264 echo $ECHO_N "(cached) $ECHO_C" >&6
97265 else
97266 if test x$gcc_no_link = xyes; then
97267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97269 { (exit 1); exit 1; }; }
97271 cat >conftest.$ac_ext <<_ACEOF
97272 /* confdefs.h. */
97273 _ACEOF
97274 cat confdefs.h >>conftest.$ac_ext
97275 cat >>conftest.$ac_ext <<_ACEOF
97276 /* end confdefs.h. */
97277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97279 #define $ac_func innocuous_$ac_func
97281 /* System header to define __stub macros and hopefully few prototypes,
97282 which can conflict with char $ac_func (); below.
97283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97284 <limits.h> exists even on freestanding compilers. */
97286 #ifdef __STDC__
97287 # include <limits.h>
97288 #else
97289 # include <assert.h>
97290 #endif
97292 #undef $ac_func
97294 /* Override any gcc2 internal prototype to avoid an error. */
97295 #ifdef __cplusplus
97296 extern "C"
97298 #endif
97299 /* We use char because int might match the return type of a gcc2
97300 builtin and then its argument prototype would still apply. */
97301 char $ac_func ();
97302 /* The GNU C library defines this for functions which it implements
97303 to always fail with ENOSYS. Some functions are actually named
97304 something starting with __ and the normal name is an alias. */
97305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97306 choke me
97307 #else
97308 char (*f) () = $ac_func;
97309 #endif
97310 #ifdef __cplusplus
97312 #endif
97315 main ()
97317 return f != $ac_func;
97319 return 0;
97321 _ACEOF
97322 rm -f conftest.$ac_objext conftest$ac_exeext
97323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97324 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
97345 else
97346 echo "$as_me: failed program was:" >&5
97347 sed 's/^/| /' conftest.$ac_ext >&5
97349 eval "$as_ac_var=no"
97351 rm -f conftest.err conftest.$ac_objext \
97352 conftest$ac_exeext conftest.$ac_ext
97354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97356 if test `eval echo '${'$as_ac_var'}'` = yes; then
97357 cat >>confdefs.h <<_ACEOF
97358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97359 _ACEOF
97362 done
97364 else
97366 echo "$as_me:$LINENO: checking for _powf declaration" >&5
97367 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
97368 if test x${glibcxx_cv_func__powf_use+set} != xset; then
97369 if test "${glibcxx_cv_func__powf_use+set}" = set; then
97370 echo $ECHO_N "(cached) $ECHO_C" >&6
97371 else
97375 ac_ext=cc
97376 ac_cpp='$CXXCPP $CPPFLAGS'
97377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97381 cat >conftest.$ac_ext <<_ACEOF
97382 /* confdefs.h. */
97383 _ACEOF
97384 cat confdefs.h >>conftest.$ac_ext
97385 cat >>conftest.$ac_ext <<_ACEOF
97386 /* end confdefs.h. */
97387 #include <math.h>
97389 main ()
97391 _powf(0, 0);
97393 return 0;
97395 _ACEOF
97396 rm -f conftest.$ac_objext
97397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97398 (eval $ac_compile) 2>conftest.er1
97399 ac_status=$?
97400 grep -v '^ *+' conftest.er1 >conftest.err
97401 rm -f conftest.er1
97402 cat conftest.err >&5
97403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97404 (exit $ac_status); } &&
97405 { ac_try='test -z "$ac_cxx_werror_flag"
97406 || test ! -s conftest.err'
97407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97408 (eval $ac_try) 2>&5
97409 ac_status=$?
97410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97411 (exit $ac_status); }; } &&
97412 { ac_try='test -s conftest.$ac_objext'
97413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97414 (eval $ac_try) 2>&5
97415 ac_status=$?
97416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97417 (exit $ac_status); }; }; then
97418 glibcxx_cv_func__powf_use=yes
97419 else
97420 echo "$as_me: failed program was:" >&5
97421 sed 's/^/| /' conftest.$ac_ext >&5
97423 glibcxx_cv_func__powf_use=no
97425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97426 ac_ext=c
97427 ac_cpp='$CPP $CPPFLAGS'
97428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
97437 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
97439 if test x$glibcxx_cv_func__powf_use = x"yes"; then
97441 for ac_func in _powf
97443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97444 echo "$as_me:$LINENO: checking for $ac_func" >&5
97445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97446 if eval "test \"\${$as_ac_var+set}\" = set"; then
97447 echo $ECHO_N "(cached) $ECHO_C" >&6
97448 else
97449 if test x$gcc_no_link = xyes; then
97450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97452 { (exit 1); exit 1; }; }
97454 cat >conftest.$ac_ext <<_ACEOF
97455 /* confdefs.h. */
97456 _ACEOF
97457 cat confdefs.h >>conftest.$ac_ext
97458 cat >>conftest.$ac_ext <<_ACEOF
97459 /* end confdefs.h. */
97460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97462 #define $ac_func innocuous_$ac_func
97464 /* System header to define __stub macros and hopefully few prototypes,
97465 which can conflict with char $ac_func (); below.
97466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97467 <limits.h> exists even on freestanding compilers. */
97469 #ifdef __STDC__
97470 # include <limits.h>
97471 #else
97472 # include <assert.h>
97473 #endif
97475 #undef $ac_func
97477 /* Override any gcc2 internal prototype to avoid an error. */
97478 #ifdef __cplusplus
97479 extern "C"
97481 #endif
97482 /* We use char because int might match the return type of a gcc2
97483 builtin and then its argument prototype would still apply. */
97484 char $ac_func ();
97485 /* The GNU C library defines this for functions which it implements
97486 to always fail with ENOSYS. Some functions are actually named
97487 something starting with __ and the normal name is an alias. */
97488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97489 choke me
97490 #else
97491 char (*f) () = $ac_func;
97492 #endif
97493 #ifdef __cplusplus
97495 #endif
97498 main ()
97500 return f != $ac_func;
97502 return 0;
97504 _ACEOF
97505 rm -f conftest.$ac_objext conftest$ac_exeext
97506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97507 (eval $ac_link) 2>conftest.er1
97508 ac_status=$?
97509 grep -v '^ *+' conftest.er1 >conftest.err
97510 rm -f conftest.er1
97511 cat conftest.err >&5
97512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97513 (exit $ac_status); } &&
97514 { ac_try='test -z "$ac_c_werror_flag"
97515 || test ! -s conftest.err'
97516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97517 (eval $ac_try) 2>&5
97518 ac_status=$?
97519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97520 (exit $ac_status); }; } &&
97521 { ac_try='test -s conftest$ac_exeext'
97522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97523 (eval $ac_try) 2>&5
97524 ac_status=$?
97525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97526 (exit $ac_status); }; }; then
97527 eval "$as_ac_var=yes"
97528 else
97529 echo "$as_me: failed program was:" >&5
97530 sed 's/^/| /' conftest.$ac_ext >&5
97532 eval "$as_ac_var=no"
97534 rm -f conftest.err conftest.$ac_objext \
97535 conftest$ac_exeext conftest.$ac_ext
97537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97539 if test `eval echo '${'$as_ac_var'}'` = yes; then
97540 cat >>confdefs.h <<_ACEOF
97541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97542 _ACEOF
97545 done
97555 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
97556 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
97557 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
97558 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
97559 echo $ECHO_N "(cached) $ECHO_C" >&6
97560 else
97564 ac_ext=cc
97565 ac_cpp='$CXXCPP $CPPFLAGS'
97566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97570 cat >conftest.$ac_ext <<_ACEOF
97571 /* confdefs.h. */
97572 _ACEOF
97573 cat confdefs.h >>conftest.$ac_ext
97574 cat >>conftest.$ac_ext <<_ACEOF
97575 /* end confdefs.h. */
97576 #include <math.h>
97577 #ifdef HAVE_IEEEFP_H
97578 #include <ieeefp.h>
97579 #endif
97582 main ()
97584 sqrtf(0);
97586 return 0;
97588 _ACEOF
97589 rm -f conftest.$ac_objext
97590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97591 (eval $ac_compile) 2>conftest.er1
97592 ac_status=$?
97593 grep -v '^ *+' conftest.er1 >conftest.err
97594 rm -f conftest.er1
97595 cat conftest.err >&5
97596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97597 (exit $ac_status); } &&
97598 { ac_try='test -z "$ac_cxx_werror_flag"
97599 || test ! -s conftest.err'
97600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97601 (eval $ac_try) 2>&5
97602 ac_status=$?
97603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97604 (exit $ac_status); }; } &&
97605 { ac_try='test -s conftest.$ac_objext'
97606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97607 (eval $ac_try) 2>&5
97608 ac_status=$?
97609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97610 (exit $ac_status); }; }; then
97611 glibcxx_cv_func_sqrtf_use=yes
97612 else
97613 echo "$as_me: failed program was:" >&5
97614 sed 's/^/| /' conftest.$ac_ext >&5
97616 glibcxx_cv_func_sqrtf_use=no
97618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97619 ac_ext=c
97620 ac_cpp='$CPP $CPPFLAGS'
97621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97630 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97632 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97634 for ac_func in sqrtf
97636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97637 echo "$as_me:$LINENO: checking for $ac_func" >&5
97638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97639 if eval "test \"\${$as_ac_var+set}\" = set"; then
97640 echo $ECHO_N "(cached) $ECHO_C" >&6
97641 else
97642 if test x$gcc_no_link = xyes; then
97643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97645 { (exit 1); exit 1; }; }
97647 cat >conftest.$ac_ext <<_ACEOF
97648 /* confdefs.h. */
97649 _ACEOF
97650 cat confdefs.h >>conftest.$ac_ext
97651 cat >>conftest.$ac_ext <<_ACEOF
97652 /* end confdefs.h. */
97653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97655 #define $ac_func innocuous_$ac_func
97657 /* System header to define __stub macros and hopefully few prototypes,
97658 which can conflict with char $ac_func (); below.
97659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97660 <limits.h> exists even on freestanding compilers. */
97662 #ifdef __STDC__
97663 # include <limits.h>
97664 #else
97665 # include <assert.h>
97666 #endif
97668 #undef $ac_func
97670 /* Override any gcc2 internal prototype to avoid an error. */
97671 #ifdef __cplusplus
97672 extern "C"
97674 #endif
97675 /* We use char because int might match the return type of a gcc2
97676 builtin and then its argument prototype would still apply. */
97677 char $ac_func ();
97678 /* The GNU C library defines this for functions which it implements
97679 to always fail with ENOSYS. Some functions are actually named
97680 something starting with __ and the normal name is an alias. */
97681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97682 choke me
97683 #else
97684 char (*f) () = $ac_func;
97685 #endif
97686 #ifdef __cplusplus
97688 #endif
97691 main ()
97693 return f != $ac_func;
97695 return 0;
97697 _ACEOF
97698 rm -f conftest.$ac_objext conftest$ac_exeext
97699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97700 (eval $ac_link) 2>conftest.er1
97701 ac_status=$?
97702 grep -v '^ *+' conftest.er1 >conftest.err
97703 rm -f conftest.er1
97704 cat conftest.err >&5
97705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97706 (exit $ac_status); } &&
97707 { ac_try='test -z "$ac_c_werror_flag"
97708 || test ! -s conftest.err'
97709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97710 (eval $ac_try) 2>&5
97711 ac_status=$?
97712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97713 (exit $ac_status); }; } &&
97714 { ac_try='test -s conftest$ac_exeext'
97715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97716 (eval $ac_try) 2>&5
97717 ac_status=$?
97718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97719 (exit $ac_status); }; }; then
97720 eval "$as_ac_var=yes"
97721 else
97722 echo "$as_me: failed program was:" >&5
97723 sed 's/^/| /' conftest.$ac_ext >&5
97725 eval "$as_ac_var=no"
97727 rm -f conftest.err conftest.$ac_objext \
97728 conftest$ac_exeext conftest.$ac_ext
97730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97732 if test `eval echo '${'$as_ac_var'}'` = yes; then
97733 cat >>confdefs.h <<_ACEOF
97734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97735 _ACEOF
97738 done
97740 else
97742 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97743 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97744 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97745 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97746 echo $ECHO_N "(cached) $ECHO_C" >&6
97747 else
97751 ac_ext=cc
97752 ac_cpp='$CXXCPP $CPPFLAGS'
97753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97757 cat >conftest.$ac_ext <<_ACEOF
97758 /* confdefs.h. */
97759 _ACEOF
97760 cat confdefs.h >>conftest.$ac_ext
97761 cat >>conftest.$ac_ext <<_ACEOF
97762 /* end confdefs.h. */
97763 #include <math.h>
97764 #ifdef HAVE_IEEEFP_H
97765 #include <ieeefp.h>
97766 #endif
97769 main ()
97771 _sqrtf(0);
97773 return 0;
97775 _ACEOF
97776 rm -f conftest.$ac_objext
97777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97778 (eval $ac_compile) 2>conftest.er1
97779 ac_status=$?
97780 grep -v '^ *+' conftest.er1 >conftest.err
97781 rm -f conftest.er1
97782 cat conftest.err >&5
97783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97784 (exit $ac_status); } &&
97785 { ac_try='test -z "$ac_cxx_werror_flag"
97786 || test ! -s conftest.err'
97787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97788 (eval $ac_try) 2>&5
97789 ac_status=$?
97790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97791 (exit $ac_status); }; } &&
97792 { ac_try='test -s conftest.$ac_objext'
97793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97794 (eval $ac_try) 2>&5
97795 ac_status=$?
97796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97797 (exit $ac_status); }; }; then
97798 glibcxx_cv_func__sqrtf_use=yes
97799 else
97800 echo "$as_me: failed program was:" >&5
97801 sed 's/^/| /' conftest.$ac_ext >&5
97803 glibcxx_cv_func__sqrtf_use=no
97805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97806 ac_ext=c
97807 ac_cpp='$CPP $CPPFLAGS'
97808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97817 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97819 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97821 for ac_func in _sqrtf
97823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97824 echo "$as_me:$LINENO: checking for $ac_func" >&5
97825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97826 if eval "test \"\${$as_ac_var+set}\" = set"; then
97827 echo $ECHO_N "(cached) $ECHO_C" >&6
97828 else
97829 if test x$gcc_no_link = xyes; then
97830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97832 { (exit 1); exit 1; }; }
97834 cat >conftest.$ac_ext <<_ACEOF
97835 /* confdefs.h. */
97836 _ACEOF
97837 cat confdefs.h >>conftest.$ac_ext
97838 cat >>conftest.$ac_ext <<_ACEOF
97839 /* end confdefs.h. */
97840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97842 #define $ac_func innocuous_$ac_func
97844 /* System header to define __stub macros and hopefully few prototypes,
97845 which can conflict with char $ac_func (); below.
97846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97847 <limits.h> exists even on freestanding compilers. */
97849 #ifdef __STDC__
97850 # include <limits.h>
97851 #else
97852 # include <assert.h>
97853 #endif
97855 #undef $ac_func
97857 /* Override any gcc2 internal prototype to avoid an error. */
97858 #ifdef __cplusplus
97859 extern "C"
97861 #endif
97862 /* We use char because int might match the return type of a gcc2
97863 builtin and then its argument prototype would still apply. */
97864 char $ac_func ();
97865 /* The GNU C library defines this for functions which it implements
97866 to always fail with ENOSYS. Some functions are actually named
97867 something starting with __ and the normal name is an alias. */
97868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97869 choke me
97870 #else
97871 char (*f) () = $ac_func;
97872 #endif
97873 #ifdef __cplusplus
97875 #endif
97878 main ()
97880 return f != $ac_func;
97882 return 0;
97884 _ACEOF
97885 rm -f conftest.$ac_objext conftest$ac_exeext
97886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97887 (eval $ac_link) 2>conftest.er1
97888 ac_status=$?
97889 grep -v '^ *+' conftest.er1 >conftest.err
97890 rm -f conftest.er1
97891 cat conftest.err >&5
97892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97893 (exit $ac_status); } &&
97894 { ac_try='test -z "$ac_c_werror_flag"
97895 || test ! -s conftest.err'
97896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97897 (eval $ac_try) 2>&5
97898 ac_status=$?
97899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97900 (exit $ac_status); }; } &&
97901 { ac_try='test -s conftest$ac_exeext'
97902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97903 (eval $ac_try) 2>&5
97904 ac_status=$?
97905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97906 (exit $ac_status); }; }; then
97907 eval "$as_ac_var=yes"
97908 else
97909 echo "$as_me: failed program was:" >&5
97910 sed 's/^/| /' conftest.$ac_ext >&5
97912 eval "$as_ac_var=no"
97914 rm -f conftest.err conftest.$ac_objext \
97915 conftest$ac_exeext conftest.$ac_ext
97917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97919 if test `eval echo '${'$as_ac_var'}'` = yes; then
97920 cat >>confdefs.h <<_ACEOF
97921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97922 _ACEOF
97925 done
97935 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97936 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97937 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97938 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97939 echo $ECHO_N "(cached) $ECHO_C" >&6
97940 else
97944 ac_ext=cc
97945 ac_cpp='$CXXCPP $CPPFLAGS'
97946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97950 cat >conftest.$ac_ext <<_ACEOF
97951 /* confdefs.h. */
97952 _ACEOF
97953 cat confdefs.h >>conftest.$ac_ext
97954 cat >>conftest.$ac_ext <<_ACEOF
97955 /* end confdefs.h. */
97956 #include <math.h>
97958 main ()
97960 sincosf(0, 0, 0);
97962 return 0;
97964 _ACEOF
97965 rm -f conftest.$ac_objext
97966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97967 (eval $ac_compile) 2>conftest.er1
97968 ac_status=$?
97969 grep -v '^ *+' conftest.er1 >conftest.err
97970 rm -f conftest.er1
97971 cat conftest.err >&5
97972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97973 (exit $ac_status); } &&
97974 { ac_try='test -z "$ac_cxx_werror_flag"
97975 || test ! -s conftest.err'
97976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97977 (eval $ac_try) 2>&5
97978 ac_status=$?
97979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97980 (exit $ac_status); }; } &&
97981 { ac_try='test -s conftest.$ac_objext'
97982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97983 (eval $ac_try) 2>&5
97984 ac_status=$?
97985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97986 (exit $ac_status); }; }; then
97987 glibcxx_cv_func_sincosf_use=yes
97988 else
97989 echo "$as_me: failed program was:" >&5
97990 sed 's/^/| /' conftest.$ac_ext >&5
97992 glibcxx_cv_func_sincosf_use=no
97994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97995 ac_ext=c
97996 ac_cpp='$CPP $CPPFLAGS'
97997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
98006 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
98008 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
98010 for ac_func in sincosf
98012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98013 echo "$as_me:$LINENO: checking for $ac_func" >&5
98014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98015 if eval "test \"\${$as_ac_var+set}\" = set"; then
98016 echo $ECHO_N "(cached) $ECHO_C" >&6
98017 else
98018 if test x$gcc_no_link = xyes; then
98019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98021 { (exit 1); exit 1; }; }
98023 cat >conftest.$ac_ext <<_ACEOF
98024 /* confdefs.h. */
98025 _ACEOF
98026 cat confdefs.h >>conftest.$ac_ext
98027 cat >>conftest.$ac_ext <<_ACEOF
98028 /* end confdefs.h. */
98029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98031 #define $ac_func innocuous_$ac_func
98033 /* System header to define __stub macros and hopefully few prototypes,
98034 which can conflict with char $ac_func (); below.
98035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98036 <limits.h> exists even on freestanding compilers. */
98038 #ifdef __STDC__
98039 # include <limits.h>
98040 #else
98041 # include <assert.h>
98042 #endif
98044 #undef $ac_func
98046 /* Override any gcc2 internal prototype to avoid an error. */
98047 #ifdef __cplusplus
98048 extern "C"
98050 #endif
98051 /* We use char because int might match the return type of a gcc2
98052 builtin and then its argument prototype would still apply. */
98053 char $ac_func ();
98054 /* The GNU C library defines this for functions which it implements
98055 to always fail with ENOSYS. Some functions are actually named
98056 something starting with __ and the normal name is an alias. */
98057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98058 choke me
98059 #else
98060 char (*f) () = $ac_func;
98061 #endif
98062 #ifdef __cplusplus
98064 #endif
98067 main ()
98069 return f != $ac_func;
98071 return 0;
98073 _ACEOF
98074 rm -f conftest.$ac_objext conftest$ac_exeext
98075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98076 (eval $ac_link) 2>conftest.er1
98077 ac_status=$?
98078 grep -v '^ *+' conftest.er1 >conftest.err
98079 rm -f conftest.er1
98080 cat conftest.err >&5
98081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98082 (exit $ac_status); } &&
98083 { ac_try='test -z "$ac_c_werror_flag"
98084 || test ! -s conftest.err'
98085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98086 (eval $ac_try) 2>&5
98087 ac_status=$?
98088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98089 (exit $ac_status); }; } &&
98090 { ac_try='test -s conftest$ac_exeext'
98091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98092 (eval $ac_try) 2>&5
98093 ac_status=$?
98094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98095 (exit $ac_status); }; }; then
98096 eval "$as_ac_var=yes"
98097 else
98098 echo "$as_me: failed program was:" >&5
98099 sed 's/^/| /' conftest.$ac_ext >&5
98101 eval "$as_ac_var=no"
98103 rm -f conftest.err conftest.$ac_objext \
98104 conftest$ac_exeext conftest.$ac_ext
98106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98108 if test `eval echo '${'$as_ac_var'}'` = yes; then
98109 cat >>confdefs.h <<_ACEOF
98110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98111 _ACEOF
98114 done
98116 else
98118 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
98119 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
98120 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
98121 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
98122 echo $ECHO_N "(cached) $ECHO_C" >&6
98123 else
98127 ac_ext=cc
98128 ac_cpp='$CXXCPP $CPPFLAGS'
98129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98133 cat >conftest.$ac_ext <<_ACEOF
98134 /* confdefs.h. */
98135 _ACEOF
98136 cat confdefs.h >>conftest.$ac_ext
98137 cat >>conftest.$ac_ext <<_ACEOF
98138 /* end confdefs.h. */
98139 #include <math.h>
98141 main ()
98143 _sincosf(0, 0, 0);
98145 return 0;
98147 _ACEOF
98148 rm -f conftest.$ac_objext
98149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98150 (eval $ac_compile) 2>conftest.er1
98151 ac_status=$?
98152 grep -v '^ *+' conftest.er1 >conftest.err
98153 rm -f conftest.er1
98154 cat conftest.err >&5
98155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98156 (exit $ac_status); } &&
98157 { ac_try='test -z "$ac_cxx_werror_flag"
98158 || test ! -s conftest.err'
98159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98160 (eval $ac_try) 2>&5
98161 ac_status=$?
98162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163 (exit $ac_status); }; } &&
98164 { ac_try='test -s conftest.$ac_objext'
98165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98166 (eval $ac_try) 2>&5
98167 ac_status=$?
98168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98169 (exit $ac_status); }; }; then
98170 glibcxx_cv_func__sincosf_use=yes
98171 else
98172 echo "$as_me: failed program was:" >&5
98173 sed 's/^/| /' conftest.$ac_ext >&5
98175 glibcxx_cv_func__sincosf_use=no
98177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98178 ac_ext=c
98179 ac_cpp='$CPP $CPPFLAGS'
98180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
98189 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
98191 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
98193 for ac_func in _sincosf
98195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98196 echo "$as_me:$LINENO: checking for $ac_func" >&5
98197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98198 if eval "test \"\${$as_ac_var+set}\" = set"; then
98199 echo $ECHO_N "(cached) $ECHO_C" >&6
98200 else
98201 if test x$gcc_no_link = xyes; then
98202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98204 { (exit 1); exit 1; }; }
98206 cat >conftest.$ac_ext <<_ACEOF
98207 /* confdefs.h. */
98208 _ACEOF
98209 cat confdefs.h >>conftest.$ac_ext
98210 cat >>conftest.$ac_ext <<_ACEOF
98211 /* end confdefs.h. */
98212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98214 #define $ac_func innocuous_$ac_func
98216 /* System header to define __stub macros and hopefully few prototypes,
98217 which can conflict with char $ac_func (); below.
98218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98219 <limits.h> exists even on freestanding compilers. */
98221 #ifdef __STDC__
98222 # include <limits.h>
98223 #else
98224 # include <assert.h>
98225 #endif
98227 #undef $ac_func
98229 /* Override any gcc2 internal prototype to avoid an error. */
98230 #ifdef __cplusplus
98231 extern "C"
98233 #endif
98234 /* We use char because int might match the return type of a gcc2
98235 builtin and then its argument prototype would still apply. */
98236 char $ac_func ();
98237 /* The GNU C library defines this for functions which it implements
98238 to always fail with ENOSYS. Some functions are actually named
98239 something starting with __ and the normal name is an alias. */
98240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98241 choke me
98242 #else
98243 char (*f) () = $ac_func;
98244 #endif
98245 #ifdef __cplusplus
98247 #endif
98250 main ()
98252 return f != $ac_func;
98254 return 0;
98256 _ACEOF
98257 rm -f conftest.$ac_objext conftest$ac_exeext
98258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98259 (eval $ac_link) 2>conftest.er1
98260 ac_status=$?
98261 grep -v '^ *+' conftest.er1 >conftest.err
98262 rm -f conftest.er1
98263 cat conftest.err >&5
98264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98265 (exit $ac_status); } &&
98266 { ac_try='test -z "$ac_c_werror_flag"
98267 || test ! -s conftest.err'
98268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98269 (eval $ac_try) 2>&5
98270 ac_status=$?
98271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98272 (exit $ac_status); }; } &&
98273 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
98279 eval "$as_ac_var=yes"
98280 else
98281 echo "$as_me: failed program was:" >&5
98282 sed 's/^/| /' conftest.$ac_ext >&5
98284 eval "$as_ac_var=no"
98286 rm -f conftest.err conftest.$ac_objext \
98287 conftest$ac_exeext conftest.$ac_ext
98289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98291 if test `eval echo '${'$as_ac_var'}'` = yes; then
98292 cat >>confdefs.h <<_ACEOF
98293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98294 _ACEOF
98297 done
98307 echo "$as_me:$LINENO: checking for finitef declaration" >&5
98308 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
98309 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
98310 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
98311 echo $ECHO_N "(cached) $ECHO_C" >&6
98312 else
98316 ac_ext=cc
98317 ac_cpp='$CXXCPP $CPPFLAGS'
98318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98322 cat >conftest.$ac_ext <<_ACEOF
98323 /* confdefs.h. */
98324 _ACEOF
98325 cat confdefs.h >>conftest.$ac_ext
98326 cat >>conftest.$ac_ext <<_ACEOF
98327 /* end confdefs.h. */
98328 #include <math.h>
98329 #ifdef HAVE_IEEEFP_H
98330 #include <ieeefp.h>
98331 #endif
98334 main ()
98336 finitef(0);
98338 return 0;
98340 _ACEOF
98341 rm -f conftest.$ac_objext
98342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98343 (eval $ac_compile) 2>conftest.er1
98344 ac_status=$?
98345 grep -v '^ *+' conftest.er1 >conftest.err
98346 rm -f conftest.er1
98347 cat conftest.err >&5
98348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98349 (exit $ac_status); } &&
98350 { ac_try='test -z "$ac_cxx_werror_flag"
98351 || test ! -s conftest.err'
98352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98353 (eval $ac_try) 2>&5
98354 ac_status=$?
98355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98356 (exit $ac_status); }; } &&
98357 { ac_try='test -s conftest.$ac_objext'
98358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98359 (eval $ac_try) 2>&5
98360 ac_status=$?
98361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98362 (exit $ac_status); }; }; then
98363 glibcxx_cv_func_finitef_use=yes
98364 else
98365 echo "$as_me: failed program was:" >&5
98366 sed 's/^/| /' conftest.$ac_ext >&5
98368 glibcxx_cv_func_finitef_use=no
98370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98371 ac_ext=c
98372 ac_cpp='$CPP $CPPFLAGS'
98373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
98382 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
98384 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
98386 for ac_func in finitef
98388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98389 echo "$as_me:$LINENO: checking for $ac_func" >&5
98390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98391 if eval "test \"\${$as_ac_var+set}\" = set"; then
98392 echo $ECHO_N "(cached) $ECHO_C" >&6
98393 else
98394 if test x$gcc_no_link = xyes; then
98395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98397 { (exit 1); exit 1; }; }
98399 cat >conftest.$ac_ext <<_ACEOF
98400 /* confdefs.h. */
98401 _ACEOF
98402 cat confdefs.h >>conftest.$ac_ext
98403 cat >>conftest.$ac_ext <<_ACEOF
98404 /* end confdefs.h. */
98405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98407 #define $ac_func innocuous_$ac_func
98409 /* System header to define __stub macros and hopefully few prototypes,
98410 which can conflict with char $ac_func (); below.
98411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98412 <limits.h> exists even on freestanding compilers. */
98414 #ifdef __STDC__
98415 # include <limits.h>
98416 #else
98417 # include <assert.h>
98418 #endif
98420 #undef $ac_func
98422 /* Override any gcc2 internal prototype to avoid an error. */
98423 #ifdef __cplusplus
98424 extern "C"
98426 #endif
98427 /* We use char because int might match the return type of a gcc2
98428 builtin and then its argument prototype would still apply. */
98429 char $ac_func ();
98430 /* The GNU C library defines this for functions which it implements
98431 to always fail with ENOSYS. Some functions are actually named
98432 something starting with __ and the normal name is an alias. */
98433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98434 choke me
98435 #else
98436 char (*f) () = $ac_func;
98437 #endif
98438 #ifdef __cplusplus
98440 #endif
98443 main ()
98445 return f != $ac_func;
98447 return 0;
98449 _ACEOF
98450 rm -f conftest.$ac_objext conftest$ac_exeext
98451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98452 (eval $ac_link) 2>conftest.er1
98453 ac_status=$?
98454 grep -v '^ *+' conftest.er1 >conftest.err
98455 rm -f conftest.er1
98456 cat conftest.err >&5
98457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98458 (exit $ac_status); } &&
98459 { ac_try='test -z "$ac_c_werror_flag"
98460 || test ! -s conftest.err'
98461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98462 (eval $ac_try) 2>&5
98463 ac_status=$?
98464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98465 (exit $ac_status); }; } &&
98466 { ac_try='test -s conftest$ac_exeext'
98467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98468 (eval $ac_try) 2>&5
98469 ac_status=$?
98470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98471 (exit $ac_status); }; }; then
98472 eval "$as_ac_var=yes"
98473 else
98474 echo "$as_me: failed program was:" >&5
98475 sed 's/^/| /' conftest.$ac_ext >&5
98477 eval "$as_ac_var=no"
98479 rm -f conftest.err conftest.$ac_objext \
98480 conftest$ac_exeext conftest.$ac_ext
98482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98484 if test `eval echo '${'$as_ac_var'}'` = yes; then
98485 cat >>confdefs.h <<_ACEOF
98486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98487 _ACEOF
98490 done
98492 else
98494 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
98495 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
98496 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
98497 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
98498 echo $ECHO_N "(cached) $ECHO_C" >&6
98499 else
98503 ac_ext=cc
98504 ac_cpp='$CXXCPP $CPPFLAGS'
98505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98509 cat >conftest.$ac_ext <<_ACEOF
98510 /* confdefs.h. */
98511 _ACEOF
98512 cat confdefs.h >>conftest.$ac_ext
98513 cat >>conftest.$ac_ext <<_ACEOF
98514 /* end confdefs.h. */
98515 #include <math.h>
98516 #ifdef HAVE_IEEEFP_H
98517 #include <ieeefp.h>
98518 #endif
98521 main ()
98523 _finitef(0);
98525 return 0;
98527 _ACEOF
98528 rm -f conftest.$ac_objext
98529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98530 (eval $ac_compile) 2>conftest.er1
98531 ac_status=$?
98532 grep -v '^ *+' conftest.er1 >conftest.err
98533 rm -f conftest.er1
98534 cat conftest.err >&5
98535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98536 (exit $ac_status); } &&
98537 { ac_try='test -z "$ac_cxx_werror_flag"
98538 || test ! -s conftest.err'
98539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98540 (eval $ac_try) 2>&5
98541 ac_status=$?
98542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98543 (exit $ac_status); }; } &&
98544 { ac_try='test -s conftest.$ac_objext'
98545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98546 (eval $ac_try) 2>&5
98547 ac_status=$?
98548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98549 (exit $ac_status); }; }; then
98550 glibcxx_cv_func__finitef_use=yes
98551 else
98552 echo "$as_me: failed program was:" >&5
98553 sed 's/^/| /' conftest.$ac_ext >&5
98555 glibcxx_cv_func__finitef_use=no
98557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98558 ac_ext=c
98559 ac_cpp='$CPP $CPPFLAGS'
98560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
98569 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98571 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98573 for ac_func in _finitef
98575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98576 echo "$as_me:$LINENO: checking for $ac_func" >&5
98577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98578 if eval "test \"\${$as_ac_var+set}\" = set"; then
98579 echo $ECHO_N "(cached) $ECHO_C" >&6
98580 else
98581 if test x$gcc_no_link = xyes; then
98582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98584 { (exit 1); exit 1; }; }
98586 cat >conftest.$ac_ext <<_ACEOF
98587 /* confdefs.h. */
98588 _ACEOF
98589 cat confdefs.h >>conftest.$ac_ext
98590 cat >>conftest.$ac_ext <<_ACEOF
98591 /* end confdefs.h. */
98592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98594 #define $ac_func innocuous_$ac_func
98596 /* System header to define __stub macros and hopefully few prototypes,
98597 which can conflict with char $ac_func (); below.
98598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98599 <limits.h> exists even on freestanding compilers. */
98601 #ifdef __STDC__
98602 # include <limits.h>
98603 #else
98604 # include <assert.h>
98605 #endif
98607 #undef $ac_func
98609 /* Override any gcc2 internal prototype to avoid an error. */
98610 #ifdef __cplusplus
98611 extern "C"
98613 #endif
98614 /* We use char because int might match the return type of a gcc2
98615 builtin and then its argument prototype would still apply. */
98616 char $ac_func ();
98617 /* The GNU C library defines this for functions which it implements
98618 to always fail with ENOSYS. Some functions are actually named
98619 something starting with __ and the normal name is an alias. */
98620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98621 choke me
98622 #else
98623 char (*f) () = $ac_func;
98624 #endif
98625 #ifdef __cplusplus
98627 #endif
98630 main ()
98632 return f != $ac_func;
98634 return 0;
98636 _ACEOF
98637 rm -f conftest.$ac_objext conftest$ac_exeext
98638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98639 (eval $ac_link) 2>conftest.er1
98640 ac_status=$?
98641 grep -v '^ *+' conftest.er1 >conftest.err
98642 rm -f conftest.er1
98643 cat conftest.err >&5
98644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98645 (exit $ac_status); } &&
98646 { ac_try='test -z "$ac_c_werror_flag"
98647 || test ! -s conftest.err'
98648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98649 (eval $ac_try) 2>&5
98650 ac_status=$?
98651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98652 (exit $ac_status); }; } &&
98653 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
98659 eval "$as_ac_var=yes"
98660 else
98661 echo "$as_me: failed program was:" >&5
98662 sed 's/^/| /' conftest.$ac_ext >&5
98664 eval "$as_ac_var=no"
98666 rm -f conftest.err conftest.$ac_objext \
98667 conftest$ac_exeext conftest.$ac_ext
98669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98671 if test `eval echo '${'$as_ac_var'}'` = yes; then
98672 cat >>confdefs.h <<_ACEOF
98673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98674 _ACEOF
98677 done
98687 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98688 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98689 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98690 echo $ECHO_N "(cached) $ECHO_C" >&6
98691 else
98695 ac_ext=cc
98696 ac_cpp='$CXXCPP $CPPFLAGS'
98697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
98709 main ()
98711 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98713 return 0;
98715 _ACEOF
98716 rm -f conftest.$ac_objext
98717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98718 (eval $ac_compile) 2>conftest.er1
98719 ac_status=$?
98720 grep -v '^ *+' conftest.er1 >conftest.err
98721 rm -f conftest.er1
98722 cat conftest.err >&5
98723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98724 (exit $ac_status); } &&
98725 { ac_try='test -z "$ac_cxx_werror_flag"
98726 || test ! -s conftest.err'
98727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98728 (eval $ac_try) 2>&5
98729 ac_status=$?
98730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98731 (exit $ac_status); }; } &&
98732 { ac_try='test -s conftest.$ac_objext'
98733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98734 (eval $ac_try) 2>&5
98735 ac_status=$?
98736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98737 (exit $ac_status); }; }; then
98738 glibcxx_cv_func_long_double_trig_use=yes
98739 else
98740 echo "$as_me: failed program was:" >&5
98741 sed 's/^/| /' conftest.$ac_ext >&5
98743 glibcxx_cv_func_long_double_trig_use=no
98745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98746 ac_ext=c
98747 ac_cpp='$CPP $CPPFLAGS'
98748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98755 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98756 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98766 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98769 echo "$as_me:$LINENO: checking for $ac_func" >&5
98770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98771 if eval "test \"\${$as_ac_var+set}\" = set"; then
98772 echo $ECHO_N "(cached) $ECHO_C" >&6
98773 else
98774 if test x$gcc_no_link = xyes; then
98775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98777 { (exit 1); exit 1; }; }
98779 cat >conftest.$ac_ext <<_ACEOF
98780 /* confdefs.h. */
98781 _ACEOF
98782 cat confdefs.h >>conftest.$ac_ext
98783 cat >>conftest.$ac_ext <<_ACEOF
98784 /* end confdefs.h. */
98785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98787 #define $ac_func innocuous_$ac_func
98789 /* System header to define __stub macros and hopefully few prototypes,
98790 which can conflict with char $ac_func (); below.
98791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98792 <limits.h> exists even on freestanding compilers. */
98794 #ifdef __STDC__
98795 # include <limits.h>
98796 #else
98797 # include <assert.h>
98798 #endif
98800 #undef $ac_func
98802 /* Override any gcc2 internal prototype to avoid an error. */
98803 #ifdef __cplusplus
98804 extern "C"
98806 #endif
98807 /* We use char because int might match the return type of a gcc2
98808 builtin and then its argument prototype would still apply. */
98809 char $ac_func ();
98810 /* The GNU C library defines this for functions which it implements
98811 to always fail with ENOSYS. Some functions are actually named
98812 something starting with __ and the normal name is an alias. */
98813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98814 choke me
98815 #else
98816 char (*f) () = $ac_func;
98817 #endif
98818 #ifdef __cplusplus
98820 #endif
98823 main ()
98825 return f != $ac_func;
98827 return 0;
98829 _ACEOF
98830 rm -f conftest.$ac_objext conftest$ac_exeext
98831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98832 (eval $ac_link) 2>conftest.er1
98833 ac_status=$?
98834 grep -v '^ *+' conftest.er1 >conftest.err
98835 rm -f conftest.er1
98836 cat conftest.err >&5
98837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98838 (exit $ac_status); } &&
98839 { ac_try='test -z "$ac_c_werror_flag"
98840 || test ! -s conftest.err'
98841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98842 (eval $ac_try) 2>&5
98843 ac_status=$?
98844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98845 (exit $ac_status); }; } &&
98846 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
98852 eval "$as_ac_var=yes"
98853 else
98854 echo "$as_me: failed program was:" >&5
98855 sed 's/^/| /' conftest.$ac_ext >&5
98857 eval "$as_ac_var=no"
98859 rm -f conftest.err conftest.$ac_objext \
98860 conftest$ac_exeext conftest.$ac_ext
98862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98864 if test `eval echo '${'$as_ac_var'}'` = yes; then
98865 cat >>confdefs.h <<_ACEOF
98866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98867 _ACEOF
98870 done
98872 else
98873 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98874 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98875 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98876 echo $ECHO_N "(cached) $ECHO_C" >&6
98877 else
98881 ac_ext=cc
98882 ac_cpp='$CXXCPP $CPPFLAGS'
98883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98887 cat >conftest.$ac_ext <<_ACEOF
98888 /* confdefs.h. */
98889 _ACEOF
98890 cat confdefs.h >>conftest.$ac_ext
98891 cat >>conftest.$ac_ext <<_ACEOF
98892 /* end confdefs.h. */
98893 #include <math.h>
98895 main ()
98897 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98899 return 0;
98901 _ACEOF
98902 rm -f conftest.$ac_objext
98903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98904 (eval $ac_compile) 2>conftest.er1
98905 ac_status=$?
98906 grep -v '^ *+' conftest.er1 >conftest.err
98907 rm -f conftest.er1
98908 cat conftest.err >&5
98909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98910 (exit $ac_status); } &&
98911 { ac_try='test -z "$ac_cxx_werror_flag"
98912 || test ! -s conftest.err'
98913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98914 (eval $ac_try) 2>&5
98915 ac_status=$?
98916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98917 (exit $ac_status); }; } &&
98918 { ac_try='test -s conftest.$ac_objext'
98919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98920 (eval $ac_try) 2>&5
98921 ac_status=$?
98922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98923 (exit $ac_status); }; }; then
98924 glibcxx_cv_func__long_double_trig_use=yes
98925 else
98926 echo "$as_me: failed program was:" >&5
98927 sed 's/^/| /' conftest.$ac_ext >&5
98929 glibcxx_cv_func__long_double_trig_use=no
98931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98932 ac_ext=c
98933 ac_cpp='$CPP $CPPFLAGS'
98934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98941 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98942 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98952 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98955 echo "$as_me:$LINENO: checking for $ac_func" >&5
98956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98957 if eval "test \"\${$as_ac_var+set}\" = set"; then
98958 echo $ECHO_N "(cached) $ECHO_C" >&6
98959 else
98960 if test x$gcc_no_link = xyes; then
98961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98963 { (exit 1); exit 1; }; }
98965 cat >conftest.$ac_ext <<_ACEOF
98966 /* confdefs.h. */
98967 _ACEOF
98968 cat confdefs.h >>conftest.$ac_ext
98969 cat >>conftest.$ac_ext <<_ACEOF
98970 /* end confdefs.h. */
98971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98973 #define $ac_func innocuous_$ac_func
98975 /* System header to define __stub macros and hopefully few prototypes,
98976 which can conflict with char $ac_func (); below.
98977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98978 <limits.h> exists even on freestanding compilers. */
98980 #ifdef __STDC__
98981 # include <limits.h>
98982 #else
98983 # include <assert.h>
98984 #endif
98986 #undef $ac_func
98988 /* Override any gcc2 internal prototype to avoid an error. */
98989 #ifdef __cplusplus
98990 extern "C"
98992 #endif
98993 /* We use char because int might match the return type of a gcc2
98994 builtin and then its argument prototype would still apply. */
98995 char $ac_func ();
98996 /* The GNU C library defines this for functions which it implements
98997 to always fail with ENOSYS. Some functions are actually named
98998 something starting with __ and the normal name is an alias. */
98999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99000 choke me
99001 #else
99002 char (*f) () = $ac_func;
99003 #endif
99004 #ifdef __cplusplus
99006 #endif
99009 main ()
99011 return f != $ac_func;
99013 return 0;
99015 _ACEOF
99016 rm -f conftest.$ac_objext conftest$ac_exeext
99017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99018 (eval $ac_link) 2>conftest.er1
99019 ac_status=$?
99020 grep -v '^ *+' conftest.er1 >conftest.err
99021 rm -f conftest.er1
99022 cat conftest.err >&5
99023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99024 (exit $ac_status); } &&
99025 { ac_try='test -z "$ac_c_werror_flag"
99026 || test ! -s conftest.err'
99027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99028 (eval $ac_try) 2>&5
99029 ac_status=$?
99030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99031 (exit $ac_status); }; } &&
99032 { ac_try='test -s conftest$ac_exeext'
99033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99034 (eval $ac_try) 2>&5
99035 ac_status=$?
99036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99037 (exit $ac_status); }; }; then
99038 eval "$as_ac_var=yes"
99039 else
99040 echo "$as_me: failed program was:" >&5
99041 sed 's/^/| /' conftest.$ac_ext >&5
99043 eval "$as_ac_var=no"
99045 rm -f conftest.err conftest.$ac_objext \
99046 conftest$ac_exeext conftest.$ac_ext
99048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99050 if test `eval echo '${'$as_ac_var'}'` = yes; then
99051 cat >>confdefs.h <<_ACEOF
99052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99053 _ACEOF
99056 done
99074 echo "$as_me:$LINENO: checking for long double round functions" >&5
99075 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
99076 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
99077 echo $ECHO_N "(cached) $ECHO_C" >&6
99078 else
99082 ac_ext=cc
99083 ac_cpp='$CXXCPP $CPPFLAGS'
99084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99088 cat >conftest.$ac_ext <<_ACEOF
99089 /* confdefs.h. */
99090 _ACEOF
99091 cat confdefs.h >>conftest.$ac_ext
99092 cat >>conftest.$ac_ext <<_ACEOF
99093 /* end confdefs.h. */
99094 #include <math.h>
99096 main ()
99098 ceill (0); floorl (0);
99100 return 0;
99102 _ACEOF
99103 rm -f conftest.$ac_objext
99104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99105 (eval $ac_compile) 2>conftest.er1
99106 ac_status=$?
99107 grep -v '^ *+' conftest.er1 >conftest.err
99108 rm -f conftest.er1
99109 cat conftest.err >&5
99110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99111 (exit $ac_status); } &&
99112 { ac_try='test -z "$ac_cxx_werror_flag"
99113 || test ! -s conftest.err'
99114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99115 (eval $ac_try) 2>&5
99116 ac_status=$?
99117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99118 (exit $ac_status); }; } &&
99119 { ac_try='test -s conftest.$ac_objext'
99120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99121 (eval $ac_try) 2>&5
99122 ac_status=$?
99123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99124 (exit $ac_status); }; }; then
99125 glibcxx_cv_func_long_double_round_use=yes
99126 else
99127 echo "$as_me: failed program was:" >&5
99128 sed 's/^/| /' conftest.$ac_ext >&5
99130 glibcxx_cv_func_long_double_round_use=no
99132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99133 ac_ext=c
99134 ac_cpp='$CPP $CPPFLAGS'
99135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
99142 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
99143 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
99146 for ac_func in ceill floorl
99148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99149 echo "$as_me:$LINENO: checking for $ac_func" >&5
99150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99151 if eval "test \"\${$as_ac_var+set}\" = set"; then
99152 echo $ECHO_N "(cached) $ECHO_C" >&6
99153 else
99154 if test x$gcc_no_link = xyes; then
99155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99157 { (exit 1); exit 1; }; }
99159 cat >conftest.$ac_ext <<_ACEOF
99160 /* confdefs.h. */
99161 _ACEOF
99162 cat confdefs.h >>conftest.$ac_ext
99163 cat >>conftest.$ac_ext <<_ACEOF
99164 /* end confdefs.h. */
99165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99167 #define $ac_func innocuous_$ac_func
99169 /* System header to define __stub macros and hopefully few prototypes,
99170 which can conflict with char $ac_func (); below.
99171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99172 <limits.h> exists even on freestanding compilers. */
99174 #ifdef __STDC__
99175 # include <limits.h>
99176 #else
99177 # include <assert.h>
99178 #endif
99180 #undef $ac_func
99182 /* Override any gcc2 internal prototype to avoid an error. */
99183 #ifdef __cplusplus
99184 extern "C"
99186 #endif
99187 /* We use char because int might match the return type of a gcc2
99188 builtin and then its argument prototype would still apply. */
99189 char $ac_func ();
99190 /* The GNU C library defines this for functions which it implements
99191 to always fail with ENOSYS. Some functions are actually named
99192 something starting with __ and the normal name is an alias. */
99193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99194 choke me
99195 #else
99196 char (*f) () = $ac_func;
99197 #endif
99198 #ifdef __cplusplus
99200 #endif
99203 main ()
99205 return f != $ac_func;
99207 return 0;
99209 _ACEOF
99210 rm -f conftest.$ac_objext conftest$ac_exeext
99211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99212 (eval $ac_link) 2>conftest.er1
99213 ac_status=$?
99214 grep -v '^ *+' conftest.er1 >conftest.err
99215 rm -f conftest.er1
99216 cat conftest.err >&5
99217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99218 (exit $ac_status); } &&
99219 { ac_try='test -z "$ac_c_werror_flag"
99220 || test ! -s conftest.err'
99221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99222 (eval $ac_try) 2>&5
99223 ac_status=$?
99224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99225 (exit $ac_status); }; } &&
99226 { ac_try='test -s conftest$ac_exeext'
99227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99228 (eval $ac_try) 2>&5
99229 ac_status=$?
99230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99231 (exit $ac_status); }; }; then
99232 eval "$as_ac_var=yes"
99233 else
99234 echo "$as_me: failed program was:" >&5
99235 sed 's/^/| /' conftest.$ac_ext >&5
99237 eval "$as_ac_var=no"
99239 rm -f conftest.err conftest.$ac_objext \
99240 conftest$ac_exeext conftest.$ac_ext
99242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99244 if test `eval echo '${'$as_ac_var'}'` = yes; then
99245 cat >>confdefs.h <<_ACEOF
99246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99247 _ACEOF
99250 done
99252 else
99253 echo "$as_me:$LINENO: checking for _long double round functions" >&5
99254 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
99255 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
99256 echo $ECHO_N "(cached) $ECHO_C" >&6
99257 else
99261 ac_ext=cc
99262 ac_cpp='$CXXCPP $CPPFLAGS'
99263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99267 cat >conftest.$ac_ext <<_ACEOF
99268 /* confdefs.h. */
99269 _ACEOF
99270 cat confdefs.h >>conftest.$ac_ext
99271 cat >>conftest.$ac_ext <<_ACEOF
99272 /* end confdefs.h. */
99273 #include <math.h>
99275 main ()
99277 _ceill (0); _floorl (0);
99279 return 0;
99281 _ACEOF
99282 rm -f conftest.$ac_objext
99283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99284 (eval $ac_compile) 2>conftest.er1
99285 ac_status=$?
99286 grep -v '^ *+' conftest.er1 >conftest.err
99287 rm -f conftest.er1
99288 cat conftest.err >&5
99289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99290 (exit $ac_status); } &&
99291 { ac_try='test -z "$ac_cxx_werror_flag"
99292 || test ! -s conftest.err'
99293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99294 (eval $ac_try) 2>&5
99295 ac_status=$?
99296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99297 (exit $ac_status); }; } &&
99298 { ac_try='test -s conftest.$ac_objext'
99299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99300 (eval $ac_try) 2>&5
99301 ac_status=$?
99302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99303 (exit $ac_status); }; }; then
99304 glibcxx_cv_func__long_double_round_use=yes
99305 else
99306 echo "$as_me: failed program was:" >&5
99307 sed 's/^/| /' conftest.$ac_ext >&5
99309 glibcxx_cv_func__long_double_round_use=no
99311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99312 ac_ext=c
99313 ac_cpp='$CPP $CPPFLAGS'
99314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
99321 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
99322 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
99325 for ac_func in _ceill _floorl
99327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99328 echo "$as_me:$LINENO: checking for $ac_func" >&5
99329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99330 if eval "test \"\${$as_ac_var+set}\" = set"; then
99331 echo $ECHO_N "(cached) $ECHO_C" >&6
99332 else
99333 if test x$gcc_no_link = xyes; then
99334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99336 { (exit 1); exit 1; }; }
99338 cat >conftest.$ac_ext <<_ACEOF
99339 /* confdefs.h. */
99340 _ACEOF
99341 cat confdefs.h >>conftest.$ac_ext
99342 cat >>conftest.$ac_ext <<_ACEOF
99343 /* end confdefs.h. */
99344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99346 #define $ac_func innocuous_$ac_func
99348 /* System header to define __stub macros and hopefully few prototypes,
99349 which can conflict with char $ac_func (); below.
99350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99351 <limits.h> exists even on freestanding compilers. */
99353 #ifdef __STDC__
99354 # include <limits.h>
99355 #else
99356 # include <assert.h>
99357 #endif
99359 #undef $ac_func
99361 /* Override any gcc2 internal prototype to avoid an error. */
99362 #ifdef __cplusplus
99363 extern "C"
99365 #endif
99366 /* We use char because int might match the return type of a gcc2
99367 builtin and then its argument prototype would still apply. */
99368 char $ac_func ();
99369 /* The GNU C library defines this for functions which it implements
99370 to always fail with ENOSYS. Some functions are actually named
99371 something starting with __ and the normal name is an alias. */
99372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99373 choke me
99374 #else
99375 char (*f) () = $ac_func;
99376 #endif
99377 #ifdef __cplusplus
99379 #endif
99382 main ()
99384 return f != $ac_func;
99386 return 0;
99388 _ACEOF
99389 rm -f conftest.$ac_objext conftest$ac_exeext
99390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99391 (eval $ac_link) 2>conftest.er1
99392 ac_status=$?
99393 grep -v '^ *+' conftest.er1 >conftest.err
99394 rm -f conftest.er1
99395 cat conftest.err >&5
99396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99397 (exit $ac_status); } &&
99398 { ac_try='test -z "$ac_c_werror_flag"
99399 || test ! -s conftest.err'
99400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99401 (eval $ac_try) 2>&5
99402 ac_status=$?
99403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99404 (exit $ac_status); }; } &&
99405 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
99411 eval "$as_ac_var=yes"
99412 else
99413 echo "$as_me: failed program was:" >&5
99414 sed 's/^/| /' conftest.$ac_ext >&5
99416 eval "$as_ac_var=no"
99418 rm -f conftest.err conftest.$ac_objext \
99419 conftest$ac_exeext conftest.$ac_ext
99421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99423 if test `eval echo '${'$as_ac_var'}'` = yes; then
99424 cat >>confdefs.h <<_ACEOF
99425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99426 _ACEOF
99429 done
99441 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
99442 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
99443 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
99444 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
99445 echo $ECHO_N "(cached) $ECHO_C" >&6
99446 else
99450 ac_ext=cc
99451 ac_cpp='$CXXCPP $CPPFLAGS'
99452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99456 cat >conftest.$ac_ext <<_ACEOF
99457 /* confdefs.h. */
99458 _ACEOF
99459 cat confdefs.h >>conftest.$ac_ext
99460 cat >>conftest.$ac_ext <<_ACEOF
99461 /* end confdefs.h. */
99462 #include <math.h>
99463 #ifdef HAVE_IEEEFP_H
99464 #include <ieeefp.h>
99465 #endif
99468 main ()
99470 isnanl(0);
99472 return 0;
99474 _ACEOF
99475 rm -f conftest.$ac_objext
99476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99477 (eval $ac_compile) 2>conftest.er1
99478 ac_status=$?
99479 grep -v '^ *+' conftest.er1 >conftest.err
99480 rm -f conftest.er1
99481 cat conftest.err >&5
99482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99483 (exit $ac_status); } &&
99484 { ac_try='test -z "$ac_cxx_werror_flag"
99485 || test ! -s conftest.err'
99486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99487 (eval $ac_try) 2>&5
99488 ac_status=$?
99489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99490 (exit $ac_status); }; } &&
99491 { ac_try='test -s conftest.$ac_objext'
99492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99493 (eval $ac_try) 2>&5
99494 ac_status=$?
99495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99496 (exit $ac_status); }; }; then
99497 glibcxx_cv_func_isnanl_use=yes
99498 else
99499 echo "$as_me: failed program was:" >&5
99500 sed 's/^/| /' conftest.$ac_ext >&5
99502 glibcxx_cv_func_isnanl_use=no
99504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99505 ac_ext=c
99506 ac_cpp='$CPP $CPPFLAGS'
99507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
99516 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
99518 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
99520 for ac_func in isnanl
99522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99523 echo "$as_me:$LINENO: checking for $ac_func" >&5
99524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99525 if eval "test \"\${$as_ac_var+set}\" = set"; then
99526 echo $ECHO_N "(cached) $ECHO_C" >&6
99527 else
99528 if test x$gcc_no_link = xyes; then
99529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99531 { (exit 1); exit 1; }; }
99533 cat >conftest.$ac_ext <<_ACEOF
99534 /* confdefs.h. */
99535 _ACEOF
99536 cat confdefs.h >>conftest.$ac_ext
99537 cat >>conftest.$ac_ext <<_ACEOF
99538 /* end confdefs.h. */
99539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99541 #define $ac_func innocuous_$ac_func
99543 /* System header to define __stub macros and hopefully few prototypes,
99544 which can conflict with char $ac_func (); below.
99545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99546 <limits.h> exists even on freestanding compilers. */
99548 #ifdef __STDC__
99549 # include <limits.h>
99550 #else
99551 # include <assert.h>
99552 #endif
99554 #undef $ac_func
99556 /* Override any gcc2 internal prototype to avoid an error. */
99557 #ifdef __cplusplus
99558 extern "C"
99560 #endif
99561 /* We use char because int might match the return type of a gcc2
99562 builtin and then its argument prototype would still apply. */
99563 char $ac_func ();
99564 /* The GNU C library defines this for functions which it implements
99565 to always fail with ENOSYS. Some functions are actually named
99566 something starting with __ and the normal name is an alias. */
99567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99568 choke me
99569 #else
99570 char (*f) () = $ac_func;
99571 #endif
99572 #ifdef __cplusplus
99574 #endif
99577 main ()
99579 return f != $ac_func;
99581 return 0;
99583 _ACEOF
99584 rm -f conftest.$ac_objext conftest$ac_exeext
99585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99586 (eval $ac_link) 2>conftest.er1
99587 ac_status=$?
99588 grep -v '^ *+' conftest.er1 >conftest.err
99589 rm -f conftest.er1
99590 cat conftest.err >&5
99591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99592 (exit $ac_status); } &&
99593 { ac_try='test -z "$ac_c_werror_flag"
99594 || test ! -s conftest.err'
99595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99596 (eval $ac_try) 2>&5
99597 ac_status=$?
99598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99599 (exit $ac_status); }; } &&
99600 { ac_try='test -s conftest$ac_exeext'
99601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99602 (eval $ac_try) 2>&5
99603 ac_status=$?
99604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99605 (exit $ac_status); }; }; then
99606 eval "$as_ac_var=yes"
99607 else
99608 echo "$as_me: failed program was:" >&5
99609 sed 's/^/| /' conftest.$ac_ext >&5
99611 eval "$as_ac_var=no"
99613 rm -f conftest.err conftest.$ac_objext \
99614 conftest$ac_exeext conftest.$ac_ext
99616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99618 if test `eval echo '${'$as_ac_var'}'` = yes; then
99619 cat >>confdefs.h <<_ACEOF
99620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99621 _ACEOF
99624 done
99626 else
99628 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99629 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99630 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99631 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99632 echo $ECHO_N "(cached) $ECHO_C" >&6
99633 else
99637 ac_ext=cc
99638 ac_cpp='$CXXCPP $CPPFLAGS'
99639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99643 cat >conftest.$ac_ext <<_ACEOF
99644 /* confdefs.h. */
99645 _ACEOF
99646 cat confdefs.h >>conftest.$ac_ext
99647 cat >>conftest.$ac_ext <<_ACEOF
99648 /* end confdefs.h. */
99649 #include <math.h>
99650 #ifdef HAVE_IEEEFP_H
99651 #include <ieeefp.h>
99652 #endif
99655 main ()
99657 _isnanl(0);
99659 return 0;
99661 _ACEOF
99662 rm -f conftest.$ac_objext
99663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99664 (eval $ac_compile) 2>conftest.er1
99665 ac_status=$?
99666 grep -v '^ *+' conftest.er1 >conftest.err
99667 rm -f conftest.er1
99668 cat conftest.err >&5
99669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99670 (exit $ac_status); } &&
99671 { ac_try='test -z "$ac_cxx_werror_flag"
99672 || test ! -s conftest.err'
99673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99674 (eval $ac_try) 2>&5
99675 ac_status=$?
99676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99677 (exit $ac_status); }; } &&
99678 { ac_try='test -s conftest.$ac_objext'
99679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99680 (eval $ac_try) 2>&5
99681 ac_status=$?
99682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99683 (exit $ac_status); }; }; then
99684 glibcxx_cv_func__isnanl_use=yes
99685 else
99686 echo "$as_me: failed program was:" >&5
99687 sed 's/^/| /' conftest.$ac_ext >&5
99689 glibcxx_cv_func__isnanl_use=no
99691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99692 ac_ext=c
99693 ac_cpp='$CPP $CPPFLAGS'
99694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99703 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99705 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99707 for ac_func in _isnanl
99709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99710 echo "$as_me:$LINENO: checking for $ac_func" >&5
99711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99712 if eval "test \"\${$as_ac_var+set}\" = set"; then
99713 echo $ECHO_N "(cached) $ECHO_C" >&6
99714 else
99715 if test x$gcc_no_link = xyes; then
99716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99718 { (exit 1); exit 1; }; }
99720 cat >conftest.$ac_ext <<_ACEOF
99721 /* confdefs.h. */
99722 _ACEOF
99723 cat confdefs.h >>conftest.$ac_ext
99724 cat >>conftest.$ac_ext <<_ACEOF
99725 /* end confdefs.h. */
99726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99728 #define $ac_func innocuous_$ac_func
99730 /* System header to define __stub macros and hopefully few prototypes,
99731 which can conflict with char $ac_func (); below.
99732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99733 <limits.h> exists even on freestanding compilers. */
99735 #ifdef __STDC__
99736 # include <limits.h>
99737 #else
99738 # include <assert.h>
99739 #endif
99741 #undef $ac_func
99743 /* Override any gcc2 internal prototype to avoid an error. */
99744 #ifdef __cplusplus
99745 extern "C"
99747 #endif
99748 /* We use char because int might match the return type of a gcc2
99749 builtin and then its argument prototype would still apply. */
99750 char $ac_func ();
99751 /* The GNU C library defines this for functions which it implements
99752 to always fail with ENOSYS. Some functions are actually named
99753 something starting with __ and the normal name is an alias. */
99754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99755 choke me
99756 #else
99757 char (*f) () = $ac_func;
99758 #endif
99759 #ifdef __cplusplus
99761 #endif
99764 main ()
99766 return f != $ac_func;
99768 return 0;
99770 _ACEOF
99771 rm -f conftest.$ac_objext conftest$ac_exeext
99772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99773 (eval $ac_link) 2>conftest.er1
99774 ac_status=$?
99775 grep -v '^ *+' conftest.er1 >conftest.err
99776 rm -f conftest.er1
99777 cat conftest.err >&5
99778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99779 (exit $ac_status); } &&
99780 { ac_try='test -z "$ac_c_werror_flag"
99781 || test ! -s conftest.err'
99782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99783 (eval $ac_try) 2>&5
99784 ac_status=$?
99785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99786 (exit $ac_status); }; } &&
99787 { ac_try='test -s conftest$ac_exeext'
99788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99789 (eval $ac_try) 2>&5
99790 ac_status=$?
99791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99792 (exit $ac_status); }; }; then
99793 eval "$as_ac_var=yes"
99794 else
99795 echo "$as_me: failed program was:" >&5
99796 sed 's/^/| /' conftest.$ac_ext >&5
99798 eval "$as_ac_var=no"
99800 rm -f conftest.err conftest.$ac_objext \
99801 conftest$ac_exeext conftest.$ac_ext
99803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99805 if test `eval echo '${'$as_ac_var'}'` = yes; then
99806 cat >>confdefs.h <<_ACEOF
99807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99808 _ACEOF
99811 done
99821 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99822 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99823 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99824 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99825 echo $ECHO_N "(cached) $ECHO_C" >&6
99826 else
99830 ac_ext=cc
99831 ac_cpp='$CXXCPP $CPPFLAGS'
99832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99836 cat >conftest.$ac_ext <<_ACEOF
99837 /* confdefs.h. */
99838 _ACEOF
99839 cat confdefs.h >>conftest.$ac_ext
99840 cat >>conftest.$ac_ext <<_ACEOF
99841 /* end confdefs.h. */
99842 #include <math.h>
99843 #ifdef HAVE_IEEEFP_H
99844 #include <ieeefp.h>
99845 #endif
99848 main ()
99850 isinfl(0);
99852 return 0;
99854 _ACEOF
99855 rm -f conftest.$ac_objext
99856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99857 (eval $ac_compile) 2>conftest.er1
99858 ac_status=$?
99859 grep -v '^ *+' conftest.er1 >conftest.err
99860 rm -f conftest.er1
99861 cat conftest.err >&5
99862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99863 (exit $ac_status); } &&
99864 { ac_try='test -z "$ac_cxx_werror_flag"
99865 || test ! -s conftest.err'
99866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99867 (eval $ac_try) 2>&5
99868 ac_status=$?
99869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99870 (exit $ac_status); }; } &&
99871 { ac_try='test -s conftest.$ac_objext'
99872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99873 (eval $ac_try) 2>&5
99874 ac_status=$?
99875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99876 (exit $ac_status); }; }; then
99877 glibcxx_cv_func_isinfl_use=yes
99878 else
99879 echo "$as_me: failed program was:" >&5
99880 sed 's/^/| /' conftest.$ac_ext >&5
99882 glibcxx_cv_func_isinfl_use=no
99884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99885 ac_ext=c
99886 ac_cpp='$CPP $CPPFLAGS'
99887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99896 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99898 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99900 for ac_func in isinfl
99902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99903 echo "$as_me:$LINENO: checking for $ac_func" >&5
99904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99905 if eval "test \"\${$as_ac_var+set}\" = set"; then
99906 echo $ECHO_N "(cached) $ECHO_C" >&6
99907 else
99908 if test x$gcc_no_link = xyes; then
99909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99911 { (exit 1); exit 1; }; }
99913 cat >conftest.$ac_ext <<_ACEOF
99914 /* confdefs.h. */
99915 _ACEOF
99916 cat confdefs.h >>conftest.$ac_ext
99917 cat >>conftest.$ac_ext <<_ACEOF
99918 /* end confdefs.h. */
99919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99921 #define $ac_func innocuous_$ac_func
99923 /* System header to define __stub macros and hopefully few prototypes,
99924 which can conflict with char $ac_func (); below.
99925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99926 <limits.h> exists even on freestanding compilers. */
99928 #ifdef __STDC__
99929 # include <limits.h>
99930 #else
99931 # include <assert.h>
99932 #endif
99934 #undef $ac_func
99936 /* Override any gcc2 internal prototype to avoid an error. */
99937 #ifdef __cplusplus
99938 extern "C"
99940 #endif
99941 /* We use char because int might match the return type of a gcc2
99942 builtin and then its argument prototype would still apply. */
99943 char $ac_func ();
99944 /* The GNU C library defines this for functions which it implements
99945 to always fail with ENOSYS. Some functions are actually named
99946 something starting with __ and the normal name is an alias. */
99947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99948 choke me
99949 #else
99950 char (*f) () = $ac_func;
99951 #endif
99952 #ifdef __cplusplus
99954 #endif
99957 main ()
99959 return f != $ac_func;
99961 return 0;
99963 _ACEOF
99964 rm -f conftest.$ac_objext conftest$ac_exeext
99965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99966 (eval $ac_link) 2>conftest.er1
99967 ac_status=$?
99968 grep -v '^ *+' conftest.er1 >conftest.err
99969 rm -f conftest.er1
99970 cat conftest.err >&5
99971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99972 (exit $ac_status); } &&
99973 { ac_try='test -z "$ac_c_werror_flag"
99974 || test ! -s conftest.err'
99975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99976 (eval $ac_try) 2>&5
99977 ac_status=$?
99978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99979 (exit $ac_status); }; } &&
99980 { ac_try='test -s conftest$ac_exeext'
99981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99982 (eval $ac_try) 2>&5
99983 ac_status=$?
99984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99985 (exit $ac_status); }; }; then
99986 eval "$as_ac_var=yes"
99987 else
99988 echo "$as_me: failed program was:" >&5
99989 sed 's/^/| /' conftest.$ac_ext >&5
99991 eval "$as_ac_var=no"
99993 rm -f conftest.err conftest.$ac_objext \
99994 conftest$ac_exeext conftest.$ac_ext
99996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99998 if test `eval echo '${'$as_ac_var'}'` = yes; then
99999 cat >>confdefs.h <<_ACEOF
100000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100001 _ACEOF
100008 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
100009 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
100010 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
100011 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
100012 echo $ECHO_N "(cached) $ECHO_C" >&6
100017 ac_ext=cc
100018 ac_cpp='$CXXCPP $CPPFLAGS'
100019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100023 cat >conftest.$ac_ext <<_ACEOF
100024 /* confdefs.h. */
100025 _ACEOF
100026 cat confdefs.h >>conftest.$ac_ext
100027 cat >>conftest.$ac_ext <<_ACEOF
100028 /* end confdefs.h. */
100029 #include <math.h>
100030 #ifdef HAVE_IEEEFP_H
100031 #include <ieeefp.h>
100032 #endif
100035 main ()
100037 _isinfl(0);
100039 return 0;
100041 _ACEOF
100042 rm -f conftest.$ac_objext
100043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100044 (eval $ac_compile) 2>conftest.er1
100045 ac_status=$?
100046 grep -v '^ *+' conftest.er1 >conftest.err
100047 rm -f conftest.er1
100048 cat conftest.err >&5
100049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100050 (exit $ac_status); } &&
100051 { ac_try='test -z "$ac_cxx_werror_flag"
100052 || test ! -s conftest.err'
100053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100054 (eval $ac_try) 2>&5
100055 ac_status=$?
100056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100057 (exit $ac_status); }; } &&
100058 { ac_try='test -s conftest.$ac_objext'
100059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100060 (eval $ac_try) 2>&5
100061 ac_status=$?
100062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100063 (exit $ac_status); }; }; then
100064 glibcxx_cv_func__isinfl_use=yes
100066 echo "$as_me: failed program was:" >&5
100067 sed 's/^/| /' conftest.$ac_ext >&5
100069 glibcxx_cv_func__isinfl_use=no
100071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100072 ac_ext=c
100073 ac_cpp='$CPP $CPPFLAGS'
100074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
100083 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
100085 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
100087 for ac_func in _isinfl
100089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100090 echo "$as_me:$LINENO: checking for $ac_func" >&5
100091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100092 if eval "test \"\${$as_ac_var+set}\" = set"; then
100093 echo $ECHO_N "(cached) $ECHO_C" >&6
100095 if test x$gcc_no_link = xyes; then
100096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100098 { (exit 1); exit 1; }; }
100100 cat >conftest.$ac_ext <<_ACEOF
100101 /* confdefs.h. */
100102 _ACEOF
100103 cat confdefs.h >>conftest.$ac_ext
100104 cat >>conftest.$ac_ext <<_ACEOF
100105 /* end confdefs.h. */
100106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100108 #define $ac_func innocuous_$ac_func
100110 /* System header to define __stub macros and hopefully few prototypes,
100111 which can conflict with char $ac_func (); below.
100112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100113 <limits.h> exists even on freestanding compilers. */
100115 #ifdef __STDC__
100116 # include <limits.h>
100117 #else
100118 # include <assert.h>
100119 #endif
100121 #undef $ac_func
100123 /* Override any gcc2 internal prototype to avoid an error. */
100124 #ifdef __cplusplus
100125 extern "C"
100127 #endif
100128 /* We use char because int might match the return type of a gcc2
100129 builtin and then its argument prototype would still apply. */
100130 char $ac_func ();
100131 /* The GNU C library defines this for functions which it implements
100132 to always fail with ENOSYS. Some functions are actually named
100133 something starting with __ and the normal name is an alias. */
100134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100135 choke me
100136 #else
100137 char (*f) () = $ac_func;
100138 #endif
100139 #ifdef __cplusplus
100141 #endif
100144 main ()
100146 return f != $ac_func;
100148 return 0;
100150 _ACEOF
100151 rm -f conftest.$ac_objext conftest$ac_exeext
100152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100153 (eval $ac_link) 2>conftest.er1
100154 ac_status=$?
100155 grep -v '^ *+' conftest.er1 >conftest.err
100156 rm -f conftest.er1
100157 cat conftest.err >&5
100158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100159 (exit $ac_status); } &&
100160 { ac_try='test -z "$ac_c_werror_flag"
100161 || test ! -s conftest.err'
100162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100163 (eval $ac_try) 2>&5
100164 ac_status=$?
100165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100166 (exit $ac_status); }; } &&
100167 { ac_try='test -s conftest$ac_exeext'
100168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100169 (eval $ac_try) 2>&5
100170 ac_status=$?
100171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100172 (exit $ac_status); }; }; then
100173 eval "$as_ac_var=yes"
100175 echo "$as_me: failed program was:" >&5
100176 sed 's/^/| /' conftest.$ac_ext >&5
100178 eval "$as_ac_var=no"
100180 rm -f conftest.err conftest.$ac_objext \
100181 conftest$ac_exeext conftest.$ac_ext
100183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100185 if test `eval echo '${'$as_ac_var'}'` = yes; then
100186 cat >>confdefs.h <<_ACEOF
100187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100188 _ACEOF
100201 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
100202 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
100203 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
100204 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
100205 echo $ECHO_N "(cached) $ECHO_C" >&6
100210 ac_ext=cc
100211 ac_cpp='$CXXCPP $CPPFLAGS'
100212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100216 cat >conftest.$ac_ext <<_ACEOF
100217 /* confdefs.h. */
100218 _ACEOF
100219 cat confdefs.h >>conftest.$ac_ext
100220 cat >>conftest.$ac_ext <<_ACEOF
100221 /* end confdefs.h. */
100222 #include <math.h>
100224 main ()
100226 copysignl(0, 0);
100228 return 0;
100230 _ACEOF
100231 rm -f conftest.$ac_objext
100232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100233 (eval $ac_compile) 2>conftest.er1
100234 ac_status=$?
100235 grep -v '^ *+' conftest.er1 >conftest.err
100236 rm -f conftest.er1
100237 cat conftest.err >&5
100238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100239 (exit $ac_status); } &&
100240 { ac_try='test -z "$ac_cxx_werror_flag"
100241 || test ! -s conftest.err'
100242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100243 (eval $ac_try) 2>&5
100244 ac_status=$?
100245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100246 (exit $ac_status); }; } &&
100247 { ac_try='test -s conftest.$ac_objext'
100248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100249 (eval $ac_try) 2>&5
100250 ac_status=$?
100251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100252 (exit $ac_status); }; }; then
100253 glibcxx_cv_func_copysignl_use=yes
100255 echo "$as_me: failed program was:" >&5
100256 sed 's/^/| /' conftest.$ac_ext >&5
100258 glibcxx_cv_func_copysignl_use=no
100260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100261 ac_ext=c
100262 ac_cpp='$CPP $CPPFLAGS'
100263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100271 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
100272 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
100274 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
100276 for ac_func in copysignl
100278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100279 echo "$as_me:$LINENO: checking for $ac_func" >&5
100280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100281 if eval "test \"\${$as_ac_var+set}\" = set"; then
100282 echo $ECHO_N "(cached) $ECHO_C" >&6
100284 if test x$gcc_no_link = xyes; then
100285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100287 { (exit 1); exit 1; }; }
100289 cat >conftest.$ac_ext <<_ACEOF
100290 /* confdefs.h. */
100291 _ACEOF
100292 cat confdefs.h >>conftest.$ac_ext
100293 cat >>conftest.$ac_ext <<_ACEOF
100294 /* end confdefs.h. */
100295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100297 #define $ac_func innocuous_$ac_func
100299 /* System header to define __stub macros and hopefully few prototypes,
100300 which can conflict with char $ac_func (); below.
100301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100302 <limits.h> exists even on freestanding compilers. */
100304 #ifdef __STDC__
100305 # include <limits.h>
100306 #else
100307 # include <assert.h>
100308 #endif
100310 #undef $ac_func
100312 /* Override any gcc2 internal prototype to avoid an error. */
100313 #ifdef __cplusplus
100314 extern "C"
100316 #endif
100317 /* We use char because int might match the return type of a gcc2
100318 builtin and then its argument prototype would still apply. */
100319 char $ac_func ();
100320 /* The GNU C library defines this for functions which it implements
100321 to always fail with ENOSYS. Some functions are actually named
100322 something starting with __ and the normal name is an alias. */
100323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100324 choke me
100325 #else
100326 char (*f) () = $ac_func;
100327 #endif
100328 #ifdef __cplusplus
100330 #endif
100333 main ()
100335 return f != $ac_func;
100337 return 0;
100339 _ACEOF
100340 rm -f conftest.$ac_objext conftest$ac_exeext
100341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100342 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
100364 echo "$as_me: failed program was:" >&5
100365 sed 's/^/| /' conftest.$ac_ext >&5
100367 eval "$as_ac_var=no"
100369 rm -f conftest.err conftest.$ac_objext \
100370 conftest$ac_exeext conftest.$ac_ext
100372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100374 if test `eval echo '${'$as_ac_var'}'` = yes; then
100375 cat >>confdefs.h <<_ACEOF
100376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100377 _ACEOF
100384 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
100385 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
100386 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
100387 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
100388 echo $ECHO_N "(cached) $ECHO_C" >&6
100393 ac_ext=cc
100394 ac_cpp='$CXXCPP $CPPFLAGS'
100395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100399 cat >conftest.$ac_ext <<_ACEOF
100400 /* confdefs.h. */
100401 _ACEOF
100402 cat confdefs.h >>conftest.$ac_ext
100403 cat >>conftest.$ac_ext <<_ACEOF
100404 /* end confdefs.h. */
100405 #include <math.h>
100407 main ()
100409 _copysignl(0, 0);
100411 return 0;
100413 _ACEOF
100414 rm -f conftest.$ac_objext
100415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100416 (eval $ac_compile) 2>conftest.er1
100417 ac_status=$?
100418 grep -v '^ *+' conftest.er1 >conftest.err
100419 rm -f conftest.er1
100420 cat conftest.err >&5
100421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100422 (exit $ac_status); } &&
100423 { ac_try='test -z "$ac_cxx_werror_flag"
100424 || test ! -s conftest.err'
100425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100426 (eval $ac_try) 2>&5
100427 ac_status=$?
100428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100429 (exit $ac_status); }; } &&
100430 { ac_try='test -s conftest.$ac_objext'
100431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100432 (eval $ac_try) 2>&5
100433 ac_status=$?
100434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100435 (exit $ac_status); }; }; then
100436 glibcxx_cv_func__copysignl_use=yes
100438 echo "$as_me: failed program was:" >&5
100439 sed 's/^/| /' conftest.$ac_ext >&5
100441 glibcxx_cv_func__copysignl_use=no
100443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100444 ac_ext=c
100445 ac_cpp='$CPP $CPPFLAGS'
100446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
100455 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
100457 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
100459 for ac_func in _copysignl
100461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100462 echo "$as_me:$LINENO: checking for $ac_func" >&5
100463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100464 if eval "test \"\${$as_ac_var+set}\" = set"; then
100465 echo $ECHO_N "(cached) $ECHO_C" >&6
100467 if test x$gcc_no_link = xyes; then
100468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100470 { (exit 1); exit 1; }; }
100472 cat >conftest.$ac_ext <<_ACEOF
100473 /* confdefs.h. */
100474 _ACEOF
100475 cat confdefs.h >>conftest.$ac_ext
100476 cat >>conftest.$ac_ext <<_ACEOF
100477 /* end confdefs.h. */
100478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100480 #define $ac_func innocuous_$ac_func
100482 /* System header to define __stub macros and hopefully few prototypes,
100483 which can conflict with char $ac_func (); below.
100484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100485 <limits.h> exists even on freestanding compilers. */
100487 #ifdef __STDC__
100488 # include <limits.h>
100489 #else
100490 # include <assert.h>
100491 #endif
100493 #undef $ac_func
100495 /* Override any gcc2 internal prototype to avoid an error. */
100496 #ifdef __cplusplus
100497 extern "C"
100499 #endif
100500 /* We use char because int might match the return type of a gcc2
100501 builtin and then its argument prototype would still apply. */
100502 char $ac_func ();
100503 /* The GNU C library defines this for functions which it implements
100504 to always fail with ENOSYS. Some functions are actually named
100505 something starting with __ and the normal name is an alias. */
100506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100507 choke me
100508 #else
100509 char (*f) () = $ac_func;
100510 #endif
100511 #ifdef __cplusplus
100513 #endif
100516 main ()
100518 return f != $ac_func;
100520 return 0;
100522 _ACEOF
100523 rm -f conftest.$ac_objext conftest$ac_exeext
100524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100525 (eval $ac_link) 2>conftest.er1
100526 ac_status=$?
100527 grep -v '^ *+' conftest.er1 >conftest.err
100528 rm -f conftest.er1
100529 cat conftest.err >&5
100530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100531 (exit $ac_status); } &&
100532 { ac_try='test -z "$ac_c_werror_flag"
100533 || test ! -s conftest.err'
100534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100535 (eval $ac_try) 2>&5
100536 ac_status=$?
100537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100538 (exit $ac_status); }; } &&
100539 { ac_try='test -s conftest$ac_exeext'
100540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100541 (eval $ac_try) 2>&5
100542 ac_status=$?
100543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100544 (exit $ac_status); }; }; then
100545 eval "$as_ac_var=yes"
100547 echo "$as_me: failed program was:" >&5
100548 sed 's/^/| /' conftest.$ac_ext >&5
100550 eval "$as_ac_var=no"
100552 rm -f conftest.err conftest.$ac_objext \
100553 conftest$ac_exeext conftest.$ac_ext
100555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100557 if test `eval echo '${'$as_ac_var'}'` = yes; then
100558 cat >>confdefs.h <<_ACEOF
100559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100560 _ACEOF
100573 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100574 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100575 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100576 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100577 echo $ECHO_N "(cached) $ECHO_C" >&6
100582 ac_ext=cc
100583 ac_cpp='$CXXCPP $CPPFLAGS'
100584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100588 cat >conftest.$ac_ext <<_ACEOF
100589 /* confdefs.h. */
100590 _ACEOF
100591 cat confdefs.h >>conftest.$ac_ext
100592 cat >>conftest.$ac_ext <<_ACEOF
100593 /* end confdefs.h. */
100594 #include <math.h>
100596 main ()
100598 atan2l(0, 0);
100600 return 0;
100602 _ACEOF
100603 rm -f conftest.$ac_objext
100604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100605 (eval $ac_compile) 2>conftest.er1
100606 ac_status=$?
100607 grep -v '^ *+' conftest.er1 >conftest.err
100608 rm -f conftest.er1
100609 cat conftest.err >&5
100610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100611 (exit $ac_status); } &&
100612 { ac_try='test -z "$ac_cxx_werror_flag"
100613 || test ! -s conftest.err'
100614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100615 (eval $ac_try) 2>&5
100616 ac_status=$?
100617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100618 (exit $ac_status); }; } &&
100619 { ac_try='test -s conftest.$ac_objext'
100620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100621 (eval $ac_try) 2>&5
100622 ac_status=$?
100623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100624 (exit $ac_status); }; }; then
100625 glibcxx_cv_func_atan2l_use=yes
100627 echo "$as_me: failed program was:" >&5
100628 sed 's/^/| /' conftest.$ac_ext >&5
100630 glibcxx_cv_func_atan2l_use=no
100632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100633 ac_ext=c
100634 ac_cpp='$CPP $CPPFLAGS'
100635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100644 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100646 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100648 for ac_func in atan2l
100650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100651 echo "$as_me:$LINENO: checking for $ac_func" >&5
100652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100653 if eval "test \"\${$as_ac_var+set}\" = set"; then
100654 echo $ECHO_N "(cached) $ECHO_C" >&6
100656 if test x$gcc_no_link = xyes; then
100657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100659 { (exit 1); exit 1; }; }
100661 cat >conftest.$ac_ext <<_ACEOF
100662 /* confdefs.h. */
100663 _ACEOF
100664 cat confdefs.h >>conftest.$ac_ext
100665 cat >>conftest.$ac_ext <<_ACEOF
100666 /* end confdefs.h. */
100667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100669 #define $ac_func innocuous_$ac_func
100671 /* System header to define __stub macros and hopefully few prototypes,
100672 which can conflict with char $ac_func (); below.
100673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100674 <limits.h> exists even on freestanding compilers. */
100676 #ifdef __STDC__
100677 # include <limits.h>
100678 #else
100679 # include <assert.h>
100680 #endif
100682 #undef $ac_func
100684 /* Override any gcc2 internal prototype to avoid an error. */
100685 #ifdef __cplusplus
100686 extern "C"
100688 #endif
100689 /* We use char because int might match the return type of a gcc2
100690 builtin and then its argument prototype would still apply. */
100691 char $ac_func ();
100692 /* The GNU C library defines this for functions which it implements
100693 to always fail with ENOSYS. Some functions are actually named
100694 something starting with __ and the normal name is an alias. */
100695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100696 choke me
100697 #else
100698 char (*f) () = $ac_func;
100699 #endif
100700 #ifdef __cplusplus
100702 #endif
100705 main ()
100707 return f != $ac_func;
100709 return 0;
100711 _ACEOF
100712 rm -f conftest.$ac_objext conftest$ac_exeext
100713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100714 (eval $ac_link) 2>conftest.er1
100715 ac_status=$?
100716 grep -v '^ *+' conftest.er1 >conftest.err
100717 rm -f conftest.er1
100718 cat conftest.err >&5
100719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100720 (exit $ac_status); } &&
100721 { ac_try='test -z "$ac_c_werror_flag"
100722 || test ! -s conftest.err'
100723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100724 (eval $ac_try) 2>&5
100725 ac_status=$?
100726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100727 (exit $ac_status); }; } &&
100728 { ac_try='test -s conftest$ac_exeext'
100729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100730 (eval $ac_try) 2>&5
100731 ac_status=$?
100732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100733 (exit $ac_status); }; }; then
100734 eval "$as_ac_var=yes"
100736 echo "$as_me: failed program was:" >&5
100737 sed 's/^/| /' conftest.$ac_ext >&5
100739 eval "$as_ac_var=no"
100741 rm -f conftest.err conftest.$ac_objext \
100742 conftest$ac_exeext conftest.$ac_ext
100744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100746 if test `eval echo '${'$as_ac_var'}'` = yes; then
100747 cat >>confdefs.h <<_ACEOF
100748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100749 _ACEOF
100756 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100757 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100758 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100759 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100760 echo $ECHO_N "(cached) $ECHO_C" >&6
100765 ac_ext=cc
100766 ac_cpp='$CXXCPP $CPPFLAGS'
100767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100771 cat >conftest.$ac_ext <<_ACEOF
100772 /* confdefs.h. */
100773 _ACEOF
100774 cat confdefs.h >>conftest.$ac_ext
100775 cat >>conftest.$ac_ext <<_ACEOF
100776 /* end confdefs.h. */
100777 #include <math.h>
100779 main ()
100781 _atan2l(0, 0);
100783 return 0;
100785 _ACEOF
100786 rm -f conftest.$ac_objext
100787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100788 (eval $ac_compile) 2>conftest.er1
100789 ac_status=$?
100790 grep -v '^ *+' conftest.er1 >conftest.err
100791 rm -f conftest.er1
100792 cat conftest.err >&5
100793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100794 (exit $ac_status); } &&
100795 { ac_try='test -z "$ac_cxx_werror_flag"
100796 || test ! -s conftest.err'
100797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100798 (eval $ac_try) 2>&5
100799 ac_status=$?
100800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100801 (exit $ac_status); }; } &&
100802 { ac_try='test -s conftest.$ac_objext'
100803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100804 (eval $ac_try) 2>&5
100805 ac_status=$?
100806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100807 (exit $ac_status); }; }; then
100808 glibcxx_cv_func__atan2l_use=yes
100810 echo "$as_me: failed program was:" >&5
100811 sed 's/^/| /' conftest.$ac_ext >&5
100813 glibcxx_cv_func__atan2l_use=no
100815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100816 ac_ext=c
100817 ac_cpp='$CPP $CPPFLAGS'
100818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100827 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100829 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100831 for ac_func in _atan2l
100833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100834 echo "$as_me:$LINENO: checking for $ac_func" >&5
100835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100836 if eval "test \"\${$as_ac_var+set}\" = set"; then
100837 echo $ECHO_N "(cached) $ECHO_C" >&6
100839 if test x$gcc_no_link = xyes; then
100840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100842 { (exit 1); exit 1; }; }
100844 cat >conftest.$ac_ext <<_ACEOF
100845 /* confdefs.h. */
100846 _ACEOF
100847 cat confdefs.h >>conftest.$ac_ext
100848 cat >>conftest.$ac_ext <<_ACEOF
100849 /* end confdefs.h. */
100850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100852 #define $ac_func innocuous_$ac_func
100854 /* System header to define __stub macros and hopefully few prototypes,
100855 which can conflict with char $ac_func (); below.
100856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100857 <limits.h> exists even on freestanding compilers. */
100859 #ifdef __STDC__
100860 # include <limits.h>
100861 #else
100862 # include <assert.h>
100863 #endif
100865 #undef $ac_func
100867 /* Override any gcc2 internal prototype to avoid an error. */
100868 #ifdef __cplusplus
100869 extern "C"
100871 #endif
100872 /* We use char because int might match the return type of a gcc2
100873 builtin and then its argument prototype would still apply. */
100874 char $ac_func ();
100875 /* The GNU C library defines this for functions which it implements
100876 to always fail with ENOSYS. Some functions are actually named
100877 something starting with __ and the normal name is an alias. */
100878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100879 choke me
100880 #else
100881 char (*f) () = $ac_func;
100882 #endif
100883 #ifdef __cplusplus
100885 #endif
100888 main ()
100890 return f != $ac_func;
100892 return 0;
100894 _ACEOF
100895 rm -f conftest.$ac_objext conftest$ac_exeext
100896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100897 (eval $ac_link) 2>conftest.er1
100898 ac_status=$?
100899 grep -v '^ *+' conftest.er1 >conftest.err
100900 rm -f conftest.er1
100901 cat conftest.err >&5
100902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100903 (exit $ac_status); } &&
100904 { ac_try='test -z "$ac_c_werror_flag"
100905 || test ! -s conftest.err'
100906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100907 (eval $ac_try) 2>&5
100908 ac_status=$?
100909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100910 (exit $ac_status); }; } &&
100911 { ac_try='test -s conftest$ac_exeext'
100912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100913 (eval $ac_try) 2>&5
100914 ac_status=$?
100915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100916 (exit $ac_status); }; }; then
100917 eval "$as_ac_var=yes"
100919 echo "$as_me: failed program was:" >&5
100920 sed 's/^/| /' conftest.$ac_ext >&5
100922 eval "$as_ac_var=no"
100924 rm -f conftest.err conftest.$ac_objext \
100925 conftest$ac_exeext conftest.$ac_ext
100927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100929 if test `eval echo '${'$as_ac_var'}'` = yes; then
100930 cat >>confdefs.h <<_ACEOF
100931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100932 _ACEOF
100945 echo "$as_me:$LINENO: checking for expl declaration" >&5
100946 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100947 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100948 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100949 echo $ECHO_N "(cached) $ECHO_C" >&6
100954 ac_ext=cc
100955 ac_cpp='$CXXCPP $CPPFLAGS'
100956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100960 cat >conftest.$ac_ext <<_ACEOF
100961 /* confdefs.h. */
100962 _ACEOF
100963 cat confdefs.h >>conftest.$ac_ext
100964 cat >>conftest.$ac_ext <<_ACEOF
100965 /* end confdefs.h. */
100966 #include <math.h>
100967 #ifdef HAVE_IEEEFP_H
100968 #include <ieeefp.h>
100969 #endif
100972 main ()
100974 expl(0);
100976 return 0;
100978 _ACEOF
100979 rm -f conftest.$ac_objext
100980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100981 (eval $ac_compile) 2>conftest.er1
100982 ac_status=$?
100983 grep -v '^ *+' conftest.er1 >conftest.err
100984 rm -f conftest.er1
100985 cat conftest.err >&5
100986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100987 (exit $ac_status); } &&
100988 { ac_try='test -z "$ac_cxx_werror_flag"
100989 || test ! -s conftest.err'
100990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100991 (eval $ac_try) 2>&5
100992 ac_status=$?
100993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100994 (exit $ac_status); }; } &&
100995 { ac_try='test -s conftest.$ac_objext'
100996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100997 (eval $ac_try) 2>&5
100998 ac_status=$?
100999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101000 (exit $ac_status); }; }; then
101001 glibcxx_cv_func_expl_use=yes
101003 echo "$as_me: failed program was:" >&5
101004 sed 's/^/| /' conftest.$ac_ext >&5
101006 glibcxx_cv_func_expl_use=no
101008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101009 ac_ext=c
101010 ac_cpp='$CPP $CPPFLAGS'
101011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
101020 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
101022 if test x$glibcxx_cv_func_expl_use = x"yes"; then
101024 for ac_func in expl
101026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101027 echo "$as_me:$LINENO: checking for $ac_func" >&5
101028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101029 if eval "test \"\${$as_ac_var+set}\" = set"; then
101030 echo $ECHO_N "(cached) $ECHO_C" >&6
101032 if test x$gcc_no_link = xyes; then
101033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101035 { (exit 1); exit 1; }; }
101037 cat >conftest.$ac_ext <<_ACEOF
101038 /* confdefs.h. */
101039 _ACEOF
101040 cat confdefs.h >>conftest.$ac_ext
101041 cat >>conftest.$ac_ext <<_ACEOF
101042 /* end confdefs.h. */
101043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101045 #define $ac_func innocuous_$ac_func
101047 /* System header to define __stub macros and hopefully few prototypes,
101048 which can conflict with char $ac_func (); below.
101049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101050 <limits.h> exists even on freestanding compilers. */
101052 #ifdef __STDC__
101053 # include <limits.h>
101054 #else
101055 # include <assert.h>
101056 #endif
101058 #undef $ac_func
101060 /* Override any gcc2 internal prototype to avoid an error. */
101061 #ifdef __cplusplus
101062 extern "C"
101064 #endif
101065 /* We use char because int might match the return type of a gcc2
101066 builtin and then its argument prototype would still apply. */
101067 char $ac_func ();
101068 /* The GNU C library defines this for functions which it implements
101069 to always fail with ENOSYS. Some functions are actually named
101070 something starting with __ and the normal name is an alias. */
101071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101072 choke me
101073 #else
101074 char (*f) () = $ac_func;
101075 #endif
101076 #ifdef __cplusplus
101078 #endif
101081 main ()
101083 return f != $ac_func;
101085 return 0;
101087 _ACEOF
101088 rm -f conftest.$ac_objext conftest$ac_exeext
101089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101090 (eval $ac_link) 2>conftest.er1
101091 ac_status=$?
101092 grep -v '^ *+' conftest.er1 >conftest.err
101093 rm -f conftest.er1
101094 cat conftest.err >&5
101095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101096 (exit $ac_status); } &&
101097 { ac_try='test -z "$ac_c_werror_flag"
101098 || test ! -s conftest.err'
101099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101100 (eval $ac_try) 2>&5
101101 ac_status=$?
101102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101103 (exit $ac_status); }; } &&
101104 { ac_try='test -s conftest$ac_exeext'
101105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101106 (eval $ac_try) 2>&5
101107 ac_status=$?
101108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101109 (exit $ac_status); }; }; then
101110 eval "$as_ac_var=yes"
101112 echo "$as_me: failed program was:" >&5
101113 sed 's/^/| /' conftest.$ac_ext >&5
101115 eval "$as_ac_var=no"
101117 rm -f conftest.err conftest.$ac_objext \
101118 conftest$ac_exeext conftest.$ac_ext
101120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101122 if test `eval echo '${'$as_ac_var'}'` = yes; then
101123 cat >>confdefs.h <<_ACEOF
101124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101125 _ACEOF
101132 echo "$as_me:$LINENO: checking for _expl declaration" >&5
101133 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
101134 if test x${glibcxx_cv_func__expl_use+set} != xset; then
101135 if test "${glibcxx_cv_func__expl_use+set}" = set; then
101136 echo $ECHO_N "(cached) $ECHO_C" >&6
101141 ac_ext=cc
101142 ac_cpp='$CXXCPP $CPPFLAGS'
101143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101147 cat >conftest.$ac_ext <<_ACEOF
101148 /* confdefs.h. */
101149 _ACEOF
101150 cat confdefs.h >>conftest.$ac_ext
101151 cat >>conftest.$ac_ext <<_ACEOF
101152 /* end confdefs.h. */
101153 #include <math.h>
101154 #ifdef HAVE_IEEEFP_H
101155 #include <ieeefp.h>
101156 #endif
101159 main ()
101161 _expl(0);
101163 return 0;
101165 _ACEOF
101166 rm -f conftest.$ac_objext
101167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101168 (eval $ac_compile) 2>conftest.er1
101169 ac_status=$?
101170 grep -v '^ *+' conftest.er1 >conftest.err
101171 rm -f conftest.er1
101172 cat conftest.err >&5
101173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101174 (exit $ac_status); } &&
101175 { ac_try='test -z "$ac_cxx_werror_flag"
101176 || test ! -s conftest.err'
101177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101178 (eval $ac_try) 2>&5
101179 ac_status=$?
101180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101181 (exit $ac_status); }; } &&
101182 { ac_try='test -s conftest.$ac_objext'
101183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101184 (eval $ac_try) 2>&5
101185 ac_status=$?
101186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101187 (exit $ac_status); }; }; then
101188 glibcxx_cv_func__expl_use=yes
101190 echo "$as_me: failed program was:" >&5
101191 sed 's/^/| /' conftest.$ac_ext >&5
101193 glibcxx_cv_func__expl_use=no
101195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101196 ac_ext=c
101197 ac_cpp='$CPP $CPPFLAGS'
101198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
101207 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
101209 if test x$glibcxx_cv_func__expl_use = x"yes"; then
101211 for ac_func in _expl
101213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101214 echo "$as_me:$LINENO: checking for $ac_func" >&5
101215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101216 if eval "test \"\${$as_ac_var+set}\" = set"; then
101217 echo $ECHO_N "(cached) $ECHO_C" >&6
101219 if test x$gcc_no_link = xyes; then
101220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101222 { (exit 1); exit 1; }; }
101224 cat >conftest.$ac_ext <<_ACEOF
101225 /* confdefs.h. */
101226 _ACEOF
101227 cat confdefs.h >>conftest.$ac_ext
101228 cat >>conftest.$ac_ext <<_ACEOF
101229 /* end confdefs.h. */
101230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101232 #define $ac_func innocuous_$ac_func
101234 /* System header to define __stub macros and hopefully few prototypes,
101235 which can conflict with char $ac_func (); below.
101236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101237 <limits.h> exists even on freestanding compilers. */
101239 #ifdef __STDC__
101240 # include <limits.h>
101241 #else
101242 # include <assert.h>
101243 #endif
101245 #undef $ac_func
101247 /* Override any gcc2 internal prototype to avoid an error. */
101248 #ifdef __cplusplus
101249 extern "C"
101251 #endif
101252 /* We use char because int might match the return type of a gcc2
101253 builtin and then its argument prototype would still apply. */
101254 char $ac_func ();
101255 /* The GNU C library defines this for functions which it implements
101256 to always fail with ENOSYS. Some functions are actually named
101257 something starting with __ and the normal name is an alias. */
101258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101259 choke me
101260 #else
101261 char (*f) () = $ac_func;
101262 #endif
101263 #ifdef __cplusplus
101265 #endif
101268 main ()
101270 return f != $ac_func;
101272 return 0;
101274 _ACEOF
101275 rm -f conftest.$ac_objext conftest$ac_exeext
101276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101277 (eval $ac_link) 2>conftest.er1
101278 ac_status=$?
101279 grep -v '^ *+' conftest.er1 >conftest.err
101280 rm -f conftest.er1
101281 cat conftest.err >&5
101282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101283 (exit $ac_status); } &&
101284 { ac_try='test -z "$ac_c_werror_flag"
101285 || test ! -s conftest.err'
101286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101287 (eval $ac_try) 2>&5
101288 ac_status=$?
101289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101290 (exit $ac_status); }; } &&
101291 { ac_try='test -s conftest$ac_exeext'
101292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101293 (eval $ac_try) 2>&5
101294 ac_status=$?
101295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101296 (exit $ac_status); }; }; then
101297 eval "$as_ac_var=yes"
101299 echo "$as_me: failed program was:" >&5
101300 sed 's/^/| /' conftest.$ac_ext >&5
101302 eval "$as_ac_var=no"
101304 rm -f conftest.err conftest.$ac_objext \
101305 conftest$ac_exeext conftest.$ac_ext
101307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101309 if test `eval echo '${'$as_ac_var'}'` = yes; then
101310 cat >>confdefs.h <<_ACEOF
101311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101312 _ACEOF
101325 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
101326 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
101327 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
101328 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
101329 echo $ECHO_N "(cached) $ECHO_C" >&6
101334 ac_ext=cc
101335 ac_cpp='$CXXCPP $CPPFLAGS'
101336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101340 cat >conftest.$ac_ext <<_ACEOF
101341 /* confdefs.h. */
101342 _ACEOF
101343 cat confdefs.h >>conftest.$ac_ext
101344 cat >>conftest.$ac_ext <<_ACEOF
101345 /* end confdefs.h. */
101346 #include <math.h>
101347 #ifdef HAVE_IEEEFP_H
101348 #include <ieeefp.h>
101349 #endif
101352 main ()
101354 fabsl(0);
101356 return 0;
101358 _ACEOF
101359 rm -f conftest.$ac_objext
101360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101361 (eval $ac_compile) 2>conftest.er1
101362 ac_status=$?
101363 grep -v '^ *+' conftest.er1 >conftest.err
101364 rm -f conftest.er1
101365 cat conftest.err >&5
101366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101367 (exit $ac_status); } &&
101368 { ac_try='test -z "$ac_cxx_werror_flag"
101369 || test ! -s conftest.err'
101370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101371 (eval $ac_try) 2>&5
101372 ac_status=$?
101373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101374 (exit $ac_status); }; } &&
101375 { ac_try='test -s conftest.$ac_objext'
101376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101377 (eval $ac_try) 2>&5
101378 ac_status=$?
101379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101380 (exit $ac_status); }; }; then
101381 glibcxx_cv_func_fabsl_use=yes
101383 echo "$as_me: failed program was:" >&5
101384 sed 's/^/| /' conftest.$ac_ext >&5
101386 glibcxx_cv_func_fabsl_use=no
101388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101389 ac_ext=c
101390 ac_cpp='$CPP $CPPFLAGS'
101391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
101400 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
101402 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
101404 for ac_func in fabsl
101406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101407 echo "$as_me:$LINENO: checking for $ac_func" >&5
101408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101409 if eval "test \"\${$as_ac_var+set}\" = set"; then
101410 echo $ECHO_N "(cached) $ECHO_C" >&6
101412 if test x$gcc_no_link = xyes; then
101413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101415 { (exit 1); exit 1; }; }
101417 cat >conftest.$ac_ext <<_ACEOF
101418 /* confdefs.h. */
101419 _ACEOF
101420 cat confdefs.h >>conftest.$ac_ext
101421 cat >>conftest.$ac_ext <<_ACEOF
101422 /* end confdefs.h. */
101423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101425 #define $ac_func innocuous_$ac_func
101427 /* System header to define __stub macros and hopefully few prototypes,
101428 which can conflict with char $ac_func (); below.
101429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101430 <limits.h> exists even on freestanding compilers. */
101432 #ifdef __STDC__
101433 # include <limits.h>
101434 #else
101435 # include <assert.h>
101436 #endif
101438 #undef $ac_func
101440 /* Override any gcc2 internal prototype to avoid an error. */
101441 #ifdef __cplusplus
101442 extern "C"
101444 #endif
101445 /* We use char because int might match the return type of a gcc2
101446 builtin and then its argument prototype would still apply. */
101447 char $ac_func ();
101448 /* The GNU C library defines this for functions which it implements
101449 to always fail with ENOSYS. Some functions are actually named
101450 something starting with __ and the normal name is an alias. */
101451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101452 choke me
101453 #else
101454 char (*f) () = $ac_func;
101455 #endif
101456 #ifdef __cplusplus
101458 #endif
101461 main ()
101463 return f != $ac_func;
101465 return 0;
101467 _ACEOF
101468 rm -f conftest.$ac_objext conftest$ac_exeext
101469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101470 (eval $ac_link) 2>conftest.er1
101471 ac_status=$?
101472 grep -v '^ *+' conftest.er1 >conftest.err
101473 rm -f conftest.er1
101474 cat conftest.err >&5
101475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101476 (exit $ac_status); } &&
101477 { ac_try='test -z "$ac_c_werror_flag"
101478 || test ! -s conftest.err'
101479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101480 (eval $ac_try) 2>&5
101481 ac_status=$?
101482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101483 (exit $ac_status); }; } &&
101484 { ac_try='test -s conftest$ac_exeext'
101485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101486 (eval $ac_try) 2>&5
101487 ac_status=$?
101488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101489 (exit $ac_status); }; }; then
101490 eval "$as_ac_var=yes"
101492 echo "$as_me: failed program was:" >&5
101493 sed 's/^/| /' conftest.$ac_ext >&5
101495 eval "$as_ac_var=no"
101497 rm -f conftest.err conftest.$ac_objext \
101498 conftest$ac_exeext conftest.$ac_ext
101500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101502 if test `eval echo '${'$as_ac_var'}'` = yes; then
101503 cat >>confdefs.h <<_ACEOF
101504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101505 _ACEOF
101512 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
101513 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
101514 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
101515 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
101516 echo $ECHO_N "(cached) $ECHO_C" >&6
101521 ac_ext=cc
101522 ac_cpp='$CXXCPP $CPPFLAGS'
101523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101527 cat >conftest.$ac_ext <<_ACEOF
101528 /* confdefs.h. */
101529 _ACEOF
101530 cat confdefs.h >>conftest.$ac_ext
101531 cat >>conftest.$ac_ext <<_ACEOF
101532 /* end confdefs.h. */
101533 #include <math.h>
101534 #ifdef HAVE_IEEEFP_H
101535 #include <ieeefp.h>
101536 #endif
101539 main ()
101541 _fabsl(0);
101543 return 0;
101545 _ACEOF
101546 rm -f conftest.$ac_objext
101547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101548 (eval $ac_compile) 2>conftest.er1
101549 ac_status=$?
101550 grep -v '^ *+' conftest.er1 >conftest.err
101551 rm -f conftest.er1
101552 cat conftest.err >&5
101553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101554 (exit $ac_status); } &&
101555 { ac_try='test -z "$ac_cxx_werror_flag"
101556 || test ! -s conftest.err'
101557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101558 (eval $ac_try) 2>&5
101559 ac_status=$?
101560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101561 (exit $ac_status); }; } &&
101562 { ac_try='test -s conftest.$ac_objext'
101563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101564 (eval $ac_try) 2>&5
101565 ac_status=$?
101566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101567 (exit $ac_status); }; }; then
101568 glibcxx_cv_func__fabsl_use=yes
101570 echo "$as_me: failed program was:" >&5
101571 sed 's/^/| /' conftest.$ac_ext >&5
101573 glibcxx_cv_func__fabsl_use=no
101575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101576 ac_ext=c
101577 ac_cpp='$CPP $CPPFLAGS'
101578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101587 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101589 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101591 for ac_func in _fabsl
101593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101594 echo "$as_me:$LINENO: checking for $ac_func" >&5
101595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101596 if eval "test \"\${$as_ac_var+set}\" = set"; then
101597 echo $ECHO_N "(cached) $ECHO_C" >&6
101599 if test x$gcc_no_link = xyes; then
101600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101602 { (exit 1); exit 1; }; }
101604 cat >conftest.$ac_ext <<_ACEOF
101605 /* confdefs.h. */
101606 _ACEOF
101607 cat confdefs.h >>conftest.$ac_ext
101608 cat >>conftest.$ac_ext <<_ACEOF
101609 /* end confdefs.h. */
101610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101612 #define $ac_func innocuous_$ac_func
101614 /* System header to define __stub macros and hopefully few prototypes,
101615 which can conflict with char $ac_func (); below.
101616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101617 <limits.h> exists even on freestanding compilers. */
101619 #ifdef __STDC__
101620 # include <limits.h>
101621 #else
101622 # include <assert.h>
101623 #endif
101625 #undef $ac_func
101627 /* Override any gcc2 internal prototype to avoid an error. */
101628 #ifdef __cplusplus
101629 extern "C"
101631 #endif
101632 /* We use char because int might match the return type of a gcc2
101633 builtin and then its argument prototype would still apply. */
101634 char $ac_func ();
101635 /* The GNU C library defines this for functions which it implements
101636 to always fail with ENOSYS. Some functions are actually named
101637 something starting with __ and the normal name is an alias. */
101638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101639 choke me
101640 #else
101641 char (*f) () = $ac_func;
101642 #endif
101643 #ifdef __cplusplus
101645 #endif
101648 main ()
101650 return f != $ac_func;
101652 return 0;
101654 _ACEOF
101655 rm -f conftest.$ac_objext conftest$ac_exeext
101656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101657 (eval $ac_link) 2>conftest.er1
101658 ac_status=$?
101659 grep -v '^ *+' conftest.er1 >conftest.err
101660 rm -f conftest.er1
101661 cat conftest.err >&5
101662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101663 (exit $ac_status); } &&
101664 { ac_try='test -z "$ac_c_werror_flag"
101665 || test ! -s conftest.err'
101666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101667 (eval $ac_try) 2>&5
101668 ac_status=$?
101669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101670 (exit $ac_status); }; } &&
101671 { ac_try='test -s conftest$ac_exeext'
101672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101673 (eval $ac_try) 2>&5
101674 ac_status=$?
101675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101676 (exit $ac_status); }; }; then
101677 eval "$as_ac_var=yes"
101679 echo "$as_me: failed program was:" >&5
101680 sed 's/^/| /' conftest.$ac_ext >&5
101682 eval "$as_ac_var=no"
101684 rm -f conftest.err conftest.$ac_objext \
101685 conftest$ac_exeext conftest.$ac_ext
101687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101689 if test `eval echo '${'$as_ac_var'}'` = yes; then
101690 cat >>confdefs.h <<_ACEOF
101691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101692 _ACEOF
101705 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101706 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101707 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101708 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101709 echo $ECHO_N "(cached) $ECHO_C" >&6
101714 ac_ext=cc
101715 ac_cpp='$CXXCPP $CPPFLAGS'
101716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101720 cat >conftest.$ac_ext <<_ACEOF
101721 /* confdefs.h. */
101722 _ACEOF
101723 cat confdefs.h >>conftest.$ac_ext
101724 cat >>conftest.$ac_ext <<_ACEOF
101725 /* end confdefs.h. */
101726 #include <math.h>
101728 main ()
101730 fmodl(0, 0);
101732 return 0;
101734 _ACEOF
101735 rm -f conftest.$ac_objext
101736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101737 (eval $ac_compile) 2>conftest.er1
101738 ac_status=$?
101739 grep -v '^ *+' conftest.er1 >conftest.err
101740 rm -f conftest.er1
101741 cat conftest.err >&5
101742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101743 (exit $ac_status); } &&
101744 { ac_try='test -z "$ac_cxx_werror_flag"
101745 || test ! -s conftest.err'
101746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101747 (eval $ac_try) 2>&5
101748 ac_status=$?
101749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101750 (exit $ac_status); }; } &&
101751 { ac_try='test -s conftest.$ac_objext'
101752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101753 (eval $ac_try) 2>&5
101754 ac_status=$?
101755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101756 (exit $ac_status); }; }; then
101757 glibcxx_cv_func_fmodl_use=yes
101759 echo "$as_me: failed program was:" >&5
101760 sed 's/^/| /' conftest.$ac_ext >&5
101762 glibcxx_cv_func_fmodl_use=no
101764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101765 ac_ext=c
101766 ac_cpp='$CPP $CPPFLAGS'
101767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101776 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101778 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101780 for ac_func in fmodl
101782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101783 echo "$as_me:$LINENO: checking for $ac_func" >&5
101784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101785 if eval "test \"\${$as_ac_var+set}\" = set"; then
101786 echo $ECHO_N "(cached) $ECHO_C" >&6
101788 if test x$gcc_no_link = xyes; then
101789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101791 { (exit 1); exit 1; }; }
101793 cat >conftest.$ac_ext <<_ACEOF
101794 /* confdefs.h. */
101795 _ACEOF
101796 cat confdefs.h >>conftest.$ac_ext
101797 cat >>conftest.$ac_ext <<_ACEOF
101798 /* end confdefs.h. */
101799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101801 #define $ac_func innocuous_$ac_func
101803 /* System header to define __stub macros and hopefully few prototypes,
101804 which can conflict with char $ac_func (); below.
101805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101806 <limits.h> exists even on freestanding compilers. */
101808 #ifdef __STDC__
101809 # include <limits.h>
101810 #else
101811 # include <assert.h>
101812 #endif
101814 #undef $ac_func
101816 /* Override any gcc2 internal prototype to avoid an error. */
101817 #ifdef __cplusplus
101818 extern "C"
101820 #endif
101821 /* We use char because int might match the return type of a gcc2
101822 builtin and then its argument prototype would still apply. */
101823 char $ac_func ();
101824 /* The GNU C library defines this for functions which it implements
101825 to always fail with ENOSYS. Some functions are actually named
101826 something starting with __ and the normal name is an alias. */
101827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101828 choke me
101829 #else
101830 char (*f) () = $ac_func;
101831 #endif
101832 #ifdef __cplusplus
101834 #endif
101837 main ()
101839 return f != $ac_func;
101841 return 0;
101843 _ACEOF
101844 rm -f conftest.$ac_objext conftest$ac_exeext
101845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101846 (eval $ac_link) 2>conftest.er1
101847 ac_status=$?
101848 grep -v '^ *+' conftest.er1 >conftest.err
101849 rm -f conftest.er1
101850 cat conftest.err >&5
101851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101852 (exit $ac_status); } &&
101853 { ac_try='test -z "$ac_c_werror_flag"
101854 || test ! -s conftest.err'
101855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101856 (eval $ac_try) 2>&5
101857 ac_status=$?
101858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101859 (exit $ac_status); }; } &&
101860 { ac_try='test -s conftest$ac_exeext'
101861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101862 (eval $ac_try) 2>&5
101863 ac_status=$?
101864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101865 (exit $ac_status); }; }; then
101866 eval "$as_ac_var=yes"
101868 echo "$as_me: failed program was:" >&5
101869 sed 's/^/| /' conftest.$ac_ext >&5
101871 eval "$as_ac_var=no"
101873 rm -f conftest.err conftest.$ac_objext \
101874 conftest$ac_exeext conftest.$ac_ext
101876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101878 if test `eval echo '${'$as_ac_var'}'` = yes; then
101879 cat >>confdefs.h <<_ACEOF
101880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101881 _ACEOF
101888 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101889 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101890 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101891 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101892 echo $ECHO_N "(cached) $ECHO_C" >&6
101897 ac_ext=cc
101898 ac_cpp='$CXXCPP $CPPFLAGS'
101899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101903 cat >conftest.$ac_ext <<_ACEOF
101904 /* confdefs.h. */
101905 _ACEOF
101906 cat confdefs.h >>conftest.$ac_ext
101907 cat >>conftest.$ac_ext <<_ACEOF
101908 /* end confdefs.h. */
101909 #include <math.h>
101911 main ()
101913 _fmodl(0, 0);
101915 return 0;
101917 _ACEOF
101918 rm -f conftest.$ac_objext
101919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101920 (eval $ac_compile) 2>conftest.er1
101921 ac_status=$?
101922 grep -v '^ *+' conftest.er1 >conftest.err
101923 rm -f conftest.er1
101924 cat conftest.err >&5
101925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101926 (exit $ac_status); } &&
101927 { ac_try='test -z "$ac_cxx_werror_flag"
101928 || test ! -s conftest.err'
101929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101930 (eval $ac_try) 2>&5
101931 ac_status=$?
101932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101933 (exit $ac_status); }; } &&
101934 { ac_try='test -s conftest.$ac_objext'
101935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101936 (eval $ac_try) 2>&5
101937 ac_status=$?
101938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101939 (exit $ac_status); }; }; then
101940 glibcxx_cv_func__fmodl_use=yes
101942 echo "$as_me: failed program was:" >&5
101943 sed 's/^/| /' conftest.$ac_ext >&5
101945 glibcxx_cv_func__fmodl_use=no
101947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101948 ac_ext=c
101949 ac_cpp='$CPP $CPPFLAGS'
101950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101959 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101961 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101963 for ac_func in _fmodl
101965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101966 echo "$as_me:$LINENO: checking for $ac_func" >&5
101967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101968 if eval "test \"\${$as_ac_var+set}\" = set"; then
101969 echo $ECHO_N "(cached) $ECHO_C" >&6
101971 if test x$gcc_no_link = xyes; then
101972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101974 { (exit 1); exit 1; }; }
101976 cat >conftest.$ac_ext <<_ACEOF
101977 /* confdefs.h. */
101978 _ACEOF
101979 cat confdefs.h >>conftest.$ac_ext
101980 cat >>conftest.$ac_ext <<_ACEOF
101981 /* end confdefs.h. */
101982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101984 #define $ac_func innocuous_$ac_func
101986 /* System header to define __stub macros and hopefully few prototypes,
101987 which can conflict with char $ac_func (); below.
101988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101989 <limits.h> exists even on freestanding compilers. */
101991 #ifdef __STDC__
101992 # include <limits.h>
101993 #else
101994 # include <assert.h>
101995 #endif
101997 #undef $ac_func
101999 /* Override any gcc2 internal prototype to avoid an error. */
102000 #ifdef __cplusplus
102001 extern "C"
102003 #endif
102004 /* We use char because int might match the return type of a gcc2
102005 builtin and then its argument prototype would still apply. */
102006 char $ac_func ();
102007 /* The GNU C library defines this for functions which it implements
102008 to always fail with ENOSYS. Some functions are actually named
102009 something starting with __ and the normal name is an alias. */
102010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102011 choke me
102012 #else
102013 char (*f) () = $ac_func;
102014 #endif
102015 #ifdef __cplusplus
102017 #endif
102020 main ()
102022 return f != $ac_func;
102024 return 0;
102026 _ACEOF
102027 rm -f conftest.$ac_objext conftest$ac_exeext
102028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102029 (eval $ac_link) 2>conftest.er1
102030 ac_status=$?
102031 grep -v '^ *+' conftest.er1 >conftest.err
102032 rm -f conftest.er1
102033 cat conftest.err >&5
102034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102035 (exit $ac_status); } &&
102036 { ac_try='test -z "$ac_c_werror_flag"
102037 || test ! -s conftest.err'
102038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102039 (eval $ac_try) 2>&5
102040 ac_status=$?
102041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102042 (exit $ac_status); }; } &&
102043 { ac_try='test -s conftest$ac_exeext'
102044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102045 (eval $ac_try) 2>&5
102046 ac_status=$?
102047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102048 (exit $ac_status); }; }; then
102049 eval "$as_ac_var=yes"
102051 echo "$as_me: failed program was:" >&5
102052 sed 's/^/| /' conftest.$ac_ext >&5
102054 eval "$as_ac_var=no"
102056 rm -f conftest.err conftest.$ac_objext \
102057 conftest$ac_exeext conftest.$ac_ext
102059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102061 if test `eval echo '${'$as_ac_var'}'` = yes; then
102062 cat >>confdefs.h <<_ACEOF
102063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102064 _ACEOF
102077 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
102078 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
102079 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
102080 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
102081 echo $ECHO_N "(cached) $ECHO_C" >&6
102086 ac_ext=cc
102087 ac_cpp='$CXXCPP $CPPFLAGS'
102088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102092 cat >conftest.$ac_ext <<_ACEOF
102093 /* confdefs.h. */
102094 _ACEOF
102095 cat confdefs.h >>conftest.$ac_ext
102096 cat >>conftest.$ac_ext <<_ACEOF
102097 /* end confdefs.h. */
102098 #include <math.h>
102100 main ()
102102 frexpl(0, 0);
102104 return 0;
102106 _ACEOF
102107 rm -f conftest.$ac_objext
102108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102109 (eval $ac_compile) 2>conftest.er1
102110 ac_status=$?
102111 grep -v '^ *+' conftest.er1 >conftest.err
102112 rm -f conftest.er1
102113 cat conftest.err >&5
102114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102115 (exit $ac_status); } &&
102116 { ac_try='test -z "$ac_cxx_werror_flag"
102117 || test ! -s conftest.err'
102118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102119 (eval $ac_try) 2>&5
102120 ac_status=$?
102121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102122 (exit $ac_status); }; } &&
102123 { ac_try='test -s conftest.$ac_objext'
102124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102125 (eval $ac_try) 2>&5
102126 ac_status=$?
102127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102128 (exit $ac_status); }; }; then
102129 glibcxx_cv_func_frexpl_use=yes
102131 echo "$as_me: failed program was:" >&5
102132 sed 's/^/| /' conftest.$ac_ext >&5
102134 glibcxx_cv_func_frexpl_use=no
102136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102137 ac_ext=c
102138 ac_cpp='$CPP $CPPFLAGS'
102139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
102148 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
102150 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
102152 for ac_func in frexpl
102154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102155 echo "$as_me:$LINENO: checking for $ac_func" >&5
102156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102157 if eval "test \"\${$as_ac_var+set}\" = set"; then
102158 echo $ECHO_N "(cached) $ECHO_C" >&6
102160 if test x$gcc_no_link = xyes; then
102161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102163 { (exit 1); exit 1; }; }
102165 cat >conftest.$ac_ext <<_ACEOF
102166 /* confdefs.h. */
102167 _ACEOF
102168 cat confdefs.h >>conftest.$ac_ext
102169 cat >>conftest.$ac_ext <<_ACEOF
102170 /* end confdefs.h. */
102171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102173 #define $ac_func innocuous_$ac_func
102175 /* System header to define __stub macros and hopefully few prototypes,
102176 which can conflict with char $ac_func (); below.
102177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102178 <limits.h> exists even on freestanding compilers. */
102180 #ifdef __STDC__
102181 # include <limits.h>
102182 #else
102183 # include <assert.h>
102184 #endif
102186 #undef $ac_func
102188 /* Override any gcc2 internal prototype to avoid an error. */
102189 #ifdef __cplusplus
102190 extern "C"
102192 #endif
102193 /* We use char because int might match the return type of a gcc2
102194 builtin and then its argument prototype would still apply. */
102195 char $ac_func ();
102196 /* The GNU C library defines this for functions which it implements
102197 to always fail with ENOSYS. Some functions are actually named
102198 something starting with __ and the normal name is an alias. */
102199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102200 choke me
102201 #else
102202 char (*f) () = $ac_func;
102203 #endif
102204 #ifdef __cplusplus
102206 #endif
102209 main ()
102211 return f != $ac_func;
102213 return 0;
102215 _ACEOF
102216 rm -f conftest.$ac_objext conftest$ac_exeext
102217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102218 (eval $ac_link) 2>conftest.er1
102219 ac_status=$?
102220 grep -v '^ *+' conftest.er1 >conftest.err
102221 rm -f conftest.er1
102222 cat conftest.err >&5
102223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102224 (exit $ac_status); } &&
102225 { ac_try='test -z "$ac_c_werror_flag"
102226 || test ! -s conftest.err'
102227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102228 (eval $ac_try) 2>&5
102229 ac_status=$?
102230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102231 (exit $ac_status); }; } &&
102232 { ac_try='test -s conftest$ac_exeext'
102233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102234 (eval $ac_try) 2>&5
102235 ac_status=$?
102236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102237 (exit $ac_status); }; }; then
102238 eval "$as_ac_var=yes"
102240 echo "$as_me: failed program was:" >&5
102241 sed 's/^/| /' conftest.$ac_ext >&5
102243 eval "$as_ac_var=no"
102245 rm -f conftest.err conftest.$ac_objext \
102246 conftest$ac_exeext conftest.$ac_ext
102248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102250 if test `eval echo '${'$as_ac_var'}'` = yes; then
102251 cat >>confdefs.h <<_ACEOF
102252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102253 _ACEOF
102260 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
102261 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
102262 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
102263 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
102264 echo $ECHO_N "(cached) $ECHO_C" >&6
102269 ac_ext=cc
102270 ac_cpp='$CXXCPP $CPPFLAGS'
102271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102275 cat >conftest.$ac_ext <<_ACEOF
102276 /* confdefs.h. */
102277 _ACEOF
102278 cat confdefs.h >>conftest.$ac_ext
102279 cat >>conftest.$ac_ext <<_ACEOF
102280 /* end confdefs.h. */
102281 #include <math.h>
102283 main ()
102285 _frexpl(0, 0);
102287 return 0;
102289 _ACEOF
102290 rm -f conftest.$ac_objext
102291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102292 (eval $ac_compile) 2>conftest.er1
102293 ac_status=$?
102294 grep -v '^ *+' conftest.er1 >conftest.err
102295 rm -f conftest.er1
102296 cat conftest.err >&5
102297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102298 (exit $ac_status); } &&
102299 { ac_try='test -z "$ac_cxx_werror_flag"
102300 || test ! -s conftest.err'
102301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102302 (eval $ac_try) 2>&5
102303 ac_status=$?
102304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102305 (exit $ac_status); }; } &&
102306 { ac_try='test -s conftest.$ac_objext'
102307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102308 (eval $ac_try) 2>&5
102309 ac_status=$?
102310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102311 (exit $ac_status); }; }; then
102312 glibcxx_cv_func__frexpl_use=yes
102314 echo "$as_me: failed program was:" >&5
102315 sed 's/^/| /' conftest.$ac_ext >&5
102317 glibcxx_cv_func__frexpl_use=no
102319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102320 ac_ext=c
102321 ac_cpp='$CPP $CPPFLAGS'
102322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
102331 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
102333 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
102335 for ac_func in _frexpl
102337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102338 echo "$as_me:$LINENO: checking for $ac_func" >&5
102339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102340 if eval "test \"\${$as_ac_var+set}\" = set"; then
102341 echo $ECHO_N "(cached) $ECHO_C" >&6
102343 if test x$gcc_no_link = xyes; then
102344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102346 { (exit 1); exit 1; }; }
102348 cat >conftest.$ac_ext <<_ACEOF
102349 /* confdefs.h. */
102350 _ACEOF
102351 cat confdefs.h >>conftest.$ac_ext
102352 cat >>conftest.$ac_ext <<_ACEOF
102353 /* end confdefs.h. */
102354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102356 #define $ac_func innocuous_$ac_func
102358 /* System header to define __stub macros and hopefully few prototypes,
102359 which can conflict with char $ac_func (); below.
102360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102361 <limits.h> exists even on freestanding compilers. */
102363 #ifdef __STDC__
102364 # include <limits.h>
102365 #else
102366 # include <assert.h>
102367 #endif
102369 #undef $ac_func
102371 /* Override any gcc2 internal prototype to avoid an error. */
102372 #ifdef __cplusplus
102373 extern "C"
102375 #endif
102376 /* We use char because int might match the return type of a gcc2
102377 builtin and then its argument prototype would still apply. */
102378 char $ac_func ();
102379 /* The GNU C library defines this for functions which it implements
102380 to always fail with ENOSYS. Some functions are actually named
102381 something starting with __ and the normal name is an alias. */
102382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102383 choke me
102384 #else
102385 char (*f) () = $ac_func;
102386 #endif
102387 #ifdef __cplusplus
102389 #endif
102392 main ()
102394 return f != $ac_func;
102396 return 0;
102398 _ACEOF
102399 rm -f conftest.$ac_objext conftest$ac_exeext
102400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102401 (eval $ac_link) 2>conftest.er1
102402 ac_status=$?
102403 grep -v '^ *+' conftest.er1 >conftest.err
102404 rm -f conftest.er1
102405 cat conftest.err >&5
102406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102407 (exit $ac_status); } &&
102408 { ac_try='test -z "$ac_c_werror_flag"
102409 || test ! -s conftest.err'
102410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102411 (eval $ac_try) 2>&5
102412 ac_status=$?
102413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102414 (exit $ac_status); }; } &&
102415 { ac_try='test -s conftest$ac_exeext'
102416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102417 (eval $ac_try) 2>&5
102418 ac_status=$?
102419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102420 (exit $ac_status); }; }; then
102421 eval "$as_ac_var=yes"
102423 echo "$as_me: failed program was:" >&5
102424 sed 's/^/| /' conftest.$ac_ext >&5
102426 eval "$as_ac_var=no"
102428 rm -f conftest.err conftest.$ac_objext \
102429 conftest$ac_exeext conftest.$ac_ext
102431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102433 if test `eval echo '${'$as_ac_var'}'` = yes; then
102434 cat >>confdefs.h <<_ACEOF
102435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102436 _ACEOF
102449 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
102450 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
102451 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
102452 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
102453 echo $ECHO_N "(cached) $ECHO_C" >&6
102458 ac_ext=cc
102459 ac_cpp='$CXXCPP $CPPFLAGS'
102460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102464 cat >conftest.$ac_ext <<_ACEOF
102465 /* confdefs.h. */
102466 _ACEOF
102467 cat confdefs.h >>conftest.$ac_ext
102468 cat >>conftest.$ac_ext <<_ACEOF
102469 /* end confdefs.h. */
102470 #include <math.h>
102472 main ()
102474 hypotl(0, 0);
102476 return 0;
102478 _ACEOF
102479 rm -f conftest.$ac_objext
102480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102481 (eval $ac_compile) 2>conftest.er1
102482 ac_status=$?
102483 grep -v '^ *+' conftest.er1 >conftest.err
102484 rm -f conftest.er1
102485 cat conftest.err >&5
102486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102487 (exit $ac_status); } &&
102488 { ac_try='test -z "$ac_cxx_werror_flag"
102489 || test ! -s conftest.err'
102490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102491 (eval $ac_try) 2>&5
102492 ac_status=$?
102493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102494 (exit $ac_status); }; } &&
102495 { ac_try='test -s conftest.$ac_objext'
102496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102497 (eval $ac_try) 2>&5
102498 ac_status=$?
102499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102500 (exit $ac_status); }; }; then
102501 glibcxx_cv_func_hypotl_use=yes
102503 echo "$as_me: failed program was:" >&5
102504 sed 's/^/| /' conftest.$ac_ext >&5
102506 glibcxx_cv_func_hypotl_use=no
102508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102509 ac_ext=c
102510 ac_cpp='$CPP $CPPFLAGS'
102511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102519 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
102520 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
102522 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
102524 for ac_func in hypotl
102526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102527 echo "$as_me:$LINENO: checking for $ac_func" >&5
102528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102529 if eval "test \"\${$as_ac_var+set}\" = set"; then
102530 echo $ECHO_N "(cached) $ECHO_C" >&6
102532 if test x$gcc_no_link = xyes; then
102533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102535 { (exit 1); exit 1; }; }
102537 cat >conftest.$ac_ext <<_ACEOF
102538 /* confdefs.h. */
102539 _ACEOF
102540 cat confdefs.h >>conftest.$ac_ext
102541 cat >>conftest.$ac_ext <<_ACEOF
102542 /* end confdefs.h. */
102543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102545 #define $ac_func innocuous_$ac_func
102547 /* System header to define __stub macros and hopefully few prototypes,
102548 which can conflict with char $ac_func (); below.
102549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102550 <limits.h> exists even on freestanding compilers. */
102552 #ifdef __STDC__
102553 # include <limits.h>
102554 #else
102555 # include <assert.h>
102556 #endif
102558 #undef $ac_func
102560 /* Override any gcc2 internal prototype to avoid an error. */
102561 #ifdef __cplusplus
102562 extern "C"
102564 #endif
102565 /* We use char because int might match the return type of a gcc2
102566 builtin and then its argument prototype would still apply. */
102567 char $ac_func ();
102568 /* The GNU C library defines this for functions which it implements
102569 to always fail with ENOSYS. Some functions are actually named
102570 something starting with __ and the normal name is an alias. */
102571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102572 choke me
102573 #else
102574 char (*f) () = $ac_func;
102575 #endif
102576 #ifdef __cplusplus
102578 #endif
102581 main ()
102583 return f != $ac_func;
102585 return 0;
102587 _ACEOF
102588 rm -f conftest.$ac_objext conftest$ac_exeext
102589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102590 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
102612 echo "$as_me: failed program was:" >&5
102613 sed 's/^/| /' conftest.$ac_ext >&5
102615 eval "$as_ac_var=no"
102617 rm -f conftest.err conftest.$ac_objext \
102618 conftest$ac_exeext conftest.$ac_ext
102620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102622 if test `eval echo '${'$as_ac_var'}'` = yes; then
102623 cat >>confdefs.h <<_ACEOF
102624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102625 _ACEOF
102632 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102633 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102634 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102635 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102636 echo $ECHO_N "(cached) $ECHO_C" >&6
102641 ac_ext=cc
102642 ac_cpp='$CXXCPP $CPPFLAGS'
102643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102647 cat >conftest.$ac_ext <<_ACEOF
102648 /* confdefs.h. */
102649 _ACEOF
102650 cat confdefs.h >>conftest.$ac_ext
102651 cat >>conftest.$ac_ext <<_ACEOF
102652 /* end confdefs.h. */
102653 #include <math.h>
102655 main ()
102657 _hypotl(0, 0);
102659 return 0;
102661 _ACEOF
102662 rm -f conftest.$ac_objext
102663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102664 (eval $ac_compile) 2>conftest.er1
102665 ac_status=$?
102666 grep -v '^ *+' conftest.er1 >conftest.err
102667 rm -f conftest.er1
102668 cat conftest.err >&5
102669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102670 (exit $ac_status); } &&
102671 { ac_try='test -z "$ac_cxx_werror_flag"
102672 || test ! -s conftest.err'
102673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102674 (eval $ac_try) 2>&5
102675 ac_status=$?
102676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102677 (exit $ac_status); }; } &&
102678 { ac_try='test -s conftest.$ac_objext'
102679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102680 (eval $ac_try) 2>&5
102681 ac_status=$?
102682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102683 (exit $ac_status); }; }; then
102684 glibcxx_cv_func__hypotl_use=yes
102686 echo "$as_me: failed program was:" >&5
102687 sed 's/^/| /' conftest.$ac_ext >&5
102689 glibcxx_cv_func__hypotl_use=no
102691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102692 ac_ext=c
102693 ac_cpp='$CPP $CPPFLAGS'
102694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102703 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102705 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102707 for ac_func in _hypotl
102709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102710 echo "$as_me:$LINENO: checking for $ac_func" >&5
102711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102712 if eval "test \"\${$as_ac_var+set}\" = set"; then
102713 echo $ECHO_N "(cached) $ECHO_C" >&6
102715 if test x$gcc_no_link = xyes; then
102716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102718 { (exit 1); exit 1; }; }
102720 cat >conftest.$ac_ext <<_ACEOF
102721 /* confdefs.h. */
102722 _ACEOF
102723 cat confdefs.h >>conftest.$ac_ext
102724 cat >>conftest.$ac_ext <<_ACEOF
102725 /* end confdefs.h. */
102726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102728 #define $ac_func innocuous_$ac_func
102730 /* System header to define __stub macros and hopefully few prototypes,
102731 which can conflict with char $ac_func (); below.
102732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102733 <limits.h> exists even on freestanding compilers. */
102735 #ifdef __STDC__
102736 # include <limits.h>
102737 #else
102738 # include <assert.h>
102739 #endif
102741 #undef $ac_func
102743 /* Override any gcc2 internal prototype to avoid an error. */
102744 #ifdef __cplusplus
102745 extern "C"
102747 #endif
102748 /* We use char because int might match the return type of a gcc2
102749 builtin and then its argument prototype would still apply. */
102750 char $ac_func ();
102751 /* The GNU C library defines this for functions which it implements
102752 to always fail with ENOSYS. Some functions are actually named
102753 something starting with __ and the normal name is an alias. */
102754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102755 choke me
102756 #else
102757 char (*f) () = $ac_func;
102758 #endif
102759 #ifdef __cplusplus
102761 #endif
102764 main ()
102766 return f != $ac_func;
102768 return 0;
102770 _ACEOF
102771 rm -f conftest.$ac_objext conftest$ac_exeext
102772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102773 (eval $ac_link) 2>conftest.er1
102774 ac_status=$?
102775 grep -v '^ *+' conftest.er1 >conftest.err
102776 rm -f conftest.er1
102777 cat conftest.err >&5
102778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102779 (exit $ac_status); } &&
102780 { ac_try='test -z "$ac_c_werror_flag"
102781 || test ! -s conftest.err'
102782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102783 (eval $ac_try) 2>&5
102784 ac_status=$?
102785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102786 (exit $ac_status); }; } &&
102787 { ac_try='test -s conftest$ac_exeext'
102788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102789 (eval $ac_try) 2>&5
102790 ac_status=$?
102791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102792 (exit $ac_status); }; }; then
102793 eval "$as_ac_var=yes"
102795 echo "$as_me: failed program was:" >&5
102796 sed 's/^/| /' conftest.$ac_ext >&5
102798 eval "$as_ac_var=no"
102800 rm -f conftest.err conftest.$ac_objext \
102801 conftest$ac_exeext conftest.$ac_ext
102803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102805 if test `eval echo '${'$as_ac_var'}'` = yes; then
102806 cat >>confdefs.h <<_ACEOF
102807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102808 _ACEOF
102821 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102822 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102823 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102824 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102825 echo $ECHO_N "(cached) $ECHO_C" >&6
102830 ac_ext=cc
102831 ac_cpp='$CXXCPP $CPPFLAGS'
102832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102836 cat >conftest.$ac_ext <<_ACEOF
102837 /* confdefs.h. */
102838 _ACEOF
102839 cat confdefs.h >>conftest.$ac_ext
102840 cat >>conftest.$ac_ext <<_ACEOF
102841 /* end confdefs.h. */
102842 #include <math.h>
102844 main ()
102846 ldexpl(0, 0);
102848 return 0;
102850 _ACEOF
102851 rm -f conftest.$ac_objext
102852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102853 (eval $ac_compile) 2>conftest.er1
102854 ac_status=$?
102855 grep -v '^ *+' conftest.er1 >conftest.err
102856 rm -f conftest.er1
102857 cat conftest.err >&5
102858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102859 (exit $ac_status); } &&
102860 { ac_try='test -z "$ac_cxx_werror_flag"
102861 || test ! -s conftest.err'
102862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102863 (eval $ac_try) 2>&5
102864 ac_status=$?
102865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102866 (exit $ac_status); }; } &&
102867 { ac_try='test -s conftest.$ac_objext'
102868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102869 (eval $ac_try) 2>&5
102870 ac_status=$?
102871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102872 (exit $ac_status); }; }; then
102873 glibcxx_cv_func_ldexpl_use=yes
102875 echo "$as_me: failed program was:" >&5
102876 sed 's/^/| /' conftest.$ac_ext >&5
102878 glibcxx_cv_func_ldexpl_use=no
102880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102881 ac_ext=c
102882 ac_cpp='$CPP $CPPFLAGS'
102883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102892 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102894 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102896 for ac_func in ldexpl
102898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102899 echo "$as_me:$LINENO: checking for $ac_func" >&5
102900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102901 if eval "test \"\${$as_ac_var+set}\" = set"; then
102902 echo $ECHO_N "(cached) $ECHO_C" >&6
102904 if test x$gcc_no_link = xyes; then
102905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102907 { (exit 1); exit 1; }; }
102909 cat >conftest.$ac_ext <<_ACEOF
102910 /* confdefs.h. */
102911 _ACEOF
102912 cat confdefs.h >>conftest.$ac_ext
102913 cat >>conftest.$ac_ext <<_ACEOF
102914 /* end confdefs.h. */
102915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102917 #define $ac_func innocuous_$ac_func
102919 /* System header to define __stub macros and hopefully few prototypes,
102920 which can conflict with char $ac_func (); below.
102921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102922 <limits.h> exists even on freestanding compilers. */
102924 #ifdef __STDC__
102925 # include <limits.h>
102926 #else
102927 # include <assert.h>
102928 #endif
102930 #undef $ac_func
102932 /* Override any gcc2 internal prototype to avoid an error. */
102933 #ifdef __cplusplus
102934 extern "C"
102936 #endif
102937 /* We use char because int might match the return type of a gcc2
102938 builtin and then its argument prototype would still apply. */
102939 char $ac_func ();
102940 /* The GNU C library defines this for functions which it implements
102941 to always fail with ENOSYS. Some functions are actually named
102942 something starting with __ and the normal name is an alias. */
102943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102944 choke me
102945 #else
102946 char (*f) () = $ac_func;
102947 #endif
102948 #ifdef __cplusplus
102950 #endif
102953 main ()
102955 return f != $ac_func;
102957 return 0;
102959 _ACEOF
102960 rm -f conftest.$ac_objext conftest$ac_exeext
102961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102962 (eval $ac_link) 2>conftest.er1
102963 ac_status=$?
102964 grep -v '^ *+' conftest.er1 >conftest.err
102965 rm -f conftest.er1
102966 cat conftest.err >&5
102967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102968 (exit $ac_status); } &&
102969 { ac_try='test -z "$ac_c_werror_flag"
102970 || test ! -s conftest.err'
102971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102972 (eval $ac_try) 2>&5
102973 ac_status=$?
102974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102975 (exit $ac_status); }; } &&
102976 { ac_try='test -s conftest$ac_exeext'
102977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102978 (eval $ac_try) 2>&5
102979 ac_status=$?
102980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102981 (exit $ac_status); }; }; then
102982 eval "$as_ac_var=yes"
102984 echo "$as_me: failed program was:" >&5
102985 sed 's/^/| /' conftest.$ac_ext >&5
102987 eval "$as_ac_var=no"
102989 rm -f conftest.err conftest.$ac_objext \
102990 conftest$ac_exeext conftest.$ac_ext
102992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102994 if test `eval echo '${'$as_ac_var'}'` = yes; then
102995 cat >>confdefs.h <<_ACEOF
102996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102997 _ACEOF
103004 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
103005 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
103006 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
103007 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
103008 echo $ECHO_N "(cached) $ECHO_C" >&6
103013 ac_ext=cc
103014 ac_cpp='$CXXCPP $CPPFLAGS'
103015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103019 cat >conftest.$ac_ext <<_ACEOF
103020 /* confdefs.h. */
103021 _ACEOF
103022 cat confdefs.h >>conftest.$ac_ext
103023 cat >>conftest.$ac_ext <<_ACEOF
103024 /* end confdefs.h. */
103025 #include <math.h>
103027 main ()
103029 _ldexpl(0, 0);
103031 return 0;
103033 _ACEOF
103034 rm -f conftest.$ac_objext
103035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103036 (eval $ac_compile) 2>conftest.er1
103037 ac_status=$?
103038 grep -v '^ *+' conftest.er1 >conftest.err
103039 rm -f conftest.er1
103040 cat conftest.err >&5
103041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103042 (exit $ac_status); } &&
103043 { ac_try='test -z "$ac_cxx_werror_flag"
103044 || test ! -s conftest.err'
103045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103046 (eval $ac_try) 2>&5
103047 ac_status=$?
103048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103049 (exit $ac_status); }; } &&
103050 { ac_try='test -s conftest.$ac_objext'
103051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103052 (eval $ac_try) 2>&5
103053 ac_status=$?
103054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103055 (exit $ac_status); }; }; then
103056 glibcxx_cv_func__ldexpl_use=yes
103058 echo "$as_me: failed program was:" >&5
103059 sed 's/^/| /' conftest.$ac_ext >&5
103061 glibcxx_cv_func__ldexpl_use=no
103063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103064 ac_ext=c
103065 ac_cpp='$CPP $CPPFLAGS'
103066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
103075 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
103077 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
103079 for ac_func in _ldexpl
103081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103082 echo "$as_me:$LINENO: checking for $ac_func" >&5
103083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103084 if eval "test \"\${$as_ac_var+set}\" = set"; then
103085 echo $ECHO_N "(cached) $ECHO_C" >&6
103087 if test x$gcc_no_link = xyes; then
103088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103090 { (exit 1); exit 1; }; }
103092 cat >conftest.$ac_ext <<_ACEOF
103093 /* confdefs.h. */
103094 _ACEOF
103095 cat confdefs.h >>conftest.$ac_ext
103096 cat >>conftest.$ac_ext <<_ACEOF
103097 /* end confdefs.h. */
103098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103100 #define $ac_func innocuous_$ac_func
103102 /* System header to define __stub macros and hopefully few prototypes,
103103 which can conflict with char $ac_func (); below.
103104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103105 <limits.h> exists even on freestanding compilers. */
103107 #ifdef __STDC__
103108 # include <limits.h>
103109 #else
103110 # include <assert.h>
103111 #endif
103113 #undef $ac_func
103115 /* Override any gcc2 internal prototype to avoid an error. */
103116 #ifdef __cplusplus
103117 extern "C"
103119 #endif
103120 /* We use char because int might match the return type of a gcc2
103121 builtin and then its argument prototype would still apply. */
103122 char $ac_func ();
103123 /* The GNU C library defines this for functions which it implements
103124 to always fail with ENOSYS. Some functions are actually named
103125 something starting with __ and the normal name is an alias. */
103126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103127 choke me
103128 #else
103129 char (*f) () = $ac_func;
103130 #endif
103131 #ifdef __cplusplus
103133 #endif
103136 main ()
103138 return f != $ac_func;
103140 return 0;
103142 _ACEOF
103143 rm -f conftest.$ac_objext conftest$ac_exeext
103144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103145 (eval $ac_link) 2>conftest.er1
103146 ac_status=$?
103147 grep -v '^ *+' conftest.er1 >conftest.err
103148 rm -f conftest.er1
103149 cat conftest.err >&5
103150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103151 (exit $ac_status); } &&
103152 { ac_try='test -z "$ac_c_werror_flag"
103153 || test ! -s conftest.err'
103154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103155 (eval $ac_try) 2>&5
103156 ac_status=$?
103157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103158 (exit $ac_status); }; } &&
103159 { ac_try='test -s conftest$ac_exeext'
103160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103161 (eval $ac_try) 2>&5
103162 ac_status=$?
103163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103164 (exit $ac_status); }; }; then
103165 eval "$as_ac_var=yes"
103167 echo "$as_me: failed program was:" >&5
103168 sed 's/^/| /' conftest.$ac_ext >&5
103170 eval "$as_ac_var=no"
103172 rm -f conftest.err conftest.$ac_objext \
103173 conftest$ac_exeext conftest.$ac_ext
103175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103177 if test `eval echo '${'$as_ac_var'}'` = yes; then
103178 cat >>confdefs.h <<_ACEOF
103179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103180 _ACEOF
103193 echo "$as_me:$LINENO: checking for logl declaration" >&5
103194 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
103195 if test x${glibcxx_cv_func_logl_use+set} != xset; then
103196 if test "${glibcxx_cv_func_logl_use+set}" = set; then
103197 echo $ECHO_N "(cached) $ECHO_C" >&6
103202 ac_ext=cc
103203 ac_cpp='$CXXCPP $CPPFLAGS'
103204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103208 cat >conftest.$ac_ext <<_ACEOF
103209 /* confdefs.h. */
103210 _ACEOF
103211 cat confdefs.h >>conftest.$ac_ext
103212 cat >>conftest.$ac_ext <<_ACEOF
103213 /* end confdefs.h. */
103214 #include <math.h>
103215 #ifdef HAVE_IEEEFP_H
103216 #include <ieeefp.h>
103217 #endif
103220 main ()
103222 logl(0);
103224 return 0;
103226 _ACEOF
103227 rm -f conftest.$ac_objext
103228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103229 (eval $ac_compile) 2>conftest.er1
103230 ac_status=$?
103231 grep -v '^ *+' conftest.er1 >conftest.err
103232 rm -f conftest.er1
103233 cat conftest.err >&5
103234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103235 (exit $ac_status); } &&
103236 { ac_try='test -z "$ac_cxx_werror_flag"
103237 || test ! -s conftest.err'
103238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103239 (eval $ac_try) 2>&5
103240 ac_status=$?
103241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103242 (exit $ac_status); }; } &&
103243 { ac_try='test -s conftest.$ac_objext'
103244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103245 (eval $ac_try) 2>&5
103246 ac_status=$?
103247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103248 (exit $ac_status); }; }; then
103249 glibcxx_cv_func_logl_use=yes
103251 echo "$as_me: failed program was:" >&5
103252 sed 's/^/| /' conftest.$ac_ext >&5
103254 glibcxx_cv_func_logl_use=no
103256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103257 ac_ext=c
103258 ac_cpp='$CPP $CPPFLAGS'
103259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
103268 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
103270 if test x$glibcxx_cv_func_logl_use = x"yes"; then
103272 for ac_func in logl
103274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103275 echo "$as_me:$LINENO: checking for $ac_func" >&5
103276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103277 if eval "test \"\${$as_ac_var+set}\" = set"; then
103278 echo $ECHO_N "(cached) $ECHO_C" >&6
103280 if test x$gcc_no_link = xyes; then
103281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103283 { (exit 1); exit 1; }; }
103285 cat >conftest.$ac_ext <<_ACEOF
103286 /* confdefs.h. */
103287 _ACEOF
103288 cat confdefs.h >>conftest.$ac_ext
103289 cat >>conftest.$ac_ext <<_ACEOF
103290 /* end confdefs.h. */
103291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103293 #define $ac_func innocuous_$ac_func
103295 /* System header to define __stub macros and hopefully few prototypes,
103296 which can conflict with char $ac_func (); below.
103297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103298 <limits.h> exists even on freestanding compilers. */
103300 #ifdef __STDC__
103301 # include <limits.h>
103302 #else
103303 # include <assert.h>
103304 #endif
103306 #undef $ac_func
103308 /* Override any gcc2 internal prototype to avoid an error. */
103309 #ifdef __cplusplus
103310 extern "C"
103312 #endif
103313 /* We use char because int might match the return type of a gcc2
103314 builtin and then its argument prototype would still apply. */
103315 char $ac_func ();
103316 /* The GNU C library defines this for functions which it implements
103317 to always fail with ENOSYS. Some functions are actually named
103318 something starting with __ and the normal name is an alias. */
103319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103320 choke me
103321 #else
103322 char (*f) () = $ac_func;
103323 #endif
103324 #ifdef __cplusplus
103326 #endif
103329 main ()
103331 return f != $ac_func;
103333 return 0;
103335 _ACEOF
103336 rm -f conftest.$ac_objext conftest$ac_exeext
103337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103338 (eval $ac_link) 2>conftest.er1
103339 ac_status=$?
103340 grep -v '^ *+' conftest.er1 >conftest.err
103341 rm -f conftest.er1
103342 cat conftest.err >&5
103343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103344 (exit $ac_status); } &&
103345 { ac_try='test -z "$ac_c_werror_flag"
103346 || test ! -s conftest.err'
103347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103348 (eval $ac_try) 2>&5
103349 ac_status=$?
103350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103351 (exit $ac_status); }; } &&
103352 { ac_try='test -s conftest$ac_exeext'
103353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103354 (eval $ac_try) 2>&5
103355 ac_status=$?
103356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103357 (exit $ac_status); }; }; then
103358 eval "$as_ac_var=yes"
103360 echo "$as_me: failed program was:" >&5
103361 sed 's/^/| /' conftest.$ac_ext >&5
103363 eval "$as_ac_var=no"
103365 rm -f conftest.err conftest.$ac_objext \
103366 conftest$ac_exeext conftest.$ac_ext
103368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103370 if test `eval echo '${'$as_ac_var'}'` = yes; then
103371 cat >>confdefs.h <<_ACEOF
103372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103373 _ACEOF
103380 echo "$as_me:$LINENO: checking for _logl declaration" >&5
103381 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
103382 if test x${glibcxx_cv_func__logl_use+set} != xset; then
103383 if test "${glibcxx_cv_func__logl_use+set}" = set; then
103384 echo $ECHO_N "(cached) $ECHO_C" >&6
103389 ac_ext=cc
103390 ac_cpp='$CXXCPP $CPPFLAGS'
103391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103395 cat >conftest.$ac_ext <<_ACEOF
103396 /* confdefs.h. */
103397 _ACEOF
103398 cat confdefs.h >>conftest.$ac_ext
103399 cat >>conftest.$ac_ext <<_ACEOF
103400 /* end confdefs.h. */
103401 #include <math.h>
103402 #ifdef HAVE_IEEEFP_H
103403 #include <ieeefp.h>
103404 #endif
103407 main ()
103409 _logl(0);
103411 return 0;
103413 _ACEOF
103414 rm -f conftest.$ac_objext
103415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103416 (eval $ac_compile) 2>conftest.er1
103417 ac_status=$?
103418 grep -v '^ *+' conftest.er1 >conftest.err
103419 rm -f conftest.er1
103420 cat conftest.err >&5
103421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103422 (exit $ac_status); } &&
103423 { ac_try='test -z "$ac_cxx_werror_flag"
103424 || test ! -s conftest.err'
103425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103426 (eval $ac_try) 2>&5
103427 ac_status=$?
103428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103429 (exit $ac_status); }; } &&
103430 { ac_try='test -s conftest.$ac_objext'
103431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103432 (eval $ac_try) 2>&5
103433 ac_status=$?
103434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103435 (exit $ac_status); }; }; then
103436 glibcxx_cv_func__logl_use=yes
103438 echo "$as_me: failed program was:" >&5
103439 sed 's/^/| /' conftest.$ac_ext >&5
103441 glibcxx_cv_func__logl_use=no
103443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103444 ac_ext=c
103445 ac_cpp='$CPP $CPPFLAGS'
103446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
103455 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
103457 if test x$glibcxx_cv_func__logl_use = x"yes"; then
103459 for ac_func in _logl
103461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103462 echo "$as_me:$LINENO: checking for $ac_func" >&5
103463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103464 if eval "test \"\${$as_ac_var+set}\" = set"; then
103465 echo $ECHO_N "(cached) $ECHO_C" >&6
103467 if test x$gcc_no_link = xyes; then
103468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103470 { (exit 1); exit 1; }; }
103472 cat >conftest.$ac_ext <<_ACEOF
103473 /* confdefs.h. */
103474 _ACEOF
103475 cat confdefs.h >>conftest.$ac_ext
103476 cat >>conftest.$ac_ext <<_ACEOF
103477 /* end confdefs.h. */
103478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103480 #define $ac_func innocuous_$ac_func
103482 /* System header to define __stub macros and hopefully few prototypes,
103483 which can conflict with char $ac_func (); below.
103484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103485 <limits.h> exists even on freestanding compilers. */
103487 #ifdef __STDC__
103488 # include <limits.h>
103489 #else
103490 # include <assert.h>
103491 #endif
103493 #undef $ac_func
103495 /* Override any gcc2 internal prototype to avoid an error. */
103496 #ifdef __cplusplus
103497 extern "C"
103499 #endif
103500 /* We use char because int might match the return type of a gcc2
103501 builtin and then its argument prototype would still apply. */
103502 char $ac_func ();
103503 /* The GNU C library defines this for functions which it implements
103504 to always fail with ENOSYS. Some functions are actually named
103505 something starting with __ and the normal name is an alias. */
103506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103507 choke me
103508 #else
103509 char (*f) () = $ac_func;
103510 #endif
103511 #ifdef __cplusplus
103513 #endif
103516 main ()
103518 return f != $ac_func;
103520 return 0;
103522 _ACEOF
103523 rm -f conftest.$ac_objext conftest$ac_exeext
103524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103525 (eval $ac_link) 2>conftest.er1
103526 ac_status=$?
103527 grep -v '^ *+' conftest.er1 >conftest.err
103528 rm -f conftest.er1
103529 cat conftest.err >&5
103530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103531 (exit $ac_status); } &&
103532 { ac_try='test -z "$ac_c_werror_flag"
103533 || test ! -s conftest.err'
103534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103535 (eval $ac_try) 2>&5
103536 ac_status=$?
103537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103538 (exit $ac_status); }; } &&
103539 { ac_try='test -s conftest$ac_exeext'
103540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103541 (eval $ac_try) 2>&5
103542 ac_status=$?
103543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103544 (exit $ac_status); }; }; then
103545 eval "$as_ac_var=yes"
103547 echo "$as_me: failed program was:" >&5
103548 sed 's/^/| /' conftest.$ac_ext >&5
103550 eval "$as_ac_var=no"
103552 rm -f conftest.err conftest.$ac_objext \
103553 conftest$ac_exeext conftest.$ac_ext
103555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103557 if test `eval echo '${'$as_ac_var'}'` = yes; then
103558 cat >>confdefs.h <<_ACEOF
103559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103560 _ACEOF
103573 echo "$as_me:$LINENO: checking for log10l declaration" >&5
103574 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103575 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103576 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103577 echo $ECHO_N "(cached) $ECHO_C" >&6
103582 ac_ext=cc
103583 ac_cpp='$CXXCPP $CPPFLAGS'
103584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103588 cat >conftest.$ac_ext <<_ACEOF
103589 /* confdefs.h. */
103590 _ACEOF
103591 cat confdefs.h >>conftest.$ac_ext
103592 cat >>conftest.$ac_ext <<_ACEOF
103593 /* end confdefs.h. */
103594 #include <math.h>
103595 #ifdef HAVE_IEEEFP_H
103596 #include <ieeefp.h>
103597 #endif
103600 main ()
103602 log10l(0);
103604 return 0;
103606 _ACEOF
103607 rm -f conftest.$ac_objext
103608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103609 (eval $ac_compile) 2>conftest.er1
103610 ac_status=$?
103611 grep -v '^ *+' conftest.er1 >conftest.err
103612 rm -f conftest.er1
103613 cat conftest.err >&5
103614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103615 (exit $ac_status); } &&
103616 { ac_try='test -z "$ac_cxx_werror_flag"
103617 || test ! -s conftest.err'
103618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103619 (eval $ac_try) 2>&5
103620 ac_status=$?
103621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103622 (exit $ac_status); }; } &&
103623 { ac_try='test -s conftest.$ac_objext'
103624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103625 (eval $ac_try) 2>&5
103626 ac_status=$?
103627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103628 (exit $ac_status); }; }; then
103629 glibcxx_cv_func_log10l_use=yes
103631 echo "$as_me: failed program was:" >&5
103632 sed 's/^/| /' conftest.$ac_ext >&5
103634 glibcxx_cv_func_log10l_use=no
103636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103637 ac_ext=c
103638 ac_cpp='$CPP $CPPFLAGS'
103639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103648 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103650 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103652 for ac_func in log10l
103654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103655 echo "$as_me:$LINENO: checking for $ac_func" >&5
103656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103657 if eval "test \"\${$as_ac_var+set}\" = set"; then
103658 echo $ECHO_N "(cached) $ECHO_C" >&6
103660 if test x$gcc_no_link = xyes; then
103661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103663 { (exit 1); exit 1; }; }
103665 cat >conftest.$ac_ext <<_ACEOF
103666 /* confdefs.h. */
103667 _ACEOF
103668 cat confdefs.h >>conftest.$ac_ext
103669 cat >>conftest.$ac_ext <<_ACEOF
103670 /* end confdefs.h. */
103671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103673 #define $ac_func innocuous_$ac_func
103675 /* System header to define __stub macros and hopefully few prototypes,
103676 which can conflict with char $ac_func (); below.
103677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103678 <limits.h> exists even on freestanding compilers. */
103680 #ifdef __STDC__
103681 # include <limits.h>
103682 #else
103683 # include <assert.h>
103684 #endif
103686 #undef $ac_func
103688 /* Override any gcc2 internal prototype to avoid an error. */
103689 #ifdef __cplusplus
103690 extern "C"
103692 #endif
103693 /* We use char because int might match the return type of a gcc2
103694 builtin and then its argument prototype would still apply. */
103695 char $ac_func ();
103696 /* The GNU C library defines this for functions which it implements
103697 to always fail with ENOSYS. Some functions are actually named
103698 something starting with __ and the normal name is an alias. */
103699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103700 choke me
103701 #else
103702 char (*f) () = $ac_func;
103703 #endif
103704 #ifdef __cplusplus
103706 #endif
103709 main ()
103711 return f != $ac_func;
103713 return 0;
103715 _ACEOF
103716 rm -f conftest.$ac_objext conftest$ac_exeext
103717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103718 (eval $ac_link) 2>conftest.er1
103719 ac_status=$?
103720 grep -v '^ *+' conftest.er1 >conftest.err
103721 rm -f conftest.er1
103722 cat conftest.err >&5
103723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103724 (exit $ac_status); } &&
103725 { ac_try='test -z "$ac_c_werror_flag"
103726 || test ! -s conftest.err'
103727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103728 (eval $ac_try) 2>&5
103729 ac_status=$?
103730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103731 (exit $ac_status); }; } &&
103732 { ac_try='test -s conftest$ac_exeext'
103733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103734 (eval $ac_try) 2>&5
103735 ac_status=$?
103736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103737 (exit $ac_status); }; }; then
103738 eval "$as_ac_var=yes"
103740 echo "$as_me: failed program was:" >&5
103741 sed 's/^/| /' conftest.$ac_ext >&5
103743 eval "$as_ac_var=no"
103745 rm -f conftest.err conftest.$ac_objext \
103746 conftest$ac_exeext conftest.$ac_ext
103748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103750 if test `eval echo '${'$as_ac_var'}'` = yes; then
103751 cat >>confdefs.h <<_ACEOF
103752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103753 _ACEOF
103760 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103761 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103762 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103763 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103764 echo $ECHO_N "(cached) $ECHO_C" >&6
103769 ac_ext=cc
103770 ac_cpp='$CXXCPP $CPPFLAGS'
103771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103775 cat >conftest.$ac_ext <<_ACEOF
103776 /* confdefs.h. */
103777 _ACEOF
103778 cat confdefs.h >>conftest.$ac_ext
103779 cat >>conftest.$ac_ext <<_ACEOF
103780 /* end confdefs.h. */
103781 #include <math.h>
103782 #ifdef HAVE_IEEEFP_H
103783 #include <ieeefp.h>
103784 #endif
103787 main ()
103789 _log10l(0);
103791 return 0;
103793 _ACEOF
103794 rm -f conftest.$ac_objext
103795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103796 (eval $ac_compile) 2>conftest.er1
103797 ac_status=$?
103798 grep -v '^ *+' conftest.er1 >conftest.err
103799 rm -f conftest.er1
103800 cat conftest.err >&5
103801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103802 (exit $ac_status); } &&
103803 { ac_try='test -z "$ac_cxx_werror_flag"
103804 || test ! -s conftest.err'
103805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103806 (eval $ac_try) 2>&5
103807 ac_status=$?
103808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103809 (exit $ac_status); }; } &&
103810 { ac_try='test -s conftest.$ac_objext'
103811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103812 (eval $ac_try) 2>&5
103813 ac_status=$?
103814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103815 (exit $ac_status); }; }; then
103816 glibcxx_cv_func__log10l_use=yes
103818 echo "$as_me: failed program was:" >&5
103819 sed 's/^/| /' conftest.$ac_ext >&5
103821 glibcxx_cv_func__log10l_use=no
103823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103824 ac_ext=c
103825 ac_cpp='$CPP $CPPFLAGS'
103826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103835 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103837 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103839 for ac_func in _log10l
103841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103842 echo "$as_me:$LINENO: checking for $ac_func" >&5
103843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103844 if eval "test \"\${$as_ac_var+set}\" = set"; then
103845 echo $ECHO_N "(cached) $ECHO_C" >&6
103847 if test x$gcc_no_link = xyes; then
103848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103850 { (exit 1); exit 1; }; }
103852 cat >conftest.$ac_ext <<_ACEOF
103853 /* confdefs.h. */
103854 _ACEOF
103855 cat confdefs.h >>conftest.$ac_ext
103856 cat >>conftest.$ac_ext <<_ACEOF
103857 /* end confdefs.h. */
103858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103860 #define $ac_func innocuous_$ac_func
103862 /* System header to define __stub macros and hopefully few prototypes,
103863 which can conflict with char $ac_func (); below.
103864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103865 <limits.h> exists even on freestanding compilers. */
103867 #ifdef __STDC__
103868 # include <limits.h>
103869 #else
103870 # include <assert.h>
103871 #endif
103873 #undef $ac_func
103875 /* Override any gcc2 internal prototype to avoid an error. */
103876 #ifdef __cplusplus
103877 extern "C"
103879 #endif
103880 /* We use char because int might match the return type of a gcc2
103881 builtin and then its argument prototype would still apply. */
103882 char $ac_func ();
103883 /* The GNU C library defines this for functions which it implements
103884 to always fail with ENOSYS. Some functions are actually named
103885 something starting with __ and the normal name is an alias. */
103886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103887 choke me
103888 #else
103889 char (*f) () = $ac_func;
103890 #endif
103891 #ifdef __cplusplus
103893 #endif
103896 main ()
103898 return f != $ac_func;
103900 return 0;
103902 _ACEOF
103903 rm -f conftest.$ac_objext conftest$ac_exeext
103904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103905 (eval $ac_link) 2>conftest.er1
103906 ac_status=$?
103907 grep -v '^ *+' conftest.er1 >conftest.err
103908 rm -f conftest.er1
103909 cat conftest.err >&5
103910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103911 (exit $ac_status); } &&
103912 { ac_try='test -z "$ac_c_werror_flag"
103913 || test ! -s conftest.err'
103914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103915 (eval $ac_try) 2>&5
103916 ac_status=$?
103917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103918 (exit $ac_status); }; } &&
103919 { ac_try='test -s conftest$ac_exeext'
103920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103921 (eval $ac_try) 2>&5
103922 ac_status=$?
103923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103924 (exit $ac_status); }; }; then
103925 eval "$as_ac_var=yes"
103927 echo "$as_me: failed program was:" >&5
103928 sed 's/^/| /' conftest.$ac_ext >&5
103930 eval "$as_ac_var=no"
103932 rm -f conftest.err conftest.$ac_objext \
103933 conftest$ac_exeext conftest.$ac_ext
103935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103937 if test `eval echo '${'$as_ac_var'}'` = yes; then
103938 cat >>confdefs.h <<_ACEOF
103939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103940 _ACEOF
103953 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103954 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103955 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103956 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103957 echo $ECHO_N "(cached) $ECHO_C" >&6
103962 ac_ext=cc
103963 ac_cpp='$CXXCPP $CPPFLAGS'
103964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103968 cat >conftest.$ac_ext <<_ACEOF
103969 /* confdefs.h. */
103970 _ACEOF
103971 cat confdefs.h >>conftest.$ac_ext
103972 cat >>conftest.$ac_ext <<_ACEOF
103973 /* end confdefs.h. */
103974 #include <math.h>
103976 main ()
103978 modfl(0, 0);
103980 return 0;
103982 _ACEOF
103983 rm -f conftest.$ac_objext
103984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103985 (eval $ac_compile) 2>conftest.er1
103986 ac_status=$?
103987 grep -v '^ *+' conftest.er1 >conftest.err
103988 rm -f conftest.er1
103989 cat conftest.err >&5
103990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103991 (exit $ac_status); } &&
103992 { ac_try='test -z "$ac_cxx_werror_flag"
103993 || test ! -s conftest.err'
103994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103995 (eval $ac_try) 2>&5
103996 ac_status=$?
103997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103998 (exit $ac_status); }; } &&
103999 { ac_try='test -s conftest.$ac_objext'
104000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104001 (eval $ac_try) 2>&5
104002 ac_status=$?
104003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104004 (exit $ac_status); }; }; then
104005 glibcxx_cv_func_modfl_use=yes
104007 echo "$as_me: failed program was:" >&5
104008 sed 's/^/| /' conftest.$ac_ext >&5
104010 glibcxx_cv_func_modfl_use=no
104012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104013 ac_ext=c
104014 ac_cpp='$CPP $CPPFLAGS'
104015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104023 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
104024 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
104026 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
104028 for ac_func in modfl
104030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104031 echo "$as_me:$LINENO: checking for $ac_func" >&5
104032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104033 if eval "test \"\${$as_ac_var+set}\" = set"; then
104034 echo $ECHO_N "(cached) $ECHO_C" >&6
104036 if test x$gcc_no_link = xyes; then
104037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104039 { (exit 1); exit 1; }; }
104041 cat >conftest.$ac_ext <<_ACEOF
104042 /* confdefs.h. */
104043 _ACEOF
104044 cat confdefs.h >>conftest.$ac_ext
104045 cat >>conftest.$ac_ext <<_ACEOF
104046 /* end confdefs.h. */
104047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104049 #define $ac_func innocuous_$ac_func
104051 /* System header to define __stub macros and hopefully few prototypes,
104052 which can conflict with char $ac_func (); below.
104053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104054 <limits.h> exists even on freestanding compilers. */
104056 #ifdef __STDC__
104057 # include <limits.h>
104058 #else
104059 # include <assert.h>
104060 #endif
104062 #undef $ac_func
104064 /* Override any gcc2 internal prototype to avoid an error. */
104065 #ifdef __cplusplus
104066 extern "C"
104068 #endif
104069 /* We use char because int might match the return type of a gcc2
104070 builtin and then its argument prototype would still apply. */
104071 char $ac_func ();
104072 /* The GNU C library defines this for functions which it implements
104073 to always fail with ENOSYS. Some functions are actually named
104074 something starting with __ and the normal name is an alias. */
104075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104076 choke me
104077 #else
104078 char (*f) () = $ac_func;
104079 #endif
104080 #ifdef __cplusplus
104082 #endif
104085 main ()
104087 return f != $ac_func;
104089 return 0;
104091 _ACEOF
104092 rm -f conftest.$ac_objext conftest$ac_exeext
104093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104094 (eval $ac_link) 2>conftest.er1
104095 ac_status=$?
104096 grep -v '^ *+' conftest.er1 >conftest.err
104097 rm -f conftest.er1
104098 cat conftest.err >&5
104099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104100 (exit $ac_status); } &&
104101 { ac_try='test -z "$ac_c_werror_flag"
104102 || test ! -s conftest.err'
104103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104104 (eval $ac_try) 2>&5
104105 ac_status=$?
104106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104107 (exit $ac_status); }; } &&
104108 { ac_try='test -s conftest$ac_exeext'
104109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104110 (eval $ac_try) 2>&5
104111 ac_status=$?
104112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104113 (exit $ac_status); }; }; then
104114 eval "$as_ac_var=yes"
104116 echo "$as_me: failed program was:" >&5
104117 sed 's/^/| /' conftest.$ac_ext >&5
104119 eval "$as_ac_var=no"
104121 rm -f conftest.err conftest.$ac_objext \
104122 conftest$ac_exeext conftest.$ac_ext
104124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104126 if test `eval echo '${'$as_ac_var'}'` = yes; then
104127 cat >>confdefs.h <<_ACEOF
104128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104129 _ACEOF
104136 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
104137 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
104138 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
104139 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
104140 echo $ECHO_N "(cached) $ECHO_C" >&6
104145 ac_ext=cc
104146 ac_cpp='$CXXCPP $CPPFLAGS'
104147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104151 cat >conftest.$ac_ext <<_ACEOF
104152 /* confdefs.h. */
104153 _ACEOF
104154 cat confdefs.h >>conftest.$ac_ext
104155 cat >>conftest.$ac_ext <<_ACEOF
104156 /* end confdefs.h. */
104157 #include <math.h>
104159 main ()
104161 _modfl(0, 0);
104163 return 0;
104165 _ACEOF
104166 rm -f conftest.$ac_objext
104167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104168 (eval $ac_compile) 2>conftest.er1
104169 ac_status=$?
104170 grep -v '^ *+' conftest.er1 >conftest.err
104171 rm -f conftest.er1
104172 cat conftest.err >&5
104173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104174 (exit $ac_status); } &&
104175 { ac_try='test -z "$ac_cxx_werror_flag"
104176 || test ! -s conftest.err'
104177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104178 (eval $ac_try) 2>&5
104179 ac_status=$?
104180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104181 (exit $ac_status); }; } &&
104182 { ac_try='test -s conftest.$ac_objext'
104183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104184 (eval $ac_try) 2>&5
104185 ac_status=$?
104186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104187 (exit $ac_status); }; }; then
104188 glibcxx_cv_func__modfl_use=yes
104190 echo "$as_me: failed program was:" >&5
104191 sed 's/^/| /' conftest.$ac_ext >&5
104193 glibcxx_cv_func__modfl_use=no
104195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104196 ac_ext=c
104197 ac_cpp='$CPP $CPPFLAGS'
104198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
104207 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
104209 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
104211 for ac_func in _modfl
104213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104214 echo "$as_me:$LINENO: checking for $ac_func" >&5
104215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104216 if eval "test \"\${$as_ac_var+set}\" = set"; then
104217 echo $ECHO_N "(cached) $ECHO_C" >&6
104219 if test x$gcc_no_link = xyes; then
104220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104222 { (exit 1); exit 1; }; }
104224 cat >conftest.$ac_ext <<_ACEOF
104225 /* confdefs.h. */
104226 _ACEOF
104227 cat confdefs.h >>conftest.$ac_ext
104228 cat >>conftest.$ac_ext <<_ACEOF
104229 /* end confdefs.h. */
104230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104232 #define $ac_func innocuous_$ac_func
104234 /* System header to define __stub macros and hopefully few prototypes,
104235 which can conflict with char $ac_func (); below.
104236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104237 <limits.h> exists even on freestanding compilers. */
104239 #ifdef __STDC__
104240 # include <limits.h>
104241 #else
104242 # include <assert.h>
104243 #endif
104245 #undef $ac_func
104247 /* Override any gcc2 internal prototype to avoid an error. */
104248 #ifdef __cplusplus
104249 extern "C"
104251 #endif
104252 /* We use char because int might match the return type of a gcc2
104253 builtin and then its argument prototype would still apply. */
104254 char $ac_func ();
104255 /* The GNU C library defines this for functions which it implements
104256 to always fail with ENOSYS. Some functions are actually named
104257 something starting with __ and the normal name is an alias. */
104258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104259 choke me
104260 #else
104261 char (*f) () = $ac_func;
104262 #endif
104263 #ifdef __cplusplus
104265 #endif
104268 main ()
104270 return f != $ac_func;
104272 return 0;
104274 _ACEOF
104275 rm -f conftest.$ac_objext conftest$ac_exeext
104276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104277 (eval $ac_link) 2>conftest.er1
104278 ac_status=$?
104279 grep -v '^ *+' conftest.er1 >conftest.err
104280 rm -f conftest.er1
104281 cat conftest.err >&5
104282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104283 (exit $ac_status); } &&
104284 { ac_try='test -z "$ac_c_werror_flag"
104285 || test ! -s conftest.err'
104286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104287 (eval $ac_try) 2>&5
104288 ac_status=$?
104289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104290 (exit $ac_status); }; } &&
104291 { ac_try='test -s conftest$ac_exeext'
104292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104293 (eval $ac_try) 2>&5
104294 ac_status=$?
104295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104296 (exit $ac_status); }; }; then
104297 eval "$as_ac_var=yes"
104299 echo "$as_me: failed program was:" >&5
104300 sed 's/^/| /' conftest.$ac_ext >&5
104302 eval "$as_ac_var=no"
104304 rm -f conftest.err conftest.$ac_objext \
104305 conftest$ac_exeext conftest.$ac_ext
104307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104309 if test `eval echo '${'$as_ac_var'}'` = yes; then
104310 cat >>confdefs.h <<_ACEOF
104311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104312 _ACEOF
104325 echo "$as_me:$LINENO: checking for powl declaration" >&5
104326 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
104327 if test x${glibcxx_cv_func_powl_use+set} != xset; then
104328 if test "${glibcxx_cv_func_powl_use+set}" = set; then
104329 echo $ECHO_N "(cached) $ECHO_C" >&6
104334 ac_ext=cc
104335 ac_cpp='$CXXCPP $CPPFLAGS'
104336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104340 cat >conftest.$ac_ext <<_ACEOF
104341 /* confdefs.h. */
104342 _ACEOF
104343 cat confdefs.h >>conftest.$ac_ext
104344 cat >>conftest.$ac_ext <<_ACEOF
104345 /* end confdefs.h. */
104346 #include <math.h>
104348 main ()
104350 powl(0, 0);
104352 return 0;
104354 _ACEOF
104355 rm -f conftest.$ac_objext
104356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104357 (eval $ac_compile) 2>conftest.er1
104358 ac_status=$?
104359 grep -v '^ *+' conftest.er1 >conftest.err
104360 rm -f conftest.er1
104361 cat conftest.err >&5
104362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104363 (exit $ac_status); } &&
104364 { ac_try='test -z "$ac_cxx_werror_flag"
104365 || test ! -s conftest.err'
104366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104367 (eval $ac_try) 2>&5
104368 ac_status=$?
104369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104370 (exit $ac_status); }; } &&
104371 { ac_try='test -s conftest.$ac_objext'
104372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104373 (eval $ac_try) 2>&5
104374 ac_status=$?
104375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104376 (exit $ac_status); }; }; then
104377 glibcxx_cv_func_powl_use=yes
104379 echo "$as_me: failed program was:" >&5
104380 sed 's/^/| /' conftest.$ac_ext >&5
104382 glibcxx_cv_func_powl_use=no
104384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104385 ac_ext=c
104386 ac_cpp='$CPP $CPPFLAGS'
104387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
104396 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
104398 if test x$glibcxx_cv_func_powl_use = x"yes"; then
104400 for ac_func in powl
104402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104403 echo "$as_me:$LINENO: checking for $ac_func" >&5
104404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104405 if eval "test \"\${$as_ac_var+set}\" = set"; then
104406 echo $ECHO_N "(cached) $ECHO_C" >&6
104408 if test x$gcc_no_link = xyes; then
104409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104411 { (exit 1); exit 1; }; }
104413 cat >conftest.$ac_ext <<_ACEOF
104414 /* confdefs.h. */
104415 _ACEOF
104416 cat confdefs.h >>conftest.$ac_ext
104417 cat >>conftest.$ac_ext <<_ACEOF
104418 /* end confdefs.h. */
104419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104421 #define $ac_func innocuous_$ac_func
104423 /* System header to define __stub macros and hopefully few prototypes,
104424 which can conflict with char $ac_func (); below.
104425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104426 <limits.h> exists even on freestanding compilers. */
104428 #ifdef __STDC__
104429 # include <limits.h>
104430 #else
104431 # include <assert.h>
104432 #endif
104434 #undef $ac_func
104436 /* Override any gcc2 internal prototype to avoid an error. */
104437 #ifdef __cplusplus
104438 extern "C"
104440 #endif
104441 /* We use char because int might match the return type of a gcc2
104442 builtin and then its argument prototype would still apply. */
104443 char $ac_func ();
104444 /* The GNU C library defines this for functions which it implements
104445 to always fail with ENOSYS. Some functions are actually named
104446 something starting with __ and the normal name is an alias. */
104447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104448 choke me
104449 #else
104450 char (*f) () = $ac_func;
104451 #endif
104452 #ifdef __cplusplus
104454 #endif
104457 main ()
104459 return f != $ac_func;
104461 return 0;
104463 _ACEOF
104464 rm -f conftest.$ac_objext conftest$ac_exeext
104465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104466 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
104488 echo "$as_me: failed program was:" >&5
104489 sed 's/^/| /' conftest.$ac_ext >&5
104491 eval "$as_ac_var=no"
104493 rm -f conftest.err conftest.$ac_objext \
104494 conftest$ac_exeext conftest.$ac_ext
104496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104498 if test `eval echo '${'$as_ac_var'}'` = yes; then
104499 cat >>confdefs.h <<_ACEOF
104500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104501 _ACEOF
104508 echo "$as_me:$LINENO: checking for _powl declaration" >&5
104509 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
104510 if test x${glibcxx_cv_func__powl_use+set} != xset; then
104511 if test "${glibcxx_cv_func__powl_use+set}" = set; then
104512 echo $ECHO_N "(cached) $ECHO_C" >&6
104517 ac_ext=cc
104518 ac_cpp='$CXXCPP $CPPFLAGS'
104519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104523 cat >conftest.$ac_ext <<_ACEOF
104524 /* confdefs.h. */
104525 _ACEOF
104526 cat confdefs.h >>conftest.$ac_ext
104527 cat >>conftest.$ac_ext <<_ACEOF
104528 /* end confdefs.h. */
104529 #include <math.h>
104531 main ()
104533 _powl(0, 0);
104535 return 0;
104537 _ACEOF
104538 rm -f conftest.$ac_objext
104539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104540 (eval $ac_compile) 2>conftest.er1
104541 ac_status=$?
104542 grep -v '^ *+' conftest.er1 >conftest.err
104543 rm -f conftest.er1
104544 cat conftest.err >&5
104545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104546 (exit $ac_status); } &&
104547 { ac_try='test -z "$ac_cxx_werror_flag"
104548 || test ! -s conftest.err'
104549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104550 (eval $ac_try) 2>&5
104551 ac_status=$?
104552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104553 (exit $ac_status); }; } &&
104554 { ac_try='test -s conftest.$ac_objext'
104555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104556 (eval $ac_try) 2>&5
104557 ac_status=$?
104558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104559 (exit $ac_status); }; }; then
104560 glibcxx_cv_func__powl_use=yes
104562 echo "$as_me: failed program was:" >&5
104563 sed 's/^/| /' conftest.$ac_ext >&5
104565 glibcxx_cv_func__powl_use=no
104567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104568 ac_ext=c
104569 ac_cpp='$CPP $CPPFLAGS'
104570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104579 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104581 if test x$glibcxx_cv_func__powl_use = x"yes"; then
104583 for ac_func in _powl
104585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104586 echo "$as_me:$LINENO: checking for $ac_func" >&5
104587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104588 if eval "test \"\${$as_ac_var+set}\" = set"; then
104589 echo $ECHO_N "(cached) $ECHO_C" >&6
104591 if test x$gcc_no_link = xyes; then
104592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104594 { (exit 1); exit 1; }; }
104596 cat >conftest.$ac_ext <<_ACEOF
104597 /* confdefs.h. */
104598 _ACEOF
104599 cat confdefs.h >>conftest.$ac_ext
104600 cat >>conftest.$ac_ext <<_ACEOF
104601 /* end confdefs.h. */
104602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104604 #define $ac_func innocuous_$ac_func
104606 /* System header to define __stub macros and hopefully few prototypes,
104607 which can conflict with char $ac_func (); below.
104608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104609 <limits.h> exists even on freestanding compilers. */
104611 #ifdef __STDC__
104612 # include <limits.h>
104613 #else
104614 # include <assert.h>
104615 #endif
104617 #undef $ac_func
104619 /* Override any gcc2 internal prototype to avoid an error. */
104620 #ifdef __cplusplus
104621 extern "C"
104623 #endif
104624 /* We use char because int might match the return type of a gcc2
104625 builtin and then its argument prototype would still apply. */
104626 char $ac_func ();
104627 /* The GNU C library defines this for functions which it implements
104628 to always fail with ENOSYS. Some functions are actually named
104629 something starting with __ and the normal name is an alias. */
104630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104631 choke me
104632 #else
104633 char (*f) () = $ac_func;
104634 #endif
104635 #ifdef __cplusplus
104637 #endif
104640 main ()
104642 return f != $ac_func;
104644 return 0;
104646 _ACEOF
104647 rm -f conftest.$ac_objext conftest$ac_exeext
104648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104649 (eval $ac_link) 2>conftest.er1
104650 ac_status=$?
104651 grep -v '^ *+' conftest.er1 >conftest.err
104652 rm -f conftest.er1
104653 cat conftest.err >&5
104654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104655 (exit $ac_status); } &&
104656 { ac_try='test -z "$ac_c_werror_flag"
104657 || test ! -s conftest.err'
104658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104659 (eval $ac_try) 2>&5
104660 ac_status=$?
104661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104662 (exit $ac_status); }; } &&
104663 { ac_try='test -s conftest$ac_exeext'
104664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104665 (eval $ac_try) 2>&5
104666 ac_status=$?
104667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104668 (exit $ac_status); }; }; then
104669 eval "$as_ac_var=yes"
104671 echo "$as_me: failed program was:" >&5
104672 sed 's/^/| /' conftest.$ac_ext >&5
104674 eval "$as_ac_var=no"
104676 rm -f conftest.err conftest.$ac_objext \
104677 conftest$ac_exeext conftest.$ac_ext
104679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104681 if test `eval echo '${'$as_ac_var'}'` = yes; then
104682 cat >>confdefs.h <<_ACEOF
104683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104684 _ACEOF
104697 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104698 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104699 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104700 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104701 echo $ECHO_N "(cached) $ECHO_C" >&6
104706 ac_ext=cc
104707 ac_cpp='$CXXCPP $CPPFLAGS'
104708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104712 cat >conftest.$ac_ext <<_ACEOF
104713 /* confdefs.h. */
104714 _ACEOF
104715 cat confdefs.h >>conftest.$ac_ext
104716 cat >>conftest.$ac_ext <<_ACEOF
104717 /* end confdefs.h. */
104718 #include <math.h>
104719 #ifdef HAVE_IEEEFP_H
104720 #include <ieeefp.h>
104721 #endif
104724 main ()
104726 sqrtl(0);
104728 return 0;
104730 _ACEOF
104731 rm -f conftest.$ac_objext
104732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104733 (eval $ac_compile) 2>conftest.er1
104734 ac_status=$?
104735 grep -v '^ *+' conftest.er1 >conftest.err
104736 rm -f conftest.er1
104737 cat conftest.err >&5
104738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104739 (exit $ac_status); } &&
104740 { ac_try='test -z "$ac_cxx_werror_flag"
104741 || test ! -s conftest.err'
104742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104743 (eval $ac_try) 2>&5
104744 ac_status=$?
104745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104746 (exit $ac_status); }; } &&
104747 { ac_try='test -s conftest.$ac_objext'
104748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104749 (eval $ac_try) 2>&5
104750 ac_status=$?
104751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104752 (exit $ac_status); }; }; then
104753 glibcxx_cv_func_sqrtl_use=yes
104755 echo "$as_me: failed program was:" >&5
104756 sed 's/^/| /' conftest.$ac_ext >&5
104758 glibcxx_cv_func_sqrtl_use=no
104760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104761 ac_ext=c
104762 ac_cpp='$CPP $CPPFLAGS'
104763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104772 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104774 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104776 for ac_func in sqrtl
104778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104779 echo "$as_me:$LINENO: checking for $ac_func" >&5
104780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104781 if eval "test \"\${$as_ac_var+set}\" = set"; then
104782 echo $ECHO_N "(cached) $ECHO_C" >&6
104784 if test x$gcc_no_link = xyes; then
104785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104787 { (exit 1); exit 1; }; }
104789 cat >conftest.$ac_ext <<_ACEOF
104790 /* confdefs.h. */
104791 _ACEOF
104792 cat confdefs.h >>conftest.$ac_ext
104793 cat >>conftest.$ac_ext <<_ACEOF
104794 /* end confdefs.h. */
104795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104797 #define $ac_func innocuous_$ac_func
104799 /* System header to define __stub macros and hopefully few prototypes,
104800 which can conflict with char $ac_func (); below.
104801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104802 <limits.h> exists even on freestanding compilers. */
104804 #ifdef __STDC__
104805 # include <limits.h>
104806 #else
104807 # include <assert.h>
104808 #endif
104810 #undef $ac_func
104812 /* Override any gcc2 internal prototype to avoid an error. */
104813 #ifdef __cplusplus
104814 extern "C"
104816 #endif
104817 /* We use char because int might match the return type of a gcc2
104818 builtin and then its argument prototype would still apply. */
104819 char $ac_func ();
104820 /* The GNU C library defines this for functions which it implements
104821 to always fail with ENOSYS. Some functions are actually named
104822 something starting with __ and the normal name is an alias. */
104823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104824 choke me
104825 #else
104826 char (*f) () = $ac_func;
104827 #endif
104828 #ifdef __cplusplus
104830 #endif
104833 main ()
104835 return f != $ac_func;
104837 return 0;
104839 _ACEOF
104840 rm -f conftest.$ac_objext conftest$ac_exeext
104841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104842 (eval $ac_link) 2>conftest.er1
104843 ac_status=$?
104844 grep -v '^ *+' conftest.er1 >conftest.err
104845 rm -f conftest.er1
104846 cat conftest.err >&5
104847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104848 (exit $ac_status); } &&
104849 { ac_try='test -z "$ac_c_werror_flag"
104850 || test ! -s conftest.err'
104851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104852 (eval $ac_try) 2>&5
104853 ac_status=$?
104854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104855 (exit $ac_status); }; } &&
104856 { ac_try='test -s conftest$ac_exeext'
104857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104858 (eval $ac_try) 2>&5
104859 ac_status=$?
104860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104861 (exit $ac_status); }; }; then
104862 eval "$as_ac_var=yes"
104864 echo "$as_me: failed program was:" >&5
104865 sed 's/^/| /' conftest.$ac_ext >&5
104867 eval "$as_ac_var=no"
104869 rm -f conftest.err conftest.$ac_objext \
104870 conftest$ac_exeext conftest.$ac_ext
104872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104874 if test `eval echo '${'$as_ac_var'}'` = yes; then
104875 cat >>confdefs.h <<_ACEOF
104876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104877 _ACEOF
104884 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104885 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104886 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104887 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104888 echo $ECHO_N "(cached) $ECHO_C" >&6
104893 ac_ext=cc
104894 ac_cpp='$CXXCPP $CPPFLAGS'
104895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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>
104906 #ifdef HAVE_IEEEFP_H
104907 #include <ieeefp.h>
104908 #endif
104911 main ()
104913 _sqrtl(0);
104915 return 0;
104917 _ACEOF
104918 rm -f conftest.$ac_objext
104919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104920 (eval $ac_compile) 2>conftest.er1
104921 ac_status=$?
104922 grep -v '^ *+' conftest.er1 >conftest.err
104923 rm -f conftest.er1
104924 cat conftest.err >&5
104925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104926 (exit $ac_status); } &&
104927 { ac_try='test -z "$ac_cxx_werror_flag"
104928 || test ! -s conftest.err'
104929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104930 (eval $ac_try) 2>&5
104931 ac_status=$?
104932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104933 (exit $ac_status); }; } &&
104934 { ac_try='test -s conftest.$ac_objext'
104935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104936 (eval $ac_try) 2>&5
104937 ac_status=$?
104938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104939 (exit $ac_status); }; }; then
104940 glibcxx_cv_func__sqrtl_use=yes
104942 echo "$as_me: failed program was:" >&5
104943 sed 's/^/| /' conftest.$ac_ext >&5
104945 glibcxx_cv_func__sqrtl_use=no
104947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104948 ac_ext=c
104949 ac_cpp='$CPP $CPPFLAGS'
104950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104959 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104961 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104963 for ac_func in _sqrtl
104965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104966 echo "$as_me:$LINENO: checking for $ac_func" >&5
104967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104968 if eval "test \"\${$as_ac_var+set}\" = set"; then
104969 echo $ECHO_N "(cached) $ECHO_C" >&6
104971 if test x$gcc_no_link = xyes; then
104972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104974 { (exit 1); exit 1; }; }
104976 cat >conftest.$ac_ext <<_ACEOF
104977 /* confdefs.h. */
104978 _ACEOF
104979 cat confdefs.h >>conftest.$ac_ext
104980 cat >>conftest.$ac_ext <<_ACEOF
104981 /* end confdefs.h. */
104982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104984 #define $ac_func innocuous_$ac_func
104986 /* System header to define __stub macros and hopefully few prototypes,
104987 which can conflict with char $ac_func (); below.
104988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104989 <limits.h> exists even on freestanding compilers. */
104991 #ifdef __STDC__
104992 # include <limits.h>
104993 #else
104994 # include <assert.h>
104995 #endif
104997 #undef $ac_func
104999 /* Override any gcc2 internal prototype to avoid an error. */
105000 #ifdef __cplusplus
105001 extern "C"
105003 #endif
105004 /* We use char because int might match the return type of a gcc2
105005 builtin and then its argument prototype would still apply. */
105006 char $ac_func ();
105007 /* The GNU C library defines this for functions which it implements
105008 to always fail with ENOSYS. Some functions are actually named
105009 something starting with __ and the normal name is an alias. */
105010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105011 choke me
105012 #else
105013 char (*f) () = $ac_func;
105014 #endif
105015 #ifdef __cplusplus
105017 #endif
105020 main ()
105022 return f != $ac_func;
105024 return 0;
105026 _ACEOF
105027 rm -f conftest.$ac_objext conftest$ac_exeext
105028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105029 (eval $ac_link) 2>conftest.er1
105030 ac_status=$?
105031 grep -v '^ *+' conftest.er1 >conftest.err
105032 rm -f conftest.er1
105033 cat conftest.err >&5
105034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105035 (exit $ac_status); } &&
105036 { ac_try='test -z "$ac_c_werror_flag"
105037 || test ! -s conftest.err'
105038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105039 (eval $ac_try) 2>&5
105040 ac_status=$?
105041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105042 (exit $ac_status); }; } &&
105043 { ac_try='test -s conftest$ac_exeext'
105044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105045 (eval $ac_try) 2>&5
105046 ac_status=$?
105047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105048 (exit $ac_status); }; }; then
105049 eval "$as_ac_var=yes"
105051 echo "$as_me: failed program was:" >&5
105052 sed 's/^/| /' conftest.$ac_ext >&5
105054 eval "$as_ac_var=no"
105056 rm -f conftest.err conftest.$ac_objext \
105057 conftest$ac_exeext conftest.$ac_ext
105059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105061 if test `eval echo '${'$as_ac_var'}'` = yes; then
105062 cat >>confdefs.h <<_ACEOF
105063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105064 _ACEOF
105077 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
105078 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
105079 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
105080 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
105081 echo $ECHO_N "(cached) $ECHO_C" >&6
105086 ac_ext=cc
105087 ac_cpp='$CXXCPP $CPPFLAGS'
105088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105092 cat >conftest.$ac_ext <<_ACEOF
105093 /* confdefs.h. */
105094 _ACEOF
105095 cat confdefs.h >>conftest.$ac_ext
105096 cat >>conftest.$ac_ext <<_ACEOF
105097 /* end confdefs.h. */
105098 #include <math.h>
105100 main ()
105102 sincosl(0, 0, 0);
105104 return 0;
105106 _ACEOF
105107 rm -f conftest.$ac_objext
105108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105109 (eval $ac_compile) 2>conftest.er1
105110 ac_status=$?
105111 grep -v '^ *+' conftest.er1 >conftest.err
105112 rm -f conftest.er1
105113 cat conftest.err >&5
105114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105115 (exit $ac_status); } &&
105116 { ac_try='test -z "$ac_cxx_werror_flag"
105117 || test ! -s conftest.err'
105118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105119 (eval $ac_try) 2>&5
105120 ac_status=$?
105121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105122 (exit $ac_status); }; } &&
105123 { ac_try='test -s conftest.$ac_objext'
105124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105125 (eval $ac_try) 2>&5
105126 ac_status=$?
105127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105128 (exit $ac_status); }; }; then
105129 glibcxx_cv_func_sincosl_use=yes
105131 echo "$as_me: failed program was:" >&5
105132 sed 's/^/| /' conftest.$ac_ext >&5
105134 glibcxx_cv_func_sincosl_use=no
105136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105137 ac_ext=c
105138 ac_cpp='$CPP $CPPFLAGS'
105139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
105148 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
105150 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
105152 for ac_func in sincosl
105154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105155 echo "$as_me:$LINENO: checking for $ac_func" >&5
105156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105157 if eval "test \"\${$as_ac_var+set}\" = set"; then
105158 echo $ECHO_N "(cached) $ECHO_C" >&6
105160 if test x$gcc_no_link = xyes; then
105161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105163 { (exit 1); exit 1; }; }
105165 cat >conftest.$ac_ext <<_ACEOF
105166 /* confdefs.h. */
105167 _ACEOF
105168 cat confdefs.h >>conftest.$ac_ext
105169 cat >>conftest.$ac_ext <<_ACEOF
105170 /* end confdefs.h. */
105171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105173 #define $ac_func innocuous_$ac_func
105175 /* System header to define __stub macros and hopefully few prototypes,
105176 which can conflict with char $ac_func (); below.
105177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105178 <limits.h> exists even on freestanding compilers. */
105180 #ifdef __STDC__
105181 # include <limits.h>
105182 #else
105183 # include <assert.h>
105184 #endif
105186 #undef $ac_func
105188 /* Override any gcc2 internal prototype to avoid an error. */
105189 #ifdef __cplusplus
105190 extern "C"
105192 #endif
105193 /* We use char because int might match the return type of a gcc2
105194 builtin and then its argument prototype would still apply. */
105195 char $ac_func ();
105196 /* The GNU C library defines this for functions which it implements
105197 to always fail with ENOSYS. Some functions are actually named
105198 something starting with __ and the normal name is an alias. */
105199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105200 choke me
105201 #else
105202 char (*f) () = $ac_func;
105203 #endif
105204 #ifdef __cplusplus
105206 #endif
105209 main ()
105211 return f != $ac_func;
105213 return 0;
105215 _ACEOF
105216 rm -f conftest.$ac_objext conftest$ac_exeext
105217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105218 (eval $ac_link) 2>conftest.er1
105219 ac_status=$?
105220 grep -v '^ *+' conftest.er1 >conftest.err
105221 rm -f conftest.er1
105222 cat conftest.err >&5
105223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105224 (exit $ac_status); } &&
105225 { ac_try='test -z "$ac_c_werror_flag"
105226 || test ! -s conftest.err'
105227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105228 (eval $ac_try) 2>&5
105229 ac_status=$?
105230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105231 (exit $ac_status); }; } &&
105232 { ac_try='test -s conftest$ac_exeext'
105233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105234 (eval $ac_try) 2>&5
105235 ac_status=$?
105236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105237 (exit $ac_status); }; }; then
105238 eval "$as_ac_var=yes"
105240 echo "$as_me: failed program was:" >&5
105241 sed 's/^/| /' conftest.$ac_ext >&5
105243 eval "$as_ac_var=no"
105245 rm -f conftest.err conftest.$ac_objext \
105246 conftest$ac_exeext conftest.$ac_ext
105248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105250 if test `eval echo '${'$as_ac_var'}'` = yes; then
105251 cat >>confdefs.h <<_ACEOF
105252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105253 _ACEOF
105260 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
105261 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
105262 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
105263 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
105264 echo $ECHO_N "(cached) $ECHO_C" >&6
105269 ac_ext=cc
105270 ac_cpp='$CXXCPP $CPPFLAGS'
105271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105275 cat >conftest.$ac_ext <<_ACEOF
105276 /* confdefs.h. */
105277 _ACEOF
105278 cat confdefs.h >>conftest.$ac_ext
105279 cat >>conftest.$ac_ext <<_ACEOF
105280 /* end confdefs.h. */
105281 #include <math.h>
105283 main ()
105285 _sincosl(0, 0, 0);
105287 return 0;
105289 _ACEOF
105290 rm -f conftest.$ac_objext
105291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105292 (eval $ac_compile) 2>conftest.er1
105293 ac_status=$?
105294 grep -v '^ *+' conftest.er1 >conftest.err
105295 rm -f conftest.er1
105296 cat conftest.err >&5
105297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105298 (exit $ac_status); } &&
105299 { ac_try='test -z "$ac_cxx_werror_flag"
105300 || test ! -s conftest.err'
105301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105302 (eval $ac_try) 2>&5
105303 ac_status=$?
105304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105305 (exit $ac_status); }; } &&
105306 { ac_try='test -s conftest.$ac_objext'
105307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105308 (eval $ac_try) 2>&5
105309 ac_status=$?
105310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105311 (exit $ac_status); }; }; then
105312 glibcxx_cv_func__sincosl_use=yes
105314 echo "$as_me: failed program was:" >&5
105315 sed 's/^/| /' conftest.$ac_ext >&5
105317 glibcxx_cv_func__sincosl_use=no
105319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105320 ac_ext=c
105321 ac_cpp='$CPP $CPPFLAGS'
105322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
105331 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
105333 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
105335 for ac_func in _sincosl
105337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105338 echo "$as_me:$LINENO: checking for $ac_func" >&5
105339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105340 if eval "test \"\${$as_ac_var+set}\" = set"; then
105341 echo $ECHO_N "(cached) $ECHO_C" >&6
105343 if test x$gcc_no_link = xyes; then
105344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105346 { (exit 1); exit 1; }; }
105348 cat >conftest.$ac_ext <<_ACEOF
105349 /* confdefs.h. */
105350 _ACEOF
105351 cat confdefs.h >>conftest.$ac_ext
105352 cat >>conftest.$ac_ext <<_ACEOF
105353 /* end confdefs.h. */
105354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105356 #define $ac_func innocuous_$ac_func
105358 /* System header to define __stub macros and hopefully few prototypes,
105359 which can conflict with char $ac_func (); below.
105360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105361 <limits.h> exists even on freestanding compilers. */
105363 #ifdef __STDC__
105364 # include <limits.h>
105365 #else
105366 # include <assert.h>
105367 #endif
105369 #undef $ac_func
105371 /* Override any gcc2 internal prototype to avoid an error. */
105372 #ifdef __cplusplus
105373 extern "C"
105375 #endif
105376 /* We use char because int might match the return type of a gcc2
105377 builtin and then its argument prototype would still apply. */
105378 char $ac_func ();
105379 /* The GNU C library defines this for functions which it implements
105380 to always fail with ENOSYS. Some functions are actually named
105381 something starting with __ and the normal name is an alias. */
105382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105383 choke me
105384 #else
105385 char (*f) () = $ac_func;
105386 #endif
105387 #ifdef __cplusplus
105389 #endif
105392 main ()
105394 return f != $ac_func;
105396 return 0;
105398 _ACEOF
105399 rm -f conftest.$ac_objext conftest$ac_exeext
105400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105401 (eval $ac_link) 2>conftest.er1
105402 ac_status=$?
105403 grep -v '^ *+' conftest.er1 >conftest.err
105404 rm -f conftest.er1
105405 cat conftest.err >&5
105406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105407 (exit $ac_status); } &&
105408 { ac_try='test -z "$ac_c_werror_flag"
105409 || test ! -s conftest.err'
105410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105411 (eval $ac_try) 2>&5
105412 ac_status=$?
105413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105414 (exit $ac_status); }; } &&
105415 { ac_try='test -s conftest$ac_exeext'
105416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105417 (eval $ac_try) 2>&5
105418 ac_status=$?
105419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105420 (exit $ac_status); }; }; then
105421 eval "$as_ac_var=yes"
105423 echo "$as_me: failed program was:" >&5
105424 sed 's/^/| /' conftest.$ac_ext >&5
105426 eval "$as_ac_var=no"
105428 rm -f conftest.err conftest.$ac_objext \
105429 conftest$ac_exeext conftest.$ac_ext
105431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105433 if test `eval echo '${'$as_ac_var'}'` = yes; then
105434 cat >>confdefs.h <<_ACEOF
105435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105436 _ACEOF
105449 echo "$as_me:$LINENO: checking for finitel declaration" >&5
105450 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
105451 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
105452 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
105453 echo $ECHO_N "(cached) $ECHO_C" >&6
105458 ac_ext=cc
105459 ac_cpp='$CXXCPP $CPPFLAGS'
105460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105464 cat >conftest.$ac_ext <<_ACEOF
105465 /* confdefs.h. */
105466 _ACEOF
105467 cat confdefs.h >>conftest.$ac_ext
105468 cat >>conftest.$ac_ext <<_ACEOF
105469 /* end confdefs.h. */
105470 #include <math.h>
105471 #ifdef HAVE_IEEEFP_H
105472 #include <ieeefp.h>
105473 #endif
105476 main ()
105478 finitel(0);
105480 return 0;
105482 _ACEOF
105483 rm -f conftest.$ac_objext
105484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105485 (eval $ac_compile) 2>conftest.er1
105486 ac_status=$?
105487 grep -v '^ *+' conftest.er1 >conftest.err
105488 rm -f conftest.er1
105489 cat conftest.err >&5
105490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105491 (exit $ac_status); } &&
105492 { ac_try='test -z "$ac_cxx_werror_flag"
105493 || test ! -s conftest.err'
105494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105495 (eval $ac_try) 2>&5
105496 ac_status=$?
105497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105498 (exit $ac_status); }; } &&
105499 { ac_try='test -s conftest.$ac_objext'
105500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105501 (eval $ac_try) 2>&5
105502 ac_status=$?
105503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105504 (exit $ac_status); }; }; then
105505 glibcxx_cv_func_finitel_use=yes
105507 echo "$as_me: failed program was:" >&5
105508 sed 's/^/| /' conftest.$ac_ext >&5
105510 glibcxx_cv_func_finitel_use=no
105512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105513 ac_ext=c
105514 ac_cpp='$CPP $CPPFLAGS'
105515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
105524 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
105526 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
105528 for ac_func in finitel
105530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105531 echo "$as_me:$LINENO: checking for $ac_func" >&5
105532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105533 if eval "test \"\${$as_ac_var+set}\" = set"; then
105534 echo $ECHO_N "(cached) $ECHO_C" >&6
105536 if test x$gcc_no_link = xyes; then
105537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105539 { (exit 1); exit 1; }; }
105541 cat >conftest.$ac_ext <<_ACEOF
105542 /* confdefs.h. */
105543 _ACEOF
105544 cat confdefs.h >>conftest.$ac_ext
105545 cat >>conftest.$ac_ext <<_ACEOF
105546 /* end confdefs.h. */
105547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105549 #define $ac_func innocuous_$ac_func
105551 /* System header to define __stub macros and hopefully few prototypes,
105552 which can conflict with char $ac_func (); below.
105553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105554 <limits.h> exists even on freestanding compilers. */
105556 #ifdef __STDC__
105557 # include <limits.h>
105558 #else
105559 # include <assert.h>
105560 #endif
105562 #undef $ac_func
105564 /* Override any gcc2 internal prototype to avoid an error. */
105565 #ifdef __cplusplus
105566 extern "C"
105568 #endif
105569 /* We use char because int might match the return type of a gcc2
105570 builtin and then its argument prototype would still apply. */
105571 char $ac_func ();
105572 /* The GNU C library defines this for functions which it implements
105573 to always fail with ENOSYS. Some functions are actually named
105574 something starting with __ and the normal name is an alias. */
105575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105576 choke me
105577 #else
105578 char (*f) () = $ac_func;
105579 #endif
105580 #ifdef __cplusplus
105582 #endif
105585 main ()
105587 return f != $ac_func;
105589 return 0;
105591 _ACEOF
105592 rm -f conftest.$ac_objext conftest$ac_exeext
105593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105594 (eval $ac_link) 2>conftest.er1
105595 ac_status=$?
105596 grep -v '^ *+' conftest.er1 >conftest.err
105597 rm -f conftest.er1
105598 cat conftest.err >&5
105599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105600 (exit $ac_status); } &&
105601 { ac_try='test -z "$ac_c_werror_flag"
105602 || test ! -s conftest.err'
105603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105604 (eval $ac_try) 2>&5
105605 ac_status=$?
105606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105607 (exit $ac_status); }; } &&
105608 { ac_try='test -s conftest$ac_exeext'
105609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105610 (eval $ac_try) 2>&5
105611 ac_status=$?
105612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105613 (exit $ac_status); }; }; then
105614 eval "$as_ac_var=yes"
105616 echo "$as_me: failed program was:" >&5
105617 sed 's/^/| /' conftest.$ac_ext >&5
105619 eval "$as_ac_var=no"
105621 rm -f conftest.err conftest.$ac_objext \
105622 conftest$ac_exeext conftest.$ac_ext
105624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105626 if test `eval echo '${'$as_ac_var'}'` = yes; then
105627 cat >>confdefs.h <<_ACEOF
105628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105629 _ACEOF
105636 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105637 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105638 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105639 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105640 echo $ECHO_N "(cached) $ECHO_C" >&6
105645 ac_ext=cc
105646 ac_cpp='$CXXCPP $CPPFLAGS'
105647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105651 cat >conftest.$ac_ext <<_ACEOF
105652 /* confdefs.h. */
105653 _ACEOF
105654 cat confdefs.h >>conftest.$ac_ext
105655 cat >>conftest.$ac_ext <<_ACEOF
105656 /* end confdefs.h. */
105657 #include <math.h>
105658 #ifdef HAVE_IEEEFP_H
105659 #include <ieeefp.h>
105660 #endif
105663 main ()
105665 _finitel(0);
105667 return 0;
105669 _ACEOF
105670 rm -f conftest.$ac_objext
105671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105672 (eval $ac_compile) 2>conftest.er1
105673 ac_status=$?
105674 grep -v '^ *+' conftest.er1 >conftest.err
105675 rm -f conftest.er1
105676 cat conftest.err >&5
105677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105678 (exit $ac_status); } &&
105679 { ac_try='test -z "$ac_cxx_werror_flag"
105680 || test ! -s conftest.err'
105681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105682 (eval $ac_try) 2>&5
105683 ac_status=$?
105684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105685 (exit $ac_status); }; } &&
105686 { ac_try='test -s conftest.$ac_objext'
105687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105688 (eval $ac_try) 2>&5
105689 ac_status=$?
105690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105691 (exit $ac_status); }; }; then
105692 glibcxx_cv_func__finitel_use=yes
105694 echo "$as_me: failed program was:" >&5
105695 sed 's/^/| /' conftest.$ac_ext >&5
105697 glibcxx_cv_func__finitel_use=no
105699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105700 ac_ext=c
105701 ac_cpp='$CPP $CPPFLAGS'
105702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105710 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105711 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105713 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105715 for ac_func in _finitel
105717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105718 echo "$as_me:$LINENO: checking for $ac_func" >&5
105719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105720 if eval "test \"\${$as_ac_var+set}\" = set"; then
105721 echo $ECHO_N "(cached) $ECHO_C" >&6
105723 if test x$gcc_no_link = xyes; then
105724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105726 { (exit 1); exit 1; }; }
105728 cat >conftest.$ac_ext <<_ACEOF
105729 /* confdefs.h. */
105730 _ACEOF
105731 cat confdefs.h >>conftest.$ac_ext
105732 cat >>conftest.$ac_ext <<_ACEOF
105733 /* end confdefs.h. */
105734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105736 #define $ac_func innocuous_$ac_func
105738 /* System header to define __stub macros and hopefully few prototypes,
105739 which can conflict with char $ac_func (); below.
105740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105741 <limits.h> exists even on freestanding compilers. */
105743 #ifdef __STDC__
105744 # include <limits.h>
105745 #else
105746 # include <assert.h>
105747 #endif
105749 #undef $ac_func
105751 /* Override any gcc2 internal prototype to avoid an error. */
105752 #ifdef __cplusplus
105753 extern "C"
105755 #endif
105756 /* We use char because int might match the return type of a gcc2
105757 builtin and then its argument prototype would still apply. */
105758 char $ac_func ();
105759 /* The GNU C library defines this for functions which it implements
105760 to always fail with ENOSYS. Some functions are actually named
105761 something starting with __ and the normal name is an alias. */
105762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105763 choke me
105764 #else
105765 char (*f) () = $ac_func;
105766 #endif
105767 #ifdef __cplusplus
105769 #endif
105772 main ()
105774 return f != $ac_func;
105776 return 0;
105778 _ACEOF
105779 rm -f conftest.$ac_objext conftest$ac_exeext
105780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105781 (eval $ac_link) 2>conftest.er1
105782 ac_status=$?
105783 grep -v '^ *+' conftest.er1 >conftest.err
105784 rm -f conftest.er1
105785 cat conftest.err >&5
105786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105787 (exit $ac_status); } &&
105788 { ac_try='test -z "$ac_c_werror_flag"
105789 || test ! -s conftest.err'
105790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105791 (eval $ac_try) 2>&5
105792 ac_status=$?
105793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105794 (exit $ac_status); }; } &&
105795 { ac_try='test -s conftest$ac_exeext'
105796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105797 (eval $ac_try) 2>&5
105798 ac_status=$?
105799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105800 (exit $ac_status); }; }; then
105801 eval "$as_ac_var=yes"
105803 echo "$as_me: failed program was:" >&5
105804 sed 's/^/| /' conftest.$ac_ext >&5
105806 eval "$as_ac_var=no"
105808 rm -f conftest.err conftest.$ac_objext \
105809 conftest$ac_exeext conftest.$ac_ext
105811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105813 if test `eval echo '${'$as_ac_var'}'` = yes; then
105814 cat >>confdefs.h <<_ACEOF
105815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105816 _ACEOF
105828 LIBS="$ac_save_LIBS"
105829 CXXFLAGS="$ac_save_CXXFLAGS"
105833 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105834 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105835 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105836 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105837 echo $ECHO_N "(cached) $ECHO_C" >&6
105842 ac_ext=cc
105843 ac_cpp='$CXXCPP $CPPFLAGS'
105844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105848 cat >conftest.$ac_ext <<_ACEOF
105849 /* confdefs.h. */
105850 _ACEOF
105851 cat confdefs.h >>conftest.$ac_ext
105852 cat >>conftest.$ac_ext <<_ACEOF
105853 /* end confdefs.h. */
105854 #include <math.h>
105856 main ()
105858 __builtin_abs(0);
105860 return 0;
105862 _ACEOF
105863 rm -f conftest.$ac_objext
105864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105865 (eval $ac_compile) 2>conftest.er1
105866 ac_status=$?
105867 grep -v '^ *+' conftest.er1 >conftest.err
105868 rm -f conftest.er1
105869 cat conftest.err >&5
105870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105871 (exit $ac_status); } &&
105872 { ac_try='test -z "$ac_cxx_werror_flag"
105873 || test ! -s conftest.err'
105874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105875 (eval $ac_try) 2>&5
105876 ac_status=$?
105877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105878 (exit $ac_status); }; } &&
105879 { ac_try='test -s conftest.$ac_objext'
105880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105881 (eval $ac_try) 2>&5
105882 ac_status=$?
105883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105884 (exit $ac_status); }; }; then
105885 glibcxx_cv_func___builtin_abs_use=yes
105887 echo "$as_me: failed program was:" >&5
105888 sed 's/^/| /' conftest.$ac_ext >&5
105890 glibcxx_cv_func___builtin_abs_use=no
105892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105893 ac_ext=c
105894 ac_cpp='$CPP $CPPFLAGS'
105895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105904 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105905 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105906 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105907 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105908 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105909 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105910 echo $ECHO_N "(cached) $ECHO_C" >&6
105913 if test x$gcc_no_link = xyes; then
105914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105916 { (exit 1); exit 1; }; }
105918 cat >conftest.$ac_ext <<_ACEOF
105919 /* confdefs.h. */
105920 _ACEOF
105921 cat confdefs.h >>conftest.$ac_ext
105922 cat >>conftest.$ac_ext <<_ACEOF
105923 /* end confdefs.h. */
105924 #include <math.h>
105926 main ()
105928 __builtin_abs(0);
105930 return 0;
105932 _ACEOF
105933 rm -f conftest.$ac_objext conftest$ac_exeext
105934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105935 (eval $ac_link) 2>conftest.er1
105936 ac_status=$?
105937 grep -v '^ *+' conftest.er1 >conftest.err
105938 rm -f conftest.er1
105939 cat conftest.err >&5
105940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105941 (exit $ac_status); } &&
105942 { ac_try='test -z "$ac_c_werror_flag"
105943 || test ! -s conftest.err'
105944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105945 (eval $ac_try) 2>&5
105946 ac_status=$?
105947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105948 (exit $ac_status); }; } &&
105949 { ac_try='test -s conftest$ac_exeext'
105950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105951 (eval $ac_try) 2>&5
105952 ac_status=$?
105953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105954 (exit $ac_status); }; }; then
105955 glibcxx_cv_func___builtin_abs_link=yes
105957 echo "$as_me: failed program was:" >&5
105958 sed 's/^/| /' conftest.$ac_ext >&5
105960 glibcxx_cv_func___builtin_abs_link=no
105962 rm -f conftest.err conftest.$ac_objext \
105963 conftest$ac_exeext conftest.$ac_ext
105968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105969 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105971 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105973 cat >>confdefs.h <<\_ACEOF
105974 #define HAVE___BUILTIN_ABS 1
105975 _ACEOF
105982 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105983 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105984 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105985 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105986 echo $ECHO_N "(cached) $ECHO_C" >&6
105991 ac_ext=cc
105992 ac_cpp='$CXXCPP $CPPFLAGS'
105993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105997 cat >conftest.$ac_ext <<_ACEOF
105998 /* confdefs.h. */
105999 _ACEOF
106000 cat confdefs.h >>conftest.$ac_ext
106001 cat >>conftest.$ac_ext <<_ACEOF
106002 /* end confdefs.h. */
106003 #include <math.h>
106005 main ()
106007 __builtin_fabsf(0);
106009 return 0;
106011 _ACEOF
106012 rm -f conftest.$ac_objext
106013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106014 (eval $ac_compile) 2>conftest.er1
106015 ac_status=$?
106016 grep -v '^ *+' conftest.er1 >conftest.err
106017 rm -f conftest.er1
106018 cat conftest.err >&5
106019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106020 (exit $ac_status); } &&
106021 { ac_try='test -z "$ac_cxx_werror_flag"
106022 || test ! -s conftest.err'
106023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106024 (eval $ac_try) 2>&5
106025 ac_status=$?
106026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106027 (exit $ac_status); }; } &&
106028 { ac_try='test -s conftest.$ac_objext'
106029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106030 (eval $ac_try) 2>&5
106031 ac_status=$?
106032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106033 (exit $ac_status); }; }; then
106034 glibcxx_cv_func___builtin_fabsf_use=yes
106036 echo "$as_me: failed program was:" >&5
106037 sed 's/^/| /' conftest.$ac_ext >&5
106039 glibcxx_cv_func___builtin_fabsf_use=no
106041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106042 ac_ext=c
106043 ac_cpp='$CPP $CPPFLAGS'
106044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106052 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
106053 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
106054 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
106055 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
106056 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
106057 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
106058 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
106059 echo $ECHO_N "(cached) $ECHO_C" >&6
106062 if test x$gcc_no_link = xyes; then
106063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106065 { (exit 1); exit 1; }; }
106067 cat >conftest.$ac_ext <<_ACEOF
106068 /* confdefs.h. */
106069 _ACEOF
106070 cat confdefs.h >>conftest.$ac_ext
106071 cat >>conftest.$ac_ext <<_ACEOF
106072 /* end confdefs.h. */
106073 #include <math.h>
106075 main ()
106077 __builtin_fabsf(0);
106079 return 0;
106081 _ACEOF
106082 rm -f conftest.$ac_objext conftest$ac_exeext
106083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106084 (eval $ac_link) 2>conftest.er1
106085 ac_status=$?
106086 grep -v '^ *+' conftest.er1 >conftest.err
106087 rm -f conftest.er1
106088 cat conftest.err >&5
106089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106090 (exit $ac_status); } &&
106091 { ac_try='test -z "$ac_c_werror_flag"
106092 || test ! -s conftest.err'
106093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106094 (eval $ac_try) 2>&5
106095 ac_status=$?
106096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106097 (exit $ac_status); }; } &&
106098 { ac_try='test -s conftest$ac_exeext'
106099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106100 (eval $ac_try) 2>&5
106101 ac_status=$?
106102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106103 (exit $ac_status); }; }; then
106104 glibcxx_cv_func___builtin_fabsf_link=yes
106106 echo "$as_me: failed program was:" >&5
106107 sed 's/^/| /' conftest.$ac_ext >&5
106109 glibcxx_cv_func___builtin_fabsf_link=no
106111 rm -f conftest.err conftest.$ac_objext \
106112 conftest$ac_exeext conftest.$ac_ext
106117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
106118 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
106120 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
106122 cat >>confdefs.h <<\_ACEOF
106123 #define HAVE___BUILTIN_FABSF 1
106124 _ACEOF
106131 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
106132 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
106133 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
106134 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
106135 echo $ECHO_N "(cached) $ECHO_C" >&6
106140 ac_ext=cc
106141 ac_cpp='$CXXCPP $CPPFLAGS'
106142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106146 cat >conftest.$ac_ext <<_ACEOF
106147 /* confdefs.h. */
106148 _ACEOF
106149 cat confdefs.h >>conftest.$ac_ext
106150 cat >>conftest.$ac_ext <<_ACEOF
106151 /* end confdefs.h. */
106152 #include <math.h>
106154 main ()
106156 __builtin_fabs(0);
106158 return 0;
106160 _ACEOF
106161 rm -f conftest.$ac_objext
106162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106163 (eval $ac_compile) 2>conftest.er1
106164 ac_status=$?
106165 grep -v '^ *+' conftest.er1 >conftest.err
106166 rm -f conftest.er1
106167 cat conftest.err >&5
106168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106169 (exit $ac_status); } &&
106170 { ac_try='test -z "$ac_cxx_werror_flag"
106171 || test ! -s conftest.err'
106172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106173 (eval $ac_try) 2>&5
106174 ac_status=$?
106175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106176 (exit $ac_status); }; } &&
106177 { ac_try='test -s conftest.$ac_objext'
106178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106179 (eval $ac_try) 2>&5
106180 ac_status=$?
106181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106182 (exit $ac_status); }; }; then
106183 glibcxx_cv_func___builtin_fabs_use=yes
106185 echo "$as_me: failed program was:" >&5
106186 sed 's/^/| /' conftest.$ac_ext >&5
106188 glibcxx_cv_func___builtin_fabs_use=no
106190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106191 ac_ext=c
106192 ac_cpp='$CPP $CPPFLAGS'
106193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106201 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
106202 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
106203 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
106204 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
106205 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
106206 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
106207 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
106208 echo $ECHO_N "(cached) $ECHO_C" >&6
106211 if test x$gcc_no_link = xyes; then
106212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106214 { (exit 1); exit 1; }; }
106216 cat >conftest.$ac_ext <<_ACEOF
106217 /* confdefs.h. */
106218 _ACEOF
106219 cat confdefs.h >>conftest.$ac_ext
106220 cat >>conftest.$ac_ext <<_ACEOF
106221 /* end confdefs.h. */
106222 #include <math.h>
106224 main ()
106226 __builtin_fabs(0);
106228 return 0;
106230 _ACEOF
106231 rm -f conftest.$ac_objext conftest$ac_exeext
106232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106233 (eval $ac_link) 2>conftest.er1
106234 ac_status=$?
106235 grep -v '^ *+' conftest.er1 >conftest.err
106236 rm -f conftest.er1
106237 cat conftest.err >&5
106238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106239 (exit $ac_status); } &&
106240 { ac_try='test -z "$ac_c_werror_flag"
106241 || test ! -s conftest.err'
106242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106243 (eval $ac_try) 2>&5
106244 ac_status=$?
106245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106246 (exit $ac_status); }; } &&
106247 { ac_try='test -s conftest$ac_exeext'
106248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106249 (eval $ac_try) 2>&5
106250 ac_status=$?
106251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106252 (exit $ac_status); }; }; then
106253 glibcxx_cv_func___builtin_fabs_link=yes
106255 echo "$as_me: failed program was:" >&5
106256 sed 's/^/| /' conftest.$ac_ext >&5
106258 glibcxx_cv_func___builtin_fabs_link=no
106260 rm -f conftest.err conftest.$ac_objext \
106261 conftest$ac_exeext conftest.$ac_ext
106266 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
106267 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
106269 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
106271 cat >>confdefs.h <<\_ACEOF
106272 #define HAVE___BUILTIN_FABS 1
106273 _ACEOF
106280 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
106281 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
106282 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
106283 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
106284 echo $ECHO_N "(cached) $ECHO_C" >&6
106289 ac_ext=cc
106290 ac_cpp='$CXXCPP $CPPFLAGS'
106291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106295 cat >conftest.$ac_ext <<_ACEOF
106296 /* confdefs.h. */
106297 _ACEOF
106298 cat confdefs.h >>conftest.$ac_ext
106299 cat >>conftest.$ac_ext <<_ACEOF
106300 /* end confdefs.h. */
106301 #include <math.h>
106303 main ()
106305 __builtin_fabsl(0);
106307 return 0;
106309 _ACEOF
106310 rm -f conftest.$ac_objext
106311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106312 (eval $ac_compile) 2>conftest.er1
106313 ac_status=$?
106314 grep -v '^ *+' conftest.er1 >conftest.err
106315 rm -f conftest.er1
106316 cat conftest.err >&5
106317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106318 (exit $ac_status); } &&
106319 { ac_try='test -z "$ac_cxx_werror_flag"
106320 || test ! -s conftest.err'
106321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106322 (eval $ac_try) 2>&5
106323 ac_status=$?
106324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106325 (exit $ac_status); }; } &&
106326 { ac_try='test -s conftest.$ac_objext'
106327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106328 (eval $ac_try) 2>&5
106329 ac_status=$?
106330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106331 (exit $ac_status); }; }; then
106332 glibcxx_cv_func___builtin_fabsl_use=yes
106334 echo "$as_me: failed program was:" >&5
106335 sed 's/^/| /' conftest.$ac_ext >&5
106337 glibcxx_cv_func___builtin_fabsl_use=no
106339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106340 ac_ext=c
106341 ac_cpp='$CPP $CPPFLAGS'
106342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106350 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
106351 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
106352 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
106353 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
106354 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
106355 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
106356 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
106357 echo $ECHO_N "(cached) $ECHO_C" >&6
106360 if test x$gcc_no_link = xyes; then
106361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106363 { (exit 1); exit 1; }; }
106365 cat >conftest.$ac_ext <<_ACEOF
106366 /* confdefs.h. */
106367 _ACEOF
106368 cat confdefs.h >>conftest.$ac_ext
106369 cat >>conftest.$ac_ext <<_ACEOF
106370 /* end confdefs.h. */
106371 #include <math.h>
106373 main ()
106375 __builtin_fabsl(0);
106377 return 0;
106379 _ACEOF
106380 rm -f conftest.$ac_objext conftest$ac_exeext
106381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106382 (eval $ac_link) 2>conftest.er1
106383 ac_status=$?
106384 grep -v '^ *+' conftest.er1 >conftest.err
106385 rm -f conftest.er1
106386 cat conftest.err >&5
106387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106388 (exit $ac_status); } &&
106389 { ac_try='test -z "$ac_c_werror_flag"
106390 || test ! -s conftest.err'
106391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106392 (eval $ac_try) 2>&5
106393 ac_status=$?
106394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106395 (exit $ac_status); }; } &&
106396 { ac_try='test -s conftest$ac_exeext'
106397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106398 (eval $ac_try) 2>&5
106399 ac_status=$?
106400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106401 (exit $ac_status); }; }; then
106402 glibcxx_cv_func___builtin_fabsl_link=yes
106404 echo "$as_me: failed program was:" >&5
106405 sed 's/^/| /' conftest.$ac_ext >&5
106407 glibcxx_cv_func___builtin_fabsl_link=no
106409 rm -f conftest.err conftest.$ac_objext \
106410 conftest$ac_exeext conftest.$ac_ext
106415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
106416 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
106418 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
106420 cat >>confdefs.h <<\_ACEOF
106421 #define HAVE___BUILTIN_FABSL 1
106422 _ACEOF
106429 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
106430 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
106431 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
106432 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
106433 echo $ECHO_N "(cached) $ECHO_C" >&6
106438 ac_ext=cc
106439 ac_cpp='$CXXCPP $CPPFLAGS'
106440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106444 cat >conftest.$ac_ext <<_ACEOF
106445 /* confdefs.h. */
106446 _ACEOF
106447 cat confdefs.h >>conftest.$ac_ext
106448 cat >>conftest.$ac_ext <<_ACEOF
106449 /* end confdefs.h. */
106450 #include <math.h>
106452 main ()
106454 __builtin_labs(0);
106456 return 0;
106458 _ACEOF
106459 rm -f conftest.$ac_objext
106460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106461 (eval $ac_compile) 2>conftest.er1
106462 ac_status=$?
106463 grep -v '^ *+' conftest.er1 >conftest.err
106464 rm -f conftest.er1
106465 cat conftest.err >&5
106466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106467 (exit $ac_status); } &&
106468 { ac_try='test -z "$ac_cxx_werror_flag"
106469 || test ! -s conftest.err'
106470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106471 (eval $ac_try) 2>&5
106472 ac_status=$?
106473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106474 (exit $ac_status); }; } &&
106475 { ac_try='test -s conftest.$ac_objext'
106476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106477 (eval $ac_try) 2>&5
106478 ac_status=$?
106479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106480 (exit $ac_status); }; }; then
106481 glibcxx_cv_func___builtin_labs_use=yes
106483 echo "$as_me: failed program was:" >&5
106484 sed 's/^/| /' conftest.$ac_ext >&5
106486 glibcxx_cv_func___builtin_labs_use=no
106488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106489 ac_ext=c
106490 ac_cpp='$CPP $CPPFLAGS'
106491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106499 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
106500 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
106501 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
106502 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
106503 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
106504 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
106505 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
106506 echo $ECHO_N "(cached) $ECHO_C" >&6
106509 if test x$gcc_no_link = xyes; then
106510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106512 { (exit 1); exit 1; }; }
106514 cat >conftest.$ac_ext <<_ACEOF
106515 /* confdefs.h. */
106516 _ACEOF
106517 cat confdefs.h >>conftest.$ac_ext
106518 cat >>conftest.$ac_ext <<_ACEOF
106519 /* end confdefs.h. */
106520 #include <math.h>
106522 main ()
106524 __builtin_labs(0);
106526 return 0;
106528 _ACEOF
106529 rm -f conftest.$ac_objext conftest$ac_exeext
106530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106531 (eval $ac_link) 2>conftest.er1
106532 ac_status=$?
106533 grep -v '^ *+' conftest.er1 >conftest.err
106534 rm -f conftest.er1
106535 cat conftest.err >&5
106536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106537 (exit $ac_status); } &&
106538 { ac_try='test -z "$ac_c_werror_flag"
106539 || test ! -s conftest.err'
106540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106541 (eval $ac_try) 2>&5
106542 ac_status=$?
106543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106544 (exit $ac_status); }; } &&
106545 { ac_try='test -s conftest$ac_exeext'
106546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106547 (eval $ac_try) 2>&5
106548 ac_status=$?
106549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106550 (exit $ac_status); }; }; then
106551 glibcxx_cv_func___builtin_labs_link=yes
106553 echo "$as_me: failed program was:" >&5
106554 sed 's/^/| /' conftest.$ac_ext >&5
106556 glibcxx_cv_func___builtin_labs_link=no
106558 rm -f conftest.err conftest.$ac_objext \
106559 conftest$ac_exeext conftest.$ac_ext
106564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
106565 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
106567 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
106569 cat >>confdefs.h <<\_ACEOF
106570 #define HAVE___BUILTIN_LABS 1
106571 _ACEOF
106579 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106580 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106581 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106582 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106583 echo $ECHO_N "(cached) $ECHO_C" >&6
106588 ac_ext=cc
106589 ac_cpp='$CXXCPP $CPPFLAGS'
106590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106594 cat >conftest.$ac_ext <<_ACEOF
106595 /* confdefs.h. */
106596 _ACEOF
106597 cat confdefs.h >>conftest.$ac_ext
106598 cat >>conftest.$ac_ext <<_ACEOF
106599 /* end confdefs.h. */
106600 #include <math.h>
106602 main ()
106604 __builtin_sqrtf(0);
106606 return 0;
106608 _ACEOF
106609 rm -f conftest.$ac_objext
106610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106611 (eval $ac_compile) 2>conftest.er1
106612 ac_status=$?
106613 grep -v '^ *+' conftest.er1 >conftest.err
106614 rm -f conftest.er1
106615 cat conftest.err >&5
106616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106617 (exit $ac_status); } &&
106618 { ac_try='test -z "$ac_cxx_werror_flag"
106619 || test ! -s conftest.err'
106620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106621 (eval $ac_try) 2>&5
106622 ac_status=$?
106623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106624 (exit $ac_status); }; } &&
106625 { ac_try='test -s conftest.$ac_objext'
106626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106627 (eval $ac_try) 2>&5
106628 ac_status=$?
106629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106630 (exit $ac_status); }; }; then
106631 glibcxx_cv_func___builtin_sqrtf_use=yes
106633 echo "$as_me: failed program was:" >&5
106634 sed 's/^/| /' conftest.$ac_ext >&5
106636 glibcxx_cv_func___builtin_sqrtf_use=no
106638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106639 ac_ext=c
106640 ac_cpp='$CPP $CPPFLAGS'
106641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106649 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106650 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106651 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106652 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106653 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106654 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106655 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106656 echo $ECHO_N "(cached) $ECHO_C" >&6
106659 if test x$gcc_no_link = xyes; then
106660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106662 { (exit 1); exit 1; }; }
106664 cat >conftest.$ac_ext <<_ACEOF
106665 /* confdefs.h. */
106666 _ACEOF
106667 cat confdefs.h >>conftest.$ac_ext
106668 cat >>conftest.$ac_ext <<_ACEOF
106669 /* end confdefs.h. */
106670 #include <math.h>
106672 main ()
106674 __builtin_sqrtf(0);
106676 return 0;
106678 _ACEOF
106679 rm -f conftest.$ac_objext conftest$ac_exeext
106680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106681 (eval $ac_link) 2>conftest.er1
106682 ac_status=$?
106683 grep -v '^ *+' conftest.er1 >conftest.err
106684 rm -f conftest.er1
106685 cat conftest.err >&5
106686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106687 (exit $ac_status); } &&
106688 { ac_try='test -z "$ac_c_werror_flag"
106689 || test ! -s conftest.err'
106690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106691 (eval $ac_try) 2>&5
106692 ac_status=$?
106693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106694 (exit $ac_status); }; } &&
106695 { ac_try='test -s conftest$ac_exeext'
106696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106697 (eval $ac_try) 2>&5
106698 ac_status=$?
106699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106700 (exit $ac_status); }; }; then
106701 glibcxx_cv_func___builtin_sqrtf_link=yes
106703 echo "$as_me: failed program was:" >&5
106704 sed 's/^/| /' conftest.$ac_ext >&5
106706 glibcxx_cv_func___builtin_sqrtf_link=no
106708 rm -f conftest.err conftest.$ac_objext \
106709 conftest$ac_exeext conftest.$ac_ext
106714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106715 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106717 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106719 cat >>confdefs.h <<\_ACEOF
106720 #define HAVE___BUILTIN_SQRTF 1
106721 _ACEOF
106728 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106729 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106730 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106731 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106732 echo $ECHO_N "(cached) $ECHO_C" >&6
106737 ac_ext=cc
106738 ac_cpp='$CXXCPP $CPPFLAGS'
106739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106743 cat >conftest.$ac_ext <<_ACEOF
106744 /* confdefs.h. */
106745 _ACEOF
106746 cat confdefs.h >>conftest.$ac_ext
106747 cat >>conftest.$ac_ext <<_ACEOF
106748 /* end confdefs.h. */
106749 #include <math.h>
106751 main ()
106753 __builtin_sqrt(0);
106755 return 0;
106757 _ACEOF
106758 rm -f conftest.$ac_objext
106759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106760 (eval $ac_compile) 2>conftest.er1
106761 ac_status=$?
106762 grep -v '^ *+' conftest.er1 >conftest.err
106763 rm -f conftest.er1
106764 cat conftest.err >&5
106765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106766 (exit $ac_status); } &&
106767 { ac_try='test -z "$ac_cxx_werror_flag"
106768 || test ! -s conftest.err'
106769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106770 (eval $ac_try) 2>&5
106771 ac_status=$?
106772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106773 (exit $ac_status); }; } &&
106774 { ac_try='test -s conftest.$ac_objext'
106775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106776 (eval $ac_try) 2>&5
106777 ac_status=$?
106778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106779 (exit $ac_status); }; }; then
106780 glibcxx_cv_func___builtin_sqrt_use=yes
106782 echo "$as_me: failed program was:" >&5
106783 sed 's/^/| /' conftest.$ac_ext >&5
106785 glibcxx_cv_func___builtin_sqrt_use=no
106787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106788 ac_ext=c
106789 ac_cpp='$CPP $CPPFLAGS'
106790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106798 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106799 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106800 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106801 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106802 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106803 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106804 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106805 echo $ECHO_N "(cached) $ECHO_C" >&6
106808 if test x$gcc_no_link = xyes; then
106809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106811 { (exit 1); exit 1; }; }
106813 cat >conftest.$ac_ext <<_ACEOF
106814 /* confdefs.h. */
106815 _ACEOF
106816 cat confdefs.h >>conftest.$ac_ext
106817 cat >>conftest.$ac_ext <<_ACEOF
106818 /* end confdefs.h. */
106819 #include <math.h>
106821 main ()
106823 __builtin_sqrt(0);
106825 return 0;
106827 _ACEOF
106828 rm -f conftest.$ac_objext conftest$ac_exeext
106829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106830 (eval $ac_link) 2>conftest.er1
106831 ac_status=$?
106832 grep -v '^ *+' conftest.er1 >conftest.err
106833 rm -f conftest.er1
106834 cat conftest.err >&5
106835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106836 (exit $ac_status); } &&
106837 { ac_try='test -z "$ac_c_werror_flag"
106838 || test ! -s conftest.err'
106839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106840 (eval $ac_try) 2>&5
106841 ac_status=$?
106842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106843 (exit $ac_status); }; } &&
106844 { ac_try='test -s conftest$ac_exeext'
106845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106846 (eval $ac_try) 2>&5
106847 ac_status=$?
106848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106849 (exit $ac_status); }; }; then
106850 glibcxx_cv_func___builtin_sqrt_link=yes
106852 echo "$as_me: failed program was:" >&5
106853 sed 's/^/| /' conftest.$ac_ext >&5
106855 glibcxx_cv_func___builtin_sqrt_link=no
106857 rm -f conftest.err conftest.$ac_objext \
106858 conftest$ac_exeext conftest.$ac_ext
106863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106864 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106866 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106868 cat >>confdefs.h <<\_ACEOF
106869 #define HAVE___BUILTIN_SQRT 1
106870 _ACEOF
106877 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106878 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106879 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106880 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106881 echo $ECHO_N "(cached) $ECHO_C" >&6
106886 ac_ext=cc
106887 ac_cpp='$CXXCPP $CPPFLAGS'
106888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106892 cat >conftest.$ac_ext <<_ACEOF
106893 /* confdefs.h. */
106894 _ACEOF
106895 cat confdefs.h >>conftest.$ac_ext
106896 cat >>conftest.$ac_ext <<_ACEOF
106897 /* end confdefs.h. */
106898 #include <math.h>
106900 main ()
106902 __builtin_sqrtl(0);
106904 return 0;
106906 _ACEOF
106907 rm -f conftest.$ac_objext
106908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106909 (eval $ac_compile) 2>conftest.er1
106910 ac_status=$?
106911 grep -v '^ *+' conftest.er1 >conftest.err
106912 rm -f conftest.er1
106913 cat conftest.err >&5
106914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106915 (exit $ac_status); } &&
106916 { ac_try='test -z "$ac_cxx_werror_flag"
106917 || test ! -s conftest.err'
106918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106919 (eval $ac_try) 2>&5
106920 ac_status=$?
106921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106922 (exit $ac_status); }; } &&
106923 { ac_try='test -s conftest.$ac_objext'
106924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106925 (eval $ac_try) 2>&5
106926 ac_status=$?
106927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106928 (exit $ac_status); }; }; then
106929 glibcxx_cv_func___builtin_sqrtl_use=yes
106931 echo "$as_me: failed program was:" >&5
106932 sed 's/^/| /' conftest.$ac_ext >&5
106934 glibcxx_cv_func___builtin_sqrtl_use=no
106936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106937 ac_ext=c
106938 ac_cpp='$CPP $CPPFLAGS'
106939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106947 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106948 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106949 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106950 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106951 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106952 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106953 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106954 echo $ECHO_N "(cached) $ECHO_C" >&6
106957 if test x$gcc_no_link = xyes; then
106958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106960 { (exit 1); exit 1; }; }
106962 cat >conftest.$ac_ext <<_ACEOF
106963 /* confdefs.h. */
106964 _ACEOF
106965 cat confdefs.h >>conftest.$ac_ext
106966 cat >>conftest.$ac_ext <<_ACEOF
106967 /* end confdefs.h. */
106968 #include <math.h>
106970 main ()
106972 __builtin_sqrtl(0);
106974 return 0;
106976 _ACEOF
106977 rm -f conftest.$ac_objext conftest$ac_exeext
106978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106979 (eval $ac_link) 2>conftest.er1
106980 ac_status=$?
106981 grep -v '^ *+' conftest.er1 >conftest.err
106982 rm -f conftest.er1
106983 cat conftest.err >&5
106984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106985 (exit $ac_status); } &&
106986 { ac_try='test -z "$ac_c_werror_flag"
106987 || test ! -s conftest.err'
106988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106989 (eval $ac_try) 2>&5
106990 ac_status=$?
106991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106992 (exit $ac_status); }; } &&
106993 { ac_try='test -s conftest$ac_exeext'
106994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106995 (eval $ac_try) 2>&5
106996 ac_status=$?
106997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106998 (exit $ac_status); }; }; then
106999 glibcxx_cv_func___builtin_sqrtl_link=yes
107001 echo "$as_me: failed program was:" >&5
107002 sed 's/^/| /' conftest.$ac_ext >&5
107004 glibcxx_cv_func___builtin_sqrtl_link=no
107006 rm -f conftest.err conftest.$ac_objext \
107007 conftest$ac_exeext conftest.$ac_ext
107012 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
107013 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
107015 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
107017 cat >>confdefs.h <<\_ACEOF
107018 #define HAVE___BUILTIN_SQRTL 1
107019 _ACEOF
107027 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
107028 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
107029 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
107030 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
107031 echo $ECHO_N "(cached) $ECHO_C" >&6
107036 ac_ext=cc
107037 ac_cpp='$CXXCPP $CPPFLAGS'
107038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107042 cat >conftest.$ac_ext <<_ACEOF
107043 /* confdefs.h. */
107044 _ACEOF
107045 cat confdefs.h >>conftest.$ac_ext
107046 cat >>conftest.$ac_ext <<_ACEOF
107047 /* end confdefs.h. */
107048 #include <math.h>
107050 main ()
107052 __builtin_sinf(0);
107054 return 0;
107056 _ACEOF
107057 rm -f conftest.$ac_objext
107058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107059 (eval $ac_compile) 2>conftest.er1
107060 ac_status=$?
107061 grep -v '^ *+' conftest.er1 >conftest.err
107062 rm -f conftest.er1
107063 cat conftest.err >&5
107064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107065 (exit $ac_status); } &&
107066 { ac_try='test -z "$ac_cxx_werror_flag"
107067 || test ! -s conftest.err'
107068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107069 (eval $ac_try) 2>&5
107070 ac_status=$?
107071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107072 (exit $ac_status); }; } &&
107073 { ac_try='test -s conftest.$ac_objext'
107074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107075 (eval $ac_try) 2>&5
107076 ac_status=$?
107077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107078 (exit $ac_status); }; }; then
107079 glibcxx_cv_func___builtin_sinf_use=yes
107081 echo "$as_me: failed program was:" >&5
107082 sed 's/^/| /' conftest.$ac_ext >&5
107084 glibcxx_cv_func___builtin_sinf_use=no
107086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107087 ac_ext=c
107088 ac_cpp='$CPP $CPPFLAGS'
107089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
107098 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
107099 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
107100 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
107101 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
107102 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
107103 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
107104 echo $ECHO_N "(cached) $ECHO_C" >&6
107107 if test x$gcc_no_link = xyes; then
107108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107110 { (exit 1); exit 1; }; }
107112 cat >conftest.$ac_ext <<_ACEOF
107113 /* confdefs.h. */
107114 _ACEOF
107115 cat confdefs.h >>conftest.$ac_ext
107116 cat >>conftest.$ac_ext <<_ACEOF
107117 /* end confdefs.h. */
107118 #include <math.h>
107120 main ()
107122 __builtin_sinf(0);
107124 return 0;
107126 _ACEOF
107127 rm -f conftest.$ac_objext conftest$ac_exeext
107128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107129 (eval $ac_link) 2>conftest.er1
107130 ac_status=$?
107131 grep -v '^ *+' conftest.er1 >conftest.err
107132 rm -f conftest.er1
107133 cat conftest.err >&5
107134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107135 (exit $ac_status); } &&
107136 { ac_try='test -z "$ac_c_werror_flag"
107137 || test ! -s conftest.err'
107138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107139 (eval $ac_try) 2>&5
107140 ac_status=$?
107141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107142 (exit $ac_status); }; } &&
107143 { ac_try='test -s conftest$ac_exeext'
107144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107145 (eval $ac_try) 2>&5
107146 ac_status=$?
107147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107148 (exit $ac_status); }; }; then
107149 glibcxx_cv_func___builtin_sinf_link=yes
107151 echo "$as_me: failed program was:" >&5
107152 sed 's/^/| /' conftest.$ac_ext >&5
107154 glibcxx_cv_func___builtin_sinf_link=no
107156 rm -f conftest.err conftest.$ac_objext \
107157 conftest$ac_exeext conftest.$ac_ext
107162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
107163 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
107165 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
107167 cat >>confdefs.h <<\_ACEOF
107168 #define HAVE___BUILTIN_SINF 1
107169 _ACEOF
107176 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
107177 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
107178 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
107179 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
107180 echo $ECHO_N "(cached) $ECHO_C" >&6
107185 ac_ext=cc
107186 ac_cpp='$CXXCPP $CPPFLAGS'
107187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107191 cat >conftest.$ac_ext <<_ACEOF
107192 /* confdefs.h. */
107193 _ACEOF
107194 cat confdefs.h >>conftest.$ac_ext
107195 cat >>conftest.$ac_ext <<_ACEOF
107196 /* end confdefs.h. */
107197 #include <math.h>
107199 main ()
107201 __builtin_sin(0);
107203 return 0;
107205 _ACEOF
107206 rm -f conftest.$ac_objext
107207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107208 (eval $ac_compile) 2>conftest.er1
107209 ac_status=$?
107210 grep -v '^ *+' conftest.er1 >conftest.err
107211 rm -f conftest.er1
107212 cat conftest.err >&5
107213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107214 (exit $ac_status); } &&
107215 { ac_try='test -z "$ac_cxx_werror_flag"
107216 || test ! -s conftest.err'
107217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107218 (eval $ac_try) 2>&5
107219 ac_status=$?
107220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107221 (exit $ac_status); }; } &&
107222 { ac_try='test -s conftest.$ac_objext'
107223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107224 (eval $ac_try) 2>&5
107225 ac_status=$?
107226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107227 (exit $ac_status); }; }; then
107228 glibcxx_cv_func___builtin_sin_use=yes
107230 echo "$as_me: failed program was:" >&5
107231 sed 's/^/| /' conftest.$ac_ext >&5
107233 glibcxx_cv_func___builtin_sin_use=no
107235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107236 ac_ext=c
107237 ac_cpp='$CPP $CPPFLAGS'
107238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
107247 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
107248 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
107249 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
107250 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
107251 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
107252 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
107253 echo $ECHO_N "(cached) $ECHO_C" >&6
107256 if test x$gcc_no_link = xyes; then
107257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107259 { (exit 1); exit 1; }; }
107261 cat >conftest.$ac_ext <<_ACEOF
107262 /* confdefs.h. */
107263 _ACEOF
107264 cat confdefs.h >>conftest.$ac_ext
107265 cat >>conftest.$ac_ext <<_ACEOF
107266 /* end confdefs.h. */
107267 #include <math.h>
107269 main ()
107271 __builtin_sin(0);
107273 return 0;
107275 _ACEOF
107276 rm -f conftest.$ac_objext conftest$ac_exeext
107277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107278 (eval $ac_link) 2>conftest.er1
107279 ac_status=$?
107280 grep -v '^ *+' conftest.er1 >conftest.err
107281 rm -f conftest.er1
107282 cat conftest.err >&5
107283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107284 (exit $ac_status); } &&
107285 { ac_try='test -z "$ac_c_werror_flag"
107286 || test ! -s conftest.err'
107287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107288 (eval $ac_try) 2>&5
107289 ac_status=$?
107290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107291 (exit $ac_status); }; } &&
107292 { ac_try='test -s conftest$ac_exeext'
107293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107294 (eval $ac_try) 2>&5
107295 ac_status=$?
107296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107297 (exit $ac_status); }; }; then
107298 glibcxx_cv_func___builtin_sin_link=yes
107300 echo "$as_me: failed program was:" >&5
107301 sed 's/^/| /' conftest.$ac_ext >&5
107303 glibcxx_cv_func___builtin_sin_link=no
107305 rm -f conftest.err conftest.$ac_objext \
107306 conftest$ac_exeext conftest.$ac_ext
107311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
107312 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
107314 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
107316 cat >>confdefs.h <<\_ACEOF
107317 #define HAVE___BUILTIN_SIN 1
107318 _ACEOF
107325 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
107326 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
107327 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
107328 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
107329 echo $ECHO_N "(cached) $ECHO_C" >&6
107334 ac_ext=cc
107335 ac_cpp='$CXXCPP $CPPFLAGS'
107336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107340 cat >conftest.$ac_ext <<_ACEOF
107341 /* confdefs.h. */
107342 _ACEOF
107343 cat confdefs.h >>conftest.$ac_ext
107344 cat >>conftest.$ac_ext <<_ACEOF
107345 /* end confdefs.h. */
107346 #include <math.h>
107348 main ()
107350 __builtin_sinl(0);
107352 return 0;
107354 _ACEOF
107355 rm -f conftest.$ac_objext
107356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107357 (eval $ac_compile) 2>conftest.er1
107358 ac_status=$?
107359 grep -v '^ *+' conftest.er1 >conftest.err
107360 rm -f conftest.er1
107361 cat conftest.err >&5
107362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107363 (exit $ac_status); } &&
107364 { ac_try='test -z "$ac_cxx_werror_flag"
107365 || test ! -s conftest.err'
107366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107367 (eval $ac_try) 2>&5
107368 ac_status=$?
107369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107370 (exit $ac_status); }; } &&
107371 { ac_try='test -s conftest.$ac_objext'
107372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107373 (eval $ac_try) 2>&5
107374 ac_status=$?
107375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107376 (exit $ac_status); }; }; then
107377 glibcxx_cv_func___builtin_sinl_use=yes
107379 echo "$as_me: failed program was:" >&5
107380 sed 's/^/| /' conftest.$ac_ext >&5
107382 glibcxx_cv_func___builtin_sinl_use=no
107384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107385 ac_ext=c
107386 ac_cpp='$CPP $CPPFLAGS'
107387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
107396 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
107397 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
107398 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
107399 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
107400 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
107401 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
107402 echo $ECHO_N "(cached) $ECHO_C" >&6
107405 if test x$gcc_no_link = xyes; then
107406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107408 { (exit 1); exit 1; }; }
107410 cat >conftest.$ac_ext <<_ACEOF
107411 /* confdefs.h. */
107412 _ACEOF
107413 cat confdefs.h >>conftest.$ac_ext
107414 cat >>conftest.$ac_ext <<_ACEOF
107415 /* end confdefs.h. */
107416 #include <math.h>
107418 main ()
107420 __builtin_sinl(0);
107422 return 0;
107424 _ACEOF
107425 rm -f conftest.$ac_objext conftest$ac_exeext
107426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107427 (eval $ac_link) 2>conftest.er1
107428 ac_status=$?
107429 grep -v '^ *+' conftest.er1 >conftest.err
107430 rm -f conftest.er1
107431 cat conftest.err >&5
107432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107433 (exit $ac_status); } &&
107434 { ac_try='test -z "$ac_c_werror_flag"
107435 || test ! -s conftest.err'
107436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107437 (eval $ac_try) 2>&5
107438 ac_status=$?
107439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107440 (exit $ac_status); }; } &&
107441 { ac_try='test -s conftest$ac_exeext'
107442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107443 (eval $ac_try) 2>&5
107444 ac_status=$?
107445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107446 (exit $ac_status); }; }; then
107447 glibcxx_cv_func___builtin_sinl_link=yes
107449 echo "$as_me: failed program was:" >&5
107450 sed 's/^/| /' conftest.$ac_ext >&5
107452 glibcxx_cv_func___builtin_sinl_link=no
107454 rm -f conftest.err conftest.$ac_objext \
107455 conftest$ac_exeext conftest.$ac_ext
107460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
107461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
107463 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
107465 cat >>confdefs.h <<\_ACEOF
107466 #define HAVE___BUILTIN_SINL 1
107467 _ACEOF
107475 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
107476 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
107477 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
107478 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
107479 echo $ECHO_N "(cached) $ECHO_C" >&6
107484 ac_ext=cc
107485 ac_cpp='$CXXCPP $CPPFLAGS'
107486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107490 cat >conftest.$ac_ext <<_ACEOF
107491 /* confdefs.h. */
107492 _ACEOF
107493 cat confdefs.h >>conftest.$ac_ext
107494 cat >>conftest.$ac_ext <<_ACEOF
107495 /* end confdefs.h. */
107496 #include <math.h>
107498 main ()
107500 __builtin_cosf(0);
107502 return 0;
107504 _ACEOF
107505 rm -f conftest.$ac_objext
107506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107507 (eval $ac_compile) 2>conftest.er1
107508 ac_status=$?
107509 grep -v '^ *+' conftest.er1 >conftest.err
107510 rm -f conftest.er1
107511 cat conftest.err >&5
107512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107513 (exit $ac_status); } &&
107514 { ac_try='test -z "$ac_cxx_werror_flag"
107515 || test ! -s conftest.err'
107516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107517 (eval $ac_try) 2>&5
107518 ac_status=$?
107519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107520 (exit $ac_status); }; } &&
107521 { ac_try='test -s conftest.$ac_objext'
107522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107523 (eval $ac_try) 2>&5
107524 ac_status=$?
107525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107526 (exit $ac_status); }; }; then
107527 glibcxx_cv_func___builtin_cosf_use=yes
107529 echo "$as_me: failed program was:" >&5
107530 sed 's/^/| /' conftest.$ac_ext >&5
107532 glibcxx_cv_func___builtin_cosf_use=no
107534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107535 ac_ext=c
107536 ac_cpp='$CPP $CPPFLAGS'
107537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
107546 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
107547 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
107548 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
107549 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
107550 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
107551 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
107552 echo $ECHO_N "(cached) $ECHO_C" >&6
107555 if test x$gcc_no_link = xyes; then
107556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107558 { (exit 1); exit 1; }; }
107560 cat >conftest.$ac_ext <<_ACEOF
107561 /* confdefs.h. */
107562 _ACEOF
107563 cat confdefs.h >>conftest.$ac_ext
107564 cat >>conftest.$ac_ext <<_ACEOF
107565 /* end confdefs.h. */
107566 #include <math.h>
107568 main ()
107570 __builtin_cosf(0);
107572 return 0;
107574 _ACEOF
107575 rm -f conftest.$ac_objext conftest$ac_exeext
107576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107577 (eval $ac_link) 2>conftest.er1
107578 ac_status=$?
107579 grep -v '^ *+' conftest.er1 >conftest.err
107580 rm -f conftest.er1
107581 cat conftest.err >&5
107582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107583 (exit $ac_status); } &&
107584 { ac_try='test -z "$ac_c_werror_flag"
107585 || test ! -s conftest.err'
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); }; } &&
107591 { ac_try='test -s conftest$ac_exeext'
107592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107593 (eval $ac_try) 2>&5
107594 ac_status=$?
107595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107596 (exit $ac_status); }; }; then
107597 glibcxx_cv_func___builtin_cosf_link=yes
107599 echo "$as_me: failed program was:" >&5
107600 sed 's/^/| /' conftest.$ac_ext >&5
107602 glibcxx_cv_func___builtin_cosf_link=no
107604 rm -f conftest.err conftest.$ac_objext \
107605 conftest$ac_exeext conftest.$ac_ext
107610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107611 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107613 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107615 cat >>confdefs.h <<\_ACEOF
107616 #define HAVE___BUILTIN_COSF 1
107617 _ACEOF
107624 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107625 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107626 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107627 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107628 echo $ECHO_N "(cached) $ECHO_C" >&6
107633 ac_ext=cc
107634 ac_cpp='$CXXCPP $CPPFLAGS'
107635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107639 cat >conftest.$ac_ext <<_ACEOF
107640 /* confdefs.h. */
107641 _ACEOF
107642 cat confdefs.h >>conftest.$ac_ext
107643 cat >>conftest.$ac_ext <<_ACEOF
107644 /* end confdefs.h. */
107645 #include <math.h>
107647 main ()
107649 __builtin_cos(0);
107651 return 0;
107653 _ACEOF
107654 rm -f conftest.$ac_objext
107655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107656 (eval $ac_compile) 2>conftest.er1
107657 ac_status=$?
107658 grep -v '^ *+' conftest.er1 >conftest.err
107659 rm -f conftest.er1
107660 cat conftest.err >&5
107661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107662 (exit $ac_status); } &&
107663 { ac_try='test -z "$ac_cxx_werror_flag"
107664 || test ! -s conftest.err'
107665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107666 (eval $ac_try) 2>&5
107667 ac_status=$?
107668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107669 (exit $ac_status); }; } &&
107670 { ac_try='test -s conftest.$ac_objext'
107671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107672 (eval $ac_try) 2>&5
107673 ac_status=$?
107674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107675 (exit $ac_status); }; }; then
107676 glibcxx_cv_func___builtin_cos_use=yes
107678 echo "$as_me: failed program was:" >&5
107679 sed 's/^/| /' conftest.$ac_ext >&5
107681 glibcxx_cv_func___builtin_cos_use=no
107683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107684 ac_ext=c
107685 ac_cpp='$CPP $CPPFLAGS'
107686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107695 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107696 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107697 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107698 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107699 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107700 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107701 echo $ECHO_N "(cached) $ECHO_C" >&6
107704 if test x$gcc_no_link = xyes; then
107705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107707 { (exit 1); exit 1; }; }
107709 cat >conftest.$ac_ext <<_ACEOF
107710 /* confdefs.h. */
107711 _ACEOF
107712 cat confdefs.h >>conftest.$ac_ext
107713 cat >>conftest.$ac_ext <<_ACEOF
107714 /* end confdefs.h. */
107715 #include <math.h>
107717 main ()
107719 __builtin_cos(0);
107721 return 0;
107723 _ACEOF
107724 rm -f conftest.$ac_objext conftest$ac_exeext
107725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107726 (eval $ac_link) 2>conftest.er1
107727 ac_status=$?
107728 grep -v '^ *+' conftest.er1 >conftest.err
107729 rm -f conftest.er1
107730 cat conftest.err >&5
107731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107732 (exit $ac_status); } &&
107733 { ac_try='test -z "$ac_c_werror_flag"
107734 || test ! -s conftest.err'
107735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107736 (eval $ac_try) 2>&5
107737 ac_status=$?
107738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107739 (exit $ac_status); }; } &&
107740 { ac_try='test -s conftest$ac_exeext'
107741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107742 (eval $ac_try) 2>&5
107743 ac_status=$?
107744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107745 (exit $ac_status); }; }; then
107746 glibcxx_cv_func___builtin_cos_link=yes
107748 echo "$as_me: failed program was:" >&5
107749 sed 's/^/| /' conftest.$ac_ext >&5
107751 glibcxx_cv_func___builtin_cos_link=no
107753 rm -f conftest.err conftest.$ac_objext \
107754 conftest$ac_exeext conftest.$ac_ext
107759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107760 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107762 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107764 cat >>confdefs.h <<\_ACEOF
107765 #define HAVE___BUILTIN_COS 1
107766 _ACEOF
107773 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107774 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107775 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107776 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107777 echo $ECHO_N "(cached) $ECHO_C" >&6
107782 ac_ext=cc
107783 ac_cpp='$CXXCPP $CPPFLAGS'
107784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107788 cat >conftest.$ac_ext <<_ACEOF
107789 /* confdefs.h. */
107790 _ACEOF
107791 cat confdefs.h >>conftest.$ac_ext
107792 cat >>conftest.$ac_ext <<_ACEOF
107793 /* end confdefs.h. */
107794 #include <math.h>
107796 main ()
107798 __builtin_cosl(0);
107800 return 0;
107802 _ACEOF
107803 rm -f conftest.$ac_objext
107804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107805 (eval $ac_compile) 2>conftest.er1
107806 ac_status=$?
107807 grep -v '^ *+' conftest.er1 >conftest.err
107808 rm -f conftest.er1
107809 cat conftest.err >&5
107810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107811 (exit $ac_status); } &&
107812 { ac_try='test -z "$ac_cxx_werror_flag"
107813 || test ! -s conftest.err'
107814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107815 (eval $ac_try) 2>&5
107816 ac_status=$?
107817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107818 (exit $ac_status); }; } &&
107819 { ac_try='test -s conftest.$ac_objext'
107820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107821 (eval $ac_try) 2>&5
107822 ac_status=$?
107823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107824 (exit $ac_status); }; }; then
107825 glibcxx_cv_func___builtin_cosl_use=yes
107827 echo "$as_me: failed program was:" >&5
107828 sed 's/^/| /' conftest.$ac_ext >&5
107830 glibcxx_cv_func___builtin_cosl_use=no
107832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107833 ac_ext=c
107834 ac_cpp='$CPP $CPPFLAGS'
107835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107844 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107845 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107846 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107847 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107848 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107849 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107850 echo $ECHO_N "(cached) $ECHO_C" >&6
107853 if test x$gcc_no_link = xyes; then
107854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107856 { (exit 1); exit 1; }; }
107858 cat >conftest.$ac_ext <<_ACEOF
107859 /* confdefs.h. */
107860 _ACEOF
107861 cat confdefs.h >>conftest.$ac_ext
107862 cat >>conftest.$ac_ext <<_ACEOF
107863 /* end confdefs.h. */
107864 #include <math.h>
107866 main ()
107868 __builtin_cosl(0);
107870 return 0;
107872 _ACEOF
107873 rm -f conftest.$ac_objext conftest$ac_exeext
107874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107875 (eval $ac_link) 2>conftest.er1
107876 ac_status=$?
107877 grep -v '^ *+' conftest.er1 >conftest.err
107878 rm -f conftest.er1
107879 cat conftest.err >&5
107880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107881 (exit $ac_status); } &&
107882 { ac_try='test -z "$ac_c_werror_flag"
107883 || test ! -s conftest.err'
107884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107885 (eval $ac_try) 2>&5
107886 ac_status=$?
107887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107888 (exit $ac_status); }; } &&
107889 { ac_try='test -s conftest$ac_exeext'
107890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107891 (eval $ac_try) 2>&5
107892 ac_status=$?
107893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107894 (exit $ac_status); }; }; then
107895 glibcxx_cv_func___builtin_cosl_link=yes
107897 echo "$as_me: failed program was:" >&5
107898 sed 's/^/| /' conftest.$ac_ext >&5
107900 glibcxx_cv_func___builtin_cosl_link=no
107902 rm -f conftest.err conftest.$ac_objext \
107903 conftest$ac_exeext conftest.$ac_ext
107908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107909 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107911 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107913 cat >>confdefs.h <<\_ACEOF
107914 #define HAVE___BUILTIN_COSL 1
107915 _ACEOF
107924 echo "$as_me:$LINENO: checking for main in -lm" >&5
107925 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107926 if test "${ac_cv_lib_m_main+set}" = set; then
107927 echo $ECHO_N "(cached) $ECHO_C" >&6
107929 ac_check_lib_save_LIBS=$LIBS
107930 LIBS="-lm $LIBS"
107931 if test x$gcc_no_link = xyes; then
107932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107934 { (exit 1); exit 1; }; }
107936 cat >conftest.$ac_ext <<_ACEOF
107937 /* confdefs.h. */
107938 _ACEOF
107939 cat confdefs.h >>conftest.$ac_ext
107940 cat >>conftest.$ac_ext <<_ACEOF
107941 /* end confdefs.h. */
107945 main ()
107947 main ();
107949 return 0;
107951 _ACEOF
107952 rm -f conftest.$ac_objext conftest$ac_exeext
107953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107954 (eval $ac_link) 2>conftest.er1
107955 ac_status=$?
107956 grep -v '^ *+' conftest.er1 >conftest.err
107957 rm -f conftest.er1
107958 cat conftest.err >&5
107959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107960 (exit $ac_status); } &&
107961 { ac_try='test -z "$ac_c_werror_flag"
107962 || test ! -s conftest.err'
107963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107964 (eval $ac_try) 2>&5
107965 ac_status=$?
107966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107967 (exit $ac_status); }; } &&
107968 { ac_try='test -s conftest$ac_exeext'
107969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107970 (eval $ac_try) 2>&5
107971 ac_status=$?
107972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107973 (exit $ac_status); }; }; then
107974 ac_cv_lib_m_main=yes
107976 echo "$as_me: failed program was:" >&5
107977 sed 's/^/| /' conftest.$ac_ext >&5
107979 ac_cv_lib_m_main=no
107981 rm -f conftest.err conftest.$ac_objext \
107982 conftest$ac_exeext conftest.$ac_ext
107983 LIBS=$ac_check_lib_save_LIBS
107985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107986 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107987 if test $ac_cv_lib_m_main = yes; then
107988 cat >>confdefs.h <<_ACEOF
107989 #define HAVE_LIBM 1
107990 _ACEOF
107992 LIBS="-lm $LIBS"
107997 for ac_func in copysignf
107999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108000 echo "$as_me:$LINENO: checking for $ac_func" >&5
108001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108002 if eval "test \"\${$as_ac_var+set}\" = set"; then
108003 echo $ECHO_N "(cached) $ECHO_C" >&6
108005 if test x$gcc_no_link = xyes; then
108006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108008 { (exit 1); exit 1; }; }
108010 cat >conftest.$ac_ext <<_ACEOF
108011 /* confdefs.h. */
108012 _ACEOF
108013 cat confdefs.h >>conftest.$ac_ext
108014 cat >>conftest.$ac_ext <<_ACEOF
108015 /* end confdefs.h. */
108016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108018 #define $ac_func innocuous_$ac_func
108020 /* System header to define __stub macros and hopefully few prototypes,
108021 which can conflict with char $ac_func (); below.
108022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108023 <limits.h> exists even on freestanding compilers. */
108025 #ifdef __STDC__
108026 # include <limits.h>
108027 #else
108028 # include <assert.h>
108029 #endif
108031 #undef $ac_func
108033 /* Override any gcc2 internal prototype to avoid an error. */
108034 #ifdef __cplusplus
108035 extern "C"
108037 #endif
108038 /* We use char because int might match the return type of a gcc2
108039 builtin and then its argument prototype would still apply. */
108040 char $ac_func ();
108041 /* The GNU C library defines this for functions which it implements
108042 to always fail with ENOSYS. Some functions are actually named
108043 something starting with __ and the normal name is an alias. */
108044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108045 choke me
108046 #else
108047 char (*f) () = $ac_func;
108048 #endif
108049 #ifdef __cplusplus
108051 #endif
108054 main ()
108056 return f != $ac_func;
108058 return 0;
108060 _ACEOF
108061 rm -f conftest.$ac_objext conftest$ac_exeext
108062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108063 (eval $ac_link) 2>conftest.er1
108064 ac_status=$?
108065 grep -v '^ *+' conftest.er1 >conftest.err
108066 rm -f conftest.er1
108067 cat conftest.err >&5
108068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108069 (exit $ac_status); } &&
108070 { ac_try='test -z "$ac_c_werror_flag"
108071 || test ! -s conftest.err'
108072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108073 (eval $ac_try) 2>&5
108074 ac_status=$?
108075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108076 (exit $ac_status); }; } &&
108077 { ac_try='test -s conftest$ac_exeext'
108078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108079 (eval $ac_try) 2>&5
108080 ac_status=$?
108081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108082 (exit $ac_status); }; }; then
108083 eval "$as_ac_var=yes"
108085 echo "$as_me: failed program was:" >&5
108086 sed 's/^/| /' conftest.$ac_ext >&5
108088 eval "$as_ac_var=no"
108090 rm -f conftest.err conftest.$ac_objext \
108091 conftest$ac_exeext conftest.$ac_ext
108093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108095 if test `eval echo '${'$as_ac_var'}'` = yes; then
108096 cat >>confdefs.h <<_ACEOF
108097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108098 _ACEOF
108101 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
108107 for ac_func in __signbit
108109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108110 echo "$as_me:$LINENO: checking for $ac_func" >&5
108111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108112 if eval "test \"\${$as_ac_var+set}\" = set"; then
108113 echo $ECHO_N "(cached) $ECHO_C" >&6
108115 if test x$gcc_no_link = xyes; then
108116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108118 { (exit 1); exit 1; }; }
108120 cat >conftest.$ac_ext <<_ACEOF
108121 /* confdefs.h. */
108122 _ACEOF
108123 cat confdefs.h >>conftest.$ac_ext
108124 cat >>conftest.$ac_ext <<_ACEOF
108125 /* end confdefs.h. */
108126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108128 #define $ac_func innocuous_$ac_func
108130 /* System header to define __stub macros and hopefully few prototypes,
108131 which can conflict with char $ac_func (); below.
108132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108133 <limits.h> exists even on freestanding compilers. */
108135 #ifdef __STDC__
108136 # include <limits.h>
108137 #else
108138 # include <assert.h>
108139 #endif
108141 #undef $ac_func
108143 /* Override any gcc2 internal prototype to avoid an error. */
108144 #ifdef __cplusplus
108145 extern "C"
108147 #endif
108148 /* We use char because int might match the return type of a gcc2
108149 builtin and then its argument prototype would still apply. */
108150 char $ac_func ();
108151 /* The GNU C library defines this for functions which it implements
108152 to always fail with ENOSYS. Some functions are actually named
108153 something starting with __ and the normal name is an alias. */
108154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108155 choke me
108156 #else
108157 char (*f) () = $ac_func;
108158 #endif
108159 #ifdef __cplusplus
108161 #endif
108164 main ()
108166 return f != $ac_func;
108168 return 0;
108170 _ACEOF
108171 rm -f conftest.$ac_objext conftest$ac_exeext
108172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108173 (eval $ac_link) 2>conftest.er1
108174 ac_status=$?
108175 grep -v '^ *+' conftest.er1 >conftest.err
108176 rm -f conftest.er1
108177 cat conftest.err >&5
108178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108179 (exit $ac_status); } &&
108180 { ac_try='test -z "$ac_c_werror_flag"
108181 || test ! -s conftest.err'
108182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108183 (eval $ac_try) 2>&5
108184 ac_status=$?
108185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108186 (exit $ac_status); }; } &&
108187 { ac_try='test -s conftest$ac_exeext'
108188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108189 (eval $ac_try) 2>&5
108190 ac_status=$?
108191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108192 (exit $ac_status); }; }; then
108193 eval "$as_ac_var=yes"
108195 echo "$as_me: failed program was:" >&5
108196 sed 's/^/| /' conftest.$ac_ext >&5
108198 eval "$as_ac_var=no"
108200 rm -f conftest.err conftest.$ac_objext \
108201 conftest$ac_exeext conftest.$ac_ext
108203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108205 if test `eval echo '${'$as_ac_var'}'` = yes; then
108206 cat >>confdefs.h <<_ACEOF
108207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108208 _ACEOF
108211 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
108217 for ac_func in __signbitf
108219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108220 echo "$as_me:$LINENO: checking for $ac_func" >&5
108221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108222 if eval "test \"\${$as_ac_var+set}\" = set"; then
108223 echo $ECHO_N "(cached) $ECHO_C" >&6
108225 if test x$gcc_no_link = xyes; then
108226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108228 { (exit 1); exit 1; }; }
108230 cat >conftest.$ac_ext <<_ACEOF
108231 /* confdefs.h. */
108232 _ACEOF
108233 cat confdefs.h >>conftest.$ac_ext
108234 cat >>conftest.$ac_ext <<_ACEOF
108235 /* end confdefs.h. */
108236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108238 #define $ac_func innocuous_$ac_func
108240 /* System header to define __stub macros and hopefully few prototypes,
108241 which can conflict with char $ac_func (); below.
108242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108243 <limits.h> exists even on freestanding compilers. */
108245 #ifdef __STDC__
108246 # include <limits.h>
108247 #else
108248 # include <assert.h>
108249 #endif
108251 #undef $ac_func
108253 /* Override any gcc2 internal prototype to avoid an error. */
108254 #ifdef __cplusplus
108255 extern "C"
108257 #endif
108258 /* We use char because int might match the return type of a gcc2
108259 builtin and then its argument prototype would still apply. */
108260 char $ac_func ();
108261 /* The GNU C library defines this for functions which it implements
108262 to always fail with ENOSYS. Some functions are actually named
108263 something starting with __ and the normal name is an alias. */
108264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108265 choke me
108266 #else
108267 char (*f) () = $ac_func;
108268 #endif
108269 #ifdef __cplusplus
108271 #endif
108274 main ()
108276 return f != $ac_func;
108278 return 0;
108280 _ACEOF
108281 rm -f conftest.$ac_objext conftest$ac_exeext
108282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108283 (eval $ac_link) 2>conftest.er1
108284 ac_status=$?
108285 grep -v '^ *+' conftest.er1 >conftest.err
108286 rm -f conftest.er1
108287 cat conftest.err >&5
108288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108289 (exit $ac_status); } &&
108290 { ac_try='test -z "$ac_c_werror_flag"
108291 || test ! -s conftest.err'
108292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108293 (eval $ac_try) 2>&5
108294 ac_status=$?
108295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108296 (exit $ac_status); }; } &&
108297 { ac_try='test -s conftest$ac_exeext'
108298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108299 (eval $ac_try) 2>&5
108300 ac_status=$?
108301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108302 (exit $ac_status); }; }; then
108303 eval "$as_ac_var=yes"
108305 echo "$as_me: failed program was:" >&5
108306 sed 's/^/| /' conftest.$ac_ext >&5
108308 eval "$as_ac_var=no"
108310 rm -f conftest.err conftest.$ac_objext \
108311 conftest$ac_exeext conftest.$ac_ext
108313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108315 if test `eval echo '${'$as_ac_var'}'` = yes; then
108316 cat >>confdefs.h <<_ACEOF
108317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108318 _ACEOF
108321 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
108326 if test x$ac_cv_func_copysignl = x"yes"; then
108328 for ac_func in __signbitl
108330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108331 echo "$as_me:$LINENO: checking for $ac_func" >&5
108332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108333 if eval "test \"\${$as_ac_var+set}\" = set"; then
108334 echo $ECHO_N "(cached) $ECHO_C" >&6
108336 if test x$gcc_no_link = xyes; then
108337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108339 { (exit 1); exit 1; }; }
108341 cat >conftest.$ac_ext <<_ACEOF
108342 /* confdefs.h. */
108343 _ACEOF
108344 cat confdefs.h >>conftest.$ac_ext
108345 cat >>conftest.$ac_ext <<_ACEOF
108346 /* end confdefs.h. */
108347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108349 #define $ac_func innocuous_$ac_func
108351 /* System header to define __stub macros and hopefully few prototypes,
108352 which can conflict with char $ac_func (); below.
108353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108354 <limits.h> exists even on freestanding compilers. */
108356 #ifdef __STDC__
108357 # include <limits.h>
108358 #else
108359 # include <assert.h>
108360 #endif
108362 #undef $ac_func
108364 /* Override any gcc2 internal prototype to avoid an error. */
108365 #ifdef __cplusplus
108366 extern "C"
108368 #endif
108369 /* We use char because int might match the return type of a gcc2
108370 builtin and then its argument prototype would still apply. */
108371 char $ac_func ();
108372 /* The GNU C library defines this for functions which it implements
108373 to always fail with ENOSYS. Some functions are actually named
108374 something starting with __ and the normal name is an alias. */
108375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108376 choke me
108377 #else
108378 char (*f) () = $ac_func;
108379 #endif
108380 #ifdef __cplusplus
108382 #endif
108385 main ()
108387 return f != $ac_func;
108389 return 0;
108391 _ACEOF
108392 rm -f conftest.$ac_objext conftest$ac_exeext
108393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108394 (eval $ac_link) 2>conftest.er1
108395 ac_status=$?
108396 grep -v '^ *+' conftest.er1 >conftest.err
108397 rm -f conftest.er1
108398 cat conftest.err >&5
108399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108400 (exit $ac_status); } &&
108401 { ac_try='test -z "$ac_c_werror_flag"
108402 || test ! -s conftest.err'
108403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108404 (eval $ac_try) 2>&5
108405 ac_status=$?
108406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108407 (exit $ac_status); }; } &&
108408 { ac_try='test -s conftest$ac_exeext'
108409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108410 (eval $ac_try) 2>&5
108411 ac_status=$?
108412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108413 (exit $ac_status); }; }; then
108414 eval "$as_ac_var=yes"
108416 echo "$as_me: failed program was:" >&5
108417 sed 's/^/| /' conftest.$ac_ext >&5
108419 eval "$as_ac_var=no"
108421 rm -f conftest.err conftest.$ac_objext \
108422 conftest$ac_exeext conftest.$ac_ext
108424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108426 if test `eval echo '${'$as_ac_var'}'` = yes; then
108427 cat >>confdefs.h <<_ACEOF
108428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108429 _ACEOF
108432 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
108438 # Used in libmath/Makefile.am.
108439 if test -n "$LIBMATHOBJS"; then
108440 need_libmath=yes
108445 ac_test_CXXFLAGS="${CXXFLAGS+set}"
108446 ac_save_CXXFLAGS="$CXXFLAGS"
108447 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
108450 echo "$as_me:$LINENO: checking for strtold declaration" >&5
108451 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
108452 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
108453 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
108454 echo $ECHO_N "(cached) $ECHO_C" >&6
108459 ac_ext=cc
108460 ac_cpp='$CXXCPP $CPPFLAGS'
108461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108465 cat >conftest.$ac_ext <<_ACEOF
108466 /* confdefs.h. */
108467 _ACEOF
108468 cat confdefs.h >>conftest.$ac_ext
108469 cat >>conftest.$ac_ext <<_ACEOF
108470 /* end confdefs.h. */
108471 #include <stdlib.h>
108473 main ()
108475 strtold(0, 0);
108477 return 0;
108479 _ACEOF
108480 rm -f conftest.$ac_objext
108481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108482 (eval $ac_compile) 2>conftest.er1
108483 ac_status=$?
108484 grep -v '^ *+' conftest.er1 >conftest.err
108485 rm -f conftest.er1
108486 cat conftest.err >&5
108487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108488 (exit $ac_status); } &&
108489 { ac_try='test -z "$ac_cxx_werror_flag"
108490 || test ! -s conftest.err'
108491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108492 (eval $ac_try) 2>&5
108493 ac_status=$?
108494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108495 (exit $ac_status); }; } &&
108496 { ac_try='test -s conftest.$ac_objext'
108497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108498 (eval $ac_try) 2>&5
108499 ac_status=$?
108500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108501 (exit $ac_status); }; }; then
108502 glibcxx_cv_func_strtold_use=yes
108504 echo "$as_me: failed program was:" >&5
108505 sed 's/^/| /' conftest.$ac_ext >&5
108507 glibcxx_cv_func_strtold_use=no
108509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108510 ac_ext=c
108511 ac_cpp='$CPP $CPPFLAGS'
108512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
108521 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
108522 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
108524 for ac_func in strtold
108526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108527 echo "$as_me:$LINENO: checking for $ac_func" >&5
108528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108529 if eval "test \"\${$as_ac_var+set}\" = set"; then
108530 echo $ECHO_N "(cached) $ECHO_C" >&6
108532 if test x$gcc_no_link = xyes; then
108533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108535 { (exit 1); exit 1; }; }
108537 cat >conftest.$ac_ext <<_ACEOF
108538 /* confdefs.h. */
108539 _ACEOF
108540 cat confdefs.h >>conftest.$ac_ext
108541 cat >>conftest.$ac_ext <<_ACEOF
108542 /* end confdefs.h. */
108543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108545 #define $ac_func innocuous_$ac_func
108547 /* System header to define __stub macros and hopefully few prototypes,
108548 which can conflict with char $ac_func (); below.
108549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108550 <limits.h> exists even on freestanding compilers. */
108552 #ifdef __STDC__
108553 # include <limits.h>
108554 #else
108555 # include <assert.h>
108556 #endif
108558 #undef $ac_func
108560 /* Override any gcc2 internal prototype to avoid an error. */
108561 #ifdef __cplusplus
108562 extern "C"
108564 #endif
108565 /* We use char because int might match the return type of a gcc2
108566 builtin and then its argument prototype would still apply. */
108567 char $ac_func ();
108568 /* The GNU C library defines this for functions which it implements
108569 to always fail with ENOSYS. Some functions are actually named
108570 something starting with __ and the normal name is an alias. */
108571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108572 choke me
108573 #else
108574 char (*f) () = $ac_func;
108575 #endif
108576 #ifdef __cplusplus
108578 #endif
108581 main ()
108583 return f != $ac_func;
108585 return 0;
108587 _ACEOF
108588 rm -f conftest.$ac_objext conftest$ac_exeext
108589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108590 (eval $ac_link) 2>conftest.er1
108591 ac_status=$?
108592 grep -v '^ *+' conftest.er1 >conftest.err
108593 rm -f conftest.er1
108594 cat conftest.err >&5
108595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108596 (exit $ac_status); } &&
108597 { ac_try='test -z "$ac_c_werror_flag"
108598 || test ! -s conftest.err'
108599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108600 (eval $ac_try) 2>&5
108601 ac_status=$?
108602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108603 (exit $ac_status); }; } &&
108604 { ac_try='test -s conftest$ac_exeext'
108605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108606 (eval $ac_try) 2>&5
108607 ac_status=$?
108608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108609 (exit $ac_status); }; }; then
108610 eval "$as_ac_var=yes"
108612 echo "$as_me: failed program was:" >&5
108613 sed 's/^/| /' conftest.$ac_ext >&5
108615 eval "$as_ac_var=no"
108617 rm -f conftest.err conftest.$ac_objext \
108618 conftest$ac_exeext conftest.$ac_ext
108620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108622 if test `eval echo '${'$as_ac_var'}'` = yes; then
108623 cat >>confdefs.h <<_ACEOF
108624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108625 _ACEOF
108636 echo "$as_me:$LINENO: checking for strtof declaration" >&5
108637 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108638 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108639 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108640 echo $ECHO_N "(cached) $ECHO_C" >&6
108645 ac_ext=cc
108646 ac_cpp='$CXXCPP $CPPFLAGS'
108647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108651 cat >conftest.$ac_ext <<_ACEOF
108652 /* confdefs.h. */
108653 _ACEOF
108654 cat confdefs.h >>conftest.$ac_ext
108655 cat >>conftest.$ac_ext <<_ACEOF
108656 /* end confdefs.h. */
108657 #include <stdlib.h>
108659 main ()
108661 strtof(0, 0);
108663 return 0;
108665 _ACEOF
108666 rm -f conftest.$ac_objext
108667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108668 (eval $ac_compile) 2>conftest.er1
108669 ac_status=$?
108670 grep -v '^ *+' conftest.er1 >conftest.err
108671 rm -f conftest.er1
108672 cat conftest.err >&5
108673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108674 (exit $ac_status); } &&
108675 { ac_try='test -z "$ac_cxx_werror_flag"
108676 || test ! -s conftest.err'
108677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108678 (eval $ac_try) 2>&5
108679 ac_status=$?
108680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108681 (exit $ac_status); }; } &&
108682 { ac_try='test -s conftest.$ac_objext'
108683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108684 (eval $ac_try) 2>&5
108685 ac_status=$?
108686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108687 (exit $ac_status); }; }; then
108688 glibcxx_cv_func_strtof_use=yes
108690 echo "$as_me: failed program was:" >&5
108691 sed 's/^/| /' conftest.$ac_ext >&5
108693 glibcxx_cv_func_strtof_use=no
108695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108696 ac_ext=c
108697 ac_cpp='$CPP $CPPFLAGS'
108698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108707 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108708 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108710 for ac_func in strtof
108712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108713 echo "$as_me:$LINENO: checking for $ac_func" >&5
108714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108715 if eval "test \"\${$as_ac_var+set}\" = set"; then
108716 echo $ECHO_N "(cached) $ECHO_C" >&6
108718 if test x$gcc_no_link = xyes; then
108719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108721 { (exit 1); exit 1; }; }
108723 cat >conftest.$ac_ext <<_ACEOF
108724 /* confdefs.h. */
108725 _ACEOF
108726 cat confdefs.h >>conftest.$ac_ext
108727 cat >>conftest.$ac_ext <<_ACEOF
108728 /* end confdefs.h. */
108729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108731 #define $ac_func innocuous_$ac_func
108733 /* System header to define __stub macros and hopefully few prototypes,
108734 which can conflict with char $ac_func (); below.
108735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108736 <limits.h> exists even on freestanding compilers. */
108738 #ifdef __STDC__
108739 # include <limits.h>
108740 #else
108741 # include <assert.h>
108742 #endif
108744 #undef $ac_func
108746 /* Override any gcc2 internal prototype to avoid an error. */
108747 #ifdef __cplusplus
108748 extern "C"
108750 #endif
108751 /* We use char because int might match the return type of a gcc2
108752 builtin and then its argument prototype would still apply. */
108753 char $ac_func ();
108754 /* The GNU C library defines this for functions which it implements
108755 to always fail with ENOSYS. Some functions are actually named
108756 something starting with __ and the normal name is an alias. */
108757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108758 choke me
108759 #else
108760 char (*f) () = $ac_func;
108761 #endif
108762 #ifdef __cplusplus
108764 #endif
108767 main ()
108769 return f != $ac_func;
108771 return 0;
108773 _ACEOF
108774 rm -f conftest.$ac_objext conftest$ac_exeext
108775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108776 (eval $ac_link) 2>conftest.er1
108777 ac_status=$?
108778 grep -v '^ *+' conftest.er1 >conftest.err
108779 rm -f conftest.er1
108780 cat conftest.err >&5
108781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108782 (exit $ac_status); } &&
108783 { ac_try='test -z "$ac_c_werror_flag"
108784 || test ! -s conftest.err'
108785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108786 (eval $ac_try) 2>&5
108787 ac_status=$?
108788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108789 (exit $ac_status); }; } &&
108790 { ac_try='test -s conftest$ac_exeext'
108791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108792 (eval $ac_try) 2>&5
108793 ac_status=$?
108794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108795 (exit $ac_status); }; }; then
108796 eval "$as_ac_var=yes"
108798 echo "$as_me: failed program was:" >&5
108799 sed 's/^/| /' conftest.$ac_ext >&5
108801 eval "$as_ac_var=no"
108803 rm -f conftest.err conftest.$ac_objext \
108804 conftest$ac_exeext conftest.$ac_ext
108806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108808 if test `eval echo '${'$as_ac_var'}'` = yes; then
108809 cat >>confdefs.h <<_ACEOF
108810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108811 _ACEOF
108822 CXXFLAGS="$ac_save_CXXFLAGS"
108825 # For LFS.
108826 cat >>confdefs.h <<\_ACEOF
108827 #define HAVE_INT64_T 1
108828 _ACEOF
108833 ac_ext=cc
108834 ac_cpp='$CXXCPP $CPPFLAGS'
108835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108839 ac_save_CXXFLAGS="$CXXFLAGS"
108840 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108841 echo "$as_me:$LINENO: checking for LFS support" >&5
108842 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108843 if test "${glibcxx_cv_LFS+set}" = set; then
108844 echo $ECHO_N "(cached) $ECHO_C" >&6
108847 if test x$gcc_no_link = xyes; then
108848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108850 { (exit 1); exit 1; }; }
108852 cat >conftest.$ac_ext <<_ACEOF
108853 /* confdefs.h. */
108854 _ACEOF
108855 cat confdefs.h >>conftest.$ac_ext
108856 cat >>conftest.$ac_ext <<_ACEOF
108857 /* end confdefs.h. */
108858 #include <unistd.h>
108859 #include <stdio.h>
108860 #include <sys/stat.h>
108863 main ()
108865 FILE* fp;
108866 fopen64("t", "w");
108867 fseeko64(fp, 0, SEEK_CUR);
108868 ftello64(fp);
108869 lseek64(1, 0, SEEK_CUR);
108870 struct stat64 buf;
108871 fstat64(1, &buf);
108873 return 0;
108875 _ACEOF
108876 rm -f conftest.$ac_objext conftest$ac_exeext
108877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108878 (eval $ac_link) 2>conftest.er1
108879 ac_status=$?
108880 grep -v '^ *+' conftest.er1 >conftest.err
108881 rm -f conftest.er1
108882 cat conftest.err >&5
108883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108884 (exit $ac_status); } &&
108885 { ac_try='test -z "$ac_cxx_werror_flag"
108886 || test ! -s conftest.err'
108887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108888 (eval $ac_try) 2>&5
108889 ac_status=$?
108890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108891 (exit $ac_status); }; } &&
108892 { ac_try='test -s conftest$ac_exeext'
108893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108894 (eval $ac_try) 2>&5
108895 ac_status=$?
108896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108897 (exit $ac_status); }; }; then
108898 glibcxx_cv_LFS=yes
108900 echo "$as_me: failed program was:" >&5
108901 sed 's/^/| /' conftest.$ac_ext >&5
108903 glibcxx_cv_LFS=no
108905 rm -f conftest.err conftest.$ac_objext \
108906 conftest$ac_exeext conftest.$ac_ext
108910 if test $glibcxx_cv_LFS = yes; then
108912 cat >>confdefs.h <<\_ACEOF
108913 #define _GLIBCXX_USE_LFS 1
108914 _ACEOF
108917 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108918 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108919 CXXFLAGS="$ac_save_CXXFLAGS"
108920 ac_ext=c
108921 ac_cpp='$CPP $CPPFLAGS'
108922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108928 # For showmanyc_helper().
108931 for ac_header in sys/ioctl.h sys/filio.h
108933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108935 echo "$as_me:$LINENO: checking for $ac_header" >&5
108936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108938 echo $ECHO_N "(cached) $ECHO_C" >&6
108940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108943 # Is the header compilable?
108944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108946 cat >conftest.$ac_ext <<_ACEOF
108947 /* confdefs.h. */
108948 _ACEOF
108949 cat confdefs.h >>conftest.$ac_ext
108950 cat >>conftest.$ac_ext <<_ACEOF
108951 /* end confdefs.h. */
108952 $ac_includes_default
108953 #include <$ac_header>
108954 _ACEOF
108955 rm -f conftest.$ac_objext
108956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108957 (eval $ac_compile) 2>conftest.er1
108958 ac_status=$?
108959 grep -v '^ *+' conftest.er1 >conftest.err
108960 rm -f conftest.er1
108961 cat conftest.err >&5
108962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108963 (exit $ac_status); } &&
108964 { ac_try='test -z "$ac_c_werror_flag"
108965 || test ! -s conftest.err'
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); }; } &&
108971 { ac_try='test -s conftest.$ac_objext'
108972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108973 (eval $ac_try) 2>&5
108974 ac_status=$?
108975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108976 (exit $ac_status); }; }; then
108977 ac_header_compiler=yes
108979 echo "$as_me: failed program was:" >&5
108980 sed 's/^/| /' conftest.$ac_ext >&5
108982 ac_header_compiler=no
108984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108986 echo "${ECHO_T}$ac_header_compiler" >&6
108988 # Is the header present?
108989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108991 cat >conftest.$ac_ext <<_ACEOF
108992 /* confdefs.h. */
108993 _ACEOF
108994 cat confdefs.h >>conftest.$ac_ext
108995 cat >>conftest.$ac_ext <<_ACEOF
108996 /* end confdefs.h. */
108997 #include <$ac_header>
108998 _ACEOF
108999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109001 ac_status=$?
109002 grep -v '^ *+' conftest.er1 >conftest.err
109003 rm -f conftest.er1
109004 cat conftest.err >&5
109005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109006 (exit $ac_status); } >/dev/null; then
109007 if test -s conftest.err; then
109008 ac_cpp_err=$ac_c_preproc_warn_flag
109009 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109011 ac_cpp_err=
109014 ac_cpp_err=yes
109016 if test -z "$ac_cpp_err"; then
109017 ac_header_preproc=yes
109019 echo "$as_me: failed program was:" >&5
109020 sed 's/^/| /' conftest.$ac_ext >&5
109022 ac_header_preproc=no
109024 rm -f conftest.err conftest.$ac_ext
109025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109026 echo "${ECHO_T}$ac_header_preproc" >&6
109028 # So? What about this header?
109029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109030 yes:no: )
109031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109035 ac_header_preproc=yes
109037 no:yes:* )
109038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109051 cat <<\_ASBOX
109052 ## ----------------------------------------- ##
109053 ## Report this to the package-unused lists. ##
109054 ## ----------------------------------------- ##
109055 _ASBOX
109057 sed "s/^/$as_me: WARNING: /" >&2
109060 echo "$as_me:$LINENO: checking for $ac_header" >&5
109061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109063 echo $ECHO_N "(cached) $ECHO_C" >&6
109065 eval "$as_ac_Header=\$ac_header_preproc"
109067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109072 cat >>confdefs.h <<_ACEOF
109073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109074 _ACEOF
109081 echo "$as_me:$LINENO: checking for poll" >&5
109082 echo $ECHO_N "checking for poll... $ECHO_C" >&6
109083 if test "${glibcxx_cv_POLL+set}" = set; then
109084 echo $ECHO_N "(cached) $ECHO_C" >&6
109087 if test x$gcc_no_link = xyes; then
109088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109090 { (exit 1); exit 1; }; }
109092 cat >conftest.$ac_ext <<_ACEOF
109093 /* confdefs.h. */
109094 _ACEOF
109095 cat confdefs.h >>conftest.$ac_ext
109096 cat >>conftest.$ac_ext <<_ACEOF
109097 /* end confdefs.h. */
109098 #include <poll.h>
109100 main ()
109102 struct pollfd pfd[1];
109103 pfd[0].events = POLLIN;
109104 poll(pfd, 1, 0);
109106 return 0;
109108 _ACEOF
109109 rm -f conftest.$ac_objext conftest$ac_exeext
109110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109111 (eval $ac_link) 2>conftest.er1
109112 ac_status=$?
109113 grep -v '^ *+' conftest.er1 >conftest.err
109114 rm -f conftest.er1
109115 cat conftest.err >&5
109116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109117 (exit $ac_status); } &&
109118 { ac_try='test -z "$ac_c_werror_flag"
109119 || test ! -s conftest.err'
109120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109121 (eval $ac_try) 2>&5
109122 ac_status=$?
109123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109124 (exit $ac_status); }; } &&
109125 { ac_try='test -s conftest$ac_exeext'
109126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109127 (eval $ac_try) 2>&5
109128 ac_status=$?
109129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109130 (exit $ac_status); }; }; then
109131 glibcxx_cv_POLL=yes
109133 echo "$as_me: failed program was:" >&5
109134 sed 's/^/| /' conftest.$ac_ext >&5
109136 glibcxx_cv_POLL=no
109138 rm -f conftest.err conftest.$ac_objext \
109139 conftest$ac_exeext conftest.$ac_ext
109143 if test $glibcxx_cv_POLL = yes; then
109145 cat >>confdefs.h <<\_ACEOF
109146 #define HAVE_POLL 1
109147 _ACEOF
109150 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
109151 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
109154 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
109155 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
109156 if test "${glibcxx_cv_S_ISREG+set}" = set; then
109157 echo $ECHO_N "(cached) $ECHO_C" >&6
109160 if test x$gcc_no_link = xyes; then
109161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109163 { (exit 1); exit 1; }; }
109165 cat >conftest.$ac_ext <<_ACEOF
109166 /* confdefs.h. */
109167 _ACEOF
109168 cat confdefs.h >>conftest.$ac_ext
109169 cat >>conftest.$ac_ext <<_ACEOF
109170 /* end confdefs.h. */
109171 #include <sys/stat.h>
109173 main ()
109175 struct stat buffer;
109176 fstat(0, &buffer);
109177 S_ISREG(buffer.st_mode);
109179 return 0;
109181 _ACEOF
109182 rm -f conftest.$ac_objext conftest$ac_exeext
109183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109184 (eval $ac_link) 2>conftest.er1
109185 ac_status=$?
109186 grep -v '^ *+' conftest.er1 >conftest.err
109187 rm -f conftest.er1
109188 cat conftest.err >&5
109189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109190 (exit $ac_status); } &&
109191 { ac_try='test -z "$ac_c_werror_flag"
109192 || test ! -s conftest.err'
109193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109194 (eval $ac_try) 2>&5
109195 ac_status=$?
109196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109197 (exit $ac_status); }; } &&
109198 { ac_try='test -s conftest$ac_exeext'
109199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109200 (eval $ac_try) 2>&5
109201 ac_status=$?
109202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109203 (exit $ac_status); }; }; then
109204 glibcxx_cv_S_ISREG=yes
109206 echo "$as_me: failed program was:" >&5
109207 sed 's/^/| /' conftest.$ac_ext >&5
109209 glibcxx_cv_S_ISREG=no
109211 rm -f conftest.err conftest.$ac_objext \
109212 conftest$ac_exeext conftest.$ac_ext
109216 if test "${glibcxx_cv_S_IFREG+set}" = set; then
109217 echo $ECHO_N "(cached) $ECHO_C" >&6
109220 if test x$gcc_no_link = xyes; then
109221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109223 { (exit 1); exit 1; }; }
109225 cat >conftest.$ac_ext <<_ACEOF
109226 /* confdefs.h. */
109227 _ACEOF
109228 cat confdefs.h >>conftest.$ac_ext
109229 cat >>conftest.$ac_ext <<_ACEOF
109230 /* end confdefs.h. */
109231 #include <sys/stat.h>
109233 main ()
109235 struct stat buffer;
109236 fstat(0, &buffer);
109237 S_IFREG & buffer.st_mode;
109239 return 0;
109241 _ACEOF
109242 rm -f conftest.$ac_objext conftest$ac_exeext
109243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109244 (eval $ac_link) 2>conftest.er1
109245 ac_status=$?
109246 grep -v '^ *+' conftest.er1 >conftest.err
109247 rm -f conftest.er1
109248 cat conftest.err >&5
109249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109250 (exit $ac_status); } &&
109251 { ac_try='test -z "$ac_c_werror_flag"
109252 || test ! -s conftest.err'
109253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109254 (eval $ac_try) 2>&5
109255 ac_status=$?
109256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109257 (exit $ac_status); }; } &&
109258 { ac_try='test -s conftest$ac_exeext'
109259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109260 (eval $ac_try) 2>&5
109261 ac_status=$?
109262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109263 (exit $ac_status); }; }; then
109264 glibcxx_cv_S_IFREG=yes
109266 echo "$as_me: failed program was:" >&5
109267 sed 's/^/| /' conftest.$ac_ext >&5
109269 glibcxx_cv_S_IFREG=no
109271 rm -f conftest.err conftest.$ac_objext \
109272 conftest$ac_exeext conftest.$ac_ext
109276 res=no
109277 if test $glibcxx_cv_S_ISREG = yes; then
109279 cat >>confdefs.h <<\_ACEOF
109280 #define HAVE_S_ISREG 1
109281 _ACEOF
109283 res=S_ISREG
109284 elif test $glibcxx_cv_S_IFREG = yes; then
109286 cat >>confdefs.h <<\_ACEOF
109287 #define HAVE_S_IFREG 1
109288 _ACEOF
109290 res=S_IFREG
109292 echo "$as_me:$LINENO: result: $res" >&5
109293 echo "${ECHO_T}$res" >&6
109296 # For xsputn_2().
109298 for ac_header in sys/uio.h
109300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109302 echo "$as_me:$LINENO: checking for $ac_header" >&5
109303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109305 echo $ECHO_N "(cached) $ECHO_C" >&6
109307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109310 # Is the header compilable?
109311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109313 cat >conftest.$ac_ext <<_ACEOF
109314 /* confdefs.h. */
109315 _ACEOF
109316 cat confdefs.h >>conftest.$ac_ext
109317 cat >>conftest.$ac_ext <<_ACEOF
109318 /* end confdefs.h. */
109319 $ac_includes_default
109320 #include <$ac_header>
109321 _ACEOF
109322 rm -f conftest.$ac_objext
109323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109324 (eval $ac_compile) 2>conftest.er1
109325 ac_status=$?
109326 grep -v '^ *+' conftest.er1 >conftest.err
109327 rm -f conftest.er1
109328 cat conftest.err >&5
109329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109330 (exit $ac_status); } &&
109331 { ac_try='test -z "$ac_c_werror_flag"
109332 || test ! -s conftest.err'
109333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109334 (eval $ac_try) 2>&5
109335 ac_status=$?
109336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109337 (exit $ac_status); }; } &&
109338 { ac_try='test -s conftest.$ac_objext'
109339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109340 (eval $ac_try) 2>&5
109341 ac_status=$?
109342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109343 (exit $ac_status); }; }; then
109344 ac_header_compiler=yes
109346 echo "$as_me: failed program was:" >&5
109347 sed 's/^/| /' conftest.$ac_ext >&5
109349 ac_header_compiler=no
109351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109353 echo "${ECHO_T}$ac_header_compiler" >&6
109355 # Is the header present?
109356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109358 cat >conftest.$ac_ext <<_ACEOF
109359 /* confdefs.h. */
109360 _ACEOF
109361 cat confdefs.h >>conftest.$ac_ext
109362 cat >>conftest.$ac_ext <<_ACEOF
109363 /* end confdefs.h. */
109364 #include <$ac_header>
109365 _ACEOF
109366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109368 ac_status=$?
109369 grep -v '^ *+' conftest.er1 >conftest.err
109370 rm -f conftest.er1
109371 cat conftest.err >&5
109372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109373 (exit $ac_status); } >/dev/null; then
109374 if test -s conftest.err; then
109375 ac_cpp_err=$ac_c_preproc_warn_flag
109376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109378 ac_cpp_err=
109381 ac_cpp_err=yes
109383 if test -z "$ac_cpp_err"; then
109384 ac_header_preproc=yes
109386 echo "$as_me: failed program was:" >&5
109387 sed 's/^/| /' conftest.$ac_ext >&5
109389 ac_header_preproc=no
109391 rm -f conftest.err conftest.$ac_ext
109392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109393 echo "${ECHO_T}$ac_header_preproc" >&6
109395 # So? What about this header?
109396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109397 yes:no: )
109398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109402 ac_header_preproc=yes
109404 no:yes:* )
109405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109418 cat <<\_ASBOX
109419 ## ----------------------------------------- ##
109420 ## Report this to the package-unused lists. ##
109421 ## ----------------------------------------- ##
109422 _ASBOX
109424 sed "s/^/$as_me: WARNING: /" >&2
109427 echo "$as_me:$LINENO: checking for $ac_header" >&5
109428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109430 echo $ECHO_N "(cached) $ECHO_C" >&6
109432 eval "$as_ac_Header=\$ac_header_preproc"
109434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109439 cat >>confdefs.h <<_ACEOF
109440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109441 _ACEOF
109448 echo "$as_me:$LINENO: checking for writev" >&5
109449 echo $ECHO_N "checking for writev... $ECHO_C" >&6
109450 if test "${glibcxx_cv_WRITEV+set}" = set; then
109451 echo $ECHO_N "(cached) $ECHO_C" >&6
109454 if test x$gcc_no_link = xyes; then
109455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109457 { (exit 1); exit 1; }; }
109459 cat >conftest.$ac_ext <<_ACEOF
109460 /* confdefs.h. */
109461 _ACEOF
109462 cat confdefs.h >>conftest.$ac_ext
109463 cat >>conftest.$ac_ext <<_ACEOF
109464 /* end confdefs.h. */
109465 #include <sys/uio.h>
109467 main ()
109469 struct iovec iov[2];
109470 writev(0, iov, 0);
109472 return 0;
109474 _ACEOF
109475 rm -f conftest.$ac_objext conftest$ac_exeext
109476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109477 (eval $ac_link) 2>conftest.er1
109478 ac_status=$?
109479 grep -v '^ *+' conftest.er1 >conftest.err
109480 rm -f conftest.er1
109481 cat conftest.err >&5
109482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109483 (exit $ac_status); } &&
109484 { ac_try='test -z "$ac_c_werror_flag"
109485 || test ! -s conftest.err'
109486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109487 (eval $ac_try) 2>&5
109488 ac_status=$?
109489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109490 (exit $ac_status); }; } &&
109491 { ac_try='test -s conftest$ac_exeext'
109492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109493 (eval $ac_try) 2>&5
109494 ac_status=$?
109495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109496 (exit $ac_status); }; }; then
109497 glibcxx_cv_WRITEV=yes
109499 echo "$as_me: failed program was:" >&5
109500 sed 's/^/| /' conftest.$ac_ext >&5
109502 glibcxx_cv_WRITEV=no
109504 rm -f conftest.err conftest.$ac_objext \
109505 conftest$ac_exeext conftest.$ac_ext
109509 if test $glibcxx_cv_WRITEV = yes; then
109511 cat >>confdefs.h <<\_ACEOF
109512 #define HAVE_WRITEV 1
109513 _ACEOF
109516 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
109517 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
109520 # For C99 support to TR1.
109525 ac_ext=cc
109526 ac_cpp='$CXXCPP $CPPFLAGS'
109527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109532 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
109533 # undefined and fake C99 facilities may be spuriously enabled.
109534 ac_save_CXXFLAGS="$CXXFLAGS"
109535 CXXFLAGS="$CXXFLAGS -std=c++98"
109537 # Check for the existence of <complex.h> complex math functions used
109538 # by tr1/complex.
109540 for ac_header in complex.h
109542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109544 echo "$as_me:$LINENO: checking for $ac_header" >&5
109545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109547 echo $ECHO_N "(cached) $ECHO_C" >&6
109549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109552 # Is the header compilable?
109553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109555 cat >conftest.$ac_ext <<_ACEOF
109556 /* confdefs.h. */
109557 _ACEOF
109558 cat confdefs.h >>conftest.$ac_ext
109559 cat >>conftest.$ac_ext <<_ACEOF
109560 /* end confdefs.h. */
109561 $ac_includes_default
109562 #include <$ac_header>
109563 _ACEOF
109564 rm -f conftest.$ac_objext
109565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109566 (eval $ac_compile) 2>conftest.er1
109567 ac_status=$?
109568 grep -v '^ *+' conftest.er1 >conftest.err
109569 rm -f conftest.er1
109570 cat conftest.err >&5
109571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109572 (exit $ac_status); } &&
109573 { ac_try='test -z "$ac_cxx_werror_flag"
109574 || test ! -s conftest.err'
109575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109576 (eval $ac_try) 2>&5
109577 ac_status=$?
109578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109579 (exit $ac_status); }; } &&
109580 { ac_try='test -s conftest.$ac_objext'
109581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109582 (eval $ac_try) 2>&5
109583 ac_status=$?
109584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109585 (exit $ac_status); }; }; then
109586 ac_header_compiler=yes
109588 echo "$as_me: failed program was:" >&5
109589 sed 's/^/| /' conftest.$ac_ext >&5
109591 ac_header_compiler=no
109593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109595 echo "${ECHO_T}$ac_header_compiler" >&6
109597 # Is the header present?
109598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109600 cat >conftest.$ac_ext <<_ACEOF
109601 /* confdefs.h. */
109602 _ACEOF
109603 cat confdefs.h >>conftest.$ac_ext
109604 cat >>conftest.$ac_ext <<_ACEOF
109605 /* end confdefs.h. */
109606 #include <$ac_header>
109607 _ACEOF
109608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109609 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109610 ac_status=$?
109611 grep -v '^ *+' conftest.er1 >conftest.err
109612 rm -f conftest.er1
109613 cat conftest.err >&5
109614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109615 (exit $ac_status); } >/dev/null; then
109616 if test -s conftest.err; then
109617 ac_cpp_err=$ac_cxx_preproc_warn_flag
109618 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109620 ac_cpp_err=
109623 ac_cpp_err=yes
109625 if test -z "$ac_cpp_err"; then
109626 ac_header_preproc=yes
109628 echo "$as_me: failed program was:" >&5
109629 sed 's/^/| /' conftest.$ac_ext >&5
109631 ac_header_preproc=no
109633 rm -f conftest.err conftest.$ac_ext
109634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109635 echo "${ECHO_T}$ac_header_preproc" >&6
109637 # So? What about this header?
109638 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109639 yes:no: )
109640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109644 ac_header_preproc=yes
109646 no:yes:* )
109647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109654 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109660 cat <<\_ASBOX
109661 ## ----------------------------------------- ##
109662 ## Report this to the package-unused lists. ##
109663 ## ----------------------------------------- ##
109664 _ASBOX
109666 sed "s/^/$as_me: WARNING: /" >&2
109669 echo "$as_me:$LINENO: checking for $ac_header" >&5
109670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109672 echo $ECHO_N "(cached) $ECHO_C" >&6
109674 eval "$as_ac_Header=\$ac_header_preproc"
109676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109681 cat >>confdefs.h <<_ACEOF
109682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109683 _ACEOF
109684 ac_has_complex_h=yes
109686 ac_has_complex_h=no
109691 ac_c99_complex_tr1=no;
109692 if test x"$ac_has_complex_h" = x"yes"; then
109693 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109694 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109695 cat >conftest.$ac_ext <<_ACEOF
109696 /* confdefs.h. */
109697 _ACEOF
109698 cat confdefs.h >>conftest.$ac_ext
109699 cat >>conftest.$ac_ext <<_ACEOF
109700 /* end confdefs.h. */
109701 #include <complex.h>
109703 main ()
109705 typedef __complex__ float float_type; float_type tmpf;
109706 cacosf(tmpf);
109707 casinf(tmpf);
109708 catanf(tmpf);
109709 cacoshf(tmpf);
109710 casinhf(tmpf);
109711 catanhf(tmpf);
109712 typedef __complex__ double double_type; double_type tmpd;
109713 cacos(tmpd);
109714 casin(tmpd);
109715 catan(tmpd);
109716 cacosh(tmpd);
109717 casinh(tmpd);
109718 catanh(tmpd);
109719 typedef __complex__ long double ld_type; ld_type tmpld;
109720 cacosl(tmpld);
109721 casinl(tmpld);
109722 catanl(tmpld);
109723 cacoshl(tmpld);
109724 casinhl(tmpld);
109725 catanhl(tmpld);
109728 return 0;
109730 _ACEOF
109731 rm -f conftest.$ac_objext
109732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109733 (eval $ac_compile) 2>conftest.er1
109734 ac_status=$?
109735 grep -v '^ *+' conftest.er1 >conftest.err
109736 rm -f conftest.er1
109737 cat conftest.err >&5
109738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109739 (exit $ac_status); } &&
109740 { ac_try='test -z "$ac_cxx_werror_flag"
109741 || test ! -s conftest.err'
109742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109743 (eval $ac_try) 2>&5
109744 ac_status=$?
109745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109746 (exit $ac_status); }; } &&
109747 { ac_try='test -s conftest.$ac_objext'
109748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109749 (eval $ac_try) 2>&5
109750 ac_status=$?
109751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109752 (exit $ac_status); }; }; then
109753 ac_c99_complex_tr1=yes
109755 echo "$as_me: failed program was:" >&5
109756 sed 's/^/| /' conftest.$ac_ext >&5
109758 ac_c99_complex_tr1=no
109760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109762 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109763 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109764 if test x"$ac_c99_complex_tr1" = x"yes"; then
109766 cat >>confdefs.h <<\_ACEOF
109767 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109768 _ACEOF
109772 # Check for the existence of <ctype.h> functions.
109773 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109774 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109775 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
109776 echo $ECHO_N "(cached) $ECHO_C" >&6
109779 cat >conftest.$ac_ext <<_ACEOF
109780 /* confdefs.h. */
109781 _ACEOF
109782 cat confdefs.h >>conftest.$ac_ext
109783 cat >>conftest.$ac_ext <<_ACEOF
109784 /* end confdefs.h. */
109785 #include <ctype.h>
109787 main ()
109789 int ch;
109790 int ret;
109791 ret = isblank(ch);
109794 return 0;
109796 _ACEOF
109797 rm -f conftest.$ac_objext
109798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109799 (eval $ac_compile) 2>conftest.er1
109800 ac_status=$?
109801 grep -v '^ *+' conftest.er1 >conftest.err
109802 rm -f conftest.er1
109803 cat conftest.err >&5
109804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109805 (exit $ac_status); } &&
109806 { ac_try='test -z "$ac_cxx_werror_flag"
109807 || test ! -s conftest.err'
109808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109809 (eval $ac_try) 2>&5
109810 ac_status=$?
109811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109812 (exit $ac_status); }; } &&
109813 { ac_try='test -s conftest.$ac_objext'
109814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109815 (eval $ac_try) 2>&5
109816 ac_status=$?
109817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109818 (exit $ac_status); }; }; then
109819 glibcxx_cv_c99_ctype_tr1=yes
109821 echo "$as_me: failed program was:" >&5
109822 sed 's/^/| /' conftest.$ac_ext >&5
109824 glibcxx_cv_c99_ctype_tr1=no
109826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109830 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
109831 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
109832 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
109834 cat >>confdefs.h <<\_ACEOF
109835 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109836 _ACEOF
109840 # Check for the existence of <fenv.h> functions.
109842 for ac_header in fenv.h
109844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109846 echo "$as_me:$LINENO: checking for $ac_header" >&5
109847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109849 echo $ECHO_N "(cached) $ECHO_C" >&6
109851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109854 # Is the header compilable?
109855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109857 cat >conftest.$ac_ext <<_ACEOF
109858 /* confdefs.h. */
109859 _ACEOF
109860 cat confdefs.h >>conftest.$ac_ext
109861 cat >>conftest.$ac_ext <<_ACEOF
109862 /* end confdefs.h. */
109863 $ac_includes_default
109864 #include <$ac_header>
109865 _ACEOF
109866 rm -f conftest.$ac_objext
109867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109868 (eval $ac_compile) 2>conftest.er1
109869 ac_status=$?
109870 grep -v '^ *+' conftest.er1 >conftest.err
109871 rm -f conftest.er1
109872 cat conftest.err >&5
109873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109874 (exit $ac_status); } &&
109875 { ac_try='test -z "$ac_cxx_werror_flag"
109876 || test ! -s conftest.err'
109877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109878 (eval $ac_try) 2>&5
109879 ac_status=$?
109880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109881 (exit $ac_status); }; } &&
109882 { ac_try='test -s conftest.$ac_objext'
109883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109884 (eval $ac_try) 2>&5
109885 ac_status=$?
109886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109887 (exit $ac_status); }; }; then
109888 ac_header_compiler=yes
109890 echo "$as_me: failed program was:" >&5
109891 sed 's/^/| /' conftest.$ac_ext >&5
109893 ac_header_compiler=no
109895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109897 echo "${ECHO_T}$ac_header_compiler" >&6
109899 # Is the header present?
109900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109902 cat >conftest.$ac_ext <<_ACEOF
109903 /* confdefs.h. */
109904 _ACEOF
109905 cat confdefs.h >>conftest.$ac_ext
109906 cat >>conftest.$ac_ext <<_ACEOF
109907 /* end confdefs.h. */
109908 #include <$ac_header>
109909 _ACEOF
109910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109912 ac_status=$?
109913 grep -v '^ *+' conftest.er1 >conftest.err
109914 rm -f conftest.er1
109915 cat conftest.err >&5
109916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109917 (exit $ac_status); } >/dev/null; then
109918 if test -s conftest.err; then
109919 ac_cpp_err=$ac_cxx_preproc_warn_flag
109920 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109922 ac_cpp_err=
109925 ac_cpp_err=yes
109927 if test -z "$ac_cpp_err"; then
109928 ac_header_preproc=yes
109930 echo "$as_me: failed program was:" >&5
109931 sed 's/^/| /' conftest.$ac_ext >&5
109933 ac_header_preproc=no
109935 rm -f conftest.err conftest.$ac_ext
109936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109937 echo "${ECHO_T}$ac_header_preproc" >&6
109939 # So? What about this header?
109940 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109941 yes:no: )
109942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109946 ac_header_preproc=yes
109948 no:yes:* )
109949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109953 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109955 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109956 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109959 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109962 cat <<\_ASBOX
109963 ## ----------------------------------------- ##
109964 ## Report this to the package-unused lists. ##
109965 ## ----------------------------------------- ##
109966 _ASBOX
109968 sed "s/^/$as_me: WARNING: /" >&2
109971 echo "$as_me:$LINENO: checking for $ac_header" >&5
109972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109974 echo $ECHO_N "(cached) $ECHO_C" >&6
109976 eval "$as_ac_Header=\$ac_header_preproc"
109978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109983 cat >>confdefs.h <<_ACEOF
109984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109985 _ACEOF
109986 ac_has_fenv_h=yes
109988 ac_has_fenv_h=no
109993 ac_c99_fenv_tr1=no;
109994 if test x"$ac_has_fenv_h" = x"yes"; then
109995 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109996 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109997 cat >conftest.$ac_ext <<_ACEOF
109998 /* confdefs.h. */
109999 _ACEOF
110000 cat confdefs.h >>conftest.$ac_ext
110001 cat >>conftest.$ac_ext <<_ACEOF
110002 /* end confdefs.h. */
110003 #include <fenv.h>
110005 main ()
110007 int except, mode;
110008 fexcept_t* pflag;
110009 fenv_t* penv;
110010 int ret;
110011 ret = feclearexcept(except);
110012 ret = fegetexceptflag(pflag, except);
110013 ret = feraiseexcept(except);
110014 ret = fesetexceptflag(pflag, except);
110015 ret = fetestexcept(except);
110016 ret = fegetround();
110017 ret = fesetround(mode);
110018 ret = fegetenv(penv);
110019 ret = feholdexcept(penv);
110020 ret = fesetenv(penv);
110021 ret = feupdateenv(penv);
110024 return 0;
110026 _ACEOF
110027 rm -f conftest.$ac_objext
110028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110029 (eval $ac_compile) 2>conftest.er1
110030 ac_status=$?
110031 grep -v '^ *+' conftest.er1 >conftest.err
110032 rm -f conftest.er1
110033 cat conftest.err >&5
110034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110035 (exit $ac_status); } &&
110036 { ac_try='test -z "$ac_cxx_werror_flag"
110037 || test ! -s conftest.err'
110038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110039 (eval $ac_try) 2>&5
110040 ac_status=$?
110041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110042 (exit $ac_status); }; } &&
110043 { ac_try='test -s conftest.$ac_objext'
110044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110045 (eval $ac_try) 2>&5
110046 ac_status=$?
110047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110048 (exit $ac_status); }; }; then
110049 ac_c99_fenv_tr1=yes
110051 echo "$as_me: failed program was:" >&5
110052 sed 's/^/| /' conftest.$ac_ext >&5
110054 ac_c99_fenv_tr1=no
110056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110058 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
110059 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
110060 if test x"$ac_c99_fenv_tr1" = x"yes"; then
110062 cat >>confdefs.h <<\_ACEOF
110063 #define _GLIBCXX_USE_C99_FENV_TR1 1
110064 _ACEOF
110068 # Check for the existence of <stdint.h> types.
110069 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
110070 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
110071 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
110072 echo $ECHO_N "(cached) $ECHO_C" >&6
110075 cat >conftest.$ac_ext <<_ACEOF
110076 /* confdefs.h. */
110077 _ACEOF
110078 cat confdefs.h >>conftest.$ac_ext
110079 cat >>conftest.$ac_ext <<_ACEOF
110080 /* end confdefs.h. */
110081 #include <stdint.h>
110083 main ()
110085 typedef int8_t my_int8_t;
110086 typedef int16_t my_int16_t;
110087 typedef int32_t my_int32_t;
110088 typedef int64_t my_int64_t;
110089 typedef int_fast8_t my_int_fast8_t;
110090 typedef int_fast16_t my_int_fast16_t;
110091 typedef int_fast32_t my_int_fast32_t;
110092 typedef int_fast64_t my_int_fast64_t;
110093 typedef int_least8_t my_int_least8_t;
110094 typedef int_least16_t my_int_least16_t;
110095 typedef int_least32_t my_int_least32_t;
110096 typedef int_least64_t my_int_least64_t;
110097 typedef intmax_t my_intmax_t;
110098 typedef intptr_t my_intptr_t;
110099 typedef uint8_t my_uint8_t;
110100 typedef uint16_t my_uint16_t;
110101 typedef uint32_t my_uint32_t;
110102 typedef uint64_t my_uint64_t;
110103 typedef uint_fast8_t my_uint_fast8_t;
110104 typedef uint_fast16_t my_uint_fast16_t;
110105 typedef uint_fast32_t my_uint_fast32_t;
110106 typedef uint_fast64_t my_uint_fast64_t;
110107 typedef uint_least8_t my_uint_least8_t;
110108 typedef uint_least16_t my_uint_least16_t;
110109 typedef uint_least32_t my_uint_least32_t;
110110 typedef uint_least64_t my_uint_least64_t;
110111 typedef uintmax_t my_uintmax_t;
110112 typedef uintptr_t my_uintptr_t;
110115 return 0;
110117 _ACEOF
110118 rm -f conftest.$ac_objext
110119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110120 (eval $ac_compile) 2>conftest.er1
110121 ac_status=$?
110122 grep -v '^ *+' conftest.er1 >conftest.err
110123 rm -f conftest.er1
110124 cat conftest.err >&5
110125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110126 (exit $ac_status); } &&
110127 { ac_try='test -z "$ac_cxx_werror_flag"
110128 || test ! -s conftest.err'
110129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110130 (eval $ac_try) 2>&5
110131 ac_status=$?
110132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110133 (exit $ac_status); }; } &&
110134 { ac_try='test -s conftest.$ac_objext'
110135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110136 (eval $ac_try) 2>&5
110137 ac_status=$?
110138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110139 (exit $ac_status); }; }; then
110140 glibcxx_cv_c99_stdint_tr1=yes
110142 echo "$as_me: failed program was:" >&5
110143 sed 's/^/| /' conftest.$ac_ext >&5
110145 glibcxx_cv_c99_stdint_tr1=no
110147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110151 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
110152 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
110153 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110155 cat >>confdefs.h <<\_ACEOF
110156 #define _GLIBCXX_USE_C99_STDINT_TR1 1
110157 _ACEOF
110161 # Check for the existence of <math.h> functions.
110162 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
110163 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
110164 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
110165 echo $ECHO_N "(cached) $ECHO_C" >&6
110168 cat >conftest.$ac_ext <<_ACEOF
110169 /* confdefs.h. */
110170 _ACEOF
110171 cat confdefs.h >>conftest.$ac_ext
110172 cat >>conftest.$ac_ext <<_ACEOF
110173 /* end confdefs.h. */
110174 #include <math.h>
110176 main ()
110178 typedef double_t my_double_t;
110179 typedef float_t my_float_t;
110180 acosh(0.0);
110181 acoshf(0.0f);
110182 acoshl(0.0l);
110183 asinh(0.0);
110184 asinhf(0.0f);
110185 asinhl(0.0l);
110186 atanh(0.0);
110187 atanhf(0.0f);
110188 atanhl(0.0l);
110189 cbrt(0.0);
110190 cbrtf(0.0f);
110191 cbrtl(0.0l);
110192 copysign(0.0, 0.0);
110193 copysignf(0.0f, 0.0f);
110194 copysignl(0.0l, 0.0l);
110195 erf(0.0);
110196 erff(0.0f);
110197 erfl(0.0l);
110198 erfc(0.0);
110199 erfcf(0.0f);
110200 erfcl(0.0l);
110201 exp2(0.0);
110202 exp2f(0.0f);
110203 exp2l(0.0l);
110204 expm1(0.0);
110205 expm1f(0.0f);
110206 expm1l(0.0l);
110207 fdim(0.0, 0.0);
110208 fdimf(0.0f, 0.0f);
110209 fdiml(0.0l, 0.0l);
110210 fma(0.0, 0.0, 0.0);
110211 fmaf(0.0f, 0.0f, 0.0f);
110212 fmal(0.0l, 0.0l, 0.0l);
110213 fmax(0.0, 0.0);
110214 fmaxf(0.0f, 0.0f);
110215 fmaxl(0.0l, 0.0l);
110216 fmin(0.0, 0.0);
110217 fminf(0.0f, 0.0f);
110218 fminl(0.0l, 0.0l);
110219 hypot(0.0, 0.0);
110220 hypotf(0.0f, 0.0f);
110221 hypotl(0.0l, 0.0l);
110222 ilogb(0.0);
110223 ilogbf(0.0f);
110224 ilogbl(0.0l);
110225 lgamma(0.0);
110226 lgammaf(0.0f);
110227 lgammal(0.0l);
110228 llrint(0.0);
110229 llrintf(0.0f);
110230 llrintl(0.0l);
110231 llround(0.0);
110232 llroundf(0.0f);
110233 llroundl(0.0l);
110234 log1p(0.0);
110235 log1pf(0.0f);
110236 log1pl(0.0l);
110237 log2(0.0);
110238 log2f(0.0f);
110239 log2l(0.0l);
110240 logb(0.0);
110241 logbf(0.0f);
110242 logbl(0.0l);
110243 lrint(0.0);
110244 lrintf(0.0f);
110245 lrintl(0.0l);
110246 lround(0.0);
110247 lroundf(0.0f);
110248 lroundl(0.0l);
110249 nan(0);
110250 nanf(0);
110251 nanl(0);
110252 nearbyint(0.0);
110253 nearbyintf(0.0f);
110254 nearbyintl(0.0l);
110255 nextafter(0.0, 0.0);
110256 nextafterf(0.0f, 0.0f);
110257 nextafterl(0.0l, 0.0l);
110258 nexttoward(0.0, 0.0);
110259 nexttowardf(0.0f, 0.0f);
110260 nexttowardl(0.0l, 0.0l);
110261 remainder(0.0, 0.0);
110262 remainderf(0.0f, 0.0f);
110263 remainderl(0.0l, 0.0l);
110264 remquo(0.0, 0.0, 0);
110265 remquo(0.0f, 0.0f, 0);
110266 remquo(0.0l, 0.0l, 0);
110267 rint(0.0);
110268 rintf(0.0f);
110269 rintl(0.0l);
110270 round(0.0);
110271 roundf(0.0f);
110272 roundl(0.0l);
110273 scalbln(0.0, 0l);
110274 scalblnf(0.0f, 0l);
110275 scalblnl(0.0l, 0l);
110276 scalbn(0.0, 0);
110277 scalbnf(0.0f, 0);
110278 scalbnl(0.0l, 0);
110279 tgamma(0.0);
110280 tgammaf(0.0f);
110281 tgammal(0.0l);
110282 trunc(0.0);
110283 truncf(0.0f);
110284 truncl(0.0l);
110287 return 0;
110289 _ACEOF
110290 rm -f conftest.$ac_objext
110291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110292 (eval $ac_compile) 2>conftest.er1
110293 ac_status=$?
110294 grep -v '^ *+' conftest.er1 >conftest.err
110295 rm -f conftest.er1
110296 cat conftest.err >&5
110297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110298 (exit $ac_status); } &&
110299 { ac_try='test -z "$ac_cxx_werror_flag"
110300 || test ! -s conftest.err'
110301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110302 (eval $ac_try) 2>&5
110303 ac_status=$?
110304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110305 (exit $ac_status); }; } &&
110306 { ac_try='test -s conftest.$ac_objext'
110307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110308 (eval $ac_try) 2>&5
110309 ac_status=$?
110310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110311 (exit $ac_status); }; }; then
110312 glibcxx_cv_c99_math_tr1=yes
110314 echo "$as_me: failed program was:" >&5
110315 sed 's/^/| /' conftest.$ac_ext >&5
110317 glibcxx_cv_c99_math_tr1=no
110319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110323 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
110324 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
110325 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
110327 cat >>confdefs.h <<\_ACEOF
110328 #define _GLIBCXX_USE_C99_MATH_TR1 1
110329 _ACEOF
110333 # Check for the existence of <inttypes.h> functions (NB: doesn't make
110334 # sense if the previous check fails, per C99, 7.8/1).
110335 ac_c99_inttypes_tr1=no;
110336 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110337 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
110338 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
110339 cat >conftest.$ac_ext <<_ACEOF
110340 /* confdefs.h. */
110341 _ACEOF
110342 cat confdefs.h >>conftest.$ac_ext
110343 cat >>conftest.$ac_ext <<_ACEOF
110344 /* end confdefs.h. */
110345 #include <inttypes.h>
110347 main ()
110349 intmax_t i, numer, denom, base;
110350 const char* s;
110351 char** endptr;
110352 intmax_t ret = imaxabs(i);
110353 imaxdiv_t dret = imaxdiv(numer, denom);
110354 ret = strtoimax(s, endptr, base);
110355 uintmax_t uret = strtoumax(s, endptr, base);
110358 return 0;
110360 _ACEOF
110361 rm -f conftest.$ac_objext
110362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110363 (eval $ac_compile) 2>conftest.er1
110364 ac_status=$?
110365 grep -v '^ *+' conftest.er1 >conftest.err
110366 rm -f conftest.er1
110367 cat conftest.err >&5
110368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110369 (exit $ac_status); } &&
110370 { ac_try='test -z "$ac_cxx_werror_flag"
110371 || test ! -s conftest.err'
110372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110373 (eval $ac_try) 2>&5
110374 ac_status=$?
110375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110376 (exit $ac_status); }; } &&
110377 { ac_try='test -s conftest.$ac_objext'
110378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110379 (eval $ac_try) 2>&5
110380 ac_status=$?
110381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110382 (exit $ac_status); }; }; then
110383 ac_c99_inttypes_tr1=yes
110385 echo "$as_me: failed program was:" >&5
110386 sed 's/^/| /' conftest.$ac_ext >&5
110388 ac_c99_inttypes_tr1=no
110390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110392 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
110393 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
110394 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
110396 cat >>confdefs.h <<\_ACEOF
110397 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
110398 _ACEOF
110402 # Check for the existence of the <stdbool.h> header.
110404 for ac_header in stdbool.h
110406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110408 echo "$as_me:$LINENO: checking for $ac_header" >&5
110409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110411 echo $ECHO_N "(cached) $ECHO_C" >&6
110413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110416 # Is the header compilable?
110417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110419 cat >conftest.$ac_ext <<_ACEOF
110420 /* confdefs.h. */
110421 _ACEOF
110422 cat confdefs.h >>conftest.$ac_ext
110423 cat >>conftest.$ac_ext <<_ACEOF
110424 /* end confdefs.h. */
110425 $ac_includes_default
110426 #include <$ac_header>
110427 _ACEOF
110428 rm -f conftest.$ac_objext
110429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110430 (eval $ac_compile) 2>conftest.er1
110431 ac_status=$?
110432 grep -v '^ *+' conftest.er1 >conftest.err
110433 rm -f conftest.er1
110434 cat conftest.err >&5
110435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110436 (exit $ac_status); } &&
110437 { ac_try='test -z "$ac_cxx_werror_flag"
110438 || test ! -s conftest.err'
110439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110440 (eval $ac_try) 2>&5
110441 ac_status=$?
110442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110443 (exit $ac_status); }; } &&
110444 { ac_try='test -s conftest.$ac_objext'
110445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110446 (eval $ac_try) 2>&5
110447 ac_status=$?
110448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110449 (exit $ac_status); }; }; then
110450 ac_header_compiler=yes
110452 echo "$as_me: failed program was:" >&5
110453 sed 's/^/| /' conftest.$ac_ext >&5
110455 ac_header_compiler=no
110457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110459 echo "${ECHO_T}$ac_header_compiler" >&6
110461 # Is the header present?
110462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110464 cat >conftest.$ac_ext <<_ACEOF
110465 /* confdefs.h. */
110466 _ACEOF
110467 cat confdefs.h >>conftest.$ac_ext
110468 cat >>conftest.$ac_ext <<_ACEOF
110469 /* end confdefs.h. */
110470 #include <$ac_header>
110471 _ACEOF
110472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110474 ac_status=$?
110475 grep -v '^ *+' conftest.er1 >conftest.err
110476 rm -f conftest.er1
110477 cat conftest.err >&5
110478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110479 (exit $ac_status); } >/dev/null; then
110480 if test -s conftest.err; then
110481 ac_cpp_err=$ac_cxx_preproc_warn_flag
110482 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
110484 ac_cpp_err=
110487 ac_cpp_err=yes
110489 if test -z "$ac_cpp_err"; then
110490 ac_header_preproc=yes
110492 echo "$as_me: failed program was:" >&5
110493 sed 's/^/| /' conftest.$ac_ext >&5
110495 ac_header_preproc=no
110497 rm -f conftest.err conftest.$ac_ext
110498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110499 echo "${ECHO_T}$ac_header_preproc" >&6
110501 # So? What about this header?
110502 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
110503 yes:no: )
110504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110508 ac_header_preproc=yes
110510 no:yes:* )
110511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110524 cat <<\_ASBOX
110525 ## ----------------------------------------- ##
110526 ## Report this to the package-unused lists. ##
110527 ## ----------------------------------------- ##
110528 _ASBOX
110530 sed "s/^/$as_me: WARNING: /" >&2
110533 echo "$as_me:$LINENO: checking for $ac_header" >&5
110534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110536 echo $ECHO_N "(cached) $ECHO_C" >&6
110538 eval "$as_ac_Header=\$ac_header_preproc"
110540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110545 cat >>confdefs.h <<_ACEOF
110546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110547 _ACEOF
110554 CXXFLAGS="$ac_save_CXXFLAGS"
110555 ac_ext=c
110556 ac_cpp='$CPP $CPPFLAGS'
110557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110563 cat >>confdefs.h <<\_ACEOF
110564 #define _GLIBCXX_USE_RANDOM_TR1 1
110565 _ACEOF
110569 if test "${ac_cv_header_locale_h+set}" = set; then
110570 echo "$as_me:$LINENO: checking for locale.h" >&5
110571 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110572 if test "${ac_cv_header_locale_h+set}" = set; then
110573 echo $ECHO_N "(cached) $ECHO_C" >&6
110575 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110576 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110578 # Is the header compilable?
110579 echo "$as_me:$LINENO: checking locale.h usability" >&5
110580 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
110581 cat >conftest.$ac_ext <<_ACEOF
110582 /* confdefs.h. */
110583 _ACEOF
110584 cat confdefs.h >>conftest.$ac_ext
110585 cat >>conftest.$ac_ext <<_ACEOF
110586 /* end confdefs.h. */
110587 $ac_includes_default
110588 #include <locale.h>
110589 _ACEOF
110590 rm -f conftest.$ac_objext
110591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110592 (eval $ac_compile) 2>conftest.er1
110593 ac_status=$?
110594 grep -v '^ *+' conftest.er1 >conftest.err
110595 rm -f conftest.er1
110596 cat conftest.err >&5
110597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110598 (exit $ac_status); } &&
110599 { ac_try='test -z "$ac_c_werror_flag"
110600 || test ! -s conftest.err'
110601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110602 (eval $ac_try) 2>&5
110603 ac_status=$?
110604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110605 (exit $ac_status); }; } &&
110606 { ac_try='test -s conftest.$ac_objext'
110607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110608 (eval $ac_try) 2>&5
110609 ac_status=$?
110610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110611 (exit $ac_status); }; }; then
110612 ac_header_compiler=yes
110614 echo "$as_me: failed program was:" >&5
110615 sed 's/^/| /' conftest.$ac_ext >&5
110617 ac_header_compiler=no
110619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110621 echo "${ECHO_T}$ac_header_compiler" >&6
110623 # Is the header present?
110624 echo "$as_me:$LINENO: checking locale.h presence" >&5
110625 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
110626 cat >conftest.$ac_ext <<_ACEOF
110627 /* confdefs.h. */
110628 _ACEOF
110629 cat confdefs.h >>conftest.$ac_ext
110630 cat >>conftest.$ac_ext <<_ACEOF
110631 /* end confdefs.h. */
110632 #include <locale.h>
110633 _ACEOF
110634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110636 ac_status=$?
110637 grep -v '^ *+' conftest.er1 >conftest.err
110638 rm -f conftest.er1
110639 cat conftest.err >&5
110640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110641 (exit $ac_status); } >/dev/null; then
110642 if test -s conftest.err; then
110643 ac_cpp_err=$ac_c_preproc_warn_flag
110644 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110646 ac_cpp_err=
110649 ac_cpp_err=yes
110651 if test -z "$ac_cpp_err"; then
110652 ac_header_preproc=yes
110654 echo "$as_me: failed program was:" >&5
110655 sed 's/^/| /' conftest.$ac_ext >&5
110657 ac_header_preproc=no
110659 rm -f conftest.err conftest.$ac_ext
110660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110661 echo "${ECHO_T}$ac_header_preproc" >&6
110663 # So? What about this header?
110664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110665 yes:no: )
110666 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
110667 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
110668 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
110669 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
110670 ac_header_preproc=yes
110672 no:yes:* )
110673 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
110674 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
110675 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
110676 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
110677 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
110678 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
110679 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
110680 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
110681 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
110682 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
110683 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
110684 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
110686 cat <<\_ASBOX
110687 ## ----------------------------------------- ##
110688 ## Report this to the package-unused lists. ##
110689 ## ----------------------------------------- ##
110690 _ASBOX
110692 sed "s/^/$as_me: WARNING: /" >&2
110695 echo "$as_me:$LINENO: checking for locale.h" >&5
110696 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110697 if test "${ac_cv_header_locale_h+set}" = set; then
110698 echo $ECHO_N "(cached) $ECHO_C" >&6
110700 ac_cv_header_locale_h=$ac_header_preproc
110702 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110703 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110706 if test $ac_cv_header_locale_h = yes; then
110708 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
110709 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
110710 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
110711 echo $ECHO_N "(cached) $ECHO_C" >&6
110713 if test x$gcc_no_link = xyes; then
110714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110716 { (exit 1); exit 1; }; }
110718 cat >conftest.$ac_ext <<_ACEOF
110719 /* confdefs.h. */
110720 _ACEOF
110721 cat confdefs.h >>conftest.$ac_ext
110722 cat >>conftest.$ac_ext <<_ACEOF
110723 /* end confdefs.h. */
110724 #include <locale.h>
110726 main ()
110728 return LC_MESSAGES
110730 return 0;
110732 _ACEOF
110733 rm -f conftest.$ac_objext conftest$ac_exeext
110734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110735 (eval $ac_link) 2>conftest.er1
110736 ac_status=$?
110737 grep -v '^ *+' conftest.er1 >conftest.err
110738 rm -f conftest.er1
110739 cat conftest.err >&5
110740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110741 (exit $ac_status); } &&
110742 { ac_try='test -z "$ac_c_werror_flag"
110743 || test ! -s conftest.err'
110744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110745 (eval $ac_try) 2>&5
110746 ac_status=$?
110747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110748 (exit $ac_status); }; } &&
110749 { ac_try='test -s conftest$ac_exeext'
110750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110751 (eval $ac_try) 2>&5
110752 ac_status=$?
110753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110754 (exit $ac_status); }; }; then
110755 ac_cv_val_LC_MESSAGES=yes
110757 echo "$as_me: failed program was:" >&5
110758 sed 's/^/| /' conftest.$ac_ext >&5
110760 ac_cv_val_LC_MESSAGES=no
110762 rm -f conftest.err conftest.$ac_objext \
110763 conftest$ac_exeext conftest.$ac_ext
110765 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
110766 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
110767 if test $ac_cv_val_LC_MESSAGES = yes; then
110769 cat >>confdefs.h <<\_ACEOF
110770 #define HAVE_LC_MESSAGES 1
110771 _ACEOF
110780 # Check for sigsetjmp
110781 cat >conftest.$ac_ext <<_ACEOF
110782 /* confdefs.h. */
110783 _ACEOF
110784 cat confdefs.h >>conftest.$ac_ext
110785 cat >>conftest.$ac_ext <<_ACEOF
110786 /* end confdefs.h. */
110787 #include <setjmp.h>
110789 main ()
110791 sigjmp_buf env;
110792 while (! sigsetjmp (env, 1))
110793 siglongjmp (env, 1);
110796 return 0;
110798 _ACEOF
110799 rm -f conftest.$ac_objext
110800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110801 (eval $ac_compile) 2>conftest.er1
110802 ac_status=$?
110803 grep -v '^ *+' conftest.er1 >conftest.err
110804 rm -f conftest.er1
110805 cat conftest.err >&5
110806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110807 (exit $ac_status); } &&
110808 { ac_try='test -z "$ac_c_werror_flag"
110809 || test ! -s conftest.err'
110810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110811 (eval $ac_try) 2>&5
110812 ac_status=$?
110813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110814 (exit $ac_status); }; } &&
110815 { ac_try='test -s conftest.$ac_objext'
110816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110817 (eval $ac_try) 2>&5
110818 ac_status=$?
110819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110820 (exit $ac_status); }; }; then
110822 cat >>confdefs.h <<\_ACEOF
110823 #define HAVE_SIGSETJMP 1
110824 _ACEOF
110827 echo "$as_me: failed program was:" >&5
110828 sed 's/^/| /' conftest.$ac_ext >&5
110831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110833 cat >>confdefs.h <<\_ACEOF
110834 #define HAVE_MMAP 1
110835 _ACEOF
110838 # For iconv support.
110844 am_save_CPPFLAGS="$CPPFLAGS"
110846 for element in $INCICONV; do
110847 haveit=
110848 for x in $CPPFLAGS; do
110850 acl_save_prefix="$prefix"
110851 prefix="$acl_final_prefix"
110852 acl_save_exec_prefix="$exec_prefix"
110853 exec_prefix="$acl_final_exec_prefix"
110854 eval x=\"$x\"
110855 exec_prefix="$acl_save_exec_prefix"
110856 prefix="$acl_save_prefix"
110858 if test "X$x" = "X$element"; then
110859 haveit=yes
110860 break
110863 if test -z "$haveit"; then
110864 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
110869 echo "$as_me:$LINENO: checking for iconv" >&5
110870 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
110871 if test "${am_cv_func_iconv+set}" = set; then
110872 echo $ECHO_N "(cached) $ECHO_C" >&6
110875 am_cv_func_iconv="no, consider installing GNU libiconv"
110876 am_cv_lib_iconv=no
110877 if test x$gcc_no_link = xyes; then
110878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110880 { (exit 1); exit 1; }; }
110882 cat >conftest.$ac_ext <<_ACEOF
110883 /* confdefs.h. */
110884 _ACEOF
110885 cat confdefs.h >>conftest.$ac_ext
110886 cat >>conftest.$ac_ext <<_ACEOF
110887 /* end confdefs.h. */
110888 #include <stdlib.h>
110889 #include <iconv.h>
110891 main ()
110893 iconv_t cd = iconv_open("","");
110894 iconv(cd,NULL,NULL,NULL,NULL);
110895 iconv_close(cd);
110897 return 0;
110899 _ACEOF
110900 rm -f conftest.$ac_objext conftest$ac_exeext
110901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110902 (eval $ac_link) 2>conftest.er1
110903 ac_status=$?
110904 grep -v '^ *+' conftest.er1 >conftest.err
110905 rm -f conftest.er1
110906 cat conftest.err >&5
110907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110908 (exit $ac_status); } &&
110909 { ac_try='test -z "$ac_c_werror_flag"
110910 || test ! -s conftest.err'
110911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110912 (eval $ac_try) 2>&5
110913 ac_status=$?
110914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110915 (exit $ac_status); }; } &&
110916 { ac_try='test -s conftest$ac_exeext'
110917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110918 (eval $ac_try) 2>&5
110919 ac_status=$?
110920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110921 (exit $ac_status); }; }; then
110922 am_cv_func_iconv=yes
110924 echo "$as_me: failed program was:" >&5
110925 sed 's/^/| /' conftest.$ac_ext >&5
110928 rm -f conftest.err conftest.$ac_objext \
110929 conftest$ac_exeext conftest.$ac_ext
110930 if test "$am_cv_func_iconv" != yes; then
110931 am_save_LIBS="$LIBS"
110932 LIBS="$LIBS $LIBICONV"
110933 if test x$gcc_no_link = xyes; then
110934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110936 { (exit 1); exit 1; }; }
110938 cat >conftest.$ac_ext <<_ACEOF
110939 /* confdefs.h. */
110940 _ACEOF
110941 cat confdefs.h >>conftest.$ac_ext
110942 cat >>conftest.$ac_ext <<_ACEOF
110943 /* end confdefs.h. */
110944 #include <stdlib.h>
110945 #include <iconv.h>
110947 main ()
110949 iconv_t cd = iconv_open("","");
110950 iconv(cd,NULL,NULL,NULL,NULL);
110951 iconv_close(cd);
110953 return 0;
110955 _ACEOF
110956 rm -f conftest.$ac_objext conftest$ac_exeext
110957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110958 (eval $ac_link) 2>conftest.er1
110959 ac_status=$?
110960 grep -v '^ *+' conftest.er1 >conftest.err
110961 rm -f conftest.er1
110962 cat conftest.err >&5
110963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110964 (exit $ac_status); } &&
110965 { ac_try='test -z "$ac_c_werror_flag"
110966 || test ! -s conftest.err'
110967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110968 (eval $ac_try) 2>&5
110969 ac_status=$?
110970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110971 (exit $ac_status); }; } &&
110972 { ac_try='test -s conftest$ac_exeext'
110973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110974 (eval $ac_try) 2>&5
110975 ac_status=$?
110976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110977 (exit $ac_status); }; }; then
110978 am_cv_lib_iconv=yes
110979 am_cv_func_iconv=yes
110981 echo "$as_me: failed program was:" >&5
110982 sed 's/^/| /' conftest.$ac_ext >&5
110985 rm -f conftest.err conftest.$ac_objext \
110986 conftest$ac_exeext conftest.$ac_ext
110987 LIBS="$am_save_LIBS"
110991 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
110992 echo "${ECHO_T}$am_cv_func_iconv" >&6
110993 if test "$am_cv_func_iconv" = yes; then
110995 cat >>confdefs.h <<\_ACEOF
110996 #define HAVE_ICONV 1
110997 _ACEOF
111000 if test "$am_cv_lib_iconv" = yes; then
111001 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
111002 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
111003 echo "$as_me:$LINENO: result: $LIBICONV" >&5
111004 echo "${ECHO_T}$LIBICONV" >&6
111006 CPPFLAGS="$am_save_CPPFLAGS"
111007 LIBICONV=
111008 LTLIBICONV=
111013 if test "$am_cv_func_iconv" = yes; then
111014 echo "$as_me:$LINENO: checking for iconv declaration" >&5
111015 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
111016 if test "${am_cv_proto_iconv+set}" = set; then
111017 echo $ECHO_N "(cached) $ECHO_C" >&6
111020 cat >conftest.$ac_ext <<_ACEOF
111021 /* confdefs.h. */
111022 _ACEOF
111023 cat confdefs.h >>conftest.$ac_ext
111024 cat >>conftest.$ac_ext <<_ACEOF
111025 /* end confdefs.h. */
111027 #include <stdlib.h>
111028 #include <iconv.h>
111029 extern
111030 #ifdef __cplusplus
111032 #endif
111033 #if defined(__STDC__) || defined(__cplusplus)
111034 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
111035 #else
111036 size_t iconv();
111037 #endif
111040 main ()
111044 return 0;
111046 _ACEOF
111047 rm -f conftest.$ac_objext
111048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111049 (eval $ac_compile) 2>conftest.er1
111050 ac_status=$?
111051 grep -v '^ *+' conftest.er1 >conftest.err
111052 rm -f conftest.er1
111053 cat conftest.err >&5
111054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111055 (exit $ac_status); } &&
111056 { ac_try='test -z "$ac_c_werror_flag"
111057 || test ! -s conftest.err'
111058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111059 (eval $ac_try) 2>&5
111060 ac_status=$?
111061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111062 (exit $ac_status); }; } &&
111063 { ac_try='test -s conftest.$ac_objext'
111064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111065 (eval $ac_try) 2>&5
111066 ac_status=$?
111067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111068 (exit $ac_status); }; }; then
111069 am_cv_proto_iconv_arg1=""
111071 echo "$as_me: failed program was:" >&5
111072 sed 's/^/| /' conftest.$ac_ext >&5
111074 am_cv_proto_iconv_arg1="const"
111076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111077 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);"
111080 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
111081 echo "$as_me:$LINENO: result: ${ac_t:-
111082 }$am_cv_proto_iconv" >&5
111083 echo "${ECHO_T}${ac_t:-
111084 }$am_cv_proto_iconv" >&6
111086 cat >>confdefs.h <<_ACEOF
111087 #define ICONV_CONST $am_cv_proto_iconv_arg1
111088 _ACEOF
111093 *-mingw32*)
111097 for ac_header in sys/types.h locale.h float.h
111099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111101 echo "$as_me:$LINENO: checking for $ac_header" >&5
111102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111104 echo $ECHO_N "(cached) $ECHO_C" >&6
111106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111109 # Is the header compilable?
111110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111112 cat >conftest.$ac_ext <<_ACEOF
111113 /* confdefs.h. */
111114 _ACEOF
111115 cat confdefs.h >>conftest.$ac_ext
111116 cat >>conftest.$ac_ext <<_ACEOF
111117 /* end confdefs.h. */
111118 $ac_includes_default
111119 #include <$ac_header>
111120 _ACEOF
111121 rm -f conftest.$ac_objext
111122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111123 (eval $ac_compile) 2>conftest.er1
111124 ac_status=$?
111125 grep -v '^ *+' conftest.er1 >conftest.err
111126 rm -f conftest.er1
111127 cat conftest.err >&5
111128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111129 (exit $ac_status); } &&
111130 { ac_try='test -z "$ac_c_werror_flag"
111131 || test ! -s conftest.err'
111132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111133 (eval $ac_try) 2>&5
111134 ac_status=$?
111135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111136 (exit $ac_status); }; } &&
111137 { ac_try='test -s conftest.$ac_objext'
111138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111139 (eval $ac_try) 2>&5
111140 ac_status=$?
111141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111142 (exit $ac_status); }; }; then
111143 ac_header_compiler=yes
111145 echo "$as_me: failed program was:" >&5
111146 sed 's/^/| /' conftest.$ac_ext >&5
111148 ac_header_compiler=no
111150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111152 echo "${ECHO_T}$ac_header_compiler" >&6
111154 # Is the header present?
111155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111157 cat >conftest.$ac_ext <<_ACEOF
111158 /* confdefs.h. */
111159 _ACEOF
111160 cat confdefs.h >>conftest.$ac_ext
111161 cat >>conftest.$ac_ext <<_ACEOF
111162 /* end confdefs.h. */
111163 #include <$ac_header>
111164 _ACEOF
111165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111167 ac_status=$?
111168 grep -v '^ *+' conftest.er1 >conftest.err
111169 rm -f conftest.er1
111170 cat conftest.err >&5
111171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111172 (exit $ac_status); } >/dev/null; then
111173 if test -s conftest.err; then
111174 ac_cpp_err=$ac_c_preproc_warn_flag
111175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111177 ac_cpp_err=
111180 ac_cpp_err=yes
111182 if test -z "$ac_cpp_err"; then
111183 ac_header_preproc=yes
111185 echo "$as_me: failed program was:" >&5
111186 sed 's/^/| /' conftest.$ac_ext >&5
111188 ac_header_preproc=no
111190 rm -f conftest.err conftest.$ac_ext
111191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111192 echo "${ECHO_T}$ac_header_preproc" >&6
111194 # So? What about this header?
111195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111196 yes:no: )
111197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111201 ac_header_preproc=yes
111203 no:yes:* )
111204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111217 cat <<\_ASBOX
111218 ## ----------------------------------------- ##
111219 ## Report this to the package-unused lists. ##
111220 ## ----------------------------------------- ##
111221 _ASBOX
111223 sed "s/^/$as_me: WARNING: /" >&2
111226 echo "$as_me:$LINENO: checking for $ac_header" >&5
111227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111229 echo $ECHO_N "(cached) $ECHO_C" >&6
111231 eval "$as_ac_Header=\$ac_header_preproc"
111233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111238 cat >>confdefs.h <<_ACEOF
111239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111240 _ACEOF
111246 cat >>confdefs.h <<\_ACEOF
111247 #define HAVE_STRTOF 1
111248 _ACEOF
111250 cat >>confdefs.h <<\_ACEOF
111251 #define HAVE_STRTOLD 1
111252 _ACEOF
111255 # If we're not using GNU ld, then there's no point in even trying these
111256 # tests. Check for that first. We should have already tested for gld
111257 # by now (in libtool), but require it now just to be safe...
111258 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111259 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111263 # The name set by libtool depends on the version of libtool. Shame on us
111264 # for depending on an impl detail, but c'est la vie. Older versions used
111265 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111266 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111267 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111268 # set (hence we're using an older libtool), then set it.
111269 if test x${with_gnu_ld+set} != xset; then
111270 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111271 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111272 with_gnu_ld=no
111274 with_gnu_ld=$ac_cv_prog_gnu_ld
111278 # Start by getting the version number. I think the libtool test already
111279 # does some of this, but throws away the result.
111280 glibcxx_ld_is_gold=no
111281 if test x"$with_gnu_ld" = x"yes"; then
111282 echo "$as_me:$LINENO: checking for ld version" >&5
111283 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111285 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111286 glibcxx_ld_is_gold=yes
111288 ldver=`$LD --version 2>/dev/null | head -1 | \
111289 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111291 glibcxx_gnu_ld_version=`echo $ldver | \
111292 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111293 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111294 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111297 # Set --gc-sections.
111298 glibcxx_have_gc_sections=no
111299 if test "$glibcxx_ld_is_gold" = "yes"; then
111300 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111301 glibcxx_have_gc_sections=yes
111304 glibcxx_gcsections_min_ld=21602
111305 if test x"$with_gnu_ld" = x"yes" &&
111306 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111307 glibcxx_have_gc_sections=yes
111310 if test "$glibcxx_have_gc_sections" = "yes"; then
111311 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111312 # NB: This flag only works reliably after 2.16.1. Configure tests
111313 # for this are difficult, so hard wire a value that should work.
111315 ac_test_CFLAGS="${CFLAGS+set}"
111316 ac_save_CFLAGS="$CFLAGS"
111317 CFLAGS='-Wl,--gc-sections'
111319 # Check for -Wl,--gc-sections
111320 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111321 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111322 if test x$gcc_no_link = xyes; then
111323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111325 { (exit 1); exit 1; }; }
111327 cat >conftest.$ac_ext <<_ACEOF
111328 /* confdefs.h. */
111329 _ACEOF
111330 cat confdefs.h >>conftest.$ac_ext
111331 cat >>conftest.$ac_ext <<_ACEOF
111332 /* end confdefs.h. */
111333 int one(void) { return 1; }
111334 int two(void) { return 2; }
111337 main ()
111339 two();
111341 return 0;
111343 _ACEOF
111344 rm -f conftest.$ac_objext conftest$ac_exeext
111345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111346 (eval $ac_link) 2>conftest.er1
111347 ac_status=$?
111348 grep -v '^ *+' conftest.er1 >conftest.err
111349 rm -f conftest.er1
111350 cat conftest.err >&5
111351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111352 (exit $ac_status); } &&
111353 { ac_try='test -z "$ac_c_werror_flag"
111354 || test ! -s conftest.err'
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); }; } &&
111360 { ac_try='test -s conftest$ac_exeext'
111361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111362 (eval $ac_try) 2>&5
111363 ac_status=$?
111364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111365 (exit $ac_status); }; }; then
111366 ac_gcsections=yes
111368 echo "$as_me: failed program was:" >&5
111369 sed 's/^/| /' conftest.$ac_ext >&5
111371 ac_gcsections=no
111373 rm -f conftest.err conftest.$ac_objext \
111374 conftest$ac_exeext conftest.$ac_ext
111375 if test "$ac_gcsections" = "yes"; then
111376 rm -f conftest.c
111377 touch conftest.c
111378 if $CC -c conftest.c; then
111379 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111380 grep "Warning: gc-sections option ignored" > /dev/null; then
111381 ac_gcsections=no
111384 rm -f conftest.c conftest.o conftest
111386 if test "$ac_gcsections" = "yes"; then
111387 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111389 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111390 echo "${ECHO_T}$ac_gcsections" >&6
111392 if test "$ac_test_CFLAGS" = set; then
111393 CFLAGS="$ac_save_CFLAGS"
111395 # this is the suspicious part
111396 CFLAGS=''
111400 # Set -z,relro.
111401 # Note this is only for shared objects.
111402 ac_ld_relro=no
111403 if test x"$with_gnu_ld" = x"yes"; then
111404 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111405 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111406 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111407 if test -n "$cxx_z_relo"; then
111408 OPT_LDFLAGS="-Wl,-z,relro"
111409 ac_ld_relro=yes
111411 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111412 echo "${ECHO_T}$ac_ld_relro" >&6
111415 # Set linker optimization flags.
111416 if test x"$with_gnu_ld" = x"yes"; then
111417 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111425 echo "$as_me:$LINENO: checking for main in -lm" >&5
111426 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111427 if test "${ac_cv_lib_m_main+set}" = set; then
111428 echo $ECHO_N "(cached) $ECHO_C" >&6
111430 ac_check_lib_save_LIBS=$LIBS
111431 LIBS="-lm $LIBS"
111432 if test x$gcc_no_link = xyes; then
111433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111435 { (exit 1); exit 1; }; }
111437 cat >conftest.$ac_ext <<_ACEOF
111438 /* confdefs.h. */
111439 _ACEOF
111440 cat confdefs.h >>conftest.$ac_ext
111441 cat >>conftest.$ac_ext <<_ACEOF
111442 /* end confdefs.h. */
111446 main ()
111448 main ();
111450 return 0;
111452 _ACEOF
111453 rm -f conftest.$ac_objext conftest$ac_exeext
111454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111455 (eval $ac_link) 2>conftest.er1
111456 ac_status=$?
111457 grep -v '^ *+' conftest.er1 >conftest.err
111458 rm -f conftest.er1
111459 cat conftest.err >&5
111460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111461 (exit $ac_status); } &&
111462 { ac_try='test -z "$ac_c_werror_flag"
111463 || test ! -s conftest.err'
111464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111465 (eval $ac_try) 2>&5
111466 ac_status=$?
111467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111468 (exit $ac_status); }; } &&
111469 { ac_try='test -s conftest$ac_exeext'
111470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111471 (eval $ac_try) 2>&5
111472 ac_status=$?
111473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111474 (exit $ac_status); }; }; then
111475 ac_cv_lib_m_main=yes
111477 echo "$as_me: failed program was:" >&5
111478 sed 's/^/| /' conftest.$ac_ext >&5
111480 ac_cv_lib_m_main=no
111482 rm -f conftest.err conftest.$ac_objext \
111483 conftest$ac_exeext conftest.$ac_ext
111484 LIBS=$ac_check_lib_save_LIBS
111486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111487 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111488 if test $ac_cv_lib_m_main = yes; then
111489 cat >>confdefs.h <<_ACEOF
111490 #define HAVE_LIBM 1
111491 _ACEOF
111493 LIBS="-lm $LIBS"
111498 for ac_func in copysignf
111500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111501 echo "$as_me:$LINENO: checking for $ac_func" >&5
111502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111503 if eval "test \"\${$as_ac_var+set}\" = set"; then
111504 echo $ECHO_N "(cached) $ECHO_C" >&6
111506 if test x$gcc_no_link = xyes; then
111507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111509 { (exit 1); exit 1; }; }
111511 cat >conftest.$ac_ext <<_ACEOF
111512 /* confdefs.h. */
111513 _ACEOF
111514 cat confdefs.h >>conftest.$ac_ext
111515 cat >>conftest.$ac_ext <<_ACEOF
111516 /* end confdefs.h. */
111517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111519 #define $ac_func innocuous_$ac_func
111521 /* System header to define __stub macros and hopefully few prototypes,
111522 which can conflict with char $ac_func (); below.
111523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111524 <limits.h> exists even on freestanding compilers. */
111526 #ifdef __STDC__
111527 # include <limits.h>
111528 #else
111529 # include <assert.h>
111530 #endif
111532 #undef $ac_func
111534 /* Override any gcc2 internal prototype to avoid an error. */
111535 #ifdef __cplusplus
111536 extern "C"
111538 #endif
111539 /* We use char because int might match the return type of a gcc2
111540 builtin and then its argument prototype would still apply. */
111541 char $ac_func ();
111542 /* The GNU C library defines this for functions which it implements
111543 to always fail with ENOSYS. Some functions are actually named
111544 something starting with __ and the normal name is an alias. */
111545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111546 choke me
111547 #else
111548 char (*f) () = $ac_func;
111549 #endif
111550 #ifdef __cplusplus
111552 #endif
111555 main ()
111557 return f != $ac_func;
111559 return 0;
111561 _ACEOF
111562 rm -f conftest.$ac_objext conftest$ac_exeext
111563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111564 (eval $ac_link) 2>conftest.er1
111565 ac_status=$?
111566 grep -v '^ *+' conftest.er1 >conftest.err
111567 rm -f conftest.er1
111568 cat conftest.err >&5
111569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111570 (exit $ac_status); } &&
111571 { ac_try='test -z "$ac_c_werror_flag"
111572 || test ! -s conftest.err'
111573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111574 (eval $ac_try) 2>&5
111575 ac_status=$?
111576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111577 (exit $ac_status); }; } &&
111578 { ac_try='test -s conftest$ac_exeext'
111579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111580 (eval $ac_try) 2>&5
111581 ac_status=$?
111582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111583 (exit $ac_status); }; }; then
111584 eval "$as_ac_var=yes"
111586 echo "$as_me: failed program was:" >&5
111587 sed 's/^/| /' conftest.$ac_ext >&5
111589 eval "$as_ac_var=no"
111591 rm -f conftest.err conftest.$ac_objext \
111592 conftest$ac_exeext conftest.$ac_ext
111594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111596 if test `eval echo '${'$as_ac_var'}'` = yes; then
111597 cat >>confdefs.h <<_ACEOF
111598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111599 _ACEOF
111602 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111608 for ac_func in __signbit
111610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111611 echo "$as_me:$LINENO: checking for $ac_func" >&5
111612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111613 if eval "test \"\${$as_ac_var+set}\" = set"; then
111614 echo $ECHO_N "(cached) $ECHO_C" >&6
111616 if test x$gcc_no_link = xyes; then
111617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111619 { (exit 1); exit 1; }; }
111621 cat >conftest.$ac_ext <<_ACEOF
111622 /* confdefs.h. */
111623 _ACEOF
111624 cat confdefs.h >>conftest.$ac_ext
111625 cat >>conftest.$ac_ext <<_ACEOF
111626 /* end confdefs.h. */
111627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111629 #define $ac_func innocuous_$ac_func
111631 /* System header to define __stub macros and hopefully few prototypes,
111632 which can conflict with char $ac_func (); below.
111633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111634 <limits.h> exists even on freestanding compilers. */
111636 #ifdef __STDC__
111637 # include <limits.h>
111638 #else
111639 # include <assert.h>
111640 #endif
111642 #undef $ac_func
111644 /* Override any gcc2 internal prototype to avoid an error. */
111645 #ifdef __cplusplus
111646 extern "C"
111648 #endif
111649 /* We use char because int might match the return type of a gcc2
111650 builtin and then its argument prototype would still apply. */
111651 char $ac_func ();
111652 /* The GNU C library defines this for functions which it implements
111653 to always fail with ENOSYS. Some functions are actually named
111654 something starting with __ and the normal name is an alias. */
111655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111656 choke me
111657 #else
111658 char (*f) () = $ac_func;
111659 #endif
111660 #ifdef __cplusplus
111662 #endif
111665 main ()
111667 return f != $ac_func;
111669 return 0;
111671 _ACEOF
111672 rm -f conftest.$ac_objext conftest$ac_exeext
111673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111674 (eval $ac_link) 2>conftest.er1
111675 ac_status=$?
111676 grep -v '^ *+' conftest.er1 >conftest.err
111677 rm -f conftest.er1
111678 cat conftest.err >&5
111679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111680 (exit $ac_status); } &&
111681 { ac_try='test -z "$ac_c_werror_flag"
111682 || test ! -s conftest.err'
111683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111684 (eval $ac_try) 2>&5
111685 ac_status=$?
111686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111687 (exit $ac_status); }; } &&
111688 { ac_try='test -s conftest$ac_exeext'
111689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111690 (eval $ac_try) 2>&5
111691 ac_status=$?
111692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111693 (exit $ac_status); }; }; then
111694 eval "$as_ac_var=yes"
111696 echo "$as_me: failed program was:" >&5
111697 sed 's/^/| /' conftest.$ac_ext >&5
111699 eval "$as_ac_var=no"
111701 rm -f conftest.err conftest.$ac_objext \
111702 conftest$ac_exeext conftest.$ac_ext
111704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111706 if test `eval echo '${'$as_ac_var'}'` = yes; then
111707 cat >>confdefs.h <<_ACEOF
111708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111709 _ACEOF
111712 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111718 for ac_func in __signbitf
111720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111721 echo "$as_me:$LINENO: checking for $ac_func" >&5
111722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111723 if eval "test \"\${$as_ac_var+set}\" = set"; then
111724 echo $ECHO_N "(cached) $ECHO_C" >&6
111726 if test x$gcc_no_link = xyes; then
111727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111729 { (exit 1); exit 1; }; }
111731 cat >conftest.$ac_ext <<_ACEOF
111732 /* confdefs.h. */
111733 _ACEOF
111734 cat confdefs.h >>conftest.$ac_ext
111735 cat >>conftest.$ac_ext <<_ACEOF
111736 /* end confdefs.h. */
111737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111739 #define $ac_func innocuous_$ac_func
111741 /* System header to define __stub macros and hopefully few prototypes,
111742 which can conflict with char $ac_func (); below.
111743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111744 <limits.h> exists even on freestanding compilers. */
111746 #ifdef __STDC__
111747 # include <limits.h>
111748 #else
111749 # include <assert.h>
111750 #endif
111752 #undef $ac_func
111754 /* Override any gcc2 internal prototype to avoid an error. */
111755 #ifdef __cplusplus
111756 extern "C"
111758 #endif
111759 /* We use char because int might match the return type of a gcc2
111760 builtin and then its argument prototype would still apply. */
111761 char $ac_func ();
111762 /* The GNU C library defines this for functions which it implements
111763 to always fail with ENOSYS. Some functions are actually named
111764 something starting with __ and the normal name is an alias. */
111765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111766 choke me
111767 #else
111768 char (*f) () = $ac_func;
111769 #endif
111770 #ifdef __cplusplus
111772 #endif
111775 main ()
111777 return f != $ac_func;
111779 return 0;
111781 _ACEOF
111782 rm -f conftest.$ac_objext conftest$ac_exeext
111783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111784 (eval $ac_link) 2>conftest.er1
111785 ac_status=$?
111786 grep -v '^ *+' conftest.er1 >conftest.err
111787 rm -f conftest.er1
111788 cat conftest.err >&5
111789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111790 (exit $ac_status); } &&
111791 { ac_try='test -z "$ac_c_werror_flag"
111792 || test ! -s conftest.err'
111793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111794 (eval $ac_try) 2>&5
111795 ac_status=$?
111796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111797 (exit $ac_status); }; } &&
111798 { ac_try='test -s conftest$ac_exeext'
111799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111800 (eval $ac_try) 2>&5
111801 ac_status=$?
111802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111803 (exit $ac_status); }; }; then
111804 eval "$as_ac_var=yes"
111806 echo "$as_me: failed program was:" >&5
111807 sed 's/^/| /' conftest.$ac_ext >&5
111809 eval "$as_ac_var=no"
111811 rm -f conftest.err conftest.$ac_objext \
111812 conftest$ac_exeext conftest.$ac_ext
111814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111816 if test `eval echo '${'$as_ac_var'}'` = yes; then
111817 cat >>confdefs.h <<_ACEOF
111818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111819 _ACEOF
111822 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111827 if test x$ac_cv_func_copysignl = x"yes"; then
111829 for ac_func in __signbitl
111831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111832 echo "$as_me:$LINENO: checking for $ac_func" >&5
111833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111834 if eval "test \"\${$as_ac_var+set}\" = set"; then
111835 echo $ECHO_N "(cached) $ECHO_C" >&6
111837 if test x$gcc_no_link = xyes; then
111838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111840 { (exit 1); exit 1; }; }
111842 cat >conftest.$ac_ext <<_ACEOF
111843 /* confdefs.h. */
111844 _ACEOF
111845 cat confdefs.h >>conftest.$ac_ext
111846 cat >>conftest.$ac_ext <<_ACEOF
111847 /* end confdefs.h. */
111848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111850 #define $ac_func innocuous_$ac_func
111852 /* System header to define __stub macros and hopefully few prototypes,
111853 which can conflict with char $ac_func (); below.
111854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111855 <limits.h> exists even on freestanding compilers. */
111857 #ifdef __STDC__
111858 # include <limits.h>
111859 #else
111860 # include <assert.h>
111861 #endif
111863 #undef $ac_func
111865 /* Override any gcc2 internal prototype to avoid an error. */
111866 #ifdef __cplusplus
111867 extern "C"
111869 #endif
111870 /* We use char because int might match the return type of a gcc2
111871 builtin and then its argument prototype would still apply. */
111872 char $ac_func ();
111873 /* The GNU C library defines this for functions which it implements
111874 to always fail with ENOSYS. Some functions are actually named
111875 something starting with __ and the normal name is an alias. */
111876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111877 choke me
111878 #else
111879 char (*f) () = $ac_func;
111880 #endif
111881 #ifdef __cplusplus
111883 #endif
111886 main ()
111888 return f != $ac_func;
111890 return 0;
111892 _ACEOF
111893 rm -f conftest.$ac_objext conftest$ac_exeext
111894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111895 (eval $ac_link) 2>conftest.er1
111896 ac_status=$?
111897 grep -v '^ *+' conftest.er1 >conftest.err
111898 rm -f conftest.er1
111899 cat conftest.err >&5
111900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111901 (exit $ac_status); } &&
111902 { ac_try='test -z "$ac_c_werror_flag"
111903 || test ! -s conftest.err'
111904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111905 (eval $ac_try) 2>&5
111906 ac_status=$?
111907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111908 (exit $ac_status); }; } &&
111909 { ac_try='test -s conftest$ac_exeext'
111910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111911 (eval $ac_try) 2>&5
111912 ac_status=$?
111913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111914 (exit $ac_status); }; }; then
111915 eval "$as_ac_var=yes"
111917 echo "$as_me: failed program was:" >&5
111918 sed 's/^/| /' conftest.$ac_ext >&5
111920 eval "$as_ac_var=no"
111922 rm -f conftest.err conftest.$ac_objext \
111923 conftest$ac_exeext conftest.$ac_ext
111925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111927 if test `eval echo '${'$as_ac_var'}'` = yes; then
111928 cat >>confdefs.h <<_ACEOF
111929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111930 _ACEOF
111933 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111939 # Used in libmath/Makefile.am.
111940 if test -n "$LIBMATHOBJS"; then
111941 need_libmath=yes
111946 *-netbsd*)
111959 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
111960 machine/endian.h machine/param.h sys/machine.h sys/types.h \
111961 fp.h locale.h float.h inttypes.h
111963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111965 echo "$as_me:$LINENO: checking for $ac_header" >&5
111966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111968 echo $ECHO_N "(cached) $ECHO_C" >&6
111970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111973 # Is the header compilable?
111974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111976 cat >conftest.$ac_ext <<_ACEOF
111977 /* confdefs.h. */
111978 _ACEOF
111979 cat confdefs.h >>conftest.$ac_ext
111980 cat >>conftest.$ac_ext <<_ACEOF
111981 /* end confdefs.h. */
111982 $ac_includes_default
111983 #include <$ac_header>
111984 _ACEOF
111985 rm -f conftest.$ac_objext
111986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111987 (eval $ac_compile) 2>conftest.er1
111988 ac_status=$?
111989 grep -v '^ *+' conftest.er1 >conftest.err
111990 rm -f conftest.er1
111991 cat conftest.err >&5
111992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111993 (exit $ac_status); } &&
111994 { ac_try='test -z "$ac_c_werror_flag"
111995 || test ! -s conftest.err'
111996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111997 (eval $ac_try) 2>&5
111998 ac_status=$?
111999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112000 (exit $ac_status); }; } &&
112001 { ac_try='test -s conftest.$ac_objext'
112002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112003 (eval $ac_try) 2>&5
112004 ac_status=$?
112005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112006 (exit $ac_status); }; }; then
112007 ac_header_compiler=yes
112009 echo "$as_me: failed program was:" >&5
112010 sed 's/^/| /' conftest.$ac_ext >&5
112012 ac_header_compiler=no
112014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112016 echo "${ECHO_T}$ac_header_compiler" >&6
112018 # Is the header present?
112019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112021 cat >conftest.$ac_ext <<_ACEOF
112022 /* confdefs.h. */
112023 _ACEOF
112024 cat confdefs.h >>conftest.$ac_ext
112025 cat >>conftest.$ac_ext <<_ACEOF
112026 /* end confdefs.h. */
112027 #include <$ac_header>
112028 _ACEOF
112029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112031 ac_status=$?
112032 grep -v '^ *+' conftest.er1 >conftest.err
112033 rm -f conftest.er1
112034 cat conftest.err >&5
112035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112036 (exit $ac_status); } >/dev/null; then
112037 if test -s conftest.err; then
112038 ac_cpp_err=$ac_c_preproc_warn_flag
112039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112041 ac_cpp_err=
112044 ac_cpp_err=yes
112046 if test -z "$ac_cpp_err"; then
112047 ac_header_preproc=yes
112049 echo "$as_me: failed program was:" >&5
112050 sed 's/^/| /' conftest.$ac_ext >&5
112052 ac_header_preproc=no
112054 rm -f conftest.err conftest.$ac_ext
112055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112056 echo "${ECHO_T}$ac_header_preproc" >&6
112058 # So? What about this header?
112059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112060 yes:no: )
112061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112065 ac_header_preproc=yes
112067 no:yes:* )
112068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112081 cat <<\_ASBOX
112082 ## ----------------------------------------- ##
112083 ## Report this to the package-unused lists. ##
112084 ## ----------------------------------------- ##
112085 _ASBOX
112087 sed "s/^/$as_me: WARNING: /" >&2
112090 echo "$as_me:$LINENO: checking for $ac_header" >&5
112091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112093 echo $ECHO_N "(cached) $ECHO_C" >&6
112095 eval "$as_ac_Header=\$ac_header_preproc"
112097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112102 cat >>confdefs.h <<_ACEOF
112103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112104 _ACEOF
112110 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112113 # If we're not using GNU ld, then there's no point in even trying these
112114 # tests. Check for that first. We should have already tested for gld
112115 # by now (in libtool), but require it now just to be safe...
112116 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112117 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112121 # The name set by libtool depends on the version of libtool. Shame on us
112122 # for depending on an impl detail, but c'est la vie. Older versions used
112123 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112124 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112125 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112126 # set (hence we're using an older libtool), then set it.
112127 if test x${with_gnu_ld+set} != xset; then
112128 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112129 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112130 with_gnu_ld=no
112132 with_gnu_ld=$ac_cv_prog_gnu_ld
112136 # Start by getting the version number. I think the libtool test already
112137 # does some of this, but throws away the result.
112138 glibcxx_ld_is_gold=no
112139 if test x"$with_gnu_ld" = x"yes"; then
112140 echo "$as_me:$LINENO: checking for ld version" >&5
112141 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112143 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112144 glibcxx_ld_is_gold=yes
112146 ldver=`$LD --version 2>/dev/null | head -1 | \
112147 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112149 glibcxx_gnu_ld_version=`echo $ldver | \
112150 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112151 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112152 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112155 # Set --gc-sections.
112156 glibcxx_have_gc_sections=no
112157 if test "$glibcxx_ld_is_gold" = "yes"; then
112158 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112159 glibcxx_have_gc_sections=yes
112162 glibcxx_gcsections_min_ld=21602
112163 if test x"$with_gnu_ld" = x"yes" &&
112164 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112165 glibcxx_have_gc_sections=yes
112168 if test "$glibcxx_have_gc_sections" = "yes"; then
112169 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112170 # NB: This flag only works reliably after 2.16.1. Configure tests
112171 # for this are difficult, so hard wire a value that should work.
112173 ac_test_CFLAGS="${CFLAGS+set}"
112174 ac_save_CFLAGS="$CFLAGS"
112175 CFLAGS='-Wl,--gc-sections'
112177 # Check for -Wl,--gc-sections
112178 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112179 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112180 if test x$gcc_no_link = xyes; then
112181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112183 { (exit 1); exit 1; }; }
112185 cat >conftest.$ac_ext <<_ACEOF
112186 /* confdefs.h. */
112187 _ACEOF
112188 cat confdefs.h >>conftest.$ac_ext
112189 cat >>conftest.$ac_ext <<_ACEOF
112190 /* end confdefs.h. */
112191 int one(void) { return 1; }
112192 int two(void) { return 2; }
112195 main ()
112197 two();
112199 return 0;
112201 _ACEOF
112202 rm -f conftest.$ac_objext conftest$ac_exeext
112203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112204 (eval $ac_link) 2>conftest.er1
112205 ac_status=$?
112206 grep -v '^ *+' conftest.er1 >conftest.err
112207 rm -f conftest.er1
112208 cat conftest.err >&5
112209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112210 (exit $ac_status); } &&
112211 { ac_try='test -z "$ac_c_werror_flag"
112212 || test ! -s conftest.err'
112213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112214 (eval $ac_try) 2>&5
112215 ac_status=$?
112216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112217 (exit $ac_status); }; } &&
112218 { ac_try='test -s conftest$ac_exeext'
112219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112220 (eval $ac_try) 2>&5
112221 ac_status=$?
112222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112223 (exit $ac_status); }; }; then
112224 ac_gcsections=yes
112226 echo "$as_me: failed program was:" >&5
112227 sed 's/^/| /' conftest.$ac_ext >&5
112229 ac_gcsections=no
112231 rm -f conftest.err conftest.$ac_objext \
112232 conftest$ac_exeext conftest.$ac_ext
112233 if test "$ac_gcsections" = "yes"; then
112234 rm -f conftest.c
112235 touch conftest.c
112236 if $CC -c conftest.c; then
112237 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112238 grep "Warning: gc-sections option ignored" > /dev/null; then
112239 ac_gcsections=no
112242 rm -f conftest.c conftest.o conftest
112244 if test "$ac_gcsections" = "yes"; then
112245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112247 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112248 echo "${ECHO_T}$ac_gcsections" >&6
112250 if test "$ac_test_CFLAGS" = set; then
112251 CFLAGS="$ac_save_CFLAGS"
112253 # this is the suspicious part
112254 CFLAGS=''
112258 # Set -z,relro.
112259 # Note this is only for shared objects.
112260 ac_ld_relro=no
112261 if test x"$with_gnu_ld" = x"yes"; then
112262 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112263 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112264 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112265 if test -n "$cxx_z_relo"; then
112266 OPT_LDFLAGS="-Wl,-z,relro"
112267 ac_ld_relro=yes
112269 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112270 echo "${ECHO_T}$ac_ld_relro" >&6
112273 # Set linker optimization flags.
112274 if test x"$with_gnu_ld" = x"yes"; then
112275 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112283 echo "$as_me:$LINENO: checking for main in -lm" >&5
112284 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112285 if test "${ac_cv_lib_m_main+set}" = set; then
112286 echo $ECHO_N "(cached) $ECHO_C" >&6
112288 ac_check_lib_save_LIBS=$LIBS
112289 LIBS="-lm $LIBS"
112290 if test x$gcc_no_link = xyes; then
112291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112293 { (exit 1); exit 1; }; }
112295 cat >conftest.$ac_ext <<_ACEOF
112296 /* confdefs.h. */
112297 _ACEOF
112298 cat confdefs.h >>conftest.$ac_ext
112299 cat >>conftest.$ac_ext <<_ACEOF
112300 /* end confdefs.h. */
112304 main ()
112306 main ();
112308 return 0;
112310 _ACEOF
112311 rm -f conftest.$ac_objext conftest$ac_exeext
112312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112313 (eval $ac_link) 2>conftest.er1
112314 ac_status=$?
112315 grep -v '^ *+' conftest.er1 >conftest.err
112316 rm -f conftest.er1
112317 cat conftest.err >&5
112318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112319 (exit $ac_status); } &&
112320 { ac_try='test -z "$ac_c_werror_flag"
112321 || test ! -s conftest.err'
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); }; } &&
112327 { ac_try='test -s conftest$ac_exeext'
112328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112329 (eval $ac_try) 2>&5
112330 ac_status=$?
112331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112332 (exit $ac_status); }; }; then
112333 ac_cv_lib_m_main=yes
112335 echo "$as_me: failed program was:" >&5
112336 sed 's/^/| /' conftest.$ac_ext >&5
112338 ac_cv_lib_m_main=no
112340 rm -f conftest.err conftest.$ac_objext \
112341 conftest$ac_exeext conftest.$ac_ext
112342 LIBS=$ac_check_lib_save_LIBS
112344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112345 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112346 if test $ac_cv_lib_m_main = yes; then
112347 cat >>confdefs.h <<_ACEOF
112348 #define HAVE_LIBM 1
112349 _ACEOF
112351 LIBS="-lm $LIBS"
112356 for ac_func in copysignf
112358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112359 echo "$as_me:$LINENO: checking for $ac_func" >&5
112360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112361 if eval "test \"\${$as_ac_var+set}\" = set"; then
112362 echo $ECHO_N "(cached) $ECHO_C" >&6
112364 if test x$gcc_no_link = xyes; then
112365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112367 { (exit 1); exit 1; }; }
112369 cat >conftest.$ac_ext <<_ACEOF
112370 /* confdefs.h. */
112371 _ACEOF
112372 cat confdefs.h >>conftest.$ac_ext
112373 cat >>conftest.$ac_ext <<_ACEOF
112374 /* end confdefs.h. */
112375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112377 #define $ac_func innocuous_$ac_func
112379 /* System header to define __stub macros and hopefully few prototypes,
112380 which can conflict with char $ac_func (); below.
112381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112382 <limits.h> exists even on freestanding compilers. */
112384 #ifdef __STDC__
112385 # include <limits.h>
112386 #else
112387 # include <assert.h>
112388 #endif
112390 #undef $ac_func
112392 /* Override any gcc2 internal prototype to avoid an error. */
112393 #ifdef __cplusplus
112394 extern "C"
112396 #endif
112397 /* We use char because int might match the return type of a gcc2
112398 builtin and then its argument prototype would still apply. */
112399 char $ac_func ();
112400 /* The GNU C library defines this for functions which it implements
112401 to always fail with ENOSYS. Some functions are actually named
112402 something starting with __ and the normal name is an alias. */
112403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112404 choke me
112405 #else
112406 char (*f) () = $ac_func;
112407 #endif
112408 #ifdef __cplusplus
112410 #endif
112413 main ()
112415 return f != $ac_func;
112417 return 0;
112419 _ACEOF
112420 rm -f conftest.$ac_objext conftest$ac_exeext
112421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112422 (eval $ac_link) 2>conftest.er1
112423 ac_status=$?
112424 grep -v '^ *+' conftest.er1 >conftest.err
112425 rm -f conftest.er1
112426 cat conftest.err >&5
112427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112428 (exit $ac_status); } &&
112429 { ac_try='test -z "$ac_c_werror_flag"
112430 || test ! -s conftest.err'
112431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112432 (eval $ac_try) 2>&5
112433 ac_status=$?
112434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112435 (exit $ac_status); }; } &&
112436 { ac_try='test -s conftest$ac_exeext'
112437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112438 (eval $ac_try) 2>&5
112439 ac_status=$?
112440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112441 (exit $ac_status); }; }; then
112442 eval "$as_ac_var=yes"
112444 echo "$as_me: failed program was:" >&5
112445 sed 's/^/| /' conftest.$ac_ext >&5
112447 eval "$as_ac_var=no"
112449 rm -f conftest.err conftest.$ac_objext \
112450 conftest$ac_exeext conftest.$ac_ext
112452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112454 if test `eval echo '${'$as_ac_var'}'` = yes; then
112455 cat >>confdefs.h <<_ACEOF
112456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112457 _ACEOF
112460 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112466 for ac_func in __signbit
112468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112469 echo "$as_me:$LINENO: checking for $ac_func" >&5
112470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112471 if eval "test \"\${$as_ac_var+set}\" = set"; then
112472 echo $ECHO_N "(cached) $ECHO_C" >&6
112474 if test x$gcc_no_link = xyes; then
112475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112477 { (exit 1); exit 1; }; }
112479 cat >conftest.$ac_ext <<_ACEOF
112480 /* confdefs.h. */
112481 _ACEOF
112482 cat confdefs.h >>conftest.$ac_ext
112483 cat >>conftest.$ac_ext <<_ACEOF
112484 /* end confdefs.h. */
112485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112487 #define $ac_func innocuous_$ac_func
112489 /* System header to define __stub macros and hopefully few prototypes,
112490 which can conflict with char $ac_func (); below.
112491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112492 <limits.h> exists even on freestanding compilers. */
112494 #ifdef __STDC__
112495 # include <limits.h>
112496 #else
112497 # include <assert.h>
112498 #endif
112500 #undef $ac_func
112502 /* Override any gcc2 internal prototype to avoid an error. */
112503 #ifdef __cplusplus
112504 extern "C"
112506 #endif
112507 /* We use char because int might match the return type of a gcc2
112508 builtin and then its argument prototype would still apply. */
112509 char $ac_func ();
112510 /* The GNU C library defines this for functions which it implements
112511 to always fail with ENOSYS. Some functions are actually named
112512 something starting with __ and the normal name is an alias. */
112513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112514 choke me
112515 #else
112516 char (*f) () = $ac_func;
112517 #endif
112518 #ifdef __cplusplus
112520 #endif
112523 main ()
112525 return f != $ac_func;
112527 return 0;
112529 _ACEOF
112530 rm -f conftest.$ac_objext conftest$ac_exeext
112531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112532 (eval $ac_link) 2>conftest.er1
112533 ac_status=$?
112534 grep -v '^ *+' conftest.er1 >conftest.err
112535 rm -f conftest.er1
112536 cat conftest.err >&5
112537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112538 (exit $ac_status); } &&
112539 { ac_try='test -z "$ac_c_werror_flag"
112540 || test ! -s conftest.err'
112541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112542 (eval $ac_try) 2>&5
112543 ac_status=$?
112544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112545 (exit $ac_status); }; } &&
112546 { ac_try='test -s conftest$ac_exeext'
112547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112548 (eval $ac_try) 2>&5
112549 ac_status=$?
112550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112551 (exit $ac_status); }; }; then
112552 eval "$as_ac_var=yes"
112554 echo "$as_me: failed program was:" >&5
112555 sed 's/^/| /' conftest.$ac_ext >&5
112557 eval "$as_ac_var=no"
112559 rm -f conftest.err conftest.$ac_objext \
112560 conftest$ac_exeext conftest.$ac_ext
112562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112564 if test `eval echo '${'$as_ac_var'}'` = yes; then
112565 cat >>confdefs.h <<_ACEOF
112566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112567 _ACEOF
112570 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112576 for ac_func in __signbitf
112578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112579 echo "$as_me:$LINENO: checking for $ac_func" >&5
112580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112581 if eval "test \"\${$as_ac_var+set}\" = set"; then
112582 echo $ECHO_N "(cached) $ECHO_C" >&6
112584 if test x$gcc_no_link = xyes; then
112585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112587 { (exit 1); exit 1; }; }
112589 cat >conftest.$ac_ext <<_ACEOF
112590 /* confdefs.h. */
112591 _ACEOF
112592 cat confdefs.h >>conftest.$ac_ext
112593 cat >>conftest.$ac_ext <<_ACEOF
112594 /* end confdefs.h. */
112595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112597 #define $ac_func innocuous_$ac_func
112599 /* System header to define __stub macros and hopefully few prototypes,
112600 which can conflict with char $ac_func (); below.
112601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112602 <limits.h> exists even on freestanding compilers. */
112604 #ifdef __STDC__
112605 # include <limits.h>
112606 #else
112607 # include <assert.h>
112608 #endif
112610 #undef $ac_func
112612 /* Override any gcc2 internal prototype to avoid an error. */
112613 #ifdef __cplusplus
112614 extern "C"
112616 #endif
112617 /* We use char because int might match the return type of a gcc2
112618 builtin and then its argument prototype would still apply. */
112619 char $ac_func ();
112620 /* The GNU C library defines this for functions which it implements
112621 to always fail with ENOSYS. Some functions are actually named
112622 something starting with __ and the normal name is an alias. */
112623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112624 choke me
112625 #else
112626 char (*f) () = $ac_func;
112627 #endif
112628 #ifdef __cplusplus
112630 #endif
112633 main ()
112635 return f != $ac_func;
112637 return 0;
112639 _ACEOF
112640 rm -f conftest.$ac_objext conftest$ac_exeext
112641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112642 (eval $ac_link) 2>conftest.er1
112643 ac_status=$?
112644 grep -v '^ *+' conftest.er1 >conftest.err
112645 rm -f conftest.er1
112646 cat conftest.err >&5
112647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112648 (exit $ac_status); } &&
112649 { ac_try='test -z "$ac_c_werror_flag"
112650 || test ! -s conftest.err'
112651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112652 (eval $ac_try) 2>&5
112653 ac_status=$?
112654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112655 (exit $ac_status); }; } &&
112656 { ac_try='test -s conftest$ac_exeext'
112657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112658 (eval $ac_try) 2>&5
112659 ac_status=$?
112660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112661 (exit $ac_status); }; }; then
112662 eval "$as_ac_var=yes"
112664 echo "$as_me: failed program was:" >&5
112665 sed 's/^/| /' conftest.$ac_ext >&5
112667 eval "$as_ac_var=no"
112669 rm -f conftest.err conftest.$ac_objext \
112670 conftest$ac_exeext conftest.$ac_ext
112672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112674 if test `eval echo '${'$as_ac_var'}'` = yes; then
112675 cat >>confdefs.h <<_ACEOF
112676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112677 _ACEOF
112680 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112685 if test x$ac_cv_func_copysignl = x"yes"; then
112687 for ac_func in __signbitl
112689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112690 echo "$as_me:$LINENO: checking for $ac_func" >&5
112691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112692 if eval "test \"\${$as_ac_var+set}\" = set"; then
112693 echo $ECHO_N "(cached) $ECHO_C" >&6
112695 if test x$gcc_no_link = xyes; then
112696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112698 { (exit 1); exit 1; }; }
112700 cat >conftest.$ac_ext <<_ACEOF
112701 /* confdefs.h. */
112702 _ACEOF
112703 cat confdefs.h >>conftest.$ac_ext
112704 cat >>conftest.$ac_ext <<_ACEOF
112705 /* end confdefs.h. */
112706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112708 #define $ac_func innocuous_$ac_func
112710 /* System header to define __stub macros and hopefully few prototypes,
112711 which can conflict with char $ac_func (); below.
112712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112713 <limits.h> exists even on freestanding compilers. */
112715 #ifdef __STDC__
112716 # include <limits.h>
112717 #else
112718 # include <assert.h>
112719 #endif
112721 #undef $ac_func
112723 /* Override any gcc2 internal prototype to avoid an error. */
112724 #ifdef __cplusplus
112725 extern "C"
112727 #endif
112728 /* We use char because int might match the return type of a gcc2
112729 builtin and then its argument prototype would still apply. */
112730 char $ac_func ();
112731 /* The GNU C library defines this for functions which it implements
112732 to always fail with ENOSYS. Some functions are actually named
112733 something starting with __ and the normal name is an alias. */
112734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112735 choke me
112736 #else
112737 char (*f) () = $ac_func;
112738 #endif
112739 #ifdef __cplusplus
112741 #endif
112744 main ()
112746 return f != $ac_func;
112748 return 0;
112750 _ACEOF
112751 rm -f conftest.$ac_objext conftest$ac_exeext
112752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112753 (eval $ac_link) 2>conftest.er1
112754 ac_status=$?
112755 grep -v '^ *+' conftest.er1 >conftest.err
112756 rm -f conftest.er1
112757 cat conftest.err >&5
112758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112759 (exit $ac_status); } &&
112760 { ac_try='test -z "$ac_c_werror_flag"
112761 || test ! -s conftest.err'
112762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112763 (eval $ac_try) 2>&5
112764 ac_status=$?
112765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112766 (exit $ac_status); }; } &&
112767 { ac_try='test -s conftest$ac_exeext'
112768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112769 (eval $ac_try) 2>&5
112770 ac_status=$?
112771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112772 (exit $ac_status); }; }; then
112773 eval "$as_ac_var=yes"
112775 echo "$as_me: failed program was:" >&5
112776 sed 's/^/| /' conftest.$ac_ext >&5
112778 eval "$as_ac_var=no"
112780 rm -f conftest.err conftest.$ac_objext \
112781 conftest$ac_exeext conftest.$ac_ext
112783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112785 if test `eval echo '${'$as_ac_var'}'` = yes; then
112786 cat >>confdefs.h <<_ACEOF
112787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112788 _ACEOF
112791 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112797 # Used in libmath/Makefile.am.
112798 if test -n "$LIBMATHOBJS"; then
112799 need_libmath=yes
112803 cat >>confdefs.h <<\_ACEOF
112804 #define HAVE_COPYSIGN 1
112805 _ACEOF
112807 cat >>confdefs.h <<\_ACEOF
112808 #define HAVE_COPYSIGNF 1
112809 _ACEOF
112811 cat >>confdefs.h <<\_ACEOF
112812 #define HAVE_FINITEF 1
112813 _ACEOF
112815 cat >>confdefs.h <<\_ACEOF
112816 #define HAVE_FINITE 1
112817 _ACEOF
112819 cat >>confdefs.h <<\_ACEOF
112820 #define HAVE_FREXPF 1
112821 _ACEOF
112823 cat >>confdefs.h <<\_ACEOF
112824 #define HAVE_HYPOTF 1
112825 _ACEOF
112827 cat >>confdefs.h <<\_ACEOF
112828 #define HAVE_ISINF 1
112829 _ACEOF
112831 cat >>confdefs.h <<\_ACEOF
112832 #define HAVE_ISINFF 1
112833 _ACEOF
112835 cat >>confdefs.h <<\_ACEOF
112836 #define HAVE_ISNAN 1
112837 _ACEOF
112839 cat >>confdefs.h <<\_ACEOF
112840 #define HAVE_ISNANF 1
112841 _ACEOF
112843 if test x"long_double_math_on_this_cpu" = x"yes"; then
112844 cat >>confdefs.h <<\_ACEOF
112845 #define HAVE_FINITEL 1
112846 _ACEOF
112848 cat >>confdefs.h <<\_ACEOF
112849 #define HAVE_ISINFL 1
112850 _ACEOF
112852 cat >>confdefs.h <<\_ACEOF
112853 #define HAVE_ISNANL 1
112854 _ACEOF
112858 *-netware)
112867 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
112868 sys/types.h locale.h float.h inttypes.h
112870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112872 echo "$as_me:$LINENO: checking for $ac_header" >&5
112873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112875 echo $ECHO_N "(cached) $ECHO_C" >&6
112877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112880 # Is the header compilable?
112881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112883 cat >conftest.$ac_ext <<_ACEOF
112884 /* confdefs.h. */
112885 _ACEOF
112886 cat confdefs.h >>conftest.$ac_ext
112887 cat >>conftest.$ac_ext <<_ACEOF
112888 /* end confdefs.h. */
112889 $ac_includes_default
112890 #include <$ac_header>
112891 _ACEOF
112892 rm -f conftest.$ac_objext
112893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112894 (eval $ac_compile) 2>conftest.er1
112895 ac_status=$?
112896 grep -v '^ *+' conftest.er1 >conftest.err
112897 rm -f conftest.er1
112898 cat conftest.err >&5
112899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112900 (exit $ac_status); } &&
112901 { ac_try='test -z "$ac_c_werror_flag"
112902 || test ! -s conftest.err'
112903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112904 (eval $ac_try) 2>&5
112905 ac_status=$?
112906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112907 (exit $ac_status); }; } &&
112908 { ac_try='test -s conftest.$ac_objext'
112909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112910 (eval $ac_try) 2>&5
112911 ac_status=$?
112912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112913 (exit $ac_status); }; }; then
112914 ac_header_compiler=yes
112916 echo "$as_me: failed program was:" >&5
112917 sed 's/^/| /' conftest.$ac_ext >&5
112919 ac_header_compiler=no
112921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112923 echo "${ECHO_T}$ac_header_compiler" >&6
112925 # Is the header present?
112926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112928 cat >conftest.$ac_ext <<_ACEOF
112929 /* confdefs.h. */
112930 _ACEOF
112931 cat confdefs.h >>conftest.$ac_ext
112932 cat >>conftest.$ac_ext <<_ACEOF
112933 /* end confdefs.h. */
112934 #include <$ac_header>
112935 _ACEOF
112936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112938 ac_status=$?
112939 grep -v '^ *+' conftest.er1 >conftest.err
112940 rm -f conftest.er1
112941 cat conftest.err >&5
112942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112943 (exit $ac_status); } >/dev/null; then
112944 if test -s conftest.err; then
112945 ac_cpp_err=$ac_c_preproc_warn_flag
112946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112948 ac_cpp_err=
112951 ac_cpp_err=yes
112953 if test -z "$ac_cpp_err"; then
112954 ac_header_preproc=yes
112956 echo "$as_me: failed program was:" >&5
112957 sed 's/^/| /' conftest.$ac_ext >&5
112959 ac_header_preproc=no
112961 rm -f conftest.err conftest.$ac_ext
112962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112963 echo "${ECHO_T}$ac_header_preproc" >&6
112965 # So? What about this header?
112966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112967 yes:no: )
112968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112972 ac_header_preproc=yes
112974 no:yes:* )
112975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112979 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112981 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112982 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112985 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112988 cat <<\_ASBOX
112989 ## ----------------------------------------- ##
112990 ## Report this to the package-unused lists. ##
112991 ## ----------------------------------------- ##
112992 _ASBOX
112994 sed "s/^/$as_me: WARNING: /" >&2
112997 echo "$as_me:$LINENO: checking for $ac_header" >&5
112998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113000 echo $ECHO_N "(cached) $ECHO_C" >&6
113002 eval "$as_ac_Header=\$ac_header_preproc"
113004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113009 cat >>confdefs.h <<_ACEOF
113010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113011 _ACEOF
113017 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113020 # If we're not using GNU ld, then there's no point in even trying these
113021 # tests. Check for that first. We should have already tested for gld
113022 # by now (in libtool), but require it now just to be safe...
113023 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113024 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113028 # The name set by libtool depends on the version of libtool. Shame on us
113029 # for depending on an impl detail, but c'est la vie. Older versions used
113030 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113031 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113032 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113033 # set (hence we're using an older libtool), then set it.
113034 if test x${with_gnu_ld+set} != xset; then
113035 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113036 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113037 with_gnu_ld=no
113039 with_gnu_ld=$ac_cv_prog_gnu_ld
113043 # Start by getting the version number. I think the libtool test already
113044 # does some of this, but throws away the result.
113045 glibcxx_ld_is_gold=no
113046 if test x"$with_gnu_ld" = x"yes"; then
113047 echo "$as_me:$LINENO: checking for ld version" >&5
113048 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113050 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113051 glibcxx_ld_is_gold=yes
113053 ldver=`$LD --version 2>/dev/null | head -1 | \
113054 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113056 glibcxx_gnu_ld_version=`echo $ldver | \
113057 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113058 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113059 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113062 # Set --gc-sections.
113063 glibcxx_have_gc_sections=no
113064 if test "$glibcxx_ld_is_gold" = "yes"; then
113065 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113066 glibcxx_have_gc_sections=yes
113069 glibcxx_gcsections_min_ld=21602
113070 if test x"$with_gnu_ld" = x"yes" &&
113071 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113072 glibcxx_have_gc_sections=yes
113075 if test "$glibcxx_have_gc_sections" = "yes"; then
113076 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113077 # NB: This flag only works reliably after 2.16.1. Configure tests
113078 # for this are difficult, so hard wire a value that should work.
113080 ac_test_CFLAGS="${CFLAGS+set}"
113081 ac_save_CFLAGS="$CFLAGS"
113082 CFLAGS='-Wl,--gc-sections'
113084 # Check for -Wl,--gc-sections
113085 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113086 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113087 if test x$gcc_no_link = xyes; then
113088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113090 { (exit 1); exit 1; }; }
113092 cat >conftest.$ac_ext <<_ACEOF
113093 /* confdefs.h. */
113094 _ACEOF
113095 cat confdefs.h >>conftest.$ac_ext
113096 cat >>conftest.$ac_ext <<_ACEOF
113097 /* end confdefs.h. */
113098 int one(void) { return 1; }
113099 int two(void) { return 2; }
113102 main ()
113104 two();
113106 return 0;
113108 _ACEOF
113109 rm -f conftest.$ac_objext conftest$ac_exeext
113110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113111 (eval $ac_link) 2>conftest.er1
113112 ac_status=$?
113113 grep -v '^ *+' conftest.er1 >conftest.err
113114 rm -f conftest.er1
113115 cat conftest.err >&5
113116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113117 (exit $ac_status); } &&
113118 { ac_try='test -z "$ac_c_werror_flag"
113119 || test ! -s conftest.err'
113120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113121 (eval $ac_try) 2>&5
113122 ac_status=$?
113123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113124 (exit $ac_status); }; } &&
113125 { ac_try='test -s conftest$ac_exeext'
113126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113127 (eval $ac_try) 2>&5
113128 ac_status=$?
113129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113130 (exit $ac_status); }; }; then
113131 ac_gcsections=yes
113133 echo "$as_me: failed program was:" >&5
113134 sed 's/^/| /' conftest.$ac_ext >&5
113136 ac_gcsections=no
113138 rm -f conftest.err conftest.$ac_objext \
113139 conftest$ac_exeext conftest.$ac_ext
113140 if test "$ac_gcsections" = "yes"; then
113141 rm -f conftest.c
113142 touch conftest.c
113143 if $CC -c conftest.c; then
113144 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113145 grep "Warning: gc-sections option ignored" > /dev/null; then
113146 ac_gcsections=no
113149 rm -f conftest.c conftest.o conftest
113151 if test "$ac_gcsections" = "yes"; then
113152 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113154 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113155 echo "${ECHO_T}$ac_gcsections" >&6
113157 if test "$ac_test_CFLAGS" = set; then
113158 CFLAGS="$ac_save_CFLAGS"
113160 # this is the suspicious part
113161 CFLAGS=''
113165 # Set -z,relro.
113166 # Note this is only for shared objects.
113167 ac_ld_relro=no
113168 if test x"$with_gnu_ld" = x"yes"; then
113169 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113170 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113171 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113172 if test -n "$cxx_z_relo"; then
113173 OPT_LDFLAGS="-Wl,-z,relro"
113174 ac_ld_relro=yes
113176 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113177 echo "${ECHO_T}$ac_ld_relro" >&6
113180 # Set linker optimization flags.
113181 if test x"$with_gnu_ld" = x"yes"; then
113182 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113190 echo "$as_me:$LINENO: checking for main in -lm" >&5
113191 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113192 if test "${ac_cv_lib_m_main+set}" = set; then
113193 echo $ECHO_N "(cached) $ECHO_C" >&6
113195 ac_check_lib_save_LIBS=$LIBS
113196 LIBS="-lm $LIBS"
113197 if test x$gcc_no_link = xyes; then
113198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113200 { (exit 1); exit 1; }; }
113202 cat >conftest.$ac_ext <<_ACEOF
113203 /* confdefs.h. */
113204 _ACEOF
113205 cat confdefs.h >>conftest.$ac_ext
113206 cat >>conftest.$ac_ext <<_ACEOF
113207 /* end confdefs.h. */
113211 main ()
113213 main ();
113215 return 0;
113217 _ACEOF
113218 rm -f conftest.$ac_objext conftest$ac_exeext
113219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113220 (eval $ac_link) 2>conftest.er1
113221 ac_status=$?
113222 grep -v '^ *+' conftest.er1 >conftest.err
113223 rm -f conftest.er1
113224 cat conftest.err >&5
113225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113226 (exit $ac_status); } &&
113227 { ac_try='test -z "$ac_c_werror_flag"
113228 || test ! -s conftest.err'
113229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113230 (eval $ac_try) 2>&5
113231 ac_status=$?
113232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113233 (exit $ac_status); }; } &&
113234 { ac_try='test -s conftest$ac_exeext'
113235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113236 (eval $ac_try) 2>&5
113237 ac_status=$?
113238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113239 (exit $ac_status); }; }; then
113240 ac_cv_lib_m_main=yes
113242 echo "$as_me: failed program was:" >&5
113243 sed 's/^/| /' conftest.$ac_ext >&5
113245 ac_cv_lib_m_main=no
113247 rm -f conftest.err conftest.$ac_objext \
113248 conftest$ac_exeext conftest.$ac_ext
113249 LIBS=$ac_check_lib_save_LIBS
113251 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113252 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113253 if test $ac_cv_lib_m_main = yes; then
113254 cat >>confdefs.h <<_ACEOF
113255 #define HAVE_LIBM 1
113256 _ACEOF
113258 LIBS="-lm $LIBS"
113263 for ac_func in copysignf
113265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113266 echo "$as_me:$LINENO: checking for $ac_func" >&5
113267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113268 if eval "test \"\${$as_ac_var+set}\" = set"; then
113269 echo $ECHO_N "(cached) $ECHO_C" >&6
113271 if test x$gcc_no_link = xyes; then
113272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113274 { (exit 1); exit 1; }; }
113276 cat >conftest.$ac_ext <<_ACEOF
113277 /* confdefs.h. */
113278 _ACEOF
113279 cat confdefs.h >>conftest.$ac_ext
113280 cat >>conftest.$ac_ext <<_ACEOF
113281 /* end confdefs.h. */
113282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113284 #define $ac_func innocuous_$ac_func
113286 /* System header to define __stub macros and hopefully few prototypes,
113287 which can conflict with char $ac_func (); below.
113288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113289 <limits.h> exists even on freestanding compilers. */
113291 #ifdef __STDC__
113292 # include <limits.h>
113293 #else
113294 # include <assert.h>
113295 #endif
113297 #undef $ac_func
113299 /* Override any gcc2 internal prototype to avoid an error. */
113300 #ifdef __cplusplus
113301 extern "C"
113303 #endif
113304 /* We use char because int might match the return type of a gcc2
113305 builtin and then its argument prototype would still apply. */
113306 char $ac_func ();
113307 /* The GNU C library defines this for functions which it implements
113308 to always fail with ENOSYS. Some functions are actually named
113309 something starting with __ and the normal name is an alias. */
113310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113311 choke me
113312 #else
113313 char (*f) () = $ac_func;
113314 #endif
113315 #ifdef __cplusplus
113317 #endif
113320 main ()
113322 return f != $ac_func;
113324 return 0;
113326 _ACEOF
113327 rm -f conftest.$ac_objext conftest$ac_exeext
113328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113329 (eval $ac_link) 2>conftest.er1
113330 ac_status=$?
113331 grep -v '^ *+' conftest.er1 >conftest.err
113332 rm -f conftest.er1
113333 cat conftest.err >&5
113334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113335 (exit $ac_status); } &&
113336 { ac_try='test -z "$ac_c_werror_flag"
113337 || test ! -s conftest.err'
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); }; } &&
113343 { ac_try='test -s conftest$ac_exeext'
113344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113345 (eval $ac_try) 2>&5
113346 ac_status=$?
113347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113348 (exit $ac_status); }; }; then
113349 eval "$as_ac_var=yes"
113351 echo "$as_me: failed program was:" >&5
113352 sed 's/^/| /' conftest.$ac_ext >&5
113354 eval "$as_ac_var=no"
113356 rm -f conftest.err conftest.$ac_objext \
113357 conftest$ac_exeext conftest.$ac_ext
113359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113361 if test `eval echo '${'$as_ac_var'}'` = yes; then
113362 cat >>confdefs.h <<_ACEOF
113363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113364 _ACEOF
113367 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113373 for ac_func in __signbit
113375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113376 echo "$as_me:$LINENO: checking for $ac_func" >&5
113377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113378 if eval "test \"\${$as_ac_var+set}\" = set"; then
113379 echo $ECHO_N "(cached) $ECHO_C" >&6
113381 if test x$gcc_no_link = xyes; then
113382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113384 { (exit 1); exit 1; }; }
113386 cat >conftest.$ac_ext <<_ACEOF
113387 /* confdefs.h. */
113388 _ACEOF
113389 cat confdefs.h >>conftest.$ac_ext
113390 cat >>conftest.$ac_ext <<_ACEOF
113391 /* end confdefs.h. */
113392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113394 #define $ac_func innocuous_$ac_func
113396 /* System header to define __stub macros and hopefully few prototypes,
113397 which can conflict with char $ac_func (); below.
113398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113399 <limits.h> exists even on freestanding compilers. */
113401 #ifdef __STDC__
113402 # include <limits.h>
113403 #else
113404 # include <assert.h>
113405 #endif
113407 #undef $ac_func
113409 /* Override any gcc2 internal prototype to avoid an error. */
113410 #ifdef __cplusplus
113411 extern "C"
113413 #endif
113414 /* We use char because int might match the return type of a gcc2
113415 builtin and then its argument prototype would still apply. */
113416 char $ac_func ();
113417 /* The GNU C library defines this for functions which it implements
113418 to always fail with ENOSYS. Some functions are actually named
113419 something starting with __ and the normal name is an alias. */
113420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113421 choke me
113422 #else
113423 char (*f) () = $ac_func;
113424 #endif
113425 #ifdef __cplusplus
113427 #endif
113430 main ()
113432 return f != $ac_func;
113434 return 0;
113436 _ACEOF
113437 rm -f conftest.$ac_objext conftest$ac_exeext
113438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113439 (eval $ac_link) 2>conftest.er1
113440 ac_status=$?
113441 grep -v '^ *+' conftest.er1 >conftest.err
113442 rm -f conftest.er1
113443 cat conftest.err >&5
113444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113445 (exit $ac_status); } &&
113446 { ac_try='test -z "$ac_c_werror_flag"
113447 || test ! -s conftest.err'
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); }; } &&
113453 { ac_try='test -s conftest$ac_exeext'
113454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113455 (eval $ac_try) 2>&5
113456 ac_status=$?
113457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113458 (exit $ac_status); }; }; then
113459 eval "$as_ac_var=yes"
113461 echo "$as_me: failed program was:" >&5
113462 sed 's/^/| /' conftest.$ac_ext >&5
113464 eval "$as_ac_var=no"
113466 rm -f conftest.err conftest.$ac_objext \
113467 conftest$ac_exeext conftest.$ac_ext
113469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113471 if test `eval echo '${'$as_ac_var'}'` = yes; then
113472 cat >>confdefs.h <<_ACEOF
113473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113474 _ACEOF
113477 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113483 for ac_func in __signbitf
113485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113486 echo "$as_me:$LINENO: checking for $ac_func" >&5
113487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113488 if eval "test \"\${$as_ac_var+set}\" = set"; then
113489 echo $ECHO_N "(cached) $ECHO_C" >&6
113491 if test x$gcc_no_link = xyes; then
113492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113494 { (exit 1); exit 1; }; }
113496 cat >conftest.$ac_ext <<_ACEOF
113497 /* confdefs.h. */
113498 _ACEOF
113499 cat confdefs.h >>conftest.$ac_ext
113500 cat >>conftest.$ac_ext <<_ACEOF
113501 /* end confdefs.h. */
113502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113504 #define $ac_func innocuous_$ac_func
113506 /* System header to define __stub macros and hopefully few prototypes,
113507 which can conflict with char $ac_func (); below.
113508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113509 <limits.h> exists even on freestanding compilers. */
113511 #ifdef __STDC__
113512 # include <limits.h>
113513 #else
113514 # include <assert.h>
113515 #endif
113517 #undef $ac_func
113519 /* Override any gcc2 internal prototype to avoid an error. */
113520 #ifdef __cplusplus
113521 extern "C"
113523 #endif
113524 /* We use char because int might match the return type of a gcc2
113525 builtin and then its argument prototype would still apply. */
113526 char $ac_func ();
113527 /* The GNU C library defines this for functions which it implements
113528 to always fail with ENOSYS. Some functions are actually named
113529 something starting with __ and the normal name is an alias. */
113530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113531 choke me
113532 #else
113533 char (*f) () = $ac_func;
113534 #endif
113535 #ifdef __cplusplus
113537 #endif
113540 main ()
113542 return f != $ac_func;
113544 return 0;
113546 _ACEOF
113547 rm -f conftest.$ac_objext conftest$ac_exeext
113548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113549 (eval $ac_link) 2>conftest.er1
113550 ac_status=$?
113551 grep -v '^ *+' conftest.er1 >conftest.err
113552 rm -f conftest.er1
113553 cat conftest.err >&5
113554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113555 (exit $ac_status); } &&
113556 { ac_try='test -z "$ac_c_werror_flag"
113557 || test ! -s conftest.err'
113558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113559 (eval $ac_try) 2>&5
113560 ac_status=$?
113561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113562 (exit $ac_status); }; } &&
113563 { ac_try='test -s conftest$ac_exeext'
113564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113565 (eval $ac_try) 2>&5
113566 ac_status=$?
113567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113568 (exit $ac_status); }; }; then
113569 eval "$as_ac_var=yes"
113571 echo "$as_me: failed program was:" >&5
113572 sed 's/^/| /' conftest.$ac_ext >&5
113574 eval "$as_ac_var=no"
113576 rm -f conftest.err conftest.$ac_objext \
113577 conftest$ac_exeext conftest.$ac_ext
113579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113581 if test `eval echo '${'$as_ac_var'}'` = yes; then
113582 cat >>confdefs.h <<_ACEOF
113583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113584 _ACEOF
113587 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113592 if test x$ac_cv_func_copysignl = x"yes"; then
113594 for ac_func in __signbitl
113596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113597 echo "$as_me:$LINENO: checking for $ac_func" >&5
113598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113599 if eval "test \"\${$as_ac_var+set}\" = set"; then
113600 echo $ECHO_N "(cached) $ECHO_C" >&6
113602 if test x$gcc_no_link = xyes; then
113603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113605 { (exit 1); exit 1; }; }
113607 cat >conftest.$ac_ext <<_ACEOF
113608 /* confdefs.h. */
113609 _ACEOF
113610 cat confdefs.h >>conftest.$ac_ext
113611 cat >>conftest.$ac_ext <<_ACEOF
113612 /* end confdefs.h. */
113613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113615 #define $ac_func innocuous_$ac_func
113617 /* System header to define __stub macros and hopefully few prototypes,
113618 which can conflict with char $ac_func (); below.
113619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113620 <limits.h> exists even on freestanding compilers. */
113622 #ifdef __STDC__
113623 # include <limits.h>
113624 #else
113625 # include <assert.h>
113626 #endif
113628 #undef $ac_func
113630 /* Override any gcc2 internal prototype to avoid an error. */
113631 #ifdef __cplusplus
113632 extern "C"
113634 #endif
113635 /* We use char because int might match the return type of a gcc2
113636 builtin and then its argument prototype would still apply. */
113637 char $ac_func ();
113638 /* The GNU C library defines this for functions which it implements
113639 to always fail with ENOSYS. Some functions are actually named
113640 something starting with __ and the normal name is an alias. */
113641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113642 choke me
113643 #else
113644 char (*f) () = $ac_func;
113645 #endif
113646 #ifdef __cplusplus
113648 #endif
113651 main ()
113653 return f != $ac_func;
113655 return 0;
113657 _ACEOF
113658 rm -f conftest.$ac_objext conftest$ac_exeext
113659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113660 (eval $ac_link) 2>conftest.er1
113661 ac_status=$?
113662 grep -v '^ *+' conftest.er1 >conftest.err
113663 rm -f conftest.er1
113664 cat conftest.err >&5
113665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113666 (exit $ac_status); } &&
113667 { ac_try='test -z "$ac_c_werror_flag"
113668 || test ! -s conftest.err'
113669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113670 (eval $ac_try) 2>&5
113671 ac_status=$?
113672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113673 (exit $ac_status); }; } &&
113674 { ac_try='test -s conftest$ac_exeext'
113675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113676 (eval $ac_try) 2>&5
113677 ac_status=$?
113678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113679 (exit $ac_status); }; }; then
113680 eval "$as_ac_var=yes"
113682 echo "$as_me: failed program was:" >&5
113683 sed 's/^/| /' conftest.$ac_ext >&5
113685 eval "$as_ac_var=no"
113687 rm -f conftest.err conftest.$ac_objext \
113688 conftest$ac_exeext conftest.$ac_ext
113690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113692 if test `eval echo '${'$as_ac_var'}'` = yes; then
113693 cat >>confdefs.h <<_ACEOF
113694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113695 _ACEOF
113698 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113704 # Used in libmath/Makefile.am.
113705 if test -n "$LIBMATHOBJS"; then
113706 need_libmath=yes
113710 cat >>confdefs.h <<\_ACEOF
113711 #define HAVE_HYPOT 1
113712 _ACEOF
113714 cat >>confdefs.h <<\_ACEOF
113715 #define HAVE_ISINF 1
113716 _ACEOF
113718 cat >>confdefs.h <<\_ACEOF
113719 #define HAVE_ISNAN 1
113720 _ACEOF
113723 # For showmanyc_helper().
113726 for ac_header in sys/ioctl.h sys/filio.h
113728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113730 echo "$as_me:$LINENO: checking for $ac_header" >&5
113731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113733 echo $ECHO_N "(cached) $ECHO_C" >&6
113735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113738 # Is the header compilable?
113739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113741 cat >conftest.$ac_ext <<_ACEOF
113742 /* confdefs.h. */
113743 _ACEOF
113744 cat confdefs.h >>conftest.$ac_ext
113745 cat >>conftest.$ac_ext <<_ACEOF
113746 /* end confdefs.h. */
113747 $ac_includes_default
113748 #include <$ac_header>
113749 _ACEOF
113750 rm -f conftest.$ac_objext
113751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113752 (eval $ac_compile) 2>conftest.er1
113753 ac_status=$?
113754 grep -v '^ *+' conftest.er1 >conftest.err
113755 rm -f conftest.er1
113756 cat conftest.err >&5
113757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113758 (exit $ac_status); } &&
113759 { ac_try='test -z "$ac_c_werror_flag"
113760 || test ! -s conftest.err'
113761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113762 (eval $ac_try) 2>&5
113763 ac_status=$?
113764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113765 (exit $ac_status); }; } &&
113766 { ac_try='test -s conftest.$ac_objext'
113767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113768 (eval $ac_try) 2>&5
113769 ac_status=$?
113770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113771 (exit $ac_status); }; }; then
113772 ac_header_compiler=yes
113774 echo "$as_me: failed program was:" >&5
113775 sed 's/^/| /' conftest.$ac_ext >&5
113777 ac_header_compiler=no
113779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113781 echo "${ECHO_T}$ac_header_compiler" >&6
113783 # Is the header present?
113784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113786 cat >conftest.$ac_ext <<_ACEOF
113787 /* confdefs.h. */
113788 _ACEOF
113789 cat confdefs.h >>conftest.$ac_ext
113790 cat >>conftest.$ac_ext <<_ACEOF
113791 /* end confdefs.h. */
113792 #include <$ac_header>
113793 _ACEOF
113794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113796 ac_status=$?
113797 grep -v '^ *+' conftest.er1 >conftest.err
113798 rm -f conftest.er1
113799 cat conftest.err >&5
113800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113801 (exit $ac_status); } >/dev/null; then
113802 if test -s conftest.err; then
113803 ac_cpp_err=$ac_c_preproc_warn_flag
113804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113806 ac_cpp_err=
113809 ac_cpp_err=yes
113811 if test -z "$ac_cpp_err"; then
113812 ac_header_preproc=yes
113814 echo "$as_me: failed program was:" >&5
113815 sed 's/^/| /' conftest.$ac_ext >&5
113817 ac_header_preproc=no
113819 rm -f conftest.err conftest.$ac_ext
113820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113821 echo "${ECHO_T}$ac_header_preproc" >&6
113823 # So? What about this header?
113824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113825 yes:no: )
113826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113830 ac_header_preproc=yes
113832 no:yes:* )
113833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113846 cat <<\_ASBOX
113847 ## ----------------------------------------- ##
113848 ## Report this to the package-unused lists. ##
113849 ## ----------------------------------------- ##
113850 _ASBOX
113852 sed "s/^/$as_me: WARNING: /" >&2
113855 echo "$as_me:$LINENO: checking for $ac_header" >&5
113856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113858 echo $ECHO_N "(cached) $ECHO_C" >&6
113860 eval "$as_ac_Header=\$ac_header_preproc"
113862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113867 cat >>confdefs.h <<_ACEOF
113868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113869 _ACEOF
113876 echo "$as_me:$LINENO: checking for poll" >&5
113877 echo $ECHO_N "checking for poll... $ECHO_C" >&6
113878 if test "${glibcxx_cv_POLL+set}" = set; then
113879 echo $ECHO_N "(cached) $ECHO_C" >&6
113882 if test x$gcc_no_link = xyes; then
113883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113885 { (exit 1); exit 1; }; }
113887 cat >conftest.$ac_ext <<_ACEOF
113888 /* confdefs.h. */
113889 _ACEOF
113890 cat confdefs.h >>conftest.$ac_ext
113891 cat >>conftest.$ac_ext <<_ACEOF
113892 /* end confdefs.h. */
113893 #include <poll.h>
113895 main ()
113897 struct pollfd pfd[1];
113898 pfd[0].events = POLLIN;
113899 poll(pfd, 1, 0);
113901 return 0;
113903 _ACEOF
113904 rm -f conftest.$ac_objext conftest$ac_exeext
113905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113906 (eval $ac_link) 2>conftest.er1
113907 ac_status=$?
113908 grep -v '^ *+' conftest.er1 >conftest.err
113909 rm -f conftest.er1
113910 cat conftest.err >&5
113911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113912 (exit $ac_status); } &&
113913 { ac_try='test -z "$ac_c_werror_flag"
113914 || test ! -s conftest.err'
113915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113916 (eval $ac_try) 2>&5
113917 ac_status=$?
113918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113919 (exit $ac_status); }; } &&
113920 { ac_try='test -s conftest$ac_exeext'
113921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113922 (eval $ac_try) 2>&5
113923 ac_status=$?
113924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113925 (exit $ac_status); }; }; then
113926 glibcxx_cv_POLL=yes
113928 echo "$as_me: failed program was:" >&5
113929 sed 's/^/| /' conftest.$ac_ext >&5
113931 glibcxx_cv_POLL=no
113933 rm -f conftest.err conftest.$ac_objext \
113934 conftest$ac_exeext conftest.$ac_ext
113938 if test $glibcxx_cv_POLL = yes; then
113940 cat >>confdefs.h <<\_ACEOF
113941 #define HAVE_POLL 1
113942 _ACEOF
113945 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
113946 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
113949 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
113950 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
113951 if test "${glibcxx_cv_S_ISREG+set}" = set; then
113952 echo $ECHO_N "(cached) $ECHO_C" >&6
113955 if test x$gcc_no_link = xyes; then
113956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113958 { (exit 1); exit 1; }; }
113960 cat >conftest.$ac_ext <<_ACEOF
113961 /* confdefs.h. */
113962 _ACEOF
113963 cat confdefs.h >>conftest.$ac_ext
113964 cat >>conftest.$ac_ext <<_ACEOF
113965 /* end confdefs.h. */
113966 #include <sys/stat.h>
113968 main ()
113970 struct stat buffer;
113971 fstat(0, &buffer);
113972 S_ISREG(buffer.st_mode);
113974 return 0;
113976 _ACEOF
113977 rm -f conftest.$ac_objext conftest$ac_exeext
113978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113979 (eval $ac_link) 2>conftest.er1
113980 ac_status=$?
113981 grep -v '^ *+' conftest.er1 >conftest.err
113982 rm -f conftest.er1
113983 cat conftest.err >&5
113984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113985 (exit $ac_status); } &&
113986 { ac_try='test -z "$ac_c_werror_flag"
113987 || test ! -s conftest.err'
113988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113989 (eval $ac_try) 2>&5
113990 ac_status=$?
113991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113992 (exit $ac_status); }; } &&
113993 { ac_try='test -s conftest$ac_exeext'
113994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113995 (eval $ac_try) 2>&5
113996 ac_status=$?
113997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113998 (exit $ac_status); }; }; then
113999 glibcxx_cv_S_ISREG=yes
114001 echo "$as_me: failed program was:" >&5
114002 sed 's/^/| /' conftest.$ac_ext >&5
114004 glibcxx_cv_S_ISREG=no
114006 rm -f conftest.err conftest.$ac_objext \
114007 conftest$ac_exeext conftest.$ac_ext
114011 if test "${glibcxx_cv_S_IFREG+set}" = set; then
114012 echo $ECHO_N "(cached) $ECHO_C" >&6
114015 if test x$gcc_no_link = xyes; then
114016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114018 { (exit 1); exit 1; }; }
114020 cat >conftest.$ac_ext <<_ACEOF
114021 /* confdefs.h. */
114022 _ACEOF
114023 cat confdefs.h >>conftest.$ac_ext
114024 cat >>conftest.$ac_ext <<_ACEOF
114025 /* end confdefs.h. */
114026 #include <sys/stat.h>
114028 main ()
114030 struct stat buffer;
114031 fstat(0, &buffer);
114032 S_IFREG & buffer.st_mode;
114034 return 0;
114036 _ACEOF
114037 rm -f conftest.$ac_objext conftest$ac_exeext
114038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114039 (eval $ac_link) 2>conftest.er1
114040 ac_status=$?
114041 grep -v '^ *+' conftest.er1 >conftest.err
114042 rm -f conftest.er1
114043 cat conftest.err >&5
114044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114045 (exit $ac_status); } &&
114046 { ac_try='test -z "$ac_c_werror_flag"
114047 || test ! -s conftest.err'
114048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114049 (eval $ac_try) 2>&5
114050 ac_status=$?
114051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114052 (exit $ac_status); }; } &&
114053 { ac_try='test -s conftest$ac_exeext'
114054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114055 (eval $ac_try) 2>&5
114056 ac_status=$?
114057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114058 (exit $ac_status); }; }; then
114059 glibcxx_cv_S_IFREG=yes
114061 echo "$as_me: failed program was:" >&5
114062 sed 's/^/| /' conftest.$ac_ext >&5
114064 glibcxx_cv_S_IFREG=no
114066 rm -f conftest.err conftest.$ac_objext \
114067 conftest$ac_exeext conftest.$ac_ext
114071 res=no
114072 if test $glibcxx_cv_S_ISREG = yes; then
114074 cat >>confdefs.h <<\_ACEOF
114075 #define HAVE_S_ISREG 1
114076 _ACEOF
114078 res=S_ISREG
114079 elif test $glibcxx_cv_S_IFREG = yes; then
114081 cat >>confdefs.h <<\_ACEOF
114082 #define HAVE_S_IFREG 1
114083 _ACEOF
114085 res=S_IFREG
114087 echo "$as_me:$LINENO: result: $res" >&5
114088 echo "${ECHO_T}$res" >&6
114091 # For xsputn_2().
114093 for ac_header in sys/uio.h
114095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114097 echo "$as_me:$LINENO: checking for $ac_header" >&5
114098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114100 echo $ECHO_N "(cached) $ECHO_C" >&6
114102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114105 # Is the header compilable?
114106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114108 cat >conftest.$ac_ext <<_ACEOF
114109 /* confdefs.h. */
114110 _ACEOF
114111 cat confdefs.h >>conftest.$ac_ext
114112 cat >>conftest.$ac_ext <<_ACEOF
114113 /* end confdefs.h. */
114114 $ac_includes_default
114115 #include <$ac_header>
114116 _ACEOF
114117 rm -f conftest.$ac_objext
114118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114119 (eval $ac_compile) 2>conftest.er1
114120 ac_status=$?
114121 grep -v '^ *+' conftest.er1 >conftest.err
114122 rm -f conftest.er1
114123 cat conftest.err >&5
114124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114125 (exit $ac_status); } &&
114126 { ac_try='test -z "$ac_c_werror_flag"
114127 || test ! -s conftest.err'
114128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114129 (eval $ac_try) 2>&5
114130 ac_status=$?
114131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114132 (exit $ac_status); }; } &&
114133 { ac_try='test -s conftest.$ac_objext'
114134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114135 (eval $ac_try) 2>&5
114136 ac_status=$?
114137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114138 (exit $ac_status); }; }; then
114139 ac_header_compiler=yes
114141 echo "$as_me: failed program was:" >&5
114142 sed 's/^/| /' conftest.$ac_ext >&5
114144 ac_header_compiler=no
114146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114148 echo "${ECHO_T}$ac_header_compiler" >&6
114150 # Is the header present?
114151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114153 cat >conftest.$ac_ext <<_ACEOF
114154 /* confdefs.h. */
114155 _ACEOF
114156 cat confdefs.h >>conftest.$ac_ext
114157 cat >>conftest.$ac_ext <<_ACEOF
114158 /* end confdefs.h. */
114159 #include <$ac_header>
114160 _ACEOF
114161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114163 ac_status=$?
114164 grep -v '^ *+' conftest.er1 >conftest.err
114165 rm -f conftest.er1
114166 cat conftest.err >&5
114167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114168 (exit $ac_status); } >/dev/null; then
114169 if test -s conftest.err; then
114170 ac_cpp_err=$ac_c_preproc_warn_flag
114171 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114173 ac_cpp_err=
114176 ac_cpp_err=yes
114178 if test -z "$ac_cpp_err"; then
114179 ac_header_preproc=yes
114181 echo "$as_me: failed program was:" >&5
114182 sed 's/^/| /' conftest.$ac_ext >&5
114184 ac_header_preproc=no
114186 rm -f conftest.err conftest.$ac_ext
114187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114188 echo "${ECHO_T}$ac_header_preproc" >&6
114190 # So? What about this header?
114191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114192 yes:no: )
114193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114197 ac_header_preproc=yes
114199 no:yes:* )
114200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114213 cat <<\_ASBOX
114214 ## ----------------------------------------- ##
114215 ## Report this to the package-unused lists. ##
114216 ## ----------------------------------------- ##
114217 _ASBOX
114219 sed "s/^/$as_me: WARNING: /" >&2
114222 echo "$as_me:$LINENO: checking for $ac_header" >&5
114223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114225 echo $ECHO_N "(cached) $ECHO_C" >&6
114227 eval "$as_ac_Header=\$ac_header_preproc"
114229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114234 cat >>confdefs.h <<_ACEOF
114235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114236 _ACEOF
114243 echo "$as_me:$LINENO: checking for writev" >&5
114244 echo $ECHO_N "checking for writev... $ECHO_C" >&6
114245 if test "${glibcxx_cv_WRITEV+set}" = set; then
114246 echo $ECHO_N "(cached) $ECHO_C" >&6
114249 if test x$gcc_no_link = xyes; then
114250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114252 { (exit 1); exit 1; }; }
114254 cat >conftest.$ac_ext <<_ACEOF
114255 /* confdefs.h. */
114256 _ACEOF
114257 cat confdefs.h >>conftest.$ac_ext
114258 cat >>conftest.$ac_ext <<_ACEOF
114259 /* end confdefs.h. */
114260 #include <sys/uio.h>
114262 main ()
114264 struct iovec iov[2];
114265 writev(0, iov, 0);
114267 return 0;
114269 _ACEOF
114270 rm -f conftest.$ac_objext conftest$ac_exeext
114271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114272 (eval $ac_link) 2>conftest.er1
114273 ac_status=$?
114274 grep -v '^ *+' conftest.er1 >conftest.err
114275 rm -f conftest.er1
114276 cat conftest.err >&5
114277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114278 (exit $ac_status); } &&
114279 { ac_try='test -z "$ac_c_werror_flag"
114280 || test ! -s conftest.err'
114281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114282 (eval $ac_try) 2>&5
114283 ac_status=$?
114284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114285 (exit $ac_status); }; } &&
114286 { ac_try='test -s conftest$ac_exeext'
114287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114288 (eval $ac_try) 2>&5
114289 ac_status=$?
114290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114291 (exit $ac_status); }; }; then
114292 glibcxx_cv_WRITEV=yes
114294 echo "$as_me: failed program was:" >&5
114295 sed 's/^/| /' conftest.$ac_ext >&5
114297 glibcxx_cv_WRITEV=no
114299 rm -f conftest.err conftest.$ac_objext \
114300 conftest$ac_exeext conftest.$ac_ext
114304 if test $glibcxx_cv_WRITEV = yes; then
114306 cat >>confdefs.h <<\_ACEOF
114307 #define HAVE_WRITEV 1
114308 _ACEOF
114311 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
114312 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
114315 *-qnx6.1* | *-qnx6.2*)
114316 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114319 # If we're not using GNU ld, then there's no point in even trying these
114320 # tests. Check for that first. We should have already tested for gld
114321 # by now (in libtool), but require it now just to be safe...
114322 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114323 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114327 # The name set by libtool depends on the version of libtool. Shame on us
114328 # for depending on an impl detail, but c'est la vie. Older versions used
114329 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114330 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114331 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114332 # set (hence we're using an older libtool), then set it.
114333 if test x${with_gnu_ld+set} != xset; then
114334 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114335 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114336 with_gnu_ld=no
114338 with_gnu_ld=$ac_cv_prog_gnu_ld
114342 # Start by getting the version number. I think the libtool test already
114343 # does some of this, but throws away the result.
114344 glibcxx_ld_is_gold=no
114345 if test x"$with_gnu_ld" = x"yes"; then
114346 echo "$as_me:$LINENO: checking for ld version" >&5
114347 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114349 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114350 glibcxx_ld_is_gold=yes
114352 ldver=`$LD --version 2>/dev/null | head -1 | \
114353 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114355 glibcxx_gnu_ld_version=`echo $ldver | \
114356 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114357 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114358 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114361 # Set --gc-sections.
114362 glibcxx_have_gc_sections=no
114363 if test "$glibcxx_ld_is_gold" = "yes"; then
114364 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114365 glibcxx_have_gc_sections=yes
114368 glibcxx_gcsections_min_ld=21602
114369 if test x"$with_gnu_ld" = x"yes" &&
114370 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114371 glibcxx_have_gc_sections=yes
114374 if test "$glibcxx_have_gc_sections" = "yes"; then
114375 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114376 # NB: This flag only works reliably after 2.16.1. Configure tests
114377 # for this are difficult, so hard wire a value that should work.
114379 ac_test_CFLAGS="${CFLAGS+set}"
114380 ac_save_CFLAGS="$CFLAGS"
114381 CFLAGS='-Wl,--gc-sections'
114383 # Check for -Wl,--gc-sections
114384 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114385 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114386 if test x$gcc_no_link = xyes; then
114387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114389 { (exit 1); exit 1; }; }
114391 cat >conftest.$ac_ext <<_ACEOF
114392 /* confdefs.h. */
114393 _ACEOF
114394 cat confdefs.h >>conftest.$ac_ext
114395 cat >>conftest.$ac_ext <<_ACEOF
114396 /* end confdefs.h. */
114397 int one(void) { return 1; }
114398 int two(void) { return 2; }
114401 main ()
114403 two();
114405 return 0;
114407 _ACEOF
114408 rm -f conftest.$ac_objext conftest$ac_exeext
114409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114410 (eval $ac_link) 2>conftest.er1
114411 ac_status=$?
114412 grep -v '^ *+' conftest.er1 >conftest.err
114413 rm -f conftest.er1
114414 cat conftest.err >&5
114415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114416 (exit $ac_status); } &&
114417 { ac_try='test -z "$ac_c_werror_flag"
114418 || test ! -s conftest.err'
114419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114420 (eval $ac_try) 2>&5
114421 ac_status=$?
114422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114423 (exit $ac_status); }; } &&
114424 { ac_try='test -s conftest$ac_exeext'
114425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114426 (eval $ac_try) 2>&5
114427 ac_status=$?
114428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114429 (exit $ac_status); }; }; then
114430 ac_gcsections=yes
114432 echo "$as_me: failed program was:" >&5
114433 sed 's/^/| /' conftest.$ac_ext >&5
114435 ac_gcsections=no
114437 rm -f conftest.err conftest.$ac_objext \
114438 conftest$ac_exeext conftest.$ac_ext
114439 if test "$ac_gcsections" = "yes"; then
114440 rm -f conftest.c
114441 touch conftest.c
114442 if $CC -c conftest.c; then
114443 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114444 grep "Warning: gc-sections option ignored" > /dev/null; then
114445 ac_gcsections=no
114448 rm -f conftest.c conftest.o conftest
114450 if test "$ac_gcsections" = "yes"; then
114451 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114453 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114454 echo "${ECHO_T}$ac_gcsections" >&6
114456 if test "$ac_test_CFLAGS" = set; then
114457 CFLAGS="$ac_save_CFLAGS"
114459 # this is the suspicious part
114460 CFLAGS=''
114464 # Set -z,relro.
114465 # Note this is only for shared objects.
114466 ac_ld_relro=no
114467 if test x"$with_gnu_ld" = x"yes"; then
114468 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114469 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114470 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114471 if test -n "$cxx_z_relo"; then
114472 OPT_LDFLAGS="-Wl,-z,relro"
114473 ac_ld_relro=yes
114475 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114476 echo "${ECHO_T}$ac_ld_relro" >&6
114479 # Set linker optimization flags.
114480 if test x"$with_gnu_ld" = x"yes"; then
114481 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114489 echo "$as_me:$LINENO: checking for main in -lm" >&5
114490 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114491 if test "${ac_cv_lib_m_main+set}" = set; then
114492 echo $ECHO_N "(cached) $ECHO_C" >&6
114494 ac_check_lib_save_LIBS=$LIBS
114495 LIBS="-lm $LIBS"
114496 if test x$gcc_no_link = xyes; then
114497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114499 { (exit 1); exit 1; }; }
114501 cat >conftest.$ac_ext <<_ACEOF
114502 /* confdefs.h. */
114503 _ACEOF
114504 cat confdefs.h >>conftest.$ac_ext
114505 cat >>conftest.$ac_ext <<_ACEOF
114506 /* end confdefs.h. */
114510 main ()
114512 main ();
114514 return 0;
114516 _ACEOF
114517 rm -f conftest.$ac_objext conftest$ac_exeext
114518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114519 (eval $ac_link) 2>conftest.er1
114520 ac_status=$?
114521 grep -v '^ *+' conftest.er1 >conftest.err
114522 rm -f conftest.er1
114523 cat conftest.err >&5
114524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114525 (exit $ac_status); } &&
114526 { ac_try='test -z "$ac_c_werror_flag"
114527 || test ! -s conftest.err'
114528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114529 (eval $ac_try) 2>&5
114530 ac_status=$?
114531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114532 (exit $ac_status); }; } &&
114533 { ac_try='test -s conftest$ac_exeext'
114534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114535 (eval $ac_try) 2>&5
114536 ac_status=$?
114537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114538 (exit $ac_status); }; }; then
114539 ac_cv_lib_m_main=yes
114541 echo "$as_me: failed program was:" >&5
114542 sed 's/^/| /' conftest.$ac_ext >&5
114544 ac_cv_lib_m_main=no
114546 rm -f conftest.err conftest.$ac_objext \
114547 conftest$ac_exeext conftest.$ac_ext
114548 LIBS=$ac_check_lib_save_LIBS
114550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114551 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114552 if test $ac_cv_lib_m_main = yes; then
114553 cat >>confdefs.h <<_ACEOF
114554 #define HAVE_LIBM 1
114555 _ACEOF
114557 LIBS="-lm $LIBS"
114562 for ac_func in copysignf
114564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114565 echo "$as_me:$LINENO: checking for $ac_func" >&5
114566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114567 if eval "test \"\${$as_ac_var+set}\" = set"; then
114568 echo $ECHO_N "(cached) $ECHO_C" >&6
114570 if test x$gcc_no_link = xyes; then
114571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114573 { (exit 1); exit 1; }; }
114575 cat >conftest.$ac_ext <<_ACEOF
114576 /* confdefs.h. */
114577 _ACEOF
114578 cat confdefs.h >>conftest.$ac_ext
114579 cat >>conftest.$ac_ext <<_ACEOF
114580 /* end confdefs.h. */
114581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114583 #define $ac_func innocuous_$ac_func
114585 /* System header to define __stub macros and hopefully few prototypes,
114586 which can conflict with char $ac_func (); below.
114587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114588 <limits.h> exists even on freestanding compilers. */
114590 #ifdef __STDC__
114591 # include <limits.h>
114592 #else
114593 # include <assert.h>
114594 #endif
114596 #undef $ac_func
114598 /* Override any gcc2 internal prototype to avoid an error. */
114599 #ifdef __cplusplus
114600 extern "C"
114602 #endif
114603 /* We use char because int might match the return type of a gcc2
114604 builtin and then its argument prototype would still apply. */
114605 char $ac_func ();
114606 /* The GNU C library defines this for functions which it implements
114607 to always fail with ENOSYS. Some functions are actually named
114608 something starting with __ and the normal name is an alias. */
114609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114610 choke me
114611 #else
114612 char (*f) () = $ac_func;
114613 #endif
114614 #ifdef __cplusplus
114616 #endif
114619 main ()
114621 return f != $ac_func;
114623 return 0;
114625 _ACEOF
114626 rm -f conftest.$ac_objext conftest$ac_exeext
114627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114628 (eval $ac_link) 2>conftest.er1
114629 ac_status=$?
114630 grep -v '^ *+' conftest.er1 >conftest.err
114631 rm -f conftest.er1
114632 cat conftest.err >&5
114633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114634 (exit $ac_status); } &&
114635 { ac_try='test -z "$ac_c_werror_flag"
114636 || test ! -s conftest.err'
114637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114638 (eval $ac_try) 2>&5
114639 ac_status=$?
114640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114641 (exit $ac_status); }; } &&
114642 { ac_try='test -s conftest$ac_exeext'
114643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114644 (eval $ac_try) 2>&5
114645 ac_status=$?
114646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114647 (exit $ac_status); }; }; then
114648 eval "$as_ac_var=yes"
114650 echo "$as_me: failed program was:" >&5
114651 sed 's/^/| /' conftest.$ac_ext >&5
114653 eval "$as_ac_var=no"
114655 rm -f conftest.err conftest.$ac_objext \
114656 conftest$ac_exeext conftest.$ac_ext
114658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114660 if test `eval echo '${'$as_ac_var'}'` = yes; then
114661 cat >>confdefs.h <<_ACEOF
114662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114663 _ACEOF
114666 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114672 for ac_func in __signbit
114674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114675 echo "$as_me:$LINENO: checking for $ac_func" >&5
114676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114677 if eval "test \"\${$as_ac_var+set}\" = set"; then
114678 echo $ECHO_N "(cached) $ECHO_C" >&6
114680 if test x$gcc_no_link = xyes; then
114681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114683 { (exit 1); exit 1; }; }
114685 cat >conftest.$ac_ext <<_ACEOF
114686 /* confdefs.h. */
114687 _ACEOF
114688 cat confdefs.h >>conftest.$ac_ext
114689 cat >>conftest.$ac_ext <<_ACEOF
114690 /* end confdefs.h. */
114691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114693 #define $ac_func innocuous_$ac_func
114695 /* System header to define __stub macros and hopefully few prototypes,
114696 which can conflict with char $ac_func (); below.
114697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114698 <limits.h> exists even on freestanding compilers. */
114700 #ifdef __STDC__
114701 # include <limits.h>
114702 #else
114703 # include <assert.h>
114704 #endif
114706 #undef $ac_func
114708 /* Override any gcc2 internal prototype to avoid an error. */
114709 #ifdef __cplusplus
114710 extern "C"
114712 #endif
114713 /* We use char because int might match the return type of a gcc2
114714 builtin and then its argument prototype would still apply. */
114715 char $ac_func ();
114716 /* The GNU C library defines this for functions which it implements
114717 to always fail with ENOSYS. Some functions are actually named
114718 something starting with __ and the normal name is an alias. */
114719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114720 choke me
114721 #else
114722 char (*f) () = $ac_func;
114723 #endif
114724 #ifdef __cplusplus
114726 #endif
114729 main ()
114731 return f != $ac_func;
114733 return 0;
114735 _ACEOF
114736 rm -f conftest.$ac_objext conftest$ac_exeext
114737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114738 (eval $ac_link) 2>conftest.er1
114739 ac_status=$?
114740 grep -v '^ *+' conftest.er1 >conftest.err
114741 rm -f conftest.er1
114742 cat conftest.err >&5
114743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114744 (exit $ac_status); } &&
114745 { ac_try='test -z "$ac_c_werror_flag"
114746 || test ! -s conftest.err'
114747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114748 (eval $ac_try) 2>&5
114749 ac_status=$?
114750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114751 (exit $ac_status); }; } &&
114752 { ac_try='test -s conftest$ac_exeext'
114753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114754 (eval $ac_try) 2>&5
114755 ac_status=$?
114756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114757 (exit $ac_status); }; }; then
114758 eval "$as_ac_var=yes"
114760 echo "$as_me: failed program was:" >&5
114761 sed 's/^/| /' conftest.$ac_ext >&5
114763 eval "$as_ac_var=no"
114765 rm -f conftest.err conftest.$ac_objext \
114766 conftest$ac_exeext conftest.$ac_ext
114768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114770 if test `eval echo '${'$as_ac_var'}'` = yes; then
114771 cat >>confdefs.h <<_ACEOF
114772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114773 _ACEOF
114776 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114782 for ac_func in __signbitf
114784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114785 echo "$as_me:$LINENO: checking for $ac_func" >&5
114786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114787 if eval "test \"\${$as_ac_var+set}\" = set"; then
114788 echo $ECHO_N "(cached) $ECHO_C" >&6
114790 if test x$gcc_no_link = xyes; then
114791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114793 { (exit 1); exit 1; }; }
114795 cat >conftest.$ac_ext <<_ACEOF
114796 /* confdefs.h. */
114797 _ACEOF
114798 cat confdefs.h >>conftest.$ac_ext
114799 cat >>conftest.$ac_ext <<_ACEOF
114800 /* end confdefs.h. */
114801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114803 #define $ac_func innocuous_$ac_func
114805 /* System header to define __stub macros and hopefully few prototypes,
114806 which can conflict with char $ac_func (); below.
114807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114808 <limits.h> exists even on freestanding compilers. */
114810 #ifdef __STDC__
114811 # include <limits.h>
114812 #else
114813 # include <assert.h>
114814 #endif
114816 #undef $ac_func
114818 /* Override any gcc2 internal prototype to avoid an error. */
114819 #ifdef __cplusplus
114820 extern "C"
114822 #endif
114823 /* We use char because int might match the return type of a gcc2
114824 builtin and then its argument prototype would still apply. */
114825 char $ac_func ();
114826 /* The GNU C library defines this for functions which it implements
114827 to always fail with ENOSYS. Some functions are actually named
114828 something starting with __ and the normal name is an alias. */
114829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114830 choke me
114831 #else
114832 char (*f) () = $ac_func;
114833 #endif
114834 #ifdef __cplusplus
114836 #endif
114839 main ()
114841 return f != $ac_func;
114843 return 0;
114845 _ACEOF
114846 rm -f conftest.$ac_objext conftest$ac_exeext
114847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114848 (eval $ac_link) 2>conftest.er1
114849 ac_status=$?
114850 grep -v '^ *+' conftest.er1 >conftest.err
114851 rm -f conftest.er1
114852 cat conftest.err >&5
114853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114854 (exit $ac_status); } &&
114855 { ac_try='test -z "$ac_c_werror_flag"
114856 || test ! -s conftest.err'
114857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114858 (eval $ac_try) 2>&5
114859 ac_status=$?
114860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114861 (exit $ac_status); }; } &&
114862 { ac_try='test -s conftest$ac_exeext'
114863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114864 (eval $ac_try) 2>&5
114865 ac_status=$?
114866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114867 (exit $ac_status); }; }; then
114868 eval "$as_ac_var=yes"
114870 echo "$as_me: failed program was:" >&5
114871 sed 's/^/| /' conftest.$ac_ext >&5
114873 eval "$as_ac_var=no"
114875 rm -f conftest.err conftest.$ac_objext \
114876 conftest$ac_exeext conftest.$ac_ext
114878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114880 if test `eval echo '${'$as_ac_var'}'` = yes; then
114881 cat >>confdefs.h <<_ACEOF
114882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114883 _ACEOF
114886 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114891 if test x$ac_cv_func_copysignl = x"yes"; then
114893 for ac_func in __signbitl
114895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114896 echo "$as_me:$LINENO: checking for $ac_func" >&5
114897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114898 if eval "test \"\${$as_ac_var+set}\" = set"; then
114899 echo $ECHO_N "(cached) $ECHO_C" >&6
114901 if test x$gcc_no_link = xyes; then
114902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114904 { (exit 1); exit 1; }; }
114906 cat >conftest.$ac_ext <<_ACEOF
114907 /* confdefs.h. */
114908 _ACEOF
114909 cat confdefs.h >>conftest.$ac_ext
114910 cat >>conftest.$ac_ext <<_ACEOF
114911 /* end confdefs.h. */
114912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114914 #define $ac_func innocuous_$ac_func
114916 /* System header to define __stub macros and hopefully few prototypes,
114917 which can conflict with char $ac_func (); below.
114918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114919 <limits.h> exists even on freestanding compilers. */
114921 #ifdef __STDC__
114922 # include <limits.h>
114923 #else
114924 # include <assert.h>
114925 #endif
114927 #undef $ac_func
114929 /* Override any gcc2 internal prototype to avoid an error. */
114930 #ifdef __cplusplus
114931 extern "C"
114933 #endif
114934 /* We use char because int might match the return type of a gcc2
114935 builtin and then its argument prototype would still apply. */
114936 char $ac_func ();
114937 /* The GNU C library defines this for functions which it implements
114938 to always fail with ENOSYS. Some functions are actually named
114939 something starting with __ and the normal name is an alias. */
114940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114941 choke me
114942 #else
114943 char (*f) () = $ac_func;
114944 #endif
114945 #ifdef __cplusplus
114947 #endif
114950 main ()
114952 return f != $ac_func;
114954 return 0;
114956 _ACEOF
114957 rm -f conftest.$ac_objext conftest$ac_exeext
114958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114959 (eval $ac_link) 2>conftest.er1
114960 ac_status=$?
114961 grep -v '^ *+' conftest.er1 >conftest.err
114962 rm -f conftest.er1
114963 cat conftest.err >&5
114964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114965 (exit $ac_status); } &&
114966 { ac_try='test -z "$ac_c_werror_flag"
114967 || test ! -s conftest.err'
114968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114969 (eval $ac_try) 2>&5
114970 ac_status=$?
114971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114972 (exit $ac_status); }; } &&
114973 { ac_try='test -s conftest$ac_exeext'
114974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114975 (eval $ac_try) 2>&5
114976 ac_status=$?
114977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114978 (exit $ac_status); }; }; then
114979 eval "$as_ac_var=yes"
114981 echo "$as_me: failed program was:" >&5
114982 sed 's/^/| /' conftest.$ac_ext >&5
114984 eval "$as_ac_var=no"
114986 rm -f conftest.err conftest.$ac_objext \
114987 conftest$ac_exeext conftest.$ac_ext
114989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114991 if test `eval echo '${'$as_ac_var'}'` = yes; then
114992 cat >>confdefs.h <<_ACEOF
114993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114994 _ACEOF
114997 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115003 # Used in libmath/Makefile.am.
115004 if test -n "$LIBMATHOBJS"; then
115005 need_libmath=yes
115009 cat >>confdefs.h <<\_ACEOF
115010 #define HAVE_COSF 1
115011 _ACEOF
115013 cat >>confdefs.h <<\_ACEOF
115014 #define HAVE_COSL 1
115015 _ACEOF
115017 cat >>confdefs.h <<\_ACEOF
115018 #define HAVE_COSHF 1
115019 _ACEOF
115021 cat >>confdefs.h <<\_ACEOF
115022 #define HAVE_COSHL 1
115023 _ACEOF
115025 cat >>confdefs.h <<\_ACEOF
115026 #define HAVE_LOGF 1
115027 _ACEOF
115029 cat >>confdefs.h <<\_ACEOF
115030 #define HAVE_LOGL 1
115031 _ACEOF
115033 cat >>confdefs.h <<\_ACEOF
115034 #define HAVE_LOG10F 1
115035 _ACEOF
115037 cat >>confdefs.h <<\_ACEOF
115038 #define HAVE_LOG10L 1
115039 _ACEOF
115041 cat >>confdefs.h <<\_ACEOF
115042 #define HAVE_SINF 1
115043 _ACEOF
115045 cat >>confdefs.h <<\_ACEOF
115046 #define HAVE_SINL 1
115047 _ACEOF
115049 cat >>confdefs.h <<\_ACEOF
115050 #define HAVE_SINHF 1
115051 _ACEOF
115053 cat >>confdefs.h <<\_ACEOF
115054 #define HAVE_SINHL 1
115055 _ACEOF
115058 *-solaris*)
115059 case "$target" in
115060 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
115062 # If we're not using GNU ld, then there's no point in even trying these
115063 # tests. Check for that first. We should have already tested for gld
115064 # by now (in libtool), but require it now just to be safe...
115065 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115066 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115070 # The name set by libtool depends on the version of libtool. Shame on us
115071 # for depending on an impl detail, but c'est la vie. Older versions used
115072 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115073 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115074 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
115075 # set (hence we're using an older libtool), then set it.
115076 if test x${with_gnu_ld+set} != xset; then
115077 if test x${ac_cv_prog_gnu_ld+set} != xset; then
115078 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
115079 with_gnu_ld=no
115081 with_gnu_ld=$ac_cv_prog_gnu_ld
115085 # Start by getting the version number. I think the libtool test already
115086 # does some of this, but throws away the result.
115087 glibcxx_ld_is_gold=no
115088 if test x"$with_gnu_ld" = x"yes"; then
115089 echo "$as_me:$LINENO: checking for ld version" >&5
115090 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115092 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115093 glibcxx_ld_is_gold=yes
115095 ldver=`$LD --version 2>/dev/null | head -1 | \
115096 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115098 glibcxx_gnu_ld_version=`echo $ldver | \
115099 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115100 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115101 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115104 # Set --gc-sections.
115105 glibcxx_have_gc_sections=no
115106 if test "$glibcxx_ld_is_gold" = "yes"; then
115107 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115108 glibcxx_have_gc_sections=yes
115111 glibcxx_gcsections_min_ld=21602
115112 if test x"$with_gnu_ld" = x"yes" &&
115113 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115114 glibcxx_have_gc_sections=yes
115117 if test "$glibcxx_have_gc_sections" = "yes"; then
115118 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
115119 # NB: This flag only works reliably after 2.16.1. Configure tests
115120 # for this are difficult, so hard wire a value that should work.
115122 ac_test_CFLAGS="${CFLAGS+set}"
115123 ac_save_CFLAGS="$CFLAGS"
115124 CFLAGS='-Wl,--gc-sections'
115126 # Check for -Wl,--gc-sections
115127 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115128 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115129 if test x$gcc_no_link = xyes; then
115130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115132 { (exit 1); exit 1; }; }
115134 cat >conftest.$ac_ext <<_ACEOF
115135 /* confdefs.h. */
115136 _ACEOF
115137 cat confdefs.h >>conftest.$ac_ext
115138 cat >>conftest.$ac_ext <<_ACEOF
115139 /* end confdefs.h. */
115140 int one(void) { return 1; }
115141 int two(void) { return 2; }
115144 main ()
115146 two();
115148 return 0;
115150 _ACEOF
115151 rm -f conftest.$ac_objext conftest$ac_exeext
115152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115153 (eval $ac_link) 2>conftest.er1
115154 ac_status=$?
115155 grep -v '^ *+' conftest.er1 >conftest.err
115156 rm -f conftest.er1
115157 cat conftest.err >&5
115158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115159 (exit $ac_status); } &&
115160 { ac_try='test -z "$ac_c_werror_flag"
115161 || test ! -s conftest.err'
115162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115163 (eval $ac_try) 2>&5
115164 ac_status=$?
115165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115166 (exit $ac_status); }; } &&
115167 { ac_try='test -s conftest$ac_exeext'
115168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115169 (eval $ac_try) 2>&5
115170 ac_status=$?
115171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115172 (exit $ac_status); }; }; then
115173 ac_gcsections=yes
115175 echo "$as_me: failed program was:" >&5
115176 sed 's/^/| /' conftest.$ac_ext >&5
115178 ac_gcsections=no
115180 rm -f conftest.err conftest.$ac_objext \
115181 conftest$ac_exeext conftest.$ac_ext
115182 if test "$ac_gcsections" = "yes"; then
115183 rm -f conftest.c
115184 touch conftest.c
115185 if $CC -c conftest.c; then
115186 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115187 grep "Warning: gc-sections option ignored" > /dev/null; then
115188 ac_gcsections=no
115191 rm -f conftest.c conftest.o conftest
115193 if test "$ac_gcsections" = "yes"; then
115194 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115196 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115197 echo "${ECHO_T}$ac_gcsections" >&6
115199 if test "$ac_test_CFLAGS" = set; then
115200 CFLAGS="$ac_save_CFLAGS"
115202 # this is the suspicious part
115203 CFLAGS=''
115207 # Set -z,relro.
115208 # Note this is only for shared objects.
115209 ac_ld_relro=no
115210 if test x"$with_gnu_ld" = x"yes"; then
115211 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115212 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115213 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115214 if test -n "$cxx_z_relo"; then
115215 OPT_LDFLAGS="-Wl,-z,relro"
115216 ac_ld_relro=yes
115218 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115219 echo "${ECHO_T}$ac_ld_relro" >&6
115222 # Set linker optimization flags.
115223 if test x"$with_gnu_ld" = x"yes"; then
115224 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115230 cat >>confdefs.h <<\_ACEOF
115231 #define HAVE_GETPAGESIZE 1
115232 _ACEOF
115234 cat >>confdefs.h <<\_ACEOF
115235 #define HAVE_SIGSETJMP 1
115236 _ACEOF
115238 cat >>confdefs.h <<\_ACEOF
115239 #define HAVE_MBSTATE_T 1
115240 _ACEOF
115242 cat >>confdefs.h <<\_ACEOF
115243 #define HAVE_POLL 1
115244 _ACEOF
115246 cat >>confdefs.h <<\_ACEOF
115247 #define HAVE_S_ISREG 1
115248 _ACEOF
115250 cat >>confdefs.h <<\_ACEOF
115251 #define HAVE_LC_MESSAGES 1
115252 _ACEOF
115254 cat >>confdefs.h <<\_ACEOF
115255 #define HAVE_FINITE 1
115256 _ACEOF
115258 cat >>confdefs.h <<\_ACEOF
115259 #define HAVE_FPCLASS 1
115260 _ACEOF
115262 cat >>confdefs.h <<\_ACEOF
115263 #define HAVE_GETPAGESIZE 1
115264 _ACEOF
115266 # All of the dependencies for wide character support are here, so
115267 # turn it on.
115268 cat >>confdefs.h <<\_ACEOF
115269 #define _GLIBCXX_USE_WCHAR_T 1
115270 _ACEOF
115272 # Are these tested for even when cross?
115273 cat >>confdefs.h <<\_ACEOF
115274 #define HAVE_FLOAT_H 1
115275 _ACEOF
115277 cat >>confdefs.h <<\_ACEOF
115278 #define HAVE_IEEEFP_H 1
115279 _ACEOF
115281 cat >>confdefs.h <<\_ACEOF
115282 #define HAVE_INTTYPES_H 1
115283 _ACEOF
115285 cat >>confdefs.h <<\_ACEOF
115286 #define HAVE_LOCALE_H 1
115287 _ACEOF
115289 cat >>confdefs.h <<\_ACEOF
115290 #define HAVE_NAN_H 1
115291 _ACEOF
115293 cat >>confdefs.h <<\_ACEOF
115294 #define HAVE_SYS_FILIO_H 1
115295 _ACEOF
115297 cat >>confdefs.h <<\_ACEOF
115298 #define HAVE_SYS_IOCTL_H 1
115299 _ACEOF
115301 cat >>confdefs.h <<\_ACEOF
115302 #define HAVE_SYS_ISA_DEFS_H 1
115303 _ACEOF
115305 cat >>confdefs.h <<\_ACEOF
115306 #define HAVE_SYS_RESOURCE_H 1
115307 _ACEOF
115309 cat >>confdefs.h <<\_ACEOF
115310 #define HAVE_SYS_TIME_H 1
115311 _ACEOF
115313 cat >>confdefs.h <<\_ACEOF
115314 #define HAVE_SYS_TYPES_H 1
115315 _ACEOF
115317 cat >>confdefs.h <<\_ACEOF
115318 #define HAVE_UNISTD_H 1
115319 _ACEOF
115321 cat >>confdefs.h <<\_ACEOF
115322 #define HAVE_WCHAR_H 1
115323 _ACEOF
115325 cat >>confdefs.h <<\_ACEOF
115326 #define HAVE_WCTYPE_H 1
115327 _ACEOF
115329 cat >>confdefs.h <<\_ACEOF
115330 #define HAVE_LIBM 1
115331 _ACEOF
115335 case "$target" in
115336 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
115337 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
115338 cat >>confdefs.h <<\_ACEOF
115339 #define HAVE___BUILTIN_ABS 1
115340 _ACEOF
115342 cat >>confdefs.h <<\_ACEOF
115343 #define HAVE___BUILTIN_LABS 1
115344 _ACEOF
115346 cat >>confdefs.h <<\_ACEOF
115347 #define HAVE___BUILTIN_FABS 1
115348 _ACEOF
115350 cat >>confdefs.h <<\_ACEOF
115351 #define HAVE___BUILTIN_FABSF 1
115352 _ACEOF
115354 cat >>confdefs.h <<\_ACEOF
115355 #define HAVE___BUILTIN_FABSL 1
115356 _ACEOF
115358 cat >>confdefs.h <<\_ACEOF
115359 #define HAVE___BUILTIN_COS 1
115360 _ACEOF
115362 cat >>confdefs.h <<\_ACEOF
115363 #define HAVE___BUILTIN_COSF 1
115364 _ACEOF
115366 cat >>confdefs.h <<\_ACEOF
115367 #define HAVE___BUILTIN_SIN 1
115368 _ACEOF
115370 cat >>confdefs.h <<\_ACEOF
115371 #define HAVE___BUILTIN_SINF 1
115372 _ACEOF
115376 case "$target" in
115377 *-*-solaris2.10)
115378 # These two C99 functions are present only in Solaris >= 10
115379 cat >>confdefs.h <<\_ACEOF
115380 #define HAVE_STRTOF 1
115381 _ACEOF
115383 cat >>confdefs.h <<\_ACEOF
115384 #define HAVE_STRTOLD 1
115385 _ACEOF
115389 cat >>confdefs.h <<\_ACEOF
115390 #define HAVE_MMAP 1
115391 _ACEOF
115393 cat >>confdefs.h <<\_ACEOF
115394 #define HAVE_COPYSIGN 1
115395 _ACEOF
115397 cat >>confdefs.h <<\_ACEOF
115398 #define HAVE_ISNAN 1
115399 _ACEOF
115401 cat >>confdefs.h <<\_ACEOF
115402 #define HAVE_ISNANF 1
115403 _ACEOF
115405 cat >>confdefs.h <<\_ACEOF
115406 #define HAVE_MODFF 1
115407 _ACEOF
115409 cat >>confdefs.h <<\_ACEOF
115410 #define HAVE_HYPOT 1
115411 _ACEOF
115414 *-tpf)
115423 for ac_header in nan.h endian.h machine/endian.h \
115424 sys/param.h sys/types.h locale.h float.h inttypes.h
115426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
115427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115428 echo "$as_me:$LINENO: checking for $ac_header" >&5
115429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115431 echo $ECHO_N "(cached) $ECHO_C" >&6
115433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115436 # Is the header compilable?
115437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
115438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
115439 cat >conftest.$ac_ext <<_ACEOF
115440 /* confdefs.h. */
115441 _ACEOF
115442 cat confdefs.h >>conftest.$ac_ext
115443 cat >>conftest.$ac_ext <<_ACEOF
115444 /* end confdefs.h. */
115445 $ac_includes_default
115446 #include <$ac_header>
115447 _ACEOF
115448 rm -f conftest.$ac_objext
115449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115450 (eval $ac_compile) 2>conftest.er1
115451 ac_status=$?
115452 grep -v '^ *+' conftest.er1 >conftest.err
115453 rm -f conftest.er1
115454 cat conftest.err >&5
115455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115456 (exit $ac_status); } &&
115457 { ac_try='test -z "$ac_c_werror_flag"
115458 || test ! -s conftest.err'
115459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115460 (eval $ac_try) 2>&5
115461 ac_status=$?
115462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115463 (exit $ac_status); }; } &&
115464 { ac_try='test -s conftest.$ac_objext'
115465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115466 (eval $ac_try) 2>&5
115467 ac_status=$?
115468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115469 (exit $ac_status); }; }; then
115470 ac_header_compiler=yes
115472 echo "$as_me: failed program was:" >&5
115473 sed 's/^/| /' conftest.$ac_ext >&5
115475 ac_header_compiler=no
115477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
115479 echo "${ECHO_T}$ac_header_compiler" >&6
115481 # Is the header present?
115482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
115483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
115484 cat >conftest.$ac_ext <<_ACEOF
115485 /* confdefs.h. */
115486 _ACEOF
115487 cat confdefs.h >>conftest.$ac_ext
115488 cat >>conftest.$ac_ext <<_ACEOF
115489 /* end confdefs.h. */
115490 #include <$ac_header>
115491 _ACEOF
115492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
115493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
115494 ac_status=$?
115495 grep -v '^ *+' conftest.er1 >conftest.err
115496 rm -f conftest.er1
115497 cat conftest.err >&5
115498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115499 (exit $ac_status); } >/dev/null; then
115500 if test -s conftest.err; then
115501 ac_cpp_err=$ac_c_preproc_warn_flag
115502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
115504 ac_cpp_err=
115507 ac_cpp_err=yes
115509 if test -z "$ac_cpp_err"; then
115510 ac_header_preproc=yes
115512 echo "$as_me: failed program was:" >&5
115513 sed 's/^/| /' conftest.$ac_ext >&5
115515 ac_header_preproc=no
115517 rm -f conftest.err conftest.$ac_ext
115518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
115519 echo "${ECHO_T}$ac_header_preproc" >&6
115521 # So? What about this header?
115522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
115523 yes:no: )
115524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
115525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
115526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
115527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
115528 ac_header_preproc=yes
115530 no:yes:* )
115531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
115532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
115533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
115534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
115535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
115536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
115537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
115538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
115539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
115540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
115541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
115542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
115544 cat <<\_ASBOX
115545 ## ----------------------------------------- ##
115546 ## Report this to the package-unused lists. ##
115547 ## ----------------------------------------- ##
115548 _ASBOX
115550 sed "s/^/$as_me: WARNING: /" >&2
115553 echo "$as_me:$LINENO: checking for $ac_header" >&5
115554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115556 echo $ECHO_N "(cached) $ECHO_C" >&6
115558 eval "$as_ac_Header=\$ac_header_preproc"
115560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
115565 cat >>confdefs.h <<_ACEOF
115566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
115567 _ACEOF
115573 SECTION_FLAGS='-ffunction-sections -fdata-sections'
115576 # If we're not using GNU ld, then there's no point in even trying these
115577 # tests. Check for that first. We should have already tested for gld
115578 # by now (in libtool), but require it now just to be safe...
115579 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115580 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115584 # The name set by libtool depends on the version of libtool. Shame on us
115585 # for depending on an impl detail, but c'est la vie. Older versions used
115586 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115587 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115588 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
115589 # set (hence we're using an older libtool), then set it.
115590 if test x${with_gnu_ld+set} != xset; then
115591 if test x${ac_cv_prog_gnu_ld+set} != xset; then
115592 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
115593 with_gnu_ld=no
115595 with_gnu_ld=$ac_cv_prog_gnu_ld
115599 # Start by getting the version number. I think the libtool test already
115600 # does some of this, but throws away the result.
115601 glibcxx_ld_is_gold=no
115602 if test x"$with_gnu_ld" = x"yes"; then
115603 echo "$as_me:$LINENO: checking for ld version" >&5
115604 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115606 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115607 glibcxx_ld_is_gold=yes
115609 ldver=`$LD --version 2>/dev/null | head -1 | \
115610 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115612 glibcxx_gnu_ld_version=`echo $ldver | \
115613 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115614 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115615 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115618 # Set --gc-sections.
115619 glibcxx_have_gc_sections=no
115620 if test "$glibcxx_ld_is_gold" = "yes"; then
115621 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115622 glibcxx_have_gc_sections=yes
115625 glibcxx_gcsections_min_ld=21602
115626 if test x"$with_gnu_ld" = x"yes" &&
115627 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115628 glibcxx_have_gc_sections=yes
115631 if test "$glibcxx_have_gc_sections" = "yes"; then
115632 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
115633 # NB: This flag only works reliably after 2.16.1. Configure tests
115634 # for this are difficult, so hard wire a value that should work.
115636 ac_test_CFLAGS="${CFLAGS+set}"
115637 ac_save_CFLAGS="$CFLAGS"
115638 CFLAGS='-Wl,--gc-sections'
115640 # Check for -Wl,--gc-sections
115641 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115642 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115643 if test x$gcc_no_link = xyes; then
115644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115646 { (exit 1); exit 1; }; }
115648 cat >conftest.$ac_ext <<_ACEOF
115649 /* confdefs.h. */
115650 _ACEOF
115651 cat confdefs.h >>conftest.$ac_ext
115652 cat >>conftest.$ac_ext <<_ACEOF
115653 /* end confdefs.h. */
115654 int one(void) { return 1; }
115655 int two(void) { return 2; }
115658 main ()
115660 two();
115662 return 0;
115664 _ACEOF
115665 rm -f conftest.$ac_objext conftest$ac_exeext
115666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115667 (eval $ac_link) 2>conftest.er1
115668 ac_status=$?
115669 grep -v '^ *+' conftest.er1 >conftest.err
115670 rm -f conftest.er1
115671 cat conftest.err >&5
115672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115673 (exit $ac_status); } &&
115674 { ac_try='test -z "$ac_c_werror_flag"
115675 || test ! -s conftest.err'
115676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115677 (eval $ac_try) 2>&5
115678 ac_status=$?
115679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115680 (exit $ac_status); }; } &&
115681 { ac_try='test -s conftest$ac_exeext'
115682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115683 (eval $ac_try) 2>&5
115684 ac_status=$?
115685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115686 (exit $ac_status); }; }; then
115687 ac_gcsections=yes
115689 echo "$as_me: failed program was:" >&5
115690 sed 's/^/| /' conftest.$ac_ext >&5
115692 ac_gcsections=no
115694 rm -f conftest.err conftest.$ac_objext \
115695 conftest$ac_exeext conftest.$ac_ext
115696 if test "$ac_gcsections" = "yes"; then
115697 rm -f conftest.c
115698 touch conftest.c
115699 if $CC -c conftest.c; then
115700 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115701 grep "Warning: gc-sections option ignored" > /dev/null; then
115702 ac_gcsections=no
115705 rm -f conftest.c conftest.o conftest
115707 if test "$ac_gcsections" = "yes"; then
115708 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115710 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115711 echo "${ECHO_T}$ac_gcsections" >&6
115713 if test "$ac_test_CFLAGS" = set; then
115714 CFLAGS="$ac_save_CFLAGS"
115716 # this is the suspicious part
115717 CFLAGS=''
115721 # Set -z,relro.
115722 # Note this is only for shared objects.
115723 ac_ld_relro=no
115724 if test x"$with_gnu_ld" = x"yes"; then
115725 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115726 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115727 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115728 if test -n "$cxx_z_relo"; then
115729 OPT_LDFLAGS="-Wl,-z,relro"
115730 ac_ld_relro=yes
115732 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115733 echo "${ECHO_T}$ac_ld_relro" >&6
115736 # Set linker optimization flags.
115737 if test x"$with_gnu_ld" = x"yes"; then
115738 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115746 echo "$as_me:$LINENO: checking for main in -lm" >&5
115747 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
115748 if test "${ac_cv_lib_m_main+set}" = set; then
115749 echo $ECHO_N "(cached) $ECHO_C" >&6
115751 ac_check_lib_save_LIBS=$LIBS
115752 LIBS="-lm $LIBS"
115753 if test x$gcc_no_link = xyes; then
115754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115756 { (exit 1); exit 1; }; }
115758 cat >conftest.$ac_ext <<_ACEOF
115759 /* confdefs.h. */
115760 _ACEOF
115761 cat confdefs.h >>conftest.$ac_ext
115762 cat >>conftest.$ac_ext <<_ACEOF
115763 /* end confdefs.h. */
115767 main ()
115769 main ();
115771 return 0;
115773 _ACEOF
115774 rm -f conftest.$ac_objext conftest$ac_exeext
115775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115776 (eval $ac_link) 2>conftest.er1
115777 ac_status=$?
115778 grep -v '^ *+' conftest.er1 >conftest.err
115779 rm -f conftest.er1
115780 cat conftest.err >&5
115781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115782 (exit $ac_status); } &&
115783 { ac_try='test -z "$ac_c_werror_flag"
115784 || test ! -s conftest.err'
115785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115786 (eval $ac_try) 2>&5
115787 ac_status=$?
115788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115789 (exit $ac_status); }; } &&
115790 { ac_try='test -s conftest$ac_exeext'
115791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115792 (eval $ac_try) 2>&5
115793 ac_status=$?
115794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115795 (exit $ac_status); }; }; then
115796 ac_cv_lib_m_main=yes
115798 echo "$as_me: failed program was:" >&5
115799 sed 's/^/| /' conftest.$ac_ext >&5
115801 ac_cv_lib_m_main=no
115803 rm -f conftest.err conftest.$ac_objext \
115804 conftest$ac_exeext conftest.$ac_ext
115805 LIBS=$ac_check_lib_save_LIBS
115807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
115808 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
115809 if test $ac_cv_lib_m_main = yes; then
115810 cat >>confdefs.h <<_ACEOF
115811 #define HAVE_LIBM 1
115812 _ACEOF
115814 LIBS="-lm $LIBS"
115819 for ac_func in copysignf
115821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115822 echo "$as_me:$LINENO: checking for $ac_func" >&5
115823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115824 if eval "test \"\${$as_ac_var+set}\" = set"; then
115825 echo $ECHO_N "(cached) $ECHO_C" >&6
115827 if test x$gcc_no_link = xyes; then
115828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115830 { (exit 1); exit 1; }; }
115832 cat >conftest.$ac_ext <<_ACEOF
115833 /* confdefs.h. */
115834 _ACEOF
115835 cat confdefs.h >>conftest.$ac_ext
115836 cat >>conftest.$ac_ext <<_ACEOF
115837 /* end confdefs.h. */
115838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115840 #define $ac_func innocuous_$ac_func
115842 /* System header to define __stub macros and hopefully few prototypes,
115843 which can conflict with char $ac_func (); below.
115844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115845 <limits.h> exists even on freestanding compilers. */
115847 #ifdef __STDC__
115848 # include <limits.h>
115849 #else
115850 # include <assert.h>
115851 #endif
115853 #undef $ac_func
115855 /* Override any gcc2 internal prototype to avoid an error. */
115856 #ifdef __cplusplus
115857 extern "C"
115859 #endif
115860 /* We use char because int might match the return type of a gcc2
115861 builtin and then its argument prototype would still apply. */
115862 char $ac_func ();
115863 /* The GNU C library defines this for functions which it implements
115864 to always fail with ENOSYS. Some functions are actually named
115865 something starting with __ and the normal name is an alias. */
115866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115867 choke me
115868 #else
115869 char (*f) () = $ac_func;
115870 #endif
115871 #ifdef __cplusplus
115873 #endif
115876 main ()
115878 return f != $ac_func;
115880 return 0;
115882 _ACEOF
115883 rm -f conftest.$ac_objext conftest$ac_exeext
115884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115885 (eval $ac_link) 2>conftest.er1
115886 ac_status=$?
115887 grep -v '^ *+' conftest.er1 >conftest.err
115888 rm -f conftest.er1
115889 cat conftest.err >&5
115890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115891 (exit $ac_status); } &&
115892 { ac_try='test -z "$ac_c_werror_flag"
115893 || test ! -s conftest.err'
115894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115895 (eval $ac_try) 2>&5
115896 ac_status=$?
115897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115898 (exit $ac_status); }; } &&
115899 { ac_try='test -s conftest$ac_exeext'
115900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115901 (eval $ac_try) 2>&5
115902 ac_status=$?
115903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115904 (exit $ac_status); }; }; then
115905 eval "$as_ac_var=yes"
115907 echo "$as_me: failed program was:" >&5
115908 sed 's/^/| /' conftest.$ac_ext >&5
115910 eval "$as_ac_var=no"
115912 rm -f conftest.err conftest.$ac_objext \
115913 conftest$ac_exeext conftest.$ac_ext
115915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115917 if test `eval echo '${'$as_ac_var'}'` = yes; then
115918 cat >>confdefs.h <<_ACEOF
115919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115920 _ACEOF
115923 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
115929 for ac_func in __signbit
115931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115932 echo "$as_me:$LINENO: checking for $ac_func" >&5
115933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115934 if eval "test \"\${$as_ac_var+set}\" = set"; then
115935 echo $ECHO_N "(cached) $ECHO_C" >&6
115937 if test x$gcc_no_link = xyes; then
115938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115940 { (exit 1); exit 1; }; }
115942 cat >conftest.$ac_ext <<_ACEOF
115943 /* confdefs.h. */
115944 _ACEOF
115945 cat confdefs.h >>conftest.$ac_ext
115946 cat >>conftest.$ac_ext <<_ACEOF
115947 /* end confdefs.h. */
115948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115950 #define $ac_func innocuous_$ac_func
115952 /* System header to define __stub macros and hopefully few prototypes,
115953 which can conflict with char $ac_func (); below.
115954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115955 <limits.h> exists even on freestanding compilers. */
115957 #ifdef __STDC__
115958 # include <limits.h>
115959 #else
115960 # include <assert.h>
115961 #endif
115963 #undef $ac_func
115965 /* Override any gcc2 internal prototype to avoid an error. */
115966 #ifdef __cplusplus
115967 extern "C"
115969 #endif
115970 /* We use char because int might match the return type of a gcc2
115971 builtin and then its argument prototype would still apply. */
115972 char $ac_func ();
115973 /* The GNU C library defines this for functions which it implements
115974 to always fail with ENOSYS. Some functions are actually named
115975 something starting with __ and the normal name is an alias. */
115976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115977 choke me
115978 #else
115979 char (*f) () = $ac_func;
115980 #endif
115981 #ifdef __cplusplus
115983 #endif
115986 main ()
115988 return f != $ac_func;
115990 return 0;
115992 _ACEOF
115993 rm -f conftest.$ac_objext conftest$ac_exeext
115994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115995 (eval $ac_link) 2>conftest.er1
115996 ac_status=$?
115997 grep -v '^ *+' conftest.er1 >conftest.err
115998 rm -f conftest.er1
115999 cat conftest.err >&5
116000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116001 (exit $ac_status); } &&
116002 { ac_try='test -z "$ac_c_werror_flag"
116003 || test ! -s conftest.err'
116004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116005 (eval $ac_try) 2>&5
116006 ac_status=$?
116007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116008 (exit $ac_status); }; } &&
116009 { ac_try='test -s conftest$ac_exeext'
116010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116011 (eval $ac_try) 2>&5
116012 ac_status=$?
116013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116014 (exit $ac_status); }; }; then
116015 eval "$as_ac_var=yes"
116017 echo "$as_me: failed program was:" >&5
116018 sed 's/^/| /' conftest.$ac_ext >&5
116020 eval "$as_ac_var=no"
116022 rm -f conftest.err conftest.$ac_objext \
116023 conftest$ac_exeext conftest.$ac_ext
116025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116027 if test `eval echo '${'$as_ac_var'}'` = yes; then
116028 cat >>confdefs.h <<_ACEOF
116029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116030 _ACEOF
116033 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
116039 for ac_func in __signbitf
116041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116042 echo "$as_me:$LINENO: checking for $ac_func" >&5
116043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116044 if eval "test \"\${$as_ac_var+set}\" = set"; then
116045 echo $ECHO_N "(cached) $ECHO_C" >&6
116047 if test x$gcc_no_link = xyes; then
116048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116050 { (exit 1); exit 1; }; }
116052 cat >conftest.$ac_ext <<_ACEOF
116053 /* confdefs.h. */
116054 _ACEOF
116055 cat confdefs.h >>conftest.$ac_ext
116056 cat >>conftest.$ac_ext <<_ACEOF
116057 /* end confdefs.h. */
116058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116060 #define $ac_func innocuous_$ac_func
116062 /* System header to define __stub macros and hopefully few prototypes,
116063 which can conflict with char $ac_func (); below.
116064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116065 <limits.h> exists even on freestanding compilers. */
116067 #ifdef __STDC__
116068 # include <limits.h>
116069 #else
116070 # include <assert.h>
116071 #endif
116073 #undef $ac_func
116075 /* Override any gcc2 internal prototype to avoid an error. */
116076 #ifdef __cplusplus
116077 extern "C"
116079 #endif
116080 /* We use char because int might match the return type of a gcc2
116081 builtin and then its argument prototype would still apply. */
116082 char $ac_func ();
116083 /* The GNU C library defines this for functions which it implements
116084 to always fail with ENOSYS. Some functions are actually named
116085 something starting with __ and the normal name is an alias. */
116086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116087 choke me
116088 #else
116089 char (*f) () = $ac_func;
116090 #endif
116091 #ifdef __cplusplus
116093 #endif
116096 main ()
116098 return f != $ac_func;
116100 return 0;
116102 _ACEOF
116103 rm -f conftest.$ac_objext conftest$ac_exeext
116104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116105 (eval $ac_link) 2>conftest.er1
116106 ac_status=$?
116107 grep -v '^ *+' conftest.er1 >conftest.err
116108 rm -f conftest.er1
116109 cat conftest.err >&5
116110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116111 (exit $ac_status); } &&
116112 { ac_try='test -z "$ac_c_werror_flag"
116113 || test ! -s conftest.err'
116114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116115 (eval $ac_try) 2>&5
116116 ac_status=$?
116117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116118 (exit $ac_status); }; } &&
116119 { ac_try='test -s conftest$ac_exeext'
116120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116121 (eval $ac_try) 2>&5
116122 ac_status=$?
116123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116124 (exit $ac_status); }; }; then
116125 eval "$as_ac_var=yes"
116127 echo "$as_me: failed program was:" >&5
116128 sed 's/^/| /' conftest.$ac_ext >&5
116130 eval "$as_ac_var=no"
116132 rm -f conftest.err conftest.$ac_objext \
116133 conftest$ac_exeext conftest.$ac_ext
116135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116137 if test `eval echo '${'$as_ac_var'}'` = yes; then
116138 cat >>confdefs.h <<_ACEOF
116139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116140 _ACEOF
116143 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
116148 if test x$ac_cv_func_copysignl = x"yes"; then
116150 for ac_func in __signbitl
116152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116153 echo "$as_me:$LINENO: checking for $ac_func" >&5
116154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116155 if eval "test \"\${$as_ac_var+set}\" = set"; then
116156 echo $ECHO_N "(cached) $ECHO_C" >&6
116158 if test x$gcc_no_link = xyes; then
116159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116161 { (exit 1); exit 1; }; }
116163 cat >conftest.$ac_ext <<_ACEOF
116164 /* confdefs.h. */
116165 _ACEOF
116166 cat confdefs.h >>conftest.$ac_ext
116167 cat >>conftest.$ac_ext <<_ACEOF
116168 /* end confdefs.h. */
116169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116171 #define $ac_func innocuous_$ac_func
116173 /* System header to define __stub macros and hopefully few prototypes,
116174 which can conflict with char $ac_func (); below.
116175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116176 <limits.h> exists even on freestanding compilers. */
116178 #ifdef __STDC__
116179 # include <limits.h>
116180 #else
116181 # include <assert.h>
116182 #endif
116184 #undef $ac_func
116186 /* Override any gcc2 internal prototype to avoid an error. */
116187 #ifdef __cplusplus
116188 extern "C"
116190 #endif
116191 /* We use char because int might match the return type of a gcc2
116192 builtin and then its argument prototype would still apply. */
116193 char $ac_func ();
116194 /* The GNU C library defines this for functions which it implements
116195 to always fail with ENOSYS. Some functions are actually named
116196 something starting with __ and the normal name is an alias. */
116197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116198 choke me
116199 #else
116200 char (*f) () = $ac_func;
116201 #endif
116202 #ifdef __cplusplus
116204 #endif
116207 main ()
116209 return f != $ac_func;
116211 return 0;
116213 _ACEOF
116214 rm -f conftest.$ac_objext conftest$ac_exeext
116215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116216 (eval $ac_link) 2>conftest.er1
116217 ac_status=$?
116218 grep -v '^ *+' conftest.er1 >conftest.err
116219 rm -f conftest.er1
116220 cat conftest.err >&5
116221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116222 (exit $ac_status); } &&
116223 { ac_try='test -z "$ac_c_werror_flag"
116224 || test ! -s conftest.err'
116225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116226 (eval $ac_try) 2>&5
116227 ac_status=$?
116228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116229 (exit $ac_status); }; } &&
116230 { ac_try='test -s conftest$ac_exeext'
116231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116232 (eval $ac_try) 2>&5
116233 ac_status=$?
116234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116235 (exit $ac_status); }; }; then
116236 eval "$as_ac_var=yes"
116238 echo "$as_me: failed program was:" >&5
116239 sed 's/^/| /' conftest.$ac_ext >&5
116241 eval "$as_ac_var=no"
116243 rm -f conftest.err conftest.$ac_objext \
116244 conftest$ac_exeext conftest.$ac_ext
116246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116248 if test `eval echo '${'$as_ac_var'}'` = yes; then
116249 cat >>confdefs.h <<_ACEOF
116250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116251 _ACEOF
116254 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
116260 # Used in libmath/Makefile.am.
116261 if test -n "$LIBMATHOBJS"; then
116262 need_libmath=yes
116266 cat >>confdefs.h <<\_ACEOF
116267 #define HAVE_COPYSIGN 1
116268 _ACEOF
116270 cat >>confdefs.h <<\_ACEOF
116271 #define HAVE_COPYSIGNF 1
116272 _ACEOF
116274 cat >>confdefs.h <<\_ACEOF
116275 #define HAVE_FINITE 1
116276 _ACEOF
116278 cat >>confdefs.h <<\_ACEOF
116279 #define HAVE_FINITEF 1
116280 _ACEOF
116282 cat >>confdefs.h <<\_ACEOF
116283 #define HAVE_FREXPF 1
116284 _ACEOF
116286 cat >>confdefs.h <<\_ACEOF
116287 #define HAVE_HYPOTF 1
116288 _ACEOF
116290 cat >>confdefs.h <<\_ACEOF
116291 #define HAVE_ISINF 1
116292 _ACEOF
116294 cat >>confdefs.h <<\_ACEOF
116295 #define HAVE_ISINFF 1
116296 _ACEOF
116298 cat >>confdefs.h <<\_ACEOF
116299 #define HAVE_ISNAN 1
116300 _ACEOF
116302 cat >>confdefs.h <<\_ACEOF
116303 #define HAVE_ISNANF 1
116304 _ACEOF
116306 cat >>confdefs.h <<\_ACEOF
116307 #define HAVE_SINCOS 1
116308 _ACEOF
116310 cat >>confdefs.h <<\_ACEOF
116311 #define HAVE_SINCOSF 1
116312 _ACEOF
116314 if test x"long_double_math_on_this_cpu" = x"yes"; then
116315 cat >>confdefs.h <<\_ACEOF
116316 #define HAVE_FINITEL 1
116317 _ACEOF
116319 cat >>confdefs.h <<\_ACEOF
116320 #define HAVE_HYPOTL 1
116321 _ACEOF
116323 cat >>confdefs.h <<\_ACEOF
116324 #define HAVE_ISINFL 1
116325 _ACEOF
116327 cat >>confdefs.h <<\_ACEOF
116328 #define HAVE_ISNANL 1
116329 _ACEOF
116333 *-vxworks)
116334 cat >>confdefs.h <<\_ACEOF
116335 #define HAVE_MMAP 1
116336 _ACEOF
116338 cat >>confdefs.h <<\_ACEOF
116339 #define HAVE_ACOSF 1
116340 _ACEOF
116342 cat >>confdefs.h <<\_ACEOF
116343 #define HAVE_ASINF 1
116344 _ACEOF
116346 cat >>confdefs.h <<\_ACEOF
116347 #define HAVE_ATAN2F 1
116348 _ACEOF
116350 cat >>confdefs.h <<\_ACEOF
116351 #define HAVE_ATANF 1
116352 _ACEOF
116354 cat >>confdefs.h <<\_ACEOF
116355 #define HAVE_CEILF 1
116356 _ACEOF
116358 cat >>confdefs.h <<\_ACEOF
116359 #define HAVE_COSF 1
116360 _ACEOF
116362 cat >>confdefs.h <<\_ACEOF
116363 #define HAVE_COSHF 1
116364 _ACEOF
116366 cat >>confdefs.h <<\_ACEOF
116367 #define HAVE_EXPF 1
116368 _ACEOF
116370 cat >>confdefs.h <<\_ACEOF
116371 #define HAVE_FABSF 1
116372 _ACEOF
116374 cat >>confdefs.h <<\_ACEOF
116375 #define HAVE_FLOORF 1
116376 _ACEOF
116378 cat >>confdefs.h <<\_ACEOF
116379 #define HAVE_FMODF 1
116380 _ACEOF
116382 cat >>confdefs.h <<\_ACEOF
116383 #define HAVE_HYPOT 1
116384 _ACEOF
116386 cat >>confdefs.h <<\_ACEOF
116387 #define HAVE_LOG10F 1
116388 _ACEOF
116390 cat >>confdefs.h <<\_ACEOF
116391 #define HAVE_LOGF 1
116392 _ACEOF
116394 cat >>confdefs.h <<\_ACEOF
116395 #define HAVE_POWF 1
116396 _ACEOF
116398 cat >>confdefs.h <<\_ACEOF
116399 #define HAVE_SINF 1
116400 _ACEOF
116402 cat >>confdefs.h <<\_ACEOF
116403 #define HAVE_SINHF 1
116404 _ACEOF
116406 cat >>confdefs.h <<\_ACEOF
116407 #define HAVE_SQRTF 1
116408 _ACEOF
116410 cat >>confdefs.h <<\_ACEOF
116411 #define HAVE_TANF 1
116412 _ACEOF
116414 cat >>confdefs.h <<\_ACEOF
116415 #define HAVE_TANHF 1
116416 _ACEOF
116420 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
116421 echo "$as_me: error: No support for this host/target combination." >&2;}
116422 { (exit 1); exit 1; }; }
116428 # At some point, we should differentiate between architectures
116429 # like x86, which have long double versions, and alpha/powerpc/etc.,
116430 # which don't. For the time being, punt.
116431 if test x"long_double_math_on_this_cpu" = x"yes"; then
116432 cat >>confdefs.h <<\_ACEOF
116433 #define HAVE_ACOSL 1
116434 _ACEOF
116436 cat >>confdefs.h <<\_ACEOF
116437 #define HAVE_ASINL 1
116438 _ACEOF
116440 cat >>confdefs.h <<\_ACEOF
116441 #define HAVE_ATAN2L 1
116442 _ACEOF
116444 cat >>confdefs.h <<\_ACEOF
116445 #define HAVE_ATANL 1
116446 _ACEOF
116448 cat >>confdefs.h <<\_ACEOF
116449 #define HAVE_CEILL 1
116450 _ACEOF
116452 cat >>confdefs.h <<\_ACEOF
116453 #define HAVE_COPYSIGNL 1
116454 _ACEOF
116456 cat >>confdefs.h <<\_ACEOF
116457 #define HAVE_COSL 1
116458 _ACEOF
116460 cat >>confdefs.h <<\_ACEOF
116461 #define HAVE_COSHL 1
116462 _ACEOF
116464 cat >>confdefs.h <<\_ACEOF
116465 #define HAVE_EXPL 1
116466 _ACEOF
116468 cat >>confdefs.h <<\_ACEOF
116469 #define HAVE_FABSL 1
116470 _ACEOF
116472 cat >>confdefs.h <<\_ACEOF
116473 #define HAVE_FLOORL 1
116474 _ACEOF
116476 cat >>confdefs.h <<\_ACEOF
116477 #define HAVE_FMODL 1
116478 _ACEOF
116480 cat >>confdefs.h <<\_ACEOF
116481 #define HAVE_FREXPL 1
116482 _ACEOF
116484 cat >>confdefs.h <<\_ACEOF
116485 #define HAVE_LDEXPL 1
116486 _ACEOF
116488 cat >>confdefs.h <<\_ACEOF
116489 #define HAVE_LOG10L 1
116490 _ACEOF
116492 cat >>confdefs.h <<\_ACEOF
116493 #define HAVE_LOGL 1
116494 _ACEOF
116496 cat >>confdefs.h <<\_ACEOF
116497 #define HAVE_MODFL 1
116498 _ACEOF
116500 cat >>confdefs.h <<\_ACEOF
116501 #define HAVE_POWL 1
116502 _ACEOF
116504 cat >>confdefs.h <<\_ACEOF
116505 #define HAVE_SINCOSL 1
116506 _ACEOF
116508 cat >>confdefs.h <<\_ACEOF
116509 #define HAVE_SINL 1
116510 _ACEOF
116512 cat >>confdefs.h <<\_ACEOF
116513 #define HAVE_SINHL 1
116514 _ACEOF
116516 cat >>confdefs.h <<\_ACEOF
116517 #define HAVE_SQRTL 1
116518 _ACEOF
116520 cat >>confdefs.h <<\_ACEOF
116521 #define HAVE_TANL 1
116522 _ACEOF
116524 cat >>confdefs.h <<\_ACEOF
116525 #define HAVE_TANHL 1
116526 _ACEOF
116530 # Assume we have _Unwind_GetIPInfo for cross-compiles.
116531 cat >>confdefs.h <<\_ACEOF
116532 #define HAVE_GETIPINFO 1
116533 _ACEOF
116537 # Check whether --enable-linux-futex or --disable-linux-futex was given.
116538 if test "${enable_linux_futex+set}" = set; then
116539 enableval="$enable_linux_futex"
116541 case "$enableval" in
116542 yes|no|default) ;;
116543 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
116544 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
116545 { (exit 1); exit 1; }; } ;;
116549 enable_linux_futex=default
116552 case "$target" in
116553 *-linux*)
116554 case "$enable_linux_futex" in
116555 default)
116556 # If headers don't have gettid/futex syscalls definition, then
116557 # default to no, otherwise there will be compile time failures.
116558 # Otherwise, default to yes. If we don't detect we are
116559 # compiled/linked against NPTL and not cross-compiling, check
116560 # if programs are run by default against NPTL and if not, issue
116561 # a warning.
116562 enable_linux_futex=no
116563 if test x$gcc_no_link = xyes; then
116564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116566 { (exit 1); exit 1; }; }
116568 cat >conftest.$ac_ext <<_ACEOF
116569 /* confdefs.h. */
116570 _ACEOF
116571 cat confdefs.h >>conftest.$ac_ext
116572 cat >>conftest.$ac_ext <<_ACEOF
116573 /* end confdefs.h. */
116574 #include <sys/syscall.h>
116575 int lk;
116577 main ()
116579 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116581 return 0;
116583 _ACEOF
116584 rm -f conftest.$ac_objext conftest$ac_exeext
116585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116586 (eval $ac_link) 2>conftest.er1
116587 ac_status=$?
116588 grep -v '^ *+' conftest.er1 >conftest.err
116589 rm -f conftest.er1
116590 cat conftest.err >&5
116591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116592 (exit $ac_status); } &&
116593 { ac_try='test -z "$ac_c_werror_flag"
116594 || test ! -s conftest.err'
116595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116596 (eval $ac_try) 2>&5
116597 ac_status=$?
116598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116599 (exit $ac_status); }; } &&
116600 { ac_try='test -s conftest$ac_exeext'
116601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116602 (eval $ac_try) 2>&5
116603 ac_status=$?
116604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116605 (exit $ac_status); }; }; then
116606 save_LIBS="$LIBS"
116607 LIBS="-lpthread $LIBS"
116608 if test x$gcc_no_link = xyes; then
116609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116611 { (exit 1); exit 1; }; }
116613 cat >conftest.$ac_ext <<_ACEOF
116614 /* confdefs.h. */
116615 _ACEOF
116616 cat confdefs.h >>conftest.$ac_ext
116617 cat >>conftest.$ac_ext <<_ACEOF
116618 /* end confdefs.h. */
116619 #ifndef _GNU_SOURCE
116620 #define _GNU_SOURCE 1
116621 #endif
116622 #include <pthread.h>
116623 pthread_t th; void *status;
116625 main ()
116627 pthread_tryjoin_np (th, &status);
116629 return 0;
116631 _ACEOF
116632 rm -f conftest.$ac_objext conftest$ac_exeext
116633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116634 (eval $ac_link) 2>conftest.er1
116635 ac_status=$?
116636 grep -v '^ *+' conftest.er1 >conftest.err
116637 rm -f conftest.er1
116638 cat conftest.err >&5
116639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116640 (exit $ac_status); } &&
116641 { ac_try='test -z "$ac_c_werror_flag"
116642 || test ! -s conftest.err'
116643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116644 (eval $ac_try) 2>&5
116645 ac_status=$?
116646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116647 (exit $ac_status); }; } &&
116648 { ac_try='test -s conftest$ac_exeext'
116649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116650 (eval $ac_try) 2>&5
116651 ac_status=$?
116652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116653 (exit $ac_status); }; }; then
116654 enable_linux_futex=yes
116656 echo "$as_me: failed program was:" >&5
116657 sed 's/^/| /' conftest.$ac_ext >&5
116659 if test x$cross_compiling = xno; then
116660 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
116661 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
116662 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
116663 If so, please configure with --disable-linux-futex" >&5
116664 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
116665 If so, please configure with --disable-linux-futex" >&2;}
116668 enable_linux_futex=yes
116670 rm -f conftest.err conftest.$ac_objext \
116671 conftest$ac_exeext conftest.$ac_ext
116672 LIBS="$save_LIBS"
116674 echo "$as_me: failed program was:" >&5
116675 sed 's/^/| /' conftest.$ac_ext >&5
116678 rm -f conftest.err conftest.$ac_objext \
116679 conftest$ac_exeext conftest.$ac_ext
116682 if test x$gcc_no_link = xyes; then
116683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116685 { (exit 1); exit 1; }; }
116687 cat >conftest.$ac_ext <<_ACEOF
116688 /* confdefs.h. */
116689 _ACEOF
116690 cat confdefs.h >>conftest.$ac_ext
116691 cat >>conftest.$ac_ext <<_ACEOF
116692 /* end confdefs.h. */
116693 #include <sys/syscall.h>
116694 int lk;
116696 main ()
116698 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116700 return 0;
116702 _ACEOF
116703 rm -f conftest.$ac_objext conftest$ac_exeext
116704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116705 (eval $ac_link) 2>conftest.er1
116706 ac_status=$?
116707 grep -v '^ *+' conftest.er1 >conftest.err
116708 rm -f conftest.er1
116709 cat conftest.err >&5
116710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116711 (exit $ac_status); } &&
116712 { ac_try='test -z "$ac_c_werror_flag"
116713 || test ! -s conftest.err'
116714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116715 (eval $ac_try) 2>&5
116716 ac_status=$?
116717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116718 (exit $ac_status); }; } &&
116719 { ac_try='test -s conftest$ac_exeext'
116720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116721 (eval $ac_try) 2>&5
116722 ac_status=$?
116723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116724 (exit $ac_status); }; }; then
116727 echo "$as_me: failed program was:" >&5
116728 sed 's/^/| /' conftest.$ac_ext >&5
116730 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
116731 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
116732 { (exit 1); exit 1; }; }
116734 rm -f conftest.err conftest.$ac_objext \
116735 conftest$ac_exeext conftest.$ac_ext
116740 enable_linux_futex=no
116743 if test x$enable_linux_futex = xyes; then
116745 cat >>confdefs.h <<\_ACEOF
116746 #define HAVE_LINUX_FUTEX 1
116747 _ACEOF
116754 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
116756 acx_cv_header_stdint=stddef.h
116757 acx_cv_header_stdint_kind="(already complete)"
116758 for i in stdint.h $inttype_headers; do
116759 unset ac_cv_type_uintptr_t
116760 unset ac_cv_type_uintmax_t
116761 unset ac_cv_type_int_least32_t
116762 unset ac_cv_type_int_fast32_t
116763 unset ac_cv_type_uint64_t
116764 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
116765 echo "$as_me:$LINENO: checking for uintmax_t" >&5
116766 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
116767 if test "${ac_cv_type_uintmax_t+set}" = set; then
116768 echo $ECHO_N "(cached) $ECHO_C" >&6
116770 cat >conftest.$ac_ext <<_ACEOF
116771 /* confdefs.h. */
116772 _ACEOF
116773 cat confdefs.h >>conftest.$ac_ext
116774 cat >>conftest.$ac_ext <<_ACEOF
116775 /* end confdefs.h. */
116776 #include <sys/types.h>
116777 #include <$i>
116780 main ()
116782 if ((uintmax_t *) 0)
116783 return 0;
116784 if (sizeof (uintmax_t))
116785 return 0;
116787 return 0;
116789 _ACEOF
116790 rm -f conftest.$ac_objext
116791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116792 (eval $ac_compile) 2>conftest.er1
116793 ac_status=$?
116794 grep -v '^ *+' conftest.er1 >conftest.err
116795 rm -f conftest.er1
116796 cat conftest.err >&5
116797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116798 (exit $ac_status); } &&
116799 { ac_try='test -z "$ac_c_werror_flag"
116800 || test ! -s conftest.err'
116801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116802 (eval $ac_try) 2>&5
116803 ac_status=$?
116804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116805 (exit $ac_status); }; } &&
116806 { ac_try='test -s conftest.$ac_objext'
116807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116808 (eval $ac_try) 2>&5
116809 ac_status=$?
116810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116811 (exit $ac_status); }; }; then
116812 ac_cv_type_uintmax_t=yes
116814 echo "$as_me: failed program was:" >&5
116815 sed 's/^/| /' conftest.$ac_ext >&5
116817 ac_cv_type_uintmax_t=no
116819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116821 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
116822 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
116823 if test $ac_cv_type_uintmax_t = yes; then
116824 acx_cv_header_stdint=$i
116826 continue
116829 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116830 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116831 if test "${ac_cv_type_uintptr_t+set}" = set; then
116832 echo $ECHO_N "(cached) $ECHO_C" >&6
116834 cat >conftest.$ac_ext <<_ACEOF
116835 /* confdefs.h. */
116836 _ACEOF
116837 cat confdefs.h >>conftest.$ac_ext
116838 cat >>conftest.$ac_ext <<_ACEOF
116839 /* end confdefs.h. */
116840 #include <sys/types.h>
116841 #include <$i>
116844 main ()
116846 if ((uintptr_t *) 0)
116847 return 0;
116848 if (sizeof (uintptr_t))
116849 return 0;
116851 return 0;
116853 _ACEOF
116854 rm -f conftest.$ac_objext
116855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116856 (eval $ac_compile) 2>conftest.er1
116857 ac_status=$?
116858 grep -v '^ *+' conftest.er1 >conftest.err
116859 rm -f conftest.er1
116860 cat conftest.err >&5
116861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116862 (exit $ac_status); } &&
116863 { ac_try='test -z "$ac_c_werror_flag"
116864 || test ! -s conftest.err'
116865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116866 (eval $ac_try) 2>&5
116867 ac_status=$?
116868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116869 (exit $ac_status); }; } &&
116870 { ac_try='test -s conftest.$ac_objext'
116871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116872 (eval $ac_try) 2>&5
116873 ac_status=$?
116874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116875 (exit $ac_status); }; }; then
116876 ac_cv_type_uintptr_t=yes
116878 echo "$as_me: failed program was:" >&5
116879 sed 's/^/| /' conftest.$ac_ext >&5
116881 ac_cv_type_uintptr_t=no
116883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116885 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116886 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116887 if test $ac_cv_type_uintptr_t = yes; then
116890 acx_cv_header_stdint_kind="(mostly complete)"
116893 echo "$as_me:$LINENO: checking for int_least32_t" >&5
116894 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116895 if test "${ac_cv_type_int_least32_t+set}" = set; then
116896 echo $ECHO_N "(cached) $ECHO_C" >&6
116898 cat >conftest.$ac_ext <<_ACEOF
116899 /* confdefs.h. */
116900 _ACEOF
116901 cat confdefs.h >>conftest.$ac_ext
116902 cat >>conftest.$ac_ext <<_ACEOF
116903 /* end confdefs.h. */
116904 #include <sys/types.h>
116905 #include <$i>
116908 main ()
116910 if ((int_least32_t *) 0)
116911 return 0;
116912 if (sizeof (int_least32_t))
116913 return 0;
116915 return 0;
116917 _ACEOF
116918 rm -f conftest.$ac_objext
116919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116920 (eval $ac_compile) 2>conftest.er1
116921 ac_status=$?
116922 grep -v '^ *+' conftest.er1 >conftest.err
116923 rm -f conftest.er1
116924 cat conftest.err >&5
116925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116926 (exit $ac_status); } &&
116927 { ac_try='test -z "$ac_c_werror_flag"
116928 || test ! -s conftest.err'
116929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116930 (eval $ac_try) 2>&5
116931 ac_status=$?
116932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116933 (exit $ac_status); }; } &&
116934 { ac_try='test -s conftest.$ac_objext'
116935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116936 (eval $ac_try) 2>&5
116937 ac_status=$?
116938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116939 (exit $ac_status); }; }; then
116940 ac_cv_type_int_least32_t=yes
116942 echo "$as_me: failed program was:" >&5
116943 sed 's/^/| /' conftest.$ac_ext >&5
116945 ac_cv_type_int_least32_t=no
116947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116949 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116950 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116951 if test $ac_cv_type_int_least32_t = yes; then
116954 acx_cv_header_stdint_kind="(mostly complete)"
116957 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116958 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116959 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116960 echo $ECHO_N "(cached) $ECHO_C" >&6
116962 cat >conftest.$ac_ext <<_ACEOF
116963 /* confdefs.h. */
116964 _ACEOF
116965 cat confdefs.h >>conftest.$ac_ext
116966 cat >>conftest.$ac_ext <<_ACEOF
116967 /* end confdefs.h. */
116968 #include <sys/types.h>
116969 #include <$i>
116972 main ()
116974 if ((int_fast32_t *) 0)
116975 return 0;
116976 if (sizeof (int_fast32_t))
116977 return 0;
116979 return 0;
116981 _ACEOF
116982 rm -f conftest.$ac_objext
116983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116984 (eval $ac_compile) 2>conftest.er1
116985 ac_status=$?
116986 grep -v '^ *+' conftest.er1 >conftest.err
116987 rm -f conftest.er1
116988 cat conftest.err >&5
116989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116990 (exit $ac_status); } &&
116991 { ac_try='test -z "$ac_c_werror_flag"
116992 || test ! -s conftest.err'
116993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116994 (eval $ac_try) 2>&5
116995 ac_status=$?
116996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116997 (exit $ac_status); }; } &&
116998 { ac_try='test -s conftest.$ac_objext'
116999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117000 (eval $ac_try) 2>&5
117001 ac_status=$?
117002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117003 (exit $ac_status); }; }; then
117004 ac_cv_type_int_fast32_t=yes
117006 echo "$as_me: failed program was:" >&5
117007 sed 's/^/| /' conftest.$ac_ext >&5
117009 ac_cv_type_int_fast32_t=no
117011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117013 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
117014 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
117015 if test $ac_cv_type_int_fast32_t = yes; then
117018 acx_cv_header_stdint_kind="(mostly complete)"
117021 echo "$as_me:$LINENO: checking for uint64_t" >&5
117022 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117023 if test "${ac_cv_type_uint64_t+set}" = set; then
117024 echo $ECHO_N "(cached) $ECHO_C" >&6
117026 cat >conftest.$ac_ext <<_ACEOF
117027 /* confdefs.h. */
117028 _ACEOF
117029 cat confdefs.h >>conftest.$ac_ext
117030 cat >>conftest.$ac_ext <<_ACEOF
117031 /* end confdefs.h. */
117032 #include <sys/types.h>
117033 #include <$i>
117036 main ()
117038 if ((uint64_t *) 0)
117039 return 0;
117040 if (sizeof (uint64_t))
117041 return 0;
117043 return 0;
117045 _ACEOF
117046 rm -f conftest.$ac_objext
117047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117048 (eval $ac_compile) 2>conftest.er1
117049 ac_status=$?
117050 grep -v '^ *+' conftest.er1 >conftest.err
117051 rm -f conftest.er1
117052 cat conftest.err >&5
117053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117054 (exit $ac_status); } &&
117055 { ac_try='test -z "$ac_c_werror_flag"
117056 || test ! -s conftest.err'
117057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117058 (eval $ac_try) 2>&5
117059 ac_status=$?
117060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117061 (exit $ac_status); }; } &&
117062 { ac_try='test -s conftest.$ac_objext'
117063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117064 (eval $ac_try) 2>&5
117065 ac_status=$?
117066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117067 (exit $ac_status); }; }; then
117068 ac_cv_type_uint64_t=yes
117070 echo "$as_me: failed program was:" >&5
117071 sed 's/^/| /' conftest.$ac_ext >&5
117073 ac_cv_type_uint64_t=no
117075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117077 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117078 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117079 if test $ac_cv_type_uint64_t = yes; then
117082 acx_cv_header_stdint_kind="(lacks uint64_t)"
117085 break
117087 if test "$acx_cv_header_stdint" = stddef.h; then
117088 acx_cv_header_stdint_kind="(lacks uintmax_t)"
117089 for i in stdint.h $inttype_headers; do
117090 unset ac_cv_type_uintptr_t
117091 unset ac_cv_type_uint32_t
117092 unset ac_cv_type_uint64_t
117093 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
117094 echo "$as_me:$LINENO: checking for uint32_t" >&5
117095 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
117096 if test "${ac_cv_type_uint32_t+set}" = set; then
117097 echo $ECHO_N "(cached) $ECHO_C" >&6
117099 cat >conftest.$ac_ext <<_ACEOF
117100 /* confdefs.h. */
117101 _ACEOF
117102 cat confdefs.h >>conftest.$ac_ext
117103 cat >>conftest.$ac_ext <<_ACEOF
117104 /* end confdefs.h. */
117105 #include <sys/types.h>
117106 #include <$i>
117109 main ()
117111 if ((uint32_t *) 0)
117112 return 0;
117113 if (sizeof (uint32_t))
117114 return 0;
117116 return 0;
117118 _ACEOF
117119 rm -f conftest.$ac_objext
117120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117121 (eval $ac_compile) 2>conftest.er1
117122 ac_status=$?
117123 grep -v '^ *+' conftest.er1 >conftest.err
117124 rm -f conftest.er1
117125 cat conftest.err >&5
117126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117127 (exit $ac_status); } &&
117128 { ac_try='test -z "$ac_c_werror_flag"
117129 || test ! -s conftest.err'
117130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117131 (eval $ac_try) 2>&5
117132 ac_status=$?
117133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117134 (exit $ac_status); }; } &&
117135 { ac_try='test -s conftest.$ac_objext'
117136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117137 (eval $ac_try) 2>&5
117138 ac_status=$?
117139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117140 (exit $ac_status); }; }; then
117141 ac_cv_type_uint32_t=yes
117143 echo "$as_me: failed program was:" >&5
117144 sed 's/^/| /' conftest.$ac_ext >&5
117146 ac_cv_type_uint32_t=no
117148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117150 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
117151 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
117152 if test $ac_cv_type_uint32_t = yes; then
117153 acx_cv_header_stdint=$i
117155 continue
117158 echo "$as_me:$LINENO: checking for uint64_t" >&5
117159 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117160 if test "${ac_cv_type_uint64_t+set}" = set; then
117161 echo $ECHO_N "(cached) $ECHO_C" >&6
117163 cat >conftest.$ac_ext <<_ACEOF
117164 /* confdefs.h. */
117165 _ACEOF
117166 cat confdefs.h >>conftest.$ac_ext
117167 cat >>conftest.$ac_ext <<_ACEOF
117168 /* end confdefs.h. */
117169 #include <sys/types.h>
117170 #include <$i>
117173 main ()
117175 if ((uint64_t *) 0)
117176 return 0;
117177 if (sizeof (uint64_t))
117178 return 0;
117180 return 0;
117182 _ACEOF
117183 rm -f conftest.$ac_objext
117184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117185 (eval $ac_compile) 2>conftest.er1
117186 ac_status=$?
117187 grep -v '^ *+' conftest.er1 >conftest.err
117188 rm -f conftest.er1
117189 cat conftest.err >&5
117190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117191 (exit $ac_status); } &&
117192 { ac_try='test -z "$ac_c_werror_flag"
117193 || test ! -s conftest.err'
117194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117195 (eval $ac_try) 2>&5
117196 ac_status=$?
117197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117198 (exit $ac_status); }; } &&
117199 { ac_try='test -s conftest.$ac_objext'
117200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117201 (eval $ac_try) 2>&5
117202 ac_status=$?
117203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117204 (exit $ac_status); }; }; then
117205 ac_cv_type_uint64_t=yes
117207 echo "$as_me: failed program was:" >&5
117208 sed 's/^/| /' conftest.$ac_ext >&5
117210 ac_cv_type_uint64_t=no
117212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117214 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117215 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117217 echo "$as_me:$LINENO: checking for uintptr_t" >&5
117218 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
117219 if test "${ac_cv_type_uintptr_t+set}" = set; then
117220 echo $ECHO_N "(cached) $ECHO_C" >&6
117222 cat >conftest.$ac_ext <<_ACEOF
117223 /* confdefs.h. */
117224 _ACEOF
117225 cat confdefs.h >>conftest.$ac_ext
117226 cat >>conftest.$ac_ext <<_ACEOF
117227 /* end confdefs.h. */
117228 #include <sys/types.h>
117229 #include <$i>
117232 main ()
117234 if ((uintptr_t *) 0)
117235 return 0;
117236 if (sizeof (uintptr_t))
117237 return 0;
117239 return 0;
117241 _ACEOF
117242 rm -f conftest.$ac_objext
117243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117244 (eval $ac_compile) 2>conftest.er1
117245 ac_status=$?
117246 grep -v '^ *+' conftest.er1 >conftest.err
117247 rm -f conftest.er1
117248 cat conftest.err >&5
117249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117250 (exit $ac_status); } &&
117251 { ac_try='test -z "$ac_c_werror_flag"
117252 || test ! -s conftest.err'
117253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117254 (eval $ac_try) 2>&5
117255 ac_status=$?
117256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117257 (exit $ac_status); }; } &&
117258 { ac_try='test -s conftest.$ac_objext'
117259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117260 (eval $ac_try) 2>&5
117261 ac_status=$?
117262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117263 (exit $ac_status); }; }; then
117264 ac_cv_type_uintptr_t=yes
117266 echo "$as_me: failed program was:" >&5
117267 sed 's/^/| /' conftest.$ac_ext >&5
117269 ac_cv_type_uintptr_t=no
117271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117273 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
117274 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
117276 break
117279 if test "$acx_cv_header_stdint" = stddef.h; then
117280 acx_cv_header_stdint_kind="(u_intXX_t style)"
117281 for i in sys/types.h $inttype_headers; do
117282 unset ac_cv_type_u_int32_t
117283 unset ac_cv_type_u_int64_t
117284 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
117285 echo "$as_me:$LINENO: checking for u_int32_t" >&5
117286 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
117287 if test "${ac_cv_type_u_int32_t+set}" = set; then
117288 echo $ECHO_N "(cached) $ECHO_C" >&6
117290 cat >conftest.$ac_ext <<_ACEOF
117291 /* confdefs.h. */
117292 _ACEOF
117293 cat confdefs.h >>conftest.$ac_ext
117294 cat >>conftest.$ac_ext <<_ACEOF
117295 /* end confdefs.h. */
117296 #include <sys/types.h>
117297 #include <$i>
117300 main ()
117302 if ((u_int32_t *) 0)
117303 return 0;
117304 if (sizeof (u_int32_t))
117305 return 0;
117307 return 0;
117309 _ACEOF
117310 rm -f conftest.$ac_objext
117311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117312 (eval $ac_compile) 2>conftest.er1
117313 ac_status=$?
117314 grep -v '^ *+' conftest.er1 >conftest.err
117315 rm -f conftest.er1
117316 cat conftest.err >&5
117317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117318 (exit $ac_status); } &&
117319 { ac_try='test -z "$ac_c_werror_flag"
117320 || test ! -s conftest.err'
117321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117322 (eval $ac_try) 2>&5
117323 ac_status=$?
117324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117325 (exit $ac_status); }; } &&
117326 { ac_try='test -s conftest.$ac_objext'
117327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117328 (eval $ac_try) 2>&5
117329 ac_status=$?
117330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117331 (exit $ac_status); }; }; then
117332 ac_cv_type_u_int32_t=yes
117334 echo "$as_me: failed program was:" >&5
117335 sed 's/^/| /' conftest.$ac_ext >&5
117337 ac_cv_type_u_int32_t=no
117339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117341 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
117342 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
117343 if test $ac_cv_type_u_int32_t = yes; then
117344 acx_cv_header_stdint=$i
117346 continue
117349 echo "$as_me:$LINENO: checking for u_int64_t" >&5
117350 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
117351 if test "${ac_cv_type_u_int64_t+set}" = set; then
117352 echo $ECHO_N "(cached) $ECHO_C" >&6
117354 cat >conftest.$ac_ext <<_ACEOF
117355 /* confdefs.h. */
117356 _ACEOF
117357 cat confdefs.h >>conftest.$ac_ext
117358 cat >>conftest.$ac_ext <<_ACEOF
117359 /* end confdefs.h. */
117360 #include <sys/types.h>
117361 #include <$i>
117364 main ()
117366 if ((u_int64_t *) 0)
117367 return 0;
117368 if (sizeof (u_int64_t))
117369 return 0;
117371 return 0;
117373 _ACEOF
117374 rm -f conftest.$ac_objext
117375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117376 (eval $ac_compile) 2>conftest.er1
117377 ac_status=$?
117378 grep -v '^ *+' conftest.er1 >conftest.err
117379 rm -f conftest.er1
117380 cat conftest.err >&5
117381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117382 (exit $ac_status); } &&
117383 { ac_try='test -z "$ac_c_werror_flag"
117384 || test ! -s conftest.err'
117385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117386 (eval $ac_try) 2>&5
117387 ac_status=$?
117388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117389 (exit $ac_status); }; } &&
117390 { ac_try='test -s conftest.$ac_objext'
117391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117392 (eval $ac_try) 2>&5
117393 ac_status=$?
117394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117395 (exit $ac_status); }; }; then
117396 ac_cv_type_u_int64_t=yes
117398 echo "$as_me: failed program was:" >&5
117399 sed 's/^/| /' conftest.$ac_ext >&5
117401 ac_cv_type_u_int64_t=no
117403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117405 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
117406 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
117408 break
117411 if test "$acx_cv_header_stdint" = stddef.h; then
117412 acx_cv_header_stdint_kind="(using manual detection)"
117415 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
117416 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
117417 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
117418 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
117419 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
117421 # ----------------- Summarize what we found so far
117423 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
117424 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
117426 case `$as_basename include/gstdint.h ||
117427 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
117428 Xinclude/gstdint.h : 'X\(//\)$' \| \
117429 Xinclude/gstdint.h : 'X\(/\)$' \| \
117430 . : '\(.\)' 2>/dev/null ||
117431 echo X/include/gstdint.h |
117432 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117433 /^X\/\(\/\/\)$/{ s//\1/; q; }
117434 /^X\/\(\/\).*/{ s//\1/; q; }
117435 s/.*/./; q'` in
117436 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117437 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117438 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117439 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117440 *) ;;
117443 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
117444 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
117446 # ----------------- done included file, check C basic types --------
117448 # Lacking an uintptr_t? Test size of void *
117449 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
117450 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
117451 echo $ECHO_N "checking for void *... $ECHO_C" >&6
117452 if test "${ac_cv_type_void_p+set}" = set; then
117453 echo $ECHO_N "(cached) $ECHO_C" >&6
117455 cat >conftest.$ac_ext <<_ACEOF
117456 /* confdefs.h. */
117457 _ACEOF
117458 cat confdefs.h >>conftest.$ac_ext
117459 cat >>conftest.$ac_ext <<_ACEOF
117460 /* end confdefs.h. */
117461 $ac_includes_default
117463 main ()
117465 if ((void * *) 0)
117466 return 0;
117467 if (sizeof (void *))
117468 return 0;
117470 return 0;
117472 _ACEOF
117473 rm -f conftest.$ac_objext
117474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117475 (eval $ac_compile) 2>conftest.er1
117476 ac_status=$?
117477 grep -v '^ *+' conftest.er1 >conftest.err
117478 rm -f conftest.er1
117479 cat conftest.err >&5
117480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117481 (exit $ac_status); } &&
117482 { ac_try='test -z "$ac_c_werror_flag"
117483 || test ! -s conftest.err'
117484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117485 (eval $ac_try) 2>&5
117486 ac_status=$?
117487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117488 (exit $ac_status); }; } &&
117489 { ac_try='test -s conftest.$ac_objext'
117490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117491 (eval $ac_try) 2>&5
117492 ac_status=$?
117493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117494 (exit $ac_status); }; }; then
117495 ac_cv_type_void_p=yes
117497 echo "$as_me: failed program was:" >&5
117498 sed 's/^/| /' conftest.$ac_ext >&5
117500 ac_cv_type_void_p=no
117502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117504 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
117505 echo "${ECHO_T}$ac_cv_type_void_p" >&6
117507 echo "$as_me:$LINENO: checking size of void *" >&5
117508 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
117509 if test "${ac_cv_sizeof_void_p+set}" = set; then
117510 echo $ECHO_N "(cached) $ECHO_C" >&6
117512 if test "$ac_cv_type_void_p" = yes; then
117513 # The cast to unsigned long works around a bug in the HP C Compiler
117514 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117515 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117516 # This bug is HP SR number 8606223364.
117517 if test "$cross_compiling" = yes; then
117518 # Depending upon the size, compute the lo and hi bounds.
117519 cat >conftest.$ac_ext <<_ACEOF
117520 /* confdefs.h. */
117521 _ACEOF
117522 cat confdefs.h >>conftest.$ac_ext
117523 cat >>conftest.$ac_ext <<_ACEOF
117524 /* end confdefs.h. */
117525 $ac_includes_default
117527 main ()
117529 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
117530 test_array [0] = 0
117533 return 0;
117535 _ACEOF
117536 rm -f conftest.$ac_objext
117537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117538 (eval $ac_compile) 2>conftest.er1
117539 ac_status=$?
117540 grep -v '^ *+' conftest.er1 >conftest.err
117541 rm -f conftest.er1
117542 cat conftest.err >&5
117543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117544 (exit $ac_status); } &&
117545 { ac_try='test -z "$ac_c_werror_flag"
117546 || test ! -s conftest.err'
117547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117548 (eval $ac_try) 2>&5
117549 ac_status=$?
117550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117551 (exit $ac_status); }; } &&
117552 { ac_try='test -s conftest.$ac_objext'
117553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117554 (eval $ac_try) 2>&5
117555 ac_status=$?
117556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117557 (exit $ac_status); }; }; then
117558 ac_lo=0 ac_mid=0
117559 while :; do
117560 cat >conftest.$ac_ext <<_ACEOF
117561 /* confdefs.h. */
117562 _ACEOF
117563 cat confdefs.h >>conftest.$ac_ext
117564 cat >>conftest.$ac_ext <<_ACEOF
117565 /* end confdefs.h. */
117566 $ac_includes_default
117568 main ()
117570 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117571 test_array [0] = 0
117574 return 0;
117576 _ACEOF
117577 rm -f conftest.$ac_objext
117578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117579 (eval $ac_compile) 2>conftest.er1
117580 ac_status=$?
117581 grep -v '^ *+' conftest.er1 >conftest.err
117582 rm -f conftest.er1
117583 cat conftest.err >&5
117584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117585 (exit $ac_status); } &&
117586 { ac_try='test -z "$ac_c_werror_flag"
117587 || test ! -s conftest.err'
117588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117589 (eval $ac_try) 2>&5
117590 ac_status=$?
117591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117592 (exit $ac_status); }; } &&
117593 { ac_try='test -s conftest.$ac_objext'
117594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117595 (eval $ac_try) 2>&5
117596 ac_status=$?
117597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117598 (exit $ac_status); }; }; then
117599 ac_hi=$ac_mid; break
117601 echo "$as_me: failed program was:" >&5
117602 sed 's/^/| /' conftest.$ac_ext >&5
117604 ac_lo=`expr $ac_mid + 1`
117605 if test $ac_lo -le $ac_mid; then
117606 ac_lo= ac_hi=
117607 break
117609 ac_mid=`expr 2 '*' $ac_mid + 1`
117611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117614 echo "$as_me: failed program was:" >&5
117615 sed 's/^/| /' conftest.$ac_ext >&5
117617 cat >conftest.$ac_ext <<_ACEOF
117618 /* confdefs.h. */
117619 _ACEOF
117620 cat confdefs.h >>conftest.$ac_ext
117621 cat >>conftest.$ac_ext <<_ACEOF
117622 /* end confdefs.h. */
117623 $ac_includes_default
117625 main ()
117627 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
117628 test_array [0] = 0
117631 return 0;
117633 _ACEOF
117634 rm -f conftest.$ac_objext
117635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117636 (eval $ac_compile) 2>conftest.er1
117637 ac_status=$?
117638 grep -v '^ *+' conftest.er1 >conftest.err
117639 rm -f conftest.er1
117640 cat conftest.err >&5
117641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117642 (exit $ac_status); } &&
117643 { ac_try='test -z "$ac_c_werror_flag"
117644 || test ! -s conftest.err'
117645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117646 (eval $ac_try) 2>&5
117647 ac_status=$?
117648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117649 (exit $ac_status); }; } &&
117650 { ac_try='test -s conftest.$ac_objext'
117651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117652 (eval $ac_try) 2>&5
117653 ac_status=$?
117654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117655 (exit $ac_status); }; }; then
117656 ac_hi=-1 ac_mid=-1
117657 while :; do
117658 cat >conftest.$ac_ext <<_ACEOF
117659 /* confdefs.h. */
117660 _ACEOF
117661 cat confdefs.h >>conftest.$ac_ext
117662 cat >>conftest.$ac_ext <<_ACEOF
117663 /* end confdefs.h. */
117664 $ac_includes_default
117666 main ()
117668 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
117669 test_array [0] = 0
117672 return 0;
117674 _ACEOF
117675 rm -f conftest.$ac_objext
117676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117677 (eval $ac_compile) 2>conftest.er1
117678 ac_status=$?
117679 grep -v '^ *+' conftest.er1 >conftest.err
117680 rm -f conftest.er1
117681 cat conftest.err >&5
117682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117683 (exit $ac_status); } &&
117684 { ac_try='test -z "$ac_c_werror_flag"
117685 || test ! -s conftest.err'
117686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117687 (eval $ac_try) 2>&5
117688 ac_status=$?
117689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117690 (exit $ac_status); }; } &&
117691 { ac_try='test -s conftest.$ac_objext'
117692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117693 (eval $ac_try) 2>&5
117694 ac_status=$?
117695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117696 (exit $ac_status); }; }; then
117697 ac_lo=$ac_mid; break
117699 echo "$as_me: failed program was:" >&5
117700 sed 's/^/| /' conftest.$ac_ext >&5
117702 ac_hi=`expr '(' $ac_mid ')' - 1`
117703 if test $ac_mid -le $ac_hi; then
117704 ac_lo= ac_hi=
117705 break
117707 ac_mid=`expr 2 '*' $ac_mid`
117709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117712 echo "$as_me: failed program was:" >&5
117713 sed 's/^/| /' conftest.$ac_ext >&5
117715 ac_lo= ac_hi=
117717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117720 # Binary search between lo and hi bounds.
117721 while test "x$ac_lo" != "x$ac_hi"; do
117722 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117723 cat >conftest.$ac_ext <<_ACEOF
117724 /* confdefs.h. */
117725 _ACEOF
117726 cat confdefs.h >>conftest.$ac_ext
117727 cat >>conftest.$ac_ext <<_ACEOF
117728 /* end confdefs.h. */
117729 $ac_includes_default
117731 main ()
117733 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117734 test_array [0] = 0
117737 return 0;
117739 _ACEOF
117740 rm -f conftest.$ac_objext
117741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117742 (eval $ac_compile) 2>conftest.er1
117743 ac_status=$?
117744 grep -v '^ *+' conftest.er1 >conftest.err
117745 rm -f conftest.er1
117746 cat conftest.err >&5
117747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117748 (exit $ac_status); } &&
117749 { ac_try='test -z "$ac_c_werror_flag"
117750 || test ! -s conftest.err'
117751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117752 (eval $ac_try) 2>&5
117753 ac_status=$?
117754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117755 (exit $ac_status); }; } &&
117756 { ac_try='test -s conftest.$ac_objext'
117757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117758 (eval $ac_try) 2>&5
117759 ac_status=$?
117760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117761 (exit $ac_status); }; }; then
117762 ac_hi=$ac_mid
117764 echo "$as_me: failed program was:" >&5
117765 sed 's/^/| /' conftest.$ac_ext >&5
117767 ac_lo=`expr '(' $ac_mid ')' + 1`
117769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117771 case $ac_lo in
117772 ?*) ac_cv_sizeof_void_p=$ac_lo;;
117773 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117774 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117775 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117776 See \`config.log' for more details." >&5
117777 echo "$as_me: error: cannot compute sizeof (void *), 77
117778 See \`config.log' for more details." >&2;}
117779 { (exit 1); exit 1; }; }; } ;;
117782 if test "$cross_compiling" = yes; then
117783 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117784 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117785 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117786 See \`config.log' for more details." >&5
117787 echo "$as_me: error: cannot run test program while cross compiling
117788 See \`config.log' for more details." >&2;}
117789 { (exit 1); exit 1; }; }; }
117791 cat >conftest.$ac_ext <<_ACEOF
117792 /* confdefs.h. */
117793 _ACEOF
117794 cat confdefs.h >>conftest.$ac_ext
117795 cat >>conftest.$ac_ext <<_ACEOF
117796 /* end confdefs.h. */
117797 $ac_includes_default
117798 long longval () { return (long) (sizeof (void *)); }
117799 unsigned long ulongval () { return (long) (sizeof (void *)); }
117800 #include <stdio.h>
117801 #include <stdlib.h>
117803 main ()
117806 FILE *f = fopen ("conftest.val", "w");
117807 if (! f)
117808 exit (1);
117809 if (((long) (sizeof (void *))) < 0)
117811 long i = longval ();
117812 if (i != ((long) (sizeof (void *))))
117813 exit (1);
117814 fprintf (f, "%ld\n", i);
117818 unsigned long i = ulongval ();
117819 if (i != ((long) (sizeof (void *))))
117820 exit (1);
117821 fprintf (f, "%lu\n", i);
117823 exit (ferror (f) || fclose (f) != 0);
117826 return 0;
117828 _ACEOF
117829 rm -f conftest$ac_exeext
117830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117831 (eval $ac_link) 2>&5
117832 ac_status=$?
117833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117836 (eval $ac_try) 2>&5
117837 ac_status=$?
117838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117839 (exit $ac_status); }; }; then
117840 ac_cv_sizeof_void_p=`cat conftest.val`
117842 echo "$as_me: program exited with status $ac_status" >&5
117843 echo "$as_me: failed program was:" >&5
117844 sed 's/^/| /' conftest.$ac_ext >&5
117846 ( exit $ac_status )
117847 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117848 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117850 See \`config.log' for more details." >&5
117851 echo "$as_me: error: cannot compute sizeof (void *), 77
117852 See \`config.log' for more details." >&2;}
117853 { (exit 1); exit 1; }; }; }
117855 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117858 rm -f conftest.val
117860 ac_cv_sizeof_void_p=0
117863 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
117864 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
117865 cat >>confdefs.h <<_ACEOF
117866 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
117867 _ACEOF
117872 # Lacking an uint64_t? Test size of long
117873 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
117874 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
117875 echo $ECHO_N "checking for long... $ECHO_C" >&6
117876 if test "${ac_cv_type_long+set}" = set; then
117877 echo $ECHO_N "(cached) $ECHO_C" >&6
117879 cat >conftest.$ac_ext <<_ACEOF
117880 /* confdefs.h. */
117881 _ACEOF
117882 cat confdefs.h >>conftest.$ac_ext
117883 cat >>conftest.$ac_ext <<_ACEOF
117884 /* end confdefs.h. */
117885 $ac_includes_default
117887 main ()
117889 if ((long *) 0)
117890 return 0;
117891 if (sizeof (long))
117892 return 0;
117894 return 0;
117896 _ACEOF
117897 rm -f conftest.$ac_objext
117898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117899 (eval $ac_compile) 2>conftest.er1
117900 ac_status=$?
117901 grep -v '^ *+' conftest.er1 >conftest.err
117902 rm -f conftest.er1
117903 cat conftest.err >&5
117904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117905 (exit $ac_status); } &&
117906 { ac_try='test -z "$ac_c_werror_flag"
117907 || test ! -s conftest.err'
117908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117909 (eval $ac_try) 2>&5
117910 ac_status=$?
117911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117912 (exit $ac_status); }; } &&
117913 { ac_try='test -s conftest.$ac_objext'
117914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117915 (eval $ac_try) 2>&5
117916 ac_status=$?
117917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117918 (exit $ac_status); }; }; then
117919 ac_cv_type_long=yes
117921 echo "$as_me: failed program was:" >&5
117922 sed 's/^/| /' conftest.$ac_ext >&5
117924 ac_cv_type_long=no
117926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117928 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117929 echo "${ECHO_T}$ac_cv_type_long" >&6
117931 echo "$as_me:$LINENO: checking size of long" >&5
117932 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117933 if test "${ac_cv_sizeof_long+set}" = set; then
117934 echo $ECHO_N "(cached) $ECHO_C" >&6
117936 if test "$ac_cv_type_long" = yes; then
117937 # The cast to unsigned long works around a bug in the HP C Compiler
117938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117940 # This bug is HP SR number 8606223364.
117941 if test "$cross_compiling" = yes; then
117942 # Depending upon the size, compute the lo and hi bounds.
117943 cat >conftest.$ac_ext <<_ACEOF
117944 /* confdefs.h. */
117945 _ACEOF
117946 cat confdefs.h >>conftest.$ac_ext
117947 cat >>conftest.$ac_ext <<_ACEOF
117948 /* end confdefs.h. */
117949 $ac_includes_default
117951 main ()
117953 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117954 test_array [0] = 0
117957 return 0;
117959 _ACEOF
117960 rm -f conftest.$ac_objext
117961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117962 (eval $ac_compile) 2>conftest.er1
117963 ac_status=$?
117964 grep -v '^ *+' conftest.er1 >conftest.err
117965 rm -f conftest.er1
117966 cat conftest.err >&5
117967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117968 (exit $ac_status); } &&
117969 { ac_try='test -z "$ac_c_werror_flag"
117970 || test ! -s conftest.err'
117971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117972 (eval $ac_try) 2>&5
117973 ac_status=$?
117974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117975 (exit $ac_status); }; } &&
117976 { ac_try='test -s conftest.$ac_objext'
117977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117978 (eval $ac_try) 2>&5
117979 ac_status=$?
117980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117981 (exit $ac_status); }; }; then
117982 ac_lo=0 ac_mid=0
117983 while :; do
117984 cat >conftest.$ac_ext <<_ACEOF
117985 /* confdefs.h. */
117986 _ACEOF
117987 cat confdefs.h >>conftest.$ac_ext
117988 cat >>conftest.$ac_ext <<_ACEOF
117989 /* end confdefs.h. */
117990 $ac_includes_default
117992 main ()
117994 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117995 test_array [0] = 0
117998 return 0;
118000 _ACEOF
118001 rm -f conftest.$ac_objext
118002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118003 (eval $ac_compile) 2>conftest.er1
118004 ac_status=$?
118005 grep -v '^ *+' conftest.er1 >conftest.err
118006 rm -f conftest.er1
118007 cat conftest.err >&5
118008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118009 (exit $ac_status); } &&
118010 { ac_try='test -z "$ac_c_werror_flag"
118011 || test ! -s conftest.err'
118012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118013 (eval $ac_try) 2>&5
118014 ac_status=$?
118015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118016 (exit $ac_status); }; } &&
118017 { ac_try='test -s conftest.$ac_objext'
118018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118019 (eval $ac_try) 2>&5
118020 ac_status=$?
118021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118022 (exit $ac_status); }; }; then
118023 ac_hi=$ac_mid; break
118025 echo "$as_me: failed program was:" >&5
118026 sed 's/^/| /' conftest.$ac_ext >&5
118028 ac_lo=`expr $ac_mid + 1`
118029 if test $ac_lo -le $ac_mid; then
118030 ac_lo= ac_hi=
118031 break
118033 ac_mid=`expr 2 '*' $ac_mid + 1`
118035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118038 echo "$as_me: failed program was:" >&5
118039 sed 's/^/| /' conftest.$ac_ext >&5
118041 cat >conftest.$ac_ext <<_ACEOF
118042 /* confdefs.h. */
118043 _ACEOF
118044 cat confdefs.h >>conftest.$ac_ext
118045 cat >>conftest.$ac_ext <<_ACEOF
118046 /* end confdefs.h. */
118047 $ac_includes_default
118049 main ()
118051 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
118052 test_array [0] = 0
118055 return 0;
118057 _ACEOF
118058 rm -f conftest.$ac_objext
118059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118060 (eval $ac_compile) 2>conftest.er1
118061 ac_status=$?
118062 grep -v '^ *+' conftest.er1 >conftest.err
118063 rm -f conftest.er1
118064 cat conftest.err >&5
118065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118066 (exit $ac_status); } &&
118067 { ac_try='test -z "$ac_c_werror_flag"
118068 || test ! -s conftest.err'
118069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118070 (eval $ac_try) 2>&5
118071 ac_status=$?
118072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118073 (exit $ac_status); }; } &&
118074 { ac_try='test -s conftest.$ac_objext'
118075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118076 (eval $ac_try) 2>&5
118077 ac_status=$?
118078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118079 (exit $ac_status); }; }; then
118080 ac_hi=-1 ac_mid=-1
118081 while :; do
118082 cat >conftest.$ac_ext <<_ACEOF
118083 /* confdefs.h. */
118084 _ACEOF
118085 cat confdefs.h >>conftest.$ac_ext
118086 cat >>conftest.$ac_ext <<_ACEOF
118087 /* end confdefs.h. */
118088 $ac_includes_default
118090 main ()
118092 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
118093 test_array [0] = 0
118096 return 0;
118098 _ACEOF
118099 rm -f conftest.$ac_objext
118100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118101 (eval $ac_compile) 2>conftest.er1
118102 ac_status=$?
118103 grep -v '^ *+' conftest.er1 >conftest.err
118104 rm -f conftest.er1
118105 cat conftest.err >&5
118106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118107 (exit $ac_status); } &&
118108 { ac_try='test -z "$ac_c_werror_flag"
118109 || test ! -s conftest.err'
118110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118111 (eval $ac_try) 2>&5
118112 ac_status=$?
118113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118114 (exit $ac_status); }; } &&
118115 { ac_try='test -s conftest.$ac_objext'
118116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118117 (eval $ac_try) 2>&5
118118 ac_status=$?
118119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118120 (exit $ac_status); }; }; then
118121 ac_lo=$ac_mid; break
118123 echo "$as_me: failed program was:" >&5
118124 sed 's/^/| /' conftest.$ac_ext >&5
118126 ac_hi=`expr '(' $ac_mid ')' - 1`
118127 if test $ac_mid -le $ac_hi; then
118128 ac_lo= ac_hi=
118129 break
118131 ac_mid=`expr 2 '*' $ac_mid`
118133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118136 echo "$as_me: failed program was:" >&5
118137 sed 's/^/| /' conftest.$ac_ext >&5
118139 ac_lo= ac_hi=
118141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118144 # Binary search between lo and hi bounds.
118145 while test "x$ac_lo" != "x$ac_hi"; do
118146 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118147 cat >conftest.$ac_ext <<_ACEOF
118148 /* confdefs.h. */
118149 _ACEOF
118150 cat confdefs.h >>conftest.$ac_ext
118151 cat >>conftest.$ac_ext <<_ACEOF
118152 /* end confdefs.h. */
118153 $ac_includes_default
118155 main ()
118157 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
118158 test_array [0] = 0
118161 return 0;
118163 _ACEOF
118164 rm -f conftest.$ac_objext
118165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118166 (eval $ac_compile) 2>conftest.er1
118167 ac_status=$?
118168 grep -v '^ *+' conftest.er1 >conftest.err
118169 rm -f conftest.er1
118170 cat conftest.err >&5
118171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118172 (exit $ac_status); } &&
118173 { ac_try='test -z "$ac_c_werror_flag"
118174 || test ! -s conftest.err'
118175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118176 (eval $ac_try) 2>&5
118177 ac_status=$?
118178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118179 (exit $ac_status); }; } &&
118180 { ac_try='test -s conftest.$ac_objext'
118181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118182 (eval $ac_try) 2>&5
118183 ac_status=$?
118184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118185 (exit $ac_status); }; }; then
118186 ac_hi=$ac_mid
118188 echo "$as_me: failed program was:" >&5
118189 sed 's/^/| /' conftest.$ac_ext >&5
118191 ac_lo=`expr '(' $ac_mid ')' + 1`
118193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118195 case $ac_lo in
118196 ?*) ac_cv_sizeof_long=$ac_lo;;
118197 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118198 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118200 See \`config.log' for more details." >&5
118201 echo "$as_me: error: cannot compute sizeof (long), 77
118202 See \`config.log' for more details." >&2;}
118203 { (exit 1); exit 1; }; }; } ;;
118206 if test "$cross_compiling" = yes; then
118207 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118208 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118209 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118210 See \`config.log' for more details." >&5
118211 echo "$as_me: error: cannot run test program while cross compiling
118212 See \`config.log' for more details." >&2;}
118213 { (exit 1); exit 1; }; }; }
118215 cat >conftest.$ac_ext <<_ACEOF
118216 /* confdefs.h. */
118217 _ACEOF
118218 cat confdefs.h >>conftest.$ac_ext
118219 cat >>conftest.$ac_ext <<_ACEOF
118220 /* end confdefs.h. */
118221 $ac_includes_default
118222 long longval () { return (long) (sizeof (long)); }
118223 unsigned long ulongval () { return (long) (sizeof (long)); }
118224 #include <stdio.h>
118225 #include <stdlib.h>
118227 main ()
118230 FILE *f = fopen ("conftest.val", "w");
118231 if (! f)
118232 exit (1);
118233 if (((long) (sizeof (long))) < 0)
118235 long i = longval ();
118236 if (i != ((long) (sizeof (long))))
118237 exit (1);
118238 fprintf (f, "%ld\n", i);
118242 unsigned long i = ulongval ();
118243 if (i != ((long) (sizeof (long))))
118244 exit (1);
118245 fprintf (f, "%lu\n", i);
118247 exit (ferror (f) || fclose (f) != 0);
118250 return 0;
118252 _ACEOF
118253 rm -f conftest$ac_exeext
118254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118255 (eval $ac_link) 2>&5
118256 ac_status=$?
118257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118260 (eval $ac_try) 2>&5
118261 ac_status=$?
118262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118263 (exit $ac_status); }; }; then
118264 ac_cv_sizeof_long=`cat conftest.val`
118266 echo "$as_me: program exited with status $ac_status" >&5
118267 echo "$as_me: failed program was:" >&5
118268 sed 's/^/| /' conftest.$ac_ext >&5
118270 ( exit $ac_status )
118271 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118272 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118274 See \`config.log' for more details." >&5
118275 echo "$as_me: error: cannot compute sizeof (long), 77
118276 See \`config.log' for more details." >&2;}
118277 { (exit 1); exit 1; }; }; }
118279 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118282 rm -f conftest.val
118284 ac_cv_sizeof_long=0
118287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
118288 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
118289 cat >>confdefs.h <<_ACEOF
118290 #define SIZEOF_LONG $ac_cv_sizeof_long
118291 _ACEOF
118296 if test $acx_cv_header_stdint = stddef.h; then
118297 # Lacking a good header? Test size of everything and deduce all types.
118298 echo "$as_me:$LINENO: checking for int" >&5
118299 echo $ECHO_N "checking for int... $ECHO_C" >&6
118300 if test "${ac_cv_type_int+set}" = set; then
118301 echo $ECHO_N "(cached) $ECHO_C" >&6
118303 cat >conftest.$ac_ext <<_ACEOF
118304 /* confdefs.h. */
118305 _ACEOF
118306 cat confdefs.h >>conftest.$ac_ext
118307 cat >>conftest.$ac_ext <<_ACEOF
118308 /* end confdefs.h. */
118309 $ac_includes_default
118311 main ()
118313 if ((int *) 0)
118314 return 0;
118315 if (sizeof (int))
118316 return 0;
118318 return 0;
118320 _ACEOF
118321 rm -f conftest.$ac_objext
118322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118323 (eval $ac_compile) 2>conftest.er1
118324 ac_status=$?
118325 grep -v '^ *+' conftest.er1 >conftest.err
118326 rm -f conftest.er1
118327 cat conftest.err >&5
118328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118329 (exit $ac_status); } &&
118330 { ac_try='test -z "$ac_c_werror_flag"
118331 || test ! -s conftest.err'
118332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118333 (eval $ac_try) 2>&5
118334 ac_status=$?
118335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118336 (exit $ac_status); }; } &&
118337 { ac_try='test -s conftest.$ac_objext'
118338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118339 (eval $ac_try) 2>&5
118340 ac_status=$?
118341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118342 (exit $ac_status); }; }; then
118343 ac_cv_type_int=yes
118345 echo "$as_me: failed program was:" >&5
118346 sed 's/^/| /' conftest.$ac_ext >&5
118348 ac_cv_type_int=no
118350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118352 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
118353 echo "${ECHO_T}$ac_cv_type_int" >&6
118355 echo "$as_me:$LINENO: checking size of int" >&5
118356 echo $ECHO_N "checking size of int... $ECHO_C" >&6
118357 if test "${ac_cv_sizeof_int+set}" = set; then
118358 echo $ECHO_N "(cached) $ECHO_C" >&6
118360 if test "$ac_cv_type_int" = yes; then
118361 # The cast to unsigned long works around a bug in the HP C Compiler
118362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118364 # This bug is HP SR number 8606223364.
118365 if test "$cross_compiling" = yes; then
118366 # Depending upon the size, compute the lo and hi bounds.
118367 cat >conftest.$ac_ext <<_ACEOF
118368 /* confdefs.h. */
118369 _ACEOF
118370 cat confdefs.h >>conftest.$ac_ext
118371 cat >>conftest.$ac_ext <<_ACEOF
118372 /* end confdefs.h. */
118373 $ac_includes_default
118375 main ()
118377 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
118378 test_array [0] = 0
118381 return 0;
118383 _ACEOF
118384 rm -f conftest.$ac_objext
118385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118386 (eval $ac_compile) 2>conftest.er1
118387 ac_status=$?
118388 grep -v '^ *+' conftest.er1 >conftest.err
118389 rm -f conftest.er1
118390 cat conftest.err >&5
118391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118392 (exit $ac_status); } &&
118393 { ac_try='test -z "$ac_c_werror_flag"
118394 || test ! -s conftest.err'
118395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118396 (eval $ac_try) 2>&5
118397 ac_status=$?
118398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118399 (exit $ac_status); }; } &&
118400 { ac_try='test -s conftest.$ac_objext'
118401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118402 (eval $ac_try) 2>&5
118403 ac_status=$?
118404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118405 (exit $ac_status); }; }; then
118406 ac_lo=0 ac_mid=0
118407 while :; do
118408 cat >conftest.$ac_ext <<_ACEOF
118409 /* confdefs.h. */
118410 _ACEOF
118411 cat confdefs.h >>conftest.$ac_ext
118412 cat >>conftest.$ac_ext <<_ACEOF
118413 /* end confdefs.h. */
118414 $ac_includes_default
118416 main ()
118418 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118419 test_array [0] = 0
118422 return 0;
118424 _ACEOF
118425 rm -f conftest.$ac_objext
118426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118427 (eval $ac_compile) 2>conftest.er1
118428 ac_status=$?
118429 grep -v '^ *+' conftest.er1 >conftest.err
118430 rm -f conftest.er1
118431 cat conftest.err >&5
118432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118433 (exit $ac_status); } &&
118434 { ac_try='test -z "$ac_c_werror_flag"
118435 || test ! -s conftest.err'
118436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118437 (eval $ac_try) 2>&5
118438 ac_status=$?
118439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118440 (exit $ac_status); }; } &&
118441 { ac_try='test -s conftest.$ac_objext'
118442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118443 (eval $ac_try) 2>&5
118444 ac_status=$?
118445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118446 (exit $ac_status); }; }; then
118447 ac_hi=$ac_mid; break
118449 echo "$as_me: failed program was:" >&5
118450 sed 's/^/| /' conftest.$ac_ext >&5
118452 ac_lo=`expr $ac_mid + 1`
118453 if test $ac_lo -le $ac_mid; then
118454 ac_lo= ac_hi=
118455 break
118457 ac_mid=`expr 2 '*' $ac_mid + 1`
118459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118462 echo "$as_me: failed program was:" >&5
118463 sed 's/^/| /' conftest.$ac_ext >&5
118465 cat >conftest.$ac_ext <<_ACEOF
118466 /* confdefs.h. */
118467 _ACEOF
118468 cat confdefs.h >>conftest.$ac_ext
118469 cat >>conftest.$ac_ext <<_ACEOF
118470 /* end confdefs.h. */
118471 $ac_includes_default
118473 main ()
118475 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
118476 test_array [0] = 0
118479 return 0;
118481 _ACEOF
118482 rm -f conftest.$ac_objext
118483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118484 (eval $ac_compile) 2>conftest.er1
118485 ac_status=$?
118486 grep -v '^ *+' conftest.er1 >conftest.err
118487 rm -f conftest.er1
118488 cat conftest.err >&5
118489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118490 (exit $ac_status); } &&
118491 { ac_try='test -z "$ac_c_werror_flag"
118492 || test ! -s conftest.err'
118493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118494 (eval $ac_try) 2>&5
118495 ac_status=$?
118496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118497 (exit $ac_status); }; } &&
118498 { ac_try='test -s conftest.$ac_objext'
118499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118500 (eval $ac_try) 2>&5
118501 ac_status=$?
118502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118503 (exit $ac_status); }; }; then
118504 ac_hi=-1 ac_mid=-1
118505 while :; do
118506 cat >conftest.$ac_ext <<_ACEOF
118507 /* confdefs.h. */
118508 _ACEOF
118509 cat confdefs.h >>conftest.$ac_ext
118510 cat >>conftest.$ac_ext <<_ACEOF
118511 /* end confdefs.h. */
118512 $ac_includes_default
118514 main ()
118516 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
118517 test_array [0] = 0
118520 return 0;
118522 _ACEOF
118523 rm -f conftest.$ac_objext
118524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118525 (eval $ac_compile) 2>conftest.er1
118526 ac_status=$?
118527 grep -v '^ *+' conftest.er1 >conftest.err
118528 rm -f conftest.er1
118529 cat conftest.err >&5
118530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118531 (exit $ac_status); } &&
118532 { ac_try='test -z "$ac_c_werror_flag"
118533 || test ! -s conftest.err'
118534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118535 (eval $ac_try) 2>&5
118536 ac_status=$?
118537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118538 (exit $ac_status); }; } &&
118539 { ac_try='test -s conftest.$ac_objext'
118540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118541 (eval $ac_try) 2>&5
118542 ac_status=$?
118543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118544 (exit $ac_status); }; }; then
118545 ac_lo=$ac_mid; break
118547 echo "$as_me: failed program was:" >&5
118548 sed 's/^/| /' conftest.$ac_ext >&5
118550 ac_hi=`expr '(' $ac_mid ')' - 1`
118551 if test $ac_mid -le $ac_hi; then
118552 ac_lo= ac_hi=
118553 break
118555 ac_mid=`expr 2 '*' $ac_mid`
118557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118560 echo "$as_me: failed program was:" >&5
118561 sed 's/^/| /' conftest.$ac_ext >&5
118563 ac_lo= ac_hi=
118565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118568 # Binary search between lo and hi bounds.
118569 while test "x$ac_lo" != "x$ac_hi"; do
118570 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118571 cat >conftest.$ac_ext <<_ACEOF
118572 /* confdefs.h. */
118573 _ACEOF
118574 cat confdefs.h >>conftest.$ac_ext
118575 cat >>conftest.$ac_ext <<_ACEOF
118576 /* end confdefs.h. */
118577 $ac_includes_default
118579 main ()
118581 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118582 test_array [0] = 0
118585 return 0;
118587 _ACEOF
118588 rm -f conftest.$ac_objext
118589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118590 (eval $ac_compile) 2>conftest.er1
118591 ac_status=$?
118592 grep -v '^ *+' conftest.er1 >conftest.err
118593 rm -f conftest.er1
118594 cat conftest.err >&5
118595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118596 (exit $ac_status); } &&
118597 { ac_try='test -z "$ac_c_werror_flag"
118598 || test ! -s conftest.err'
118599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118600 (eval $ac_try) 2>&5
118601 ac_status=$?
118602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118603 (exit $ac_status); }; } &&
118604 { ac_try='test -s conftest.$ac_objext'
118605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118606 (eval $ac_try) 2>&5
118607 ac_status=$?
118608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118609 (exit $ac_status); }; }; then
118610 ac_hi=$ac_mid
118612 echo "$as_me: failed program was:" >&5
118613 sed 's/^/| /' conftest.$ac_ext >&5
118615 ac_lo=`expr '(' $ac_mid ')' + 1`
118617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118619 case $ac_lo in
118620 ?*) ac_cv_sizeof_int=$ac_lo;;
118621 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118622 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118624 See \`config.log' for more details." >&5
118625 echo "$as_me: error: cannot compute sizeof (int), 77
118626 See \`config.log' for more details." >&2;}
118627 { (exit 1); exit 1; }; }; } ;;
118630 if test "$cross_compiling" = yes; then
118631 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118632 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118633 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118634 See \`config.log' for more details." >&5
118635 echo "$as_me: error: cannot run test program while cross compiling
118636 See \`config.log' for more details." >&2;}
118637 { (exit 1); exit 1; }; }; }
118639 cat >conftest.$ac_ext <<_ACEOF
118640 /* confdefs.h. */
118641 _ACEOF
118642 cat confdefs.h >>conftest.$ac_ext
118643 cat >>conftest.$ac_ext <<_ACEOF
118644 /* end confdefs.h. */
118645 $ac_includes_default
118646 long longval () { return (long) (sizeof (int)); }
118647 unsigned long ulongval () { return (long) (sizeof (int)); }
118648 #include <stdio.h>
118649 #include <stdlib.h>
118651 main ()
118654 FILE *f = fopen ("conftest.val", "w");
118655 if (! f)
118656 exit (1);
118657 if (((long) (sizeof (int))) < 0)
118659 long i = longval ();
118660 if (i != ((long) (sizeof (int))))
118661 exit (1);
118662 fprintf (f, "%ld\n", i);
118666 unsigned long i = ulongval ();
118667 if (i != ((long) (sizeof (int))))
118668 exit (1);
118669 fprintf (f, "%lu\n", i);
118671 exit (ferror (f) || fclose (f) != 0);
118674 return 0;
118676 _ACEOF
118677 rm -f conftest$ac_exeext
118678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118679 (eval $ac_link) 2>&5
118680 ac_status=$?
118681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118684 (eval $ac_try) 2>&5
118685 ac_status=$?
118686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118687 (exit $ac_status); }; }; then
118688 ac_cv_sizeof_int=`cat conftest.val`
118690 echo "$as_me: program exited with status $ac_status" >&5
118691 echo "$as_me: failed program was:" >&5
118692 sed 's/^/| /' conftest.$ac_ext >&5
118694 ( exit $ac_status )
118695 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118696 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118698 See \`config.log' for more details." >&5
118699 echo "$as_me: error: cannot compute sizeof (int), 77
118700 See \`config.log' for more details." >&2;}
118701 { (exit 1); exit 1; }; }; }
118703 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118706 rm -f conftest.val
118708 ac_cv_sizeof_int=0
118711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
118712 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
118713 cat >>confdefs.h <<_ACEOF
118714 #define SIZEOF_INT $ac_cv_sizeof_int
118715 _ACEOF
118718 echo "$as_me:$LINENO: checking for short" >&5
118719 echo $ECHO_N "checking for short... $ECHO_C" >&6
118720 if test "${ac_cv_type_short+set}" = set; then
118721 echo $ECHO_N "(cached) $ECHO_C" >&6
118723 cat >conftest.$ac_ext <<_ACEOF
118724 /* confdefs.h. */
118725 _ACEOF
118726 cat confdefs.h >>conftest.$ac_ext
118727 cat >>conftest.$ac_ext <<_ACEOF
118728 /* end confdefs.h. */
118729 $ac_includes_default
118731 main ()
118733 if ((short *) 0)
118734 return 0;
118735 if (sizeof (short))
118736 return 0;
118738 return 0;
118740 _ACEOF
118741 rm -f conftest.$ac_objext
118742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118743 (eval $ac_compile) 2>conftest.er1
118744 ac_status=$?
118745 grep -v '^ *+' conftest.er1 >conftest.err
118746 rm -f conftest.er1
118747 cat conftest.err >&5
118748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118749 (exit $ac_status); } &&
118750 { ac_try='test -z "$ac_c_werror_flag"
118751 || test ! -s conftest.err'
118752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118753 (eval $ac_try) 2>&5
118754 ac_status=$?
118755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118756 (exit $ac_status); }; } &&
118757 { ac_try='test -s conftest.$ac_objext'
118758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118759 (eval $ac_try) 2>&5
118760 ac_status=$?
118761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118762 (exit $ac_status); }; }; then
118763 ac_cv_type_short=yes
118765 echo "$as_me: failed program was:" >&5
118766 sed 's/^/| /' conftest.$ac_ext >&5
118768 ac_cv_type_short=no
118770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118772 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
118773 echo "${ECHO_T}$ac_cv_type_short" >&6
118775 echo "$as_me:$LINENO: checking size of short" >&5
118776 echo $ECHO_N "checking size of short... $ECHO_C" >&6
118777 if test "${ac_cv_sizeof_short+set}" = set; then
118778 echo $ECHO_N "(cached) $ECHO_C" >&6
118780 if test "$ac_cv_type_short" = yes; then
118781 # The cast to unsigned long works around a bug in the HP C Compiler
118782 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118783 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118784 # This bug is HP SR number 8606223364.
118785 if test "$cross_compiling" = yes; then
118786 # Depending upon the size, compute the lo and hi bounds.
118787 cat >conftest.$ac_ext <<_ACEOF
118788 /* confdefs.h. */
118789 _ACEOF
118790 cat confdefs.h >>conftest.$ac_ext
118791 cat >>conftest.$ac_ext <<_ACEOF
118792 /* end confdefs.h. */
118793 $ac_includes_default
118795 main ()
118797 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
118798 test_array [0] = 0
118801 return 0;
118803 _ACEOF
118804 rm -f conftest.$ac_objext
118805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118806 (eval $ac_compile) 2>conftest.er1
118807 ac_status=$?
118808 grep -v '^ *+' conftest.er1 >conftest.err
118809 rm -f conftest.er1
118810 cat conftest.err >&5
118811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118812 (exit $ac_status); } &&
118813 { ac_try='test -z "$ac_c_werror_flag"
118814 || test ! -s conftest.err'
118815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118816 (eval $ac_try) 2>&5
118817 ac_status=$?
118818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118819 (exit $ac_status); }; } &&
118820 { ac_try='test -s conftest.$ac_objext'
118821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118822 (eval $ac_try) 2>&5
118823 ac_status=$?
118824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118825 (exit $ac_status); }; }; then
118826 ac_lo=0 ac_mid=0
118827 while :; do
118828 cat >conftest.$ac_ext <<_ACEOF
118829 /* confdefs.h. */
118830 _ACEOF
118831 cat confdefs.h >>conftest.$ac_ext
118832 cat >>conftest.$ac_ext <<_ACEOF
118833 /* end confdefs.h. */
118834 $ac_includes_default
118836 main ()
118838 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118839 test_array [0] = 0
118842 return 0;
118844 _ACEOF
118845 rm -f conftest.$ac_objext
118846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118847 (eval $ac_compile) 2>conftest.er1
118848 ac_status=$?
118849 grep -v '^ *+' conftest.er1 >conftest.err
118850 rm -f conftest.er1
118851 cat conftest.err >&5
118852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118853 (exit $ac_status); } &&
118854 { ac_try='test -z "$ac_c_werror_flag"
118855 || test ! -s conftest.err'
118856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118857 (eval $ac_try) 2>&5
118858 ac_status=$?
118859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118860 (exit $ac_status); }; } &&
118861 { ac_try='test -s conftest.$ac_objext'
118862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118863 (eval $ac_try) 2>&5
118864 ac_status=$?
118865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118866 (exit $ac_status); }; }; then
118867 ac_hi=$ac_mid; break
118869 echo "$as_me: failed program was:" >&5
118870 sed 's/^/| /' conftest.$ac_ext >&5
118872 ac_lo=`expr $ac_mid + 1`
118873 if test $ac_lo -le $ac_mid; then
118874 ac_lo= ac_hi=
118875 break
118877 ac_mid=`expr 2 '*' $ac_mid + 1`
118879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118882 echo "$as_me: failed program was:" >&5
118883 sed 's/^/| /' conftest.$ac_ext >&5
118885 cat >conftest.$ac_ext <<_ACEOF
118886 /* confdefs.h. */
118887 _ACEOF
118888 cat confdefs.h >>conftest.$ac_ext
118889 cat >>conftest.$ac_ext <<_ACEOF
118890 /* end confdefs.h. */
118891 $ac_includes_default
118893 main ()
118895 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118896 test_array [0] = 0
118899 return 0;
118901 _ACEOF
118902 rm -f conftest.$ac_objext
118903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118904 (eval $ac_compile) 2>conftest.er1
118905 ac_status=$?
118906 grep -v '^ *+' conftest.er1 >conftest.err
118907 rm -f conftest.er1
118908 cat conftest.err >&5
118909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118910 (exit $ac_status); } &&
118911 { ac_try='test -z "$ac_c_werror_flag"
118912 || test ! -s conftest.err'
118913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118914 (eval $ac_try) 2>&5
118915 ac_status=$?
118916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118917 (exit $ac_status); }; } &&
118918 { ac_try='test -s conftest.$ac_objext'
118919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118920 (eval $ac_try) 2>&5
118921 ac_status=$?
118922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118923 (exit $ac_status); }; }; then
118924 ac_hi=-1 ac_mid=-1
118925 while :; do
118926 cat >conftest.$ac_ext <<_ACEOF
118927 /* confdefs.h. */
118928 _ACEOF
118929 cat confdefs.h >>conftest.$ac_ext
118930 cat >>conftest.$ac_ext <<_ACEOF
118931 /* end confdefs.h. */
118932 $ac_includes_default
118934 main ()
118936 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118937 test_array [0] = 0
118940 return 0;
118942 _ACEOF
118943 rm -f conftest.$ac_objext
118944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118945 (eval $ac_compile) 2>conftest.er1
118946 ac_status=$?
118947 grep -v '^ *+' conftest.er1 >conftest.err
118948 rm -f conftest.er1
118949 cat conftest.err >&5
118950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118951 (exit $ac_status); } &&
118952 { ac_try='test -z "$ac_c_werror_flag"
118953 || test ! -s conftest.err'
118954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118955 (eval $ac_try) 2>&5
118956 ac_status=$?
118957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118958 (exit $ac_status); }; } &&
118959 { ac_try='test -s conftest.$ac_objext'
118960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118961 (eval $ac_try) 2>&5
118962 ac_status=$?
118963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118964 (exit $ac_status); }; }; then
118965 ac_lo=$ac_mid; break
118967 echo "$as_me: failed program was:" >&5
118968 sed 's/^/| /' conftest.$ac_ext >&5
118970 ac_hi=`expr '(' $ac_mid ')' - 1`
118971 if test $ac_mid -le $ac_hi; then
118972 ac_lo= ac_hi=
118973 break
118975 ac_mid=`expr 2 '*' $ac_mid`
118977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118980 echo "$as_me: failed program was:" >&5
118981 sed 's/^/| /' conftest.$ac_ext >&5
118983 ac_lo= ac_hi=
118985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118988 # Binary search between lo and hi bounds.
118989 while test "x$ac_lo" != "x$ac_hi"; do
118990 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118991 cat >conftest.$ac_ext <<_ACEOF
118992 /* confdefs.h. */
118993 _ACEOF
118994 cat confdefs.h >>conftest.$ac_ext
118995 cat >>conftest.$ac_ext <<_ACEOF
118996 /* end confdefs.h. */
118997 $ac_includes_default
118999 main ()
119001 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
119002 test_array [0] = 0
119005 return 0;
119007 _ACEOF
119008 rm -f conftest.$ac_objext
119009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119010 (eval $ac_compile) 2>conftest.er1
119011 ac_status=$?
119012 grep -v '^ *+' conftest.er1 >conftest.err
119013 rm -f conftest.er1
119014 cat conftest.err >&5
119015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119016 (exit $ac_status); } &&
119017 { ac_try='test -z "$ac_c_werror_flag"
119018 || test ! -s conftest.err'
119019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119020 (eval $ac_try) 2>&5
119021 ac_status=$?
119022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119023 (exit $ac_status); }; } &&
119024 { ac_try='test -s conftest.$ac_objext'
119025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119026 (eval $ac_try) 2>&5
119027 ac_status=$?
119028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119029 (exit $ac_status); }; }; then
119030 ac_hi=$ac_mid
119032 echo "$as_me: failed program was:" >&5
119033 sed 's/^/| /' conftest.$ac_ext >&5
119035 ac_lo=`expr '(' $ac_mid ')' + 1`
119037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119039 case $ac_lo in
119040 ?*) ac_cv_sizeof_short=$ac_lo;;
119041 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119042 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119044 See \`config.log' for more details." >&5
119045 echo "$as_me: error: cannot compute sizeof (short), 77
119046 See \`config.log' for more details." >&2;}
119047 { (exit 1); exit 1; }; }; } ;;
119050 if test "$cross_compiling" = yes; then
119051 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119052 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119053 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119054 See \`config.log' for more details." >&5
119055 echo "$as_me: error: cannot run test program while cross compiling
119056 See \`config.log' for more details." >&2;}
119057 { (exit 1); exit 1; }; }; }
119059 cat >conftest.$ac_ext <<_ACEOF
119060 /* confdefs.h. */
119061 _ACEOF
119062 cat confdefs.h >>conftest.$ac_ext
119063 cat >>conftest.$ac_ext <<_ACEOF
119064 /* end confdefs.h. */
119065 $ac_includes_default
119066 long longval () { return (long) (sizeof (short)); }
119067 unsigned long ulongval () { return (long) (sizeof (short)); }
119068 #include <stdio.h>
119069 #include <stdlib.h>
119071 main ()
119074 FILE *f = fopen ("conftest.val", "w");
119075 if (! f)
119076 exit (1);
119077 if (((long) (sizeof (short))) < 0)
119079 long i = longval ();
119080 if (i != ((long) (sizeof (short))))
119081 exit (1);
119082 fprintf (f, "%ld\n", i);
119086 unsigned long i = ulongval ();
119087 if (i != ((long) (sizeof (short))))
119088 exit (1);
119089 fprintf (f, "%lu\n", i);
119091 exit (ferror (f) || fclose (f) != 0);
119094 return 0;
119096 _ACEOF
119097 rm -f conftest$ac_exeext
119098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119099 (eval $ac_link) 2>&5
119100 ac_status=$?
119101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119104 (eval $ac_try) 2>&5
119105 ac_status=$?
119106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119107 (exit $ac_status); }; }; then
119108 ac_cv_sizeof_short=`cat conftest.val`
119110 echo "$as_me: program exited with status $ac_status" >&5
119111 echo "$as_me: failed program was:" >&5
119112 sed 's/^/| /' conftest.$ac_ext >&5
119114 ( exit $ac_status )
119115 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119116 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119118 See \`config.log' for more details." >&5
119119 echo "$as_me: error: cannot compute sizeof (short), 77
119120 See \`config.log' for more details." >&2;}
119121 { (exit 1); exit 1; }; }; }
119123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119126 rm -f conftest.val
119128 ac_cv_sizeof_short=0
119131 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
119132 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
119133 cat >>confdefs.h <<_ACEOF
119134 #define SIZEOF_SHORT $ac_cv_sizeof_short
119135 _ACEOF
119138 echo "$as_me:$LINENO: checking for char" >&5
119139 echo $ECHO_N "checking for char... $ECHO_C" >&6
119140 if test "${ac_cv_type_char+set}" = set; then
119141 echo $ECHO_N "(cached) $ECHO_C" >&6
119143 cat >conftest.$ac_ext <<_ACEOF
119144 /* confdefs.h. */
119145 _ACEOF
119146 cat confdefs.h >>conftest.$ac_ext
119147 cat >>conftest.$ac_ext <<_ACEOF
119148 /* end confdefs.h. */
119149 $ac_includes_default
119151 main ()
119153 if ((char *) 0)
119154 return 0;
119155 if (sizeof (char))
119156 return 0;
119158 return 0;
119160 _ACEOF
119161 rm -f conftest.$ac_objext
119162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119163 (eval $ac_compile) 2>conftest.er1
119164 ac_status=$?
119165 grep -v '^ *+' conftest.er1 >conftest.err
119166 rm -f conftest.er1
119167 cat conftest.err >&5
119168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119169 (exit $ac_status); } &&
119170 { ac_try='test -z "$ac_c_werror_flag"
119171 || test ! -s conftest.err'
119172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119173 (eval $ac_try) 2>&5
119174 ac_status=$?
119175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119176 (exit $ac_status); }; } &&
119177 { ac_try='test -s conftest.$ac_objext'
119178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119179 (eval $ac_try) 2>&5
119180 ac_status=$?
119181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119182 (exit $ac_status); }; }; then
119183 ac_cv_type_char=yes
119185 echo "$as_me: failed program was:" >&5
119186 sed 's/^/| /' conftest.$ac_ext >&5
119188 ac_cv_type_char=no
119190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119192 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
119193 echo "${ECHO_T}$ac_cv_type_char" >&6
119195 echo "$as_me:$LINENO: checking size of char" >&5
119196 echo $ECHO_N "checking size of char... $ECHO_C" >&6
119197 if test "${ac_cv_sizeof_char+set}" = set; then
119198 echo $ECHO_N "(cached) $ECHO_C" >&6
119200 if test "$ac_cv_type_char" = yes; then
119201 # The cast to unsigned long works around a bug in the HP C Compiler
119202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119204 # This bug is HP SR number 8606223364.
119205 if test "$cross_compiling" = yes; then
119206 # Depending upon the size, compute the lo and hi bounds.
119207 cat >conftest.$ac_ext <<_ACEOF
119208 /* confdefs.h. */
119209 _ACEOF
119210 cat confdefs.h >>conftest.$ac_ext
119211 cat >>conftest.$ac_ext <<_ACEOF
119212 /* end confdefs.h. */
119213 $ac_includes_default
119215 main ()
119217 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
119218 test_array [0] = 0
119221 return 0;
119223 _ACEOF
119224 rm -f conftest.$ac_objext
119225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119226 (eval $ac_compile) 2>conftest.er1
119227 ac_status=$?
119228 grep -v '^ *+' conftest.er1 >conftest.err
119229 rm -f conftest.er1
119230 cat conftest.err >&5
119231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119232 (exit $ac_status); } &&
119233 { ac_try='test -z "$ac_c_werror_flag"
119234 || test ! -s conftest.err'
119235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119236 (eval $ac_try) 2>&5
119237 ac_status=$?
119238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119239 (exit $ac_status); }; } &&
119240 { ac_try='test -s conftest.$ac_objext'
119241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119242 (eval $ac_try) 2>&5
119243 ac_status=$?
119244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119245 (exit $ac_status); }; }; then
119246 ac_lo=0 ac_mid=0
119247 while :; do
119248 cat >conftest.$ac_ext <<_ACEOF
119249 /* confdefs.h. */
119250 _ACEOF
119251 cat confdefs.h >>conftest.$ac_ext
119252 cat >>conftest.$ac_ext <<_ACEOF
119253 /* end confdefs.h. */
119254 $ac_includes_default
119256 main ()
119258 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119259 test_array [0] = 0
119262 return 0;
119264 _ACEOF
119265 rm -f conftest.$ac_objext
119266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119267 (eval $ac_compile) 2>conftest.er1
119268 ac_status=$?
119269 grep -v '^ *+' conftest.er1 >conftest.err
119270 rm -f conftest.er1
119271 cat conftest.err >&5
119272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119273 (exit $ac_status); } &&
119274 { ac_try='test -z "$ac_c_werror_flag"
119275 || test ! -s conftest.err'
119276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119277 (eval $ac_try) 2>&5
119278 ac_status=$?
119279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119280 (exit $ac_status); }; } &&
119281 { ac_try='test -s conftest.$ac_objext'
119282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119283 (eval $ac_try) 2>&5
119284 ac_status=$?
119285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119286 (exit $ac_status); }; }; then
119287 ac_hi=$ac_mid; break
119289 echo "$as_me: failed program was:" >&5
119290 sed 's/^/| /' conftest.$ac_ext >&5
119292 ac_lo=`expr $ac_mid + 1`
119293 if test $ac_lo -le $ac_mid; then
119294 ac_lo= ac_hi=
119295 break
119297 ac_mid=`expr 2 '*' $ac_mid + 1`
119299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119302 echo "$as_me: failed program was:" >&5
119303 sed 's/^/| /' conftest.$ac_ext >&5
119305 cat >conftest.$ac_ext <<_ACEOF
119306 /* confdefs.h. */
119307 _ACEOF
119308 cat confdefs.h >>conftest.$ac_ext
119309 cat >>conftest.$ac_ext <<_ACEOF
119310 /* end confdefs.h. */
119311 $ac_includes_default
119313 main ()
119315 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
119316 test_array [0] = 0
119319 return 0;
119321 _ACEOF
119322 rm -f conftest.$ac_objext
119323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119324 (eval $ac_compile) 2>conftest.er1
119325 ac_status=$?
119326 grep -v '^ *+' conftest.er1 >conftest.err
119327 rm -f conftest.er1
119328 cat conftest.err >&5
119329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119330 (exit $ac_status); } &&
119331 { ac_try='test -z "$ac_c_werror_flag"
119332 || test ! -s conftest.err'
119333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119334 (eval $ac_try) 2>&5
119335 ac_status=$?
119336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119337 (exit $ac_status); }; } &&
119338 { ac_try='test -s conftest.$ac_objext'
119339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119340 (eval $ac_try) 2>&5
119341 ac_status=$?
119342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119343 (exit $ac_status); }; }; then
119344 ac_hi=-1 ac_mid=-1
119345 while :; do
119346 cat >conftest.$ac_ext <<_ACEOF
119347 /* confdefs.h. */
119348 _ACEOF
119349 cat confdefs.h >>conftest.$ac_ext
119350 cat >>conftest.$ac_ext <<_ACEOF
119351 /* end confdefs.h. */
119352 $ac_includes_default
119354 main ()
119356 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
119357 test_array [0] = 0
119360 return 0;
119362 _ACEOF
119363 rm -f conftest.$ac_objext
119364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119365 (eval $ac_compile) 2>conftest.er1
119366 ac_status=$?
119367 grep -v '^ *+' conftest.er1 >conftest.err
119368 rm -f conftest.er1
119369 cat conftest.err >&5
119370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119371 (exit $ac_status); } &&
119372 { ac_try='test -z "$ac_c_werror_flag"
119373 || test ! -s conftest.err'
119374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119375 (eval $ac_try) 2>&5
119376 ac_status=$?
119377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119378 (exit $ac_status); }; } &&
119379 { ac_try='test -s conftest.$ac_objext'
119380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119381 (eval $ac_try) 2>&5
119382 ac_status=$?
119383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119384 (exit $ac_status); }; }; then
119385 ac_lo=$ac_mid; break
119387 echo "$as_me: failed program was:" >&5
119388 sed 's/^/| /' conftest.$ac_ext >&5
119390 ac_hi=`expr '(' $ac_mid ')' - 1`
119391 if test $ac_mid -le $ac_hi; then
119392 ac_lo= ac_hi=
119393 break
119395 ac_mid=`expr 2 '*' $ac_mid`
119397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119400 echo "$as_me: failed program was:" >&5
119401 sed 's/^/| /' conftest.$ac_ext >&5
119403 ac_lo= ac_hi=
119405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119408 # Binary search between lo and hi bounds.
119409 while test "x$ac_lo" != "x$ac_hi"; do
119410 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
119411 cat >conftest.$ac_ext <<_ACEOF
119412 /* confdefs.h. */
119413 _ACEOF
119414 cat confdefs.h >>conftest.$ac_ext
119415 cat >>conftest.$ac_ext <<_ACEOF
119416 /* end confdefs.h. */
119417 $ac_includes_default
119419 main ()
119421 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119422 test_array [0] = 0
119425 return 0;
119427 _ACEOF
119428 rm -f conftest.$ac_objext
119429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119430 (eval $ac_compile) 2>conftest.er1
119431 ac_status=$?
119432 grep -v '^ *+' conftest.er1 >conftest.err
119433 rm -f conftest.er1
119434 cat conftest.err >&5
119435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119436 (exit $ac_status); } &&
119437 { ac_try='test -z "$ac_c_werror_flag"
119438 || test ! -s conftest.err'
119439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119440 (eval $ac_try) 2>&5
119441 ac_status=$?
119442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119443 (exit $ac_status); }; } &&
119444 { ac_try='test -s conftest.$ac_objext'
119445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119446 (eval $ac_try) 2>&5
119447 ac_status=$?
119448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119449 (exit $ac_status); }; }; then
119450 ac_hi=$ac_mid
119452 echo "$as_me: failed program was:" >&5
119453 sed 's/^/| /' conftest.$ac_ext >&5
119455 ac_lo=`expr '(' $ac_mid ')' + 1`
119457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119459 case $ac_lo in
119460 ?*) ac_cv_sizeof_char=$ac_lo;;
119461 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119462 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119464 See \`config.log' for more details." >&5
119465 echo "$as_me: error: cannot compute sizeof (char), 77
119466 See \`config.log' for more details." >&2;}
119467 { (exit 1); exit 1; }; }; } ;;
119470 if test "$cross_compiling" = yes; then
119471 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119472 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119473 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119474 See \`config.log' for more details." >&5
119475 echo "$as_me: error: cannot run test program while cross compiling
119476 See \`config.log' for more details." >&2;}
119477 { (exit 1); exit 1; }; }; }
119479 cat >conftest.$ac_ext <<_ACEOF
119480 /* confdefs.h. */
119481 _ACEOF
119482 cat confdefs.h >>conftest.$ac_ext
119483 cat >>conftest.$ac_ext <<_ACEOF
119484 /* end confdefs.h. */
119485 $ac_includes_default
119486 long longval () { return (long) (sizeof (char)); }
119487 unsigned long ulongval () { return (long) (sizeof (char)); }
119488 #include <stdio.h>
119489 #include <stdlib.h>
119491 main ()
119494 FILE *f = fopen ("conftest.val", "w");
119495 if (! f)
119496 exit (1);
119497 if (((long) (sizeof (char))) < 0)
119499 long i = longval ();
119500 if (i != ((long) (sizeof (char))))
119501 exit (1);
119502 fprintf (f, "%ld\n", i);
119506 unsigned long i = ulongval ();
119507 if (i != ((long) (sizeof (char))))
119508 exit (1);
119509 fprintf (f, "%lu\n", i);
119511 exit (ferror (f) || fclose (f) != 0);
119514 return 0;
119516 _ACEOF
119517 rm -f conftest$ac_exeext
119518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119519 (eval $ac_link) 2>&5
119520 ac_status=$?
119521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119524 (eval $ac_try) 2>&5
119525 ac_status=$?
119526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119527 (exit $ac_status); }; }; then
119528 ac_cv_sizeof_char=`cat conftest.val`
119530 echo "$as_me: program exited with status $ac_status" >&5
119531 echo "$as_me: failed program was:" >&5
119532 sed 's/^/| /' conftest.$ac_ext >&5
119534 ( exit $ac_status )
119535 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119536 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119538 See \`config.log' for more details." >&5
119539 echo "$as_me: error: cannot compute sizeof (char), 77
119540 See \`config.log' for more details." >&2;}
119541 { (exit 1); exit 1; }; }; }
119543 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119546 rm -f conftest.val
119548 ac_cv_sizeof_char=0
119551 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
119552 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
119553 cat >>confdefs.h <<_ACEOF
119554 #define SIZEOF_CHAR $ac_cv_sizeof_char
119555 _ACEOF
119559 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
119560 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
119561 case "$ac_cv_sizeof_char" in
119562 1) acx_cv_type_int8_t=char ;;
119563 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
119564 echo "$as_me: error: no 8-bit type" >&2;}
119565 { (exit please report a bug); exit please report a bug; }; }
119567 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
119568 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
119570 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
119571 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
119572 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
119573 2:*) acx_cv_type_int16_t=int ;;
119574 *:2) acx_cv_type_int16_t=short ;;
119575 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
119576 echo "$as_me: error: no 16-bit type" >&2;}
119577 { (exit please report a bug); exit please report a bug; }; }
119579 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
119580 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
119582 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
119583 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
119584 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
119585 4:*) acx_cv_type_int32_t=int ;;
119586 *:4) acx_cv_type_int32_t=long ;;
119587 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
119588 echo "$as_me: error: no 32-bit type" >&2;}
119589 { (exit please report a bug); exit please report a bug; }; }
119591 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
119592 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
119595 # These tests are here to make the output prettier
119597 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
119598 case "$ac_cv_sizeof_long" in
119599 8) acx_cv_type_int64_t=long ;;
119601 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
119602 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
119603 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
119604 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
119607 # Now we can use the above types
119609 if test "$ac_cv_type_uintptr_t" != yes; then
119610 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
119611 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
119612 case $ac_cv_sizeof_void_p in
119613 2) acx_cv_type_intptr_t=int16_t ;;
119614 4) acx_cv_type_intptr_t=int32_t ;;
119615 8) acx_cv_type_intptr_t=int64_t ;;
119616 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
119617 echo "$as_me: error: no equivalent for intptr_t" >&2;}
119618 { (exit please report a bug); exit please report a bug; }; }
119620 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
119621 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
119624 # ----------------- done all checks, emit header -------------
119625 ac_config_commands="$ac_config_commands include/gstdint.h"
119630 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
119633 # Check whether --enable-symvers or --disable-symvers was given.
119634 if test "${enable_symvers+set}" = set; then
119635 enableval="$enable_symvers"
119637 case "$enableval" in
119638 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
119639 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
119640 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
119641 { (exit 1); exit 1; }; } ;;
119645 enable_symvers=yes
119649 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
119650 # don't know enough about $LD to do tricks...
119653 # Turn a 'yes' into a suitable default.
119654 if test x$enable_symvers = xyes ; then
119655 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
119656 enable_symvers=no
119658 if test $with_gnu_ld = yes ; then
119659 enable_symvers=gnu
119661 case ${target_os} in
119662 darwin*)
119663 enable_symvers=darwin ;;
119665 enable_symvers=no ;;
119671 # Check to see if 'darwin' or 'darwin-export' can win.
119672 if test x$enable_symvers = xdarwin-export ; then
119673 enable_symvers=darwin
119676 # Check to see if 'gnu' can win.
119677 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
119678 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
119679 echo "$as_me:$LINENO: checking for shared libgcc" >&5
119680 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
119681 ac_save_CFLAGS="$CFLAGS"
119682 CFLAGS=' -lgcc_s'
119683 if test x$gcc_no_link = xyes; then
119684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119686 { (exit 1); exit 1; }; }
119688 cat >conftest.$ac_ext <<_ACEOF
119689 /* confdefs.h. */
119690 _ACEOF
119691 cat confdefs.h >>conftest.$ac_ext
119692 cat >>conftest.$ac_ext <<_ACEOF
119693 /* end confdefs.h. */
119696 main ()
119698 return 0;
119700 return 0;
119702 _ACEOF
119703 rm -f conftest.$ac_objext conftest$ac_exeext
119704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119705 (eval $ac_link) 2>conftest.er1
119706 ac_status=$?
119707 grep -v '^ *+' conftest.er1 >conftest.err
119708 rm -f conftest.er1
119709 cat conftest.err >&5
119710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119711 (exit $ac_status); } &&
119712 { ac_try='test -z "$ac_c_werror_flag"
119713 || test ! -s conftest.err'
119714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119715 (eval $ac_try) 2>&5
119716 ac_status=$?
119717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119718 (exit $ac_status); }; } &&
119719 { ac_try='test -s conftest$ac_exeext'
119720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119721 (eval $ac_try) 2>&5
119722 ac_status=$?
119723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119724 (exit $ac_status); }; }; then
119725 glibcxx_shared_libgcc=yes
119727 echo "$as_me: failed program was:" >&5
119728 sed 's/^/| /' conftest.$ac_ext >&5
119730 glibcxx_shared_libgcc=no
119732 rm -f conftest.err conftest.$ac_objext \
119733 conftest$ac_exeext conftest.$ac_ext
119734 CFLAGS="$ac_save_CFLAGS"
119735 if test $glibcxx_shared_libgcc = no; then
119736 cat > conftest.c <<EOF
119737 int main (void) { return 0; }
119739 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
119740 -shared -shared-libgcc -o conftest.so \
119741 conftest.c -v 2>&1 >/dev/null \
119742 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
119743 rm -f conftest.c conftest.so
119744 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
119745 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
119746 if test x$gcc_no_link = xyes; then
119747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119749 { (exit 1); exit 1; }; }
119751 cat >conftest.$ac_ext <<_ACEOF
119752 /* confdefs.h. */
119753 _ACEOF
119754 cat confdefs.h >>conftest.$ac_ext
119755 cat >>conftest.$ac_ext <<_ACEOF
119756 /* end confdefs.h. */
119759 main ()
119761 return 0;
119763 return 0;
119765 _ACEOF
119766 rm -f conftest.$ac_objext conftest$ac_exeext
119767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119768 (eval $ac_link) 2>conftest.er1
119769 ac_status=$?
119770 grep -v '^ *+' conftest.er1 >conftest.err
119771 rm -f conftest.er1
119772 cat conftest.err >&5
119773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119774 (exit $ac_status); } &&
119775 { ac_try='test -z "$ac_c_werror_flag"
119776 || test ! -s conftest.err'
119777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119778 (eval $ac_try) 2>&5
119779 ac_status=$?
119780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119781 (exit $ac_status); }; } &&
119782 { ac_try='test -s conftest$ac_exeext'
119783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119784 (eval $ac_try) 2>&5
119785 ac_status=$?
119786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119787 (exit $ac_status); }; }; then
119788 glibcxx_shared_libgcc=yes
119790 echo "$as_me: failed program was:" >&5
119791 sed 's/^/| /' conftest.$ac_ext >&5
119794 rm -f conftest.err conftest.$ac_objext \
119795 conftest$ac_exeext conftest.$ac_ext
119796 CFLAGS="$ac_save_CFLAGS"
119799 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
119800 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
119802 # For GNU ld, we need at least this version. The format is described in
119803 # GLIBCXX_CHECK_LINKER_FEATURES above.
119804 glibcxx_min_gnu_ld_version=21400
119806 # If no shared libgcc, can't win.
119807 if test $glibcxx_shared_libgcc != yes; then
119808 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119809 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119810 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
119811 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
119812 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119813 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119814 enable_symvers=no
119815 elif test $with_gnu_ld != yes ; then
119816 # just fail for now
119817 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119818 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119819 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
119820 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
119821 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119822 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119823 enable_symvers=no
119824 elif test $glibcxx_ld_is_gold = yes ; then
119825 : All versions of gold support symbol versioning.
119826 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
119827 # The right tools, the right setup, but too old. Fallbacks?
119828 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
119829 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
119830 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
119831 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
119832 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
119833 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
119834 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
119835 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
119836 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119837 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119838 enable_symvers=no
119842 # Everything parsed; figure out what file to use.
119843 case $enable_symvers in
119845 SYMVER_FILE=config/abi/pre/none.ver
119848 SYMVER_FILE=config/abi/pre/gnu.ver
119850 cat >>confdefs.h <<\_ACEOF
119851 #define _GLIBCXX_SYMVER_GNU 1
119852 _ACEOF
119855 gnu-versioned-namespace)
119856 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
119858 cat >>confdefs.h <<\_ACEOF
119859 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
119860 _ACEOF
119863 darwin)
119864 SYMVER_FILE=config/abi/pre/gnu.ver
119866 cat >>confdefs.h <<\_ACEOF
119867 #define _GLIBCXX_SYMVER_DARWIN 1
119868 _ACEOF
119873 if test x$enable_symvers != xno ; then
119875 cat >>confdefs.h <<\_ACEOF
119876 #define _GLIBCXX_SYMVER 1
119877 _ACEOF
119887 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
119888 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
119890 # Now, set up compatibility support, if any.
119891 # In addition, need this to deal with std::size_t mangling in
119892 # src/compatibility.cc. In a perfect world, could use
119893 # typeid(std::size_t).name()[0] to do direct substitution.
119894 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
119895 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
119896 ac_save_CFLAGS="$CFLAGS"
119897 CFLAGS="-Werror"
119898 cat >conftest.$ac_ext <<_ACEOF
119899 /* confdefs.h. */
119900 _ACEOF
119901 cat confdefs.h >>conftest.$ac_ext
119902 cat >>conftest.$ac_ext <<_ACEOF
119903 /* end confdefs.h. */
119906 main ()
119908 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119910 return 0;
119912 _ACEOF
119913 rm -f conftest.$ac_objext
119914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119915 (eval $ac_compile) 2>conftest.er1
119916 ac_status=$?
119917 grep -v '^ *+' conftest.er1 >conftest.err
119918 rm -f conftest.er1
119919 cat conftest.err >&5
119920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119921 (exit $ac_status); } &&
119922 { ac_try='test -z "$ac_c_werror_flag"
119923 || test ! -s conftest.err'
119924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119925 (eval $ac_try) 2>&5
119926 ac_status=$?
119927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119928 (exit $ac_status); }; } &&
119929 { ac_try='test -s conftest.$ac_objext'
119930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119931 (eval $ac_try) 2>&5
119932 ac_status=$?
119933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119934 (exit $ac_status); }; }; then
119935 glibcxx_size_t_is_i=yes
119937 echo "$as_me: failed program was:" >&5
119938 sed 's/^/| /' conftest.$ac_ext >&5
119940 glibcxx_size_t_is_i=no
119942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119943 CFLAGS=$ac_save_CFLAGS
119944 if test "$glibcxx_size_t_is_i" = yes; then
119946 cat >>confdefs.h <<\_ACEOF
119947 #define _GLIBCXX_SIZE_T_IS_UINT 1
119948 _ACEOF
119951 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119952 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119954 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119955 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119956 ac_save_CFLAGS="$CFLAGS"
119957 CFLAGS="-Werror"
119958 cat >conftest.$ac_ext <<_ACEOF
119959 /* confdefs.h. */
119960 _ACEOF
119961 cat confdefs.h >>conftest.$ac_ext
119962 cat >>conftest.$ac_ext <<_ACEOF
119963 /* end confdefs.h. */
119966 main ()
119968 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119970 return 0;
119972 _ACEOF
119973 rm -f conftest.$ac_objext
119974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119975 (eval $ac_compile) 2>conftest.er1
119976 ac_status=$?
119977 grep -v '^ *+' conftest.er1 >conftest.err
119978 rm -f conftest.er1
119979 cat conftest.err >&5
119980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119981 (exit $ac_status); } &&
119982 { ac_try='test -z "$ac_c_werror_flag"
119983 || test ! -s conftest.err'
119984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119985 (eval $ac_try) 2>&5
119986 ac_status=$?
119987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119988 (exit $ac_status); }; } &&
119989 { ac_try='test -s conftest.$ac_objext'
119990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119991 (eval $ac_try) 2>&5
119992 ac_status=$?
119993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119994 (exit $ac_status); }; }; then
119995 glibcxx_ptrdiff_t_is_i=yes
119997 echo "$as_me: failed program was:" >&5
119998 sed 's/^/| /' conftest.$ac_ext >&5
120000 glibcxx_ptrdiff_t_is_i=no
120002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120003 CFLAGS=$ac_save_CFLAGS
120004 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
120006 cat >>confdefs.h <<\_ACEOF
120007 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
120008 _ACEOF
120011 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
120012 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
120015 # Check whether --enable-visibility or --disable-visibility was given.
120016 if test "${enable_visibility+set}" = set; then
120017 enableval="$enable_visibility"
120019 case "$enableval" in
120020 yes|no) ;;
120021 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
120022 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
120023 { (exit 1); exit 1; }; } ;;
120027 enable_visibility=yes
120031 if test x$enable_visibility = xyes ; then
120032 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
120033 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
120034 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
120035 echo $ECHO_N "(cached) $ECHO_C" >&6
120038 save_CFLAGS="$CFLAGS"
120039 CFLAGS="$CFLAGS -Werror"
120040 cat >conftest.$ac_ext <<_ACEOF
120041 /* confdefs.h. */
120042 _ACEOF
120043 cat confdefs.h >>conftest.$ac_ext
120044 cat >>conftest.$ac_ext <<_ACEOF
120045 /* end confdefs.h. */
120046 void __attribute__((visibility("hidden"))) foo(void) { }
120048 main ()
120052 return 0;
120054 _ACEOF
120055 rm -f conftest.$ac_objext
120056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120057 (eval $ac_compile) 2>conftest.er1
120058 ac_status=$?
120059 grep -v '^ *+' conftest.er1 >conftest.err
120060 rm -f conftest.er1
120061 cat conftest.err >&5
120062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120063 (exit $ac_status); } &&
120064 { ac_try='test -z "$ac_c_werror_flag"
120065 || test ! -s conftest.err'
120066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120067 (eval $ac_try) 2>&5
120068 ac_status=$?
120069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120070 (exit $ac_status); }; } &&
120071 { ac_try='test -s conftest.$ac_objext'
120072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120073 (eval $ac_try) 2>&5
120074 ac_status=$?
120075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120076 (exit $ac_status); }; }; then
120077 glibcxx_cv_have_attribute_visibility=yes
120079 echo "$as_me: failed program was:" >&5
120080 sed 's/^/| /' conftest.$ac_ext >&5
120082 glibcxx_cv_have_attribute_visibility=no
120084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120085 CFLAGS="$save_CFLAGS"
120087 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
120088 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
120089 if test $glibcxx_cv_have_attribute_visibility = no; then
120090 enable_visibility=no
120095 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
120096 echo "$as_me: visibility supported: $enable_visibility" >&6;}
120099 ac_ldbl_compat=no
120100 case "$target" in
120101 powerpc*-*-linux* | \
120102 powerpc*-*-gnu* | \
120103 sparc*-*-linux* | \
120104 s390*-*-linux* | \
120105 alpha*-*-linux*)
120106 cat >conftest.$ac_ext <<_ACEOF
120107 /* confdefs.h. */
120108 _ACEOF
120109 cat confdefs.h >>conftest.$ac_ext
120110 cat >>conftest.$ac_ext <<_ACEOF
120111 /* end confdefs.h. */
120114 main ()
120117 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
120118 #error no need for long double compatibility
120119 #endif
120122 return 0;
120124 _ACEOF
120125 rm -f conftest.$ac_objext
120126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120127 (eval $ac_compile) 2>conftest.er1
120128 ac_status=$?
120129 grep -v '^ *+' conftest.er1 >conftest.err
120130 rm -f conftest.er1
120131 cat conftest.err >&5
120132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120133 (exit $ac_status); } &&
120134 { ac_try='test -z "$ac_c_werror_flag"
120135 || test ! -s conftest.err'
120136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120137 (eval $ac_try) 2>&5
120138 ac_status=$?
120139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120140 (exit $ac_status); }; } &&
120141 { ac_try='test -s conftest.$ac_objext'
120142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120143 (eval $ac_try) 2>&5
120144 ac_status=$?
120145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120146 (exit $ac_status); }; }; then
120147 ac_ldbl_compat=yes
120149 echo "$as_me: failed program was:" >&5
120150 sed 's/^/| /' conftest.$ac_ext >&5
120152 ac_ldbl_compat=no
120154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120155 if test "$ac_ldbl_compat" = yes; then
120157 cat >>confdefs.h <<\_ACEOF
120158 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
120159 _ACEOF
120161 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
120166 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
120168 if $GLIBCXX_IS_NATIVE ; then
120169 # Do checks for resource limit functions.
120171 setrlimit_have_headers=yes
120175 for ac_header in unistd.h sys/time.h sys/resource.h
120177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
120178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120179 echo "$as_me:$LINENO: checking for $ac_header" >&5
120180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120182 echo $ECHO_N "(cached) $ECHO_C" >&6
120184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120187 # Is the header compilable?
120188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
120189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
120190 cat >conftest.$ac_ext <<_ACEOF
120191 /* confdefs.h. */
120192 _ACEOF
120193 cat confdefs.h >>conftest.$ac_ext
120194 cat >>conftest.$ac_ext <<_ACEOF
120195 /* end confdefs.h. */
120196 $ac_includes_default
120197 #include <$ac_header>
120198 _ACEOF
120199 rm -f conftest.$ac_objext
120200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120201 (eval $ac_compile) 2>conftest.er1
120202 ac_status=$?
120203 grep -v '^ *+' conftest.er1 >conftest.err
120204 rm -f conftest.er1
120205 cat conftest.err >&5
120206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120207 (exit $ac_status); } &&
120208 { ac_try='test -z "$ac_c_werror_flag"
120209 || test ! -s conftest.err'
120210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120211 (eval $ac_try) 2>&5
120212 ac_status=$?
120213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120214 (exit $ac_status); }; } &&
120215 { ac_try='test -s conftest.$ac_objext'
120216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120217 (eval $ac_try) 2>&5
120218 ac_status=$?
120219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120220 (exit $ac_status); }; }; then
120221 ac_header_compiler=yes
120223 echo "$as_me: failed program was:" >&5
120224 sed 's/^/| /' conftest.$ac_ext >&5
120226 ac_header_compiler=no
120228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
120230 echo "${ECHO_T}$ac_header_compiler" >&6
120232 # Is the header present?
120233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
120234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
120235 cat >conftest.$ac_ext <<_ACEOF
120236 /* confdefs.h. */
120237 _ACEOF
120238 cat confdefs.h >>conftest.$ac_ext
120239 cat >>conftest.$ac_ext <<_ACEOF
120240 /* end confdefs.h. */
120241 #include <$ac_header>
120242 _ACEOF
120243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
120244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
120245 ac_status=$?
120246 grep -v '^ *+' conftest.er1 >conftest.err
120247 rm -f conftest.er1
120248 cat conftest.err >&5
120249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120250 (exit $ac_status); } >/dev/null; then
120251 if test -s conftest.err; then
120252 ac_cpp_err=$ac_c_preproc_warn_flag
120253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
120255 ac_cpp_err=
120258 ac_cpp_err=yes
120260 if test -z "$ac_cpp_err"; then
120261 ac_header_preproc=yes
120263 echo "$as_me: failed program was:" >&5
120264 sed 's/^/| /' conftest.$ac_ext >&5
120266 ac_header_preproc=no
120268 rm -f conftest.err conftest.$ac_ext
120269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
120270 echo "${ECHO_T}$ac_header_preproc" >&6
120272 # So? What about this header?
120273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
120274 yes:no: )
120275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
120276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
120277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
120278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
120279 ac_header_preproc=yes
120281 no:yes:* )
120282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
120283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
120284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
120285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
120286 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
120287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
120288 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
120289 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
120290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
120291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
120292 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
120293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
120295 cat <<\_ASBOX
120296 ## ----------------------------------------- ##
120297 ## Report this to the package-unused lists. ##
120298 ## ----------------------------------------- ##
120299 _ASBOX
120301 sed "s/^/$as_me: WARNING: /" >&2
120304 echo "$as_me:$LINENO: checking for $ac_header" >&5
120305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120307 echo $ECHO_N "(cached) $ECHO_C" >&6
120309 eval "$as_ac_Header=\$ac_header_preproc"
120311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
120316 cat >>confdefs.h <<_ACEOF
120317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
120318 _ACEOF
120321 setrlimit_have_headers=no
120326 # If don't have the headers, then we can't run the tests now, and we
120327 # won't be seeing any of these during testsuite compilation.
120328 if test $setrlimit_have_headers = yes; then
120329 # Can't do these in a loop, else the resulting syntax is wrong.
120331 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
120332 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
120333 cat >conftest.$ac_ext <<_ACEOF
120334 /* confdefs.h. */
120335 _ACEOF
120336 cat confdefs.h >>conftest.$ac_ext
120337 cat >>conftest.$ac_ext <<_ACEOF
120338 /* end confdefs.h. */
120339 #include <unistd.h>
120340 #include <sys/time.h>
120341 #include <sys/resource.h>
120344 main ()
120346 int f = RLIMIT_DATA ;
120348 return 0;
120350 _ACEOF
120351 rm -f conftest.$ac_objext
120352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120353 (eval $ac_compile) 2>conftest.er1
120354 ac_status=$?
120355 grep -v '^ *+' conftest.er1 >conftest.err
120356 rm -f conftest.er1
120357 cat conftest.err >&5
120358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120359 (exit $ac_status); } &&
120360 { ac_try='test -z "$ac_c_werror_flag"
120361 || test ! -s conftest.err'
120362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120363 (eval $ac_try) 2>&5
120364 ac_status=$?
120365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120366 (exit $ac_status); }; } &&
120367 { ac_try='test -s conftest.$ac_objext'
120368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120369 (eval $ac_try) 2>&5
120370 ac_status=$?
120371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120372 (exit $ac_status); }; }; then
120373 glibcxx_mresult=1
120375 echo "$as_me: failed program was:" >&5
120376 sed 's/^/| /' conftest.$ac_ext >&5
120378 glibcxx_mresult=0
120380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120382 cat >>confdefs.h <<_ACEOF
120383 #define HAVE_LIMIT_DATA $glibcxx_mresult
120384 _ACEOF
120386 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120387 echo "$as_me:$LINENO: result: $res" >&5
120388 echo "${ECHO_T}$res" >&6
120391 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
120392 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
120393 cat >conftest.$ac_ext <<_ACEOF
120394 /* confdefs.h. */
120395 _ACEOF
120396 cat confdefs.h >>conftest.$ac_ext
120397 cat >>conftest.$ac_ext <<_ACEOF
120398 /* end confdefs.h. */
120399 #include <unistd.h>
120400 #include <sys/time.h>
120401 #include <sys/resource.h>
120404 main ()
120406 int f = RLIMIT_RSS ;
120408 return 0;
120410 _ACEOF
120411 rm -f conftest.$ac_objext
120412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120413 (eval $ac_compile) 2>conftest.er1
120414 ac_status=$?
120415 grep -v '^ *+' conftest.er1 >conftest.err
120416 rm -f conftest.er1
120417 cat conftest.err >&5
120418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120419 (exit $ac_status); } &&
120420 { ac_try='test -z "$ac_c_werror_flag"
120421 || test ! -s conftest.err'
120422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120423 (eval $ac_try) 2>&5
120424 ac_status=$?
120425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120426 (exit $ac_status); }; } &&
120427 { ac_try='test -s conftest.$ac_objext'
120428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120429 (eval $ac_try) 2>&5
120430 ac_status=$?
120431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120432 (exit $ac_status); }; }; then
120433 glibcxx_mresult=1
120435 echo "$as_me: failed program was:" >&5
120436 sed 's/^/| /' conftest.$ac_ext >&5
120438 glibcxx_mresult=0
120440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120442 cat >>confdefs.h <<_ACEOF
120443 #define HAVE_LIMIT_RSS $glibcxx_mresult
120444 _ACEOF
120446 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120447 echo "$as_me:$LINENO: result: $res" >&5
120448 echo "${ECHO_T}$res" >&6
120451 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
120452 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
120453 cat >conftest.$ac_ext <<_ACEOF
120454 /* confdefs.h. */
120455 _ACEOF
120456 cat confdefs.h >>conftest.$ac_ext
120457 cat >>conftest.$ac_ext <<_ACEOF
120458 /* end confdefs.h. */
120459 #include <unistd.h>
120460 #include <sys/time.h>
120461 #include <sys/resource.h>
120464 main ()
120466 int f = RLIMIT_VMEM ;
120468 return 0;
120470 _ACEOF
120471 rm -f conftest.$ac_objext
120472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120473 (eval $ac_compile) 2>conftest.er1
120474 ac_status=$?
120475 grep -v '^ *+' conftest.er1 >conftest.err
120476 rm -f conftest.er1
120477 cat conftest.err >&5
120478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120479 (exit $ac_status); } &&
120480 { ac_try='test -z "$ac_c_werror_flag"
120481 || test ! -s conftest.err'
120482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120483 (eval $ac_try) 2>&5
120484 ac_status=$?
120485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120486 (exit $ac_status); }; } &&
120487 { ac_try='test -s conftest.$ac_objext'
120488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120489 (eval $ac_try) 2>&5
120490 ac_status=$?
120491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120492 (exit $ac_status); }; }; then
120493 glibcxx_mresult=1
120495 echo "$as_me: failed program was:" >&5
120496 sed 's/^/| /' conftest.$ac_ext >&5
120498 glibcxx_mresult=0
120500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120502 cat >>confdefs.h <<_ACEOF
120503 #define HAVE_LIMIT_VMEM $glibcxx_mresult
120504 _ACEOF
120506 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120507 echo "$as_me:$LINENO: result: $res" >&5
120508 echo "${ECHO_T}$res" >&6
120511 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
120512 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
120513 cat >conftest.$ac_ext <<_ACEOF
120514 /* confdefs.h. */
120515 _ACEOF
120516 cat confdefs.h >>conftest.$ac_ext
120517 cat >>conftest.$ac_ext <<_ACEOF
120518 /* end confdefs.h. */
120519 #include <unistd.h>
120520 #include <sys/time.h>
120521 #include <sys/resource.h>
120524 main ()
120526 int f = RLIMIT_AS ;
120528 return 0;
120530 _ACEOF
120531 rm -f conftest.$ac_objext
120532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120533 (eval $ac_compile) 2>conftest.er1
120534 ac_status=$?
120535 grep -v '^ *+' conftest.er1 >conftest.err
120536 rm -f conftest.er1
120537 cat conftest.err >&5
120538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120539 (exit $ac_status); } &&
120540 { ac_try='test -z "$ac_c_werror_flag"
120541 || test ! -s conftest.err'
120542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120543 (eval $ac_try) 2>&5
120544 ac_status=$?
120545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120546 (exit $ac_status); }; } &&
120547 { ac_try='test -s conftest.$ac_objext'
120548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120549 (eval $ac_try) 2>&5
120550 ac_status=$?
120551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120552 (exit $ac_status); }; }; then
120553 glibcxx_mresult=1
120555 echo "$as_me: failed program was:" >&5
120556 sed 's/^/| /' conftest.$ac_ext >&5
120558 glibcxx_mresult=0
120560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120562 cat >>confdefs.h <<_ACEOF
120563 #define HAVE_LIMIT_AS $glibcxx_mresult
120564 _ACEOF
120566 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120567 echo "$as_me:$LINENO: result: $res" >&5
120568 echo "${ECHO_T}$res" >&6
120571 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
120572 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
120573 cat >conftest.$ac_ext <<_ACEOF
120574 /* confdefs.h. */
120575 _ACEOF
120576 cat confdefs.h >>conftest.$ac_ext
120577 cat >>conftest.$ac_ext <<_ACEOF
120578 /* end confdefs.h. */
120579 #include <unistd.h>
120580 #include <sys/time.h>
120581 #include <sys/resource.h>
120584 main ()
120586 int f = RLIMIT_FSIZE ;
120588 return 0;
120590 _ACEOF
120591 rm -f conftest.$ac_objext
120592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120593 (eval $ac_compile) 2>conftest.er1
120594 ac_status=$?
120595 grep -v '^ *+' conftest.er1 >conftest.err
120596 rm -f conftest.er1
120597 cat conftest.err >&5
120598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120599 (exit $ac_status); } &&
120600 { ac_try='test -z "$ac_c_werror_flag"
120601 || test ! -s conftest.err'
120602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120603 (eval $ac_try) 2>&5
120604 ac_status=$?
120605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120606 (exit $ac_status); }; } &&
120607 { ac_try='test -s conftest.$ac_objext'
120608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120609 (eval $ac_try) 2>&5
120610 ac_status=$?
120611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120612 (exit $ac_status); }; }; then
120613 glibcxx_mresult=1
120615 echo "$as_me: failed program was:" >&5
120616 sed 's/^/| /' conftest.$ac_ext >&5
120618 glibcxx_mresult=0
120620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120622 cat >>confdefs.h <<_ACEOF
120623 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
120624 _ACEOF
120626 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120627 echo "$as_me:$LINENO: result: $res" >&5
120628 echo "${ECHO_T}$res" >&6
120631 # Check for rlimit, setrlimit.
120632 if test "${glibcxx_cv_setrlimit+set}" = set; then
120633 echo $ECHO_N "(cached) $ECHO_C" >&6
120636 cat >conftest.$ac_ext <<_ACEOF
120637 /* confdefs.h. */
120638 _ACEOF
120639 cat confdefs.h >>conftest.$ac_ext
120640 cat >>conftest.$ac_ext <<_ACEOF
120641 /* end confdefs.h. */
120642 #include <unistd.h>
120643 #include <sys/time.h>
120644 #include <sys/resource.h>
120647 main ()
120649 struct rlimit r;
120650 setrlimit(0, &r);
120652 return 0;
120654 _ACEOF
120655 rm -f conftest.$ac_objext
120656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120657 (eval $ac_compile) 2>conftest.er1
120658 ac_status=$?
120659 grep -v '^ *+' conftest.er1 >conftest.err
120660 rm -f conftest.er1
120661 cat conftest.err >&5
120662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120663 (exit $ac_status); } &&
120664 { ac_try='test -z "$ac_c_werror_flag"
120665 || test ! -s conftest.err'
120666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120667 (eval $ac_try) 2>&5
120668 ac_status=$?
120669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120670 (exit $ac_status); }; } &&
120671 { ac_try='test -s conftest.$ac_objext'
120672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120673 (eval $ac_try) 2>&5
120674 ac_status=$?
120675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120676 (exit $ac_status); }; }; then
120677 glibcxx_cv_setrlimit=yes
120679 echo "$as_me: failed program was:" >&5
120680 sed 's/^/| /' conftest.$ac_ext >&5
120682 glibcxx_cv_setrlimit=no
120684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120690 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
120691 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
120692 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
120693 ac_res_limits=yes
120695 cat >>confdefs.h <<\_ACEOF
120696 #define _GLIBCXX_RES_LIMITS 1
120697 _ACEOF
120700 ac_res_limits=no
120702 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
120703 echo "${ECHO_T}$ac_res_limits" >&6
120706 # Look for setenv, so that extended locale tests can be performed.
120708 echo "$as_me:$LINENO: checking for setenv declaration" >&5
120709 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
120710 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
120711 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
120712 echo $ECHO_N "(cached) $ECHO_C" >&6
120717 ac_ext=cc
120718 ac_cpp='$CXXCPP $CPPFLAGS'
120719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120723 cat >conftest.$ac_ext <<_ACEOF
120724 /* confdefs.h. */
120725 _ACEOF
120726 cat confdefs.h >>conftest.$ac_ext
120727 cat >>conftest.$ac_ext <<_ACEOF
120728 /* end confdefs.h. */
120729 #include <stdlib.h>
120731 main ()
120733 setenv(0, 0, 0);
120735 return 0;
120737 _ACEOF
120738 rm -f conftest.$ac_objext
120739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120740 (eval $ac_compile) 2>conftest.er1
120741 ac_status=$?
120742 grep -v '^ *+' conftest.er1 >conftest.err
120743 rm -f conftest.er1
120744 cat conftest.err >&5
120745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120746 (exit $ac_status); } &&
120747 { ac_try='test -z "$ac_cxx_werror_flag"
120748 || test ! -s conftest.err'
120749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120750 (eval $ac_try) 2>&5
120751 ac_status=$?
120752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120753 (exit $ac_status); }; } &&
120754 { ac_try='test -s conftest.$ac_objext'
120755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120756 (eval $ac_try) 2>&5
120757 ac_status=$?
120758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120759 (exit $ac_status); }; }; then
120760 glibcxx_cv_func_setenv_use=yes
120762 echo "$as_me: failed program was:" >&5
120763 sed 's/^/| /' conftest.$ac_ext >&5
120765 glibcxx_cv_func_setenv_use=no
120767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120768 ac_ext=c
120769 ac_cpp='$CPP $CPPFLAGS'
120770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
120779 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
120780 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
120782 for ac_func in setenv
120784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120785 echo "$as_me:$LINENO: checking for $ac_func" >&5
120786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120787 if eval "test \"\${$as_ac_var+set}\" = set"; then
120788 echo $ECHO_N "(cached) $ECHO_C" >&6
120790 if test x$gcc_no_link = xyes; then
120791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120793 { (exit 1); exit 1; }; }
120795 cat >conftest.$ac_ext <<_ACEOF
120796 /* confdefs.h. */
120797 _ACEOF
120798 cat confdefs.h >>conftest.$ac_ext
120799 cat >>conftest.$ac_ext <<_ACEOF
120800 /* end confdefs.h. */
120801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120803 #define $ac_func innocuous_$ac_func
120805 /* System header to define __stub macros and hopefully few prototypes,
120806 which can conflict with char $ac_func (); below.
120807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120808 <limits.h> exists even on freestanding compilers. */
120810 #ifdef __STDC__
120811 # include <limits.h>
120812 #else
120813 # include <assert.h>
120814 #endif
120816 #undef $ac_func
120818 /* Override any gcc2 internal prototype to avoid an error. */
120819 #ifdef __cplusplus
120820 extern "C"
120822 #endif
120823 /* We use char because int might match the return type of a gcc2
120824 builtin and then its argument prototype would still apply. */
120825 char $ac_func ();
120826 /* The GNU C library defines this for functions which it implements
120827 to always fail with ENOSYS. Some functions are actually named
120828 something starting with __ and the normal name is an alias. */
120829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120830 choke me
120831 #else
120832 char (*f) () = $ac_func;
120833 #endif
120834 #ifdef __cplusplus
120836 #endif
120839 main ()
120841 return f != $ac_func;
120843 return 0;
120845 _ACEOF
120846 rm -f conftest.$ac_objext conftest$ac_exeext
120847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120848 (eval $ac_link) 2>conftest.er1
120849 ac_status=$?
120850 grep -v '^ *+' conftest.er1 >conftest.err
120851 rm -f conftest.er1
120852 cat conftest.err >&5
120853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120854 (exit $ac_status); } &&
120855 { ac_try='test -z "$ac_c_werror_flag"
120856 || test ! -s conftest.err'
120857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120858 (eval $ac_try) 2>&5
120859 ac_status=$?
120860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120861 (exit $ac_status); }; } &&
120862 { ac_try='test -s conftest$ac_exeext'
120863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120864 (eval $ac_try) 2>&5
120865 ac_status=$?
120866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120867 (exit $ac_status); }; }; then
120868 eval "$as_ac_var=yes"
120870 echo "$as_me: failed program was:" >&5
120871 sed 's/^/| /' conftest.$ac_ext >&5
120873 eval "$as_ac_var=no"
120875 rm -f conftest.err conftest.$ac_objext \
120876 conftest$ac_exeext conftest.$ac_ext
120878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120880 if test `eval echo '${'$as_ac_var'}'` = yes; then
120881 cat >>confdefs.h <<_ACEOF
120882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120883 _ACEOF
120892 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
120893 test $enable_symvers != no; then
120894 case "$host" in
120895 *-*-cygwin*)
120896 enable_abi_check=no ;;
120898 enable_abi_check=yes ;;
120901 # Only build this as native, since automake does not understand
120902 # CXX_FOR_BUILD.
120903 enable_abi_check=no
120906 # Export file names for ABI checking.
120907 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120911 # Propagate the target-specific source directories through the build chain.
120912 ATOMICITY_SRCDIR=config/${atomicity_dir}
120913 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120914 ATOMIC_FLAGS=${atomic_flags}
120915 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120916 OS_INC_SRCDIR=config/${os_include_dir}
120917 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120918 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120928 # Determine cross-compile flags and AM_CONDITIONALs.
120929 #AC_SUBST(GLIBCXX_IS_NATIVE)
120930 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120931 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120932 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
120935 if test $is_hosted = yes; then
120936 GLIBCXX_HOSTED_TRUE=
120937 GLIBCXX_HOSTED_FALSE='#'
120939 GLIBCXX_HOSTED_TRUE='#'
120940 GLIBCXX_HOSTED_FALSE=
120946 if test $enable_libstdcxx_pch = yes; then
120947 GLIBCXX_BUILD_PCH_TRUE=
120948 GLIBCXX_BUILD_PCH_FALSE='#'
120950 GLIBCXX_BUILD_PCH_TRUE='#'
120951 GLIBCXX_BUILD_PCH_FALSE=
120957 if test $enable_cheaders = c; then
120958 GLIBCXX_C_HEADERS_C_TRUE=
120959 GLIBCXX_C_HEADERS_C_FALSE='#'
120961 GLIBCXX_C_HEADERS_C_TRUE='#'
120962 GLIBCXX_C_HEADERS_C_FALSE=
120968 if test $enable_cheaders = c_std; then
120969 GLIBCXX_C_HEADERS_C_STD_TRUE=
120970 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120972 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120973 GLIBCXX_C_HEADERS_C_STD_FALSE=
120979 if test $enable_cheaders = c_global; then
120980 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120981 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120983 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120984 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120990 if test $c_compatibility = yes; then
120991 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120992 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120994 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120995 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
121001 if test $c_extra = yes; then
121002 GLIBCXX_C_HEADERS_EXTRA_TRUE=
121003 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
121005 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
121006 GLIBCXX_C_HEADERS_EXTRA_FALSE=
121012 if test $enable_libstdcxx_debug = yes; then
121013 GLIBCXX_BUILD_DEBUG_TRUE=
121014 GLIBCXX_BUILD_DEBUG_FALSE='#'
121016 GLIBCXX_BUILD_DEBUG_TRUE='#'
121017 GLIBCXX_BUILD_DEBUG_FALSE=
121023 if test $enable_parallel = yes; then
121024 ENABLE_PARALLEL_TRUE=
121025 ENABLE_PARALLEL_FALSE='#'
121027 ENABLE_PARALLEL_TRUE='#'
121028 ENABLE_PARALLEL_FALSE=
121034 if test $enable_symvers != no; then
121035 ENABLE_SYMVERS_TRUE=
121036 ENABLE_SYMVERS_FALSE='#'
121038 ENABLE_SYMVERS_TRUE='#'
121039 ENABLE_SYMVERS_FALSE=
121045 if test $enable_symvers = gnu; then
121046 ENABLE_SYMVERS_GNU_TRUE=
121047 ENABLE_SYMVERS_GNU_FALSE='#'
121049 ENABLE_SYMVERS_GNU_TRUE='#'
121050 ENABLE_SYMVERS_GNU_FALSE=
121056 if test $enable_symvers = gnu-versioned-namespace; then
121057 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
121058 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
121060 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
121061 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
121067 if test $enable_symvers = darwin; then
121068 ENABLE_SYMVERS_DARWIN_TRUE=
121069 ENABLE_SYMVERS_DARWIN_FALSE='#'
121071 ENABLE_SYMVERS_DARWIN_TRUE='#'
121072 ENABLE_SYMVERS_DARWIN_FALSE=
121078 if test $enable_visibility = yes; then
121079 ENABLE_VISIBILITY_TRUE=
121080 ENABLE_VISIBILITY_FALSE='#'
121082 ENABLE_VISIBILITY_TRUE='#'
121083 ENABLE_VISIBILITY_FALSE=
121089 if test $ac_ldbl_compat = yes; then
121090 GLIBCXX_LDBL_COMPAT_TRUE=
121091 GLIBCXX_LDBL_COMPAT_FALSE='#'
121093 GLIBCXX_LDBL_COMPAT_TRUE='#'
121094 GLIBCXX_LDBL_COMPAT_FALSE=
121100 cat >confcache <<\_ACEOF
121101 # This file is a shell script that caches the results of configure
121102 # tests run on this system so they can be shared between configure
121103 # scripts and configure runs, see configure's option --config-cache.
121104 # It is not useful on other systems. If it contains results you don't
121105 # want to keep, you may remove or edit it.
121107 # config.status only pays attention to the cache file if you give it
121108 # the --recheck option to rerun configure.
121110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121112 # following values.
121114 _ACEOF
121116 # The following way of writing the cache mishandles newlines in values,
121117 # but we know of no workaround that is simple, portable, and efficient.
121118 # So, don't put newlines in cache variables' values.
121119 # Ultrix sh set writes to stderr and can't be redirected directly,
121120 # and sets the high bit in the cache file unless we assign to the vars.
121122 (set) 2>&1 |
121123 case `(ac_space=' '; set | grep ac_space) 2>&1` in
121124 *ac_space=\ *)
121125 # `set' does not quote correctly, so add quotes (double-quote
121126 # substitution turns \\\\ into \\, and sed turns \\ into \).
121127 sed -n \
121128 "s/'/'\\\\''/g;
121129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121132 # `set' quotes correctly as required by POSIX, so do not add quotes.
121133 sed -n \
121134 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121136 esac;
121138 sed '
121139 t clear
121140 : clear
121141 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121142 t end
121143 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121144 : end' >>confcache
121145 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121146 if test -w $cache_file; then
121147 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121148 cat confcache >$cache_file
121150 echo "not updating unwritable cache $cache_file"
121153 rm -f confcache
121155 if test ${multilib} = yes; then
121156 multilib_arg="--enable-multilib"
121158 multilib_arg=
121161 # Export all the install information.
121163 glibcxx_toolexecdir=no
121164 glibcxx_toolexeclibdir=no
121165 glibcxx_prefixdir=$prefix
121167 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
121168 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
121170 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
121171 if test "${with_gxx_include_dir+set}" = set; then
121172 withval="$with_gxx_include_dir"
121173 case "$withval" in
121174 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
121175 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
121176 { (exit 1); exit 1; }; } ;;
121177 no) gxx_include_dir=no ;;
121178 *) gxx_include_dir=$withval ;;
121181 gxx_include_dir=no
121183 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121184 echo "${ECHO_T}$gxx_include_dir" >&6
121186 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
121187 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
121188 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
121189 if test "${enable_version_specific_runtime_libs+set}" = set; then
121190 enableval="$enable_version_specific_runtime_libs"
121191 case "$enableval" in
121192 yes) version_specific_libs=yes ;;
121193 no) version_specific_libs=no ;;
121194 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
121195 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
121196 { (exit 1); exit 1; }; };;
121199 version_specific_libs=no
121201 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
121202 echo "${ECHO_T}$version_specific_libs" >&6
121204 # Default case for install directory for include files.
121205 if test $version_specific_libs = no && test $gxx_include_dir = no; then
121206 gxx_include_dir='include/c++/${gcc_version}'
121207 if test -n "$with_cross_host" &&
121208 test x"$with_cross_host" != x"no"; then
121209 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
121211 gxx_include_dir='${prefix}/'"$gxx_include_dir"
121215 # Version-specific runtime libs processing.
121216 if test $version_specific_libs = yes; then
121217 # Need the gcc compiler version to know where to install libraries
121218 # and header files if --enable-version-specific-runtime-libs option
121219 # is selected. FIXME: these variables are misnamed, there are
121220 # no executables installed in _toolexecdir or _toolexeclibdir.
121221 if test x"$gxx_include_dir" = x"no"; then
121222 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
121224 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121225 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
121228 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
121229 # Install a library built with a cross compiler in tooldir, not libdir.
121230 if test x"$glibcxx_toolexecdir" = x"no"; then
121231 if test -n "$with_cross_host" &&
121232 test x"$with_cross_host" != x"no"; then
121233 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
121234 glibcxx_toolexeclibdir='${toolexecdir}/lib'
121236 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121237 glibcxx_toolexeclibdir='${libdir}'
121239 multi_os_directory=`$CXX -print-multi-os-directory`
121240 case $multi_os_directory in
121241 .) ;; # Avoid trailing /.
121242 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
121246 echo "$as_me:$LINENO: checking for install location" >&5
121247 echo $ECHO_N "checking for install location... $ECHO_C" >&6
121248 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121249 echo "${ECHO_T}$gxx_include_dir" >&6
121257 # Export all the include and flag information to Makefiles.
121259 # Used for every C++ compile we perform.
121260 GLIBCXX_INCLUDES="\
121261 -I$glibcxx_builddir/include/$host_alias \
121262 -I$glibcxx_builddir/include \
121263 -I$glibcxx_srcdir/libsupc++"
121265 # For Canadian crosses, pick this up too.
121266 if test $CANADIAN = yes; then
121267 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
121270 # Stuff in the actual top level. Currently only used by libsupc++ to
121271 # get unwind* headers from the gcc dir.
121272 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
121273 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
121275 # Now, export this to all the little Makefiles....
121280 # Optimization flags that are probably a good idea for thrill-seekers. Just
121281 # uncomment the lines below and make, everything else is ready to go...
121282 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
121283 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
121286 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
121290 if test "$enable_shared" = yes; then
121291 LIBSUPCXX_PICFLAGS="-prefer-pic"
121293 LIBSUPCXX_PICFLAGS=
121297 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
121299 ac_config_files="$ac_config_files scripts/testsuite_flags"
121302 ac_config_commands="$ac_config_commands default"
121305 cat >confcache <<\_ACEOF
121306 # This file is a shell script that caches the results of configure
121307 # tests run on this system so they can be shared between configure
121308 # scripts and configure runs, see configure's option --config-cache.
121309 # It is not useful on other systems. If it contains results you don't
121310 # want to keep, you may remove or edit it.
121312 # config.status only pays attention to the cache file if you give it
121313 # the --recheck option to rerun configure.
121315 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121317 # following values.
121319 _ACEOF
121321 # The following way of writing the cache mishandles newlines in values,
121322 # but we know of no workaround that is simple, portable, and efficient.
121323 # So, don't put newlines in cache variables' values.
121324 # Ultrix sh set writes to stderr and can't be redirected directly,
121325 # and sets the high bit in the cache file unless we assign to the vars.
121327 (set) 2>&1 |
121328 case `(ac_space=' '; set | grep ac_space) 2>&1` in
121329 *ac_space=\ *)
121330 # `set' does not quote correctly, so add quotes (double-quote
121331 # substitution turns \\\\ into \\, and sed turns \\ into \).
121332 sed -n \
121333 "s/'/'\\\\''/g;
121334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121337 # `set' quotes correctly as required by POSIX, so do not add quotes.
121338 sed -n \
121339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121341 esac;
121343 sed '
121344 t clear
121345 : clear
121346 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121347 t end
121348 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121349 : end' >>confcache
121350 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121351 if test -w $cache_file; then
121352 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121353 cat confcache >$cache_file
121355 echo "not updating unwritable cache $cache_file"
121358 rm -f confcache
121360 test "x$prefix" = xNONE && prefix=$ac_default_prefix
121361 # Let make expand exec_prefix.
121362 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
121364 # VPATH may cause trouble with some makes, so we remove $(srcdir),
121365 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
121366 # trailing colons and then remove the whole line if VPATH becomes empty
121367 # (actually we leave an empty line to preserve line numbers).
121368 if test "x$srcdir" = x.; then
121369 ac_vpsub='/^[ ]*VPATH[ ]*=/{
121370 s/:*\$(srcdir):*/:/;
121371 s/:*\${srcdir}:*/:/;
121372 s/:*@srcdir@:*/:/;
121373 s/^\([^=]*=[ ]*\):*/\1/;
121374 s/:*$//;
121375 s/^[^=]*=[ ]*$//;
121379 DEFS=-DHAVE_CONFIG_H
121381 ac_libobjs=
121382 ac_ltlibobjs=
121383 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
121384 # 1. Remove the extension, and $U if already installed.
121385 ac_i=`echo "$ac_i" |
121386 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
121387 # 2. Add them.
121388 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
121389 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
121391 LIBOBJS=$ac_libobjs
121393 LTLIBOBJS=$ac_ltlibobjs
121396 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
121397 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
121398 Usually this means the macro was only invoked conditionally." >&5
121399 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
121400 Usually this means the macro was only invoked conditionally." >&2;}
121401 { (exit 1); exit 1; }; }
121403 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
121404 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121405 Usually this means the macro was only invoked conditionally." >&5
121406 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121407 Usually this means the macro was only invoked conditionally." >&2;}
121408 { (exit 1); exit 1; }; }
121410 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
121411 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121412 Usually this means the macro was only invoked conditionally." >&5
121413 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121414 Usually this means the macro was only invoked conditionally." >&2;}
121415 { (exit 1); exit 1; }; }
121417 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
121418 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121419 Usually this means the macro was only invoked conditionally." >&5
121420 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121421 Usually this means the macro was only invoked conditionally." >&2;}
121422 { (exit 1); exit 1; }; }
121424 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
121425 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121426 Usually this means the macro was only invoked conditionally." >&5
121427 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121428 Usually this means the macro was only invoked conditionally." >&2;}
121429 { (exit 1); exit 1; }; }
121431 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
121432 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121433 Usually this means the macro was only invoked conditionally." >&5
121434 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121435 Usually this means the macro was only invoked conditionally." >&2;}
121436 { (exit 1); exit 1; }; }
121438 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
121439 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121440 Usually this means the macro was only invoked conditionally." >&5
121441 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121442 Usually this means the macro was only invoked conditionally." >&2;}
121443 { (exit 1); exit 1; }; }
121445 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
121446 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121447 Usually this means the macro was only invoked conditionally." >&5
121448 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121449 Usually this means the macro was only invoked conditionally." >&2;}
121450 { (exit 1); exit 1; }; }
121452 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
121453 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121454 Usually this means the macro was only invoked conditionally." >&5
121455 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121456 Usually this means the macro was only invoked conditionally." >&2;}
121457 { (exit 1); exit 1; }; }
121459 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
121460 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
121461 Usually this means the macro was only invoked conditionally." >&5
121462 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
121463 Usually this means the macro was only invoked conditionally." >&2;}
121464 { (exit 1); exit 1; }; }
121466 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
121467 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
121468 Usually this means the macro was only invoked conditionally." >&5
121469 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
121470 Usually this means the macro was only invoked conditionally." >&2;}
121471 { (exit 1); exit 1; }; }
121473 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
121474 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121475 Usually this means the macro was only invoked conditionally." >&5
121476 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121477 Usually this means the macro was only invoked conditionally." >&2;}
121478 { (exit 1); exit 1; }; }
121480 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
121481 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121482 Usually this means the macro was only invoked conditionally." >&5
121483 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121484 Usually this means the macro was only invoked conditionally." >&2;}
121485 { (exit 1); exit 1; }; }
121487 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
121488 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121489 Usually this means the macro was only invoked conditionally." >&5
121490 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121491 Usually this means the macro was only invoked conditionally." >&2;}
121492 { (exit 1); exit 1; }; }
121494 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
121495 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121496 Usually this means the macro was only invoked conditionally." >&5
121497 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121498 Usually this means the macro was only invoked conditionally." >&2;}
121499 { (exit 1); exit 1; }; }
121501 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
121502 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121503 Usually this means the macro was only invoked conditionally." >&5
121504 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121505 Usually this means the macro was only invoked conditionally." >&2;}
121506 { (exit 1); exit 1; }; }
121509 : ${CONFIG_STATUS=./config.status}
121510 ac_clean_files_save=$ac_clean_files
121511 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
121512 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
121513 echo "$as_me: creating $CONFIG_STATUS" >&6;}
121514 cat >$CONFIG_STATUS <<_ACEOF
121515 #! $SHELL
121516 # Generated by $as_me.
121517 # Run this file to recreate the current configuration.
121518 # Compiler output produced by configure, useful for debugging
121519 # configure, is in config.log if it exists.
121521 debug=false
121522 ac_cs_recheck=false
121523 ac_cs_silent=false
121524 SHELL=\${CONFIG_SHELL-$SHELL}
121525 _ACEOF
121527 cat >>$CONFIG_STATUS <<\_ACEOF
121528 ## --------------------- ##
121529 ## M4sh Initialization. ##
121530 ## --------------------- ##
121532 # Be Bourne compatible
121533 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
121534 emulate sh
121535 NULLCMD=:
121536 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
121537 # is contrary to our usage. Disable this feature.
121538 alias -g '${1+"$@"}'='"$@"'
121539 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
121540 set -o posix
121542 DUALCASE=1; export DUALCASE # for MKS sh
121544 # Support unset when possible.
121545 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
121546 as_unset=unset
121548 as_unset=false
121552 # Work around bugs in pre-3.0 UWIN ksh.
121553 $as_unset ENV MAIL MAILPATH
121554 PS1='$ '
121555 PS2='> '
121556 PS4='+ '
121558 # NLS nuisances.
121559 for as_var in \
121560 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
121561 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
121562 LC_TELEPHONE LC_TIME
121564 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
121565 eval $as_var=C; export $as_var
121567 $as_unset $as_var
121571 # Required to use basename.
121572 if expr a : '\(a\)' >/dev/null 2>&1; then
121573 as_expr=expr
121575 as_expr=false
121578 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
121579 as_basename=basename
121581 as_basename=false
121585 # Name of the executable.
121586 as_me=`$as_basename "$0" ||
121587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121588 X"$0" : 'X\(//\)$' \| \
121589 X"$0" : 'X\(/\)$' \| \
121590 . : '\(.\)' 2>/dev/null ||
121591 echo X/"$0" |
121592 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
121593 /^X\/\(\/\/\)$/{ s//\1/; q; }
121594 /^X\/\(\/\).*/{ s//\1/; q; }
121595 s/.*/./; q'`
121598 # PATH needs CR, and LINENO needs CR and PATH.
121599 # Avoid depending upon Character Ranges.
121600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
121601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
121602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
121603 as_cr_digits='0123456789'
121604 as_cr_alnum=$as_cr_Letters$as_cr_digits
121606 # The user is always right.
121607 if test "${PATH_SEPARATOR+set}" != set; then
121608 echo "#! /bin/sh" >conf$$.sh
121609 echo "exit 0" >>conf$$.sh
121610 chmod +x conf$$.sh
121611 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
121612 PATH_SEPARATOR=';'
121614 PATH_SEPARATOR=:
121616 rm -f conf$$.sh
121620 as_lineno_1=$LINENO
121621 as_lineno_2=$LINENO
121622 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121623 test "x$as_lineno_1" != "x$as_lineno_2" &&
121624 test "x$as_lineno_3" = "x$as_lineno_2" || {
121625 # Find who we are. Look in the path if we contain no path at all
121626 # relative or not.
121627 case $0 in
121628 *[\\/]* ) as_myself=$0 ;;
121629 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121630 for as_dir in $PATH
121632 IFS=$as_save_IFS
121633 test -z "$as_dir" && as_dir=.
121634 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121639 # We did not find ourselves, most probably we were run as `sh COMMAND'
121640 # in which case we are not to be found in the path.
121641 if test "x$as_myself" = x; then
121642 as_myself=$0
121644 if test ! -f "$as_myself"; then
121645 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
121646 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
121647 { (exit 1); exit 1; }; }
121649 case $CONFIG_SHELL in
121651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121652 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
121654 IFS=$as_save_IFS
121655 test -z "$as_dir" && as_dir=.
121656 for as_base in sh bash ksh sh5; do
121657 case $as_dir in
121659 if ("$as_dir/$as_base" -c '
121660 as_lineno_1=$LINENO
121661 as_lineno_2=$LINENO
121662 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121663 test "x$as_lineno_1" != "x$as_lineno_2" &&
121664 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
121665 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
121666 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
121667 CONFIG_SHELL=$as_dir/$as_base
121668 export CONFIG_SHELL
121669 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
121677 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
121678 # uniformly replaced by the line number. The first 'sed' inserts a
121679 # line-number line before each line; the second 'sed' does the real
121680 # work. The second script uses 'N' to pair each line-number line
121681 # with the numbered line, and appends trailing '-' during
121682 # substitution so that $LINENO is not a special case at line end.
121683 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
121684 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
121685 sed '=' <$as_myself |
121686 sed '
121688 s,$,-,
121689 : loop
121690 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
121691 t loop
121692 s,-$,,
121693 s,^['$as_cr_digits']*\n,,
121694 ' >$as_me.lineno &&
121695 chmod +x $as_me.lineno ||
121696 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
121697 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
121698 { (exit 1); exit 1; }; }
121700 # Don't try to exec as it changes $[0], causing all sort of problems
121701 # (the dirname of $[0] is not the place where we might find the
121702 # original and so on. Autoconf is especially sensible to this).
121703 . ./$as_me.lineno
121704 # Exit status is that of the last command.
121709 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
121710 *c*,-n*) ECHO_N= ECHO_C='
121711 ' ECHO_T=' ' ;;
121712 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
121713 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
121716 if expr a : '\(a\)' >/dev/null 2>&1; then
121717 as_expr=expr
121719 as_expr=false
121722 rm -f conf$$ conf$$.exe conf$$.file
121723 echo >conf$$.file
121724 if ln -s conf$$.file conf$$ 2>/dev/null; then
121725 # We could just check for DJGPP; but this test a) works b) is more generic
121726 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
121727 if test -f conf$$.exe; then
121728 # Don't use ln at all; we don't have any links
121729 as_ln_s='cp -p'
121731 as_ln_s='ln -s'
121733 elif ln conf$$.file conf$$ 2>/dev/null; then
121734 as_ln_s=ln
121736 as_ln_s='cp -p'
121738 rm -f conf$$ conf$$.exe conf$$.file
121740 if mkdir -p . 2>/dev/null; then
121741 as_mkdir_p=:
121743 test -d ./-p && rmdir ./-p
121744 as_mkdir_p=false
121747 as_executable_p="test -f"
121749 # Sed expression to map a string onto a valid CPP name.
121750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
121752 # Sed expression to map a string onto a valid variable name.
121753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
121756 # IFS
121757 # We need space, tab and new line, in precisely that order.
121758 as_nl='
121760 IFS=" $as_nl"
121762 # CDPATH.
121763 $as_unset CDPATH
121765 exec 6>&1
121767 # Open the log real soon, to keep \$[0] and so on meaningful, and to
121768 # report actual input values of CONFIG_FILES etc. instead of their
121769 # values after options handling. Logging --version etc. is OK.
121770 exec 5>>config.log
121773 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
121774 ## Running $as_me. ##
121775 _ASBOX
121776 } >&5
121777 cat >&5 <<_CSEOF
121779 This file was extended by package-unused $as_me version-unused, which was
121780 generated by GNU Autoconf 2.59. Invocation command line was
121782 CONFIG_FILES = $CONFIG_FILES
121783 CONFIG_HEADERS = $CONFIG_HEADERS
121784 CONFIG_LINKS = $CONFIG_LINKS
121785 CONFIG_COMMANDS = $CONFIG_COMMANDS
121786 $ $0 $@
121788 _CSEOF
121789 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
121790 echo >&5
121791 _ACEOF
121793 # Files that config.status was made for.
121794 if test -n "$ac_config_files"; then
121795 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
121798 if test -n "$ac_config_headers"; then
121799 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
121802 if test -n "$ac_config_links"; then
121803 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
121806 if test -n "$ac_config_commands"; then
121807 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
121810 cat >>$CONFIG_STATUS <<\_ACEOF
121812 ac_cs_usage="\
121813 \`$as_me' instantiates files from templates according to the
121814 current configuration.
121816 Usage: $0 [OPTIONS] [FILE]...
121818 -h, --help print this help, then exit
121819 -V, --version print version number, then exit
121820 -q, --quiet do not print progress messages
121821 -d, --debug don't remove temporary files
121822 --recheck update $as_me by reconfiguring in the same conditions
121823 --file=FILE[:TEMPLATE]
121824 instantiate the configuration file FILE
121825 --header=FILE[:TEMPLATE]
121826 instantiate the configuration header FILE
121828 Configuration files:
121829 $config_files
121831 Configuration headers:
121832 $config_headers
121834 Configuration commands:
121835 $config_commands
121837 Report bugs to <bug-autoconf@gnu.org>."
121838 _ACEOF
121840 cat >>$CONFIG_STATUS <<_ACEOF
121841 ac_cs_version="\\
121842 package-unused config.status version-unused
121843 configured by $0, generated by GNU Autoconf 2.59,
121844 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
121846 Copyright (C) 2003 Free Software Foundation, Inc.
121847 This config.status script is free software; the Free Software Foundation
121848 gives unlimited permission to copy, distribute and modify it."
121849 srcdir=$srcdir
121850 INSTALL="$INSTALL"
121851 _ACEOF
121853 cat >>$CONFIG_STATUS <<\_ACEOF
121854 # If no file are specified by the user, then we need to provide default
121855 # value. By we need to know if files were specified by the user.
121856 ac_need_defaults=:
121857 while test $# != 0
121859 case $1 in
121860 --*=*)
121861 ac_option=`expr "x$1" : 'x\([^=]*\)='`
121862 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
121863 ac_shift=:
121866 ac_option=$1
121867 ac_optarg=$2
121868 ac_shift=shift
121870 *) # This is not an option, so the user has probably given explicit
121871 # arguments.
121872 ac_option=$1
121873 ac_need_defaults=false;;
121876 case $ac_option in
121877 # Handling of the options.
121878 _ACEOF
121879 cat >>$CONFIG_STATUS <<\_ACEOF
121880 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
121881 ac_cs_recheck=: ;;
121882 --version | --vers* | -V )
121883 echo "$ac_cs_version"; exit 0 ;;
121884 --he | --h)
121885 # Conflict between --help and --header
121886 { { echo "$as_me:$LINENO: error: ambiguous option: $1
121887 Try \`$0 --help' for more information." >&5
121888 echo "$as_me: error: ambiguous option: $1
121889 Try \`$0 --help' for more information." >&2;}
121890 { (exit 1); exit 1; }; };;
121891 --help | --hel | -h )
121892 echo "$ac_cs_usage"; exit 0 ;;
121893 --debug | --d* | -d )
121894 debug=: ;;
121895 --file | --fil | --fi | --f )
121896 $ac_shift
121897 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
121898 ac_need_defaults=false;;
121899 --header | --heade | --head | --hea )
121900 $ac_shift
121901 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
121902 ac_need_defaults=false;;
121903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
121904 | -silent | --silent | --silen | --sile | --sil | --si | --s)
121905 ac_cs_silent=: ;;
121907 # This is an error.
121908 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121909 Try \`$0 --help' for more information." >&5
121910 echo "$as_me: error: unrecognized option: $1
121911 Try \`$0 --help' for more information." >&2;}
121912 { (exit 1); exit 1; }; } ;;
121914 *) ac_config_targets="$ac_config_targets $1" ;;
121917 shift
121920 ac_configure_extra_args=
121922 if $ac_cs_silent; then
121923 exec 6>/dev/null
121924 ac_configure_extra_args="$ac_configure_extra_args --silent"
121927 _ACEOF
121928 cat >>$CONFIG_STATUS <<_ACEOF
121929 if \$ac_cs_recheck; then
121930 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121931 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121934 _ACEOF
121936 cat >>$CONFIG_STATUS <<_ACEOF
121938 # INIT-COMMANDS section.
121942 srcdir="$srcdir"
121943 host="$host"
121944 target="$target"
121945 with_multisubdir="$with_multisubdir"
121946 with_multisrctop="$with_multisrctop"
121947 with_target_subdir="$with_target_subdir"
121948 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121949 multi_basedir="$multi_basedir"
121950 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121951 CC="$CC"
121954 # The HP-UX ksh and POSIX shell print the target directory to stdout
121955 # if CDPATH is set.
121956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121958 sed_quote_subst='$sed_quote_subst'
121959 double_quote_subst='$double_quote_subst'
121960 delay_variable_subst='$delay_variable_subst'
121961 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121962 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121963 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121964 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121965 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121966 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121967 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121968 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121969 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121970 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121971 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121972 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121973 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121974 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121975 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121976 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121977 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121978 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121979 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121980 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121981 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121982 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121983 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121984 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121985 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121986 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121987 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121988 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121989 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121990 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121991 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121992 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121993 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121994 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121995 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121996 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121997 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121998 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121999 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
122000 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
122001 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
122002 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
122003 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
122004 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"`'
122005 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
122006 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
122007 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
122008 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
122009 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
122010 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
122011 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
122012 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
122013 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
122014 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
122015 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
122016 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122017 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122018 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
122019 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
122020 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122021 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122022 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
122023 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122024 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122025 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122026 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122027 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122028 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122029 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
122030 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122031 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122032 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122033 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
122034 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
122035 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
122036 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
122037 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
122038 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122039 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
122040 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
122041 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
122042 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
122043 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
122044 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122045 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122046 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122047 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122048 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
122049 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
122050 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
122051 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
122052 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
122053 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122054 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122055 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
122056 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122057 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
122058 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122059 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122060 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122061 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122062 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
122063 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
122064 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122065 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122066 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
122067 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
122068 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
122069 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
122070 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
122071 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
122072 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122073 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122074 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
122075 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
122076 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
122077 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122078 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122079 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122080 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122081 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122082 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122083 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122084 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122085 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122086 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122087 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122088 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122089 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122090 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122091 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122092 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122093 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122094 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122095 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122096 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122097 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122098 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122099 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122100 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122101 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122102 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122103 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122104 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122105 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122106 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122107 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122108 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122109 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122110 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122111 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122112 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122113 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122114 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122115 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122116 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122117 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122118 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122119 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122120 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122121 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122122 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122124 LTCC='$LTCC'
122125 LTCFLAGS='$LTCFLAGS'
122126 compiler='$compiler_DEFAULT'
122128 # Quote evaled strings.
122129 for var in SED \
122130 GREP \
122131 EGREP \
122132 FGREP \
122135 LN_S \
122136 lt_SP2NL \
122137 lt_NL2SP \
122138 reload_flag \
122139 deplibs_check_method \
122140 file_magic_cmd \
122142 AR_FLAGS \
122143 STRIP \
122144 RANLIB \
122146 CFLAGS \
122147 compiler \
122148 lt_cv_sys_global_symbol_pipe \
122149 lt_cv_sys_global_symbol_to_cdecl \
122150 lt_cv_sys_global_symbol_to_c_name_address \
122151 SHELL \
122152 ECHO \
122153 lt_prog_compiler_no_builtin_flag \
122154 lt_prog_compiler_wl \
122155 lt_prog_compiler_pic \
122156 lt_prog_compiler_static \
122157 lt_cv_prog_compiler_c_o \
122158 need_locks \
122159 shrext_cmds \
122160 export_dynamic_flag_spec \
122161 whole_archive_flag_spec \
122162 compiler_needs_object \
122163 with_gnu_ld \
122164 allow_undefined_flag \
122165 no_undefined_flag \
122166 hardcode_libdir_flag_spec \
122167 hardcode_libdir_flag_spec_ld \
122168 hardcode_libdir_separator \
122169 fix_srcfile_path \
122170 exclude_expsyms \
122171 include_expsyms \
122172 file_list_spec \
122173 variables_saved_for_relink \
122174 libname_spec \
122175 library_names_spec \
122176 soname_spec \
122177 finish_eval \
122178 old_striplib \
122179 striplib \
122180 predep_objects \
122181 postdep_objects \
122182 predeps \
122183 postdeps \
122184 compiler_lib_search_path \
122185 LD_CXX \
122186 compiler_CXX \
122187 lt_prog_compiler_no_builtin_flag_CXX \
122188 lt_prog_compiler_wl_CXX \
122189 lt_prog_compiler_pic_CXX \
122190 lt_prog_compiler_static_CXX \
122191 lt_cv_prog_compiler_c_o_CXX \
122192 export_dynamic_flag_spec_CXX \
122193 whole_archive_flag_spec_CXX \
122194 compiler_needs_object_CXX \
122195 with_gnu_ld_CXX \
122196 allow_undefined_flag_CXX \
122197 no_undefined_flag_CXX \
122198 hardcode_libdir_flag_spec_CXX \
122199 hardcode_libdir_flag_spec_ld_CXX \
122200 hardcode_libdir_separator_CXX \
122201 fix_srcfile_path_CXX \
122202 exclude_expsyms_CXX \
122203 include_expsyms_CXX \
122204 file_list_spec_CXX \
122205 predep_objects_CXX \
122206 postdep_objects_CXX \
122207 predeps_CXX \
122208 postdeps_CXX \
122209 compiler_lib_search_path_CXX; do
122210 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122211 *[\\\\\\\`\\"\\\$]*)
122212 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
122215 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122220 # Double-quote double-evaled strings.
122221 for var in reload_cmds \
122222 old_postinstall_cmds \
122223 old_postuninstall_cmds \
122224 old_archive_cmds \
122225 extract_expsyms_cmds \
122226 old_archive_from_new_cmds \
122227 old_archive_from_expsyms_cmds \
122228 archive_cmds \
122229 archive_expsym_cmds \
122230 module_cmds \
122231 module_expsym_cmds \
122232 export_symbols_cmds \
122233 prelink_cmds \
122234 postinstall_cmds \
122235 postuninstall_cmds \
122236 finish_cmds \
122237 sys_lib_search_path_spec \
122238 sys_lib_dlsearch_path_spec \
122239 old_archive_cmds_CXX \
122240 old_archive_from_new_cmds_CXX \
122241 old_archive_from_expsyms_cmds_CXX \
122242 archive_cmds_CXX \
122243 archive_expsym_cmds_CXX \
122244 module_cmds_CXX \
122245 module_expsym_cmds_CXX \
122246 export_symbols_cmds_CXX \
122247 prelink_cmds_CXX; do
122248 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122249 *[\\\\\\\`\\"\\\$]*)
122250 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
122253 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122258 # Fix-up fallback echo if it was mangled by the above quoting rules.
122259 case \$lt_ECHO in
122260 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
122264 ac_aux_dir='$ac_aux_dir'
122265 xsi_shell='$xsi_shell'
122266 lt_shell_append='$lt_shell_append'
122268 # See if we are running on zsh, and set the options which allow our
122269 # commands through without removal of \ escapes INIT.
122270 if test -n "\${ZSH_VERSION+set}" ; then
122271 setopt NO_GLOB_SUBST
122275 PACKAGE='$PACKAGE'
122276 VERSION='$VERSION'
122277 TIMESTAMP='$TIMESTAMP'
122278 RM='$RM'
122279 ofile='$ofile'
122286 GCC="$GCC"
122287 CC="$CC"
122288 acx_cv_header_stdint="$acx_cv_header_stdint"
122289 acx_cv_type_int8_t="$acx_cv_type_int8_t"
122290 acx_cv_type_int16_t="$acx_cv_type_int16_t"
122291 acx_cv_type_int32_t="$acx_cv_type_int32_t"
122292 acx_cv_type_int64_t="$acx_cv_type_int64_t"
122293 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
122294 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
122295 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
122296 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
122297 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
122298 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
122299 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
122300 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
122301 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
122304 # Variables needed in config.status (file generation) which aren't already
122305 # passed by autoconf.
122306 SUBDIRS="$SUBDIRS"
122309 _ACEOF
122313 cat >>$CONFIG_STATUS <<\_ACEOF
122314 for ac_config_target in $ac_config_targets
122316 case "$ac_config_target" in
122317 # Handling of arguments.
122318 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
122319 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
122320 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
122321 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
122322 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
122323 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
122324 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
122325 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
122326 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
122327 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
122328 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
122329 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
122330 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
122331 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
122332 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
122333 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
122334 { (exit 1); exit 1; }; };;
122338 # If the user did not use the arguments to specify the items to instantiate,
122339 # then the envvar interface is used. Set only those that are not.
122340 # We use the long form for the default assignment because of an extremely
122341 # bizarre bug on SunOS 4.1.3.
122342 if $ac_need_defaults; then
122343 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
122344 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
122345 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
122348 # Have a temporary directory for convenience. Make it in the build tree
122349 # simply because there is no reason to put it here, and in addition,
122350 # creating and moving files from /tmp can sometimes cause problems.
122351 # Create a temporary directory, and hook for its removal unless debugging.
122352 $debug ||
122354 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
122355 trap '{ (exit 1); exit 1; }' 1 2 13 15
122358 # Create a (secure) tmp directory for tmp files.
122361 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
122362 test -n "$tmp" && test -d "$tmp"
122365 tmp=./confstat$$-$RANDOM
122366 (umask 077 && mkdir $tmp)
122369 echo "$me: cannot create a temporary directory in ." >&2
122370 { (exit 1); exit 1; }
122373 _ACEOF
122375 cat >>$CONFIG_STATUS <<_ACEOF
122378 # CONFIG_FILES section.
122381 # No need to generate the scripts if there are no CONFIG_FILES.
122382 # This happens for instance when ./config.status config.h
122383 if test -n "\$CONFIG_FILES"; then
122384 # Protect against being on the right side of a sed subst in config.status.
122385 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
122386 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
122387 s,@SHELL@,$SHELL,;t t
122388 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
122389 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
122390 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
122391 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
122392 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
122393 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
122394 s,@exec_prefix@,$exec_prefix,;t t
122395 s,@prefix@,$prefix,;t t
122396 s,@program_transform_name@,$program_transform_name,;t t
122397 s,@bindir@,$bindir,;t t
122398 s,@sbindir@,$sbindir,;t t
122399 s,@libexecdir@,$libexecdir,;t t
122400 s,@datadir@,$datadir,;t t
122401 s,@sysconfdir@,$sysconfdir,;t t
122402 s,@sharedstatedir@,$sharedstatedir,;t t
122403 s,@localstatedir@,$localstatedir,;t t
122404 s,@libdir@,$libdir,;t t
122405 s,@includedir@,$includedir,;t t
122406 s,@oldincludedir@,$oldincludedir,;t t
122407 s,@infodir@,$infodir,;t t
122408 s,@mandir@,$mandir,;t t
122409 s,@build_alias@,$build_alias,;t t
122410 s,@host_alias@,$host_alias,;t t
122411 s,@target_alias@,$target_alias,;t t
122412 s,@DEFS@,$DEFS,;t t
122413 s,@ECHO_C@,$ECHO_C,;t t
122414 s,@ECHO_N@,$ECHO_N,;t t
122415 s,@ECHO_T@,$ECHO_T,;t t
122416 s,@LIBS@,$LIBS,;t t
122417 s,@libtool_VERSION@,$libtool_VERSION,;t t
122418 s,@multi_basedir@,$multi_basedir,;t t
122419 s,@build@,$build,;t t
122420 s,@build_cpu@,$build_cpu,;t t
122421 s,@build_vendor@,$build_vendor,;t t
122422 s,@build_os@,$build_os,;t t
122423 s,@host@,$host,;t t
122424 s,@host_cpu@,$host_cpu,;t t
122425 s,@host_vendor@,$host_vendor,;t t
122426 s,@host_os@,$host_os,;t t
122427 s,@target@,$target,;t t
122428 s,@target_cpu@,$target_cpu,;t t
122429 s,@target_vendor@,$target_vendor,;t t
122430 s,@target_os@,$target_os,;t t
122431 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
122432 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
122433 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
122434 s,@CYGPATH_W@,$CYGPATH_W,;t t
122435 s,@PACKAGE@,$PACKAGE,;t t
122436 s,@VERSION@,$VERSION,;t t
122437 s,@ACLOCAL@,$ACLOCAL,;t t
122438 s,@AUTOCONF@,$AUTOCONF,;t t
122439 s,@AUTOMAKE@,$AUTOMAKE,;t t
122440 s,@AUTOHEADER@,$AUTOHEADER,;t t
122441 s,@MAKEINFO@,$MAKEINFO,;t t
122442 s,@install_sh@,$install_sh,;t t
122443 s,@STRIP@,$STRIP,;t t
122444 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
122445 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
122446 s,@mkdir_p@,$mkdir_p,;t t
122447 s,@AWK@,$AWK,;t t
122448 s,@SET_MAKE@,$SET_MAKE,;t t
122449 s,@am__leading_dot@,$am__leading_dot,;t t
122450 s,@AMTAR@,$AMTAR,;t t
122451 s,@am__tar@,$am__tar,;t t
122452 s,@am__untar@,$am__untar,;t t
122453 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
122454 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
122455 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
122456 s,@CC@,$CC,;t t
122457 s,@ac_ct_CC@,$ac_ct_CC,;t t
122458 s,@EXEEXT@,$EXEEXT,;t t
122459 s,@OBJEXT@,$OBJEXT,;t t
122460 s,@CXX@,$CXX,;t t
122461 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
122462 s,@CFLAGS@,$CFLAGS,;t t
122463 s,@CXXFLAGS@,$CXXFLAGS,;t t
122464 s,@LN_S@,$LN_S,;t t
122465 s,@AS@,$AS,;t t
122466 s,@ac_ct_AS@,$ac_ct_AS,;t t
122467 s,@AR@,$AR,;t t
122468 s,@ac_ct_AR@,$ac_ct_AR,;t t
122469 s,@RANLIB@,$RANLIB,;t t
122470 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
122471 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
122472 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
122473 s,@MAINT@,$MAINT,;t t
122474 s,@CPP@,$CPP,;t t
122475 s,@CPPFLAGS@,$CPPFLAGS,;t t
122476 s,@EGREP@,$EGREP,;t t
122477 s,@LIBTOOL@,$LIBTOOL,;t t
122478 s,@SED@,$SED,;t t
122479 s,@FGREP@,$FGREP,;t t
122480 s,@GREP@,$GREP,;t t
122481 s,@LD@,$LD,;t t
122482 s,@DUMPBIN@,$DUMPBIN,;t t
122483 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
122484 s,@NM@,$NM,;t t
122485 s,@lt_ECHO@,$lt_ECHO,;t t
122486 s,@LDFLAGS@,$LDFLAGS,;t t
122487 s,@CXXCPP@,$CXXCPP,;t t
122488 s,@enable_shared@,$enable_shared,;t t
122489 s,@enable_static@,$enable_static,;t t
122490 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
122491 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
122492 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
122493 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
122494 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
122495 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
122496 s,@WERROR@,$WERROR,;t t
122497 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
122498 s,@CSTDIO_H@,$CSTDIO_H,;t t
122499 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
122500 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
122501 s,@check_msgfmt@,$check_msgfmt,;t t
122502 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
122503 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
122504 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
122505 s,@USE_NLS@,$USE_NLS,;t t
122506 s,@CLOCALE_H@,$CLOCALE_H,;t t
122507 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
122508 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
122509 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
122510 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
122511 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
122512 s,@CMONEY_CC@,$CMONEY_CC,;t t
122513 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
122514 s,@CTIME_H@,$CTIME_H,;t t
122515 s,@CTIME_CC@,$CTIME_CC,;t t
122516 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
122517 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
122518 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
122519 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
122520 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
122521 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
122522 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
122523 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
122524 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
122525 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
122526 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
122527 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
122528 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
122529 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
122530 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
122531 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
122532 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
122533 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
122534 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
122535 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
122536 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
122537 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
122538 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
122539 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
122540 s,@LIBICONV@,$LIBICONV,;t t
122541 s,@LTLIBICONV@,$LTLIBICONV,;t t
122542 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
122543 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
122544 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
122545 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
122546 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
122547 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
122548 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
122549 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
122550 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
122551 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
122552 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
122553 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
122554 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
122555 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
122556 s,@baseline_dir@,$baseline_dir,;t t
122557 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
122558 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
122559 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
122560 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
122561 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
122562 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
122563 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
122564 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
122565 s,@gxx_include_dir@,$gxx_include_dir,;t t
122566 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
122567 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
122568 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
122569 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
122570 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
122571 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
122572 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
122573 s,@LIBOBJS@,$LIBOBJS,;t t
122574 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
122577 _ACEOF
122579 cat >>$CONFIG_STATUS <<\_ACEOF
122580 # Split the substitutions into bite-sized pieces for seds with
122581 # small command number limits, like on Digital OSF/1 and HP-UX.
122582 ac_max_sed_lines=48
122583 ac_sed_frag=1 # Number of current file.
122584 ac_beg=1 # First line for current file.
122585 ac_end=$ac_max_sed_lines # Line after last line for current file.
122586 ac_more_lines=:
122587 ac_sed_cmds=
122588 while $ac_more_lines; do
122589 if test $ac_beg -gt 1; then
122590 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122592 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122594 if test ! -s $tmp/subs.frag; then
122595 ac_more_lines=false
122597 # The purpose of the label and of the branching condition is to
122598 # speed up the sed processing (if there are no `@' at all, there
122599 # is no need to browse any of the substitutions).
122600 # These are the two extra sed commands mentioned above.
122601 (echo ':t
122602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
122603 if test -z "$ac_sed_cmds"; then
122604 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
122606 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
122608 ac_sed_frag=`expr $ac_sed_frag + 1`
122609 ac_beg=$ac_end
122610 ac_end=`expr $ac_end + $ac_max_sed_lines`
122613 if test -z "$ac_sed_cmds"; then
122614 ac_sed_cmds=cat
122616 fi # test -n "$CONFIG_FILES"
122618 _ACEOF
122619 cat >>$CONFIG_STATUS <<\_ACEOF
122620 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
122621 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122622 case $ac_file in
122623 - | *:- | *:-:* ) # input from stdin
122624 cat >$tmp/stdin
122625 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122626 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122627 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122628 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122629 * ) ac_file_in=$ac_file.in ;;
122632 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
122633 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122635 X"$ac_file" : 'X\(//\)[^/]' \| \
122636 X"$ac_file" : 'X\(//\)$' \| \
122637 X"$ac_file" : 'X\(/\)' \| \
122638 . : '\(.\)' 2>/dev/null ||
122639 echo X"$ac_file" |
122640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122642 /^X\(\/\/\)$/{ s//\1/; q; }
122643 /^X\(\/\).*/{ s//\1/; q; }
122644 s/.*/./; q'`
122645 { if $as_mkdir_p; then
122646 mkdir -p "$ac_dir"
122648 as_dir="$ac_dir"
122649 as_dirs=
122650 while test ! -d "$as_dir"; do
122651 as_dirs="$as_dir $as_dirs"
122652 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122654 X"$as_dir" : 'X\(//\)[^/]' \| \
122655 X"$as_dir" : 'X\(//\)$' \| \
122656 X"$as_dir" : 'X\(/\)' \| \
122657 . : '\(.\)' 2>/dev/null ||
122658 echo X"$as_dir" |
122659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122661 /^X\(\/\/\)$/{ s//\1/; q; }
122662 /^X\(\/\).*/{ s//\1/; q; }
122663 s/.*/./; q'`
122665 test ! -n "$as_dirs" || mkdir $as_dirs
122666 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122667 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122668 { (exit 1); exit 1; }; }; }
122670 ac_builddir=.
122672 if test "$ac_dir" != .; then
122673 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122674 # A "../" for each directory in $ac_dir_suffix.
122675 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122677 ac_dir_suffix= ac_top_builddir=
122680 case $srcdir in
122681 .) # No --srcdir option. We are building in place.
122682 ac_srcdir=.
122683 if test -z "$ac_top_builddir"; then
122684 ac_top_srcdir=.
122686 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122687 fi ;;
122688 [\\/]* | ?:[\\/]* ) # Absolute path.
122689 ac_srcdir=$srcdir$ac_dir_suffix;
122690 ac_top_srcdir=$srcdir ;;
122691 *) # Relative path.
122692 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122693 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122696 # Do not use `cd foo && pwd` to compute absolute paths, because
122697 # the directories may not exist.
122698 case `pwd` in
122699 .) ac_abs_builddir="$ac_dir";;
122701 case "$ac_dir" in
122702 .) ac_abs_builddir=`pwd`;;
122703 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122704 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122705 esac;;
122707 case $ac_abs_builddir in
122708 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122710 case ${ac_top_builddir}. in
122711 .) ac_abs_top_builddir=$ac_abs_builddir;;
122712 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122713 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122714 esac;;
122716 case $ac_abs_builddir in
122717 .) ac_abs_srcdir=$ac_srcdir;;
122719 case $ac_srcdir in
122720 .) ac_abs_srcdir=$ac_abs_builddir;;
122721 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122722 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122723 esac;;
122725 case $ac_abs_builddir in
122726 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122728 case $ac_top_srcdir in
122729 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122730 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122731 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122732 esac;;
122736 case $INSTALL in
122737 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
122738 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
122741 if test x"$ac_file" != x-; then
122742 { echo "$as_me:$LINENO: creating $ac_file" >&5
122743 echo "$as_me: creating $ac_file" >&6;}
122744 rm -f "$ac_file"
122746 # Let's still pretend it is `configure' which instantiates (i.e., don't
122747 # use $as_me), people would be surprised to read:
122748 # /* config.h. Generated by config.status. */
122749 if test x"$ac_file" = x-; then
122750 configure_input=
122752 configure_input="$ac_file. "
122754 configure_input=$configure_input"Generated from `echo $ac_file_in |
122755 sed 's,.*/,,'` by configure."
122757 # First look for the input files in the build tree, otherwise in the
122758 # src tree.
122759 ac_file_inputs=`IFS=:
122760 for f in $ac_file_in; do
122761 case $f in
122762 -) echo $tmp/stdin ;;
122763 [\\/$]*)
122764 # Absolute (can't be DOS-style, as IFS=:)
122765 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122766 echo "$as_me: error: cannot find input file: $f" >&2;}
122767 { (exit 1); exit 1; }; }
122768 echo "$f";;
122769 *) # Relative
122770 if test -f "$f"; then
122771 # Build tree
122772 echo "$f"
122773 elif test -f "$srcdir/$f"; then
122774 # Source tree
122775 echo "$srcdir/$f"
122777 # /dev/null tree
122778 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122779 echo "$as_me: error: cannot find input file: $f" >&2;}
122780 { (exit 1); exit 1; }; }
122783 done` || { (exit 1); exit 1; }
122784 _ACEOF
122785 cat >>$CONFIG_STATUS <<_ACEOF
122786 sed "$ac_vpsub
122787 $extrasub
122788 _ACEOF
122789 cat >>$CONFIG_STATUS <<\_ACEOF
122791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
122792 s,@configure_input@,$configure_input,;t t
122793 s,@srcdir@,$ac_srcdir,;t t
122794 s,@abs_srcdir@,$ac_abs_srcdir,;t t
122795 s,@top_srcdir@,$ac_top_srcdir,;t t
122796 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
122797 s,@builddir@,$ac_builddir,;t t
122798 s,@abs_builddir@,$ac_abs_builddir,;t t
122799 s,@top_builddir@,$ac_top_builddir,;t t
122800 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
122801 s,@INSTALL@,$ac_INSTALL,;t t
122802 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
122803 rm -f $tmp/stdin
122804 if test x"$ac_file" != x-; then
122805 mv $tmp/out $ac_file
122807 cat $tmp/out
122808 rm -f $tmp/out
122811 # Run the commands associated with the file.
122812 case $ac_file in
122813 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
122816 _ACEOF
122817 cat >>$CONFIG_STATUS <<\_ACEOF
122820 # CONFIG_HEADER section.
122823 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
122824 # NAME is the cpp macro being defined and VALUE is the value it is being given.
122826 # ac_d sets the value in "#define NAME VALUE" lines.
122827 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
122828 ac_dB='[ ].*$,\1#\2'
122829 ac_dC=' '
122830 ac_dD=',;t'
122831 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
122832 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
122833 ac_uB='$,\1#\2define\3'
122834 ac_uC=' '
122835 ac_uD=',;t'
122837 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
122838 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122839 case $ac_file in
122840 - | *:- | *:-:* ) # input from stdin
122841 cat >$tmp/stdin
122842 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122843 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122844 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122845 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122846 * ) ac_file_in=$ac_file.in ;;
122849 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
122850 echo "$as_me: creating $ac_file" >&6;}
122852 # First look for the input files in the build tree, otherwise in the
122853 # src tree.
122854 ac_file_inputs=`IFS=:
122855 for f in $ac_file_in; do
122856 case $f in
122857 -) echo $tmp/stdin ;;
122858 [\\/$]*)
122859 # Absolute (can't be DOS-style, as IFS=:)
122860 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122861 echo "$as_me: error: cannot find input file: $f" >&2;}
122862 { (exit 1); exit 1; }; }
122863 # Do quote $f, to prevent DOS paths from being IFS'd.
122864 echo "$f";;
122865 *) # Relative
122866 if test -f "$f"; then
122867 # Build tree
122868 echo "$f"
122869 elif test -f "$srcdir/$f"; then
122870 # Source tree
122871 echo "$srcdir/$f"
122873 # /dev/null tree
122874 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122875 echo "$as_me: error: cannot find input file: $f" >&2;}
122876 { (exit 1); exit 1; }; }
122879 done` || { (exit 1); exit 1; }
122880 # Remove the trailing spaces.
122881 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
122883 _ACEOF
122885 # Transform confdefs.h into two sed scripts, `conftest.defines' and
122886 # `conftest.undefs', that substitutes the proper values into
122887 # config.h.in to produce config.h. The first handles `#define'
122888 # templates, and the second `#undef' templates.
122889 # And first: Protect against being on the right side of a sed subst in
122890 # config.status. Protect against being in an unquoted here document
122891 # in config.status.
122892 rm -f conftest.defines conftest.undefs
122893 # Using a here document instead of a string reduces the quoting nightmare.
122894 # Putting comments in sed scripts is not portable.
122896 # `end' is used to avoid that the second main sed command (meant for
122897 # 0-ary CPP macros) applies to n-ary macro definitions.
122898 # See the Autoconf documentation for `clear'.
122899 cat >confdef2sed.sed <<\_ACEOF
122900 s/[\\&,]/\\&/g
122901 s,[\\$`],\\&,g
122902 t clear
122903 : clear
122904 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122905 t end
122906 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122907 : end
122908 _ACEOF
122909 # If some macros were called several times there might be several times
122910 # the same #defines, which is useless. Nevertheless, we may not want to
122911 # sort them, since we want the *last* AC-DEFINE to be honored.
122912 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122913 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122914 rm -f confdef2sed.sed
122916 # This sed command replaces #undef with comments. This is necessary, for
122917 # example, in the case of _POSIX_SOURCE, which is predefined and required
122918 # on some systems where configure will not decide to define it.
122919 cat >>conftest.undefs <<\_ACEOF
122920 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122921 _ACEOF
122923 # Break up conftest.defines because some shells have a limit on the size
122924 # of here documents, and old seds have small limits too (100 cmds).
122925 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122926 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122927 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122928 echo ' :' >>$CONFIG_STATUS
122929 rm -f conftest.tail
122930 while grep . conftest.defines >/dev/null
122932 # Write a limited-size here document to $tmp/defines.sed.
122933 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122934 # Speed up: don't consider the non `#define' lines.
122935 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
122936 # Work around the forget-to-reset-the-flag bug.
122937 echo 't clr' >>$CONFIG_STATUS
122938 echo ': clr' >>$CONFIG_STATUS
122939 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122940 echo 'CEOF
122941 sed -f $tmp/defines.sed $tmp/in >$tmp/out
122942 rm -f $tmp/in
122943 mv $tmp/out $tmp/in
122944 ' >>$CONFIG_STATUS
122945 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122946 rm -f conftest.defines
122947 mv conftest.tail conftest.defines
122949 rm -f conftest.defines
122950 echo ' fi # grep' >>$CONFIG_STATUS
122951 echo >>$CONFIG_STATUS
122953 # Break up conftest.undefs because some shells have a limit on the size
122954 # of here documents, and old seds have small limits too (100 cmds).
122955 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
122956 rm -f conftest.tail
122957 while grep . conftest.undefs >/dev/null
122959 # Write a limited-size here document to $tmp/undefs.sed.
122960 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122961 # Speed up: don't consider the non `#undef'
122962 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
122963 # Work around the forget-to-reset-the-flag bug.
122964 echo 't clr' >>$CONFIG_STATUS
122965 echo ': clr' >>$CONFIG_STATUS
122966 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122967 echo 'CEOF
122968 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122969 rm -f $tmp/in
122970 mv $tmp/out $tmp/in
122971 ' >>$CONFIG_STATUS
122972 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122973 rm -f conftest.undefs
122974 mv conftest.tail conftest.undefs
122976 rm -f conftest.undefs
122978 cat >>$CONFIG_STATUS <<\_ACEOF
122979 # Let's still pretend it is `configure' which instantiates (i.e., don't
122980 # use $as_me), people would be surprised to read:
122981 # /* config.h. Generated by config.status. */
122982 if test x"$ac_file" = x-; then
122983 echo "/* Generated by configure. */" >$tmp/config.h
122985 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
122987 cat $tmp/in >>$tmp/config.h
122988 rm -f $tmp/in
122989 if test x"$ac_file" != x-; then
122990 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122991 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122992 echo "$as_me: $ac_file is unchanged" >&6;}
122994 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122996 X"$ac_file" : 'X\(//\)[^/]' \| \
122997 X"$ac_file" : 'X\(//\)$' \| \
122998 X"$ac_file" : 'X\(/\)' \| \
122999 . : '\(.\)' 2>/dev/null ||
123000 echo X"$ac_file" |
123001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123002 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123003 /^X\(\/\/\)$/{ s//\1/; q; }
123004 /^X\(\/\).*/{ s//\1/; q; }
123005 s/.*/./; q'`
123006 { if $as_mkdir_p; then
123007 mkdir -p "$ac_dir"
123009 as_dir="$ac_dir"
123010 as_dirs=
123011 while test ! -d "$as_dir"; do
123012 as_dirs="$as_dir $as_dirs"
123013 as_dir=`(dirname "$as_dir") 2>/dev/null ||
123014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123015 X"$as_dir" : 'X\(//\)[^/]' \| \
123016 X"$as_dir" : 'X\(//\)$' \| \
123017 X"$as_dir" : 'X\(/\)' \| \
123018 . : '\(.\)' 2>/dev/null ||
123019 echo X"$as_dir" |
123020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123021 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123022 /^X\(\/\/\)$/{ s//\1/; q; }
123023 /^X\(\/\).*/{ s//\1/; q; }
123024 s/.*/./; q'`
123026 test ! -n "$as_dirs" || mkdir $as_dirs
123027 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123028 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123029 { (exit 1); exit 1; }; }; }
123031 rm -f $ac_file
123032 mv $tmp/config.h $ac_file
123035 cat $tmp/config.h
123036 rm -f $tmp/config.h
123038 # Compute $ac_file's index in $config_headers.
123039 _am_stamp_count=1
123040 for _am_header in $config_headers :; do
123041 case $_am_header in
123042 $ac_file | $ac_file:* )
123043 break ;;
123045 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
123048 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
123049 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123050 X$ac_file : 'X\(//\)[^/]' \| \
123051 X$ac_file : 'X\(//\)$' \| \
123052 X$ac_file : 'X\(/\)' \| \
123053 . : '\(.\)' 2>/dev/null ||
123054 echo X$ac_file |
123055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123056 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123057 /^X\(\/\/\)$/{ s//\1/; q; }
123058 /^X\(\/\).*/{ s//\1/; q; }
123059 s/.*/./; q'`/stamp-h$_am_stamp_count
123061 _ACEOF
123062 cat >>$CONFIG_STATUS <<\_ACEOF
123065 # CONFIG_COMMANDS section.
123067 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
123068 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
123069 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
123070 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
123071 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123072 X"$ac_dest" : 'X\(//\)[^/]' \| \
123073 X"$ac_dest" : 'X\(//\)$' \| \
123074 X"$ac_dest" : 'X\(/\)' \| \
123075 . : '\(.\)' 2>/dev/null ||
123076 echo X"$ac_dest" |
123077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123079 /^X\(\/\/\)$/{ s//\1/; q; }
123080 /^X\(\/\).*/{ s//\1/; q; }
123081 s/.*/./; q'`
123082 { if $as_mkdir_p; then
123083 mkdir -p "$ac_dir"
123085 as_dir="$ac_dir"
123086 as_dirs=
123087 while test ! -d "$as_dir"; do
123088 as_dirs="$as_dir $as_dirs"
123089 as_dir=`(dirname "$as_dir") 2>/dev/null ||
123090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123091 X"$as_dir" : 'X\(//\)[^/]' \| \
123092 X"$as_dir" : 'X\(//\)$' \| \
123093 X"$as_dir" : 'X\(/\)' \| \
123094 . : '\(.\)' 2>/dev/null ||
123095 echo X"$as_dir" |
123096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123098 /^X\(\/\/\)$/{ s//\1/; q; }
123099 /^X\(\/\).*/{ s//\1/; q; }
123100 s/.*/./; q'`
123102 test ! -n "$as_dirs" || mkdir $as_dirs
123103 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123105 { (exit 1); exit 1; }; }; }
123107 ac_builddir=.
123109 if test "$ac_dir" != .; then
123110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
123111 # A "../" for each directory in $ac_dir_suffix.
123112 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
123114 ac_dir_suffix= ac_top_builddir=
123117 case $srcdir in
123118 .) # No --srcdir option. We are building in place.
123119 ac_srcdir=.
123120 if test -z "$ac_top_builddir"; then
123121 ac_top_srcdir=.
123123 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
123124 fi ;;
123125 [\\/]* | ?:[\\/]* ) # Absolute path.
123126 ac_srcdir=$srcdir$ac_dir_suffix;
123127 ac_top_srcdir=$srcdir ;;
123128 *) # Relative path.
123129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
123130 ac_top_srcdir=$ac_top_builddir$srcdir ;;
123133 # Do not use `cd foo && pwd` to compute absolute paths, because
123134 # the directories may not exist.
123135 case `pwd` in
123136 .) ac_abs_builddir="$ac_dir";;
123138 case "$ac_dir" in
123139 .) ac_abs_builddir=`pwd`;;
123140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
123141 *) ac_abs_builddir=`pwd`/"$ac_dir";;
123142 esac;;
123144 case $ac_abs_builddir in
123145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
123147 case ${ac_top_builddir}. in
123148 .) ac_abs_top_builddir=$ac_abs_builddir;;
123149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
123150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
123151 esac;;
123153 case $ac_abs_builddir in
123154 .) ac_abs_srcdir=$ac_srcdir;;
123156 case $ac_srcdir in
123157 .) ac_abs_srcdir=$ac_abs_builddir;;
123158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
123159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
123160 esac;;
123162 case $ac_abs_builddir in
123163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
123165 case $ac_top_srcdir in
123166 .) ac_abs_top_srcdir=$ac_abs_builddir;;
123167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
123168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
123169 esac;;
123173 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
123174 echo "$as_me: executing $ac_dest commands" >&6;}
123175 case $ac_dest in
123176 default-1 )
123177 # Only add multilib support code if we just rebuilt the top-level
123178 # Makefile.
123179 case " $CONFIG_FILES " in
123180 *" Makefile "*)
123181 ac_file=Makefile . ${multi_basedir}/config-ml.in
123183 esac ;;
123184 libtool )
123186 # See if we are running on zsh, and set the options which allow our
123187 # commands through without removal of \ escapes.
123188 if test -n "${ZSH_VERSION+set}" ; then
123189 setopt NO_GLOB_SUBST
123192 cfgfile="${ofile}T"
123193 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
123194 $RM "$cfgfile"
123196 cat <<_LT_EOF >> "$cfgfile"
123197 #! $SHELL
123199 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
123200 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
123201 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
123202 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
123204 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
123205 # 2006, 2007 Free Software Foundation, Inc.
123207 # This file is part of GNU Libtool:
123208 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
123210 # This program is free software; you can redistribute it and/or modify
123211 # it under the terms of the GNU General Public License as published by
123212 # the Free Software Foundation; either version 2 of the License, or
123213 # (at your option) any later version.
123215 # This program is distributed in the hope that it will be useful, but
123216 # WITHOUT ANY WARRANTY; without even the implied warranty of
123217 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
123218 # General Public License for more details.
123220 # You should have received a copy of the GNU General Public License
123221 # along with this program; if not, a copy can be downloaded from
123222 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
123223 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
123224 # MA 02110-1301, USA.
123226 # As a special exception to the GNU General Public License, if you
123227 # distribute this file as part of a program that contains a
123228 # configuration script generated by Autoconf, you may include it under
123229 # the same distribution terms that you use for the rest of that program.
123232 # The names of the tagged configurations supported by this script.
123233 available_tags="CXX "
123235 # ### BEGIN LIBTOOL CONFIG
123237 # Which release of libtool.m4 was used?
123238 macro_version=$macro_version
123239 macro_revision=$macro_revision
123241 # Whether or not to build shared libraries.
123242 build_libtool_libs=$enable_shared
123244 # Whether or not to build static libraries.
123245 build_old_libs=$enable_static
123247 # What type of objects to build.
123248 pic_mode=$pic_mode
123250 # Whether or not to optimize for fast installation.
123251 fast_install=$enable_fast_install
123253 # The host system.
123254 host_alias=$host_alias
123255 host=$host
123256 host_os=$host_os
123258 # The build system.
123259 build_alias=$build_alias
123260 build=$build
123261 build_os=$build_os
123263 # A sed program that does not truncate output.
123264 SED=$lt_SED
123266 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
123267 Xsed="\$SED -e 1s/^X//"
123269 # A grep program that handles long lines.
123270 GREP=$lt_GREP
123272 # An ERE matcher.
123273 EGREP=$lt_EGREP
123275 # A literal string matcher.
123276 FGREP=$lt_FGREP
123278 # A BSD- or MS-compatible name lister.
123279 NM=$lt_NM
123281 # Whether we need soft or hard links.
123282 LN_S=$lt_LN_S
123284 # What is the maximum length of a command?
123285 max_cmd_len=$max_cmd_len
123287 # Object file suffix (normally "o").
123288 objext=$ac_objext
123290 # Executable file suffix (normally "").
123291 exeext=$exeext
123293 # whether the shell understands "unset".
123294 lt_unset=$lt_unset
123296 # turn spaces into newlines.
123297 SP2NL=$lt_lt_SP2NL
123299 # turn newlines into spaces.
123300 NL2SP=$lt_lt_NL2SP
123302 # How to create reloadable object files.
123303 reload_flag=$lt_reload_flag
123304 reload_cmds=$lt_reload_cmds
123306 # Method to check whether dependent libraries are shared objects.
123307 deplibs_check_method=$lt_deplibs_check_method
123309 # Command to use when deplibs_check_method == "file_magic".
123310 file_magic_cmd=$lt_file_magic_cmd
123312 # The archiver.
123313 AR=$lt_AR
123314 AR_FLAGS=$lt_AR_FLAGS
123316 # A symbol stripping program.
123317 STRIP=$lt_STRIP
123319 # Commands used to install an old-style archive.
123320 RANLIB=$lt_RANLIB
123321 old_postinstall_cmds=$lt_old_postinstall_cmds
123322 old_postuninstall_cmds=$lt_old_postuninstall_cmds
123324 # A C compiler.
123325 LTCC=$lt_CC
123327 # LTCC compiler flags.
123328 LTCFLAGS=$lt_CFLAGS
123330 # Take the output of nm and produce a listing of raw symbols and C names.
123331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
123333 # Transform the output of nm in a proper C declaration.
123334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
123336 # Transform the output of nm in a C name address pair.
123337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
123339 # The name of the directory that contains temporary libtool files.
123340 objdir=$objdir
123342 # Shell to use when invoking shell scripts.
123343 SHELL=$lt_SHELL
123345 # An echo program that does not interpret backslashes.
123346 ECHO=$lt_ECHO
123348 # Used to examine libraries when file_magic_cmd begins with "file".
123349 MAGIC_CMD=$MAGIC_CMD
123351 # Must we lock files when doing compilation?
123352 need_locks=$lt_need_locks
123354 # Old archive suffix (normally "a").
123355 libext=$libext
123357 # Shared library suffix (normally ".so").
123358 shrext_cmds=$lt_shrext_cmds
123360 # The commands to extract the exported symbol list from a shared archive.
123361 extract_expsyms_cmds=$lt_extract_expsyms_cmds
123363 # Variables whose values should be saved in libtool wrapper scripts and
123364 # restored at link time.
123365 variables_saved_for_relink=$lt_variables_saved_for_relink
123367 # Do we need the "lib" prefix for modules?
123368 need_lib_prefix=$need_lib_prefix
123370 # Do we need a version for libraries?
123371 need_version=$need_version
123373 # Library versioning type.
123374 version_type=$version_type
123376 # Shared library runtime path variable.
123377 runpath_var=$runpath_var
123379 # Shared library path variable.
123380 shlibpath_var=$shlibpath_var
123382 # Is shlibpath searched before the hard-coded library search path?
123383 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
123385 # Format of library name prefix.
123386 libname_spec=$lt_libname_spec
123388 # List of archive names. First name is the real one, the rest are links.
123389 # The last name is the one that the linker finds with -lNAME
123390 library_names_spec=$lt_library_names_spec
123392 # The coded name of the library, if different from the real name.
123393 soname_spec=$lt_soname_spec
123395 # Command to use after installation of a shared archive.
123396 postinstall_cmds=$lt_postinstall_cmds
123398 # Command to use after uninstallation of a shared archive.
123399 postuninstall_cmds=$lt_postuninstall_cmds
123401 # Commands used to finish a libtool library installation in a directory.
123402 finish_cmds=$lt_finish_cmds
123404 # As "finish_cmds", except a single script fragment to be evaled but
123405 # not shown.
123406 finish_eval=$lt_finish_eval
123408 # Whether we should hardcode library paths into libraries.
123409 hardcode_into_libs=$hardcode_into_libs
123411 # Compile-time system search path for libraries.
123412 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
123414 # Run-time system search path for libraries.
123415 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
123417 # Whether dlopen is supported.
123418 dlopen_support=$enable_dlopen
123420 # Whether dlopen of programs is supported.
123421 dlopen_self=$enable_dlopen_self
123423 # Whether dlopen of statically linked programs is supported.
123424 dlopen_self_static=$enable_dlopen_self_static
123426 # Commands to strip libraries.
123427 old_striplib=$lt_old_striplib
123428 striplib=$lt_striplib
123431 # The linker used to build libraries.
123432 LD=$lt_LD
123434 # Commands used to build an old-style archive.
123435 old_archive_cmds=$lt_old_archive_cmds
123437 # A language specific compiler.
123438 CC=$lt_compiler
123440 # Is the compiler the GNU compiler?
123441 with_gcc=$GCC
123443 # Compiler flag to turn off builtin functions.
123444 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
123446 # How to pass a linker flag through the compiler.
123447 wl=$lt_lt_prog_compiler_wl
123449 # Additional compiler flags for building library objects.
123450 pic_flag=$lt_lt_prog_compiler_pic
123452 # Compiler flag to prevent dynamic linking.
123453 link_static_flag=$lt_lt_prog_compiler_static
123455 # Does compiler simultaneously support -c and -o options?
123456 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
123458 # Whether or not to add -lc for building shared libraries.
123459 build_libtool_need_lc=$archive_cmds_need_lc
123461 # Whether or not to disallow shared libs when runtime libs are static.
123462 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
123464 # Compiler flag to allow reflexive dlopens.
123465 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
123467 # Compiler flag to generate shared objects directly from archives.
123468 whole_archive_flag_spec=$lt_whole_archive_flag_spec
123470 # Whether the compiler copes with passing no objects directly.
123471 compiler_needs_object=$lt_compiler_needs_object
123473 # Create an old-style archive from a shared archive.
123474 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
123476 # Create a temporary old-style archive to link instead of a shared archive.
123477 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
123479 # Commands used to build a shared archive.
123480 archive_cmds=$lt_archive_cmds
123481 archive_expsym_cmds=$lt_archive_expsym_cmds
123483 # Commands used to build a loadable module if different from building
123484 # a shared archive.
123485 module_cmds=$lt_module_cmds
123486 module_expsym_cmds=$lt_module_expsym_cmds
123488 # Whether we are building with GNU ld or not.
123489 with_gnu_ld=$lt_with_gnu_ld
123491 # Flag that allows shared libraries with undefined symbols to be built.
123492 allow_undefined_flag=$lt_allow_undefined_flag
123494 # Flag that enforces no undefined symbols.
123495 no_undefined_flag=$lt_no_undefined_flag
123497 # Flag to hardcode \$libdir into a binary during linking.
123498 # This must work even if \$libdir does not exist
123499 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
123501 # If ld is used when linking, flag to hardcode \$libdir into a binary
123502 # during linking. This must work even if \$libdir does not exist.
123503 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
123505 # Whether we need a single "-rpath" flag with a separated argument.
123506 hardcode_libdir_separator=$lt_hardcode_libdir_separator
123508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123509 # DIR into the resulting binary.
123510 hardcode_direct=$hardcode_direct
123512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123513 # DIR into the resulting binary and the resulting library dependency is
123514 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123515 # library is relocated.
123516 hardcode_direct_absolute=$hardcode_direct_absolute
123518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123519 # into the resulting binary.
123520 hardcode_minus_L=$hardcode_minus_L
123522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123523 # into the resulting binary.
123524 hardcode_shlibpath_var=$hardcode_shlibpath_var
123526 # Set to "yes" if building a shared library automatically hardcodes DIR
123527 # into the library and all subsequent libraries and executables linked
123528 # against it.
123529 hardcode_automatic=$hardcode_automatic
123531 # Set to yes if linker adds runtime paths of dependent libraries
123532 # to runtime path list.
123533 inherit_rpath=$inherit_rpath
123535 # Whether libtool must link a program against all its dependency libraries.
123536 link_all_deplibs=$link_all_deplibs
123538 # Fix the shell variable \$srcfile for the compiler.
123539 fix_srcfile_path=$lt_fix_srcfile_path
123541 # Set to "yes" if exported symbols are required.
123542 always_export_symbols=$always_export_symbols
123544 # The commands to list exported symbols.
123545 export_symbols_cmds=$lt_export_symbols_cmds
123547 # Symbols that should not be listed in the preloaded symbols.
123548 exclude_expsyms=$lt_exclude_expsyms
123550 # Symbols that must always be exported.
123551 include_expsyms=$lt_include_expsyms
123553 # Commands necessary for linking programs (against libraries) with templates.
123554 prelink_cmds=$lt_prelink_cmds
123556 # Specify filename containing input files.
123557 file_list_spec=$lt_file_list_spec
123559 # How to hardcode a shared library path into an executable.
123560 hardcode_action=$hardcode_action
123562 # Dependencies to place before and after the objects being linked to
123563 # create a shared library.
123564 predep_objects=$lt_predep_objects
123565 postdep_objects=$lt_postdep_objects
123566 predeps=$lt_predeps
123567 postdeps=$lt_postdeps
123569 # The library search path used internally by the compiler when linking
123570 # a shared library.
123571 compiler_lib_search_path=$lt_compiler_lib_search_path
123573 # ### END LIBTOOL CONFIG
123575 _LT_EOF
123577 case $host_os in
123578 aix3*)
123579 cat <<\_LT_EOF >> "$cfgfile"
123580 # AIX sometimes has problems with the GCC collect2 program. For some
123581 # reason, if we set the COLLECT_NAMES environment variable, the problems
123582 # vanish in a puff of smoke.
123583 if test "X${COLLECT_NAMES+set}" != Xset; then
123584 COLLECT_NAMES=
123585 export COLLECT_NAMES
123587 _LT_EOF
123592 ltmain="$ac_aux_dir/ltmain.sh"
123595 # We use sed instead of cat because bash on DJGPP gets confused if
123596 # if finds mixed CR/LF and LF-only lines. Since sed operates in
123597 # text mode, it properly converts lines to CR/LF. This bash problem
123598 # is reportedly fixed, but why not run on old versions too?
123599 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
123600 || (rm -f "$cfgfile"; exit 1)
123602 case $xsi_shell in
123604 cat << \_LT_EOF >> "$cfgfile"
123605 # func_dirname file append nondir_replacement
123606 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
123607 # otherwise set result to NONDIR_REPLACEMENT.
123608 func_dirname ()
123610 case ${1} in
123611 */*) func_dirname_result="${1%/*}${2}" ;;
123612 * ) func_dirname_result="${3}" ;;
123616 # func_basename file
123617 func_basename ()
123619 func_basename_result="${1##*/}"
123622 # func_stripname prefix suffix name
123623 # strip PREFIX and SUFFIX off of NAME.
123624 # PREFIX and SUFFIX must not contain globbing or regex special
123625 # characters, hashes, percent signs, but SUFFIX may contain a leading
123626 # dot (in which case that matches only a dot).
123627 func_stripname ()
123629 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
123630 # positional parameters, so assign one to ordinary parameter first.
123631 func_stripname_result=${3}
123632 func_stripname_result=${func_stripname_result#"${1}"}
123633 func_stripname_result=${func_stripname_result%"${2}"}
123636 # func_opt_split
123637 func_opt_split ()
123639 func_opt_split_opt=${1%%=*}
123640 func_opt_split_arg=${1#*=}
123643 # func_lo2o object
123644 func_lo2o ()
123646 case ${1} in
123647 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
123648 *) func_lo2o_result=${1} ;;
123651 _LT_EOF
123653 *) # Bourne compatible functions.
123654 cat << \_LT_EOF >> "$cfgfile"
123655 # func_dirname file append nondir_replacement
123656 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
123657 # otherwise set result to NONDIR_REPLACEMENT.
123658 func_dirname ()
123660 # Extract subdirectory from the argument.
123661 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
123662 if test "X$func_dirname_result" = "X${1}"; then
123663 func_dirname_result="${3}"
123665 func_dirname_result="$func_dirname_result${2}"
123669 # func_basename file
123670 func_basename ()
123672 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
123675 # func_stripname prefix suffix name
123676 # strip PREFIX and SUFFIX off of NAME.
123677 # PREFIX and SUFFIX must not contain globbing or regex special
123678 # characters, hashes, percent signs, but SUFFIX may contain a leading
123679 # dot (in which case that matches only a dot).
123680 # func_strip_suffix prefix name
123681 func_stripname ()
123683 case ${2} in
123684 .*) func_stripname_result=`$ECHO "X${3}" \
123685 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
123686 *) func_stripname_result=`$ECHO "X${3}" \
123687 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
123691 # sed scripts:
123692 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
123693 my_sed_long_arg='1s/^-[^=]*=//'
123695 # func_opt_split
123696 func_opt_split ()
123698 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
123699 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
123702 # func_lo2o object
123703 func_lo2o ()
123705 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
123707 _LT_EOF
123710 case $lt_shell_append in
123712 cat << \_LT_EOF >> "$cfgfile"
123714 # func_append var value
123715 # Append VALUE to the end of shell variable VAR.
123716 func_append ()
123718 eval "$1+=\$2"
123720 _LT_EOF
123723 cat << \_LT_EOF >> "$cfgfile"
123725 # func_append var value
123726 # Append VALUE to the end of shell variable VAR.
123727 func_append ()
123729 eval "$1=\$$1\$2"
123731 _LT_EOF
123736 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
123737 || (rm -f "$cfgfile"; exit 1)
123739 mv -f "$cfgfile" "$ofile" ||
123740 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
123741 chmod +x "$ofile"
123744 cat <<_LT_EOF >> "$ofile"
123746 # ### BEGIN LIBTOOL TAG CONFIG: CXX
123748 # The linker used to build libraries.
123749 LD=$lt_LD_CXX
123751 # Commands used to build an old-style archive.
123752 old_archive_cmds=$lt_old_archive_cmds_CXX
123754 # A language specific compiler.
123755 CC=$lt_compiler_CXX
123757 # Is the compiler the GNU compiler?
123758 with_gcc=$GCC_CXX
123760 # Compiler flag to turn off builtin functions.
123761 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
123763 # How to pass a linker flag through the compiler.
123764 wl=$lt_lt_prog_compiler_wl_CXX
123766 # Additional compiler flags for building library objects.
123767 pic_flag=$lt_lt_prog_compiler_pic_CXX
123769 # Compiler flag to prevent dynamic linking.
123770 link_static_flag=$lt_lt_prog_compiler_static_CXX
123772 # Does compiler simultaneously support -c and -o options?
123773 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
123775 # Whether or not to add -lc for building shared libraries.
123776 build_libtool_need_lc=$archive_cmds_need_lc_CXX
123778 # Whether or not to disallow shared libs when runtime libs are static.
123779 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
123781 # Compiler flag to allow reflexive dlopens.
123782 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
123784 # Compiler flag to generate shared objects directly from archives.
123785 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
123787 # Whether the compiler copes with passing no objects directly.
123788 compiler_needs_object=$lt_compiler_needs_object_CXX
123790 # Create an old-style archive from a shared archive.
123791 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
123793 # Create a temporary old-style archive to link instead of a shared archive.
123794 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
123796 # Commands used to build a shared archive.
123797 archive_cmds=$lt_archive_cmds_CXX
123798 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
123800 # Commands used to build a loadable module if different from building
123801 # a shared archive.
123802 module_cmds=$lt_module_cmds_CXX
123803 module_expsym_cmds=$lt_module_expsym_cmds_CXX
123805 # Whether we are building with GNU ld or not.
123806 with_gnu_ld=$lt_with_gnu_ld_CXX
123808 # Flag that allows shared libraries with undefined symbols to be built.
123809 allow_undefined_flag=$lt_allow_undefined_flag_CXX
123811 # Flag that enforces no undefined symbols.
123812 no_undefined_flag=$lt_no_undefined_flag_CXX
123814 # Flag to hardcode \$libdir into a binary during linking.
123815 # This must work even if \$libdir does not exist
123816 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
123818 # If ld is used when linking, flag to hardcode \$libdir into a binary
123819 # during linking. This must work even if \$libdir does not exist.
123820 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
123822 # Whether we need a single "-rpath" flag with a separated argument.
123823 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
123825 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123826 # DIR into the resulting binary.
123827 hardcode_direct=$hardcode_direct_CXX
123829 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123830 # DIR into the resulting binary and the resulting library dependency is
123831 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123832 # library is relocated.
123833 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
123835 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123836 # into the resulting binary.
123837 hardcode_minus_L=$hardcode_minus_L_CXX
123839 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123840 # into the resulting binary.
123841 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
123843 # Set to "yes" if building a shared library automatically hardcodes DIR
123844 # into the library and all subsequent libraries and executables linked
123845 # against it.
123846 hardcode_automatic=$hardcode_automatic_CXX
123848 # Set to yes if linker adds runtime paths of dependent libraries
123849 # to runtime path list.
123850 inherit_rpath=$inherit_rpath_CXX
123852 # Whether libtool must link a program against all its dependency libraries.
123853 link_all_deplibs=$link_all_deplibs_CXX
123855 # Fix the shell variable \$srcfile for the compiler.
123856 fix_srcfile_path=$lt_fix_srcfile_path_CXX
123858 # Set to "yes" if exported symbols are required.
123859 always_export_symbols=$always_export_symbols_CXX
123861 # The commands to list exported symbols.
123862 export_symbols_cmds=$lt_export_symbols_cmds_CXX
123864 # Symbols that should not be listed in the preloaded symbols.
123865 exclude_expsyms=$lt_exclude_expsyms_CXX
123867 # Symbols that must always be exported.
123868 include_expsyms=$lt_include_expsyms_CXX
123870 # Commands necessary for linking programs (against libraries) with templates.
123871 prelink_cmds=$lt_prelink_cmds_CXX
123873 # Specify filename containing input files.
123874 file_list_spec=$lt_file_list_spec_CXX
123876 # How to hardcode a shared library path into an executable.
123877 hardcode_action=$hardcode_action_CXX
123879 # Dependencies to place before and after the objects being linked to
123880 # create a shared library.
123881 predep_objects=$lt_predep_objects_CXX
123882 postdep_objects=$lt_postdep_objects_CXX
123883 predeps=$lt_predeps_CXX
123884 postdeps=$lt_postdeps_CXX
123886 # The library search path used internally by the compiler when linking
123887 # a shared library.
123888 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
123890 # ### END LIBTOOL TAG CONFIG: CXX
123891 _LT_EOF
123894 include/gstdint.h )
123895 if test "$GCC" = yes; then
123896 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
123898 echo "/* generated for $CC */" > tmp-stdint.h
123901 sed 's/^ *//' >> tmp-stdint.h <<EOF
123903 #ifndef GCC_GENERATED_STDINT_H
123904 #define GCC_GENERATED_STDINT_H 1
123906 #include <sys/types.h>
123909 if test "$acx_cv_header_stdint" != stdint.h; then
123910 echo "#include <stddef.h>" >> tmp-stdint.h
123912 if test "$acx_cv_header_stdint" != stddef.h; then
123913 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123916 sed 's/^ *//' >> tmp-stdint.h <<EOF
123917 /* glibc uses these symbols as guards to prevent redefinitions. */
123918 #ifdef __int8_t_defined
123919 #define _INT8_T
123920 #define _INT16_T
123921 #define _INT32_T
123922 #endif
123923 #ifdef __uint32_t_defined
123924 #define _UINT32_T
123925 #endif
123929 # ----------------- done header, emit basic int types -------------
123930 if test "$acx_cv_header_stdint" = stddef.h; then
123931 sed 's/^ *//' >> tmp-stdint.h <<EOF
123933 #ifndef _UINT8_T
123934 #define _UINT8_T
123935 #ifndef __uint8_t_defined
123936 #define __uint8_t_defined
123937 typedef unsigned $acx_cv_type_int8_t uint8_t;
123938 #endif
123939 #endif
123941 #ifndef _UINT16_T
123942 #define _UINT16_T
123943 #ifndef __uint16_t_defined
123944 #define __uint16_t_defined
123945 typedef unsigned $acx_cv_type_int16_t uint16_t;
123946 #endif
123947 #endif
123949 #ifndef _UINT32_T
123950 #define _UINT32_T
123951 #ifndef __uint32_t_defined
123952 #define __uint32_t_defined
123953 typedef unsigned $acx_cv_type_int32_t uint32_t;
123954 #endif
123955 #endif
123957 #ifndef _INT8_T
123958 #define _INT8_T
123959 #ifndef __int8_t_defined
123960 #define __int8_t_defined
123961 typedef $acx_cv_type_int8_t int8_t;
123962 #endif
123963 #endif
123965 #ifndef _INT16_T
123966 #define _INT16_T
123967 #ifndef __int16_t_defined
123968 #define __int16_t_defined
123969 typedef $acx_cv_type_int16_t int16_t;
123970 #endif
123971 #endif
123973 #ifndef _INT32_T
123974 #define _INT32_T
123975 #ifndef __int32_t_defined
123976 #define __int32_t_defined
123977 typedef $acx_cv_type_int32_t int32_t;
123978 #endif
123979 #endif
123981 elif test "$ac_cv_type_u_int32_t" = yes; then
123982 sed 's/^ *//' >> tmp-stdint.h <<EOF
123984 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123985 #ifndef _INT8_T
123986 #define _INT8_T
123987 #endif
123988 #ifndef _INT16_T
123989 #define _INT16_T
123990 #endif
123991 #ifndef _INT32_T
123992 #define _INT32_T
123993 #endif
123995 #ifndef _UINT8_T
123996 #define _UINT8_T
123997 #ifndef __uint8_t_defined
123998 #define __uint8_t_defined
123999 typedef u_int8_t uint8_t;
124000 #endif
124001 #endif
124003 #ifndef _UINT16_T
124004 #define _UINT16_T
124005 #ifndef __uint16_t_defined
124006 #define __uint16_t_defined
124007 typedef u_int16_t uint16_t;
124008 #endif
124009 #endif
124011 #ifndef _UINT32_T
124012 #define _UINT32_T
124013 #ifndef __uint32_t_defined
124014 #define __uint32_t_defined
124015 typedef u_int32_t uint32_t;
124016 #endif
124017 #endif
124020 sed 's/^ *//' >> tmp-stdint.h <<EOF
124022 /* Some systems have guard macros to prevent redefinitions, define them. */
124023 #ifndef _INT8_T
124024 #define _INT8_T
124025 #endif
124026 #ifndef _INT16_T
124027 #define _INT16_T
124028 #endif
124029 #ifndef _INT32_T
124030 #define _INT32_T
124031 #endif
124032 #ifndef _UINT8_T
124033 #define _UINT8_T
124034 #endif
124035 #ifndef _UINT16_T
124036 #define _UINT16_T
124037 #endif
124038 #ifndef _UINT32_T
124039 #define _UINT32_T
124040 #endif
124044 # ------------- done basic int types, emit int64_t types ------------
124045 if test "$ac_cv_type_uint64_t" = yes; then
124046 sed 's/^ *//' >> tmp-stdint.h <<EOF
124048 /* system headers have good uint64_t and int64_t */
124049 #ifndef _INT64_T
124050 #define _INT64_T
124051 #endif
124052 #ifndef _UINT64_T
124053 #define _UINT64_T
124054 #endif
124056 elif test "$ac_cv_type_u_int64_t" = yes; then
124057 sed 's/^ *//' >> tmp-stdint.h <<EOF
124059 /* system headers have an u_int64_t (and int64_t) */
124060 #ifndef _INT64_T
124061 #define _INT64_T
124062 #endif
124063 #ifndef _UINT64_T
124064 #define _UINT64_T
124065 #ifndef __uint64_t_defined
124066 #define __uint64_t_defined
124067 typedef u_int64_t uint64_t;
124068 #endif
124069 #endif
124071 elif test -n "$acx_cv_type_int64_t"; then
124072 sed 's/^ *//' >> tmp-stdint.h <<EOF
124074 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
124075 #ifndef _INT64_T
124076 #define _INT64_T
124077 typedef $acx_cv_type_int64_t int64_t;
124078 #endif
124079 #ifndef _UINT64_T
124080 #define _UINT64_T
124081 #ifndef __uint64_t_defined
124082 #define __uint64_t_defined
124083 typedef unsigned $acx_cv_type_int64_t uint64_t;
124084 #endif
124085 #endif
124088 sed 's/^ *//' >> tmp-stdint.h <<EOF
124090 /* some common heuristics for int64_t, using compiler-specific tests */
124091 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
124092 #ifndef _INT64_T
124093 #define _INT64_T
124094 #ifndef __int64_t_defined
124095 typedef long long int64_t;
124096 #endif
124097 #endif
124098 #ifndef _UINT64_T
124099 #define _UINT64_T
124100 typedef unsigned long long uint64_t;
124101 #endif
124103 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
124104 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
124105 does not implement __extension__. But that compiler doesn't define
124106 __GNUC_MINOR__. */
124107 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
124108 # define __extension__
124109 # endif
124111 # ifndef _INT64_T
124112 # define _INT64_T
124113 __extension__ typedef long long int64_t;
124114 # endif
124115 # ifndef _UINT64_T
124116 # define _UINT64_T
124117 __extension__ typedef unsigned long long uint64_t;
124118 # endif
124120 #elif !defined __STRICT_ANSI__
124121 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
124123 # ifndef _INT64_T
124124 # define _INT64_T
124125 typedef __int64 int64_t;
124126 # endif
124127 # ifndef _UINT64_T
124128 # define _UINT64_T
124129 typedef unsigned __int64 uint64_t;
124130 # endif
124131 # endif /* compiler */
124133 #endif /* ANSI version */
124137 # ------------- done int64_t types, emit intptr types ------------
124138 if test "$ac_cv_type_uintptr_t" != yes; then
124139 sed 's/^ *//' >> tmp-stdint.h <<EOF
124141 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
124142 #ifndef __uintptr_t_defined
124143 typedef u$acx_cv_type_intptr_t uintptr_t;
124144 #endif
124145 #ifndef __intptr_t_defined
124146 typedef $acx_cv_type_intptr_t intptr_t;
124147 #endif
124151 # ------------- done intptr types, emit int_least types ------------
124152 if test "$ac_cv_type_int_least32_t" != yes; then
124153 sed 's/^ *//' >> tmp-stdint.h <<EOF
124155 /* Define int_least types */
124156 typedef int8_t int_least8_t;
124157 typedef int16_t int_least16_t;
124158 typedef int32_t int_least32_t;
124159 #ifdef _INT64_T
124160 typedef int64_t int_least64_t;
124161 #endif
124163 typedef uint8_t uint_least8_t;
124164 typedef uint16_t uint_least16_t;
124165 typedef uint32_t uint_least32_t;
124166 #ifdef _UINT64_T
124167 typedef uint64_t uint_least64_t;
124168 #endif
124172 # ------------- done intptr types, emit int_fast types ------------
124173 if test "$ac_cv_type_int_fast32_t" != yes; then
124174 sed 's/^ *//' >> tmp-stdint.h <<EOF
124176 /* Define int_fast types. short is often slow */
124177 typedef int8_t int_fast8_t;
124178 typedef int int_fast16_t;
124179 typedef int32_t int_fast32_t;
124180 #ifdef _INT64_T
124181 typedef int64_t int_fast64_t;
124182 #endif
124184 typedef uint8_t uint_fast8_t;
124185 typedef unsigned int uint_fast16_t;
124186 typedef uint32_t uint_fast32_t;
124187 #ifdef _UINT64_T
124188 typedef uint64_t uint_fast64_t;
124189 #endif
124193 if test "$ac_cv_type_uintmax_t" != yes; then
124194 sed 's/^ *//' >> tmp-stdint.h <<EOF
124196 /* Define intmax based on what we found */
124197 #ifdef _INT64_T
124198 typedef int64_t intmax_t;
124199 #else
124200 typedef long intmax_t;
124201 #endif
124202 #ifdef _UINT64_T
124203 typedef uint64_t uintmax_t;
124204 #else
124205 typedef unsigned long uintmax_t;
124206 #endif
124210 sed 's/^ *//' >> tmp-stdint.h <<EOF
124212 #endif /* GCC_GENERATED_STDINT_H */
124215 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
124216 rm -f tmp-stdint.h
124218 mv -f tmp-stdint.h include/gstdint.h
124222 default ) if test -n "$CONFIG_FILES"; then
124223 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
124224 # that multilib installs will end up installed in the correct place.
124225 # The testsuite needs it for multilib-aware ABI baseline files.
124226 # To work around this not being passed down from config-ml.in ->
124227 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
124228 # append it here. Only modify Makefiles that have just been created.
124230 # Also, get rid of this simulated-VPATH thing that automake does.
124231 cat > vpsed << \_EOF
124232 s!`test -f '$<' || echo '$(srcdir)/'`!!
124234 for i in $SUBDIRS; do
124235 case $CONFIG_FILES in
124236 *${i}/Makefile*)
124237 #echo "Adding MULTISUBDIR to $i/Makefile"
124238 sed -f vpsed $i/Makefile > tmp
124239 grep '^MULTISUBDIR =' Makefile >> tmp
124240 mv tmp $i/Makefile
124244 rm vpsed
124246 (cd include && ${MAKE-make})
124250 _ACEOF
124252 cat >>$CONFIG_STATUS <<\_ACEOF
124254 { (exit 0); exit 0; }
124255 _ACEOF
124256 chmod +x $CONFIG_STATUS
124257 ac_clean_files=$ac_clean_files_save
124260 # configure is writing to config.log, and then calls config.status.
124261 # config.status does its own redirection, appending to config.log.
124262 # Unfortunately, on DOS this fails, as config.log is still kept open
124263 # by configure, so config.status won't be able to write to it; its
124264 # output is simply discarded. So we exec the FD to /dev/null,
124265 # effectively closing config.log, so it can be properly (re)opened and
124266 # appended to by config.status. When coming back to configure, we
124267 # need to make the FD available again.
124268 if test "$no_create" != yes; then
124269 ac_cs_success=:
124270 ac_config_status_args=
124271 test "$silent" = yes &&
124272 ac_config_status_args="$ac_config_status_args --quiet"
124273 exec 5>/dev/null
124274 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
124275 exec 5>>config.log
124276 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
124277 # would make configure fail if this is the last instruction.
124278 $ac_cs_success || { (exit 1); exit 1; }